diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 0223014..d7870b0 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -6,3 +6,8 @@ use CodeIgniter\Router\RouteCollection; * @var RouteCollection $routes */ $routes->get('/(:any)/(:any)', 'Home::promoIndex/$1/$2'); +$routes->get('/member', 'Home::member'); + + + +$routes->get('/promoadmin', 'Auth::AuthPromoAdmin'); \ No newline at end of file diff --git a/app/Controllers/Auth.php b/app/Controllers/Auth.php new file mode 100644 index 0000000..c0356cf --- /dev/null +++ b/app/Controllers/Auth.php @@ -0,0 +1,18 @@ +APIcall('POST', $this->wrenchApiServer(). 'tasks',$in)["result_list"]; - return view('welcome_message', $out); + return view('promo', $out); + } + + public function member(){ + // echo 'Ameye Olusesan'; + $out=[]; + return view('member_home', $out); } } diff --git a/app/Views/member_home.php b/app/Views/member_home.php new file mode 100644 index 0000000..6dd2782 --- /dev/null +++ b/app/Views/member_home.php @@ -0,0 +1,207 @@ + + + + + View opportunities at <?=$site_name?> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + +
+ WrenchBoard +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Dear , +
+ +
+    +
+
+
+
+
+
+
+
+
  
+
Naira
+
+
+ +
+
+ +
+ Reward : Naira +
+ +
+
+
+ + + + + +
+ + Apple + + + + Android + +
+
+
+ Team +
+ +
+ + + +
+ + + \ No newline at end of file diff --git a/app/Views/promo.php b/app/Views/promo.php new file mode 100644 index 0000000..6dd2782 --- /dev/null +++ b/app/Views/promo.php @@ -0,0 +1,207 @@ + + + + + View opportunities at <?=$site_name?> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + +
+ WrenchBoard +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Dear , +
+ +
+    +
+
+
+
+
+
+
+
+
  
+
Naira
+
+
+ +
+
+ +
+ Reward : Naira +
+ +
+
+
+ + + + + +
+ + Apple + + + + Android + +
+
+
+ Team +
+ +
+ + + +
+ + + \ No newline at end of file diff --git a/app/Views/promo_admin_home.php b/app/Views/promo_admin_home.php new file mode 100644 index 0000000..31f3780 --- /dev/null +++ b/app/Views/promo_admin_home.php @@ -0,0 +1,106 @@ + + + + + Promotion Managers + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ loader +
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+ +
+ + + + + + + + + + + + diff --git a/public/asset/css/style.css b/public/asset/css/style.css new file mode 100644 index 0000000..9437888 --- /dev/null +++ b/public/asset/css/style.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v4.3.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors + * Copyright 2011-2019 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-xxxs:0;--breakpoint-xxs:480px;--breakpoint-xs:576px;--breakpoint-sm:667px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--breakpoint-xxl:1440px;--breakpoint-xxxl:1600px;--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:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;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:.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:-.25em}sup{top:-.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:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.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}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[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:.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:.5rem;font-weight:500;line-height:1.2}.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,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.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:.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:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.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:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.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;max-width:0}@media (min-width:480px){.container{max-width:480px}}@media (min-width:576px){.container{max-width:576px}}@media (min-width:667px){.container{max-width:667px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:992px){.container{max-width:992px}}@media (min-width:1200px){.container{max-width:1200px}}@media (min-width:1440px){.container{max-width:1440px}}@media (min-width:1600px){.container{max-width:1600px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:flex;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,.col-xs,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-auto,.col-xxl,.col-xxl-1,.col-xxl-10,.col-xxl-11,.col-xxl-12,.col-xxl-2,.col-xxl-3,.col-xxl-4,.col-xxl-5,.col-xxl-6,.col-xxl-7,.col-xxl-8,.col-xxl-9,.col-xxl-auto,.col-xxs,.col-xxs-1,.col-xxs-10,.col-xxs-11,.col-xxs-12,.col-xxs-2,.col-xxs-3,.col-xxs-4,.col-xxs-5,.col-xxs-6,.col-xxs-7,.col-xxs-8,.col-xxs-9,.col-xxs-auto,.col-xxxl,.col-xxxl-1,.col-xxxl-10,.col-xxxl-11,.col-xxxl-12,.col-xxxl-2,.col-xxxl-3,.col-xxxl-4,.col-xxxl-5,.col-xxxl-6,.col-xxxl-7,.col-xxxl-8,.col-xxxl-9,.col-xxxl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{flex-basis:0;flex-grow:1;max-width:100%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 8.33333%;max-width:8.33333%}.col-2{flex:0 0 16.66667%;max-width:16.66667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333%;max-width:33.33333%}.col-5{flex:0 0 41.66667%;max-width:41.66667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333%;max-width:58.33333%}.col-8{flex:0 0 66.66667%;max-width:66.66667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333%;max-width:83.33333%}.col-11{flex:0 0 91.66667%;max-width:91.66667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333%}.offset-2{margin-left:16.66667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333%}.offset-5{margin-left:41.66667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333%}.offset-8{margin-left:66.66667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333%}.offset-11{margin-left:91.66667%}@media (min-width:480px){.col-xxs{flex-basis:0;flex-grow:1;max-width:100%}.col-xxs-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xxs-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xxs-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xxs-3{flex:0 0 25%;max-width:25%}.col-xxs-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xxs-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xxs-6{flex:0 0 50%;max-width:50%}.col-xxs-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xxs-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xxs-9{flex:0 0 75%;max-width:75%}.col-xxs-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xxs-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xxs-12{flex:0 0 100%;max-width:100%}.order-xxs-first{order:-1}.order-xxs-last{order:13}.order-xxs-0{order:0}.order-xxs-1{order:1}.order-xxs-2{order:2}.order-xxs-3{order:3}.order-xxs-4{order:4}.order-xxs-5{order:5}.order-xxs-6{order:6}.order-xxs-7{order:7}.order-xxs-8{order:8}.order-xxs-9{order:9}.order-xxs-10{order:10}.order-xxs-11{order:11}.order-xxs-12{order:12}.offset-xxs-0{margin-left:0}.offset-xxs-1{margin-left:8.33333%}.offset-xxs-2{margin-left:16.66667%}.offset-xxs-3{margin-left:25%}.offset-xxs-4{margin-left:33.33333%}.offset-xxs-5{margin-left:41.66667%}.offset-xxs-6{margin-left:50%}.offset-xxs-7{margin-left:58.33333%}.offset-xxs-8{margin-left:66.66667%}.offset-xxs-9{margin-left:75%}.offset-xxs-10{margin-left:83.33333%}.offset-xxs-11{margin-left:91.66667%}}@media (min-width:576px){.col-xs{flex-basis:0;flex-grow:1;max-width:100%}.col-xs-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xs-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xs-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xs-3{flex:0 0 25%;max-width:25%}.col-xs-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xs-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xs-6{flex:0 0 50%;max-width:50%}.col-xs-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xs-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xs-9{flex:0 0 75%;max-width:75%}.col-xs-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xs-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xs-12{flex:0 0 100%;max-width:100%}.order-xs-first{order:-1}.order-xs-last{order:13}.order-xs-0{order:0}.order-xs-1{order:1}.order-xs-2{order:2}.order-xs-3{order:3}.order-xs-4{order:4}.order-xs-5{order:5}.order-xs-6{order:6}.order-xs-7{order:7}.order-xs-8{order:8}.order-xs-9{order:9}.order-xs-10{order:10}.order-xs-11{order:11}.order-xs-12{order:12}.offset-xs-0{margin-left:0}.offset-xs-1{margin-left:8.33333%}.offset-xs-2{margin-left:16.66667%}.offset-xs-3{margin-left:25%}.offset-xs-4{margin-left:33.33333%}.offset-xs-5{margin-left:41.66667%}.offset-xs-6{margin-left:50%}.offset-xs-7{margin-left:58.33333%}.offset-xs-8{margin-left:66.66667%}.offset-xs-9{margin-left:75%}.offset-xs-10{margin-left:83.33333%}.offset-xs-11{margin-left:91.66667%}}@media (min-width:667px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 8.33333%;max-width:8.33333%}.col-sm-2{flex:0 0 16.66667%;max-width:16.66667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333%;max-width:33.33333%}.col-sm-5{flex:0 0 41.66667%;max-width:41.66667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333%;max-width:58.33333%}.col-sm-8{flex:0 0 66.66667%;max-width:66.66667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333%;max-width:83.33333%}.col-sm-11{flex:0 0 91.66667%;max-width:91.66667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333%}.offset-sm-2{margin-left:16.66667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333%}.offset-sm-5{margin-left:41.66667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333%}.offset-sm-8{margin-left:66.66667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333%}.offset-sm-11{margin-left:91.66667%}}@media (min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 8.33333%;max-width:8.33333%}.col-md-2{flex:0 0 16.66667%;max-width:16.66667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333%;max-width:33.33333%}.col-md-5{flex:0 0 41.66667%;max-width:41.66667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333%;max-width:58.33333%}.col-md-8{flex:0 0 66.66667%;max-width:66.66667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333%;max-width:83.33333%}.col-md-11{flex:0 0 91.66667%;max-width:91.66667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333%}.offset-md-2{margin-left:16.66667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333%}.offset-md-5{margin-left:41.66667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333%}.offset-md-8{margin-left:66.66667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333%}.offset-md-11{margin-left:91.66667%}}@media (min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 8.33333%;max-width:8.33333%}.col-lg-2{flex:0 0 16.66667%;max-width:16.66667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333%;max-width:33.33333%}.col-lg-5{flex:0 0 41.66667%;max-width:41.66667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}.col-lg-8{flex:0 0 66.66667%;max-width:66.66667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333%;max-width:83.33333%}.col-lg-11{flex:0 0 91.66667%;max-width:91.66667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333%}.offset-lg-2{margin-left:16.66667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333%}.offset-lg-5{margin-left:41.66667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333%}.offset-lg-8{margin-left:66.66667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333%}.offset-lg-11{margin-left:91.66667%}}@media (min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xl-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xl-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xl-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xl-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333%}.offset-xl-2{margin-left:16.66667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333%}.offset-xl-5{margin-left:41.66667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333%}.offset-xl-8{margin-left:66.66667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333%}.offset-xl-11{margin-left:91.66667%}}@media (min-width:1440px){.col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xxl-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xxl-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xxl-3{flex:0 0 25%;max-width:25%}.col-xxl-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xxl-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xxl-6{flex:0 0 50%;max-width:50%}.col-xxl-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xxl-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xxl-9{flex:0 0 75%;max-width:75%}.col-xxl-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xxl-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xxl-12{flex:0 0 100%;max-width:100%}.order-xxl-first{order:-1}.order-xxl-last{order:13}.order-xxl-0{order:0}.order-xxl-1{order:1}.order-xxl-2{order:2}.order-xxl-3{order:3}.order-xxl-4{order:4}.order-xxl-5{order:5}.order-xxl-6{order:6}.order-xxl-7{order:7}.order-xxl-8{order:8}.order-xxl-9{order:9}.order-xxl-10{order:10}.order-xxl-11{order:11}.order-xxl-12{order:12}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333%}.offset-xxl-2{margin-left:16.66667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333%}.offset-xxl-5{margin-left:41.66667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333%}.offset-xxl-8{margin-left:66.66667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333%}.offset-xxl-11{margin-left:91.66667%}}@media (min-width:1600px){.col-xxxl{flex-basis:0;flex-grow:1;max-width:100%}.col-xxxl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xxxl-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xxxl-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xxxl-3{flex:0 0 25%;max-width:25%}.col-xxxl-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xxxl-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xxxl-6{flex:0 0 50%;max-width:50%}.col-xxxl-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xxxl-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xxxl-9{flex:0 0 75%;max-width:75%}.col-xxxl-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xxxl-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xxxl-12{flex:0 0 100%;max-width:100%}.order-xxxl-first{order:-1}.order-xxxl-last{order:13}.order-xxxl-0{order:0}.order-xxxl-1{order:1}.order-xxxl-2{order:2}.order-xxxl-3{order:3}.order-xxxl-4{order:4}.order-xxxl-5{order:5}.order-xxxl-6{order:6}.order-xxxl-7{order:7}.order-xxxl-8{order:8}.order-xxxl-9{order:9}.order-xxxl-10{order:10}.order-xxxl-11{order:11}.order-xxxl-12{order:12}.offset-xxxl-0{margin-left:0}.offset-xxxl-1{margin-left:8.33333%}.offset-xxxl-2{margin-left:16.66667%}.offset-xxxl-3{margin-left:25%}.offset-xxxl-4{margin-left:33.33333%}.offset-xxxl-5{margin-left:41.66667%}.offset-xxxl-6{margin-left:50%}.offset-xxxl-7{margin-left:58.33333%}.offset-xxxl-8{margin-left:66.66667%}.offset-xxxl-9{margin-left:75%}.offset-xxxl-10{margin-left:83.33333%}.offset-xxxl-11{margin-left:91.66667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.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-sm td,.table-sm th{padding:.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,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(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,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:479.98px){.table-responsive-xxs{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xxs>.table-bordered{border:0}}@media (max-width:575.98px){.table-responsive-xs{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xs>.table-bordered{border:0}}@media (max-width:666.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.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}.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}.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}.table-responsive-xl>.table-bordered{border:0}}@media (max-width:1439.98px){.table-responsive-xxl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xxl>.table-bordered{border:0}}@media (max-width:1599.98px){.table-responsive-xxxl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xxxl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .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:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (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 .2rem rgba(0,123,255,.25)}.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(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding-top:.375rem;padding-bottom:.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.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.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:.25rem}.form-row{display:flex;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:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);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");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.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:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);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 .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") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.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 .2rem rgba(40,167,69,.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 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);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='%23dc3545' 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");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.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:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);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 .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='%23dc3545' 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") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.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 .2rem rgba(220,53,69,.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 .2rem rgba(220,53,69,.25)}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width:667px){.form-inline label{display:flex;align-items:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:flex;flex:0 0 auto;flex-flow:row wrap;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:flex;align-items:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{align-items: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;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (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 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}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 .2rem rgba(38,143,255,.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 .2rem rgba(38,143,255,.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 .2rem rgba(130,138,145,.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 .2rem rgba(130,138,145,.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 .2rem rgba(72,180,97,.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 .2rem rgba(72,180,97,.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 .2rem rgba(58,176,195,.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 .2rem rgba(58,176,195,.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 .2rem rgba(222,170,12,.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 .2rem rgba(222,170,12,.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 .2rem rgba(225,83,97,.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 .2rem rgba(225,83,97,.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 .2rem rgba(216,217,219,.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 .2rem rgba(216,217,219,.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 .2rem rgba(82,88,93,.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 .2rem rgba(82,88,93,.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 .2rem rgba(0,123,255,.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 .2rem rgba(0,123,255,.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 .2rem rgba(108,117,125,.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 .2rem rgba(108,117,125,.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 .2rem rgba(40,167,69,.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 .2rem rgba(40,167,69,.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 .2rem rgba(23,162,184,.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 .2rem rgba(23,162,184,.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 .2rem rgba(255,193,7,.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 .2rem rgba(255,193,7,.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 .2rem rgba(220,53,69,.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 .2rem rgba(220,53,69,.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 .2rem rgba(248,249,250,.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 .2rem rgba(248,249,250,.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 .2rem rgba(52,58,64,.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 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.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:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (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 .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.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:.5rem 0;margin:.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,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:480px){.dropdown-menu-xxs-left{right:auto;left:0}.dropdown-menu-xxs-right{right:0;left:auto}}@media (min-width:576px){.dropdown-menu-xs-left{right:auto;left:0}.dropdown-menu-xs-right{right:0;left:auto}}@media (min-width:667px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}@media (min-width:1440px){.dropdown-menu-xxl-left{right:auto;left:0}.dropdown-menu-xxl-right{right:0;left:auto}}@media (min-width:1600px){.dropdown-menu-xxxl-left{right:auto;left:0}.dropdown-menu-xxxl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.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:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.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:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.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:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.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:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;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:flex;flex-wrap:wrap;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:.5625rem;padding-left:.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:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;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:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;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:flex;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: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:flex;align-items:center;padding:.375rem .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:.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(1.5em + 1rem + 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:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 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:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.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: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 .2rem rgba(0,123,255,.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:.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:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.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,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.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,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (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;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;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 .75rem center/8px 10px;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.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(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:calc(1rem + .4rem);padding:0;background-color:transparent;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (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:.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 .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (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:.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:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (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:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.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 .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.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:.25rem;border-top-right-radius:.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:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:.5rem 1rem}.navbar>.container,.navbar>.container-fluid{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.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:flex;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:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.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:479.98px){.navbar-expand-xxs>.container,.navbar-expand-xxs>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:480px){.navbar-expand-xxs{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xxs .navbar-nav{flex-direction:row}.navbar-expand-xxs .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxs .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxs>.container,.navbar-expand-xxs>.container-fluid{flex-wrap:nowrap}.navbar-expand-xxs .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxs .navbar-toggler{display:none}}@media (max-width:575.98px){.navbar-expand-xs>.container,.navbar-expand-xs>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-xs{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xs .navbar-nav{flex-direction:row}.navbar-expand-xs .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xs .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xs>.container,.navbar-expand-xs>.container-fluid{flex-wrap:nowrap}.navbar-expand-xs .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xs .navbar-toggler{display:none}}@media (max-width:666.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:667px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:flex!important;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{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:flex!important;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{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:flex!important;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{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (max-width:1439.98px){.navbar-expand-xxl>.container,.navbar-expand-xxl>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:1440px){.navbar-expand-xxl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl>.container,.navbar-expand-xxl>.container-fluid{flex-wrap:nowrap}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}@media (max-width:1599.98px){.navbar-expand-xxxl>.container,.navbar-expand-xxxl>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:1600px){.navbar-expand-xxxl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xxxl .navbar-nav{flex-direction:row}.navbar-expand-xxxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxxl>.container,.navbar-expand-xxxl>.container-fluid{flex-wrap:nowrap}.navbar-expand-xxxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxxl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid{flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(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,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(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,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(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,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.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,.5);border-color:rgba(255,255,255,.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,.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:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-body{flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.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:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img{width:100%;border-radius:calc(.25rem - 1px)}.card-img-top{width:100%;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img-bottom{width:100%;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck{display:flex;flex-direction:column}.card-deck .card{margin-bottom:15px}@media (min-width:667px){.card-deck{flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{display:flex;flex:1 0 0%;flex-direction:column;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group{display:flex;flex-direction:column}.card-group>.card{margin-bottom:15px}@media (min-width:667px){.card-group{flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:667px){.card-columns{column-count:3;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:flex;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.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:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .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 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.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:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:667px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.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:.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}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.media{display:flex;align-items:flex-start}.media-body{flex:1}.list-group{display:flex;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{z-index:1;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:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.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-horizontal{flex-direction:row}.list-group-horizontal .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}@media (min-width:480px){.list-group-horizontal-xxs{flex-direction:row}.list-group-horizontal-xxs .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xxs .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxs .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:576px){.list-group-horizontal-xs{flex-direction:row}.list-group-horizontal-xs .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xs .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xs .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:667px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-sm .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-md .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-lg .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xl .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:1440px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xxl .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:1600px){.list-group-horizontal-xxxl{flex-direction:row}.list-group-horizontal-xxxl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xxxl .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxxl .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}.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:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);backdrop-filter:blur(10px);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:flex;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05)}.toast-body{padding:.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:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:""}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.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:.5}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:.3rem;border-top-right-radius:.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;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;align-items:center;justify-content:flex-end;padding:1rem;border-top:1px solid #dee2e6;border-bottom-right-radius:.3rem;border-bottom-left-radius:.3rem}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:667px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.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:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.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:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.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 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.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:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin: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:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;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:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{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%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (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){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;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 .6s opacity}@media (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:flex;align-items:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (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:.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:no-repeat 50%/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:flex;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;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:.5;transition:opacity .6s ease}@media (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}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@keyframes spinner-grow{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;animation:spinner-grow .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-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!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:flex!important}.d-inline-flex{display:inline-flex!important}@media (min-width:480px){.d-xxs-none{display:none!important}.d-xxs-inline{display:inline!important}.d-xxs-inline-block{display:inline-block!important}.d-xxs-block{display:block!important}.d-xxs-table{display:table!important}.d-xxs-table-row{display:table-row!important}.d-xxs-table-cell{display:table-cell!important}.d-xxs-flex{display:flex!important}.d-xxs-inline-flex{display:inline-flex!important}}@media (min-width:576px){.d-xs-none{display:none!important}.d-xs-inline{display:inline!important}.d-xs-inline-block{display:inline-block!important}.d-xs-block{display:block!important}.d-xs-table{display:table!important}.d-xs-table-row{display:table-row!important}.d-xs-table-cell{display:table-cell!important}.d-xs-flex{display:flex!important}.d-xs-inline-flex{display:inline-flex!important}}@media (min-width:667px){.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:flex!important}.d-sm-inline-flex{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:flex!important}.d-md-inline-flex{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:flex!important}.d-lg-inline-flex{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:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media (min-width:1440px){.d-xxl-none{display:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}}@media (min-width:1600px){.d-xxxl-none{display:none!important}.d-xxxl-inline{display:inline!important}.d-xxxl-inline-block{display:inline-block!important}.d-xxxl-block{display:block!important}.d-xxxl-table{display:table!important}.d-xxxl-table-row{display:table-row!important}.d-xxxl-table-cell{display:table-cell!important}.d-xxxl-flex{display:flex!important}.d-xxxl-inline-flex{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:flex!important}.d-print-inline-flex{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.85714%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.embed-responsive-21by9::before{padding-top:42.85714%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media (min-width:480px){.flex-xxs-row{flex-direction:row!important}.flex-xxs-column{flex-direction:column!important}.flex-xxs-row-reverse{flex-direction:row-reverse!important}.flex-xxs-column-reverse{flex-direction:column-reverse!important}.flex-xxs-wrap{flex-wrap:wrap!important}.flex-xxs-nowrap{flex-wrap:nowrap!important}.flex-xxs-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxs-fill{flex:1 1 auto!important}.flex-xxs-grow-0{flex-grow:0!important}.flex-xxs-grow-1{flex-grow:1!important}.flex-xxs-shrink-0{flex-shrink:0!important}.flex-xxs-shrink-1{flex-shrink:1!important}.justify-content-xxs-start{justify-content:flex-start!important}.justify-content-xxs-end{justify-content:flex-end!important}.justify-content-xxs-center{justify-content:center!important}.justify-content-xxs-between{justify-content:space-between!important}.justify-content-xxs-around{justify-content:space-around!important}.align-items-xxs-start{align-items:flex-start!important}.align-items-xxs-end{align-items:flex-end!important}.align-items-xxs-center{align-items:center!important}.align-items-xxs-baseline{align-items:baseline!important}.align-items-xxs-stretch{align-items:stretch!important}.align-content-xxs-start{align-content:flex-start!important}.align-content-xxs-end{align-content:flex-end!important}.align-content-xxs-center{align-content:center!important}.align-content-xxs-between{align-content:space-between!important}.align-content-xxs-around{align-content:space-around!important}.align-content-xxs-stretch{align-content:stretch!important}.align-self-xxs-auto{align-self:auto!important}.align-self-xxs-start{align-self:flex-start!important}.align-self-xxs-end{align-self:flex-end!important}.align-self-xxs-center{align-self:center!important}.align-self-xxs-baseline{align-self:baseline!important}.align-self-xxs-stretch{align-self:stretch!important}}@media (min-width:576px){.flex-xs-row{flex-direction:row!important}.flex-xs-column{flex-direction:column!important}.flex-xs-row-reverse{flex-direction:row-reverse!important}.flex-xs-column-reverse{flex-direction:column-reverse!important}.flex-xs-wrap{flex-wrap:wrap!important}.flex-xs-nowrap{flex-wrap:nowrap!important}.flex-xs-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xs-fill{flex:1 1 auto!important}.flex-xs-grow-0{flex-grow:0!important}.flex-xs-grow-1{flex-grow:1!important}.flex-xs-shrink-0{flex-shrink:0!important}.flex-xs-shrink-1{flex-shrink:1!important}.justify-content-xs-start{justify-content:flex-start!important}.justify-content-xs-end{justify-content:flex-end!important}.justify-content-xs-center{justify-content:center!important}.justify-content-xs-between{justify-content:space-between!important}.justify-content-xs-around{justify-content:space-around!important}.align-items-xs-start{align-items:flex-start!important}.align-items-xs-end{align-items:flex-end!important}.align-items-xs-center{align-items:center!important}.align-items-xs-baseline{align-items:baseline!important}.align-items-xs-stretch{align-items:stretch!important}.align-content-xs-start{align-content:flex-start!important}.align-content-xs-end{align-content:flex-end!important}.align-content-xs-center{align-content:center!important}.align-content-xs-between{align-content:space-between!important}.align-content-xs-around{align-content:space-around!important}.align-content-xs-stretch{align-content:stretch!important}.align-self-xs-auto{align-self:auto!important}.align-self-xs-start{align-self:flex-start!important}.align-self-xs-end{align-self:flex-end!important}.align-self-xs-center{align-self:center!important}.align-self-xs-baseline{align-self:baseline!important}.align-self-xs-stretch{align-self:stretch!important}}@media (min-width:667px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media (min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}@media (min-width:1440px){.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}}@media (min-width:1600px){.flex-xxxl-row{flex-direction:row!important}.flex-xxxl-column{flex-direction:column!important}.flex-xxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxl-wrap{flex-wrap:wrap!important}.flex-xxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxl-fill{flex:1 1 auto!important}.flex-xxxl-grow-0{flex-grow:0!important}.flex-xxxl-grow-1{flex-grow:1!important}.flex-xxxl-shrink-0{flex-shrink:0!important}.flex-xxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxl-start{justify-content:flex-start!important}.justify-content-xxxl-end{justify-content:flex-end!important}.justify-content-xxxl-center{justify-content:center!important}.justify-content-xxxl-between{justify-content:space-between!important}.justify-content-xxxl-around{justify-content:space-around!important}.align-items-xxxl-start{align-items:flex-start!important}.align-items-xxxl-end{align-items:flex-end!important}.align-items-xxxl-center{align-items:center!important}.align-items-xxxl-baseline{align-items:baseline!important}.align-items-xxxl-stretch{align-items:stretch!important}.align-content-xxxl-start{align-content:flex-start!important}.align-content-xxxl-end{align-content:flex-end!important}.align-content-xxxl-center{align-content:center!important}.align-content-xxxl-between{align-content:space-between!important}.align-content-xxxl-around{align-content:space-around!important}.align-content-xxxl-stretch{align-content:stretch!important}.align-self-xxxl-auto{align-self:auto!important}.align-self-xxxl-start{align-self:flex-start!important}.align-self-xxxl-end{align-self:flex-end!important}.align-self-xxxl-center{align-self:center!important}.align-self-xxxl-baseline{align-self:baseline!important}.align-self-xxxl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:480px){.float-xxs-left{float:left!important}.float-xxs-right{float:right!important}.float-xxs-none{float:none!important}}@media (min-width:576px){.float-xs-left{float:left!important}.float-xs-right{float:right!important}.float-xs-none{float:none!important}}@media (min-width:667px){.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}}@media (min-width:1440px){.float-xxl-left{float:left!important}.float-xxl-right{float:right!important}.float-xxl-none{float:none!important}}@media (min-width:1600px){.float-xxxl-left{float:left!important}.float-xxxl-right{float:right!important}.float-xxxl-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: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:sticky){.sticky-top{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 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(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}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.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:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.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:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.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:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.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:480px){.m-xxs-0{margin:0!important}.mt-xxs-0,.my-xxs-0{margin-top:0!important}.mr-xxs-0,.mx-xxs-0{margin-right:0!important}.mb-xxs-0,.my-xxs-0{margin-bottom:0!important}.ml-xxs-0,.mx-xxs-0{margin-left:0!important}.m-xxs-1{margin:.25rem!important}.mt-xxs-1,.my-xxs-1{margin-top:.25rem!important}.mr-xxs-1,.mx-xxs-1{margin-right:.25rem!important}.mb-xxs-1,.my-xxs-1{margin-bottom:.25rem!important}.ml-xxs-1,.mx-xxs-1{margin-left:.25rem!important}.m-xxs-2{margin:.5rem!important}.mt-xxs-2,.my-xxs-2{margin-top:.5rem!important}.mr-xxs-2,.mx-xxs-2{margin-right:.5rem!important}.mb-xxs-2,.my-xxs-2{margin-bottom:.5rem!important}.ml-xxs-2,.mx-xxs-2{margin-left:.5rem!important}.m-xxs-3{margin:1rem!important}.mt-xxs-3,.my-xxs-3{margin-top:1rem!important}.mr-xxs-3,.mx-xxs-3{margin-right:1rem!important}.mb-xxs-3,.my-xxs-3{margin-bottom:1rem!important}.ml-xxs-3,.mx-xxs-3{margin-left:1rem!important}.m-xxs-4{margin:1.5rem!important}.mt-xxs-4,.my-xxs-4{margin-top:1.5rem!important}.mr-xxs-4,.mx-xxs-4{margin-right:1.5rem!important}.mb-xxs-4,.my-xxs-4{margin-bottom:1.5rem!important}.ml-xxs-4,.mx-xxs-4{margin-left:1.5rem!important}.m-xxs-5{margin:3rem!important}.mt-xxs-5,.my-xxs-5{margin-top:3rem!important}.mr-xxs-5,.mx-xxs-5{margin-right:3rem!important}.mb-xxs-5,.my-xxs-5{margin-bottom:3rem!important}.ml-xxs-5,.mx-xxs-5{margin-left:3rem!important}.p-xxs-0{padding:0!important}.pt-xxs-0,.py-xxs-0{padding-top:0!important}.pr-xxs-0,.px-xxs-0{padding-right:0!important}.pb-xxs-0,.py-xxs-0{padding-bottom:0!important}.pl-xxs-0,.px-xxs-0{padding-left:0!important}.p-xxs-1{padding:.25rem!important}.pt-xxs-1,.py-xxs-1{padding-top:.25rem!important}.pr-xxs-1,.px-xxs-1{padding-right:.25rem!important}.pb-xxs-1,.py-xxs-1{padding-bottom:.25rem!important}.pl-xxs-1,.px-xxs-1{padding-left:.25rem!important}.p-xxs-2{padding:.5rem!important}.pt-xxs-2,.py-xxs-2{padding-top:.5rem!important}.pr-xxs-2,.px-xxs-2{padding-right:.5rem!important}.pb-xxs-2,.py-xxs-2{padding-bottom:.5rem!important}.pl-xxs-2,.px-xxs-2{padding-left:.5rem!important}.p-xxs-3{padding:1rem!important}.pt-xxs-3,.py-xxs-3{padding-top:1rem!important}.pr-xxs-3,.px-xxs-3{padding-right:1rem!important}.pb-xxs-3,.py-xxs-3{padding-bottom:1rem!important}.pl-xxs-3,.px-xxs-3{padding-left:1rem!important}.p-xxs-4{padding:1.5rem!important}.pt-xxs-4,.py-xxs-4{padding-top:1.5rem!important}.pr-xxs-4,.px-xxs-4{padding-right:1.5rem!important}.pb-xxs-4,.py-xxs-4{padding-bottom:1.5rem!important}.pl-xxs-4,.px-xxs-4{padding-left:1.5rem!important}.p-xxs-5{padding:3rem!important}.pt-xxs-5,.py-xxs-5{padding-top:3rem!important}.pr-xxs-5,.px-xxs-5{padding-right:3rem!important}.pb-xxs-5,.py-xxs-5{padding-bottom:3rem!important}.pl-xxs-5,.px-xxs-5{padding-left:3rem!important}.m-xxs-n1{margin:-.25rem!important}.mt-xxs-n1,.my-xxs-n1{margin-top:-.25rem!important}.mr-xxs-n1,.mx-xxs-n1{margin-right:-.25rem!important}.mb-xxs-n1,.my-xxs-n1{margin-bottom:-.25rem!important}.ml-xxs-n1,.mx-xxs-n1{margin-left:-.25rem!important}.m-xxs-n2{margin:-.5rem!important}.mt-xxs-n2,.my-xxs-n2{margin-top:-.5rem!important}.mr-xxs-n2,.mx-xxs-n2{margin-right:-.5rem!important}.mb-xxs-n2,.my-xxs-n2{margin-bottom:-.5rem!important}.ml-xxs-n2,.mx-xxs-n2{margin-left:-.5rem!important}.m-xxs-n3{margin:-1rem!important}.mt-xxs-n3,.my-xxs-n3{margin-top:-1rem!important}.mr-xxs-n3,.mx-xxs-n3{margin-right:-1rem!important}.mb-xxs-n3,.my-xxs-n3{margin-bottom:-1rem!important}.ml-xxs-n3,.mx-xxs-n3{margin-left:-1rem!important}.m-xxs-n4{margin:-1.5rem!important}.mt-xxs-n4,.my-xxs-n4{margin-top:-1.5rem!important}.mr-xxs-n4,.mx-xxs-n4{margin-right:-1.5rem!important}.mb-xxs-n4,.my-xxs-n4{margin-bottom:-1.5rem!important}.ml-xxs-n4,.mx-xxs-n4{margin-left:-1.5rem!important}.m-xxs-n5{margin:-3rem!important}.mt-xxs-n5,.my-xxs-n5{margin-top:-3rem!important}.mr-xxs-n5,.mx-xxs-n5{margin-right:-3rem!important}.mb-xxs-n5,.my-xxs-n5{margin-bottom:-3rem!important}.ml-xxs-n5,.mx-xxs-n5{margin-left:-3rem!important}.m-xxs-auto{margin:auto!important}.mt-xxs-auto,.my-xxs-auto{margin-top:auto!important}.mr-xxs-auto,.mx-xxs-auto{margin-right:auto!important}.mb-xxs-auto,.my-xxs-auto{margin-bottom:auto!important}.ml-xxs-auto,.mx-xxs-auto{margin-left:auto!important}}@media (min-width:576px){.m-xs-0{margin:0!important}.mt-xs-0,.my-xs-0{margin-top:0!important}.mr-xs-0,.mx-xs-0{margin-right:0!important}.mb-xs-0,.my-xs-0{margin-bottom:0!important}.ml-xs-0,.mx-xs-0{margin-left:0!important}.m-xs-1{margin:.25rem!important}.mt-xs-1,.my-xs-1{margin-top:.25rem!important}.mr-xs-1,.mx-xs-1{margin-right:.25rem!important}.mb-xs-1,.my-xs-1{margin-bottom:.25rem!important}.ml-xs-1,.mx-xs-1{margin-left:.25rem!important}.m-xs-2{margin:.5rem!important}.mt-xs-2,.my-xs-2{margin-top:.5rem!important}.mr-xs-2,.mx-xs-2{margin-right:.5rem!important}.mb-xs-2,.my-xs-2{margin-bottom:.5rem!important}.ml-xs-2,.mx-xs-2{margin-left:.5rem!important}.m-xs-3{margin:1rem!important}.mt-xs-3,.my-xs-3{margin-top:1rem!important}.mr-xs-3,.mx-xs-3{margin-right:1rem!important}.mb-xs-3,.my-xs-3{margin-bottom:1rem!important}.ml-xs-3,.mx-xs-3{margin-left:1rem!important}.m-xs-4{margin:1.5rem!important}.mt-xs-4,.my-xs-4{margin-top:1.5rem!important}.mr-xs-4,.mx-xs-4{margin-right:1.5rem!important}.mb-xs-4,.my-xs-4{margin-bottom:1.5rem!important}.ml-xs-4,.mx-xs-4{margin-left:1.5rem!important}.m-xs-5{margin:3rem!important}.mt-xs-5,.my-xs-5{margin-top:3rem!important}.mr-xs-5,.mx-xs-5{margin-right:3rem!important}.mb-xs-5,.my-xs-5{margin-bottom:3rem!important}.ml-xs-5,.mx-xs-5{margin-left:3rem!important}.p-xs-0{padding:0!important}.pt-xs-0,.py-xs-0{padding-top:0!important}.pr-xs-0,.px-xs-0{padding-right:0!important}.pb-xs-0,.py-xs-0{padding-bottom:0!important}.pl-xs-0,.px-xs-0{padding-left:0!important}.p-xs-1{padding:.25rem!important}.pt-xs-1,.py-xs-1{padding-top:.25rem!important}.pr-xs-1,.px-xs-1{padding-right:.25rem!important}.pb-xs-1,.py-xs-1{padding-bottom:.25rem!important}.pl-xs-1,.px-xs-1{padding-left:.25rem!important}.p-xs-2{padding:.5rem!important}.pt-xs-2,.py-xs-2{padding-top:.5rem!important}.pr-xs-2,.px-xs-2{padding-right:.5rem!important}.pb-xs-2,.py-xs-2{padding-bottom:.5rem!important}.pl-xs-2,.px-xs-2{padding-left:.5rem!important}.p-xs-3{padding:1rem!important}.pt-xs-3,.py-xs-3{padding-top:1rem!important}.pr-xs-3,.px-xs-3{padding-right:1rem!important}.pb-xs-3,.py-xs-3{padding-bottom:1rem!important}.pl-xs-3,.px-xs-3{padding-left:1rem!important}.p-xs-4{padding:1.5rem!important}.pt-xs-4,.py-xs-4{padding-top:1.5rem!important}.pr-xs-4,.px-xs-4{padding-right:1.5rem!important}.pb-xs-4,.py-xs-4{padding-bottom:1.5rem!important}.pl-xs-4,.px-xs-4{padding-left:1.5rem!important}.p-xs-5{padding:3rem!important}.pt-xs-5,.py-xs-5{padding-top:3rem!important}.pr-xs-5,.px-xs-5{padding-right:3rem!important}.pb-xs-5,.py-xs-5{padding-bottom:3rem!important}.pl-xs-5,.px-xs-5{padding-left:3rem!important}.m-xs-n1{margin:-.25rem!important}.mt-xs-n1,.my-xs-n1{margin-top:-.25rem!important}.mr-xs-n1,.mx-xs-n1{margin-right:-.25rem!important}.mb-xs-n1,.my-xs-n1{margin-bottom:-.25rem!important}.ml-xs-n1,.mx-xs-n1{margin-left:-.25rem!important}.m-xs-n2{margin:-.5rem!important}.mt-xs-n2,.my-xs-n2{margin-top:-.5rem!important}.mr-xs-n2,.mx-xs-n2{margin-right:-.5rem!important}.mb-xs-n2,.my-xs-n2{margin-bottom:-.5rem!important}.ml-xs-n2,.mx-xs-n2{margin-left:-.5rem!important}.m-xs-n3{margin:-1rem!important}.mt-xs-n3,.my-xs-n3{margin-top:-1rem!important}.mr-xs-n3,.mx-xs-n3{margin-right:-1rem!important}.mb-xs-n3,.my-xs-n3{margin-bottom:-1rem!important}.ml-xs-n3,.mx-xs-n3{margin-left:-1rem!important}.m-xs-n4{margin:-1.5rem!important}.mt-xs-n4,.my-xs-n4{margin-top:-1.5rem!important}.mr-xs-n4,.mx-xs-n4{margin-right:-1.5rem!important}.mb-xs-n4,.my-xs-n4{margin-bottom:-1.5rem!important}.ml-xs-n4,.mx-xs-n4{margin-left:-1.5rem!important}.m-xs-n5{margin:-3rem!important}.mt-xs-n5,.my-xs-n5{margin-top:-3rem!important}.mr-xs-n5,.mx-xs-n5{margin-right:-3rem!important}.mb-xs-n5,.my-xs-n5{margin-bottom:-3rem!important}.ml-xs-n5,.mx-xs-n5{margin-left:-3rem!important}.m-xs-auto{margin:auto!important}.mt-xs-auto,.my-xs-auto{margin-top:auto!important}.mr-xs-auto,.mx-xs-auto{margin-right:auto!important}.mb-xs-auto,.my-xs-auto{margin-bottom:auto!important}.ml-xs-auto,.mx-xs-auto{margin-left:auto!important}}@media (min-width:667px){.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:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.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:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.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:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.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:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.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:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.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:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.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:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.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:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.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:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.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:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.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:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.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:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.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}}@media (min-width:1440px){.m-xxl-0{margin:0!important}.mt-xxl-0,.my-xxl-0{margin-top:0!important}.mr-xxl-0,.mx-xxl-0{margin-right:0!important}.mb-xxl-0,.my-xxl-0{margin-bottom:0!important}.ml-xxl-0,.mx-xxl-0{margin-left:0!important}.m-xxl-1{margin:.25rem!important}.mt-xxl-1,.my-xxl-1{margin-top:.25rem!important}.mr-xxl-1,.mx-xxl-1{margin-right:.25rem!important}.mb-xxl-1,.my-xxl-1{margin-bottom:.25rem!important}.ml-xxl-1,.mx-xxl-1{margin-left:.25rem!important}.m-xxl-2{margin:.5rem!important}.mt-xxl-2,.my-xxl-2{margin-top:.5rem!important}.mr-xxl-2,.mx-xxl-2{margin-right:.5rem!important}.mb-xxl-2,.my-xxl-2{margin-bottom:.5rem!important}.ml-xxl-2,.mx-xxl-2{margin-left:.5rem!important}.m-xxl-3{margin:1rem!important}.mt-xxl-3,.my-xxl-3{margin-top:1rem!important}.mr-xxl-3,.mx-xxl-3{margin-right:1rem!important}.mb-xxl-3,.my-xxl-3{margin-bottom:1rem!important}.ml-xxl-3,.mx-xxl-3{margin-left:1rem!important}.m-xxl-4{margin:1.5rem!important}.mt-xxl-4,.my-xxl-4{margin-top:1.5rem!important}.mr-xxl-4,.mx-xxl-4{margin-right:1.5rem!important}.mb-xxl-4,.my-xxl-4{margin-bottom:1.5rem!important}.ml-xxl-4,.mx-xxl-4{margin-left:1.5rem!important}.m-xxl-5{margin:3rem!important}.mt-xxl-5,.my-xxl-5{margin-top:3rem!important}.mr-xxl-5,.mx-xxl-5{margin-right:3rem!important}.mb-xxl-5,.my-xxl-5{margin-bottom:3rem!important}.ml-xxl-5,.mx-xxl-5{margin-left:3rem!important}.p-xxl-0{padding:0!important}.pt-xxl-0,.py-xxl-0{padding-top:0!important}.pr-xxl-0,.px-xxl-0{padding-right:0!important}.pb-xxl-0,.py-xxl-0{padding-bottom:0!important}.pl-xxl-0,.px-xxl-0{padding-left:0!important}.p-xxl-1{padding:.25rem!important}.pt-xxl-1,.py-xxl-1{padding-top:.25rem!important}.pr-xxl-1,.px-xxl-1{padding-right:.25rem!important}.pb-xxl-1,.py-xxl-1{padding-bottom:.25rem!important}.pl-xxl-1,.px-xxl-1{padding-left:.25rem!important}.p-xxl-2{padding:.5rem!important}.pt-xxl-2,.py-xxl-2{padding-top:.5rem!important}.pr-xxl-2,.px-xxl-2{padding-right:.5rem!important}.pb-xxl-2,.py-xxl-2{padding-bottom:.5rem!important}.pl-xxl-2,.px-xxl-2{padding-left:.5rem!important}.p-xxl-3{padding:1rem!important}.pt-xxl-3,.py-xxl-3{padding-top:1rem!important}.pr-xxl-3,.px-xxl-3{padding-right:1rem!important}.pb-xxl-3,.py-xxl-3{padding-bottom:1rem!important}.pl-xxl-3,.px-xxl-3{padding-left:1rem!important}.p-xxl-4{padding:1.5rem!important}.pt-xxl-4,.py-xxl-4{padding-top:1.5rem!important}.pr-xxl-4,.px-xxl-4{padding-right:1.5rem!important}.pb-xxl-4,.py-xxl-4{padding-bottom:1.5rem!important}.pl-xxl-4,.px-xxl-4{padding-left:1.5rem!important}.p-xxl-5{padding:3rem!important}.pt-xxl-5,.py-xxl-5{padding-top:3rem!important}.pr-xxl-5,.px-xxl-5{padding-right:3rem!important}.pb-xxl-5,.py-xxl-5{padding-bottom:3rem!important}.pl-xxl-5,.px-xxl-5{padding-left:3rem!important}.m-xxl-n1{margin:-.25rem!important}.mt-xxl-n1,.my-xxl-n1{margin-top:-.25rem!important}.mr-xxl-n1,.mx-xxl-n1{margin-right:-.25rem!important}.mb-xxl-n1,.my-xxl-n1{margin-bottom:-.25rem!important}.ml-xxl-n1,.mx-xxl-n1{margin-left:-.25rem!important}.m-xxl-n2{margin:-.5rem!important}.mt-xxl-n2,.my-xxl-n2{margin-top:-.5rem!important}.mr-xxl-n2,.mx-xxl-n2{margin-right:-.5rem!important}.mb-xxl-n2,.my-xxl-n2{margin-bottom:-.5rem!important}.ml-xxl-n2,.mx-xxl-n2{margin-left:-.5rem!important}.m-xxl-n3{margin:-1rem!important}.mt-xxl-n3,.my-xxl-n3{margin-top:-1rem!important}.mr-xxl-n3,.mx-xxl-n3{margin-right:-1rem!important}.mb-xxl-n3,.my-xxl-n3{margin-bottom:-1rem!important}.ml-xxl-n3,.mx-xxl-n3{margin-left:-1rem!important}.m-xxl-n4{margin:-1.5rem!important}.mt-xxl-n4,.my-xxl-n4{margin-top:-1.5rem!important}.mr-xxl-n4,.mx-xxl-n4{margin-right:-1.5rem!important}.mb-xxl-n4,.my-xxl-n4{margin-bottom:-1.5rem!important}.ml-xxl-n4,.mx-xxl-n4{margin-left:-1.5rem!important}.m-xxl-n5{margin:-3rem!important}.mt-xxl-n5,.my-xxl-n5{margin-top:-3rem!important}.mr-xxl-n5,.mx-xxl-n5{margin-right:-3rem!important}.mb-xxl-n5,.my-xxl-n5{margin-bottom:-3rem!important}.ml-xxl-n5,.mx-xxl-n5{margin-left:-3rem!important}.m-xxl-auto{margin:auto!important}.mt-xxl-auto,.my-xxl-auto{margin-top:auto!important}.mr-xxl-auto,.mx-xxl-auto{margin-right:auto!important}.mb-xxl-auto,.my-xxl-auto{margin-bottom:auto!important}.ml-xxl-auto,.mx-xxl-auto{margin-left:auto!important}}@media (min-width:1600px){.m-xxxl-0{margin:0!important}.mt-xxxl-0,.my-xxxl-0{margin-top:0!important}.mr-xxxl-0,.mx-xxxl-0{margin-right:0!important}.mb-xxxl-0,.my-xxxl-0{margin-bottom:0!important}.ml-xxxl-0,.mx-xxxl-0{margin-left:0!important}.m-xxxl-1{margin:.25rem!important}.mt-xxxl-1,.my-xxxl-1{margin-top:.25rem!important}.mr-xxxl-1,.mx-xxxl-1{margin-right:.25rem!important}.mb-xxxl-1,.my-xxxl-1{margin-bottom:.25rem!important}.ml-xxxl-1,.mx-xxxl-1{margin-left:.25rem!important}.m-xxxl-2{margin:.5rem!important}.mt-xxxl-2,.my-xxxl-2{margin-top:.5rem!important}.mr-xxxl-2,.mx-xxxl-2{margin-right:.5rem!important}.mb-xxxl-2,.my-xxxl-2{margin-bottom:.5rem!important}.ml-xxxl-2,.mx-xxxl-2{margin-left:.5rem!important}.m-xxxl-3{margin:1rem!important}.mt-xxxl-3,.my-xxxl-3{margin-top:1rem!important}.mr-xxxl-3,.mx-xxxl-3{margin-right:1rem!important}.mb-xxxl-3,.my-xxxl-3{margin-bottom:1rem!important}.ml-xxxl-3,.mx-xxxl-3{margin-left:1rem!important}.m-xxxl-4{margin:1.5rem!important}.mt-xxxl-4,.my-xxxl-4{margin-top:1.5rem!important}.mr-xxxl-4,.mx-xxxl-4{margin-right:1.5rem!important}.mb-xxxl-4,.my-xxxl-4{margin-bottom:1.5rem!important}.ml-xxxl-4,.mx-xxxl-4{margin-left:1.5rem!important}.m-xxxl-5{margin:3rem!important}.mt-xxxl-5,.my-xxxl-5{margin-top:3rem!important}.mr-xxxl-5,.mx-xxxl-5{margin-right:3rem!important}.mb-xxxl-5,.my-xxxl-5{margin-bottom:3rem!important}.ml-xxxl-5,.mx-xxxl-5{margin-left:3rem!important}.p-xxxl-0{padding:0!important}.pt-xxxl-0,.py-xxxl-0{padding-top:0!important}.pr-xxxl-0,.px-xxxl-0{padding-right:0!important}.pb-xxxl-0,.py-xxxl-0{padding-bottom:0!important}.pl-xxxl-0,.px-xxxl-0{padding-left:0!important}.p-xxxl-1{padding:.25rem!important}.pt-xxxl-1,.py-xxxl-1{padding-top:.25rem!important}.pr-xxxl-1,.px-xxxl-1{padding-right:.25rem!important}.pb-xxxl-1,.py-xxxl-1{padding-bottom:.25rem!important}.pl-xxxl-1,.px-xxxl-1{padding-left:.25rem!important}.p-xxxl-2{padding:.5rem!important}.pt-xxxl-2,.py-xxxl-2{padding-top:.5rem!important}.pr-xxxl-2,.px-xxxl-2{padding-right:.5rem!important}.pb-xxxl-2,.py-xxxl-2{padding-bottom:.5rem!important}.pl-xxxl-2,.px-xxxl-2{padding-left:.5rem!important}.p-xxxl-3{padding:1rem!important}.pt-xxxl-3,.py-xxxl-3{padding-top:1rem!important}.pr-xxxl-3,.px-xxxl-3{padding-right:1rem!important}.pb-xxxl-3,.py-xxxl-3{padding-bottom:1rem!important}.pl-xxxl-3,.px-xxxl-3{padding-left:1rem!important}.p-xxxl-4{padding:1.5rem!important}.pt-xxxl-4,.py-xxxl-4{padding-top:1.5rem!important}.pr-xxxl-4,.px-xxxl-4{padding-right:1.5rem!important}.pb-xxxl-4,.py-xxxl-4{padding-bottom:1.5rem!important}.pl-xxxl-4,.px-xxxl-4{padding-left:1.5rem!important}.p-xxxl-5{padding:3rem!important}.pt-xxxl-5,.py-xxxl-5{padding-top:3rem!important}.pr-xxxl-5,.px-xxxl-5{padding-right:3rem!important}.pb-xxxl-5,.py-xxxl-5{padding-bottom:3rem!important}.pl-xxxl-5,.px-xxxl-5{padding-left:3rem!important}.m-xxxl-n1{margin:-.25rem!important}.mt-xxxl-n1,.my-xxxl-n1{margin-top:-.25rem!important}.mr-xxxl-n1,.mx-xxxl-n1{margin-right:-.25rem!important}.mb-xxxl-n1,.my-xxxl-n1{margin-bottom:-.25rem!important}.ml-xxxl-n1,.mx-xxxl-n1{margin-left:-.25rem!important}.m-xxxl-n2{margin:-.5rem!important}.mt-xxxl-n2,.my-xxxl-n2{margin-top:-.5rem!important}.mr-xxxl-n2,.mx-xxxl-n2{margin-right:-.5rem!important}.mb-xxxl-n2,.my-xxxl-n2{margin-bottom:-.5rem!important}.ml-xxxl-n2,.mx-xxxl-n2{margin-left:-.5rem!important}.m-xxxl-n3{margin:-1rem!important}.mt-xxxl-n3,.my-xxxl-n3{margin-top:-1rem!important}.mr-xxxl-n3,.mx-xxxl-n3{margin-right:-1rem!important}.mb-xxxl-n3,.my-xxxl-n3{margin-bottom:-1rem!important}.ml-xxxl-n3,.mx-xxxl-n3{margin-left:-1rem!important}.m-xxxl-n4{margin:-1.5rem!important}.mt-xxxl-n4,.my-xxxl-n4{margin-top:-1.5rem!important}.mr-xxxl-n4,.mx-xxxl-n4{margin-right:-1.5rem!important}.mb-xxxl-n4,.my-xxxl-n4{margin-bottom:-1.5rem!important}.ml-xxxl-n4,.mx-xxxl-n4{margin-left:-1.5rem!important}.m-xxxl-n5{margin:-3rem!important}.mt-xxxl-n5,.my-xxxl-n5{margin-top:-3rem!important}.mr-xxxl-n5,.mx-xxxl-n5{margin-right:-3rem!important}.mb-xxxl-n5,.my-xxxl-n5{margin-bottom:-3rem!important}.ml-xxxl-n5,.mx-xxxl-n5{margin-left:-3rem!important}.m-xxxl-auto{margin:auto!important}.mt-xxxl-auto,.my-xxxl-auto{margin-top:auto!important}.mr-xxxl-auto,.mx-xxxl-auto{margin-right:auto!important}.mb-xxxl-auto,.my-xxxl-auto{margin-bottom:auto!important}.ml-xxxl-auto,.mx-xxxl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.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:480px){.text-xxs-left{text-align:left!important}.text-xxs-right{text-align:right!important}.text-xxs-center{text-align:center!important}}@media (min-width:576px){.text-xs-left{text-align:left!important}.text-xs-right{text-align:right!important}.text-xs-center{text-align:center!important}}@media (min-width:667px){.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}}@media (min-width:1440px){.text-xxl-left{text-align:left!important}.text-xxl-right{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1600px){.text-xxxl-left{text-align:left!important}.text-xxxl-right{text-align:right!important}.text-xxxl-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,.5)!important}.text-white-50{color:rgba(255,255,255,.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-break{word-break:break-word!important;overflow-wrap:break-word!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}}.bg-primary{background-color:#8e54e9!important}.bg-primary-inverse{background-color:rgba(142,84,233,.2)}.bg-warning{background-color:#f7b731!important}.bg-warning-inverse{background-color:rgba(247,183,49,.2)}.bg-success{background-color:#32b432!important}.bg-success -inverse{background-color:rgba(50,180,50,.2)}.bg-danger{background-color:#e3324c!important}.bg-danger-inverse{background-color:rgba(227,50,76,.2)}.bg-info{background-color:#45aaf2!important}.bg-info-inverse{background-color:rgba(69,170,242,.2)}.bg-light{background-color:#eceef3!important}.bg-gray{background-color:#eceef3!important}.bg-inverse{background-color:#2c2e3e!important}.bg-orange{background-color:#fd9644!important}.bg-orange-inverse{background-color:rgba(253,150,68,.2)}.bg-cyan{background-color:#2bcbba!important}.bg-cyan-inverse{background-color:rgba(43,203,186,.2)}.bg-pink{background-color:#fb0792!important}.bg-pink-inverse{background-color:rgba(251,7,146,.2)}.bg-primary2-inverse{background-color:rgba(71,118,230,.2)}.bg-white-inverse{background-color:rgba(255,255,255,.2)}.bg-purple{background-color:#4776e6!important}.bg{background-size:cover;background-position:top center;background-repeat:no-repeat;position:relative;overflow:hidden}.bg:before{content:'';background:rgba(0,0,0,.7);width:100%;height:100%;position:absolute;top:0;left:0;z-index:0}.no-overlay:before{content:'';background:rgba(0,0,0,0);width:100%;height:100%;position:absolute;top:0;left:0;z-index:0}.bg-primary-overlay:before{content:'';background:#8e54e9;background:rgba(142,84,233,.8)!important;width:100%;height:100%;position:absolute;top:0;left:0;z-index:0}.bg-facebook{background:#3b5998!important}.bg-twitter{background:#00aced!important}.bg-linkedin{background:#0077b5!important}.bg-pinterest{background:#c92228!important}.bg-instagram{background:#c32aa3!important}.bg-dribble{background:#c73b65!important}.bg-googleplus{background:#d34836!important}.bg-pinterest{background:#c92228!important}.bg-dropbox{background:#3d9ae8!important}.bg-flickr{background:#0063dc!important}.bg-tumblr{background:#34526f!important}.bg-skype{background:#12a5f4!important}.bg-youtube{background:#c4302b!important}.bg-github{background:#4078c0!important}.bg-gradient{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important}.bg-gradient-overlay:before{content:'';background:-moz-linear-gradient(top,rgba(142,84,233,.85) 0,rgba(71,118,230,.85) 100%);background:-webkit-linear-gradient(top,rgba(142,84,233,.85) 0,rgba(71,118,230,.85) 100%);background:linear-gradient(to bottom,rgba(142,84,233,.85) 0,rgba(71,118,230,.85) 100%);width:100%;height:100%;position:absolute;top:0;left:0;z-index:0}.box-shadow-1{-webkit-box-shadow:0 0 20px rgba(115,105,215,.15);-moz-box-shadow:0 0 20px rgba(115,105,215,.15);box-shadow:0 0 20px rgba(115,105,215,.15)}.p-relative{position:relative;z-index:1}.p-absolute{position:absolute}.p-fixed{position:fixed}p-bottom-0{bottom:0}.responsive-chart canvas{width:100%!important}.img-rounded{border-radius:50%}.label{display:inline;padding:.4em .5em .3em;font-size:75%!important;font-weight:400;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label-primary{background:#8e54e9}.label-info{background:#45aaf2}.label-warning{background:#f7b731}.label-danger{background:#e3324c}.label-success{background:#32b432}.label-pink{background:#fb0792}.label-inverse{background:#2c2e3e}.label-custom{background:#2bcbba}.label-orange{background:#fd9644}.arrow-triangle{position:absolute;background-color:#fff;text-align:left;transform:rotate(40deg) skewX(-50deg);right:10px;top:-7px}@media screen and (min-width:577px) and (max-width:767px){.arrow-triangle{display:none}}.arrow-triangle:after,.arrow-triangle:before{content:'';position:absolute;background-color:inherit}.arrow-triangle,.arrow-triangle:after,.arrow-triangle:before{width:.7em;height:.7em;border-top-right-radius:30%}.arrow-triangle:before{transform:rotate(-135deg) skewX(-45deg) scale(1.414,.707) translate(0,-50%);-webkit-box-shadow:2px -2px 5px rgba(115,105,215,.15);-moz-box-shadow:2px -2px 5px rgba(115,105,215,.15);box-shadow:2px -2px 5px rgba(115,105,215,.15)}.arrow-triangle:after{transform:rotate(135deg) skewY(-45deg) scale(.707,1.414) translate(50%)}.dropdown-item.active,.dropdown-item:active{background:0 0}.text-white{color:#fff}.text-dark{color:#2c2e3e}.text-primary{color:#8e54e9!important}.text-info{color:#45aaf2!important}a.text-primary{color:#8e54e9!important}a.text-primary:hover{color:#7630e4!important}a.text-primary:focus{color:#7630e4!important}a.text-primary:active{color:#7630e4!important}a.text-primary:visited{color:#7630e4!important}a.text-secondary{color:#a1a1a1!important}a.text-secondary:hover{color:#8d8d8d!important}a.text-secondary:focus{color:#8d8d8d!important}a.text-secondary:active{color:#8d8d8d!important}a.text-secondary:visited{color:#8d8d8d!important}a.text-muted{color:#a6a9b7!important}a.text-muted:hover{color:#8f93a5!important}a.text-muted:focus{color:#8f93a5!important}a.text-muted:active{color:#8f93a5!important}a.text-muted:visited{color:#8f93a5!important}a.text-info{color:#45aaf2!important}a.text-info:hover{color:#1f99ef!important}a.text-info:focus{color:#1f99ef!important}a.text-info:active{color:#1f99ef!important}a.text-info:visited{color:#1f99ef!important}a.text-orange{color:#fd9644!important}a.text-orange:hover{color:#fd7f1c!important}a.text-orange:focus{color:#fd7f1c!important}a.text-orange:active{color:#fd7f1c!important}a.text-orange:visited{color:#fd7f1c!important}a.text-cyan{color:#2bcbba!important}a.text-cyan:hover{color:#24a99b!important}a.text-cyan:focus{color:#24a99b!important}a.text-cyan:active{color:#24a99b!important}a.text-cyan:visited{color:#24a99b!important}a.text-red{color:#e3324c!important}a.text-red:hover{color:#d01c37!important}a.text-red:focus{color:#d01c37!important}a.text-red:active{color:#d01c37!important}a.text-red:visited{color:#d01c37!important}a.text-blue{color:#45aaf2!important}a.text-blue:hover{color:#1f99ef!important}a.text-blue:focus{color:#1f99ef!important}a.text-blue:active{color:#1f99ef!important}a.text-blue:visited{color:#1f99ef!important}a.text-purple{color:#8e54e9!important}a.text-purple:hover{color:#7630e4!important}a.text-purple:focus{color:#7630e4!important}a.text-purple:active{color:#7630e4!important}a.text-purple:visited{color:#7630e4!important}a.text-pink{color:#fb0792!important}a.text-pink:hover{color:#d6037b!important}a.text-pink:focus{color:#d6037b!important}a.text-pink:active{color:#d6037b!important}a.text-pink:visited{color:#d6037b!important}.text-muted{color:#a6a9b7!important}.text-orange{color:#fd9644}.text-cyan{color:#2bcbba}.text-blue{color:#45aaf2}.text-purple{color:#8e54e9}.text-pink{color:#fb0792}.text-facebook{color:#3b5998}.text-twitter{color:#00aced}.text-linkedin{color:#0077b5}.text-dribble{color:#c73b65}.text-googleplus{color:#d34836}.text-instagram{color:#c32aa3}.text-pinterest{color:#c92228}.text-dropbox{color:#3d9ae8}.text-flickr{color:#0063dc}.text-tumblr{color:#34526f}.text-skype{color:#12a5f4}.text-youtube{color:#c4302b}.text-github{color:#4078c0}.font-xs{font-size:.8571rem!important;line-height:1.145rem}.font-lg{font-size:1.714rem!important;line-height:2.142rem}.font-xxl{font-size:2.571rem!important;line-height:3.142rem}.f-30{font-size:2.143rem!important;line-height:2.143rem}.f-50{font-size:3.571rem!important;line-height:3.571rem}.f-70{font-size:5.271rem!important;line-height:5.271rem}.f-100{font-size:7.125rem!important;line-height:7.125rem}.f-150{font-size:11.125rem!important;line-height:11.125rem}.f-200{font-size:14.125rem!important;line-height:14.125rem}.font-light{font-weight:300}.font-regular{font-weight:400}.font-medium{font-weight:500}.font-bold{font-weight:700}.m-t-0{margin-top:0!important}.m-t-5{margin-top:.35742rem!important}.m-t-10{margin-top:.7143rem!important}.m-t-20{margin-top:1.429rem!important}.m-t-30{margin-top:2.143rem!important}.m-t-40{margin-top:2.857rem!important}.m-t-50{margin-top:3.571rem!important}.m-t-60{margin-top:4.286rem!important}.m-t-70{margin-top:5rem!important}.m-t-80{margin-top:5.714rem!important}.m-t-90{margin-top:6.429rem!important}.m-t-100{margin-top:7.143rem!important}.m-b-0{margin-bottom:0!important}.m-b-10{margin-bottom:.7143rem!important}.m-b-20{margin-bottom:1.429rem!important}.m-b-30{margin-bottom:2.143rem!important}.m-b-40{margin-bottom:2.857rem!important}.m-b-50{margin-bottom:3.571rem!important}.m-b-60{margin-bottom:4.286rem!important}.m-b-70{margin-bottom:5rem!important}.m-b-80{margin-bottom:5.714rem!important}.m-b-90{margin-bottom:6.429rem!important}.m-b-100{margin-bottom:7.143rem!important}.m-l-0{margin-left:0!important}.m-l-10{margin-left:.7143rem!important}.m-l-20{margin-left:1.429rem!important}.m-l-30{margin-left:2.143rem!important}.m-l-40{margin-left:2.857rem!important}.m-l-50{margin-left:3.571rem!important}.m-l-60{margin-left:4.286rem!important}.m-l-70{margin-left:5rem!important}.m-l-80{margin-left:5.714rem!important}.m-l-90{margin-left:6.429rem!important}.m-l-100{margin-left:7.143rem!important}.m-r-0{margin-right:0!important}.m-r-10{margin-right:.7143rem!important}.m-r-20{margin-right:1.429rem!important}.m-r-30{margin-right:2.143rem!important}.m-r-40{margin-right:2.857rem!important}.m-r-50{margin-right:3.571rem!important}.m-r-60{margin-right:4.286rem!important}.m-r-70{margin-right:5rem!important}.m-r-80{margin-right:5.714rem!important}.m-r-90{margin-right:6.429rem!important}.m-r-100{margin-right:7.143rem!important}.p-10{padding:.7143rem!important}.p-15{padding:1.0443rem!important}.p-20{padding:1.429rem!important}.p-30{padding:2.143rem!important}.p-40{padding:2.857rem!important}.p-50{padding:3.571rem!important}.p-l-0{padding-left:0!important}.p-l-10{padding-left:.7143rem!important}.p-l-20{padding-left:1.429rem!important}.p-l-30{padding-left:2.143rem!important}.p-l-40{padding-left:2.857rem!important}.p-l-50{padding-left:3.571rem!important}.p-r-0{padding-right:0!important}.p-r-10{padding-right:.7143rem!important}.p-r-20{padding-right:1.429rem!important}.p-r-30{padding-right:2.143rem!important}.p-r-40{padding-right:2.857rem!important}.p-r-50{padding-right:3.571rem!important}.p-t-0{padding-top:0!important}.p-t-10{padding-top:.7143rem!important}.p-t-20{padding-top:1.429rem!important}.p-t-30{padding-top:2.143rem!important}.p-t-40{padding-top:2.857rem!important}.p-t-50{padding-top:3.571rem!important}.p-b-0{padding-bottom:0!important}.p-b-10{padding-bottom:.7143rem!important}.p-b-20{padding-bottom:1.429rem!important}.p-b-30{padding-bottom:2.143rem!important}.p-b-40{padding-bottom:2.857rem!important}.p-b-50{padding-bottom:3.571rem!important}.grid-structure .grid-container{background-color:rgba(243,243,243,.5);margin-bottom:10px;padding:10px 20px}.icon-colored{height:48px;width:48px;margin:2rem}.min-h-200{min-height:200px}.min-h-210{min-height:210px}.min-h-220{min-height:220px}.min-h-230{min-height:230px}.min-h-240{min-height:240px}.min-h-250{min-height:250px}.min-h-260{min-height:260px}.min-h-270{min-height:270px}.max-h-200{max-height:200px}.max-h-210{max-height:210px}.max-h-220{max-height:220px}.max-h-230{max-height:230px}.max-h-240{max-height:240px}.max-h-250{max-height:250px}.max-h-260{max-height:260px}.max-h-270{max-height:270px}.max-h-280{max-height:280px}.max-h-290{max-height:290px}.max-h-300{max-height:300px}.max-h-310{max-height:310px}.max-h-320{max-height:320px}.max-h-330{max-height:330px}.max-h-340{max-height:340px}.max-h-350{max-height:350px}.max-h-360{max-height:360px}.max-h-370{max-height:370px}.max-h-380{max-height:380px}.max-h-390{max-height:390px}.max-h-400{max-height:400px}.max-h-410{max-height:410px}.max-h-420{max-height:420px}.max-h-430{max-height:430px}.max-h-440{max-height:440px}.max-h-450{max-height:450px}.max-h-460{max-height:460px}.max-h-470{max-height:470px}.max-h-480{max-height:480px}.max-h-500{max-height:500px}.max-h-510{max-height:510px}.max-h-520{max-height:520px}.max-h-530{max-height:530px}.max-h-540{max-height:540px}.max-h-550{max-height:550px}.max-h-560{max-height:560px}.max-h-570{max-height:570px}.max-h-580{max-height:580px}.max-h-590{max-height:590px}.max-h-600{max-height:600px}.max-h-610{max-height:610px}.max-h-620{max-height:620px}.max-h-630{max-height:630px}.max-h-640{max-height:640px}.max-h-650{max-height:650px}.max-h-660{max-height:660px}.max-h-670{max-height:670px}.max-h-680{max-height:680px}.w-0{width:0!important}.w-10{width:10px!important}.w-20{width:20px!important}.w-25{width:25px!important}.w-30{width:30%!important}.w-40{width:40%!important}.w-50{width:50px!important}.w-60{width:60%!important}.w-70{width:70%!important}.w-80{width:80%!important}.w-90{width:90%!important}.overflow-x{overflow-x:auto}.overflow-y{overflow-y:auto}.overflow-auto{overflow:auto}.overflow-h{overflow:hidden}.clock{position:relative;height:120px;width:120px;background:#fff;box-sizing:border-box;border-radius:100%;border:10px solid #8854d0;position:absolute;top:20px;right:40px;bottom:0}.clock .top{position:absolute;width:3px;height:8px;background:#262626;left:0;right:0;margin:0 auto}.clock .right{position:absolute;width:8px;height:3px;background:#262626;top:0;bottom:0;right:0;margin:auto 0}.clock .bottom{position:absolute;width:3px;height:8px;background:#262626;left:0;right:0;bottom:0;margin:0 auto}.clock .left{position:absolute;width:8px;height:3px;background:#262626;top:0;bottom:0;left:0;margin:auto 0}.clock .center{height:6px;width:6px;position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;background:#262626;border-radius:100%}.clock .hour{width:3px;height:100%;position:absolute;left:0;right:0;margin:0 auto;animation:time 60s infinite linear}.clock .hour:before{position:absolute;content:"";background:#262626;height:60px;width:3px;top:30px}.clock .minute{width:1px;height:100%;position:absolute;left:0;right:0;margin:0 auto;animation:time 30s infinite linear}.clock .minute:before{position:absolute;content:"";background:#262626;height:40px;width:1px;top:50px}.clock .second{width:2px;height:100%;position:absolute;left:0;right:0;margin:0 auto;animation:time 15s infinite linear}.clock .second:before{position:absolute;content:"";background:#fd1111;height:45px;width:2px;top:45px}@keyframes time{to{transform:rotate(360deg)}}.smiley{background:linear-gradient(135deg,#ffe919 0,#fbc000 100%);border-radius:100%;padding:25px;position:relative;width:100px;height:100px;box-shadow:rgba(211,165,110,.498039) 0 10px 10px 1px,#f5f5f5 0 10px 10px 1px;margin:0 auto}.mouth{width:60%;height:30%;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:100px;border-bottom-right-radius:100px;box-sizing:border-box;position:absolute;bottom:18%;left:50%;margin-left:-30%;background:#b57700;transition:all .3s cubic-bezier(.645,.045,.355,1)}.eyes{width:100%;box-sizing:border-box;transition:all .3s cubic-bezier(.645,.045,.355,1)}.eyes .eye{width:15px;height:15px;background:#b57700;float:left;border-radius:100%;position:relative}.eyes .eye:nth-of-type(2){float:right}.eyes .eye::after{content:"";display:block;position:absolute;width:0%;height:0%;background:#fed800;transform:rotate(0);top:-15px;left:5px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.eyes .eye:first-of-type::after{transform:rotate(0);left:auto;right:5px}.smiley.normal .mouth{border-top-left-radius:100px;border-top-right-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;height:10%;width:40%;bottom:25%;margin-left:-20%}.smiley.normal .eyes{margin-top:30%}.smiley.happy .mouth{animation:move-mouth-down .8s;animation-delay:.3s}@keyframes move-mouth-down{0%{bottom:18%}35%{bottom:16%}65%{bottom:16%}100%{bottom:18%}}.smiley.happy .eyes{animation:move-eyes-down .8s;animation-delay:.3s}@keyframes move-eyes-down{0%{margin-top:15%}35%{margin-top:19%}65%{margin-top:19%}100%{margin-top:15%}}.smiley.happy .eye:nth-of-type(2){height:20px;margin-top:0;animation:wink .8s;animation-delay:.3s}@keyframes wink{0%{height:20px;margin-top:0}30%{height:3px;margin-top:8px}70%{height:3px;margin-top:8px}100%{height:20px;margin-top:0}}.smiley.normal .eye{height:20px;margin-top:0;animation:eyeblink .6s;animation-delay:.3s}@keyframes eyeblink{0%{height:20px;margin-top:0}25%{height:2px;margin-top:8px}50%{height:20px;margin-top:0}75%{height:2px;margin-top:8px}100%{height:20px;margin-top:0}}.mCSB_inside>.mCSB_container{margin-right:0}.font-9{font-size:.5625rem!important}.font-10{font-size:.625rem!important;line-height:.625rem}.font-11{font-size:.6875rem!important;line-height:.6875rem}.font-12{font-size:.75rem!important;line-height:.75rem}.font-13{font-size:.8125rem!important;line-height:.8125rem}.font-14{font-size:.875rem!important;line-height:.875rem}.font-15{font-size:.9375rem!important;line-height:.9375rem}.font-16{font-size:1rem!important;line-height:1rem}.font-17{font-size:1.063rem!important;line-height:1.063rem}.font-18{font-size:1.125rem!important;line-height:1.125rem}.font-19{font-size:1.188rem!important;line-height:1.188rem}.font-20{font-size:1.25rem!important;line-height:1.25rem}.font-21{font-size:1.313rem!important;line-height:1.313rem}.font-22{font-size:1.375rem!important;line-height:1.375rem}.font-23{font-size:1.438rem!important;line-height:1.438rem}.font-24{font-size:1.5rem!important;line-height:1.5rem}.font-25{font-size:1.563rem!important;line-height:1.563rem}.font-26{font-size:1.625rem!important;line-height:1.625rem}.font-27{font-size:1.688rem!important;line-height:1.688rem}.font-28{font-size:1.75rem!important;line-height:1.75rem}.font-29{font-size:1.813rem!important;line-height:1.813rem}.font-30{font-size:1.875rem!important;line-height:1.875rem}.font-31{font-size:1.938rem!important;line-height:1.938rem}.font-32{font-size:2rem!important;line-height:2rem}.font-33{font-size:2.063rem!important;line-height:2.063rem}.font-34{font-size:2.125rem!important;line-height:2.125rem}.font-35{font-size:2.188rem!important;line-height:2.188rem}.font-36{font-size:2.25rem!important;line-height:2.25rem}.font-37{font-size:2.313rem!important;line-height:2.313rem}.font-38{font-size:2.375rem!important;line-height:2.375rem}.font-39{font-size:2.438rem!important;line-height:2.438rem}.font-40{font-size:2.5rem!important;line-height:2.5rem}.font-41{font-size:2.563rem!important;line-height:2.563rem}.font-42{font-size:2.625rem!important;line-height:2.625rem}.font-43{font-size:2.688rem!important;line-height:2.688rem}.font-44{font-size:2.75rem!important;line-height:2.75rem}.font-45{font-size:2.813rem!important;line-height:2.813rem}.font-46{font-size:2.875rem!important;line-height:2.875rem}.font-47{font-size:2.938rem!important;line-height:2.938rem}.font-48{font-size:3rem!important;line-height:3rem}.font-49{font-size:3.063rem!important;line-height:3.063rem}.font-50{font-size:3.125rem!important;line-height:3.125rem}.font-51{font-size:3.188rem!important;line-height:3.188rem}.font-52{font-size:3.25rem!important;line-height:3.25rem}.font-53{font-size:3.313rem!important;line-height:3.313rem}.font-54{font-size:3.375rem!important;line-height:3.375rem}.font-55{font-size:3.438rem!important;line-height:3.438rem}.font-56{font-size:3.5rem!important;line-height:3.5rem}.font-57{font-size:3.563rem!important;line-height:3.563rem}.font-58{font-size:3.625rem!important;line-height:3.625rem}.font-59{font-size:3.688rem!important;line-height:3.688rem}.font-60{font-size:3.75rem!important;line-height:3.75rem}.font-61{font-size:3.813rem!important;line-height:3.813rem}.font-62{font-size:3.875rem!important;line-height:3.875rem}.font-63{font-size:3.938rem!important;line-height:3.938rem}.font-64{font-size:4rem!important;line-height:4rem}.font-65{font-size:4.063rem!important;line-height:4.063rem}.font-66{font-size:4.125rem!important;line-height:4.125rem}.font-67{font-size:4.188rem!important;line-height:4.188rem}.font-68{font-size:4.25rem!important;line-height:4.25rem}.font-69{font-size:4.313rem!important;line-height:4.313rem}.font-70{font-size:4.375rem!important;line-height:4.375rem}.font-71{font-size:4.438rem!important;line-height:4.438rem}.font-72{font-size:4.5rem!important;line-height:4.5rem}.font-73{font-size:4.563rem!important;line-height:4.563rem}.font-74{font-size:4.625rem!important;line-height:4.625rem}.font-75{font-size:4.688rem!important;line-height:4.688rem}.font-76{font-size:4.75rem!important;line-height:4.75rem}.font-77{font-size:4.813rem!important;line-height:4.813rem}.font-78{font-size:4.875rem!important;line-height:4.875rem}.font-79{font-size:4.938rem!important;line-height:4.938rem}.font-80{font-size:5rem!important;line-height:5rem}.font-81{font-size:5.063rem!important;line-height:5.063rem}.font-82{font-size:5.125rem!important;line-height:5.125rem}.font-83{font-size:5.188rem!important;line-height:5.188rem}.font-84{font-size:5.25rem!important;line-height:5.25rem}.font-85{font-size:5.313rem!important;line-height:5.313rem}.font-86{font-size:5.375rem!important;line-height:5.375rem}.font-87{font-size:5.438rem!important;line-height:5.438rem}.font-88{font-size:5.5rem!important;line-height:5.5rem}.font-89{font-size:5.563rem!important;line-height:5.563rem}.font-90{font-size:5.625rem!important;line-height:5.625rem}.font-91{font-size:5.688rem!important;line-height:5.688rem}.font-92{font-size:5.75rem!important;line-height:5.75rem}.font-93{font-size:5.813rem!important;line-height:5.813rem}.font-94{font-size:5.875rem!important;line-height:5.875rem}.font-95{font-size:5.938rem!important;line-height:5.938rem}.font-96{font-size:6rem!important;line-height:6rem}.font-97{font-size:6.063rem!important;line-height:6.063rem}.font-98{font-size:6.125rem!important;line-height:6.125rem}.font-99{font-size:6.188rem!important;line-height:6.188rem}.font-100{font-size:6.25rem!important;line-height:6.25rem}.h-100-vh{height:100vh}@media screen and (min-width:577px) and (max-width:767px){.h-100-vh{height:100%}}@media screen and (min-width:480px) and (max-width:576px){.h-100-vh{height:100%}}@media screen and (max-width:480px){.h-100-vh{height:100%}}.p-absolute-lrb{position:absolute;left:0;bottom:0;right:0}@media screen and (min-width:1200px) and (max-width:1439px){.p-absolute-lrb{position:relative}}@media screen and (min-width:1024px) and (max-width:1199px){.p-absolute-lrb{position:relative}}@media screen and (min-width:768px) and (max-width:1023px){.p-absolute-lrb{position:relative}}@media screen and (min-width:577px) and (max-width:767px){.p-absolute-lrb{position:relative}}@media screen and (min-width:480px) and (max-width:576px){.p-absolute-lrb{position:relative}}@media screen and (max-width:480px){.p-absolute-lrb{position:relative}}.p-absolute-lr{position:absolute;left:0;right:0}@media screen and (min-width:1200px) and (max-width:1439px){.p-absolute-lr{position:relative}}@media screen and (min-width:1024px) and (max-width:1199px){.p-absolute-lr{position:relative}}@media screen and (min-width:768px) and (max-width:1023px){.p-absolute-lr{position:relative}}@media screen and (min-width:577px) and (max-width:767px){.p-absolute-lr{position:relative}}@media screen and (min-width:480px) and (max-width:576px){.p-absolute-lr{position:relative}}@media screen and (max-width:480px){.p-absolute-lr{position:relative}}.modal{z-index:1052}.o-hidden{overflow:hidden}.line-20{line-height:1.25rem}.bg-type{width:30px;height:30px;line-height:30px;background:#8e54e9;color:#fff;text-align:center;border-radius:30px}.bg-type span{font-size:1rem;font-weight:500;line-height:2.3}.bg-type.bg-type-md{width:40px;height:40px;line-height:40px;background:#8e54e9;color:#fff;text-align:center;border-radius:40px}.bg-type.bg-type-md span{font-size:1.2rem;font-weight:500;line-height:2.6}.bg-img.bg-img-big{width:100px;height:100px}.bg-img.bg-img-sm{width:30px;height:30px}.bg-img-group .bg-img{display:inline-block;margin-left:-10px;position:relative;z-index:0}.bg-img-group .bg-img img{border:1px solid #fff}.bg-img-group .bg-img:hover{z-index:1;position:relative}.bg-img-group .bg-img-more{width:26px;height:26px;line-height:24px;background:#8e54e9;color:#fff;text-align:center;border-radius:26px}.bg-img-group .bg-img-more span{font-size:.7rem;font-weight:500}.bg-img-group .bg-img-more a:hover{color:#fff}ul.activity{margin-left:10px}ul.activity li{list-style:none}ul.activity li.activity-item{position:relative;border-left:2px solid #dee2e6}ul.activity li.activity-item:after{background-color:#fff;border-radius:30px;border:2px solid #dee2e6;height:20px;left:0;margin-left:-11px;position:absolute;width:20px;clear:both;bottom:auto;top:0}ul.activity li.activity-item:after,ul.activity li.activity-item:before{content:" ";display:table}ul.activity li.activity-item .activity-info{margin-left:30px;padding-bottom:17px}ul.activity li.activity-item p{padding:0;margin:0}ul.activity li.activity-item.primary:after{border-color:#8e54e9}ul.activity li.activity-item.cyan:after{border-color:#2bcbba}ul.activity li.activity-item.orange:after{border-color:#fd9644}ul.activity li.activity-item.success:after{border-color:#32b432}ul.activity li.activity-item.pink:after{border-color:#fb0792}ul.activity li.activity-item.primary2:after{border-color:#4776e6}ul.activity li.activity-item.danger:after{border-color:#e3324c}ul.activity li.activity-item.info:after{border-color:#45aaf2}ul.activity li.activity-item.warning:after{border-color:#f7b731}ul.activity li.activity-item:last-child .activity-info{padding-bottom:0}.border-radius-none{border-radius:0}.bg-img{width:60px;height:60px;line-height:60px}.bg-images{background-repeat:no-repeat;background-size:cover;position:relative}.bg-images:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background-color:rgba(0,0,0,.6)}.img-text{position:relative}.img-icon{width:60px;height:60px;border-radius:100px;text-align:center;line-height:60px;background-color:#eceef3}.img-icon i{font-size:20px}@media (max-width:1440px) and (min-width:1200px){.border-xxl-t{border-top:1px solid #dee2e6}.border-xxl-n{border:none!important}}@media (max-width:1199px) and (min-width:992px){.border-xl-t{border-top:1px solid #dee2e6}.border-xl-n{border:none!important}}@media (max-width:991px){.border-lg-t{border-top:1px solid #dee2e6}.border-lg-n{border:none!important}}@media (max-width:767px){.border-md-t{border-top:1px solid #dee2e6}.border-md-n{border:none!important}}@media (max-width:320px){.border-sm-t{border-top:1px solid #dee2e6}.border-sm-n{border:none!important}}@media (max-width:1199px) and (min-width:320px){.border-t{border-top:1px solid #dee2e6}.border-n{border:none!important}}@media (max-width:991px) and (min-width:768px){.col-xl-2.col-md-4.col-sm-6.border-right.border-xl-n{border:none!important}}@media (max-width:567px) and (min-width:320px){.col-xl-2.col-md-4.col-sm-6.border-right.border-sm-n{border:none!important}}@media (max-width:1199px) and (min-width:768px){.widget-weather-contant-3 .border-right.border-md-n{border:none!important}}.drag-drop img{padding:1rem}.dropdown-menu{z-index:1052}.p-inherit{position:inherit!important}@media screen and (min-width:480px) and (max-width:576px){.dropdown-menu-left-mobile{transform:translate3d(0,38px,0)!important}}@media screen and (max-width:480px){.dropdown-menu-left-mobile{transform:translate3d(0,38px,0)!important}}.export-btn{position:relative;padding-right:12px!important}.export-btn:before{position:absolute;content:"\f220";font-family:material-icons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none;right:0;top:7px}.mb-minus{margin-bottom:-1rem}.pt-10{padding-top:10px}.pt-20{padding-top:20px}.pt-30{padding-top:30px}.pt-40{padding-top:40px}.pt-50{padding-top:50px}.pb-10{padding-bottom:10px}.pb-20{padding-bottom:20px}.pb-30{padding-bottom:30px}.pb-40{padding-bottom:40px}.pb-50{padding-bottom:50px}.pl-10{padding-left:10px}.pl-20{padding-left:20px}.pl-30{padding-left:30px}.pl-40{padding-left:40px}.pl-50{padding-left:50px}.pr-10{padding-right:10px}.pr-20{padding-right:20px}.pr-30{padding-right:30px}.pr-40{padding-right:40px}.pr-50{padding-right:50px}.mt-10{margin-top:10px}.mt-20{margin-top:20px}.mt-30{margin-top:30px}.mt-40{margin-top:40px}.mt-50{margin-top:50px}.mb-10{margin-bottom:10px}.mb-20{margin-bottom:20px}.mb-30{margin-bottom:30px}.mb-40{margin-bottom:40px}.mb-50{margin-bottom:50px}.ml-10{margin-left:10px}.ml-20{margin-left:20px}.ml-30{margin-left:30px}.ml-40{margin-left:40px}.ml-50{margin-left:50px}.mr-10{margin-right:10px}.mr-20{margin-right:20px}.mr-30{margin-right:30px}.mr-40{margin-right:40px}.mr-50{margin-right:50px}.border-right{border-right:1px solid #dee2e6!important}.border-right-0{border-right:0 solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0 solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0 solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-left-0{border-left:0 solid #dee2e6!important}@media screen and (min-width:1441px){.pt-xxl-10{padding-top:10px}.pt-xxl-20{padding-top:20px}.pt-xxl-30{padding-top:30px}.pt-xxl-40{padding-top:40px}.pt-xxl-50{padding-top:50px}.pb-xxl-10{padding-bottom:10px}.pb-xxl-20{padding-bottom:20px}.pb-xxl-30{padding-bottom:30px}.pb-xxl-40{padding-bottom:40px}.pb-xxl-50{padding-bottom:50px}.pl-xxl-10{padding-left:10px}.pl-xxl-20{padding-left:20px}.pl-xxl-30{padding-left:30px}.pl-xxl-40{padding-left:40px}.pl-xxl-50{padding-left:50px}.pr-xxl-10{padding-right:10px}.pr-xxl-20{padding-right:20px}.pr-xxl-30{padding-right:30px}.pr-xxl-40{padding-right:40px}.pr-xxl-50{padding-right:50px}.mt-xxl-10{margin-top:10px}.mt-xxl-20{margin-top:20px}.mt-xxl-30{margin-top:30px}.mt-xxl-40{margin-top:40px}.mt-xxl-50{margin-top:50px}.mb-xxl-10{margin-bottom:10px}.mb-xxl-20{margin-bottom:20px}.mb-xxl-30{margin-bottom:30px}.mb-xxl-40{margin-bottom:40px}.mb-xxl-50{margin-bottom:50px}.ml-xxl-10{margin-left:10px}.ml-xxl-20{margin-left:20px}.ml-xxl-30{margin-left:30px}.ml-xxl-40{margin-left:40px}.ml-xxl-50{margin-left:50px}.mr-xxl-10{margin-right:10px}.mr-xxl-20{margin-right:20px}.mr-xxl-30{margin-right:30px}.mr-xxl-40{margin-right:40px}.mr-xxl-50{margin-right:50px}.border-xxl-right{border-right:1px solid #dee2e6!important}.border-xxl-right-0{border-right:0 solid #dee2e6!important}.border-xxl-top{border-top:1px solid #dee2e6!important}.border-xxl-top-0{border-top:0 solid #dee2e6!important}.border-xxl-bottom{border-bottom:1px solid #dee2e6!important}.border-xxl-bottom-0{border-bottom:0 solid #dee2e6!important}.border-xxl-left{border-left:1px solid #dee2e6!important}.border-xxl-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:1201px){.pt-xl-10{padding-top:10px}.pt-xl-20{padding-top:20px}.pt-xl-30{padding-top:30px}.pt-xl-40{padding-top:40px}.pt-xl-50{padding-top:50px}.pb-xl-10{padding-bottom:10px}.pb-xl-20{padding-bottom:20px}.pb-xl-30{padding-bottom:30px}.pb-xl-40{padding-bottom:40px}.pb-xl-50{padding-bottom:50px}.pl-xl-10{padding-left:10px}.pl-xl-20{padding-left:20px}.pl-xl-30{padding-left:30px}.pl-xl-40{padding-left:40px}.pl-xl-50{padding-left:50px}.pr-xl-10{padding-right:10px}.pr-xl-20{padding-right:20px}.pr-xl-30{padding-right:30px}.pr-xl-40{padding-right:40px}.pr-xl-50{padding-right:50px}.mt-xl-10{margin-top:10px}.mt-xl-20{margin-top:20px}.mt-xl-30{margin-top:30px}.mt-xl-40{margin-top:40px}.mt-xl-50{margin-top:50px}.mb-xl-10{margin-bottom:10px}.mb-xl-20{margin-bottom:20px}.mb-xl-30{margin-bottom:30px}.mb-xl-40{margin-bottom:40px}.mb-xl-50{margin-bottom:50px}.ml-xl-10{margin-left:10px}.ml-xl-20{margin-left:20px}.ml-xl-30{margin-left:30px}.ml-xl-40{margin-left:40px}.ml-xl-50{margin-left:50px}.mr-xl-10{margin-right:10px}.mr-xl-20{margin-right:20px}.mr-xl-30{margin-right:30px}.mr-xl-40{margin-right:40px}.mr-xl-50{margin-right:50px}.border-xl-right{border-right:1px solid #dee2e6!important}.border-xl-right-0{border-right:0 solid #dee2e6!important}.border-xl-top{border-top:1px solid #dee2e6!important}.border-xl-top-0{border-top:0 solid #dee2e6!important}.border-xl-bottom{border-bottom:1px solid #dee2e6!important}.border-xl-bottom-0{border-bottom:0 solid #dee2e6!important}.border-xl-left{border-left:1px solid #dee2e6!important}.border-xl-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:993px){.pt-lg-10{padding-top:10px}.pt-lg-20{padding-top:20px}.pt-lg-30{padding-top:30px}.pt-lg-40{padding-top:40px}.pt-lg-50{padding-top:50px}.pb-lg-10{padding-bottom:10px}.pb-lg-20{padding-bottom:20px}.pb-lg-30{padding-bottom:30px}.pb-lg-40{padding-bottom:40px}.pb-lg-50{padding-bottom:50px}.pl-lg-10{padding-left:10px}.pl-lg-20{padding-left:20px}.pl-lg-30{padding-left:30px}.pl-lg-40{padding-left:40px}.pl-lg-50{padding-left:50px}.pr-lg-10{padding-right:10px}.pr-lg-20{padding-right:20px}.pr-lg-30{padding-right:30px}.pr-lg-40{padding-right:40px}.pr-lg-50{padding-right:50px}.mt-lg-10{margin-top:10px}.mt-lg-20{margin-top:20px}.mt-lg-30{margin-top:30px}.mt-lg-40{margin-top:40px}.mt-lg-50{margin-top:50px}.mb-lg-10{margin-bottom:10px}.mb-lg-20{margin-bottom:20px}.mb-lg-30{margin-bottom:30px}.mb-lg-40{margin-bottom:40px}.mb-lg-50{margin-bottom:50px}.ml-lg-10{margin-left:10px}.ml-lg-20{margin-left:20px}.ml-lg-30{margin-left:30px}.ml-lg-40{margin-left:40px}.ml-lg-50{margin-left:50px}.mr-lg-10{margin-right:10px}.mr-lg-20{margin-right:20px}.mr-lg-30{margin-right:30px}.mr-lg-40{margin-right:40px}.mr-lg-50{margin-right:50px}.border-lg-right{border-right:1px solid #dee2e6!important}.border-lg-right-0{border-right:0 solid #dee2e6!important}.border-lg-top{border-top:1px solid #dee2e6!important}.border-lg-top-0{border-top:0 solid #dee2e6!important}.border-lg-bottom{border-bottom:1px solid #dee2e6!important}.border-lg-bottom-0{border-bottom:0 solid #dee2e6!important}.border-lg-left{border-left:1px solid #dee2e6!important}.border-lg-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:768px){.pt-md-10{padding-top:10px}.pt-md-20{padding-top:20px}.pt-md-30{padding-top:30px}.pt-md-40{padding-top:40px}.pt-md-50{padding-top:50px}.pb-md-10{padding-bottom:10px}.pb-md-20{padding-bottom:20px}.pb-md-30{padding-bottom:30px}.pb-md-40{padding-bottom:40px}.pb-md-50{padding-bottom:50px}.pl-md-10{padding-left:10px}.pl-md-20{padding-left:20px}.pl-md-30{padding-left:30px}.pl-md-40{padding-left:40px}.pl-md-50{padding-left:50px}.pr-md-10{padding-right:10px}.pr-md-20{padding-right:20px}.pr-md-30{padding-right:30px}.pr-md-40{padding-right:40px}.pr-md-50{padding-right:50px}.mt-md-10{margin-top:10px}.mt-md-20{margin-top:20px}.mt-md-30{margin-top:30px}.mt-md-40{margin-top:40px}.mt-md-50{margin-top:50px}.mb-md-10{margin-bottom:10px}.mb-md-20{margin-bottom:20px}.mb-md-30{margin-bottom:30px}.mb-md-40{margin-bottom:40px}.mb-md-50{margin-bottom:50px}.ml-md-10{margin-left:10px}.ml-md-20{margin-left:20px}.ml-md-30{margin-left:30px}.ml-md-40{margin-left:40px}.ml-md-50{margin-left:50px}.mr-md-10{margin-right:10px}.mr-md-20{margin-right:20px}.mr-md-30{margin-right:30px}.mr-md-40{margin-right:40px}.mr-md-50{margin-right:50px}.border-md-right{border-right:1px solid #dee2e6!important}.border-md-right-0{border-right:0 solid #dee2e6!important}.border-md-top{border-top:1px solid #dee2e6!important}.border-md-top-0{border-top:0 solid #dee2e6!important}.border-md-bottom{border-bottom:1px solid #dee2e6!important}.border-md-bottom-0{border-bottom:0 solid #dee2e6!important}.border-md-left{border-left:1px solid #dee2e6!important}.border-md-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:577px){.pt-sm-10{padding-top:10px}.pt-sm-20{padding-top:20px}.pt-sm-30{padding-top:30px}.pt-sm-40{padding-top:40px}.pt-sm-50{padding-top:50px}.pb-sm-10{padding-bottom:10px}.pb-sm-20{padding-bottom:20px}.pb-sm-30{padding-bottom:30px}.pb-sm-40{padding-bottom:40px}.pb-sm-50{padding-bottom:50px}.pl-sm-10{padding-left:10px}.pl-sm-20{padding-left:20px}.pl-sm-30{padding-left:30px}.pl-sm-40{padding-left:40px}.pl-sm-50{padding-left:50px}.pr-sm-10{padding-right:10px}.pr-sm-20{padding-right:20px}.pr-sm-30{padding-right:30px}.pr-sm-40{padding-right:40px}.pr-sm-50{padding-right:50px}.mt-sm-10{margin-top:10px}.mt-sm-20{margin-top:20px}.mt-sm-30{margin-top:30px}.mt-sm-40{margin-top:40px}.mt-sm-50{margin-top:50px}.mb-sm-10{margin-bottom:10px}.mb-sm-20{margin-bottom:20px}.mb-sm-30{margin-bottom:30px}.mb-sm-40{margin-bottom:40px}.mb-sm-50{margin-bottom:50px}.ml-sm-10{margin-left:10px}.ml-sm-20{margin-left:20px}.ml-sm-30{margin-left:30px}.ml-sm-40{margin-left:40px}.ml-sm-50{margin-left:50px}.mr-sm-10{margin-right:10px}.mr-sm-20{margin-right:20px}.mr-sm-30{margin-right:30px}.mr-sm-40{margin-right:40px}.mr-sm-50{margin-right:50px}.border-sm-right{border-right:1px solid #dee2e6!important}.border-sm-right-0{border-right:0 solid #dee2e6!important}.border-sm-top{border-top:1px solid #dee2e6!important}.border-sm-top-0{border-top:0 solid #dee2e6!important}.border-sm-bottom{border-bottom:1px solid #dee2e6!important}.border-sm-bottom-0{border-bottom:0 solid #dee2e6!important}.border-sm-left{border-left:1px solid #dee2e6!important}.border-sm-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:481px){.pt-xs-10{padding-top:10px}.pt-xs-20{padding-top:20px}.pt-xs-30{padding-top:30px}.pt-xs-40{padding-top:40px}.pt-xs-50{padding-top:50px}.pb-xs-10{padding-bottom:10px}.pb-xs-20{padding-bottom:20px}.pb-xs-30{padding-bottom:30px}.pb-xs-40{padding-bottom:40px}.pb-xs-50{padding-bottom:50px}.pl-xs-10{padding-left:10px}.pl-xs-20{padding-left:20px}.pl-xs-30{padding-left:30px}.pl-xs-40{padding-left:40px}.pl-xs-50{padding-left:50px}.pr-xs-10{padding-right:10px}.pr-xs-20{padding-right:20px}.pr-xs-30{padding-right:30px}.pr-xs-40{padding-right:40px}.pr-xs-50{padding-right:50px}.mt-xs-10{margin-top:10px}.mt-xs-20{margin-top:20px}.mt-xs-30{margin-top:30px}.mt-xs-40{margin-top:40px}.mt-xs-50{margin-top:50px}.mb-xs-10{margin-bottom:10px}.mb-xs-20{margin-bottom:20px}.mb-xs-30{margin-bottom:30px}.mb-xs-40{margin-bottom:40px}.mb-xs-50{margin-bottom:50px}.ml-xs-10{margin-left:10px}.ml-xs-20{margin-left:20px}.ml-xs-30{margin-left:30px}.ml-xs-40{margin-left:40px}.ml-xs-50{margin-left:50px}.mr-xs-10{margin-right:10px}.mr-xs-20{margin-right:20px}.mr-xs-30{margin-right:30px}.mr-xs-40{margin-right:40px}.mr-xs-50{margin-right:50px}.border-xs-right{border-right:1px solid #dee2e6!important}.border-xs-right-0{border-right:0 solid #dee2e6!important}.border-xs-top{border-top:1px solid #dee2e6!important}.border-xs-top-0{border-top:0 solid #dee2e6!important}.border-xs-bottom{border-bottom:1px solid #dee2e6!important}.border-xs-bottom-0{border-bottom:0 solid #dee2e6!important}.border-xs-left{border-left:1px solid #dee2e6!important}.border-xs-left-0{border-left:0 solid #dee2e6!important}}@media screen and (max-width:480px){.pt-xxs-10{padding-top:10px}.pt-xxs-20{padding-top:20px}.pt-xxs-30{padding-top:30px}.pt-xxs-40{padding-top:40px}.pt-xxs-50{padding-top:50px}.pb-xxs-10{padding-bottom:10px}.pb-xxs-20{padding-bottom:20px}.pb-xxs-30{padding-bottom:30px}.pb-xxs-40{padding-bottom:40px}.pb-xxs-50{padding-bottom:50px}.pl-xxs-10{padding-left:10px}.pl-xxs-20{padding-left:20px}.pl-xxs-30{padding-left:30px}.pl-xxs-40{padding-left:40px}.pl-xxs-50{padding-left:50px}.pr-xxs-10{padding-right:10px}.pr-xxs-20{padding-right:20px}.pr-xxs-30{padding-right:30px}.pr-xxs-40{padding-right:40px}.pr-xxs-50{padding-right:50px}.mt-xxs-10{margin-top:10px}.mt-xxs-20{margin-top:20px}.mt-xxs-30{margin-top:30px}.mt-xxs-40{margin-top:40px}.mt-xxs-50{margin-top:50px}.mb-xxs-10{margin-bottom:10px}.mb-xxs-20{margin-bottom:20px}.mb-xxs-30{margin-bottom:30px}.mb-xxs-40{margin-bottom:40px}.mb-xxs-50{margin-bottom:50px}.ml-xxs-10{margin-left:10px}.ml-xxs-20{margin-left:20px}.ml-xxs-30{margin-left:30px}.ml-xxs-40{margin-left:40px}.ml-xxs-50{margin-left:50px}.mr-xxs-10{margin-right:10px}.mr-xxs-20{margin-right:20px}.mr-xxs-30{margin-right:30px}.mr-xxs-40{margin-right:40px}.mr-xxs-50{margin-right:50px}.border-xxs-right{border-right:1px solid #dee2e6!important}.border-xxs-right-0{border-right:0 solid #dee2e6!important}.border-xxs-top{border-top:1px solid #dee2e6!important}.border-xxs-top-0{border-top:0 solid #dee2e6!important}.border-xxs-bottom{border-bottom:1px solid #dee2e6!important}.border-xxs-bottom-0{border-bottom:0 solid #dee2e6!important}.border-xxs-left{border-left:1px solid #dee2e6!important}.border-xxs-left-0{border-left:0 solid #dee2e6!important}}@media screen and (min-width:577px) and (max-width:767px){.m-b-30 .card.h-100,.mb-sm-30 .card.h-100{height:auto!important}}@media screen and (min-width:480px) and (max-width:576px){.m-b-30 .card.h-100,.mb-sm-30 .card.h-100{height:auto!important}}@media screen and (max-width:480px){.m-b-30 .card.h-100,.mb-sm-30 .card.h-100{height:auto!important}}.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:rgba(255,255,255,.25)!important;width:6px}.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail{width:6px}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:rgba(0,0,0,.25)!important;width:6px}.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail{width:6px}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.25);filter:"alpha(opacity=25)";-ms-filter:"alpha(opacity=25)"}.dropdown a{cursor:pointer}html{font-size:14px}body{font-family:Roboto,sans-serif;font-size:1rem;line-height:1.5;margin:0;padding:0;outline:0;background:#f9f9fb;color:#a6a9b7}body.sidebar-mini .app-main{padding-left:60px}body.sidebar-mini .app-main .container-fluid{padding:90px 30px 60px 30px}.app{position:relative}.app .loader{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#fff;z-index:99999}.app-wrap{min-height:100vh;position:relative}.app-container{position:relative}.app-main{position:relative;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;padding-left:240px;transition:all .3s ease-out}@media screen and (min-width:577px) and (max-width:767px){.app-main{padding-left:0!important}}@media screen and (min-width:480px) and (max-width:576px){.app-main{padding-left:0!important}}@media screen and (max-width:480px){.app-main{padding-left:0!important}}.app-main .container-fluid{padding:95px 30px 60px 30px;transition:all .3s ease-out}@media screen and (min-width:577px) and (max-width:767px){.app-main .container-fluid{padding-bottom:0}}@media screen and (min-width:480px) and (max-width:576px){.app-main .container-fluid{padding-bottom:0}}@media screen and (max-width:480px){.app-main .container-fluid{padding-bottom:0}}.footer{background:#fff;position:absolute;padding:1.5rem 2.3rem;z-index:0;width:calc(100% - 240px);bottom:0;right:0;height:60px;-webkit-box-shadow:0 0 20px rgba(115,105,215,.15);-moz-box-shadow:0 0 20px rgba(115,105,215,.15);box-shadow:0 0 20px rgba(115,105,215,.15);transition:all .3s ease-out}@media screen and (min-width:577px) and (max-width:767px){.footer{width:100%;height:auto;position:relative}}@media screen and (min-width:480px) and (max-width:576px){.footer{width:100%;height:auto;position:relative}}@media screen and (max-width:480px){.footer{width:100%;height:auto;position:relative}}.footer a:hover{color:#8e54e9}.page-title h1{margin-bottom:0;font-size:1.714rem;line-height:2rem}ol.breadcrumb{background-color:transparent}.breadcrumb-item+.breadcrumb-item::before{content:"\e661";font-family:themify-icons;font-size:10px}.notification-wrapper{border-radius:4px}.list-style-none{list-style:none}.list-style-none li{font-size:12px}@-moz-keyframes blink{0%{-moz-transform:scale(0);opacity:0}25%{-moz-transform:scale(.1);opacity:.1}50%{-moz-transform:scale(.5);opacity:.3}75%{-moz-transform:scale(.8);opacity:.5}100%{-moz-transform:scale(1);opacity:0}}@-webkit-keyframes blink{0%{-webkit-transform:scale(0);opacity:0}25%{-webkit-transform:scale(.1);opacity:.1}50%{-webkit-transform:scale(.5);opacity:.3}75%{-webkit-transform:scale(.8);opacity:.5}100%{-webkit-transform:scale(1);opacity:0}}.top-bar{position:fixed;top:0;left:0;z-index:1051;width:100%}.top-bar .navbar{padding:0;height:60px}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar{height:auto}}.top-bar .navbar .mobile-toggle{position:absolute;color:#fff;display:none;padding:20px 30px;top:0;left:0;font-size:1.25rem;cursor:pointer}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .mobile-toggle{display:block;position:absolute;right:0;top:0;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .mobile-toggle{display:block;position:absolute;right:0;top:0;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}@media screen and (max-width:480px){.top-bar .navbar .mobile-toggle{display:block;position:absolute;right:0;top:0;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}.top-bar .navbar .navbar-header{background:#2c2e3e;width:240px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:60px;text-align:center;overflow:hidden;transition:all .3s ease-out;position:relative;z-index:99;padding-left:1.6rem}.top-bar .navbar .navbar-header .logo-desktop{width:130px;height:auto;visibility:visible;opacity:1;position:relative;z-index:0;transition:all ease-in-out .2s}.top-bar .navbar .navbar-header .logo-mobile{visibility:hidden;opacity:0;position:absolute;width:30px;height:auto;transition:all ease-in-out .2s}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .navbar-header{width:100%;text-align:center;padding:0;height:60px;justify-content:center}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .navbar-header{width:100%;text-align:center;padding:0;height:60px;justify-content:center}}@media screen and (max-width:480px){.top-bar .navbar .navbar-header{width:100%;text-align:center;padding:0;height:60px;justify-content:center}}.top-bar .navbar .navbar-header .navbar-brand{font-weight:700;color:#fff;margin:0}.top-bar .navbar .navbar-header .nav-link{padding-left:0;padding-right:0}.top-bar .navbar .navbar-toggler:focus{outline:0}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .navbar-toggler{position:absolute;right:0;top:0;color:#fff;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .navbar-toggler{position:absolute;right:0;top:0;color:#fff;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}@media screen and (max-width:480px){.top-bar .navbar .navbar-toggler{position:absolute;right:0;top:0;color:#fff;z-index:99;width:78px;height:60px;padding:0;font-size:17px;color:#a2a5bd;border:0;line-height:60px}}.top-bar .navbar .nav-link{color:#a2a5bd;padding:1.4rem 1rem 1.4rem 1rem;font-size:14px}.top-bar .navbar .nav-link:first-child{padding-left:0;padding-right:2rem}.top-bar .navbar .nav-link:hover{color:#8e54e9}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-link{padding:1.3rem .5rem}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-link{font-size:.8571rem}}.top-bar .navbar .nav-left{margin-left:2.1rem}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-left{display:none}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-left{display:none}}@media screen and (max-width:480px){.top-bar .navbar .nav-left{display:none}}.top-bar .navbar .nav-left .nav-item.dropdown .dropdown-menu a{padding:.7rem 1.5rem .7rem 1.5rem;font-size:1rem;line-height:18px}.top-bar .navbar .nav-left .dropdown-menu{left:0;right:inherit}.top-bar .navbar .nav-left .dropdown-menu a{padding:.6rem 0}.top-bar .navbar .nav-left .dropdown-menu a.dropdown-item:hover{background-color:transparent;color:#8e54e9}.top-bar .navbar .nav-left .dropdown-menu.mega-menu{min-width:calc(100% - 60px);overflow:hidden;margin-left:30px;margin-right:30px;left:0;padding:0}.top-bar .navbar .nav-left .dropdown-menu.mega-menu ul{padding:0;margin:0 -.5rem}.top-bar .navbar .nav-left .dropdown-menu.mega-menu ul li{padding:.3rem .5rem}.top-bar .navbar .nav-left .dropdown-menu.mega-menu .arrow-triangle{left:85px;right:inherit}.top-bar .navbar .nav-left .dropdown-menu.mega-menu .chart-wrap{margin-right:-5px;margin-bottom:-5px}.top-bar .navbar .nav-left .dropdown-menu.mega-menu .chart-wrap .apexchart-wrapper{position:relative;margin-top:-163px}.top-bar .navbar .nav-right{margin-right:1.7rem}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-right{margin:0!important;justify-content:space-between;padding:0 30px;width:100%}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-right{margin:0!important;justify-content:space-between;padding:0 30px;width:100%}}@media screen and (max-width:480px){.top-bar .navbar .nav-right{margin:0!important;justify-content:space-between;padding:0 30px;width:100%}}.top-bar .navbar .nav-right li a::after{border:none}.top-bar .navbar .nav-right .nav-item{width:50px;text-align:center}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-right .nav-item{position:inherit}}@media screen and (max-width:480px){.top-bar .navbar .nav-right .nav-item{position:inherit}}.top-bar .navbar .nav-right .nav-item .nav-link{padding:1.4rem 0;font-size:17px}.top-bar .navbar .nav-right .nav-item.dropdown .dropdown-toggle::after{margin:0}.top-bar .navbar .nav-right .nav-item.user-profile{width:50px}.top-bar .navbar .nav-right .nav-item.user-profile .nav-link{padding:.9em 0;position:relative}.top-bar .navbar .nav-right .nav-item.user-profile a{padding:.6rem 1rem}.top-bar .navbar .nav-right .nav-item.user-profile a img{width:36px;height:36px;border-radius:30px}.top-bar .navbar .nav-right .nav-item.user-profile a .user-status{width:8px;height:8px;border-radius:50%;display:block;position:absolute;right:7px;bottom:inherit;top:14px}.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu{width:23rem}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu{width:100%;right:0;left:inherit}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu{width:100%;right:0;left:inherit}}@media screen and (max-width:480px){.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu{width:100%;right:0;left:inherit}}.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item{padding:.7rem 0;font-size:1rem;line-height:18px}.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item:focus,.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item:hover{background-color:transparent;color:#8e54e9}.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item i{font-size:16px;width:30px}.top-bar .navbar .nav-right .dropdown-menu{right:6px;left:inherit}.top-bar .navbar .nav-right .dropdown-menu:after{content:'';position:absolute}.top-bar .navbar .nav-right .dropdown-menu.extended{min-width:21.43rem}.top-bar .navbar .nav-right .dropdown-menu.extended ul{padding:0}.top-bar .navbar .nav-right .dropdown-menu.extended ul li{list-style-type:none}.top-bar .navbar .nav-right .dropdown-menu.extended ul li ul{padding:0}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-footer,.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-header{color:#a1a1a1;text-align:center;padding:.8rem;font-size:1rem;font-weight:400;border-top:1px solid #dee2e6}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-header{font-weight:500}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-header a:hover{color:#343a40}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-header a.btn-inverse-light{background:#eceef3;background:rgba(236,238,243,.3)!important;color:#fff}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-header a.btn-inverse-light:hover{border-color:transparent}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-footer a{color:#a1a1a1;text-decoration:none}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-footer a:hover{color:#8e54e9}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-footer a.btn:hover{color:#343a40}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body{max-height:240px;overflow-y:auto}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body li a{padding:.8rem;text-decoration:none;display:block}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body li a:hover{background:#eceef3;color:#8e54e9}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body .notification .notify-icon{width:40px;height:40px;line-height:40px;text-align:center;border-radius:50%;background:#eceef3;margin-right:20px;color:#fff}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body .notify-message p{margin:0;font-weight:400;color:#2c2e3e;line-height:1rem}.top-bar .navbar .nav-right .dropdown-menu.extended .dropdown-body .notify-message small{color:#a6a9b7}.top-bar .navbar .sidebar-toggle{font-size:17px;padding:1.2rem 1rem 1.2rem 1rem}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .sidebar-toggle{position:absolute;left:0;top:0;width:75px;height:60px;padding:0!important;line-height:60px}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .sidebar-toggle{position:absolute;left:0;top:0;width:75px;height:60px;padding:0!important;line-height:60px}}@media screen and (max-width:480px){.top-bar .navbar .sidebar-toggle{position:absolute;left:0;top:0;width:75px;height:60px;padding:0!important;line-height:60px}}.top-bar .navbar .nav-left .dropdown-menu,.top-bar .navbar .nav-right .dropdown-menu{background:#fff;border:none;-webkit-box-shadow:0 1px 20px rgba(115,105,215,.25);-moz-box-shadow:0 1px 20px rgba(115,105,215,.25);box-shadow:0 1px 20px rgba(115,105,215,.25);padding:0;border-radius:0 0 4px 4px;margin-top:1rem;visibility:hidden;display:block;opacity:0;transition:all .3s ease-in-out}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-left .dropdown-menu,.top-bar .navbar .nav-right .dropdown-menu{width:100%;position:absolute;margin:0!important;right:0;left:0}}@media screen and (min-width:480px) and (max-width:576px){.top-bar .navbar .nav-left .dropdown-menu,.top-bar .navbar .nav-right .dropdown-menu{width:100%;position:absolute;margin:0!important;right:0;left:0}}@media screen and (max-width:480px){.top-bar .navbar .nav-left .dropdown-menu,.top-bar .navbar .nav-right .dropdown-menu{width:100%;position:absolute;margin:0!important;right:0;left:0}}.top-bar .navbar .nav-left .show .dropdown-menu,.top-bar .navbar .nav-right .show .dropdown-menu{margin-top:0;visibility:visible;opacity:1}@media screen and (min-width:577px) and (max-width:767px){.top-bar .navbar .nav-item.dropdown,.top-bar .navbar .nav-item.dropup{position:static}}.top-bar .navigation{width:100%;position:relative;background:#fff;-webkit-box-shadow:0 0 20px rgba(115,105,215,.15);-moz-box-shadow:0 0 20px rgba(115,105,215,.15);box-shadow:0 0 20px rgba(115,105,215,.15);height:60px}.top-bar .navigation .navbar-nav{ms-flex-direction:row;flex-direction:row}.top-bar .search-wrapper{position:absolute;top:0;left:0;background:#fff;width:100%;height:100%;z-index:99;display:none}.top-bar .search-wrapper .close-btn{position:absolute;right:20px;top:15px;cursor:pointer;z-index:2}.top-bar .search-wrapper .close-btn i{font-size:1.285rem;line-height:2.142rem;color:#a6a9b7}.top-bar .search-wrapper .search-content{position:relative;width:100%}.top-bar .search-wrapper .search-content .magnifier{color:#a6a9b7;position:absolute;top:20px;left:20px;font-size:1.285rem;line-height:1.714rem}.top-bar .search-wrapper .search-content .form-control{height:60px;border:0;font-size:1.285rem;line-height:1.714rem;background:0 0;padding-left:60px;padding-right:60px;color:#a6a9b7}.sidebar-mini .top-bar .navbar .navbar-header{width:60px;padding-left:0;justify-content:center}@media screen and (min-width:577px) and (max-width:767px){.sidebar-mini .top-bar .navbar .navbar-header{width:100%}}@media screen and (min-width:480px) and (max-width:576px){.sidebar-mini .top-bar .navbar .navbar-header{width:100%}}@media screen and (max-width:480px){.sidebar-mini .top-bar .navbar .navbar-header{width:100%}}.sidebar-mini .top-bar .navbar .navbar-header .logo-desktop{visibility:hidden;opacity:0;z-index:-1;position:absolute}.sidebar-mini .top-bar .navbar .navbar-header .logo-mobile{visibility:visible;opacity:1;position:relative}.sidebar-mini .top-bar .navbar .navbar-header.expand{width:240px}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-desktop{width:130px;height:auto;visibility:visible;opacity:1;position:relative;z-index:0}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-mobile{visibility:hidden;opacity:0;position:absolute;width:30px;height:auto}@media screen and (min-width:577px) and (max-width:767px){.sidebar-mini .top-bar .navbar .navbar-header.expand{width:100%}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-desktop{width:130px;height:auto;visibility:hidden;opacity:0;position:absolute;z-index:-1}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-mobile{visibility:visible;opacity:1;position:relative;width:30px;height:auto}}@media screen and (min-width:480px) and (max-width:576px){.sidebar-mini .top-bar .navbar .navbar-header.expand{width:100%}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-desktop{width:130px;height:auto;visibility:hidden;opacity:0;position:absolute;z-index:-1}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-mobile{visibility:visible;opacity:1;position:relative;width:30px;height:auto}}@media screen and (max-width:480px){.sidebar-mini .top-bar .navbar .navbar-header.expand{width:100%}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-desktop{width:130px;height:auto;visibility:hidden;opacity:0;position:absolute;z-index:-1}.sidebar-mini .top-bar .navbar .navbar-header.expand .logo-mobile{visibility:visible;opacity:1;position:relative;width:30px;height:auto}}.navbar-toggler{position:absolute;top:0;right:0;padding:23px 30px;color:#fff}.dot{background-color:#8e54e9;border-radius:10px;margin-right:6px;width:10px;height:10px;display:inline-block}.notify{position:relative;top:7px;right:-7px}.notify .blink{position:absolute;top:-20px;right:-4px;height:25px;width:25px;z-index:10;border:5px solid #e3324c;border-radius:70px;-moz-animation:blink 1s ease-out;-moz-animation-iteration-count:infinite;-o-animation:blink 1s ease-out;-o-animation-iteration-count:infinite;-webkit-animation:blink 1s ease-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.notify .dot{width:5px;height:5px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background-color:#e3324c;position:absolute;right:0;top:-10px}.custom-dropdown.dropdown-menu{padding:10px 0;min-width:15rem;border:none;box-shadow:0 0 20px rgba(115,105,215,.15)}.custom-dropdown.dropdown-menu a,.custom-dropdown.dropdown-menu a.dropdown-item{padding:.7rem 1.5rem .7rem 0;font-size:13px;line-height:18px;color:#a6a9b7}.custom-dropdown.dropdown-menu a i{padding-right:1.2rem!important;width:2rem;display:inline-block}.custom-dropdown.dropdown-menu .dropdown-title{padding:.5rem 1rem 1rem 1.5rem;border-bottom:1px solid #ebedf2}.custom-dropdown.dropdown-menu a.dropdown-item:focus,.custom-dropdown.dropdown-menu a.dropdown-item:hover{background-color:transparent;color:#8e54e9}.custom-dropdown.dropdown-menu a.dropdown-item:first-child{padding-top:0!important}.custom-dropdown.dropdown-menu a.dropdown-item:last-child{padding-bottom:0!important}.custom-dropdown.dropdown-menu.extended .dropdown-body li a:hover{background-color:transparent;color:#8e54e9}.top-bar-fixed .top-bar{position:fixed;top:0;left:0;width:100%}.autocomplete-suggestions{height:400px;margin-top:0!important;border-radius:0!important}.autocomplete-suggestions .autocomplete-suggestion:hover{background:#eceef3}.navbar-collapse.show{position:relative;z-index:99}.sidebar-nav{background:#212529}.sidebar-nav ul{padding:0;margin:0;list-style:none;background:#343a40}.sidebar-nav .metismenu{background:#212529;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.sidebar-nav .metismenu li+li{margin-top:5px}.sidebar-nav .metismenu li:first-child{margin-top:5px}.sidebar-nav .metismenu li:last-child{margin-bottom:5px}.sidebar-nav .metismenu>li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative}.sidebar-nav .metismenu a{position:relative;display:block;padding:13px 15px;color:#adb5bd;outline-width:0;transition:all .3s ease-out}.sidebar-nav .metismenu ul a{padding:10px 15px 10px 30px}.sidebar-nav .metismenu ul ul a{padding:10px 15px 10px 45px}.sidebar-nav .metismenu a:active,.sidebar-nav .metismenu a:focus,.sidebar-nav .metismenu a:hover{color:#f8f9fa;text-decoration:none;background:#0b7285}.app-navbar{position:fixed;top:0;left:0;width:240px;-webkit-transform:translateX(0);transform:translateX(0);transition:all .3s ease-out;display:block;padding-top:60px;height:100%;-webkit-box-shadow:1px 10px 20px rgba(115,105,215,.15);-moz-box-shadow:1px 10px 20px rgba(115,105,215,.15);box-shadow:1px 10px 20px rgba(115,105,215,.15);z-index:1050}@media screen and (min-width:577px) and (max-width:767px){.app-navbar{position:fixed;left:-240px;height:100%}}@media screen and (min-width:480px) and (max-width:576px){.app-navbar{position:fixed;left:-240px;height:100%}}@media screen and (max-width:480px){.app-navbar{position:fixed;left:-240px;height:100%}}.app-navbar.expand{left:0;padding-top:60px;height:100%}.app-navbar .sidebar-nav{-webkit-flex:1 1 auto!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important;-webkit-flex-basis:auto!important;-ms-flex-preferred-size:auto!important;flex-basis:auto!important;margin-bottom:auto;background:#2c2e3e;height:100%;overflow:hidden}.app-navbar .sidebar-nav ul.metismenu{background:0 0}.app-navbar .sidebar-nav ul.metismenu li a{border:none!important;padding:.9rem 1.6rem;color:#a2a5bd;display:flex}.app-navbar .sidebar-nav ul.metismenu li a i{margin-right:10px;color:#4c4f6b;width:20px}.app-navbar .sidebar-nav ul.metismenu li a:focus,.app-navbar .sidebar-nav ul.metismenu li a:hover{background:#1f212d;color:#fff;transition:all .3s ease-out}.app-navbar .sidebar-nav ul.metismenu li a .nav-title{opacity:1;visibility:visible}.app-navbar .sidebar-nav ul.metismenu li a .nav-label{position:absolute;top:14px;right:40px;opacity:1;visibility:visible}.app-navbar .sidebar-nav ul.metismenu li a.has-arrow:after{transform:rotate(135deg) translateY(-50%);-webkit-transform:rotate(135deg) translateY(-50%);font-size:12px;color:#6c7197;right:1.5rem}.app-navbar .sidebar-nav ul.metismenu li.active a{color:#fff}.app-navbar .sidebar-nav ul.metismenu li.active a i{color:#fff}.app-navbar .sidebar-nav ul.metismenu li.active ul{position:relative}.app-navbar .sidebar-nav ul.metismenu li.active ul li a{background:0 0!important;color:#a2a5bd}.app-navbar .sidebar-nav ul.metismenu li.active ul li a:focus,.app-navbar .sidebar-nav ul.metismenu li.active ul li a:hover{color:#fff!important}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active a{color:#fff!important}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active a:focus,.app-navbar .sidebar-nav ul.metismenu li.active ul li.active a:hover{color:#fff!important}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active a:before{width:14px;height:2px;position:absolute;content:'';left:32px;background:#37394d;top:18px}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active a.has-arrow{color:#fff!important}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active ul li a{padding-left:4.8rem;color:#a2a5bd!important}.app-navbar .sidebar-nav ul.metismenu li.active ul li.active ul li.active a{color:#fff!important}.app-navbar .sidebar-nav ul.metismenu li.active ul:before{content:'';position:absolute;width:2px;height:100%;background:#37394d;top:0;left:30px}.app-navbar .sidebar-nav ul.metismenu li.active .has-arrow:after{transform:rotate(225deg) translateY(-50%);-webkit-transform:rotate(225deg) translateY(-50%)}.app-navbar .sidebar-nav ul.metismenu li ul{background:#2c2e3e}.app-navbar .sidebar-nav ul.metismenu li ul li a{padding:.6rem 2rem;padding-left:3.78rem}.app-navbar .sidebar-nav ul.metismenu li ul li a:focus,.app-navbar .sidebar-nav ul.metismenu li ul li a:hover{background:0 0;color:#8e54e9}.app-navbar .sidebar-nav ul.metismenu li+li,.app-navbar .sidebar-nav ul.metismenu li:first-child{margin-top:0}.app-navbar .sidebar-nav ul.metismenu li.nav-static-title{padding:1rem 1.6rem .1rem 1.6rem;color:#fff;font-size:.8571rem;text-transform:uppercase;letter-spacing:.5px;font-weight:600;color:#4c4f6b}.app-navbar .sidebar-nav ul.metismenu li .has-arrow[aria-expanded=true]:after{transform:rotate(225deg) translateY(-50%);-webkit-transform:rotate(225deg) translateY(-50%)}.app-navbar .sidebar-nav .sidebar-banner .btn{background:#eceef3;background:rgba(236,238,243,.3)!important;color:#fff!important;padding:.3rem .8rem}.app-navbar .sidebar-nav .sidebar-banner .btn:focus,.app-navbar .sidebar-nav .sidebar-banner .btn:hover{color:#fff!important}.light-sidebar .app-navbar .sidebar-nav{background:#fff}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li a{color:#7e82a4}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li a:hover{background:#eceef3;color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li a:focus{background:0 0;color:#a2a5bd}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li ul{background:#fbfcfc}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a{background:#fff;color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:hover{color:#8e54e9!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:focus{color:#8e54e9!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:active{color:#8e54e9!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a i{color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:hover i{color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:focus i{color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:visited i{color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active a:active i{color:#8e54e9}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul:before{background:#f0f2f3}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul li a{color:#a2a5bd}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul li.active ul li a{color:#a2a5bd!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul li.active ul li.active a{color:#8e54e9!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul li.active a{color:#8e54e9!important}.light-sidebar .app-navbar .sidebar-nav ul.metismenu li.active ul li.active a:before{background:#f0f2f3}.light-sidebar .top-bar .navbar .navbar-header{background:#fff}.light-sidebar .top-bar .navigation{border-left:1px solid #dee2e6}.sidebar-fixed .app-navbar{position:fixed;left:0;top:60px;height:calc(100vh-60px)}.sidebar-mini .app-navbar{width:60px;z-index:1052}@media screen and (min-width:577px) and (max-width:767px){.sidebar-mini .app-navbar{position:fixed;left:-60px;height:100%}}@media screen and (min-width:480px) and (max-width:576px){.sidebar-mini .app-navbar{position:fixed;left:-60px;height:100%}}@media screen and (max-width:480px){.sidebar-mini .app-navbar{position:fixed;left:-60px;height:100%}}.sidebar-mini .app-navbar:hover{width:240px}.sidebar-mini .app-navbar:hover .metismenu li.nav-static-title{display:block}.sidebar-mini .app-navbar:hover .metismenu li.nav-static-title a:after{display:block}.sidebar-mini .app-navbar:hover .metismenu li a .nav-label,.sidebar-mini .app-navbar:hover .metismenu li a .nav-title{opacity:1}.sidebar-mini .app-navbar:hover .metismenu .collapse.in{display:block}.sidebar-mini .app-navbar ul.metismenu li a .nav-label,.sidebar-mini .app-navbar ul.metismenu li a .nav-title{opacity:0;transition:all .7s;-webkit-transition:all .7s;-moz-transition:all .7s}.sidebar-mini .app-navbar ul.metismenu li a:after{display:none}.sidebar-mini .app-navbar ul.metismenu li.nav-static-title{display:none}.sidebar-mini .app-navbar ul.metismenu li+li{width:240px}.sidebar-mini .app-navbar ul.metismenu .collapse.in{display:none}.sidebar-mini .app-navbar ul.metismenu .sidebar-banner{display:none!important}.sidebar-mini .footer{width:calc(100% - 60px)}.sidebar-nav .metismenu li:last-child{margin-bottom:0}.sidebar-toggled .app-navbar{left:0}a,h1,h2,h3,h4,h5,h6,li,ol,p,span,ul{padding:0;margin:0}h1,h2,h3,h4,h5,h6{color:#2c2e3e;font-weight:600;font-family:Roboto,sans-serif;margin-bottom:.75rem}h1{font-size:2.571rem;line-height:3.142rem}h2{font-size:2.142rem;line-height:2.571rem}h3{font-size:1.714rem;line-height:2.142rem}h4{font-size:1.285rem;line-height:1.714rem}h5{font-size:1rem;line-height:1.428rem}h6{font-size:.9286rem;line-height:1.22rem}p{color:#a6a9b7;font-weight:400;font-size:1rem;line-height:1.714rem}a{color:inherit;text-decoration:none;outline:0;transition:all .3s ease-in-out;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out}a:focus,a:hover{color:#8e54e9;text-decoration:none}ol,ul{padding-left:15px}ol li,ul li{color:#a6a9b7}.blockquote.blockquote-reverse{text-align:right}dl dt{font-weight:500}dl dd{color:#a6a9b7}.list-none{list-style:none;padding:0}svg{width:100%!important}canvas{max-width:100%}code{width:100%;display:block;padding:.5rem}@media screen and (min-width:480px) and (max-width:576px){.display-1{font-size:4rem}}@media screen and (max-width:480px){.display-1{font-size:4rem}}@media screen and (min-width:480px) and (max-width:576px){.display-2{font-size:3.5rem}}@media screen and (max-width:480px){.display-2{font-size:3.5rem}}@media screen and (min-width:480px) and (max-width:576px){.display-3{font-size:3rem}}@media screen and (max-width:480px){.display-3{font-size:3rem}}@media screen and (min-width:480px) and (max-width:576px){.display-4{font-size:2.5rem}}@media screen and (max-width:480px){.display-4{font-size:2.5rem}}.car-dealer-contant h2{font-size:52px}.car-dealer-contants .car-dealer-contants-text{padding:1.25rem}.car-dealer-contants .car-dealer-contants-text .p-10{padding:.9rem 1.25rem!important}.dating-contant .bg-img{width:35px;height:35px;line-height:35px}.dating-contant .table td,.dating-contant .table th{vertical-align:middle}.dating-contant table tr td:nth-child(2){display:flex;align-items:center}.dating-contant table tr td:nth-child(2) div{margin-right:1rem}.dating-contant .img-icon i.f-30{line-height:63px}.datting-upload-image{padding:0}.datting-upload-image .tab .nav{padding:10px 20px 30px;margin-bottom:0;border-bottom:1px solid #dee2e6}.datting-upload-image .tab .nav.nav-tabs li a{padding:4px 20px}.datting-upload-image .upload-image{padding:30px 30px;border-right:1px solid #dee2e6}.datting-upload-image .upload-image+.upload-image{border-right:0 solid #dee2e6}@media screen and (min-width:480px) and (max-width:576px){.datting-upload-image .upload-image{padding:20px}}@media screen and (max-width:480px){.datting-upload-image .upload-image{padding:20px}}@media screen and (min-width:480px) and (max-width:576px){.site-visitor .col{flex-basis:auto;border:0!important;margin-bottom:10px}}@media screen and (max-width:480px){.site-visitor .col{flex-basis:auto;border:0!important;margin-bottom:10px}}.jobportal-contant .bg-img{width:35px;height:35px;line-height:35px}.jobportal-contant .table td,.jobportal-contant .table th{vertical-align:middle}.jobportal-contant table tr td:nth-child(2){display:flex;align-items:center}.jobportal-contant table tr td:nth-child(2) div{margin-right:1rem}.table.jobportal-table td{padding:1.5rem .75rem}.jobportaldemo5{position:absolute;bottom:0;right:0;left:0}.chart-fit{margin-left:-1rem;margin-right:-1rem}.chart-fit.jobportaldemo6{margin-left:-4rem;margin-right:-4rem}.jobportaldemo2 .apexcharts-canvas{margin:inherit;margin-left:auto}@media screen and (min-width:480px) and (max-width:576px){.site-visitor .col{flex-basis:auto;border:0!important;margin-bottom:10px}}@media screen and (max-width:480px){.site-visitor .col{flex-basis:auto;border:0!important;margin-bottom:10px}}.stockmarket-contant .bg-img{width:35px;height:35px}.stockmarket-contant .stockmarket-contant-text{padding:1.25rem}.stockmarket-contant .table td,.stockmarket-contant .table th{vertical-align:middle}.stockmarket-contant .table tr td:nth-child(2){display:flex;align-items:center}.stockmarket-contant .table tr td:nth-child(2) div{margin-right:1rem}@media screen and (min-width:577px) and (max-width:767px){.bg-info .col,.bg-primary .col{flex-basis:auto;margin-bottom:10px}}@media screen and (min-width:480px) and (max-width:576px){.bg-info .col,.bg-primary .col{flex-basis:auto;margin-bottom:10px}}@media screen and (max-width:480px){.bg-info .col,.bg-primary .col{flex-basis:auto;margin-bottom:10px}}.analytics-contant .analytics-contant-text1 h4{font-size:2.3rem}.analytics-contant .analytics-contant-text1 .d-flex{border-bottom:1px solid #dee2e6;border-width:10%;padding-bottom:2rem}.analytics-contant .analytics-contant-text1 .d-flex:last-child{border-bottom:none;padding-bottom:0}.analytics-contant .img-icon .font-38{line-height:62px}.analytics-contant .table tr td{vertical-align:middle}.analytics-contant .table th{vertical-align:middle}.analytics-contant .visitors-wrapper .card-title{padding:1.25rem}.analytics-contant .visitors-wrapper table td,.analytics-contant .visitors-wrapper table th{padding:.6rem 1.25rem}.site-logo i{font-size:2.143rem!important;line-height:2.143rem}.desktop i,.mobile i,.tablet i{font-size:2.142rem;line-height:2.571rem}.secondary-menu a{margin-left:1rem}@media screen and (min-width:1024px) and (max-width:1199px){.secondary-menu a{margin-left:.7rem}}@media screen and (min-width:768px) and (max-width:1023px){.secondary-menu a{margin-left:.7rem}}@media screen and (min-width:577px) and (max-width:767px){.secondary-menu a{margin-left:.7rem}}@media screen and (min-width:480px) and (max-width:576px){.secondary-menu a{margin-left:.7rem}}@media screen and (max-width:480px){.secondary-menu a{margin-left:.7rem}}@media screen and (min-width:1024px) and (max-width:1199px){.secondary-menu a:first-child{margin-left:0}}@media screen and (min-width:768px) and (max-width:1023px){.secondary-menu a:first-child{margin-left:0}}@media screen and (min-width:577px) and (max-width:767px){.secondary-menu a:first-child{margin-left:0}}@media screen and (min-width:480px) and (max-width:576px){.secondary-menu a:first-child{margin-left:0}}@media screen and (max-width:480px){.secondary-menu a:first-child{margin-left:0}}.secondary-menu .btn.btn-icon{width:40px;height:40px;line-height:40px;font-size:1.3rem;background:#fff;color:#8e54e9;box-shadow:0 0 20px rgba(115,105,215,.2)}@media screen and (min-width:577px) and (max-width:767px){.page-title{border-right:0!important;margin-right:0!important;padding-right:0!important}}@media screen and (min-width:480px) and (max-width:576px){.page-title{border-right:0!important;margin-right:0!important;padding-right:0!important}}@media screen and (max-width:480px){.page-title{border-right:0!important;margin-right:0!important;padding-right:0!important}}.breadcrumb-bar{margin:1rem 0}#analytics10{min-height:auto!important;height:80px!important}@media screen and (min-width:577px) and (max-width:767px){#analytics10{height:160px!important}}@media screen and (min-width:480px) and (max-width:576px){#analytics10{height:160px!important}}@media screen and (max-width:480px){#analytics10{height:160px!important}}.crm-contant table tr{border-bottom:1px solid #dee2e6}.crm-contant table tr:last-child{border-bottom:0 solid #dee2e6}.crm-contant table td,.crm-contant table th{vertical-align:middle;border-top:0 solid #dee2e6}.crypto-currency .crypto{font-size:4rem}.crypto-currency .datatable-wrapper .table td,.crypto-currency .datatable-wrapper .table th{vertical-align:middle}.crypto-currency .datatable-wrapper .table td:first-child i{font-size:2.5rem}.crypto-chart-info{position:absolute;bottom:0}.currency-price .input-group-text{background-color:rgba(142,84,233,.1);border-color:rgba(142,84,233,.1);color:#8e54e9;font-weight:700}.currency-price .input-group-prepend select.form-control{background-color:rgba(142,84,233,.1);border-color:rgba(142,84,233,.1);color:#8e54e9;font-weight:700}.crypto-table tbody>tr>td{font-weight:700;color:#343a40}.ecommerce-contant .ecommerce-contant-text .d-flex.p-3{padding:1.25rem!important}.img-icon.img-icon-sm{width:40px;height:40px;line-height:40px}.img-icon.img-icon-sm i{font-size:16px}.realestate-contant .realestate-contant-text{padding:1.25rem}.accordion .acd-group .card-header{padding:0}.accordion .acd-group .card-header .acd-heading{font-weight:500;font-size:1rem;position:relative;color:#2c2e3e;line-height:normal;padding:1.25rem;cursor:pointer;background-color:transparent;margin-bottom:0;display:block;border-radius:3px;text-transform:capitalize;padding-right:30px}.accordion .acd-group .card-header .acd-heading:hover{color:#8e54e9}.accordion .acd-group .card-header .acd-heading:before{font-family:themify-icons;cursor:pointer;position:absolute;top:0;right:0;display:block;font-size:1rem;content:'\e622';padding:1.4rem}.accordion .acd-group .card-header .acd-heading.collapsed:before{font-family:themify-icons;cursor:pointer;position:absolute;top:0;right:0;display:block;font-size:1rem;content:'\e61a';padding:1.4rem}.accordion .acd-group .acd-des{padding:0 20px 20px 0}.accordion .acd-active .acd-heading{color:#8e54e9}.accordion .acd-active .acd-heading:before{content:"\f107"}.accordion.plus-icon .acd-group.acd-active .acd-heading:before{content:"\f068";font-size:1.285rem}.accordion.plus-icon .acd-group .acd-heading:before{content:"\f067";font-size:1.285rem}.accordion.plus-icon.round .acd-group.acd-active .acd-heading:before{content:"\f056";font-size:1.285rem}.accordion.plus-icon.round .acd-group .acd-heading:before{content:"\f055";font-size:1.285rem}.accordion.gray .acd-heading{background-color:#eceef3;margin-bottom:20px;padding:12px 24px}.accordion.gray .acd-heading:hover{color:#fff;background:#8e54e9}.accordion.gray .acd-des{padding:0 30px 20px}.accordion.gray .acd-group.acd-active .acd-heading{color:#fff;background:#8e54e9}.accordion.shadow .acd-heading{background:#fff;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.1);-moz-box-shadow:0 5px 10px rgba(0,0,0,.1);box-shadow:0 5px 10px rgba(0,0,0,.1);margin-bottom:20px;padding:12px 24px}.accordion.shadow .acd-des{padding:0 30px 20px}.accordion.shadow .acd-group.acd-active .acd-heading{color:#fff;background:#8e54e9}.accordion.shadow .acd-group .acd-heading:hover{color:#fff;background:#8e54e9}.accordion.accordion-border .acd-heading{background:0 0;border:1px solid #eceef3;box-shadow:none;margin-bottom:20px;padding:12px 24px}.accordion.accordion-border .acd-des{padding:0 30px 20px}.accordion.accordion-border .acd-group.acd-active .acd-heading{color:#fff;background:#8e54e9}.accordion.accordion-border .acd-group .acd-heading:hover{color:#fff;background:#8e54e9}.accordion.no-radius .acd-heading{border-radius:0}.card .card-header.border-radius-10{border-radius:4px!important}.badge{padding:.4em .8em;font-weight:500;line-height:1.3}.badge-primary{background-color:#8e54e9;color:#fff}.badge-primary[href]:hover{background-color:#8e54e9;color:#fff}.badge-primary[href]:focus{background-color:#8e54e9;color:#fff}.badge-primary-inverse{background:#8e54e9;background:rgba(142,84,233,.1)!important;color:#8e54e9}.badge-primary-inverse:focus,.badge-primary-inverse:hover{color:#8e54e9}.badge-secondary{background-color:#a1a1a1;color:#fff}.badge-secondary[href]:hover{background-color:#a1a1a1;color:#fff}.badge-secondary[href]:focus{background-color:#a1a1a1;color:#fff}.badge-secondary-inverse{background:#a1a1a1;background:rgba(161,161,161,.1)!important;color:#a1a1a1}.badge-secondary-inverse:focus,.badge-secondary-inverse:hover{color:#a1a1a1}.badge-info{background-color:#45aaf2;color:#fff}.badge-info[href]:hover{background-color:#45aaf2;color:#fff}.badge-info[href]:focus{background-color:#45aaf2;color:#fff}.badge-info-inverse{background:#45aaf2;background:rgba(69,170,242,.1)!important;color:#45aaf2}.badge-info-inverse:focus,.badge-info-inverse:hover{color:#45aaf2}.badge-warning{background-color:#f7b731;color:#fff}.badge-warning[href]:hover{background-color:#f7b731;color:#fff}.badge-warning[href]:focus{background-color:#f7b731;color:#fff}.badge-warning-inverse{background:#f7b731;background:rgba(247,183,49,.1)!important;color:#f7b731}.badge-warning-inverse:focus,.badge-warning-inverse:hover{color:#f7b731}.badge-danger{background-color:#e3324c;color:#fff}.badge-danger[href]:hover{background-color:#e3324c;color:#fff}.badge-danger[href]:focus{background-color:#e3324c;color:#fff}.badge-danger-inverse{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c}.badge-danger-inverse:focus,.badge-danger-inverse:hover{color:#e3324c}.badge-light{background-color:#eceef3;color:#2c2e3e}.badge-light[href]:hover{background-color:#eceef3;color:#2c2e3e}.badge-light[href]:focus{background-color:#eceef3;color:#2c2e3e}.badge-light-inverse{background:#eceef3;background:rgba(236,238,243,.6)!important;color:#2c2e3e}.badge-light-inverse:focus,.badge-light-inverse:hover{color:#2c2e3e}.badge-dark{background-color:#2c2e3e;color:#fff}.badge-dark[href]:hover{background-color:#2c2e3e;color:#fff}.badge-dark[href]:focus{background-color:#2c2e3e;color:#fff}.badge-dark-inverse{background:#2c2e3e;background:rgba(44,46,62,.1)!important;color:#2c2e3e}.badge-dark-inverse:focus,.badge-dark-inverse:hover{color:#2c2e3e}.badge-success{background-color:#32b432;color:#fff}.badge-success[href]:hover{background-color:#32b432;color:#fff}.badge-success[href]:focus{background-color:#32b432;color:#fff}.badge-success-inverse{background:#32b432;background:rgba(50,180,50,.1)!important;color:#32b432}.badge-success-inverse:focus,.badge-success-inverse:hover{color:#32b432}.card{background:#fff;border:none;margin-bottom:30px;-webkit-box-shadow:0 0 20px rgba(115,105,215,.15);-moz-box-shadow:0 0 20px rgba(115,105,215,.15);box-shadow:0 0 20px rgba(115,105,215,.15);border-radius:0;padding:0}.card .card-header{background:0 0;padding:1.25rem;border-radius:0;border-color:#ebedf2}.card .card-header .card-title{text-transform:capitalize;margin-bottom:0}.border-primary{border:1px solid #8e54e9}.border-secondary{border:1px solid #a1a1a1}.border-success{border:1px solid #32b432}.border-danger{border:1px solid #e3324c}.border-warning{border:1px solid #f7b731}.border-dark{border:1px solid #343a40}.border-light{border:1px solid #dee2e6}.border-info{border:1px solid #45aaf2}.alert{padding:1rem 3rem 1rem 1rem;margin:0}.alert.alert-primary{background-color:#4776e6;border-color:#4776e6;color:#fff}.alert.alert-secondary{background-color:#a1a1a1;border-color:#a1a1a1;color:#fff}.alert.alert-info{background-color:#45aaf2;border-color:#45aaf2;color:#fff}.alert.alert-warning{background-color:#f7b731;border-color:#f7b731;color:#fff}.alert.alert-danger{background-color:#e3324c;border-color:#e3324c;color:#fff}.alert.alert-success{background-color:#32b432;border-color:#32b432;color:#fff}.alert.alert-light{background-color:#eceef3;border-color:#eceef3;color:#2c2e3e}.alert.alert-dark{background-color:#2c2e3e;border-color:#2c2e3e;color:#fff}.alert.alert-outline{background-color:transparent}.alert.alert-outline-primary{border-color:#4776e6;color:#4776e6}.alert.alert-outline-secondary{border-color:#a1a1a1;color:#a1a1a1}.alert.alert-outline-info{border-color:#45aaf2;color:#45aaf2}.alert.alert-outline-warning{border-color:#f7b731;color:#f7b731}.alert.alert-outline-danger{border-color:#e3324c;color:#e3324c}.alert.alert-outline-success{border-color:#32b432;color:#32b432}.alert.alert-outline-light{border-color:#adb6cc;color:#adb6cc}.alert.alert-outline-dark{border-color:#2c2e3e;color:#2c2e3e}.alert.alert-inverse{border-color:transparent}.alert.alert-inverse-primary{background:#4776e6;background:rgba(71,118,230,.3)!important;color:#4776e6}.alert.alert-inverse-secondary{background:#a1a1a1;background:rgba(161,161,161,.3)!important;color:#a1a1a1}.alert.alert-inverse-info{background:#45aaf2;background:rgba(69,170,242,.3)!important;color:#45aaf2}.alert.alert-inverse-warning{background:#f7b731;background:rgba(247,183,49,.3)!important;color:#f7b731}.alert.alert-inverse-danger{background:#e3324c;background:rgba(227,50,76,.3)!important;color:#e3324c}.alert.alert-inverse-success{background:#32b432;background:rgba(50,180,50,.3)!important;color:#32b432}.alert.alert-inverse-light{background:#eceef3;background:rgba(236,238,243,.7)!important;color:#2c2e3e}.alert.alert-inverse-dark{background:#2c2e3e;background:rgba(44,46,62,.3)!important;color:#2c2e3e}.alert.alert-icon i{margin-right:5px}.alert.alert-dismissible .close{opacity:1;text-shadow:none;font-size:1rem;padding:1.25rem;height:100%;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.alert.alert-dismissible .close:not(:disabled):not(.disabled):hover{color:#fff}.alert.alert-dismissible .close:not(:disabled):not(.disabled):focus{color:#fff;outline:0}.btn{font-weight:500}.btn{font-size:.9286rem;padding:.6rem 1.4rem}.btn-primary{background-color:#8e54e9;color:#fff;border-color:#8e54e9}.btn-primary:hover{background-color:#7630e4;border-color:#7630e4}.btn-primary:focus{background-color:#7630e4;border-color:#7630e4;box-shadow:none;color:#fff}.btn-primary:active{background-color:#7630e4;border-color:#7630e4}.btn-primary:not(:disabled):not(.disabled):active{background-color:#7630e4;border-color:#7630e4;box-shadow:none}.btn-primary:not(:disabled):not(.disabled):active:focus{background-color:#7630e4;border-color:#7630e4;box-shadow:none}.btn-primary:not(:disabled):not(.disabled).active{background-color:#7630e4;border-color:#7630e4;box-shadow:none}.btn-primary:not(:disabled):not(.disabled):active{background-color:#7630e4;border-color:#7630e4;box-shadow:none}.btn-primary:not(:disabled):not(.disabled).active:focus{background-color:#7630e4;border-color:#7630e4;box-shadow:none}.btn-secondary{background-color:#a1a1a1;color:#fff;border-color:#a1a1a1}.btn-secondary:hover{background-color:#8d8d8d;border-color:#8d8d8d}.btn-secondary:focus{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none;color:#fff}.btn-secondary:active{background-color:#8d8d8d;border-color:#8d8d8d}.btn-secondary:not(:disabled):not(.disabled):active{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none}.btn-secondary:not(:disabled):not(.disabled):active:focus{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none}.btn-secondary:not(:disabled):not(.disabled).active{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none}.btn-secondary:not(:disabled):not(.disabled):active{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none}.btn-secondary:not(:disabled):not(.disabled).active:focus{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none}.btn-info{background-color:#45aaf2;color:#fff;border-color:#45aaf2}.btn-info:hover{background-color:#1f99ef;border-color:#1f99ef}.btn-info:focus{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none;color:#fff}.btn-info:active{background-color:#1f99ef;border-color:#1f99ef}.btn-info:not(:disabled):not(.disabled):active{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none}.btn-info:not(:disabled):not(.disabled):active:focus{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none}.btn-info:not(:disabled):not(.disabled).active{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none}.btn-info:not(:disabled):not(.disabled):active{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none}.btn-info:not(:disabled):not(.disabled).active:focus{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none}.btn-warning{background-color:#f7b731;color:#fff;border-color:#f7b731}.btn-warning:hover{background-color:#f5a90a;border-color:#f5a90a;color:#fff}.btn-warning:focus{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none;color:#fff}.btn-warning:active{background-color:#f5a90a;border-color:#f5a90a;color:#fff}.btn-warning:not(:disabled):not(.disabled):active{background-color:#f5a90a;border-color:#f5a90a;color:#fff;box-shadow:none}.btn-warning:not(:disabled):not(.disabled):active:focus{background-color:#f5a90a;border-color:#f5a90a;color:#fff;box-shadow:none}.btn-warning:not(:disabled):not(.disabled).active{background-color:#f5a90a;border-color:#f5a90a;color:#fff;box-shadow:none}.btn-warning:not(:disabled):not(.disabled):active{background-color:#f5a90a;border-color:#f5a90a;color:#fff;box-shadow:none}.btn-warning:not(:disabled):not(.disabled).active:focus{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none}.btn-danger{background-color:#e3324c;color:#fff;border-color:#e3324c}.btn-danger:hover{background-color:#d01c37;border-color:#d01c37}.btn-danger:focus{background-color:#d01c37;border-color:#d01c37;box-shadow:none;color:#fff}.btn-danger:active{background-color:#d01c37;border-color:#d01c37}.btn-danger:not(:disabled):not(.disabled):active{background-color:#d01c37;border-color:#d01c37;box-shadow:none}.btn-danger:not(:disabled):not(.disabled):active:focus{background-color:#d01c37;border-color:#d01c37;box-shadow:none}.btn-danger:not(:disabled):not(.disabled).active{background-color:#d01c37;border-color:#d01c37;box-shadow:none}.btn-danger:not(:disabled):not(.disabled):active{background-color:#d01c37;border-color:#d01c37;box-shadow:none}.btn-danger:not(:disabled):not(.disabled).active:focus{background-color:#d01c37;border-color:#d01c37;box-shadow:none}.btn-success{background-color:#32b432;color:#fff;border-color:#32b432}.btn-success:hover{background-color:#299429;border-color:#299429}.btn-success:focus{background-color:#299429;border-color:#299429;box-shadow:none;color:#fff}.btn-success:active{background-color:#299429;border-color:#299429}.btn-success:not(:disabled):not(.disabled):active{background-color:#299429;border-color:#299429;box-shadow:none}.btn-success:not(:disabled):not(.disabled):active:focus{background-color:#299429;border-color:#299429;box-shadow:none}.btn-success:not(:disabled):not(.disabled).active{background-color:#299429;border-color:#299429;box-shadow:none}.btn-success:not(:disabled):not(.disabled):active{background-color:#299429;border-color:#299429;box-shadow:none}.btn-success:not(:disabled):not(.disabled).active:focus{background-color:#299429;border-color:#299429;box-shadow:none}.btn-light{background-color:#dce0e9;border-color:#dce0e9;color:#2c2e3e}.btn-light:hover{background-color:#adb6cc;border-color:#adb6cc}.btn-light:focus{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none}.btn-light:active{background-color:#adb6cc;border-color:#adb6cc}.btn-light:not(:disabled):not(.disabled):active{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none}.btn-light:not(:disabled):not(.disabled):active:focus{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none}.btn-light:not(:disabled):not(.disabled).active{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none}.btn-light:not(:disabled):not(.disabled):active{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none}.btn-light:not(:disabled):not(.disabled).active:focus{background-color:#d3d8e3;border-color:#d3d8e3;box-shadow:none}.btn-dark{background-color:#2c2e3e;color:#fff;border-color:#2c2e3e}.btn-dark:hover{background-color:#1b1c26;border-color:#1b1c26}.btn-dark:focus{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none;color:#fff}.btn-dark:active{background-color:#1b1c26;border-color:#1b1c26}.btn-dark:not(:disabled):not(.disabled):active{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none}.btn-dark:not(:disabled):not(.disabled):active:focus{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none}.btn-dark:not(:disabled):not(.disabled).active{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none}.btn-dark:not(:disabled):not(.disabled):active{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none}.btn-dark:not(:disabled):not(.disabled).active:focus{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none}.btn.btn-icon{width:40px;height:40px;padding:0;line-height:40px}.btn.btn-square{border-radius:0}.btn.btn-round{border-radius:50px}.btn:focus{box-shadow:none}.btn.btn-outline{background:0 0}.btn.btn-outline-primary{color:#8e54e9;border-color:#8e54e9}.btn.btn-outline-primary:hover{background-color:#7630e4;border-color:#7630e4;color:#fff}.btn.btn-outline-primary:focus{background-color:#7630e4;border-color:#7630e4;box-shadow:none;color:#fff}.btn.btn-outline-primary:active{background-color:#7630e4;border-color:#7630e4;color:#fff}.btn.btn-outline-primary:not(:disabled):not(.disabled).active{background-color:#7630e4;border-color:#7630e4;box-shadow:none;color:#fff}.btn.btn-outline-primary:not(:disabled):not(.disabled):active{background-color:#7630e4;border-color:#7630e4;box-shadow:none;color:#fff}.btn.btn-outline-primary:not(:disabled):not(.disabled):active:focus{background-color:#7630e4;border-color:#7630e4;box-shadow:none;color:#fff}.btn.btn-outline-secondary{color:#a1a1a1;border-color:#a1a1a1}.btn.btn-outline-secondary:hover{background-color:#8d8d8d;border-color:#8d8d8d;color:#fff}.btn.btn-outline-secondary:focus{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none;color:#fff}.btn.btn-outline-secondary:active{background-color:#8d8d8d;border-color:#8d8d8d;color:#fff}.btn.btn-outline-secondary:not(:disabled):not(.disabled).active{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none;color:#fff}.btn.btn-outline-secondary:not(:disabled):not(.disabled):active{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none;color:#fff}.btn.btn-outline-secondary:not(:disabled):not(.disabled):active:focus{background-color:#8d8d8d;border-color:#8d8d8d;box-shadow:none;color:#fff}.btn.btn-outline-info{color:#45aaf2;border-color:#45aaf2}.btn.btn-outline-info:hover{background-color:#1f99ef;border-color:#1f99ef;color:#fff}.btn.btn-outline-info:focus{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none;color:#fff}.btn.btn-outline-info:active{background-color:#1f99ef;border-color:#1f99ef;color:#fff}.btn.btn-outline-info:not(:disabled):not(.disabled).active{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none;color:#fff}.btn.btn-outline-info:not(:disabled):not(.disabled):active{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none;color:#fff}.btn.btn-outline-info:not(:disabled):not(.disabled):active:focus{background-color:#1f99ef;border-color:#1f99ef;box-shadow:none;color:#fff}.btn.btn-outline-warning{color:#f7b731;border-color:#f7b731}.btn.btn-outline-warning:hover{background-color:#f5a90a;border-color:#f5a90a;color:#fff}.btn.btn-outline-warning:focus{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none;color:#fff}.btn.btn-outline-warning:active{background-color:#f5a90a;border-color:#f5a90a;color:#fff}.btn.btn-outline-warning:not(:disabled):not(.disabled).active{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none;color:#fff}.btn.btn-outline-warning:not(:disabled):not(.disabled):active{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none;color:#fff}.btn.btn-outline-warning:not(:disabled):not(.disabled):active:focus{background-color:#f5a90a;border-color:#f5a90a;box-shadow:none;color:#fff}.btn.btn-outline-danger{color:#e3324c;border-color:#e3324c}.btn.btn-outline-danger:hover{background-color:#d01c37;border-color:#d01c37;color:#fff}.btn.btn-outline-danger:focus{background-color:#d01c37;border-color:#d01c37;box-shadow:none;color:#fff}.btn.btn-outline-danger:active{background-color:#d01c37;border-color:#d01c37;color:#fff}.btn.btn-outline-danger:not(:disabled):not(.disabled).active{background-color:#d01c37;border-color:#d01c37;box-shadow:none;color:#fff}.btn.btn-outline-danger:not(:disabled):not(.disabled):active{background-color:#d01c37;border-color:#d01c37;box-shadow:none;color:#fff}.btn.btn-outline-danger:not(:disabled):not(.disabled):active:focus{background-color:#d01c37;border-color:#d01c37;box-shadow:none;color:#fff}.btn.btn-outline-success{color:#32b432;border-color:#32b432}.btn.btn-outline-success:hover{background-color:#299429;border-color:#299429;color:#fff}.btn.btn-outline-success:focus{background-color:#299429;border-color:#299429;box-shadow:none;color:#fff}.btn.btn-outline-success:active{background-color:#299429;border-color:#299429;color:#fff}.btn.btn-outline-success:not(:disabled):not(.disabled).active{background-color:#299429;border-color:#299429;box-shadow:none;color:#fff}.btn.btn-outline-success:not(:disabled):not(.disabled):active{background-color:#299429;border-color:#299429;box-shadow:none;color:#fff}.btn.btn-outline-success:not(:disabled):not(.disabled):active:focus{background-color:#299429;border-color:#299429;box-shadow:none;color:#fff}.btn.btn-outline-light{color:#adb6cc;border-color:#adb6cc}.btn.btn-outline-light:hover{background-color:#adb6cc;border-color:#adb6cc;color:#2c2e3e}.btn.btn-outline-light:focus{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none;color:#2c2e3e}.btn.btn-outline-light:active{background-color:#adb6cc;border-color:#adb6cc;color:#2c2e3e}.btn.btn-outline-light:not(:disabled):not(.disabled).active{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none;color:#fff}.btn.btn-outline-light:not(:disabled):not(.disabled):active{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none;color:#2c2e3e}.btn.btn-outline-light:not(:disabled):not(.disabled):active:focus{background-color:#adb6cc;border-color:#adb6cc;box-shadow:none;color:#2c2e3e}.btn.btn-outline-dark{color:#2c2e3e;border-color:#2c2e3e}.btn.btn-outline-dark:hover{background-color:#1b1c26;border-color:#1b1c26;color:#fff}.btn.btn-outline-dark:focus{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none;color:#fff}.btn.btn-outline-dark:active{background-color:#1b1c26;border-color:#1b1c26;color:#fff}.btn.btn-outline-dark:not(:disabled):not(.disabled).active{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none;color:#fff}.btn.btn-outline-dark:not(:disabled):not(.disabled):active{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none;color:#fff}.btn.btn-outline-dark:not(:disabled):not(.disabled):active:focus{background-color:#1b1c26;border-color:#1b1c26;box-shadow:none;color:#fff}.btn.btn-inverse{border-color:transparent}.btn.btn-inverse-primary{background:#8e54e9;background:rgba(142,84,233,.1)!important;color:#8e54e9}.btn.btn-inverse-primary:hover{background-color:#8e54e9!important;border-color:#8e54e9;color:#fff}.btn.btn-inverse-primary:focus{background-color:#8e54e9!important;border-color:#8e54e9;box-shadow:none;color:#fff}.btn.btn-inverse-primary:active{background-color:#8e54e9!important;border-color:#8e54e9;color:#fff}.btn.btn-inverse-primary:not(:disabled):not(.disabled):active{background-color:#8e54e9!important;border-color:#8e54e9;box-shadow:none;color:#fff}.btn.btn-inverse-primary:not(:disabled):not(.disabled):active:focus{background-color:#8e54e9!important;border-color:#8e54e9;box-shadow:none;color:#fff}.btn.btn-inverse-secondary{background:#a1a1a1;background:rgba(161,161,161,.1)!important;color:#a1a1a1}.btn.btn-inverse-secondary:hover{background-color:#a1a1a1!important;border-color:#a1a1a1;color:#fff}.btn.btn-inverse-secondary:focus{background-color:#a1a1a1!important;border-color:#a1a1a1;box-shadow:none;color:#fff}.btn.btn-inverse-secondary:active{background-color:#a1a1a1!important;border-color:#a1a1a1;color:#fff}.btn.btn-inverse-secondary:not(:disabled):not(.disabled):active{background-color:#a1a1a1!important;border-color:#a1a1a1;box-shadow:none;color:#fff}.btn.btn-inverse-secondary:not(:disabled):not(.disabled):active:focus{background-color:#a1a1a1!important;border-color:#a1a1a1;box-shadow:none;color:#fff}.btn.btn-inverse-info{background:#45aaf2;background:rgba(69,170,242,.1)!important;color:#45aaf2}.btn.btn-inverse-info:hover{background-color:#45aaf2!important;border-color:#45aaf2;color:#fff}.btn.btn-inverse-info:focus{background-color:#45aaf2!important;border-color:#45aaf2;box-shadow:none;color:#fff}.btn.btn-inverse-info:active{background-color:#45aaf2!important;border-color:#45aaf2;color:#fff}.btn.btn-inverse-info:not(:disabled):not(.disabled):active{background-color:#45aaf2!important;border-color:#45aaf2;box-shadow:none;color:#fff}.btn.btn-inverse-info:not(:disabled):not(.disabled):active:focus{background-color:#45aaf2!important;border-color:#45aaf2;box-shadow:none;color:#fff}.btn.btn-inverse-warning{background:#f7b731;background:rgba(247,183,49,.1)!important;color:#f7b731}.btn.btn-inverse-warning:hover{background-color:#f7b731!important;border-color:#f7b731;color:#fff}.btn.btn-inverse-warning:focus{background-color:#f7b731!important;border-color:#f7b731;box-shadow:none;color:#fff}.btn.btn-inverse-warning:active{background-color:#f7b731!important;border-color:#f7b731;color:#fff}.btn.btn-inverse-warning:not(:disabled):not(.disabled):active{background-color:#f7b731!important;border-color:#f7b731;box-shadow:none;color:#fff}.btn.btn-inverse-warning:not(:disabled):not(.disabled):active:focus{background-color:#f7b731!important;border-color:#f7b731;box-shadow:none;color:#fff}.btn.btn-inverse-danger{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c}.btn.btn-inverse-danger:hover{background-color:#e3324c!important;border-color:#e3324c;color:#fff}.btn.btn-inverse-danger:focus{background-color:#e3324c!important;border-color:#e3324c;box-shadow:none;color:#fff}.btn.btn-inverse-danger:active{background-color:#e3324c!important;border-color:#e3324c;color:#fff}.btn.btn-inverse-danger:not(:disabled):not(.disabled):active{background-color:#e3324c!important;border-color:#e3324c;box-shadow:none;color:#fff}.btn.btn-inverse-danger:not(:disabled):not(.disabled):active:focus{background-color:#e3324c!important;border-color:#e3324c;box-shadow:none;color:#fff}.btn.btn-inverse-success{background:#32b432;background:rgba(50,180,50,.1)!important;color:#32b432}.btn.btn-inverse-success:hover{background-color:#32b432!important;border-color:#32b432;color:#fff}.btn.btn-inverse-success:focus{background-color:#32b432!important;border-color:#32b432;box-shadow:none;color:#fff}.btn.btn-inverse-success:active{background-color:#32b432!important;border-color:#32b432;color:#fff}.btn.btn-inverse-success:not(:disabled):not(.disabled):active{background-color:#32b432!important;border-color:#32b432;box-shadow:none;color:#fff}.btn.btn-inverse-success:not(:disabled):not(.disabled):active:focus{background-color:#32b432!important;border-color:#32b432;box-shadow:none;color:#fff}.btn.btn-inverse-light{background:#eceef3;background:rgba(236,238,243,.7)!important;color:#2c2e3e}.btn.btn-inverse-light:hover{background-color:#eceef3!important;border-color:#eceef3;color:#343a40}.btn.btn-inverse-light:focus{background-color:#eceef3!important;border-color:#eceef3;box-shadow:none;color:#343a40}.btn.btn-inverse-light:active{background-color:#eceef3!important;border-color:#eceef3;color:#343a40}.btn.btn-inverse-light:not(:disabled):not(.disabled):active{background-color:#eceef3!important;border-color:#eceef3;box-shadow:none;color:#343a40}.btn.btn-inverse-light:not(:disabled):not(.disabled):active:focus{background-color:#eceef3!important;border-color:#eceef3;box-shadow:none;color:#343a40}.btn.btn-inverse-dark{background:#2c2e3e;background:rgba(44,46,62,.1)!important;color:#2c2e3e}.btn.btn-inverse-dark:hover{background-color:#2c2e3e!important;border-color:#2c2e3e;color:#fff}.btn.btn-inverse-dark:focus{background-color:#2c2e3e!important;border-color:#2c2e3e;box-shadow:none;color:#fff}.btn.btn-inverse-dark:active{background-color:#2c2e3e!important;border-color:#2c2e3e;color:#fff}.btn.btn-inverse-dark:not(:disabled):not(.disabled):active{background-color:#2c2e3e!important;border-color:#2c2e3e;box-shadow:none;color:#fff}.btn.btn-inverse-dark:not(:disabled):not(.disabled):active:focus{background-color:#2c2e3e!important;border-color:#2c2e3e;box-shadow:none;color:#fff}.show>.btn-primary.dropdown-toggle{background-color:#8e54e9!important;border-color:#8e54e9;box-shadow:none;color:#fff}.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}.show>.btn-secondary.dropdown-toggle{background-color:#a1a1a1!important;border-color:#a1a1a1;box-shadow:none;color:#fff}.show>.btn-secondary.dropdown-toggle:focus{box-shadow:none}.show>.btn-info.dropdown-toggle{background-color:#45aaf2!important;border-color:#45aaf2;box-shadow:none;color:#fff}.show>.btn-info.dropdown-toggle:focus{box-shadow:none}.show>.btn-warning.dropdown-toggle{background-color:#f7b731!important;border-color:#f7b731;box-shadow:none;color:#fff}.show>.btn-warning.dropdown-toggle:focus{box-shadow:none}.show>.btn-success.dropdown-toggle{background-color:#32b432!important;border-color:#32b432;box-shadow:none;color:#fff}.show>.btn-success.dropdown-toggle:focus{box-shadow:none}.show>.btn-danger.dropdown-toggle{background-color:#e3324c!important;border-color:#e3324c;box-shadow:none;color:#fff}.show>.btn-danger.dropdown-toggle:focus{box-shadow:none}.show>.btn-light.dropdown-toggle{background-color:#eceef3!important;border-color:#eceef3;box-shadow:none;color:#2c2e3e}.show>.btn-light.dropdown-toggle:focus{box-shadow:none}.show>.btn-dark-gray.dropdown-toggle{background-color:#2c2e3e!important;border-color:#2c2e3e;box-shadow:none;color:#fff}.show>.btn-dark-gray.dropdown-toggle:focus{box-shadow:none}.show>.btn-danger.dropdown-toggle,.show>.btn-dark.dropdown-toggle,.show>.btn-info.dropdown-toggle,.show>.btn-light.dropdown-toggle,.show>.btn-primary.dropdown-toggle,.show>.btn-secondary.dropdown-toggle,.show>.btn-success.dropdown-toggle,.show>.btn-warning.dropdown-toggle{box-shadow:none}.button-list .btn{margin:.5rem .5rem .5rem 0}.btn-social{width:40px;height:40px;line-height:40px;text-align:center;padding:0;font-size:1.5rem;color:#fff}.bg-behance{background-color:#053eff}.bg-whatsapp{background-color:#4fce5d}.bg-facebook-o{border-color:#3b5998;background-color:transparent;color:#3b5998}.bg-facebook-o:hover{background-color:#30487b;border-color:#30487b;color:#fff}.bg-twitter-o{border-color:#00aced;background-color:transparent;color:#00aced}.bg-twitter-o :hover{background-color:#008ec4;border-color:#008ec4;color:#fff}.bg-linkedin-o{border-color:#0077b5;background-color:transparent;color:#0077b5}.bg-linkedin-o:hover{background-color:#005c8c;border-color:#005c8c;color:#fff}.bg-dribble-o{border-color:#c73b65;background-color:transparent;color:#c73b65}.bg-dribble-o :hover{background-color:#a93054;border-color:#a93054;color:#fff}.bg-googleplus-o{border-color:#d34836;background-color:transparent;color:#d34836}.bg-googleplus-o :hover{background-color:#b83928;border-color:#b83928;color:#fff}.bg-instagram-o{border-color:#c32aa3;background-color:transparent;color:#c32aa3}.bg-instagram-o :hover{background-color:#a12387;border-color:#a12387;color:#fff}.bg-pinterest-o{border-color:#c92228;background-color:transparent;color:#c92228}.bg-pinterest-o :hover{background-color:#a61c21;border-color:#a61c21;color:#fff}.bg-dropbox-o{border-color:#3d9ae8;background-color:transparent;color:#3d9ae8}.bg-dropbox-o :hover{background-color:#1b87e1;border-color:#1b87e1;color:#fff}.bg-flickr-o{border-color:#0063dc;background-color:transparent;color:#0063dc}.bg-flickr-o :hover{background-color:#0051b3;border-color:#0051b3;color:#fff}.bg-tumblr-o{border-color:#34526f;background-color:transparent;color:#34526f}.bg-tumblr-o :hover{background-color:#273d53;border-color:#273d53;color:#fff}.bg-skype-o{border-color:#12a5f4;background-color:transparent;color:#12a5f4}.bg-skype-o :hover{background-color:#0a8dd3;border-color:#0a8dd3;color:#fff}.bg-youtube-o{border-color:#c4302b;background-color:transparent;color:#c4302b}.bg-youtube-o:hover{background-color:#a32824;border-color:#a32824;color:#fff}.bg-github-o{border-color:#4078c0;background-color:transparent;color:#4078c0}.bg-github-o:hover{background-color:#3565a2;border-color:#3565a2;color:#fff}.bg-behance-o{border-color:#053eff;background-color:transparent;color:#053eff}.bg-behance-o :hover{background-color:#0032db;border-color:#0032db;color:#fff}.bg-whatsapp-o{border-color:#4fce5d;background-color:transparent;color:#4fce5d}.bg-whatsapp-o:hover{background-color:#35bf44;border-color:#35bf44;color:#fff}.bg-facebook-inverse{background-color:rgba(59,89,152,.1);color:#3b5998}.bg-facebook-inverse:hover{background-color:#30487b;border-color:#30487b;color:#fff}.bg-twitter-inverse{background-color:rgba(0,172,237,.1)!important;color:#00aced}.bg-twitter-inverse :hover{background-color:#008ec4!important;border-color:#008ec4;color:#fff}.bg-linkedin-inverse{background-color:rgba(0,119,181,.1);color:#0077b5}.bg-linkedin-inverse:hover{background-color:#005c8c;border-color:#005c8c;color:#fff}.bg-googleplus-inverse{background-color:rgba(211,72,54,.1);color:#d34836}.bg-googleplus-inverse:hover{background-color:#b83928;border-color:#b83928;color:#fff}.bg-instagram-inverse{background-color:rgba(195,42,163,.1);color:#c32aa3}.bg-instagram-inverse:hover{background-color:#a12387;border-color:#a12387;color:#fff}.bg-pinterest-inverse{background-color:rgba(201,34,40,.1);color:#c92228}.bg-pinterest-inverse:hover{background-color:#a61c21;border-color:#a61c21;color:#fff}.bg-dropbox-inverse{background-color:rgba(61,154,232,.1);color:#3d9ae8}.bg-dropbox-inverse:hover{background-color:#1b87e1;border-color:#1b87e1;color:#fff}.bg-tumblr-inverse{background-color:rgba(52,82,111,.1);color:#34526f}.bg-tumblr-inverse:hover{background-color:#273d53;border-color:#273d53;color:#fff}.bg-skype-inverse{background-color:rgba(18,165,244,.1);color:#12a5f4}.bg-skype-inverse:hover{background-color:#0a8dd3;border-color:#0a8dd3;color:#fff}.bg-youtube-inverse{background-color:rgba(196,48,43,.1);color:#c4302b}.bg-youtube-inverse:hover{background-color:#a32824;border-color:#a32824;color:#fff}.bg-github-inverse{background-color:rgba(64,120,192,.1);color:#4078c0}.bg-github-inverse:hover{background-color:#3565a2;border-color:#3565a2;color:#fff}.bg-behance-inverse{background-color:rgba(5,62,255,.1);color:#053eff}.bg-behance-inverse:hover{background-color:#0032db;border-color:#0032db;color:#fff}.bg-whatsapp-inverse{background-color:rgba(79,206,93,.1);color:#4fce5d}.bg-whatsapp-inverse:hover{background-color:#35bf44;border-color:#35bf44;color:#fff}.bg-facebook:hover{background-color:#30487b!important;border-color:#30487b;color:#fff}.bg-twitter:hover{background-color:#008ec4!important;border-color:#008ec4;color:#fff}.bg-linkedin:hover{background-color:#005c8c!important;border-color:#005c8c;color:#fff}.bg-dribble:hover{background-color:#a93054!important;border-color:#a93054;color:#fff}.bg-googleplus:hover{background-color:#b83928!important;border-color:#b83928;color:#fff}.bg-instagram:hover{background-color:#a12387!important;border-color:#a12387;color:#fff}.bg-pinterest:hover{background-color:#a61c21!important;border-color:#a61c21;color:#fff}.bg -dropbox:hover{background-color:#1b87e1!important;border-color:#1b87e1;color:#fff}.bg-flickr:hover{background-color:#0051b3!important;border-color:#0051b3;color:#fff}.bg-tumblr:hover{background-color:#273d53!important;border-color:#273d53;color:#fff}.bg-skype:hover{background-color:#0a8dd3!important;border-color:#0a8dd3;color:#fff}.bg-github:hover{background-color:#3565a2!important;border-color:#3565a2;color:#fff}.bg-whatsapp:hover{background-color:#35bf44!important;border-color:#35bf44;color:#fff}.btn-social-lg{width:50px;height:50px;line-height:50px;text-align:center}.btn-social-sm{width:30px;height:30px;line-height:30px;text-align:center;padding:0}.btn-social.btn-social-lg{font-size:2rem}.btn-social.btn-social-sm{font-size:1rem}.btn.btn-xs{padding:.1rem .8rem;font-size:12px}.btn-group-sm>.btn,.btn.btn-sm{padding:.4rem .9rem;font-size:12px}.btn.btn-xl{padding:1rem 1.4rem}.btn.btn-icon.btn-xs{width:24px;height:24px;line-height:24px;padding:0;font-size:10px}.btn-group-sm>.btn.btn-icon,.btn.btn-icon.btn-sm{width:30px;height:30px;line-height:30px;padding:0}.btn.btn-icon.btn-xl{width:50px;height:50px;line-height:50px;padding:0}.btn-badge{margin-bottom:3px}.progress-bar{background-color:#8e54e9}.progressbar-contant .progress{height:20px}.nav .nav-item .nav-link.active{color:#8e54e9}.nav .nav-item .nav-link.disabled{opacity:.5}.nav .nav-link.active{color:#8e54e9}.nav .nav-link.disabled{opacity:.5}.nav-pills .nav-item .nav-link.active{color:#fff;background-color:#8e54e9}.nav-pills .nav-item .nav-link.disabled{color:#a6a9b7;opacity:.7}.nav-pills .nav-link{margin-right:3px}.nav-pills .nav-link.active{color:#fff;background-color:#8e54e9}.nav-pills .nav-link.disabled{color:#a6a9b7;opacity:.7}.nav-pills .show>.nav-link{color:#fff;background-color:#8e54e9}.list-group-contant .list-group-item.disabled{cursor:not-allowed;opacity:.6}.list-group-contant .list-group-item:hover{background-color:#f2f4f7}.list-group-contant .list-group-item.active{background-color:#8e54e9;border-color:#8e54e9}.list-group-contant .list-group-1 .list-group-item{border:1px solid rgba(0,0,0,.03)}.list-group-item-primary{background:#8e54e9}.list-group-item-secondary{background:#a1a1a1}.list-group-item-success{background:#32b432}.list-group-item-danger{background:#e3324c}.list-group-item-warning{background:#f7b731}.list-group-item-info{background:#45aaf2}.list-group-item-light{background:#f8f9fa}.list-group-item-dark{background:#343a40}.page-link{color:#8e54e9}.page-link:focus,.page-link:hover{box-shadow:none;color:#8e54e9}.page-item.active .page-link{background-color:#8e54e9;border-color:#8e54e9}.checkbox.checbox-switch{padding-left:0}.checkbox.checbox-switch label{display:inline-block;position:relative;padding-left:0}.checkbox.checbox-switch label input{display:none}.checkbox.checbox-switch label span{width:55px;border-radius:20px;height:28px;border:1px solid #eee;background-color:#fff;border-color:#eee;box-shadow:#dfdfdf 0 0 0 0 inset;transition:border .4s ease 0s,box-shadow .4s ease 0s;display:inline-block;vertical-align:middle;margin-right:5px}.checkbox.checbox-switch label span::before{display:inline-block;width:26px;height:26px;border-radius:50%;background:#fff;content:" ";top:0;position:relative;left:0;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.4);-moz-box-shadow:0 1px 4px rgba(0,0,0,.4);box-shadow:0 1px 4px rgba(0,0,0,.4)}.checkbox.checbox-switch label>input:checked+span{background-color:#b4b6b7;border-color:#b4b6b7;box-shadow:#b4b6b7 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch label>input:checked+span:before{left:26px}.checkbox.checbox-switch label>input:checked:disabled+span{background-color:#a1a1a1;border-color:#a1a1a1;box-shadow:#a1a1a1 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch label>input:disabled+span{background-color:#e8ebee;border-color:#fff}.checkbox.checbox-switch label>input:disabled+span:before{background-color:#f8f9fa;border-color:#f3f3f3;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.1);-moz-box-shadow:0 1px 4px rgba(0,0,0,.1);box-shadow:0 1px 4px rgba(0,0,0,.1)}.checkbox.checbox-switch.switch-light label>input:checked+span{background-color:#f8f9fa;border-color:#f8f9fa;box-shadow:#f8f9fa 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-dark label>input:checked+span{background-color:#343a40;border-color:#343a40;box-shadow:#343a40 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-dark label>input:checked:disabled+span{background-color:#646668;border-color:#646668;box-shadow:#646668 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-success label>input:checked+span{background-color:#28a745;border-color:#28a745;box-shadow:#28a745 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-success label>input:checked:disabled+span{background-color:#99d9a8;border-color:#99d9a8;box-shadow:#99d9a8 0 0 0 8px inset}.checkbox.checbox-switch.switch-danger label>input:checked+span{background-color:#c82333;border-color:#c82333;box-shadow:#c82333 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-danger label>input:checked:disabled+span{background-color:#d87781;border-color:#d87781;box-shadow:#d87781 0 0 0 8px inset}.checkbox.checbox-switch.switch-primary label>input:checked+span{background-color:#0069d9;border-color:#0069d9;box-shadow:#0069d9 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-primary label>input:checked:disabled+span{background-color:#6da3dd;border-color:#6da3dd;box-shadow:#6da3dd 0 0 0 8px inset}.checkbox.checbox-switch.switch-info label>input:checked+span{background-color:#17a2b8;border-color:#17a2b8;box-shadow:#17a2b8 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-info label>input:checked:disabled+span{background-color:#66c0ce;border-color:#66c0ce;box-shadow:#66c0ce 0 0 0 8px inset}.checkbox.checbox-switch.switch-warning label>input:checked+span{background-color:#ffc107;border-color:#ffc107;box-shadow:#ffc107 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox.checbox-switch.switch-warning label>input:checked:disabled+span{background-color:#e2c366;border-color:#e2c366;box-shadow:#e2c366 0 0 0 8px inset}.checkbox-inline.checbox-switch{display:inline-block;position:relative;padding-left:0}.checkbox-inline.checbox-switch input{display:none}.checkbox-inline.checbox-switch span{width:55px;border-radius:20px;height:28px;border:1px solid #eee;background-color:#fff;border-color:#eee;box-shadow:#dfdfdf 0 0 0 0 inset;transition:border .4s ease 0s,box-shadow .4s ease 0s;display:inline-block;vertical-align:middle;margin-right:5px}.checkbox-inline.checbox-switch span::before{display:inline-block;width:26px;height:26px;border-radius:50%;background:#fff;content:" ";top:0;position:relative;left:0;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.4);-moz-box-shadow:0 1px 4px rgba(0,0,0,.4);box-shadow:0 1px 4px rgba(0,0,0,.4)}.checkbox-inline.checbox-switch>input:checked+span{background-color:#b4b6b7;border-color:#b4b6b7;box-shadow:#b4b6b7 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch>input:checked+span:before{left:26px}.checkbox-inline.checbox-switch>input:checked:disabled+span{background-color:#a1a1a1;border-color:#a1a1a1;box-shadow:#a1a1a1 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch>input:disabled+span{background-color:#e8ebee;border-color:#fff}.checkbox-inline.checbox-switch>input:disabled+span:before{background-color:#f8f9fa;border-color:#f3f3f3;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.1);-moz-box-shadow:0 1px 4px rgba(0,0,0,.1);box-shadow:0 1px 4px rgba(0,0,0,.1)}.checkbox-inline.checbox-switch.switch-light>input:checked+span{background-color:#f8f9fa;border-color:#f8f9fa;box-shadow:#f8f9fa 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-dark>input:checked+span{background-color:#343a40;border-color:#343a40;box-shadow:#343a40 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-dark>input:checked:disabled+span{background-color:#646668;border-color:#646668;box-shadow:#646668 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-success>input:checked+span{background-color:#28a745;border-color:#28a745;box-shadow:#28a745 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-success>input:checked:disabled+span{background-color:#99d9a8;border-color:#99d9a8;box-shadow:#99d9a8 0 0 0 8px inset}.checkbox-inline.checbox-switch.switch-danger>input:checked+span{background-color:#c82333;border-color:#c82333;box-shadow:#c82333 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-danger>input:checked:disabled+span{background-color:#d87781;border-color:#d87781;box-shadow:#d87781 0 0 0 8px inset}.checkbox-inline.checbox-switch.switch-primary>input:checked+span{background-color:#0069d9;border-color:#0069d9;box-shadow:#0069d9 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-primary>input:checked:disabled+span{background-color:#6da3dd;border-color:#6da3dd;box-shadow:#6da3dd 0 0 0 8px inset}.checkbox-inline.checbox-switch.switch-info>input:checked+span{background-color:#17a2b8;border-color:#17a2b8;box-shadow:#17a2b8 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-info>input:checked:disabled+span{background-color:#66c0ce;border-color:#66c0ce;box-shadow:#66c0ce 0 0 0 8px inset}.checkbox-inline.checbox-switch.switch-warning>input:checked+span{background-color:#ffc107;border-color:#ffc107;box-shadow:#ffc107 0 0 0 8px inset;transition:border .4s ease 0s,box-shadow .4s ease 0s,background-color 1.2s ease 0s}.checkbox-inline.checbox-switch.switch-warning>input:checked:disabled+span{background-color:#e2c366;border-color:#e2c366;box-shadow:#e2c366 0 0 0 8px inset}.tab .nav.nav-tabs{border-bottom:0}@media screen and (min-width:480px) and (max-width:576px){.tab .nav.nav-tabs{display:block}}@media screen and (max-width:480px){.tab .nav.nav-tabs{display:block}}.tab .nav.nav-tabs li{margin-bottom:0;float:none;display:inline-block}@media screen and (min-width:480px) and (max-width:576px){.tab .nav.nav-tabs li{display:block}}@media screen and (max-width:480px){.tab .nav.nav-tabs li{display:block}}.tab .nav.nav-tabs li a{border:none;line-height:normal;border-radius:0;padding:12px 30px;background:#f6f7f8;color:#323232;border:1px solid #eee}.tab .nav.nav-tabs li a.active{background:#8e54e9;color:#fff;border-color:transparent}.tab .nav.nav-tabs li a.active:focus,.tab .nav.nav-tabs li a.active:hover{background:#8e54e9;color:#fff;border-color:transparent}.tab .nav.nav-tabs li a i{padding-right:5px}.nav-border .nav.nav-tabs li a{margin-right:0;border:1px solid #eee;background:0 0}.nav-border .nav.nav-tabs li a.active{color:#fff;background:#8e54e9;border-color:#8e54e9}.nav-border .nav.nav-tabs li a.active:focus,.nav-border .nav.nav-tabs li a.active:hover{color:#fff;background:#8e54e9;border-color:#8e54e9}.tab-border .nav.nav-tabs{margin-bottom:0}.tab-border .nav.nav-tabs li a.active{color:#8e54e9;background:#fff!important;border-color:#eee;border-bottom:1px solid #fff}.tab-border .nav.nav-tabs li a.active:focus,.tab-border .nav.nav-tabs li a.active:hover{color:#8e54e9;background:#fff!important;border-color:#eee;border-bottom:1px solid #fff}.tab-border .tab-content{padding:20px;border:1px solid #eee;margin-top:-1px}.nav-center .nav.nav-tabs{text-align:center;display:block}.nav-right .nav.nav-tabs{text-align:right;display:block}.nav-right .tab-content{text-align:right}.round .nav.nav-tabs li{margin-bottom:5px}.round .nav.nav-tabs li a{border:none;line-height:normal;margin-right:10px;border-radius:90px;padding:12px 30px;background:#f6f7f8;color:#323232}.shadow .nav.nav-tabs li a.active{color:#8e54e9;background:#fff!important;border-color:#eee;border-bottom:0;-webkit-box-shadow:0 3px 10px rgba(0,0,0,.1);-moz-box-shadow:0 3px 10px rgba(0,0,0,.1);box-shadow:0 3px 10px rgba(0,0,0,.1)}.shadow .nav.nav-tabs li a.active:focus,.shadow .nav.nav-tabs li a.active:hover{color:#8e54e9;background:#fff!important;border-color:#eee;border-bottom:0;-webkit-box-shadow:0 3px 10px rgba(0,0,0,.1);-moz-box-shadow:0 3px 10px rgba(0,0,0,.1);box-shadow:0 3px 10px rgba(0,0,0,.1)}.tab-vertical .nav-tabs{float:left;width:25%}.tab-vertical .nav.nav-tabs li{display:block;width:100%}.tab-vertical .nav.nav-tabs li a{border-right:0;border-top:0;padding:14px 30px}.tab-vertical .nav.nav-tabs li a.active{border-bottom:1px solid #eee}.tab-vertical .nav.nav-tabs li a.active:focus,.tab-vertical .nav.nav-tabs li a.active:hover{border-bottom:1px solid #eee}.tab-vertical .nav.nav-tabs li:first-child a{border-top:1px solid #eee}.tab-vertical .tab-content{background-color:#fff;border:1px solid #eee;padding:40px 30px;margin-left:25%;line-height:30px;margin-top:0}.tab-vertical .tab-content p{line-height:30px}.tabs-contant .tab .nav.nav-tabs li a{padding:12px 20px}.tab.nav-bt .nav.nav-tabs li a.active{background:#fff;border-top:3px solid #8e54e9;color:#8e54e9}.tab.nav-bt .nav.nav-tabs li a.active:first-child{border-left:1px solid #eee}.tab.nav-bt .nav.nav-tabs li a.active:last-child{border-right:1px solid #eee}.tab.nav-center .nav.nav-tabs li{margin-left:-4px}.tab.nav-right .nav.nav-tabs li{margin-left:-4px}.tab.nav-border-bottom .nav.nav-tabs{border-bottom:1px solid #dee2e6}.tab.nav-border-bottom .nav.nav-tabs li a{background:0 0;border:0;border-bottom:2px solid transparent}.tab.nav-border-bottom .nav.nav-tabs li a.active,.tab.nav-border-bottom .nav.nav-tabs li a:hover{border-color:#8e54e9;background:0 0;color:#8e54e9}@media (max-width:575px) and (min-width:320px){.tabs-contant .tab .nav.nav-tabs li{width:100%;margin-bottom:.5rem}.tabs-contant .tab-vertical .nav-tabs{float:none;width:100%}.tabs-contant .tab-vertical .tab-content{margin-left:0}}.mfp-bg{z-index:1052}.mfp-wrap{z-index:1052}.mfp-no-margins img.mfp-img{padding:0}.mfp-no-margins .mfp-figure:after{top:0;bottom:0}.mfp-no-margins .mfp-container{padding:0}.mfp-arrow:focus,.mfp-arrow:hover{outline:0}.nestable-contant .dd-handle{background:0 0;border-color:#dee2e6;height:40px;padding:10px 10px}.nestable-contant .dd-handle:focus,.nestable-contant .dd-handle:hover{color:#8e54e9}.nestable-contant .dd3-content{height:40px;padding:10px 10px 10px 40px}.nestable-contant .dd3-content:hover{color:#8e54e9}.nestable-contant #nestable2 .dd-handle{background:#8e54e9;border:1px solid #8e54e9;color:#fff}.nestable-contant #nestable2 .dd-item>button:before{color:#fff}.dd-item>button:before{top:9px}.dd3-handle{font-size:0}.dd3-handle:before{top:8px}.dd{max-width:100%}.modal-backdrop{z-index:1051}@media (max-width:479px) and (min-width:320px){.media-contant .media{display:block}}#toastrOptions{background:#f6f7f8;padding:30px}.toast-success{background-color:#32b432}.toast-error{background-color:#e3324c}.toast-info{background-color:#45aaf2}.toast-warning{background-color:#f7b731}.swal2-actions .swal2-confirm{background-color:#32b432!important}.swal2-actions .swal2-confirm:focus{box-shadow:none!important}.swal2-popup .swal2-close{display:none!important}.grid-sistema .row div{padding:1rem 1.5rem;border:1px solid #dee2e6}.fc-button{background:#eceef3;border:none;color:#a6a9b7;text-transform:capitalize;box-shadow:none!important;text-shadow:none!important;border-radius:3px!important;margin:0 3px!important;padding:6px 12px!important;height:auto!important}.fc-button:focus{outline:0}.fc-button:active{outline:0}.fc-state-active{background:#8e54e9;color:#fff}.fc-today-button{background:#8e54e9;color:#fff}.fc-event{border-radius:2px;border:none;cursor:move;font-size:13px;margin:5px 0;padding:10px 10px 10px 40px;text-align:left;position:relative}.fc-event:before{content:'';position:absolute;width:15px;height:15px;border-radius:50%;top:10px;left:15px}.fc-event-primary{background:#8e54e9;background:rgba(142,84,233,.2)!important;color:#8e54e9}.fc-event-primary:before{background:#8e54e9;background:rgba(142,84,233,.8)!important}.fc-event-primary:hover{color:#8e54e9}.fc-event-warning{background:#f7b731;background:rgba(247,183,49,.2)!important;color:#f7b731}.fc-event-warning:before{background:#f7b731;background:rgba(247,183,49,.8)!important}.fc-event-warning:hover{color:#f7b731}.fc-event-danger{background:#e3324c;background:rgba(227,50,76,.2)!important;color:#e3324c}.fc-event-danger:before{background:#e3324c;background:rgba(227,50,76,.8)!important}.fc-event-danger:hover{color:#e3324c}.fc-event-success{background:#32b432;background:rgba(50,180,50,.2)!important;color:#32b432}.fc-event-success:before{background:#32b432;background:rgba(50,180,50,.8)!important}.fc-event-success:hover{color:#32b432}.fc-widget-content .fc-event{border-radius:2px;border:none;cursor:move;font-size:13px;margin:5px 0;padding:10px 10px 10px 10px;text-align:left;position:relative}.fc-widget-content .fc-event:before{content:'';position:absolute;width:0;height:0;border-radius:50%;top:10px;left:15px}.fc-widget-content .fc-event-primary .fc-title{color:#8e54e9}.fc-widget-content .fc-event-warning .fc-title{color:#f7b731}.fc-widget-content .fc-event-danger .fc-title{color:#e3324c}.fc-widget-content .fc-event-success .fc-title{color:#32b432}.fc-event-dot{background-color:#8e54e9}.fc-day-grid-event .fc-time,.fc-day-grid-event .fc-title{color:#fff}.fc-unthemed .fc-content,.fc-unthemed .fc-divider,.fc-unthemed .fc-list-view,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#e8edf1}.fc-unthemed .fc-list-heading td{border-color:#e8edf1;background:#f8f9fa}.fc-unthemed .fc-list-item:hover td{background-color:#f8f9fa}.fc-toolbar .fc-center h2{font-size:1.5rem}.fc-list-table .fc-widget-header{background:#f8f9fa}@media (max-width:767px){.fc-toolbar .fc-left,.fc-toolbar .fc-right{float:none;display:inline-block;clear:both;text-align:center}.fc-toolbar .fc-button{padding:8px 32px!important}.fc-toolbar .fc-center{display:block}.fc-toolbar .fc-center h2{float:none;margin-top:.5rem;font-size:1.8rem}}@media (max-width:479px){.fc-right .fc-button-group fc-button{padding:6px 25px!important}}@media (max-width:400px){.fc-left .fc-button{padding:6px 28px!important}.fc-right .fc-button-group .fc-button{padding:6px 22px!important}}@media (max-width:390px) and (min-width:320px){.fc-right .fc-button-group .fc-button{padding:6px 10px!important}}@media (max-width:360px){.fc-left .fc-button{padding:6px 19px!important}.fc-right .fc-button-group .fc-button{padding:6px 13px!important}}.app-chat-sidebar-user{max-height:682px}.app-chat-sidebar-user .app-chat-sidebar-user-item{border-bottom:1px solid #dee2e6;transition:all .3s}.app-chat-sidebar-user .app-chat-sidebar-user-item:hover{background-color:#f7f7f7}.app-chat-sidebar-user .app-chat-sidebar-user-item:last-child{border:none}.app-chat-sidebar-user .app-chat-sidebar-user-item .d-flex{padding:1rem 1.5rem;align-items:center}.app-chat-sidebar-user .app-chat-sidebar-user-item .bg-img{margin-right:20px}.app-chat-sidebar-user .active{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important}.app-chat-sidebar-user .active h5,.app-chat-sidebar-user .active small{color:#fff}.app-chat-msg-chat{max-height:600px;overflow-y:hidden;outline:0}.app-chat-msg-chat .chat{display:flex}.app-chat-msg-chat .chat .chat-img{margin-right:16px}.app-chat-msg-chat .chat .chat-img .bg-img{width:45px;height:45px}.app-chat-msg-chat .chat .chat-msg .chat-msg-content{position:relative}.app-chat-msg-chat .chat .chat-msg .chat-msg-content,.app-chat-msg-chat .chat-left .chat-msg .chat-msg-content{background-color:#f7f7f7;padding:10px 16px;border-radius:10px;margin-bottom:14px}.app-chat-msg-chat .chat .chat-msg .chat-msg-content:first-child::before,.app-chat-msg-chat .chat-left .chat-msg .chat-msg-content:first-child::before{position:absolute;width:0;height:0;content:'';border:8px solid transparent;right:auto;left:-16px;border-right-color:#f7f7f7;border-left-color:transparent}.app-chat-msg-chat .chat-left .chat-img{margin-left:16px}.app-chat-msg-chat .chat-left .chat-msg .chat-msg-content{color:#8e54e9!important;background-color:#8e54e9!important;margin-right:8px}.app-chat-msg-chat .chat-left .chat-msg .chat-msg-content p{color:#fff}.app-chat-msg-chat .chat-left .chat-msg .chat-msg-content:first-child::before{right:-16px;left:auto;border-left-color:#8e54e9!important;border-right-color:transparent}.app-chat-sidebar .app-chat-sidebar-search.pb-4{padding-bottom:1.4rem!important}.app-chat-sidebar-user{max-height:600px;overflow-y:hidden;outline:0}.app-chat-sidebar-user .app-chat-sidebar-user-item .bg-img{width:45px;height:45px;border-radius:50%;position:relative;top:0;left:0}.bg-img img{border-radius:50%}.bg-img .bg-img-status{position:absolute;right:0;bottom:0;width:12px;height:12px;border:2px solid #fff;border-radius:100%;background:#fff}.app-chat-msg-btn .btn{padding:.6rem 1rem}.app-chat-msg-btn .btn:focus{box-shadow:none}.app-chat-sidebar .app-chat-sidebar-search .form-control{height:50px;padding:.375rem 1.4rem}.app-chat-sidebar .app-chat-sidebar-search .input-group-text{padding:.375rem 1.4rem}.app-chat-sidebar .app-chat-sidebar-search .input-group>.input-group-prepend>.input-group-text{border-top-right-radius:3px;border-bottom-right-radius:3px}.app-chat-type{padding:1.5rem!important;background-color:#f7f7f7}.app-chat-type .form-control{height:50px;padding:.375rem 1.4rem}.app-chat-type .input-group-text{padding:.375rem 1.4rem}.app-chat-type .input-group>.input-group-prepend>.input-group-text{border-top-right-radius:3px;border-bottom-right-radius:3px}.mail-sidebar{border-right:1px solid #dee2e6;height:100%}.mail-sidebar span span i{font-size:16px;width:30px;display:block;height:auto}.mail-sidebar ul{list-style:none}.mail-sidebar ul li:hover i,.mail-sidebar ul li:hover p{color:#8e54e9!important}.mail-sidebar ul li a:focus i,.mail-sidebar ul li a:focus p{color:#8e54e9!important}.mail-sidebar .mail-sidebar-title{padding:.9rem 0 .8rem 0;border-bottom:1px solid #dee2e6}.mail-msg-item-titel{display:flex;align-items:center}.mail-msg{max-height:747px;overflow:hidden;outline:0}@media screen and (min-width:1200px) and (max-width:1439px){.mail-msg{max-height:450px}}@media screen and (min-width:1024px) and (max-width:1199px){.mail-msg{max-height:410px}}@media screen and (min-width:768px) and (max-width:1023px){.mail-msg{max-height:435px}}.mail-msg-item{border-bottom:1px solid #dee2e6;padding:1rem 1.5rem}.mail-msg-item:hover{background-color:#f7f7f7}.mail-msg-item:last-child{border-bottom:0}.mail-msg-item .bg-img{width:45px;height:45px}.mail-search .form-group{position:relative}.mail-search .form-group i{position:absolute;right:20px;top:20px;font-size:18px}.mail-search .form-group .form-control{height:41px}.mail-contant .mail-f{position:absolute;width:100%;bottom:0}.icon-list .icon-wrap{text-align:center;padding:40px 20px;background:#fff;color:#a6a9b7}.icon-list .icon-wrap i{display:block;margin-bottom:15px;font-size:2.571rem;color:#8e54e9}.icon-list .icon-wrap:hover{background:#eceef3}.icon-list .icon-wrap:hover i{color:#8e54e9}@font-face{font-family:cryptocurrency-icons;src:url(../fonts/cryptocurrency-icons.eot);src:url(../fonts/cryptocurrency-icons.eot?#iefix) format("embedded-opentype"),url(../fonts/cryptocurrency-icons.woff2) format("woff2"),url(../fonts/cryptocurrency-icons.woff) format("woff"),url(../fonts/cryptocurrency-icons.ttf) format("truetype"),url(../fonts/cryptocurrency-icons.svg#cryptocurrency-icons) format("svg")}.crypto{font-family:cryptocurrency-icons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.crypto-act::before{content:"\ea01"}.crypto-ada::before{content:"\ea02"}.crypto-adx::before{content:"\ea03"}.crypto-ae::before{content:"\ea04"}.crypto-aion::before{content:"\ea05"}.crypto-amp::before{content:"\ea06"}.crypto-ant::before{content:"\ea07"}.crypto-ardr::before{content:"\ea08"}.crypto-ark::before{content:"\ea09"}.crypto-ast::before{content:"\ea0a"}.crypto-atm::before{content:"\ea0b"}.crypto-bat::before{content:"\ea0c"}.crypto-bay::before{content:"\ea0d"}.crypto-bcc::before{content:"\ea0e"}.crypto-bch::before{content:"\ea0f"}.crypto-bcn::before{content:"\ea10"}.crypto-bco::before{content:"\ea11"}.crypto-bdl::before{content:"\ea12"}.crypto-bela::before{content:"\ea13"}.crypto-blcn::before{content:"\ea14"}.crypto-blk::before{content:"\ea15"}.crypto-block::before{content:"\ea16"}.crypto-bnb::before{content:"\ea17"}.crypto-bnt::before{content:"\ea18"}.crypto-bq::before{content:"\ea19"}.crypto-bqx::before{content:"\ea1a"}.crypto-btc::before{content:"\ea1b"}.crypto-btcd::before{content:"\ea1c"}.crypto-btcz::before{content:"\ea1d"}.crypto-btg::before{content:"\ea1e"}.crypto-btm::before{content:"\ea1f"}.crypto-bts::before{content:"\ea20"}.crypto-btx::before{content:"\ea21"}.crypto-burst::before{content:"\ea22"}.crypto-cdn::before{content:"\ea23"}.crypto-clam::before{content:"\ea24"}.crypto-cloak::before{content:"\ea25"}.crypto-cnd::before{content:"\ea26"}.crypto-cnx::before{content:"\ea27"}.crypto-cny::before{content:"\ea28"}.crypto-cred::before{content:"\ea29"}.crypto-crpt::before{content:"\ea2a"}.crypto-cvc::before{content:"\ea2b"}.crypto-dash::before{content:"\ea2c"}.crypto-dat::before{content:"\ea2d"}.crypto-data::before{content:"\ea2e"}.crypto-dbc::before{content:"\ea2f"}.crypto-dcn::before{content:"\ea30"}.crypto-dcr::before{content:"\ea31"}.crypto-dent::before{content:"\ea32"}.crypto-dgb::before{content:"\ea33"}.crypto-dgd::before{content:"\ea34"}.crypto-doge::before{content:"\ea35"}.crypto-drgn::before{content:"\ea36"}.crypto-edg::before{content:"\ea37"}.crypto-edoge::before{content:"\ea38"}.crypto-elf::before{content:"\ea39"}.crypto-ella::before{content:"\ea3a"}.crypto-emc::before{content:"\ea3b"}.crypto-emc2::before{content:"\ea3c"}.crypto-eng::before{content:"\ea3d"}.crypto-eos::before{content:"\ea3e"}.crypto-etc::before{content:"\ea3f"}.crypto-eth::before{content:"\ea40"}.crypto-ethos::before{content:"\ea41"}.crypto-etn::before{content:"\ea42"}.crypto-etp::before{content:"\ea43"}.crypto-eur::before{content:"\ea44"}.crypto-evx::before{content:"\ea45"}.crypto-exmo::before{content:"\ea46"}.crypto-exp::before{content:"\ea47"}.crypto-fair::before{content:"\ea48"}.crypto-fct::before{content:"\ea49"}.crypto-fil::before{content:"\ea4a"}.crypto-fldc::before{content:"\ea4b"}.crypto-flo::before{content:"\ea4c"}.crypto-fun::before{content:"\ea4d"}.crypto-game::before{content:"\ea4e"}.crypto-gas::before{content:"\ea4f"}.crypto-gbp::before{content:"\ea50"}.crypto-gbx::before{content:"\ea51"}.crypto-gbyte::before{content:"\ea52"}.crypto-gno::before{content:"\ea53"}.crypto-gnt::before{content:"\ea54"}.crypto-grc::before{content:"\ea55"}.crypto-grs::before{content:"\ea56"}.crypto-gup::before{content:"\ea57"}.crypto-gvt::before{content:"\ea58"}.crypto-gxs::before{content:"\ea59"}.crypto-hpb::before{content:"\ea5a"}.crypto-hsr::before{content:"\ea5b"}.crypto-huc::before{content:"\ea5c"}.crypto-hush::before{content:"\ea5d"}.crypto-icn::before{content:"\ea5e"}.crypto-icx::before{content:"\ea5f"}.crypto-ignis::before{content:"\ea60"}.crypto-ins::before{content:"\ea61"}.crypto-iost::before{content:"\ea62"}.crypto-jpy::before{content:"\ea63"}.crypto-kcs::before{content:"\ea64"}.crypto-kin::before{content:"\ea65"}.crypto-kmd::before{content:"\ea66"}.crypto-knc::before{content:"\ea67"}.crypto-krb::before{content:"\ea68"}.crypto-lbc::before{content:"\ea69"}.crypto-link::before{content:"\ea6a"}.crypto-lkk::before{content:"\ea6b"}.crypto-lrc::before{content:"\ea6c"}.crypto-lsk::before{content:"\ea6d"}.crypto-ltc::before{content:"\ea6e"}.crypto-maid::before{content:"\ea6f"}.crypto-mana::before{content:"\ea70"}.crypto-mcap::before{content:"\ea71"}.crypto-mco::before{content:"\ea72"}.crypto-med::before{content:"\ea73"}.crypto-miota::before{content:"\ea74"}.crypto-mkr::before{content:"\ea75"}.crypto-mln::before{content:"\ea76"}.crypto-mnx::before{content:"\ea77"}.crypto-mona::before{content:"\ea78"}.crypto-mtl::before{content:"\ea79"}.crypto-music::before{content:"\ea7a"}.crypto-nano::before{content:"\ea7b"}.crypto-nas::before{content:"\ea7c"}.crypto-nav::before{content:"\ea7d"}.crypto-ndz::before{content:"\ea7e"}.crypto-nebl::before{content:"\ea7f"}.crypto-neo::before{content:"\ea80"}.crypto-neos::before{content:"\ea81"}.crypto-ngc::before{content:"\ea82"}.crypto-nlc2::before{content:"\ea83"}.crypto-nlg::before{content:"\ea84"}.crypto-nmc::before{content:"\ea85"}.crypto-nxs::before{content:"\ea86"}.crypto-nxt::before{content:"\ea87"}.crypto-omg::before{content:"\ea88"}.crypto-omni::before{content:"\ea89"}.crypto-ost::before{content:"\ea8a"}.crypto-ox::before{content:"\ea8b"}.crypto-pac::before{content:"\ea8c"}.crypto-part::before{content:"\ea8d"}.crypto-pasl::before{content:"\ea8e"}.crypto-pay::before{content:"\ea8f"}.crypto-pink::before{content:"\ea90"}.crypto-pirl::before{content:"\ea91"}.crypto-pivx::before{content:"\ea92"}.crypto-plr::before{content:"\ea93"}.crypto-poe::before{content:"\ea94"}.crypto-pot::before{content:"\ea95"}.crypto-powr::before{content:"\ea96"}.crypto-ppc::before{content:"\ea97"}.crypto-ppp::before{content:"\ea98"}.crypto-ppt::before{content:"\ea99"}.crypto-prl::before{content:"\ea9a"}.crypto-pura::before{content:"\ea9b"}.crypto-qash::before{content:"\ea9c"}.crypto-qiwi::before{content:"\ea9d"}.crypto-qlc::before{content:"\ea9e"}.crypto-qsp::before{content:"\ea9f"}.crypto-qtum::before{content:"\eaa0"}.crypto-rads::before{content:"\eaa1"}.crypto-rcn::before{content:"\eaa2"}.crypto-rdd::before{content:"\eaa3"}.crypto-rdn::before{content:"\eaa4"}.crypto-rep::before{content:"\eaa5"}.crypto-req::before{content:"\eaa6"}.crypto-rhoc::before{content:"\eaa7"}.crypto-ric::before{content:"\eaa8"}.crypto-rise::before{content:"\eaa9"}.crypto-rlc::before{content:"\eaaa"}.crypto-rpx::before{content:"\eaab"}.crypto-rub::before{content:"\eaac"}.crypto-salt::before{content:"\eaad"}.crypto-san::before{content:"\eaae"}.crypto-sbd::before{content:"\eaaf"}.crypto-sberbank::before{content:"\eab0"}.crypto-sc::before{content:"\eab1"}.crypto-sky::before{content:"\eab2"}.crypto-smart::before{content:"\eab3"}.crypto-sngls::before{content:"\eab4"}.crypto-snt::before{content:"\eab5"}.crypto-sphtx::before{content:"\eab6"}.crypto-srn::before{content:"\eab7"}.crypto-start::before{content:"\eab8"}.crypto-steem::before{content:"\eab9"}.crypto-storj::before{content:"\eaba"}.crypto-storm::before{content:"\eabb"}.crypto-strat::before{content:"\eabc"}.crypto-sub::before{content:"\eabd"}.crypto-sys::before{content:"\eabe"}.crypto-taas::before{content:"\eabf"}.crypto-tau::before{content:"\eac0"}.crypto-tkn::before{content:"\eac1"}.crypto-tnc::before{content:"\eac2"}.crypto-trig::before{content:"\eac3"}.crypto-trx::before{content:"\eac4"}.crypto-tzc::before{content:"\eac5"}.crypto-ubq::before{content:"\eac6"}.crypto-usd::before{content:"\eac7"}.crypto-usdt::before{content:"\eac8"}.crypto-ven::before{content:"\eac9"}.crypto-veri::before{content:"\eaca"}.crypto-via::before{content:"\eacb"}.crypto-vivo::before{content:"\eacc"}.crypto-vrc::before{content:"\eacd"}.crypto-vtc::before{content:"\eace"}.crypto-wabi::before{content:"\eacf"}.crypto-waves::before{content:"\ead0"}.crypto-wax::before{content:"\ead1"}.crypto-wtc::before{content:"\ead2"}.crypto-xbc::before{content:"\ead3"}.crypto-xcp::before{content:"\ead4"}.crypto-xdn::before{content:"\ead5"}.crypto-xem::before{content:"\ead6"}.crypto-xlm::before{content:"\ead7"}.crypto-xmg::before{content:"\ead8"}.crypto-xmr::before{content:"\ead9"}.crypto-xmy::before{content:"\eada"}.crypto-xp::before{content:"\eadb"}.crypto-xpa::before{content:"\eadc"}.crypto-xpm::before{content:"\eadd"}.crypto-xrp::before{content:"\eade"}.crypto-xtz::before{content:"\eadf"}.crypto-xuc::before{content:"\eae0"}.crypto-xvc::before{content:"\eae1"}.crypto-xvg::before{content:"\eae2"}.crypto-xzc::before{content:"\eae3"}.crypto-zcl::before{content:"\eae4"}.crypto-zec::before{content:"\eae5"}.crypto-zen::before{content:"\eae6"}.crypto-zrx::before{content:"\eae7"}@font-face{font-family:dashicons;src:url(../fonts/dashicons.eot);src:url(../fonts/dashicons.eot?#iefix) format("embedded-opentype"),url(../fonts/dashicons.woff2) format("woff2"),url(../fonts/dashicons.woff) format("woff"),url(../fonts/dashicons.ttf) format("truetype"),url(../fonts/dashicons.svg#dashicons) format("svg")}.dashicons{font-family:dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.dashicons-admin-appearance::before{content:"\ea01"}.dashicons-admin-collapse::before{content:"\ea02"}.dashicons-admin-comments::before{content:"\ea03"}.dashicons-admin-customizer::before{content:"\ea04"}.dashicons-admin-generic::before{content:"\ea05"}.dashicons-admin-home::before{content:"\ea06"}.dashicons-admin-links::before{content:"\ea07"}.dashicons-admin-media::before{content:"\ea08"}.dashicons-admin-multisite::before{content:"\ea09"}.dashicons-admin-network::before{content:"\ea0a"}.dashicons-admin-page::before{content:"\ea0b"}.dashicons-admin-plugins::before{content:"\ea0c"}.dashicons-admin-post::before{content:"\ea0d"}.dashicons-admin-settings::before{content:"\ea0e"}.dashicons-admin-site::before{content:"\ea0f"}.dashicons-admin-site-alt::before{content:"\ea10"}.dashicons-admin-site-alt2::before{content:"\ea11"}.dashicons-admin-site-alt3::before{content:"\ea12"}.dashicons-admin-tools::before{content:"\ea13"}.dashicons-admin-users::before{content:"\ea14"}.dashicons-album::before{content:"\ea15"}.dashicons-align-center::before{content:"\ea16"}.dashicons-align-full-width::before{content:"\ea17"}.dashicons-align-left::before{content:"\ea18"}.dashicons-align-none::before{content:"\ea19"}.dashicons-align-right::before{content:"\ea1a"}.dashicons-align-wide::before{content:"\ea1b"}.dashicons-analytics::before{content:"\ea1c"}.dashicons-archive::before{content:"\ea1d"}.dashicons-arrow-down::before{content:"\ea1e"}.dashicons-arrow-down-alt::before{content:"\ea1f"}.dashicons-arrow-down-alt2::before{content:"\ea20"}.dashicons-arrow-left::before{content:"\ea21"}.dashicons-arrow-left-alt::before{content:"\ea22"}.dashicons-arrow-left-alt2::before{content:"\ea23"}.dashicons-arrow-right::before{content:"\ea24"}.dashicons-arrow-right-alt::before{content:"\ea25"}.dashicons-arrow-right-alt2::before{content:"\ea26"}.dashicons-arrow-up::before{content:"\ea27"}.dashicons-arrow-up-alt::before{content:"\ea28"}.dashicons-arrow-up-alt2::before{content:"\ea29"}.dashicons-art::before{content:"\ea2a"}.dashicons-awards::before{content:"\ea2b"}.dashicons-backup::before{content:"\ea2c"}.dashicons-block-default::before{content:"\ea2d"}.dashicons-book::before{content:"\ea2e"}.dashicons-book-alt::before{content:"\ea2f"}.dashicons-buddicons-activity::before{content:"\ea30"}.dashicons-buddicons-bbpress-logo::before{content:"\ea31"}.dashicons-buddicons-buddypress-logo::before{content:"\ea32"}.dashicons-buddicons-community::before{content:"\ea33"}.dashicons-buddicons-forums::before{content:"\ea34"}.dashicons-buddicons-friends::before{content:"\ea35"}.dashicons-buddicons-groups::before{content:"\ea36"}.dashicons-buddicons-pm::before{content:"\ea37"}.dashicons-buddicons-replies::before{content:"\ea38"}.dashicons-buddicons-topics::before{content:"\ea39"}.dashicons-buddicons-tracking::before{content:"\ea3a"}.dashicons-building::before{content:"\ea3b"}.dashicons-businessman::before{content:"\ea3c"}.dashicons-button::before{content:"\ea3d"}.dashicons-calendar::before{content:"\ea3e"}.dashicons-calendar-alt::before{content:"\ea3f"}.dashicons-camera::before{content:"\ea40"}.dashicons-carrot::before{content:"\ea41"}.dashicons-cart::before{content:"\ea42"}.dashicons-category::before{content:"\ea43"}.dashicons-chart-area::before{content:"\ea44"}.dashicons-chart-bar::before{content:"\ea45"}.dashicons-chart-line::before{content:"\ea46"}.dashicons-chart-pie::before{content:"\ea47"}.dashicons-clipboard::before{content:"\ea48"}.dashicons-clock::before{content:"\ea49"}.dashicons-cloud::before{content:"\ea4a"}.dashicons-columns::before{content:"\ea4b"}.dashicons-controls-back::before{content:"\ea4c"}.dashicons-controls-forward::before{content:"\ea4d"}.dashicons-controls-pause::before{content:"\ea4e"}.dashicons-controls-play::before{content:"\ea4f"}.dashicons-controls-repeat::before{content:"\ea50"}.dashicons-controls-skipback::before{content:"\ea51"}.dashicons-controls-skipforward::before{content:"\ea52"}.dashicons-controls-volumeoff::before{content:"\ea53"}.dashicons-controls-volumeon::before{content:"\ea54"}.dashicons-dashboard::before{content:"\ea55"}.dashicons-desktop::before{content:"\ea56"}.dashicons-dismiss::before{content:"\ea57"}.dashicons-download::before{content:"\ea58"}.dashicons-edit::before{content:"\ea59"}.dashicons-editor-aligncenter::before{content:"\ea5a"}.dashicons-editor-alignleft::before{content:"\ea5b"}.dashicons-editor-alignright::before{content:"\ea5c"}.dashicons-editor-bold::before{content:"\ea5d"}.dashicons-editor-break::before{content:"\ea5e"}.dashicons-editor-code::before{content:"\ea5f"}.dashicons-editor-contract::before{content:"\ea60"}.dashicons-editor-customchar::before{content:"\ea61"}.dashicons-editor-expand::before{content:"\ea62"}.dashicons-editor-help::before{content:"\ea63"}.dashicons-editor-indent::before{content:"\ea64"}.dashicons-editor-insertmore::before{content:"\ea65"}.dashicons-editor-italic::before{content:"\ea66"}.dashicons-editor-justify::before{content:"\ea67"}.dashicons-editor-kitchensink::before{content:"\ea68"}.dashicons-editor-ltr::before{content:"\ea69"}.dashicons-editor-ol::before{content:"\ea6a"}.dashicons-editor-outdent::before{content:"\ea6b"}.dashicons-editor-paragraph::before{content:"\ea6c"}.dashicons-editor-paste-text::before{content:"\ea6d"}.dashicons-editor-paste-word::before{content:"\ea6e"}.dashicons-editor-quote::before{content:"\ea6f"}.dashicons-editor-removeformatting::before{content:"\ea70"}.dashicons-editor-rtl::before{content:"\ea71"}.dashicons-editor-spellcheck::before{content:"\ea72"}.dashicons-editor-strikethrough::before{content:"\ea73"}.dashicons-editor-table::before{content:"\ea74"}.dashicons-editor-textcolor::before{content:"\ea75"}.dashicons-editor-ul::before{content:"\ea76"}.dashicons-editor-underline::before{content:"\ea77"}.dashicons-editor-unlink::before{content:"\ea78"}.dashicons-editor-video::before{content:"\ea79"}.dashicons-ellipsis::before{content:"\ea7a"}.dashicons-email::before{content:"\ea7b"}.dashicons-email-alt::before{content:"\ea7c"}.dashicons-email-alt2::before{content:"\ea7d"}.dashicons-embed-audio::before{content:"\ea7e"}.dashicons-embed-generic::before{content:"\ea7f"}.dashicons-embed-photo::before{content:"\ea80"}.dashicons-embed-post::before{content:"\ea81"}.dashicons-embed-video::before{content:"\ea82"}.dashicons-excerpt-view::before{content:"\ea83"}.dashicons-external::before{content:"\ea84"}.dashicons-facebook::before{content:"\ea85"}.dashicons-facebook-alt::before{content:"\ea86"}.dashicons-feedback::before{content:"\ea87"}.dashicons-filter::before{content:"\ea88"}.dashicons-flag::before{content:"\ea89"}.dashicons-format-aside::before{content:"\ea8a"}.dashicons-format-audio::before{content:"\ea8b"}.dashicons-format-chat::before{content:"\ea8c"}.dashicons-format-gallery::before{content:"\ea8d"}.dashicons-format-image::before{content:"\ea8e"}.dashicons-format-quote::before{content:"\ea8f"}.dashicons-format-status::before{content:"\ea90"}.dashicons-format-video::before{content:"\ea91"}.dashicons-forms::before{content:"\ea92"}.dashicons-googleplus::before{content:"\ea93"}.dashicons-grid-view::before{content:"\ea94"}.dashicons-groups::before{content:"\ea95"}.dashicons-hammer::before{content:"\ea96"}.dashicons-heading::before{content:"\ea97"}.dashicons-heart::before{content:"\ea98"}.dashicons-hidden::before{content:"\ea99"}.dashicons-html::before{content:"\ea9a"}.dashicons-id::before{content:"\ea9b"}.dashicons-id-alt::before{content:"\ea9c"}.dashicons-image-crop::before{content:"\ea9d"}.dashicons-image-filter::before{content:"\ea9e"}.dashicons-image-flip-horizontal::before{content:"\ea9f"}.dashicons-image-flip-vertical::before{content:"\eaa0"}.dashicons-image-rotate::before{content:"\eaa1"}.dashicons-image-rotate-left::before{content:"\eaa2"}.dashicons-image-rotate-right::before{content:"\eaa3"}.dashicons-images-alt::before{content:"\eaa4"}.dashicons-images-alt2::before{content:"\eaa5"}.dashicons-index-card::before{content:"\eaa6"}.dashicons-info::before{content:"\eaa7"}.dashicons-info-outline::before{content:"\eaa8"}.dashicons-insert::before{content:"\eaa9"}.dashicons-laptop::before{content:"\eaaa"}.dashicons-layout::before{content:"\eaab"}.dashicons-leftright::before{content:"\eaac"}.dashicons-lightbulb::before{content:"\eaad"}.dashicons-list-view::before{content:"\eaae"}.dashicons-location::before{content:"\eaaf"}.dashicons-location-alt::before{content:"\eab0"}.dashicons-lock::before{content:"\eab1"}.dashicons-marker::before{content:"\eab2"}.dashicons-media-archive::before{content:"\eab3"}.dashicons-media-audio::before{content:"\eab4"}.dashicons-media-code::before{content:"\eab5"}.dashicons-media-default::before{content:"\eab6"}.dashicons-media-document::before{content:"\eab7"}.dashicons-media-interactive::before{content:"\eab8"}.dashicons-media-spreadsheet::before{content:"\eab9"}.dashicons-media-text::before{content:"\eaba"}.dashicons-media-video::before{content:"\eabb"}.dashicons-megaphone::before{content:"\eabc"}.dashicons-menu::before{content:"\eabd"}.dashicons-menu-alt::before{content:"\eabe"}.dashicons-microphone::before{content:"\eabf"}.dashicons-migrate::before{content:"\eac0"}.dashicons-minus::before{content:"\eac1"}.dashicons-money::before{content:"\eac2"}.dashicons-move::before{content:"\eac3"}.dashicons-nametag::before{content:"\eac4"}.dashicons-networking::before{content:"\eac5"}.dashicons-no::before{content:"\eac6"}.dashicons-no-alt::before{content:"\eac7"}.dashicons-palmtree::before{content:"\eac8"}.dashicons-paperclip::before{content:"\eac9"}.dashicons-performance::before{content:"\eaca"}.dashicons-phone::before{content:"\eacb"}.dashicons-playlist-audio::before{content:"\eacc"}.dashicons-playlist-video::before{content:"\eacd"}.dashicons-plus::before{content:"\eace"}.dashicons-plus-alt::before{content:"\eacf"}.dashicons-plus-light::before{content:"\ead0"}.dashicons-portfolio::before{content:"\ead1"}.dashicons-post-status::before{content:"\ead2"}.dashicons-pressthis::before{content:"\ead3"}.dashicons-products::before{content:"\ead4"}.dashicons-randomize::before{content:"\ead5"}.dashicons-redo::before{content:"\ead6"}.dashicons-rest-api::before{content:"\ead7"}.dashicons-rss::before{content:"\ead8"}.dashicons-saved::before{content:"\ead9"}.dashicons-schedule::before{content:"\eada"}.dashicons-screenoptions::before{content:"\eadb"}.dashicons-search::before{content:"\eadc"}.dashicons-share::before{content:"\eadd"}.dashicons-share-alt::before{content:"\eade"}.dashicons-share-alt2::before{content:"\eadf"}.dashicons-shield::before{content:"\eae0"}.dashicons-shield-alt::before{content:"\eae1"}.dashicons-slides::before{content:"\eae2"}.dashicons-smartphone::before{content:"\eae3"}.dashicons-smiley::before{content:"\eae4"}.dashicons-sort::before{content:"\eae5"}.dashicons-sos::before{content:"\eae6"}.dashicons-star-empty::before{content:"\eae7"}.dashicons-star-filled::before{content:"\eae8"}.dashicons-star-half::before{content:"\eae9"}.dashicons-sticky::before{content:"\eaea"}.dashicons-store::before{content:"\eaeb"}.dashicons-table-col-after::before{content:"\eaec"}.dashicons-table-col-before::before{content:"\eaed"}.dashicons-table-col-delete::before{content:"\eaee"}.dashicons-table-row-after::before{content:"\eaef"}.dashicons-table-row-before::before{content:"\eaf0"}.dashicons-table-row-delete::before{content:"\eaf1"}.dashicons-tablet::before{content:"\eaf2"}.dashicons-tag::before{content:"\eaf3"}.dashicons-tagcloud::before{content:"\eaf4"}.dashicons-testimonial::before{content:"\eaf5"}.dashicons-text::before{content:"\eaf6"}.dashicons-thumbs-down::before{content:"\eaf7"}.dashicons-thumbs-up::before{content:"\eaf8"}.dashicons-tickets::before{content:"\eaf9"}.dashicons-tickets-alt::before{content:"\eafa"}.dashicons-tide::before{content:"\eafb"}.dashicons-translation::before{content:"\eafc"}.dashicons-trash::before{content:"\eafd"}.dashicons-twitter::before{content:"\eafe"}.dashicons-undo::before{content:"\eaff"}.dashicons-universal-access::before{content:"\eb00"}.dashicons-universal-access-alt::before{content:"\eb01"}.dashicons-unlock::before{content:"\eb02"}.dashicons-update::before{content:"\eb03"}.dashicons-upload::before{content:"\eb04"}.dashicons-vault::before{content:"\eb05"}.dashicons-video-alt::before{content:"\eb06"}.dashicons-video-alt2::before{content:"\eb07"}.dashicons-video-alt3::before{content:"\eb08"}.dashicons-visibility::before{content:"\eb09"}.dashicons-warning::before{content:"\eb0a"}.dashicons-welcome-add-page::before{content:"\eb0b"}.dashicons-welcome-comments::before{content:"\eb0c"}.dashicons-welcome-learn-more::before{content:"\eb0d"}.dashicons-welcome-view-site::before{content:"\eb0e"}.dashicons-welcome-widgets-menus::before{content:"\eb0f"}.dashicons-welcome-write-blog::before{content:"\eb10"}.dashicons-wordpress::before{content:"\eb11"}.dashicons-wordpress-alt::before{content:"\eb12"}.dashicons-yes::before{content:"\eb13"}.dashicons-yes-alt::before{content:"\eb14"}@font-face{font-family:dripicons;src:url(../fonts/dripicons.eot);src:url(../fonts/dripicons.eot?#iefix) format("eot"),url(../fonts/dripicons.woff) format("woff"),url(../fonts/dripicons.ttf) format("truetype"),url(../fonts/dripicons.svg#dripicons) format("svg")}.dripicons{font-family:dripicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.dripicons-alarm:before{content:"\61"}.dripicons-align-center:before{content:"\62"}.dripicons-align-justify:before{content:"\63"}.dripicons-align-left:before{content:"\64"}.dripicons-align-right:before{content:"\65"}.dripicons-anchor:before{content:"\66"}.dripicons-archive:before{content:"\67"}.dripicons-arrow-down:before{content:"\68"}.dripicons-arrow-left:before{content:"\69"}.dripicons-arrow-right:before{content:"\6a"}.dripicons-arrow-thin-down:before{content:"\6b"}.dripicons-arrow-thin-left:before{content:"\6c"}.dripicons-arrow-thin-right:before{content:"\6d"}.dripicons-arrow-thin-up:before{content:"\6e"}.dripicons-arrow-up:before{content:"\6f"}.dripicons-article:before{content:"\70"}.dripicons-backspace:before{content:"\71"}.dripicons-basket:before{content:"\72"}.dripicons-basketball:before{content:"\73"}.dripicons-battery-empty:before{content:"\74"}.dripicons-battery-full:before{content:"\75"}.dripicons-battery-low:before{content:"\76"}.dripicons-battery-medium:before{content:"\77"}.dripicons-bell:before{content:"\78"}.dripicons-blog:before{content:"\79"}.dripicons-bluetooth:before{content:"\7a"}.dripicons-bold:before{content:"\41"}.dripicons-bookmark:before{content:"\42"}.dripicons-bookmarks:before{content:"\43"}.dripicons-box:before{content:"\44"}.dripicons-briefcase:before{content:"\45"}.dripicons-brightness-low:before{content:"\46"}.dripicons-brightness-max:before{content:"\47"}.dripicons-brightness-medium:before{content:"\48"}.dripicons-broadcast:before{content:"\49"}.dripicons-browser:before{content:"\4a"}.dripicons-browser-upload:before{content:"\4b"}.dripicons-brush:before{content:"\4c"}.dripicons-calendar:before{content:"\4d"}.dripicons-camcorder:before{content:"\4e"}.dripicons-camera:before{content:"\4f"}.dripicons-card:before{content:"\50"}.dripicons-cart:before{content:"\51"}.dripicons-checklist:before{content:"\52"}.dripicons-checkmark:before{content:"\53"}.dripicons-chevron-down:before{content:"\54"}.dripicons-chevron-left:before{content:"\55"}.dripicons-chevron-right:before{content:"\56"}.dripicons-chevron-up:before{content:"\57"}.dripicons-clipboard:before{content:"\58"}.dripicons-clock:before{content:"\59"}.dripicons-clockwise:before{content:"\5a"}.dripicons-cloud:before{content:"\30"}.dripicons-cloud-download:before{content:"\31"}.dripicons-cloud-upload:before{content:"\32"}.dripicons-code:before{content:"\33"}.dripicons-contract:before{content:"\34"}.dripicons-contract-2:before{content:"\35"}.dripicons-conversation:before{content:"\36"}.dripicons-copy:before{content:"\37"}.dripicons-crop:before{content:"\38"}.dripicons-cross:before{content:"\39"}.dripicons-crosshair:before{content:"\21"}.dripicons-cutlery:before{content:"\22"}.dripicons-device-desktop:before{content:"\23"}.dripicons-device-mobile:before{content:"\24"}.dripicons-device-tablet:before{content:"\25"}.dripicons-direction:before{content:"\26"}.dripicons-disc:before{content:"\27"}.dripicons-document:before{content:"\28"}.dripicons-document-delete:before{content:"\29"}.dripicons-document-edit:before{content:"\2a"}.dripicons-document-new:before{content:"\2b"}.dripicons-document-remove:before{content:"\2c"}.dripicons-dot:before{content:"\2d"}.dripicons-dots-2:before{content:"\2e"}.dripicons-dots-3:before{content:"\2f"}.dripicons-download:before{content:"\3a"}.dripicons-duplicate:before{content:"\3b"}.dripicons-enter:before{content:"\3c"}.dripicons-exit:before{content:"\3d"}.dripicons-expand:before{content:"\3e"}.dripicons-expand-2:before{content:"\3f"}.dripicons-experiment:before{content:"\40"}.dripicons-export:before{content:"\5b"}.dripicons-feed:before{content:"\5d"}.dripicons-flag:before{content:"\5e"}.dripicons-flashlight:before{content:"\5f"}.dripicons-folder:before{content:"\60"}.dripicons-folder-open:before{content:"\7b"}.dripicons-forward:before{content:"\7c"}.dripicons-gaming:before{content:"\7d"}.dripicons-gear:before{content:"\7e"}.dripicons-graduation:before{content:"\5c"}.dripicons-graph-bar:before{content:"\e000"}.dripicons-graph-line:before{content:"\e001"}.dripicons-graph-pie:before{content:"\e002"}.dripicons-headset:before{content:"\e003"}.dripicons-heart:before{content:"\e004"}.dripicons-help:before{content:"\e005"}.dripicons-home:before{content:"\e006"}.dripicons-hourglass:before{content:"\e007"}.dripicons-inbox:before{content:"\e008"}.dripicons-information:before{content:"\e009"}.dripicons-italic:before{content:"\e00a"}.dripicons-jewel:before{content:"\e00b"}.dripicons-lifting:before{content:"\e00c"}.dripicons-lightbulb:before{content:"\e00d"}.dripicons-link:before{content:"\e00e"}.dripicons-link-broken:before{content:"\e00f"}.dripicons-list:before{content:"\e010"}.dripicons-loading:before{content:"\e011"}.dripicons-location:before{content:"\e012"}.dripicons-lock:before{content:"\e013"}.dripicons-lock-open:before{content:"\e014"}.dripicons-mail:before{content:"\e015"}.dripicons-map:before{content:"\e016"}.dripicons-media-loop:before{content:"\e017"}.dripicons-media-next:before{content:"\e018"}.dripicons-media-pause:before{content:"\e019"}.dripicons-media-play:before{content:"\e01a"}.dripicons-media-previous:before{content:"\e01b"}.dripicons-media-record:before{content:"\e01c"}.dripicons-media-shuffle:before{content:"\e01d"}.dripicons-media-stop:before{content:"\e01e"}.dripicons-medical:before{content:"\e01f"}.dripicons-menu:before{content:"\e020"}.dripicons-message:before{content:"\e021"}.dripicons-meter:before{content:"\e022"}.dripicons-microphone:before{content:"\e023"}.dripicons-minus:before{content:"\e024"}.dripicons-monitor:before{content:"\e025"}.dripicons-move:before{content:"\e026"}.dripicons-music:before{content:"\e027"}.dripicons-network-1:before{content:"\e028"}.dripicons-network-2:before{content:"\e029"}.dripicons-network-3:before{content:"\e02a"}.dripicons-network-4:before{content:"\e02b"}.dripicons-network-5:before{content:"\e02c"}.dripicons-pamphlet:before{content:"\e02d"}.dripicons-paperclip:before{content:"\e02e"}.dripicons-pencil:before{content:"\e02f"}.dripicons-phone:before{content:"\e030"}.dripicons-photo:before{content:"\e031"}.dripicons-photo-group:before{content:"\e032"}.dripicons-pill:before{content:"\e033"}.dripicons-pin:before{content:"\e034"}.dripicons-plus:before{content:"\e035"}.dripicons-power:before{content:"\e036"}.dripicons-preview:before{content:"\e037"}.dripicons-print:before{content:"\e038"}.dripicons-pulse:before{content:"\e039"}.dripicons-question:before{content:"\e03a"}.dripicons-reply:before{content:"\e03b"}.dripicons-reply-all:before{content:"\e03c"}.dripicons-return:before{content:"\e03d"}.dripicons-retweet:before{content:"\e03e"}.dripicons-rocket:before{content:"\e03f"}.dripicons-scale:before{content:"\e040"}.dripicons-search:before{content:"\e041"}.dripicons-shopping-bag:before{content:"\e042"}.dripicons-skip:before{content:"\e043"}.dripicons-stack:before{content:"\e044"}.dripicons-star:before{content:"\e045"}.dripicons-stopwatch:before{content:"\e046"}.dripicons-store:before{content:"\e047"}.dripicons-suitcase:before{content:"\e048"}.dripicons-swap:before{content:"\e049"}.dripicons-tag:before{content:"\e04a"}.dripicons-tag-delete:before{content:"\e04b"}.dripicons-tags:before{content:"\e04c"}.dripicons-thumbs-down:before{content:"\e04d"}.dripicons-thumbs-up:before{content:"\e04e"}.dripicons-ticket:before{content:"\e04f"}.dripicons-time-reverse:before{content:"\e050"}.dripicons-to-do:before{content:"\e051"}.dripicons-toggles:before{content:"\e052"}.dripicons-trash:before{content:"\e053"}.dripicons-trophy:before{content:"\e054"}.dripicons-upload:before{content:"\e055"}.dripicons-user:before{content:"\e056"}.dripicons-user-group:before{content:"\e057"}.dripicons-user-id:before{content:"\e058"}.dripicons-vibrate:before{content:"\e059"}.dripicons-view-apps:before{content:"\e05a"}.dripicons-view-list:before{content:"\e05b"}.dripicons-view-list-large:before{content:"\e05c"}.dripicons-view-thumb:before{content:"\e05d"}.dripicons-volume-full:before{content:"\e05e"}.dripicons-volume-low:before{content:"\e05f"}.dripicons-volume-medium:before{content:"\e060"}.dripicons-volume-off:before{content:"\e061"}.dripicons-wallet:before{content:"\e062"}.dripicons-warning:before{content:"\e063"}.dripicons-web:before{content:"\e064"}.dripicons-weight:before{content:"\e065"}.dripicons-wifi:before{content:"\e066"}.dripicons-wrong:before{content:"\e067"}.dripicons-zoom-in:before{content:"\e068"}.dripicons-zoom-out:before{content:"\e069"}@font-face{font-family:feather;src:url(../fonts/feather.eot);src:url(../fonts/feather.eot?#iefix) format("eot"),url(../fonts/feather.woff) format("woff"),url(../fonts/feather.ttf) format("truetype"),url(../fonts/feather.svg#feather) format("svg")}.fe{font-family:feather;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.fe-alert-octagon:before{content:"\e81b"}.fe-alert-circle:before{content:"\e81c"}.fe-activity:before{content:"\e81d"}.fe-alert-triangle:before{content:"\e81e"}.fe-align-center:before{content:"\e81f"}.fe-airplay:before{content:"\e820"}.fe-align-justify:before{content:"\e821"}.fe-align-left:before{content:"\e822"}.fe-align-right:before{content:"\e823"}.fe-arrow-down-left:before{content:"\e824"}.fe-arrow-down-right:before{content:"\e825"}.fe-anchor:before{content:"\e826"}.fe-aperture:before{content:"\e827"}.fe-arrow-left:before{content:"\e828"}.fe-arrow-right:before{content:"\e829"}.fe-arrow-down:before{content:"\e82a"}.fe-arrow-up-left:before{content:"\e82b"}.fe-arrow-up-right:before{content:"\e82c"}.fe-arrow-up:before{content:"\e82d"}.fe-award:before{content:"\e82e"}.fe-bar-chart:before{content:"\e82f"}.fe-at-sign:before{content:"\e830"}.fe-bar-chart-2:before{content:"\e831"}.fe-battery-charging:before{content:"\e832"}.fe-bell-off:before{content:"\e833"}.fe-battery:before{content:"\e834"}.fe-bluetooth:before{content:"\e835"}.fe-bell:before{content:"\e836"}.fe-book:before{content:"\e837"}.fe-briefcase:before{content:"\e838"}.fe-camera-off:before{content:"\e839"}.fe-calendar:before{content:"\e83a"}.fe-bookmark:before{content:"\e83b"}.fe-box:before{content:"\e83c"}.fe-camera:before{content:"\e83d"}.fe-check-circle:before{content:"\e83e"}.fe-check:before{content:"\e83f"}.fe-check-square:before{content:"\e840"}.fe-cast:before{content:"\e841"}.fe-chevron-down:before{content:"\e842"}.fe-chevron-left:before{content:"\e843"}.fe-chevron-right:before{content:"\e844"}.fe-chevron-up:before{content:"\e845"}.fe-chevrons-down:before{content:"\e846"}.fe-chevrons-right:before{content:"\e847"}.fe-chevrons-up:before{content:"\e848"}.fe-chevrons-left:before{content:"\e849"}.fe-circle:before{content:"\e84a"}.fe-clipboard:before{content:"\e84b"}.fe-chrome:before{content:"\e84c"}.fe-clock:before{content:"\e84d"}.fe-cloud-lightning:before{content:"\e84e"}.fe-cloud-drizzle:before{content:"\e84f"}.fe-cloud-rain:before{content:"\e850"}.fe-cloud-off:before{content:"\e851"}.fe-codepen:before{content:"\e852"}.fe-cloud-snow:before{content:"\e853"}.fe-compass:before{content:"\e854"}.fe-copy:before{content:"\e855"}.fe-corner-down-right:before{content:"\e856"}.fe-corner-down-left:before{content:"\e857"}.fe-corner-left-down:before{content:"\e858"}.fe-corner-left-up:before{content:"\e859"}.fe-corner-up-left:before{content:"\e85a"}.fe-corner-up-right:before{content:"\e85b"}.fe-corner-right-down:before{content:"\e85c"}.fe-corner-right-up:before{content:"\e85d"}.fe-cpu:before{content:"\e85e"}.fe-credit-card:before{content:"\e85f"}.fe-crosshair:before{content:"\e860"}.fe-disc:before{content:"\e861"}.fe-delete:before{content:"\e862"}.fe-download-cloud:before{content:"\e863"}.fe-download:before{content:"\e864"}.fe-droplet:before{content:"\e865"}.fe-edit-2:before{content:"\e866"}.fe-edit:before{content:"\e867"}.fe-edit-3:before{content:"\e868"}.fe-external-link:before{content:"\e869"}.fe-eye:before{content:"\e86a"}.fe-feather:before{content:"\e86b"}.fe-facebook:before{content:"\e86c"}.fe-file-minus:before{content:"\e86d"}.fe-eye-off:before{content:"\e86e"}.fe-fast-forward:before{content:"\e86f"}.fe-file-text:before{content:"\e870"}.fe-film:before{content:"\e871"}.fe-file:before{content:"\e872"}.fe-file-plus:before{content:"\e873"}.fe-folder:before{content:"\e874"}.fe-filter:before{content:"\e875"}.fe-flag:before{content:"\e876"}.fe-globe:before{content:"\e877"}.fe-grid:before{content:"\e878"}.fe-heart:before{content:"\e879"}.fe-home:before{content:"\e87a"}.fe-github:before{content:"\e87b"}.fe-image:before{content:"\e87c"}.fe-inbox:before{content:"\e87d"}.fe-layers:before{content:"\e87e"}.fe-info:before{content:"\e87f"}.fe-instagram:before{content:"\e880"}.fe-layout:before{content:"\e881"}.fe-link-2:before{content:"\e882"}.fe-life-buoy:before{content:"\e883"}.fe-link:before{content:"\e884"}.fe-log-in:before{content:"\e885"}.fe-list:before{content:"\e886"}.fe-lock:before{content:"\e887"}.fe-log-out:before{content:"\e888"}.fe-loader:before{content:"\e889"}.fe-mail:before{content:"\e88a"}.fe-maximize-2:before{content:"\e88b"}.fe-map:before{content:"\e88c"}.fe-map-pin:before{content:"\e88e"}.fe-menu:before{content:"\e88f"}.fe-message-circle:before{content:"\e890"}.fe-message-square:before{content:"\e891"}.fe-minimize-2:before{content:"\e892"}.fe-mic-off:before{content:"\e893"}.fe-minus-circle:before{content:"\e894"}.fe-mic:before{content:"\e895"}.fe-minus-square:before{content:"\e896"}.fe-minus:before{content:"\e897"}.fe-moon:before{content:"\e898"}.fe-monitor:before{content:"\e899"}.fe-more-vertical:before{content:"\e89a"}.fe-more-horizontal:before{content:"\e89b"}.fe-move:before{content:"\e89c"}.fe-music:before{content:"\e89d"}.fe-navigation-2:before{content:"\e89e"}.fe-navigation:before{content:"\e89f"}.fe-octagon:before{content:"\e8a0"}.fe-package:before{content:"\e8a1"}.fe-pause-circle:before{content:"\e8a2"}.fe-pause:before{content:"\e8a3"}.fe-percent:before{content:"\e8a4"}.fe-phone-call:before{content:"\e8a5"}.fe-phone-forwarded:before{content:"\e8a6"}.fe-phone-missed:before{content:"\e8a7"}.fe-phone-off:before{content:"\e8a8"}.fe-phone-incoming:before{content:"\e8a9"}.fe-phone:before{content:"\e8aa"}.fe-phone-outgoing:before{content:"\e8ab"}.fe-pie-chart:before{content:"\e8ac"}.fe-play-circle:before{content:"\e8ad"}.fe-play:before{content:"\e8ae"}.fe-plus-square:before{content:"\e8af"}.fe-plus-circle:before{content:"\e8b0"}.fe-plus:before{content:"\e8b1"}.fe-pocket:before{content:"\e8b2"}.fe-printer:before{content:"\e8b3"}.fe-power:before{content:"\e8b4"}.fe-radio:before{content:"\e8b5"}.fe-repeat:before{content:"\e8b6"}.fe-refresh-ccw:before{content:"\e8b7"}.fe-rewind:before{content:"\e8b8"}.fe-rotate-ccw:before{content:"\e8b9"}.fe-refresh-cw:before{content:"\e8ba"}.fe-rotate-cw:before{content:"\e8bb"}.fe-save:before{content:"\e8bc"}.fe-search:before{content:"\e8bd"}.fe-server:before{content:"\e8be"}.fe-scissors:before{content:"\e8bf"}.fe-share-2:before{content:"\e8c0"}.fe-share:before{content:"\e8c1"}.fe-shield:before{content:"\e8c2"}.fe-settings:before{content:"\e8c3"}.fe-skip-back:before{content:"\e8c4"}.fe-shuffle:before{content:"\e8c5"}.fe-sidebar:before{content:"\e8c6"}.fe-skip-forward:before{content:"\e8c7"}.fe-slack:before{content:"\e8c8"}.fe-slash:before{content:"\e8c9"}.fe-smartphone:before{content:"\e8ca"}.fe-square:before{content:"\e8cb"}.fe-speaker:before{content:"\e8cc"}.fe-star:before{content:"\e8cd"}.fe-stop-circle:before{content:"\e8ce"}.fe-sun:before{content:"\e8cf"}.fe-sunrise:before{content:"\e8d0"}.fe-tablet:before{content:"\e8d1"}.fe-tag:before{content:"\e8d2"}.fe-sunset:before{content:"\e8d3"}.fe-target:before{content:"\e8d4"}.fe-thermometer:before{content:"\e8d5"}.fe-thumbs-up:before{content:"\e8d6"}.fe-thumbs-down:before{content:"\e8d7"}.fe-toggle-left:before{content:"\e8d8"}.fe-toggle-right:before{content:"\e8d9"}.fe-trash-2:before{content:"\e8da"}.fe-trash:before{content:"\e8db"}.fe-trending-up:before{content:"\e8dc"}.fe-trending-down:before{content:"\e8dd"}.fe-triangle:before{content:"\e8de"}.fe-type:before{content:"\e8df"}.fe-twitter:before{content:"\e8e0"}.fe-upload:before{content:"\e8e1"}.fe-umbrella:before{content:"\e8e2"}.fe-upload-cloud:before{content:"\e8e3"}.fe-unlock:before{content:"\e8e4"}.fe-user-check:before{content:"\e8e5"}.fe-user-minus:before{content:"\e8e6"}.fe-user-plus:before{content:"\e8e7"}.fe-user-x:before{content:"\e8e8"}.fe-user:before{content:"\e8e9"}.fe-users:before{content:"\e8ea"}.fe-video-off:before{content:"\e8eb"}.fe-video:before{content:"\e8ec"}.fe-voicemail:before{content:"\e8ed"}.fe-volume-x:before{content:"\e8ee"}.fe-volume-2:before{content:"\e8ef"}.fe-volume-1:before{content:"\e8f0"}.fe-volume:before{content:"\e8f1"}.fe-watch:before{content:"\e8f2"}.fe-wifi:before{content:"\e8f3"}.fe-x-square:before{content:"\e8f4"}.fe-wind:before{content:"\e8f5"}.fe-x:before{content:"\e8f6"}.fe-x-circle:before{content:"\e8f7"}.fe-zap:before{content:"\e8f8"}.fe-zoom-in:before{content:"\e8f9"}.fe-zoom-out:before{content:"\e8fa"}.fe-command:before{content:"\e8fb"}.fe-cloud:before{content:"\e8fc"}.fe-hash:before{content:"\e8fd"}.fe-headphones:before{content:"\e8fe"}.fe-underline:before{content:"\e8ff"}.fe-italic:before{content:"\e900"}.fe-bold:before{content:"\e901"}.fe-crop:before{content:"\e902"}.fe-help-circle:before{content:"\e903"}.fe-paperclip:before{content:"\e904"}.fe-shopping-cart:before{content:"\e905"}.fe-tv:before{content:"\e906"}.fe-wifi-off:before{content:"\e907"}.fe-minimize:before{content:"\e88d"}.fe-maximize:before{content:"\e908"}.fe-gitlab:before{content:"\e909"}.fe-sliders:before{content:"\e90a"}.fe-star-on:before{content:"\e90b"}.fe-heart-on:before{content:"\e90c"}.fe-archive:before{content:"\e90d"}.fe-arrow-down-circle:before{content:"\e90e"}.fe-arrow-up-circle:before{content:"\e90f"}.fe-arrow-left-circle:before{content:"\e910"}.fe-arrow-right-circle:before{content:"\e911"}.fe-bar-chart-line-2:before{content:"\e912"}.fe-bar-chart-line:before{content:"\e913"}.fe-book-open:before{content:"\e914"}.fe-code:before{content:"\e915"}.fe-database:before{content:"\e916"}.fe-dollar-sign:before{content:"\e917"}.fe-folder-plus:before{content:"\e918"}.fe-gift:before{content:"\e919"}.fe-folder-minus:before{content:"\e91a"}.fe-git-commit:before{content:"\e91b"}.fe-git-branch:before{content:"\e91c"}.fe-git-pull-request:before{content:"\e91d"}.fe-git-merge:before{content:"\e91e"}.fe-linkedin:before{content:"\e91f"}.fe-hard-drive:before{content:"\e920"}.fe-more-vertical-2:before{content:"\e921"}.fe-more-horizontal-2:before{content:"\e922"}.fe-rss:before{content:"\e923"}.fe-send:before{content:"\e924"}.fe-shield-off:before{content:"\e925"}.fe-shopping-bag:before{content:"\e926"}.fe-terminal:before{content:"\e927"}.fe-truck:before{content:"\e928"}.fe-zap-off:before{content:"\e929"}.fe-youtube:before{content:"\e92a"}@font-face{font-family:font-awesome;src:url(../fonts/font-awesome.eot);src:url(../fonts/font-awesome.eot?#iefix) format("eot"),url(../fonts/font-awesome.woff2) format("woff2"),url(../fonts/font-awesome.woff) format("woff"),url(../fonts/font-awesome.ttf) format("truetype"),url(../fonts/font-awesome.svg#font-awesome) format("svg")}.fa{font-family:font-awesome;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-address-card:before{content:"\f2bb"}.fa-address-card-o:before{content:"\f2bc"}.fa-adjust:before{content:"\f042"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-anchor:before{content:"\f13d"}.fa-archive:before{content:"\f187"}.fa-area-chart:before{content:"\f1fe"}.fa-arrows:before{content:"\f047"}.fa-arrows-h:before{content:"\f07e"}.fa-arrows-v:before{content:"\f07d"}.fa-asl-interpreting:before{content:"\f2a3"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-at:before{content:"\f1fa"}.fa-audio-description:before{content:"\f29e"}.fa-automobile:before{content:"\f1b9"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-bank:before{content:"\f19c"}.fa-bar-chart:before{content:"\f080"}.fa-bar-chart-o:before{content:"\f080"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-bath:before{content:"\f2cd"}.fa-bathtub:before{content:"\f2cd"}.fa-battery:before{content:"\f240"}.fa-battery-0:before{content:"\f244"}.fa-battery-1:before{content:"\f243"}.fa-battery-2:before{content:"\f242"}.fa-battery-3:before{content:"\f241"}.fa-battery-4:before{content:"\f240"}.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-bell:before{content:"\f0f3"}.fa-bell-o:before{content:"\f0a2"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-bicycle:before{content:"\f206"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-blind:before{content:"\f29d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-bookmark-o:before{content:"\f097"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-building-o:before{content:"\f0f7"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-bus:before{content:"\f207"}.fa-cab:before{content:"\f1ba"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f073"}.fa-calendar-check-o:before{content:"\f274"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-o:before{content:"\f133"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-times-o:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-car:before{content:"\f1b9"}.fa-caret-square-o-down:before{content:"\f150"}.fa-caret-square-o-left:before{content:"\f191"}.fa-caret-square-o-right:before{content:"\f152"}.fa-caret-square-o-up:before{content:"\f151"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc:before{content:"\f20a"}.fa-certificate:before{content:"\f0a3"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-circle-o:before{content:"\f05d"}.fa-check-square:before{content:"\f14a"}.fa-check-square-o:before{content:"\f046"}.fa-child:before{content:"\f1ae"}.fa-circle:before{content:"\f111"}.fa-circle-o:before{content:"\f10c"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-circle-thin:before{content:"\f1db"}.fa-clock-o:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-close:before{content:"\f00d"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-code:before{content:"\f121"}.fa-code-fork:before{content:"\f126"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-comment:before{content:"\f075"}.fa-comment-o:before{content:"\f0e5"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-comments:before{content:"\f086"}.fa-comments-o:before{content:"\f0e6"}.fa-compass:before{content:"\f14e"}.fa-copyright:before{content:"\f1f9"}.fa-creative-commons:before{content:"\f25e"}.fa-credit-card:before{content:"\f09d"}.fa-credit-card-alt:before{content:"\f283"}.fa-crop:before{content:"\f125"}.fa-crosshairs:before{content:"\f05b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cutlery:before{content:"\f0f5"}.fa-dashboard:before{content:"\f0e4"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deafness:before{content:"\f2a4"}.fa-desktop:before{content:"\f108"}.fa-diamond:before{content:"\f219"}.fa-dot-circle-o:before{content:"\f192"}.fa-download:before{content:"\f019"}.fa-drivers-license:before{content:"\f2c2"}.fa-drivers-license-o:before{content:"\f2c3"}.fa-edit:before{content:"\f044"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-o:before{content:"\f003"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-envelope-square:before{content:"\f199"}.fa-eraser:before{content:"\f12d"}.fa-exchange:before{content:"\f0ec"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-external-link:before{content:"\f08e"}.fa-external-link-square:before{content:"\f14c"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-eyedropper:before{content:"\f1fb"}.fa-fax:before{content:"\f1ac"}.fa-feed:before{content:"\f09e"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file-archive-o:before{content:"\f1c6"}.fa-file-audio-o:before{content:"\f1c7"}.fa-file-code-o:before{content:"\f1c9"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-image-o:before{content:"\f1c5"}.fa-file-movie-o:before{content:"\f1c8"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-photo-o:before{content:"\f1c5"}.fa-file-picture-o:before{content:"\f1c5"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-sound-o:before{content:"\f1c7"}.fa-file-video-o:before{content:"\f1c8"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-zip-o:before{content:"\f1c6"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-o:before{content:"\f11d"}.fa-flash:before{content:"\f0e7"}.fa-flask:before{content:"\f0c3"}.fa-folder:before{content:"\f07b"}.fa-folder-o:before{content:"\f114"}.fa-folder-open:before{content:"\f07c"}.fa-folder-open-o:before{content:"\f115"}.fa-frown-o:before{content:"\f119"}.fa-futbol-o:before{content:"\f1e3"}.fa-gamepad:before{content:"\f11b"}.fa-gavel:before{content:"\f0e3"}.fa-gear:before{content:"\f013"}.fa-gears:before{content:"\f085"}.fa-gift:before{content:"\f06b"}.fa-glass:before{content:"\f000"}.fa-globe:before{content:"\f0ac"}.fa-graduation-cap:before{content:"\f19d"}.fa-group:before{content:"\f0c0"}.fa-hand-grab-o:before{content:"\f255"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-paper-o:before{content:"\f256"}.fa-hand-peace-o:before{content:"\f25b"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-rock-o:before{content:"\f255"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-stop-o:before{content:"\f256"}.fa-handshake-o:before{content:"\f2b5"}.fa-hard-of-hearing:before{content:"\f2a4"}.fa-hashtag:before{content:"\f292"}.fa-hdd-o:before{content:"\f0a0"}.fa-headphones:before{content:"\f025"}.fa-heart:before{content:"\f004"}.fa-heart-o:before{content:"\f08a"}.fa-heartbeat:before{content:"\f21e"}.fa-history:before{content:"\f1da"}.fa-home:before{content:"\f015"}.fa-hotel:before{content:"\f236"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-1:before{content:"\f251"}.fa-hourglass-2:before{content:"\f252"}.fa-hourglass-3:before{content:"\f253"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-start:before{content:"\f251"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-o:before{content:"\f2c3"}.fa-image:before{content:"\f03e"}.fa-inbox:before{content:"\f01c"}.fa-industry:before{content:"\f275"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-institution:before{content:"\f19c"}.fa-key:before{content:"\f084"}.fa-keyboard-o:before{content:"\f11c"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-leaf:before{content:"\f06c"}.fa-legal:before{content:"\f0e3"}.fa-lemon-o:before{content:"\f094"}.fa-level-down:before{content:"\f149"}.fa-level-up:before{content:"\f148"}.fa-life-bouy:before{content:"\f1cd"}.fa-life-buoy:before{content:"\f1cd"}.fa-life-ring:before{content:"\f1cd"}.fa-life-saver:before{content:"\f1cd"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-line-chart:before{content:"\f201"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-low-vision:before{content:"\f2a8"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-forward:before{content:"\f064"}.fa-mail-reply:before{content:"\f112"}.fa-mail-reply-all:before{content:"\f122"}.fa-male:before{content:"\f183"}.fa-map:before{content:"\f279"}.fa-map-marker:before{content:"\f041"}.fa-map-o:before{content:"\f278"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-meh-o:before{content:"\f11a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-mobile:before{content:"\f10b"}.fa-mobile-phone:before{content:"\f10b"}.fa-money:before{content:"\f0d6"}.fa-moon-o:before{content:"\f186"}.fa-mortar-board:before{content:"\f19d"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-navicon:before{content:"\f0c9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-paint-brush:before{content:"\f1fc"}.fa-paper-plane:before{content:"\f1d8"}.fa-paper-plane-o:before{content:"\f1d9"}.fa-paw:before{content:"\f1b0"}.fa-pencil:before{content:"\f040"}.fa-pencil-square:before{content:"\f14b"}.fa-pencil-square-o:before{content:"\f044"}.fa-percent:before{content:"\f295"}.fa-phone:before{content:"\f095"}.fa-phone-square:before{content:"\f098"}.fa-photo:before{content:"\f03e"}.fa-picture-o:before{content:"\f03e"}.fa-pie-chart:before{content:"\f200"}.fa-plane:before{content:"\f072"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-plus-square-o:before{content:"\f196"}.fa-podcast:before{content:"\f2ce"}.fa-power-off:before{content:"\f011"}.fa-print:before{content:"\f02f"}.fa-puzzle-piece:before{content:"\f12e"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-question-circle-o:before{content:"\f29c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-random:before{content:"\f074"}.fa-recycle:before{content:"\f1b8"}.fa-refresh:before{content:"\f021"}.fa-registered:before{content:"\f25d"}.fa-remove:before{content:"\f00d"}.fa-reorder:before{content:"\f0c9"}.fa-reply:before{content:"\f112"}.fa-reply-all:before{content:"\f122"}.fa-retweet:before{content:"\f079"}.fa-road:before{content:"\f018"}.fa-rocket:before{content:"\f135"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-s15:before{content:"\f2cd"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-send:before{content:"\f1d8"}.fa-send-o:before{content:"\f1d9"}.fa-server:before{content:"\f233"}.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-share-square-o:before{content:"\f045"}.fa-shield:before{content:"\f132"}.fa-ship:before{content:"\f21a"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shower:before{content:"\f2cc"}.fa-sign-in:before{content:"\f090"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out:before{content:"\f08b"}.fa-signal:before{content:"\f012"}.fa-signing:before{content:"\f2a7"}.fa-sitemap:before{content:"\f0e8"}.fa-sliders:before{content:"\f1de"}.fa-smile-o:before{content:"\f118"}.fa-snowflake-o:before{content:"\f2dc"}.fa-soccer-ball-o:before{content:"\f1e3"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-asc:before{content:"\f0de"}.fa-sort-desc:before{content:"\f0dd"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-space-shuttle:before{content:"\f197"}.fa-spinner:before{content:"\f110"}.fa-spoon:before{content:"\f1b1"}.fa-square:before{content:"\f0c8"}.fa-square-o:before{content:"\f096"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-star-half-empty:before{content:"\f123"}.fa-star-half-full:before{content:"\f123"}.fa-star-half-o:before{content:"\f123"}.fa-star-o:before{content:"\f006"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-street-view:before{content:"\f21d"}.fa-suitcase:before{content:"\f0f2"}.fa-sun-o:before{content:"\f185"}.fa-support:before{content:"\f1cd"}.fa-tablet:before{content:"\f10a"}.fa-tachometer:before{content:"\f0e4"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-television:before{content:"\f26c"}.fa-terminal:before{content:"\f120"}.fa-thermometer:before{content:"\f2c7"}.fa-thermometer-0:before{content:"\f2cb"}.fa-thermometer-1:before{content:"\f2ca"}.fa-thermometer-2:before{content:"\f2c9"}.fa-thermometer-3:before{content:"\f2c8"}.fa-thermometer-4:before{content:"\f2c7"}.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-thumb-tack:before{content:"\f08d"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-o-down:before{content:"\f088"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-up:before{content:"\f164"}.fa-ticket:before{content:"\f145"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-times-circle-o:before{content:"\f05c"}.fa-times-rectangle:before{content:"\f2d3"}.fa-times-rectangle-o:before{content:"\f2d4"}.fa-tint:before{content:"\f043"}.fa-toggle-down:before{content:"\f150"}.fa-toggle-left:before{content:"\f191"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toggle-right:before{content:"\f152"}.fa-toggle-up:before{content:"\f151"}.fa-trademark:before{content:"\f25c"}.fa-trash:before{content:"\f1f8"}.fa-trash-o:before{content:"\f014"}.fa-tree:before{content:"\f1bb"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-tty:before{content:"\f1e4"}.fa-tv:before{content:"\f26c"}.fa-umbrella:before{content:"\f0e9"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsorted:before{content:"\f0dc"}.fa-upload:before{content:"\f093"}.fa-user:before{content:"\f007"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-vcard:before{content:"\f2bb"}.fa-vcard-o:before{content:"\f2bc"}.fa-video-camera:before{content:"\f03d"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-volume-down:before{content:"\f027"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-warning:before{content:"\f071"}.fa-wheelchair:before{content:"\f193"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-wifi:before{content:"\f1eb"}.fa-window-close:before{content:"\f2d3"}.fa-window-close-o:before{content:"\f2d4"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-wrench:before{content:"\f0ad"}.fa-hand-o-down:before{content:"\f0a7"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-up:before{content:"\f0a6"}.fa-ambulance:before{content:"\f0f9"}.fa-subway:before{content:"\f239"}.fa-train:before{content:"\f238"}.fa-genderless:before{content:"\f22d"}.fa-intersex:before{content:"\f224"}.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-mercury:before{content:"\f223"}.fa-neuter:before{content:"\f22c"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-file:before{content:"\f15b"}.fa-file-o:before{content:"\f016"}.fa-file-text:before{content:"\f15c"}.fa-file-text-o:before{content:"\f0f6"}.fa-cc-amex:before{content:"\f1f3"}.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-google-wallet:before{content:"\f1ee"}.fa-paypal:before{content:"\f1ed"}.fa-bitcoin:before{content:"\f15a"}.fa-btc:before{content:"\f15a"}.fa-cny:before{content:"\f157"}.fa-dollar:before{content:"\f155"}.fa-eur:before{content:"\f153"}.fa-euro:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ils:before{content:"\f20b"}.fa-inr:before{content:"\f156"}.fa-jpy:before{content:"\f157"}.fa-krw:before{content:"\f159"}.fa-rmb:before{content:"\f157"}.fa-rouble:before{content:"\f158"}.fa-rub:before{content:"\f158"}.fa-ruble:before{content:"\f158"}.fa-rupee:before{content:"\f156"}.fa-shekel:before{content:"\f20b"}.fa-sheqel:before{content:"\f20b"}.fa-try:before{content:"\f195"}.fa-turkish-lira:before{content:"\f195"}.fa-usd:before{content:"\f155"}.fa-viacoin:before{content:"\f237"}.fa-won:before{content:"\f159"}.fa-yen:before{content:"\f157"}.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-bold:before{content:"\f032"}.fa-chain:before{content:"\f0c1"}.fa-chain-broken:before{content:"\f127"}.fa-clipboard:before{content:"\f0ea"}.fa-columns:before{content:"\f0db"}.fa-copy:before{content:"\f0c5"}.fa-cut:before{content:"\f0c4"}.fa-dedent:before{content:"\f03b"}.fa-files-o:before{content:"\f0c5"}.fa-floppy-o:before{content:"\f0c7"}.fa-font:before{content:"\f031"}.fa-header:before{content:"\f1dc"}.fa-indent:before{content:"\f03c"}.fa-italic:before{content:"\f033"}.fa-link:before{content:"\f0c1"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-outdent:before{content:"\f03b"}.fa-paperclip:before{content:"\f0c6"}.fa-paragraph:before{content:"\f1dd"}.fa-paste:before{content:"\f0ea"}.fa-repeat:before{content:"\f01e"}.fa-rotate-left:before{content:"\f0e2"}.fa-rotate-right:before{content:"\f01e"}.fa-save:before{content:"\f0c7"}.fa-scissors:before{content:"\f0c4"}.fa-strikethrough:before{content:"\f0cc"}.fa-subscript:before{content:"\f12c"}.fa-superscript:before{content:"\f12b"}.fa-table:before{content:"\f0ce"}.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-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-unlink:before{content:"\f127"}.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-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-up:before{content:"\f01b"}.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-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-up:before{content:"\f0d8"}.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-long-arrow-down:before{content:"\f175"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-long-arrow-up:before{content:"\f176"}.fa-backward:before{content:"\f04a"}.fa-compress:before{content:"\f066"}.fa-eject:before{content:"\f052"}.fa-expand:before{content:"\f065"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-forward:before{content:"\f04e"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-play-circle-o:before{content:"\f01d"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-youtube-play:before{content:"\f16a"}.fa-500px:before{content:"\f26e"}.fa-adn:before{content:"\f170"}.fa-amazon:before{content:"\f270"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-apple:before{content:"\f179"}.fa-bandcamp:before{content:"\f2d5"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-black-tie:before{content:"\f27e"}.fa-buysellads:before{content:"\f20d"}.fa-chrome:before{content:"\f268"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-css3:before{content:"\f13c"}.fa-dashcube:before{content:"\f210"}.fa-delicious:before{content:"\f1a5"}.fa-deviantart:before{content:"\f1bd"}.fa-digg:before{content:"\f1a6"}.fa-dribbble:before{content:"\f17d"}.fa-dropbox:before{content:"\f16b"}.fa-drupal:before{content:"\f1a9"}.fa-edge:before{content:"\f282"}.fa-eercast:before{content:"\f2da"}.fa-empire:before{content:"\f1d1"}.fa-envira:before{content:"\f299"}.fa-etsy:before{content:"\f2d7"}.fa-expeditedssl:before{content:"\f23e"}.fa-fa:before{content:"\f2b4"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f09a"}.fa-facebook-official:before{content:"\f230"}.fa-facebook-square:before{content:"\f082"}.fa-firefox:before{content:"\f269"}.fa-first-order:before{content:"\f2b0"}.fa-flickr:before{content:"\f16e"}.fa-font-awesome:before{content:"\f2b4"}.fa-fonticons:before{content:"\f280"}.fa-fort-awesome:before{content:"\f286"}.fa-forumbee:before{content:"\f211"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-ge:before{content:"\f1d1"}.fa-get-pocket:before{content:"\f265"}.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-gitlab:before{content:"\f296"}.fa-gittip:before{content:"\f184"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-google:before{content:"\f1a0"}.fa-google-plus:before{content:"\f0d5"}.fa-google-plus-circle:before{content:"\f2b3"}.fa-google-plus-official:before{content:"\f2b3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-hacker-news:before{content:"\f1d4"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-imdb:before{content:"\f2d8"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-joomla:before{content:"\f1aa"}.fa-jsfiddle:before{content:"\f1cc"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-leanpub:before{content:"\f212"}.fa-linkedin:before{content:"\f0e1"}.fa-linkedin-square:before{content:"\f08c"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-maxcdn:before{content:"\f136"}.fa-meanpath:before{content:"\f20c"}.fa-medium:before{content:"\f23a"}.fa-meetup:before{content:"\f2e0"}.fa-mixcloud:before{content:"\f289"}.fa-modx:before{content:"\f285"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-pagelines:before{content:"\f18c"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-product-hunt:before{content:"\f288"}.fa-qq:before{content:"\f1d6"}.fa-quora:before{content:"\f2c4"}.fa-ra:before{content:"\f1d0"}.fa-ravelry:before{content:"\f2d9"}.fa-rebel:before{content:"\f1d0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-renren:before{content:"\f18b"}.fa-resistance:before{content:"\f1d0"}.fa-safari:before{content:"\f267"}.fa-scribd:before{content:"\f28a"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slideshare:before{content:"\f1e7"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-soundcloud:before{content:"\f1be"}.fa-spotify:before{content:"\f1bc"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-superpowers:before{content:"\f2dd"}.fa-telegram:before{content:"\f2c6"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-themeisle:before{content:"\f2b2"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-usb:before{content:"\f287"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vimeo:before{content:"\f27d"}.fa-vimeo-square:before{content:"\f194"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-wechat:before{content:"\f1d7"}.fa-weibo:before{content:"\f18a"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-wikipedia-w:before{content:"\f266"}.fa-windows:before{content:"\f17a"}.fa-wordpress:before{content:"\f19a"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-y-combinator-square:before{content:"\f1d4"}.fa-yahoo:before{content:"\f19e"}.fa-yc:before{content:"\f23b"}.fa-yc-square:before{content:"\f1d4"}.fa-yelp:before{content:"\f1e9"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f166"}.fa-h-square:before{content:"\f0fd"}.fa-hospital-o:before{content:"\f0f8"}.fa-medkit:before{content:"\f0fa"}.fa-stethoscope:before{content:"\f0f1"}.fa-user-md:before{content:"\f0f0"}@font-face{font-family:ionicons;src:url(../fonts/ionicons.eot);src:url(../fonts/ionicons.eot?#iefix) format("eot"),url(../fonts/ionicons.woff2) format("woff2"),url(../fonts/ionicons.woff) format("woff"),url(../fonts/ionicons.ttf) format("truetype"),url(../fonts/ionicons.svg#ionicons) format("svg")}.ion{font-family:ionicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.ion-ios-add:before{content:"\f102"}.ion-ios-add-circle:before{content:"\f101"}.ion-ios-add-circle-outline:before{content:"\f100"}.ion-ios-add-outline:before{content:"\f102"}.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-alert:before{content:"\f104"}.ion-ios-alert-outline:before{content:"\f103"}.ion-ios-american-football:before{content:"\f106"}.ion-ios-american-football-outline:before{content:"\f105"}.ion-ios-analytics:before{content:"\f3ce"}.ion-ios-analytics-outline:before{content:"\f3cd"}.ion-ios-aperture:before{content:"\f108"}.ion-ios-aperture-outline:before{content:"\f107"}.ion-ios-apps:before{content:"\f10a"}.ion-ios-apps-outline:before{content:"\f109"}.ion-ios-appstore:before{content:"\f10c"}.ion-ios-appstore-outline:before{content:"\f10b"}.ion-ios-archive:before{content:"\f10e"}.ion-ios-archive-outline:before{content:"\f10d"}.ion-ios-arrow-back:before{content:"\f3cf"}.ion-ios-arrow-back-outline:before{content:"\f3cf"}.ion-ios-arrow-down:before{content:"\f3d0"}.ion-ios-arrow-down-outline:before{content:"\f3d0"}.ion-ios-arrow-dropdown:before{content:"\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\f10f"}.ion-ios-arrow-dropdown-circle-outline:before{content:"\f10f"}.ion-ios-arrow-dropdown-outline:before{content:"\f110"}.ion-ios-arrow-dropleft:before{content:"\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\f111"}.ion-ios-arrow-dropleft-circle-outline:before{content:"\f111"}.ion-ios-arrow-dropleft-outline:before{content:"\f112"}.ion-ios-arrow-dropright:before{content:"\f114"}.ion-ios-arrow-dropright-circle:before{content:"\f113"}.ion-ios-arrow-dropright-circle-outline:before{content:"\f113"}.ion-ios-arrow-dropright-outline:before{content:"\f114"}.ion-ios-arrow-dropup:before{content:"\f116"}.ion-ios-arrow-dropup-circle:before{content:"\f115"}.ion-ios-arrow-dropup-circle-outline:before{content:"\f115"}.ion-ios-arrow-dropup-outline:before{content:"\f116"}.ion-ios-arrow-forward:before{content:"\f3d1"}.ion-ios-arrow-forward-outline:before{content:"\f3d1"}.ion-ios-arrow-round-back:before{content:"\f117"}.ion-ios-arrow-round-back-outline:before{content:"\f117"}.ion-ios-arrow-round-down:before{content:"\f118"}.ion-ios-arrow-round-down-outline:before{content:"\f118"}.ion-ios-arrow-round-forward:before{content:"\f119"}.ion-ios-arrow-round-forward-outline:before{content:"\f119"}.ion-ios-arrow-round-up:before{content:"\f11a"}.ion-ios-arrow-round-up-outline:before{content:"\f11a"}.ion-ios-arrow-up:before{content:"\f3d8"}.ion-ios-arrow-up-outline:before{content:"\f3d8"}.ion-ios-at:before{content:"\f3da"}.ion-ios-at-outline:before{content:"\f3d9"}.ion-ios-attach:before{content:"\f11b"}.ion-ios-attach-outline:before{content:"\f11b"}.ion-ios-backspace:before{content:"\f11d"}.ion-ios-backspace-outline:before{content:"\f11c"}.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-basket:before{content:"\f11f"}.ion-ios-basket-outline:before{content:"\f11e"}.ion-ios-basketball:before{content:"\f3e0"}.ion-ios-basketball-outline:before{content:"\f3df"}.ion-ios-battery-charging:before{content:"\f120"}.ion-ios-battery-charging-outline:before{content:"\f120"}.ion-ios-battery-dead:before{content:"\f121"}.ion-ios-battery-dead-outline:before{content:"\f121"}.ion-ios-battery-full:before{content:"\f122"}.ion-ios-battery-full-outline:before{content:"\f122"}.ion-ios-beaker:before{content:"\f124"}.ion-ios-beaker-outline:before{content:"\f123"}.ion-ios-beer:before{content:"\f126"}.ion-ios-beer-outline:before{content:"\f125"}.ion-ios-bicycle:before{content:"\f127"}.ion-ios-bicycle-outline:before{content:"\f127"}.ion-ios-bluetooth:before{content:"\f128"}.ion-ios-bluetooth-outline:before{content:"\f128"}.ion-ios-boat:before{content:"\f12a"}.ion-ios-boat-outline:before{content:"\f129"}.ion-ios-body:before{content:"\f3e4"}.ion-ios-body-outline:before{content:"\f3e3"}.ion-ios-bonfire:before{content:"\f12c"}.ion-ios-bonfire-outline:before{content:"\f12b"}.ion-ios-book:before{content:"\f3e8"}.ion-ios-book-outline:before{content:"\f3e7"}.ion-ios-bookmark:before{content:"\f12e"}.ion-ios-bookmark-outline:before{content:"\f12d"}.ion-ios-bookmarks:before{content:"\f3ea"}.ion-ios-bookmarks-outline:before{content:"\f3e9"}.ion-ios-bowtie:before{content:"\f130"}.ion-ios-bowtie-outline:before{content:"\f12f"}.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-brush:before{content:"\f132"}.ion-ios-brush-outline:before{content:"\f131"}.ion-ios-bug:before{content:"\f134"}.ion-ios-bug-outline:before{content:"\f133"}.ion-ios-build:before{content:"\f136"}.ion-ios-build-outline:before{content:"\f135"}.ion-ios-bulb:before{content:"\f138"}.ion-ios-bulb-outline:before{content:"\f137"}.ion-ios-bus:before{content:"\f13a"}.ion-ios-bus-outline:before{content:"\f139"}.ion-ios-cafe:before{content:"\f13c"}.ion-ios-cafe-outline:before{content:"\f13b"}.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-call:before{content:"\f13e"}.ion-ios-call-outline:before{content:"\f13d"}.ion-ios-camera:before{content:"\f3f6"}.ion-ios-camera-outline:before{content:"\f3f5"}.ion-ios-car:before{content:"\f140"}.ion-ios-car-outline:before{content:"\f13f"}.ion-ios-card:before{content:"\f142"}.ion-ios-card-outline:before{content:"\f141"}.ion-ios-cart:before{content:"\f3f8"}.ion-ios-cart-outline:before{content:"\f3f7"}.ion-ios-cash:before{content:"\f144"}.ion-ios-cash-outline:before{content:"\f143"}.ion-ios-chatboxes:before{content:"\f3fa"}.ion-ios-chatboxes-outline:before{content:"\f3f9"}.ion-ios-chatbubbles:before{content:"\f146"}.ion-ios-chatbubbles-outline:before{content:"\f145"}.ion-ios-checkbox:before{content:"\f148"}.ion-ios-checkbox-outline:before{content:"\f147"}.ion-ios-checkmark:before{content:"\f3ff"}.ion-ios-checkmark-circle:before{content:"\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\f149"}.ion-ios-checkmark-outline:before{content:"\f3ff"}.ion-ios-clipboard:before{content:"\f14c"}.ion-ios-clipboard-outline:before{content:"\f14b"}.ion-ios-clock:before{content:"\f403"}.ion-ios-clock-outline:before{content:"\f402"}.ion-ios-close:before{content:"\f406"}.ion-ios-close-circle:before{content:"\f14e"}.ion-ios-close-circle-outline:before{content:"\f14d"}.ion-ios-close-outline:before{content:"\f406"}.ion-ios-closed-captioning:before{content:"\f150"}.ion-ios-closed-captioning-outline:before{content:"\f14f"}.ion-ios-cloud:before{content:"\f40c"}.ion-ios-cloud-circle:before{content:"\f152"}.ion-ios-cloud-circle-outline:before{content:"\f151"}.ion-ios-cloud-done:before{content:"\f154"}.ion-ios-cloud-done-outline:before{content:"\f153"}.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-code:before{content:"\f157"}.ion-ios-code-download:before{content:"\f155"}.ion-ios-code-download-outline:before{content:"\f155"}.ion-ios-code-outline:before{content:"\f157"}.ion-ios-code-working:before{content:"\f156"}.ion-ios-code-working-outline:before{content:"\f156"}.ion-ios-cog:before{content:"\f412"}.ion-ios-cog-outline:before{content:"\f411"}.ion-ios-color-fill:before{content:"\f159"}.ion-ios-color-fill-outline:before{content:"\f158"}.ion-ios-color-filter:before{content:"\f414"}.ion-ios-color-filter-outline:before{content:"\f413"}.ion-ios-color-palette:before{content:"\f15b"}.ion-ios-color-palette-outline:before{content:"\f15a"}.ion-ios-color-wand:before{content:"\f416"}.ion-ios-color-wand-outline:before{content:"\f415"}.ion-ios-compass:before{content:"\f15d"}.ion-ios-compass-outline:before{content:"\f15c"}.ion-ios-construct:before{content:"\f15f"}.ion-ios-construct-outline:before{content:"\f15e"}.ion-ios-contact:before{content:"\f41a"}.ion-ios-contact-outline:before{content:"\f419"}.ion-ios-contacts:before{content:"\f161"}.ion-ios-contacts-outline:before{content:"\f160"}.ion-ios-contract:before{content:"\f162"}.ion-ios-contract-outline:before{content:"\f162"}.ion-ios-contrast:before{content:"\f163"}.ion-ios-contrast-outline:before{content:"\f163"}.ion-ios-copy:before{content:"\f41c"}.ion-ios-copy-outline:before{content:"\f41b"}.ion-ios-create:before{content:"\f165"}.ion-ios-create-outline:before{content:"\f164"}.ion-ios-crop:before{content:"\f41e"}.ion-ios-crop-outline:before{content:"\f166"}.ion-ios-cube:before{content:"\f168"}.ion-ios-cube-outline:before{content:"\f167"}.ion-ios-cut:before{content:"\f16a"}.ion-ios-cut-outline:before{content:"\f169"}.ion-ios-desktop:before{content:"\f16c"}.ion-ios-desktop-outline:before{content:"\f16b"}.ion-ios-disc:before{content:"\f16e"}.ion-ios-disc-outline:before{content:"\f16d"}.ion-ios-document:before{content:"\f170"}.ion-ios-document-outline:before{content:"\f16f"}.ion-ios-done-all:before{content:"\f171"}.ion-ios-done-all-outline:before{content:"\f171"}.ion-ios-download:before{content:"\f420"}.ion-ios-download-outline:before{content:"\f41f"}.ion-ios-easel:before{content:"\f173"}.ion-ios-easel-outline:before{content:"\f172"}.ion-ios-egg:before{content:"\f175"}.ion-ios-egg-outline:before{content:"\f174"}.ion-ios-exit:before{content:"\f177"}.ion-ios-exit-outline:before{content:"\f176"}.ion-ios-expand:before{content:"\f178"}.ion-ios-expand-outline:before{content:"\f178"}.ion-ios-eye:before{content:"\f425"}.ion-ios-eye-off:before{content:"\f17a"}.ion-ios-eye-off-outline:before{content:"\f179"}.ion-ios-eye-outline:before{content:"\f424"}.ion-ios-fastforward:before{content:"\f427"}.ion-ios-fastforward-outline:before{content:"\f426"}.ion-ios-female:before{content:"\f17b"}.ion-ios-female-outline:before{content:"\f17b"}.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-finger-print:before{content:"\f17c"}.ion-ios-finger-print-outline:before{content:"\f17c"}.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-flash:before{content:"\f17e"}.ion-ios-flash-outline:before{content:"\f17d"}.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-open:before{content:"\f180"}.ion-ios-folder-open-outline:before{content:"\f17f"}.ion-ios-folder-outline:before{content:"\f434"}.ion-ios-football:before{content:"\f437"}.ion-ios-football-outline:before{content:"\f436"}.ion-ios-funnel:before{content:"\f182"}.ion-ios-funnel-outline:before{content:"\f181"}.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-git-branch:before{content:"\f183"}.ion-ios-git-branch-outline:before{content:"\f183"}.ion-ios-git-commit:before{content:"\f184"}.ion-ios-git-commit-outline:before{content:"\f184"}.ion-ios-git-compare:before{content:"\f185"}.ion-ios-git-compare-outline:before{content:"\f185"}.ion-ios-git-merge:before{content:"\f186"}.ion-ios-git-merge-outline:before{content:"\f186"}.ion-ios-git-network:before{content:"\f187"}.ion-ios-git-network-outline:before{content:"\f187"}.ion-ios-git-pull-request:before{content:"\f188"}.ion-ios-git-pull-request-outline:before{content:"\f188"}.ion-ios-glasses:before{content:"\f43f"}.ion-ios-glasses-outline:before{content:"\f43e"}.ion-ios-globe:before{content:"\f18a"}.ion-ios-globe-outline:before{content:"\f189"}.ion-ios-grid:before{content:"\f18c"}.ion-ios-grid-outline:before{content:"\f18b"}.ion-ios-hammer:before{content:"\f18e"}.ion-ios-hammer-outline:before{content:"\f18d"}.ion-ios-hand:before{content:"\f190"}.ion-ios-hand-outline:before{content:"\f18f"}.ion-ios-happy:before{content:"\f192"}.ion-ios-happy-outline:before{content:"\f191"}.ion-ios-headset:before{content:"\f194"}.ion-ios-headset-outline:before{content:"\f193"}.ion-ios-heart:before{content:"\f443"}.ion-ios-heart-outline:before{content:"\f442"}.ion-ios-help:before{content:"\f446"}.ion-ios-help-buoy:before{content:"\f196"}.ion-ios-help-buoy-outline:before{content:"\f195"}.ion-ios-help-circle:before{content:"\f198"}.ion-ios-help-circle-outline:before{content:"\f197"}.ion-ios-help-outline:before{content:"\f446"}.ion-ios-home:before{content:"\f448"}.ion-ios-home-outline:before{content:"\f447"}.ion-ios-ice-cream:before{content:"\f19a"}.ion-ios-ice-cream-outline:before{content:"\f199"}.ion-ios-image:before{content:"\f19c"}.ion-ios-image-outline:before{content:"\f19b"}.ion-ios-images:before{content:"\f19e"}.ion-ios-images-outline:before{content:"\f19d"}.ion-ios-infinite:before{content:"\f44a"}.ion-ios-infinite-outline:before{content:"\f449"}.ion-ios-information:before{content:"\f44d"}.ion-ios-information-circle:before{content:"\f1a0"}.ion-ios-information-circle-outline:before{content:"\f19f"}.ion-ios-information-outline:before{content:"\f44d"}.ion-ios-ionic:before{content:"\f1a1"}.ion-ios-ionic-outline:before{content:"\f44e"}.ion-ios-ionitron:before{content:"\f1a3"}.ion-ios-ionitron-outline:before{content:"\f1a2"}.ion-ios-jet:before{content:"\f1a5"}.ion-ios-jet-outline:before{content:"\f1a4"}.ion-ios-key:before{content:"\f1a7"}.ion-ios-key-outline:before{content:"\f1a6"}.ion-ios-keypad:before{content:"\f450"}.ion-ios-keypad-outline:before{content:"\f44f"}.ion-ios-laptop:before{content:"\f1a8"}.ion-ios-laptop-outline:before{content:"\f1a8"}.ion-ios-leaf:before{content:"\f1aa"}.ion-ios-leaf-outline:before{content:"\f1a9"}.ion-ios-link:before{content:"\f22a"}.ion-ios-link-outline:before{content:"\f1ca"}.ion-ios-list:before{content:"\f454"}.ion-ios-list-box:before{content:"\f1ac"}.ion-ios-list-box-outline:before{content:"\f1ab"}.ion-ios-list-outline:before{content:"\f454"}.ion-ios-locate:before{content:"\f1ae"}.ion-ios-locate-outline:before{content:"\f1ad"}.ion-ios-lock:before{content:"\f1b0"}.ion-ios-lock-outline:before{content:"\f1af"}.ion-ios-log-in:before{content:"\f1b1"}.ion-ios-log-in-outline:before{content:"\f1b1"}.ion-ios-log-out:before{content:"\f1b2"}.ion-ios-log-out-outline:before{content:"\f1b2"}.ion-ios-magnet:before{content:"\f1b4"}.ion-ios-magnet-outline:before{content:"\f1b3"}.ion-ios-mail:before{content:"\f1b8"}.ion-ios-mail-open:before{content:"\f1b6"}.ion-ios-mail-open-outline:before{content:"\f1b5"}.ion-ios-mail-outline:before{content:"\f1b7"}.ion-ios-male:before{content:"\f1b9"}.ion-ios-male-outline:before{content:"\f1b9"}.ion-ios-man:before{content:"\f1bb"}.ion-ios-man-outline:before{content:"\f1ba"}.ion-ios-map:before{content:"\f1bd"}.ion-ios-map-outline:before{content:"\f1bc"}.ion-ios-medal:before{content:"\f1bf"}.ion-ios-medal-outline:before{content:"\f1be"}.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-megaphone:before{content:"\f1c1"}.ion-ios-megaphone-outline:before{content:"\f1c0"}.ion-ios-menu:before{content:"\f1c3"}.ion-ios-menu-outline:before{content:"\f1c2"}.ion-ios-mic:before{content:"\f461"}.ion-ios-mic-off:before{content:"\f45f"}.ion-ios-mic-off-outline:before{content:"\f1c4"}.ion-ios-mic-outline:before{content:"\f460"}.ion-ios-microphone:before{content:"\f1c6"}.ion-ios-microphone-outline:before{content:"\f1c5"}.ion-ios-moon:before{content:"\f468"}.ion-ios-moon-outline:before{content:"\f467"}.ion-ios-more:before{content:"\f1c8"}.ion-ios-more-outline:before{content:"\f1c7"}.ion-ios-move:before{content:"\f1cb"}.ion-ios-move-outline:before{content:"\f1cb"}.ion-ios-musical-note:before{content:"\f46b"}.ion-ios-musical-note-outline:before{content:"\f1cc"}.ion-ios-musical-notes:before{content:"\f46c"}.ion-ios-musical-notes-outline:before{content:"\f1cd"}.ion-ios-navigate:before{content:"\f46e"}.ion-ios-navigate-outline:before{content:"\f46d"}.ion-ios-no-smoking:before{content:"\f1cf"}.ion-ios-no-smoking-outline:before{content:"\f1ce"}.ion-ios-notifications:before{content:"\f1d3"}.ion-ios-notifications-off:before{content:"\f1d1"}.ion-ios-notifications-off-outline:before{content:"\f1d0"}.ion-ios-notifications-outline:before{content:"\f1d2"}.ion-ios-nuclear:before{content:"\f1d5"}.ion-ios-nuclear-outline:before{content:"\f1d4"}.ion-ios-nutrition:before{content:"\f470"}.ion-ios-nutrition-outline:before{content:"\f46f"}.ion-ios-open:before{content:"\f1d7"}.ion-ios-open-outline:before{content:"\f1d6"}.ion-ios-options:before{content:"\f1d9"}.ion-ios-options-outline:before{content:"\f1d8"}.ion-ios-outlet:before{content:"\f1db"}.ion-ios-outlet-outline:before{content:"\f1da"}.ion-ios-paper:before{content:"\f472"}.ion-ios-paper-outline:before{content:"\f471"}.ion-ios-paper-plane:before{content:"\f1dd"}.ion-ios-paper-plane-outline:before{content:"\f1dc"}.ion-ios-partly-sunny:before{content:"\f1df"}.ion-ios-partly-sunny-outline:before{content:"\f1de"}.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-add:before{content:"\f1e1"}.ion-ios-person-add-outline:before{content:"\f1e0"}.ion-ios-person-outline:before{content:"\f47d"}.ion-ios-phone-landscape:before{content:"\f1e2"}.ion-ios-phone-landscape-outline:before{content:"\f1e2"}.ion-ios-phone-portrait:before{content:"\f1e3"}.ion-ios-phone-portrait-outline:before{content:"\f1e3"}.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-pin:before{content:"\f1e5"}.ion-ios-pin-outline:before{content:"\f1e4"}.ion-ios-pint:before{content:"\f486"}.ion-ios-pint-outline:before{content:"\f485"}.ion-ios-pizza:before{content:"\f1e7"}.ion-ios-pizza-outline:before{content:"\f1e6"}.ion-ios-plane:before{content:"\f1e9"}.ion-ios-plane-outline:before{content:"\f1e8"}.ion-ios-planet:before{content:"\f1eb"}.ion-ios-planet-outline:before{content:"\f1ea"}.ion-ios-play:before{content:"\f488"}.ion-ios-play-outline:before{content:"\f487"}.ion-ios-podium:before{content:"\f1ed"}.ion-ios-podium-outline:before{content:"\f1ec"}.ion-ios-power:before{content:"\f1ef"}.ion-ios-power-outline:before{content:"\f1ee"}.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-print:before{content:"\f1f1"}.ion-ios-print-outline:before{content:"\f1f0"}.ion-ios-pulse:before{content:"\f493"}.ion-ios-pulse-outline:before{content:"\f1f2"}.ion-ios-qr-scanner:before{content:"\f1f3"}.ion-ios-qr-scanner-outline:before{content:"\f1f3"}.ion-ios-quote:before{content:"\f1f5"}.ion-ios-quote-outline:before{content:"\f1f4"}.ion-ios-radio:before{content:"\f1f9"}.ion-ios-radio-button-off:before{content:"\f1f6"}.ion-ios-radio-button-off-outline:before{content:"\f1f6"}.ion-ios-radio-button-on:before{content:"\f1f7"}.ion-ios-radio-button-on-outline:before{content:"\f1f7"}.ion-ios-radio-outline:before{content:"\f1f8"}.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-circle:before{content:"\f226"}.ion-ios-refresh-circle-outline:before{content:"\f224"}.ion-ios-refresh-outline:before{content:"\f49c"}.ion-ios-remove:before{content:"\f1fc"}.ion-ios-remove-circle:before{content:"\f1fb"}.ion-ios-remove-circle-outline:before{content:"\f1fa"}.ion-ios-remove-outline:before{content:"\f1fc"}.ion-ios-reorder:before{content:"\f1fd"}.ion-ios-reorder-outline:before{content:"\f1fd"}.ion-ios-repeat:before{content:"\f1fe"}.ion-ios-repeat-outline:before{content:"\f1fe"}.ion-ios-resize:before{content:"\f1ff"}.ion-ios-resize-outline:before{content:"\f1ff"}.ion-ios-restaurant:before{content:"\f201"}.ion-ios-restaurant-outline:before{content:"\f200"}.ion-ios-return-left:before{content:"\f202"}.ion-ios-return-left-outline:before{content:"\f202"}.ion-ios-return-right:before{content:"\f203"}.ion-ios-return-right-outline:before{content:"\f203"}.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-ribbon:before{content:"\f205"}.ion-ios-ribbon-outline:before{content:"\f204"}.ion-ios-rose:before{content:"\f4a3"}.ion-ios-rose-outline:before{content:"\f4a2"}.ion-ios-sad:before{content:"\f207"}.ion-ios-sad-outline:before{content:"\f206"}.ion-ios-school:before{content:"\f209"}.ion-ios-school-outline:before{content:"\f208"}.ion-ios-search:before{content:"\f4a5"}.ion-ios-search-outline:before{content:"\f20a"}.ion-ios-send:before{content:"\f20c"}.ion-ios-send-outline:before{content:"\f20b"}.ion-ios-settings:before{content:"\f4a7"}.ion-ios-settings-outline:before{content:"\f20d"}.ion-ios-share:before{content:"\f211"}.ion-ios-share-alt:before{content:"\f20f"}.ion-ios-share-alt-outline:before{content:"\f20e"}.ion-ios-share-outline:before{content:"\f210"}.ion-ios-shirt:before{content:"\f213"}.ion-ios-shirt-outline:before{content:"\f212"}.ion-ios-shuffle:before{content:"\f4a9"}.ion-ios-shuffle-outline:before{content:"\f4a9"}.ion-ios-skip-backward:before{content:"\f215"}.ion-ios-skip-backward-outline:before{content:"\f214"}.ion-ios-skip-forward:before{content:"\f217"}.ion-ios-skip-forward-outline:before{content:"\f216"}.ion-ios-snow:before{content:"\f218"}.ion-ios-snow-outline:before{content:"\f22c"}.ion-ios-speedometer:before{content:"\f4b0"}.ion-ios-speedometer-outline:before{content:"\f4af"}.ion-ios-square:before{content:"\f21a"}.ion-ios-square-outline:before{content:"\f219"}.ion-ios-star:before{content:"\f4b3"}.ion-ios-star-half:before{content:"\f4b1"}.ion-ios-star-half-outline:before{content:"\f4b1"}.ion-ios-star-outline:before{content:"\f4b2"}.ion-ios-stats:before{content:"\f21c"}.ion-ios-stats-outline:before{content:"\f21b"}.ion-ios-stopwatch:before{content:"\f4b5"}.ion-ios-stopwatch-outline:before{content:"\f4b4"}.ion-ios-subway:before{content:"\f21e"}.ion-ios-subway-outline:before{content:"\f21d"}.ion-ios-sunny:before{content:"\f4b7"}.ion-ios-sunny-outline:before{content:"\f4b6"}.ion-ios-swap:before{content:"\f21f"}.ion-ios-swap-outline:before{content:"\f21f"}.ion-ios-switch:before{content:"\f221"}.ion-ios-switch-outline:before{content:"\f220"}.ion-ios-sync:before{content:"\f222"}.ion-ios-sync-outline:before{content:"\f222"}.ion-ios-tablet-landscape:before{content:"\f223"}.ion-ios-tablet-landscape-outline:before{content:"\f223"}.ion-ios-tablet-portrait:before{content:"\f24e"}.ion-ios-tablet-portrait-outline:before{content:"\f24e"}.ion-ios-tennisball:before{content:"\f4bb"}.ion-ios-tennisball-outline:before{content:"\f4ba"}.ion-ios-text:before{content:"\f250"}.ion-ios-text-outline:before{content:"\f24f"}.ion-ios-thermometer:before{content:"\f252"}.ion-ios-thermometer-outline:before{content:"\f251"}.ion-ios-thumbs-down:before{content:"\f254"}.ion-ios-thumbs-down-outline:before{content:"\f253"}.ion-ios-thumbs-up:before{content:"\f256"}.ion-ios-thumbs-up-outline:before{content:"\f255"}.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-train:before{content:"\f258"}.ion-ios-train-outline:before{content:"\f257"}.ion-ios-transgender:before{content:"\f259"}.ion-ios-transgender-outline:before{content:"\f259"}.ion-ios-trash:before{content:"\f4c5"}.ion-ios-trash-outline:before{content:"\f4c4"}.ion-ios-trending-down:before{content:"\f25a"}.ion-ios-trending-down-outline:before{content:"\f25a"}.ion-ios-trending-up:before{content:"\f25b"}.ion-ios-trending-up-outline:before{content:"\f25b"}.ion-ios-trophy:before{content:"\f25d"}.ion-ios-trophy-outline:before{content:"\f25c"}.ion-ios-umbrella:before{content:"\f25f"}.ion-ios-umbrella-outline:before{content:"\f25e"}.ion-ios-undo:before{content:"\f4c7"}.ion-ios-undo-outline:before{content:"\f4c6"}.ion-ios-unlock:before{content:"\f261"}.ion-ios-unlock-outline:before{content:"\f260"}.ion-ios-videocam:before{content:"\f4cd"}.ion-ios-videocam-outline:before{content:"\f4cc"}.ion-ios-volume-down:before{content:"\f262"}.ion-ios-volume-down-outline:before{content:"\f262"}.ion-ios-volume-mute:before{content:"\f263"}.ion-ios-volume-mute-outline:before{content:"\f263"}.ion-ios-volume-off:before{content:"\f264"}.ion-ios-volume-off-outline:before{content:"\f264"}.ion-ios-volume-up:before{content:"\f265"}.ion-ios-volume-up-outline:before{content:"\f265"}.ion-ios-walk:before{content:"\f266"}.ion-ios-walk-outline:before{content:"\f266"}.ion-ios-warning:before{content:"\f268"}.ion-ios-warning-outline:before{content:"\f267"}.ion-ios-watch:before{content:"\f269"}.ion-ios-watch-outline:before{content:"\f269"}.ion-ios-water:before{content:"\f26b"}.ion-ios-water-outline:before{content:"\f26a"}.ion-ios-wifi:before{content:"\f26d"}.ion-ios-wifi-outline:before{content:"\f26c"}.ion-ios-wine:before{content:"\f26f"}.ion-ios-wine-outline:before{content:"\f26e"}.ion-ios-woman:before{content:"\f271"}.ion-ios-woman-outline:before{content:"\f270"}.ion-logo-android:before{content:"\f225"}.ion-logo-angular:before{content:"\f227"}.ion-logo-apple:before{content:"\f229"}.ion-logo-bitcoin:before{content:"\f22b"}.ion-logo-buffer:before{content:"\f22d"}.ion-logo-chrome:before{content:"\f22f"}.ion-logo-codepen:before{content:"\f230"}.ion-logo-css3:before{content:"\f231"}.ion-logo-designernews:before{content:"\f232"}.ion-logo-dribbble:before{content:"\f233"}.ion-logo-dropbox:before{content:"\f234"}.ion-logo-euro:before{content:"\f235"}.ion-logo-facebook:before{content:"\f236"}.ion-logo-foursquare:before{content:"\f237"}.ion-logo-freebsd-devil:before{content:"\f238"}.ion-logo-github:before{content:"\f239"}.ion-logo-google:before{content:"\f23a"}.ion-logo-googleplus:before{content:"\f23b"}.ion-logo-hackernews:before{content:"\f23c"}.ion-logo-html5:before{content:"\f23d"}.ion-logo-instagram:before{content:"\f23e"}.ion-logo-javascript:before{content:"\f23f"}.ion-logo-linkedin:before{content:"\f240"}.ion-logo-markdown:before{content:"\f241"}.ion-logo-nodejs:before{content:"\f242"}.ion-logo-octocat:before{content:"\f243"}.ion-logo-pinterest:before{content:"\f244"}.ion-logo-playstation:before{content:"\f245"}.ion-logo-python:before{content:"\f246"}.ion-logo-reddit:before{content:"\f247"}.ion-logo-rss:before{content:"\f248"}.ion-logo-sass:before{content:"\f249"}.ion-logo-skype:before{content:"\f24a"}.ion-logo-snapchat:before{content:"\f24b"}.ion-logo-steam:before{content:"\f24c"}.ion-logo-tumblr:before{content:"\f24d"}.ion-logo-tux:before{content:"\f2ae"}.ion-logo-twitch:before{content:"\f2af"}.ion-logo-twitter:before{content:"\f2b0"}.ion-logo-usd:before{content:"\f2b1"}.ion-logo-vimeo:before{content:"\f2c4"}.ion-logo-whatsapp:before{content:"\f2c5"}.ion-logo-windows:before{content:"\f32f"}.ion-logo-wordpress:before{content:"\f330"}.ion-logo-xbox:before{content:"\f34c"}.ion-logo-yahoo:before{content:"\f34d"}.ion-logo-yen:before{content:"\f34e"}.ion-logo-youtube:before{content:"\f34f"}.ion-md-add:before{content:"\f273"}.ion-md-add-circle:before{content:"\f272"}.ion-md-alarm:before{content:"\f274"}.ion-md-albums:before{content:"\f275"}.ion-md-alert:before{content:"\f276"}.ion-md-american-football:before{content:"\f277"}.ion-md-analytics:before{content:"\f278"}.ion-md-aperture:before{content:"\f279"}.ion-md-apps:before{content:"\f27a"}.ion-md-appstore:before{content:"\f27b"}.ion-md-archive:before{content:"\f27c"}.ion-md-arrow-back:before{content:"\f27d"}.ion-md-arrow-down:before{content:"\f27e"}.ion-md-arrow-dropdown:before{content:"\f280"}.ion-md-arrow-dropdown-circle:before{content:"\f27f"}.ion-md-arrow-dropleft:before{content:"\f282"}.ion-md-arrow-dropleft-circle:before{content:"\f281"}.ion-md-arrow-dropright:before{content:"\f284"}.ion-md-arrow-dropright-circle:before{content:"\f283"}.ion-md-arrow-dropup:before{content:"\f286"}.ion-md-arrow-dropup-circle:before{content:"\f285"}.ion-md-arrow-forward:before{content:"\f287"}.ion-md-arrow-round-back:before{content:"\f288"}.ion-md-arrow-round-down:before{content:"\f289"}.ion-md-arrow-round-forward:before{content:"\f28a"}.ion-md-arrow-round-up:before{content:"\f28b"}.ion-md-arrow-up:before{content:"\f28c"}.ion-md-at:before{content:"\f28d"}.ion-md-attach:before{content:"\f28e"}.ion-md-backspace:before{content:"\f28f"}.ion-md-barcode:before{content:"\f290"}.ion-md-baseball:before{content:"\f291"}.ion-md-basket:before{content:"\f292"}.ion-md-basketball:before{content:"\f293"}.ion-md-battery-charging:before{content:"\f294"}.ion-md-battery-dead:before{content:"\f295"}.ion-md-battery-full:before{content:"\f296"}.ion-md-beaker:before{content:"\f297"}.ion-md-beer:before{content:"\f298"}.ion-md-bicycle:before{content:"\f299"}.ion-md-bluetooth:before{content:"\f29a"}.ion-md-boat:before{content:"\f29b"}.ion-md-body:before{content:"\f29c"}.ion-md-bonfire:before{content:"\f29d"}.ion-md-book:before{content:"\f29e"}.ion-md-bookmark:before{content:"\f29f"}.ion-md-bookmarks:before{content:"\f2a0"}.ion-md-bowtie:before{content:"\f2a1"}.ion-md-briefcase:before{content:"\f2a2"}.ion-md-browsers:before{content:"\f2a3"}.ion-md-brush:before{content:"\f2a4"}.ion-md-bug:before{content:"\f2a5"}.ion-md-build:before{content:"\f2a6"}.ion-md-bulb:before{content:"\f2a7"}.ion-md-bus:before{content:"\f2a8"}.ion-md-cafe:before{content:"\f2a9"}.ion-md-calculator:before{content:"\f2aa"}.ion-md-calendar:before{content:"\f2ab"}.ion-md-call:before{content:"\f2ac"}.ion-md-camera:before{content:"\f2ad"}.ion-md-car:before{content:"\f2b2"}.ion-md-card:before{content:"\f2b3"}.ion-md-cart:before{content:"\f2b4"}.ion-md-cash:before{content:"\f2b5"}.ion-md-chatboxes:before{content:"\f2b6"}.ion-md-chatbubbles:before{content:"\f2b7"}.ion-md-checkbox:before{content:"\f2b9"}.ion-md-checkbox-outline:before{content:"\f2b8"}.ion-md-checkmark:before{content:"\f2bc"}.ion-md-checkmark-circle:before{content:"\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\f2ba"}.ion-md-clipboard:before{content:"\f2bd"}.ion-md-clock:before{content:"\f2be"}.ion-md-close:before{content:"\f2c0"}.ion-md-close-circle:before{content:"\f2bf"}.ion-md-closed-captioning:before{content:"\f2c1"}.ion-md-cloud:before{content:"\f2c9"}.ion-md-cloud-circle:before{content:"\f2c2"}.ion-md-cloud-done:before{content:"\f2c3"}.ion-md-cloud-download:before{content:"\f2c6"}.ion-md-cloud-outline:before{content:"\f2c7"}.ion-md-cloud-upload:before{content:"\f2c8"}.ion-md-cloudy:before{content:"\f2cb"}.ion-md-cloudy-night:before{content:"\f2ca"}.ion-md-code:before{content:"\f2ce"}.ion-md-code-download:before{content:"\f2cc"}.ion-md-code-working:before{content:"\f2cd"}.ion-md-cog:before{content:"\f2cf"}.ion-md-color-fill:before{content:"\f2d0"}.ion-md-color-filter:before{content:"\f2d1"}.ion-md-color-palette:before{content:"\f2d2"}.ion-md-color-wand:before{content:"\f2d3"}.ion-md-compass:before{content:"\f2d4"}.ion-md-construct:before{content:"\f2d5"}.ion-md-contact:before{content:"\f2d6"}.ion-md-contacts:before{content:"\f2d7"}.ion-md-contract:before{content:"\f2d8"}.ion-md-contrast:before{content:"\f2d9"}.ion-md-copy:before{content:"\f2da"}.ion-md-create:before{content:"\f2db"}.ion-md-crop:before{content:"\f2dc"}.ion-md-cube:before{content:"\f2dd"}.ion-md-cut:before{content:"\f2de"}.ion-md-desktop:before{content:"\f2df"}.ion-md-disc:before{content:"\f2e0"}.ion-md-document:before{content:"\f2e1"}.ion-md-done-all:before{content:"\f2e2"}.ion-md-download:before{content:"\f2e3"}.ion-md-easel:before{content:"\f2e4"}.ion-md-egg:before{content:"\f2e5"}.ion-md-exit:before{content:"\f2e6"}.ion-md-expand:before{content:"\f2e7"}.ion-md-eye:before{content:"\f2e9"}.ion-md-eye-off:before{content:"\f2e8"}.ion-md-fastforward:before{content:"\f2ea"}.ion-md-female:before{content:"\f2eb"}.ion-md-filing:before{content:"\f2ec"}.ion-md-film:before{content:"\f2ed"}.ion-md-finger-print:before{content:"\f2ee"}.ion-md-flag:before{content:"\f2ef"}.ion-md-flame:before{content:"\f2f0"}.ion-md-flash:before{content:"\f2f1"}.ion-md-flask:before{content:"\f2f2"}.ion-md-flower:before{content:"\f2f3"}.ion-md-folder:before{content:"\f2f5"}.ion-md-folder-open:before{content:"\f2f4"}.ion-md-football:before{content:"\f2f6"}.ion-md-funnel:before{content:"\f2f7"}.ion-md-game-controller-a:before{content:"\f2f8"}.ion-md-game-controller-b:before{content:"\f2f9"}.ion-md-git-branch:before{content:"\f2fa"}.ion-md-git-commit:before{content:"\f2fb"}.ion-md-git-compare:before{content:"\f2fc"}.ion-md-git-merge:before{content:"\f2fd"}.ion-md-git-network:before{content:"\f2fe"}.ion-md-git-pull-request:before{content:"\f2ff"}.ion-md-glasses:before{content:"\f300"}.ion-md-globe:before{content:"\f301"}.ion-md-grid:before{content:"\f302"}.ion-md-hammer:before{content:"\f303"}.ion-md-hand:before{content:"\f304"}.ion-md-happy:before{content:"\f305"}.ion-md-headset:before{content:"\f306"}.ion-md-heart:before{content:"\f308"}.ion-md-heart-outline:before{content:"\f307"}.ion-md-help:before{content:"\f30b"}.ion-md-help-buoy:before{content:"\f309"}.ion-md-help-circle:before{content:"\f30a"}.ion-md-home:before{content:"\f30c"}.ion-md-ice-cream:before{content:"\f30d"}.ion-md-image:before{content:"\f30e"}.ion-md-images:before{content:"\f30f"}.ion-md-infinite:before{content:"\f310"}.ion-md-information:before{content:"\f312"}.ion-md-information-circle:before{content:"\f311"}.ion-md-ionic:before{content:"\f313"}.ion-md-ionitron:before{content:"\f314"}.ion-md-jet:before{content:"\f315"}.ion-md-key:before{content:"\f316"}.ion-md-keypad:before{content:"\f317"}.ion-md-laptop:before{content:"\f318"}.ion-md-leaf:before{content:"\f319"}.ion-md-link:before{content:"\f22e"}.ion-md-list:before{content:"\f31b"}.ion-md-list-box:before{content:"\f31a"}.ion-md-locate:before{content:"\f31c"}.ion-md-lock:before{content:"\f31d"}.ion-md-log-in:before{content:"\f31e"}.ion-md-log-out:before{content:"\f31f"}.ion-md-magnet:before{content:"\f320"}.ion-md-mail:before{content:"\f322"}.ion-md-mail-open:before{content:"\f321"}.ion-md-male:before{content:"\f323"}.ion-md-man:before{content:"\f324"}.ion-md-map:before{content:"\f325"}.ion-md-medal:before{content:"\f326"}.ion-md-medical:before{content:"\f327"}.ion-md-medkit:before{content:"\f328"}.ion-md-megaphone:before{content:"\f329"}.ion-md-menu:before{content:"\f32a"}.ion-md-mic:before{content:"\f32c"}.ion-md-mic-off:before{content:"\f32b"}.ion-md-microphone:before{content:"\f32d"}.ion-md-moon:before{content:"\f32e"}.ion-md-more:before{content:"\f1c9"}.ion-md-move:before{content:"\f331"}.ion-md-musical-note:before{content:"\f332"}.ion-md-musical-notes:before{content:"\f333"}.ion-md-navigate:before{content:"\f334"}.ion-md-no-smoking:before{content:"\f335"}.ion-md-notifications:before{content:"\f338"}.ion-md-notifications-off:before{content:"\f336"}.ion-md-notifications-outline:before{content:"\f337"}.ion-md-nuclear:before{content:"\f339"}.ion-md-nutrition:before{content:"\f33a"}.ion-md-open:before{content:"\f33b"}.ion-md-options:before{content:"\f33c"}.ion-md-outlet:before{content:"\f33d"}.ion-md-paper:before{content:"\f33f"}.ion-md-paper-plane:before{content:"\f33e"}.ion-md-partly-sunny:before{content:"\f340"}.ion-md-pause:before{content:"\f341"}.ion-md-paw:before{content:"\f342"}.ion-md-people:before{content:"\f343"}.ion-md-person:before{content:"\f345"}.ion-md-person-add:before{content:"\f344"}.ion-md-phone-landscape:before{content:"\f346"}.ion-md-phone-portrait:before{content:"\f347"}.ion-md-photos:before{content:"\f348"}.ion-md-pie:before{content:"\f349"}.ion-md-pin:before{content:"\f34a"}.ion-md-pint:before{content:"\f34b"}.ion-md-pizza:before{content:"\f354"}.ion-md-plane:before{content:"\f355"}.ion-md-planet:before{content:"\f356"}.ion-md-play:before{content:"\f357"}.ion-md-podium:before{content:"\f358"}.ion-md-power:before{content:"\f359"}.ion-md-pricetag:before{content:"\f35a"}.ion-md-pricetags:before{content:"\f35b"}.ion-md-print:before{content:"\f35c"}.ion-md-pulse:before{content:"\f35d"}.ion-md-qr-scanner:before{content:"\f35e"}.ion-md-quote:before{content:"\f35f"}.ion-md-radio:before{content:"\f362"}.ion-md-radio-button-off:before{content:"\f360"}.ion-md-radio-button-on:before{content:"\f361"}.ion-md-rainy:before{content:"\f363"}.ion-md-recording:before{content:"\f364"}.ion-md-redo:before{content:"\f365"}.ion-md-refresh:before{content:"\f366"}.ion-md-refresh-circle:before{content:"\f228"}.ion-md-remove:before{content:"\f368"}.ion-md-remove-circle:before{content:"\f367"}.ion-md-reorder:before{content:"\f369"}.ion-md-repeat:before{content:"\f36a"}.ion-md-resize:before{content:"\f36b"}.ion-md-restaurant:before{content:"\f36c"}.ion-md-return-left:before{content:"\f36d"}.ion-md-return-right:before{content:"\f36e"}.ion-md-reverse-camera:before{content:"\f36f"}.ion-md-rewind:before{content:"\f370"}.ion-md-ribbon:before{content:"\f371"}.ion-md-rose:before{content:"\f372"}.ion-md-sad:before{content:"\f373"}.ion-md-school:before{content:"\f374"}.ion-md-search:before{content:"\f375"}.ion-md-send:before{content:"\f376"}.ion-md-settings:before{content:"\f377"}.ion-md-share:before{content:"\f379"}.ion-md-share-alt:before{content:"\f378"}.ion-md-shirt:before{content:"\f37a"}.ion-md-shuffle:before{content:"\f37b"}.ion-md-skip-backward:before{content:"\f37c"}.ion-md-skip-forward:before{content:"\f37d"}.ion-md-snow:before{content:"\f37e"}.ion-md-speedometer:before{content:"\f37f"}.ion-md-square:before{content:"\f381"}.ion-md-square-outline:before{content:"\f380"}.ion-md-star:before{content:"\f384"}.ion-md-star-half:before{content:"\f382"}.ion-md-star-outline:before{content:"\f383"}.ion-md-stats:before{content:"\f385"}.ion-md-stopwatch:before{content:"\f386"}.ion-md-subway:before{content:"\f387"}.ion-md-sunny:before{content:"\f388"}.ion-md-swap:before{content:"\f389"}.ion-md-switch:before{content:"\f38a"}.ion-md-sync:before{content:"\f38b"}.ion-md-tablet-landscape:before{content:"\f38c"}.ion-md-tablet-portrait:before{content:"\f38d"}.ion-md-tennisball:before{content:"\f38e"}.ion-md-text:before{content:"\f38f"}.ion-md-thermometer:before{content:"\f390"}.ion-md-thumbs-down:before{content:"\f391"}.ion-md-thumbs-up:before{content:"\f392"}.ion-md-thunderstorm:before{content:"\f393"}.ion-md-time:before{content:"\f394"}.ion-md-timer:before{content:"\f395"}.ion-md-train:before{content:"\f396"}.ion-md-transgender:before{content:"\f397"}.ion-md-trash:before{content:"\f398"}.ion-md-trending-down:before{content:"\f399"}.ion-md-trending-up:before{content:"\f39a"}.ion-md-trophy:before{content:"\f39b"}.ion-md-umbrella:before{content:"\f39c"}.ion-md-undo:before{content:"\f39d"}.ion-md-unlock:before{content:"\f39e"}.ion-md-videocam:before{content:"\f39f"}.ion-md-volume-down:before{content:"\f3a0"}.ion-md-volume-mute:before{content:"\f3a1"}.ion-md-volume-off:before{content:"\f3a2"}.ion-md-volume-up:before{content:"\f3a3"}.ion-md-walk:before{content:"\f3a4"}.ion-md-warning:before{content:"\f3a5"}.ion-md-watch:before{content:"\f3a6"}.ion-md-water:before{content:"\f3a7"}.ion-md-wifi:before{content:"\f3a8"}.ion-md-wine:before{content:"\f3a9"}.ion-md-woman:before{content:"\f3aa"}@font-face{font-family:linea-weather;src:url(../fonts/linea-weather.eot);src:url(../fonts/linea-weather.eot?#iefix) format("eot"),url(../fonts/linea-weather.woff) format("woff"),url(../fonts/linea-weather.ttf) format("truetype"),url(../fonts/linea-weather.svg#linea-weather) format("svg")}.lwe{font-family:linea-weather;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.lwe-weather-aquarius:before{content:"\e000"}.lwe-weather-aries:before{content:"\e001"}.lwe-weather-cancer:before{content:"\e002"}.lwe-weather-capricorn:before{content:"\e003"}.lwe-weather-cloud:before{content:"\e004"}.lwe-weather-cloud-drop:before{content:"\e005"}.lwe-weather-cloud-lightning:before{content:"\e006"}.lwe-weather-cloud-snowflake:before{content:"\e007"}.lwe-weather-downpour-fullmoon:before{content:"\e008"}.lwe-weather-downpour-halfmoon:before{content:"\e009"}.lwe-weather-downpour-sun:before{content:"\e00a"}.lwe-weather-drop:before{content:"\e00b"}.lwe-weather-first-quarter:before{content:"\e00c"}.lwe-weather-fog:before{content:"\e00d"}.lwe-weather-fog-fullmoon:before{content:"\e00e"}.lwe-weather-fog-halfmoon:before{content:"\e00f"}.lwe-weather-fog-sun:before{content:"\e010"}.lwe-weather-fullmoon:before{content:"\e011"}.lwe-weather-gemini:before{content:"\e012"}.lwe-weather-hail:before{content:"\e013"}.lwe-weather-hail-fullmoon:before{content:"\e014"}.lwe-weather-hail-halfmoon:before{content:"\e015"}.lwe-weather-hail-sun:before{content:"\e016"}.lwe-weather-last-quarter:before{content:"\e017"}.lwe-weather-leo:before{content:"\e018"}.lwe-weather-libra:before{content:"\e019"}.lwe-weather-lightning:before{content:"\e01a"}.lwe-weather-mistyrain:before{content:"\e01b"}.lwe-weather-mistyrain-fullmoon:before{content:"\e01c"}.lwe-weather-mistyrain-halfmoon:before{content:"\e01d"}.lwe-weather-mistyrain-sun:before{content:"\e01e"}.lwe-weather-moon:before{content:"\e01f"}.lwe-weather-moondown-full:before{content:"\e020"}.lwe-weather-moondown-half:before{content:"\e021"}.lwe-weather-moonset-full:before{content:"\e022"}.lwe-weather-moonset-half:before{content:"\e023"}.lwe-weather-move2:before{content:"\e024"}.lwe-weather-newmoon:before{content:"\e025"}.lwe-weather-pisces:before{content:"\e026"}.lwe-weather-rain:before{content:"\e027"}.lwe-weather-rain-fullmoon:before{content:"\e028"}.lwe-weather-rain-halfmoon:before{content:"\e029"}.lwe-weather-rain-sun:before{content:"\e02a"}.lwe-weather-sagittarius:before{content:"\e02b"}.lwe-weather-scorpio:before{content:"\e02c"}.lwe-weather-snow:before{content:"\e02d"}.lwe-weather-snow-fullmoon:before{content:"\e02e"}.lwe-weather-snow-halfmoon:before{content:"\e02f"}.lwe-weather-snow-sun:before{content:"\e030"}.lwe-weather-snowflake:before{content:"\e031"}.lwe-weather-star:before{content:"\e032"}.lwe-weather-storm-11:before{content:"\e033"}.lwe-weather-storm-32:before{content:"\e034"}.lwe-weather-storm-fullmoon:before{content:"\e035"}.lwe-weather-storm-halfmoon:before{content:"\e036"}.lwe-weather-storm-sun:before{content:"\e037"}.lwe-weather-sun:before{content:"\e038"}.lwe-weather-sundown:before{content:"\e039"}.lwe-weather-sunset:before{content:"\e03a"}.lwe-weather-taurus:before{content:"\e03b"}.lwe-weather-tempest:before{content:"\e03c"}.lwe-weather-tempest-fullmoon:before{content:"\e03d"}.lwe-weather-tempest-halfmoon:before{content:"\e03e"}.lwe-weather-tempest-sun:before{content:"\e03f"}.lwe-weather-variable-fullmoon:before{content:"\e040"}.lwe-weather-variable-halfmoon:before{content:"\e041"}.lwe-weather-variable-sun:before{content:"\e042"}.lwe-weather-virgo:before{content:"\e043"}.lwe-weather-waning-cresent:before{content:"\e044"}.lwe-weather-waning-gibbous:before{content:"\e045"}.lwe-weather-waxing-cresent:before{content:"\e046"}.lwe-weather-waxing-gibbous:before{content:"\e047"}.lwe-weather-wind:before{content:"\e048"}.lwe-weather-wind-e:before{content:"\e049"}.lwe-weather-wind-fullmoon:before{content:"\e04a"}.lwe-weather-wind-halfmoon:before{content:"\e04b"}.lwe-weather-wind-n:before{content:"\e04c"}.lwe-weather-wind-ne:before{content:"\e04d"}.lwe-weather-wind-nw:before{content:"\e04e"}.lwe-weather-wind-s:before{content:"\e04f"}.lwe-weather-wind-se:before{content:"\e050"}.lwe-weather-wind-sun:before{content:"\e051"}.lwe-weather-wind-sw:before{content:"\e052"}.lwe-weather-wind-w:before{content:"\e053"}.lwe-weather-windgust:before{content:"\e054"}@font-face{font-family:material-icons;src:url(../fonts/material-icons.eot);src:url(../fonts/material-icons.eot?#iefix) format("eot"),url(../fonts/material-icons.woff2) format("woff2"),url(../fonts/material-icons.woff) format("woff"),url(../fonts/material-icons.ttf) format("truetype"),url(../fonts/material-icons.svg#material-icons) format("svg")}.zmdi{font-family:material-icons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.zmdi-3d-rotation:before{content:"\f101"}.zmdi-airplane-off:before{content:"\f102"}.zmdi-airplane:before{content:"\f103"}.zmdi-album:before{content:"\f104"}.zmdi-archive:before{content:"\f105"}.zmdi-assignment-account:before{content:"\f106"}.zmdi-assignment-alert:before{content:"\f107"}.zmdi-assignment-check:before{content:"\f108"}.zmdi-assignment-o:before{content:"\f109"}.zmdi-assignment-return:before{content:"\f10a"}.zmdi-assignment-returned:before{content:"\f10b"}.zmdi-assignment:before{content:"\f10c"}.zmdi-attachment-alt:before{content:"\f10d"}.zmdi-attachment:before{content:"\f10e"}.zmdi-audio:before{content:"\f10f"}.zmdi-badge-check:before{content:"\f110"}.zmdi-balance-wallet:before{content:"\f111"}.zmdi-balance:before{content:"\f112"}.zmdi-battery-alert:before{content:"\f113"}.zmdi-battery-flash:before{content:"\f114"}.zmdi-battery-unknown:before{content:"\f115"}.zmdi-battery:before{content:"\f116"}.zmdi-bike:before{content:"\f117"}.zmdi-block-alt:before{content:"\f118"}.zmdi-block:before{content:"\f119"}.zmdi-boat:before{content:"\f11a"}.zmdi-book-image:before{content:"\f11b"}.zmdi-book:before{content:"\f11c"}.zmdi-bookmark-outline:before{content:"\f11d"}.zmdi-bookmark:before{content:"\f11e"}.zmdi-brush:before{content:"\f11f"}.zmdi-bug:before{content:"\f120"}.zmdi-bus:before{content:"\f121"}.zmdi-cake:before{content:"\f122"}.zmdi-car-taxi:before{content:"\f123"}.zmdi-car-wash:before{content:"\f124"}.zmdi-car:before{content:"\f125"}.zmdi-card-giftcard:before{content:"\f126"}.zmdi-card-membership:before{content:"\f127"}.zmdi-card-travel:before{content:"\f128"}.zmdi-card:before{content:"\f129"}.zmdi-case-check:before{content:"\f12a"}.zmdi-case-download:before{content:"\f12b"}.zmdi-case-play:before{content:"\f12c"}.zmdi-case:before{content:"\f12d"}.zmdi-cast-connected:before{content:"\f12e"}.zmdi-cast:before{content:"\f12f"}.zmdi-chart-donut:before{content:"\f130"}.zmdi-chart:before{content:"\f131"}.zmdi-city-alt:before{content:"\f132"}.zmdi-city:before{content:"\f133"}.zmdi-close-circle-o:before{content:"\f134"}.zmdi-close-circle:before{content:"\f135"}.zmdi-close:before{content:"\f136"}.zmdi-cocktail:before{content:"\f137"}.zmdi-code-setting:before{content:"\f138"}.zmdi-code-smartphone:before{content:"\f139"}.zmdi-code:before{content:"\f13a"}.zmdi-coffee:before{content:"\f13b"}.zmdi-collection-bookmark:before{content:"\f13c"}.zmdi-collection-case-play:before{content:"\f13d"}.zmdi-collection-folder-image:before{content:"\f13e"}.zmdi-collection-image-o:before{content:"\f13f"}.zmdi-collection-image:before{content:"\f140"}.zmdi-collection-item-1:before{content:"\f141"}.zmdi-collection-item-2:before{content:"\f142"}.zmdi-collection-item-3:before{content:"\f143"}.zmdi-collection-item-4:before{content:"\f144"}.zmdi-collection-item-5:before{content:"\f145"}.zmdi-collection-item-6:before{content:"\f146"}.zmdi-collection-item-7:before{content:"\f147"}.zmdi-collection-item-8:before{content:"\f148"}.zmdi-collection-item-9-plus:before{content:"\f149"}.zmdi-collection-item-9:before{content:"\f14a"}.zmdi-collection-item:before{content:"\f14b"}.zmdi-collection-music:before{content:"\f14c"}.zmdi-collection-pdf:before{content:"\f14d"}.zmdi-collection-plus:before{content:"\f14e"}.zmdi-collection-speaker:before{content:"\f14f"}.zmdi-collection-text:before{content:"\f150"}.zmdi-collection-video:before{content:"\f151"}.zmdi-compass:before{content:"\f152"}.zmdi-cutlery:before{content:"\f153"}.zmdi-delete:before{content:"\f154"}.zmdi-dialpad:before{content:"\f155"}.zmdi-dns:before{content:"\f156"}.zmdi-drink:before{content:"\f157"}.zmdi-edit:before{content:"\f158"}.zmdi-email-open:before{content:"\f159"}.zmdi-email:before{content:"\f15a"}.zmdi-eye-off:before{content:"\f15b"}.zmdi-eye:before{content:"\f15c"}.zmdi-eyedropper:before{content:"\f15d"}.zmdi-favorite-outline:before{content:"\f15e"}.zmdi-favorite:before{content:"\f15f"}.zmdi-filter-list:before{content:"\f160"}.zmdi-fire:before{content:"\f161"}.zmdi-flag:before{content:"\f162"}.zmdi-flare:before{content:"\f163"}.zmdi-flash-auto:before{content:"\f164"}.zmdi-flash-off:before{content:"\f165"}.zmdi-flash:before{content:"\f166"}.zmdi-flip:before{content:"\f167"}.zmdi-flower-alt:before{content:"\f168"}.zmdi-flower:before{content:"\f169"}.zmdi-font:before{content:"\f16a"}.zmdi-fullscreen-alt:before{content:"\f16b"}.zmdi-fullscreen-exit:before{content:"\f16c"}.zmdi-fullscreen:before{content:"\f16d"}.zmdi-functions:before{content:"\f16e"}.zmdi-gas-station:before{content:"\f16f"}.zmdi-gesture:before{content:"\f170"}.zmdi-globe-alt:before{content:"\f171"}.zmdi-globe-lock:before{content:"\f172"}.zmdi-globe:before{content:"\f173"}.zmdi-graduation-cap:before{content:"\f174"}.zmdi-group:before{content:"\f3e9"}.zmdi-home:before{content:"\f175"}.zmdi-hospital-alt:before{content:"\f176"}.zmdi-hospital:before{content:"\f177"}.zmdi-hotel:before{content:"\f178"}.zmdi-hourglass-alt:before{content:"\f179"}.zmdi-hourglass-outline:before{content:"\f17a"}.zmdi-hourglass:before{content:"\f17b"}.zmdi-http:before{content:"\f17c"}.zmdi-image-alt:before{content:"\f17d"}.zmdi-image-o:before{content:"\f17e"}.zmdi-image:before{content:"\f17f"}.zmdi-inbox:before{content:"\f180"}.zmdi-invert-colors-off:before{content:"\f181"}.zmdi-invert-colors:before{content:"\f182"}.zmdi-key:before{content:"\f183"}.zmdi-label-alt-outline:before{content:"\f184"}.zmdi-label-alt:before{content:"\f185"}.zmdi-label-heart:before{content:"\f186"}.zmdi-label:before{content:"\f187"}.zmdi-labels:before{content:"\f188"}.zmdi-lamp:before{content:"\f189"}.zmdi-landscape:before{content:"\f18a"}.zmdi-layers-off:before{content:"\f18b"}.zmdi-layers:before{content:"\f18c"}.zmdi-library:before{content:"\f18d"}.zmdi-link:before{content:"\f18e"}.zmdi-lock-open:before{content:"\f18f"}.zmdi-lock-outline:before{content:"\f190"}.zmdi-lock:before{content:"\f191"}.zmdi-mail-reply-all:before{content:"\f192"}.zmdi-mail-reply:before{content:"\f193"}.zmdi-mail-send:before{content:"\f194"}.zmdi-mall:before{content:"\f195"}.zmdi-map:before{content:"\f196"}.zmdi-menu:before{content:"\f197"}.zmdi-money-box:before{content:"\f198"}.zmdi-money-off:before{content:"\f199"}.zmdi-money:before{content:"\f19a"}.zmdi-more-vert:before{content:"\f19b"}.zmdi-more:before{content:"\f19c"}.zmdi-movie-alt:before{content:"\f19d"}.zmdi-movie:before{content:"\f19e"}.zmdi-nature-people:before{content:"\f19f"}.zmdi-nature:before{content:"\f1a0"}.zmdi-navigation:before{content:"\f1a1"}.zmdi-open-in-browser:before{content:"\f1a2"}.zmdi-open-in-new:before{content:"\f1a3"}.zmdi-palette:before{content:"\f1a4"}.zmdi-parking:before{content:"\f1a5"}.zmdi-pin-account:before{content:"\f1a6"}.zmdi-pin-assistant:before{content:"\f1a7"}.zmdi-pin-drop:before{content:"\f1a8"}.zmdi-pin-help:before{content:"\f1a9"}.zmdi-pin-off:before{content:"\f1aa"}.zmdi-pin:before{content:"\f1ab"}.zmdi-pizza:before{content:"\f1ac"}.zmdi-plaster:before{content:"\f1ad"}.zmdi-power-setting:before{content:"\f1ae"}.zmdi-power:before{content:"\f1af"}.zmdi-print:before{content:"\f1b0"}.zmdi-puzzle-piece:before{content:"\f1b1"}.zmdi-quote:before{content:"\f1b2"}.zmdi-railway:before{content:"\f1b3"}.zmdi-receipt:before{content:"\f1b4"}.zmdi-refresh-alt:before{content:"\f1b5"}.zmdi-refresh-sync-alert:before{content:"\f1b6"}.zmdi-refresh-sync-off:before{content:"\f1b7"}.zmdi-refresh-sync:before{content:"\f1b8"}.zmdi-refresh:before{content:"\f1b9"}.zmdi-roller:before{content:"\f1ba"}.zmdi-ruler:before{content:"\f1bb"}.zmdi-scissors:before{content:"\f1bc"}.zmdi-screen-rotation-lock:before{content:"\f1bd"}.zmdi-screen-rotation:before{content:"\f1be"}.zmdi-search-for:before{content:"\f1bf"}.zmdi-search-in-file:before{content:"\f1c0"}.zmdi-search-in-page:before{content:"\f1c1"}.zmdi-search-replace:before{content:"\f1c2"}.zmdi-search:before{content:"\f1c3"}.zmdi-seat:before{content:"\f1c4"}.zmdi-settings-square:before{content:"\f1c5"}.zmdi-settings:before{content:"\f1c6"}.zmdi-shape:before{content:"\f3eb"}.zmdi-shield-check:before{content:"\f1c7"}.zmdi-shield-security:before{content:"\f1c8"}.zmdi-shopping-basket:before{content:"\f1c9"}.zmdi-shopping-cart-plus:before{content:"\f1ca"}.zmdi-shopping-cart:before{content:"\f1cb"}.zmdi-sign-in:before{content:"\f1cc"}.zmdi-sort-amount-asc:before{content:"\f1cd"}.zmdi-sort-amount-desc:before{content:"\f1ce"}.zmdi-sort-asc:before{content:"\f1cf"}.zmdi-sort-desc:before{content:"\f1d0"}.zmdi-spellcheck:before{content:"\f1d1"}.zmdi-spinner:before{content:"\f3ec"}.zmdi-storage:before{content:"\f1d2"}.zmdi-store-24:before{content:"\f1d3"}.zmdi-store:before{content:"\f1d4"}.zmdi-subway:before{content:"\f1d5"}.zmdi-sun:before{content:"\f1d6"}.zmdi-tab-unselected:before{content:"\f1d7"}.zmdi-tab:before{content:"\f1d8"}.zmdi-tag-close:before{content:"\f1d9"}.zmdi-tag-more:before{content:"\f1da"}.zmdi-tag:before{content:"\f1db"}.zmdi-thumb-down:before{content:"\f1dc"}.zmdi-thumb-up-down:before{content:"\f1dd"}.zmdi-thumb-up:before{content:"\f1de"}.zmdi-ticket-star:before{content:"\f1df"}.zmdi-toll:before{content:"\f1e0"}.zmdi-toys:before{content:"\f1e1"}.zmdi-traffic:before{content:"\f1e2"}.zmdi-translate:before{content:"\f1e3"}.zmdi-triangle-down:before{content:"\f1e4"}.zmdi-triangle-up:before{content:"\f1e5"}.zmdi-truck:before{content:"\f1e6"}.zmdi-turning-sign:before{content:"\f1e7"}.zmdi-ungroup:before{content:"\f3ed"}.zmdi-wallpaper:before{content:"\f1e8"}.zmdi-washing-machine:before{content:"\f1e9"}.zmdi-window-maximize:before{content:"\f1ea"}.zmdi-window-minimize:before{content:"\f1eb"}.zmdi-window-restore:before{content:"\f1ec"}.zmdi-wrench:before{content:"\f1ed"}.zmdi-zoom-in:before{content:"\f1ee"}.zmdi-zoom-out:before{content:"\f1ef"}.zmdi-alert-circle-o:before{content:"\f1f0"}.zmdi-alert-circle:before{content:"\f1f1"}.zmdi-alert-octagon:before{content:"\f1f2"}.zmdi-alert-polygon:before{content:"\f1f3"}.zmdi-alert-triangle:before{content:"\f1f4"}.zmdi-help-outline:before{content:"\f1f5"}.zmdi-help:before{content:"\f1f6"}.zmdi-info-outline:before{content:"\f1f7"}.zmdi-info:before{content:"\f1f8"}.zmdi-notifications-active:before{content:"\f1f9"}.zmdi-notifications-add:before{content:"\f1fa"}.zmdi-notifications-none:before{content:"\f1fb"}.zmdi-notifications-off:before{content:"\f1fc"}.zmdi-notifications-paused:before{content:"\f1fd"}.zmdi-notifications:before{content:"\f1fe"}.zmdi-account-add:before{content:"\f1ff"}.zmdi-account-box-mail:before{content:"\f200"}.zmdi-account-box-o:before{content:"\f201"}.zmdi-account-box-phone:before{content:"\f202"}.zmdi-account-box:before{content:"\f203"}.zmdi-account-calendar:before{content:"\f204"}.zmdi-account-circle:before{content:"\f205"}.zmdi-account-o:before{content:"\f206"}.zmdi-account:before{content:"\f207"}.zmdi-accounts-add:before{content:"\f208"}.zmdi-accounts-alt:before{content:"\f209"}.zmdi-accounts-list-alt:before{content:"\f20a"}.zmdi-accounts-list:before{content:"\f20b"}.zmdi-accounts-outline:before{content:"\f20c"}.zmdi-accounts:before{content:"\f20d"}.zmdi-face:before{content:"\f20e"}.zmdi-female:before{content:"\f20f"}.zmdi-male-alt:before{content:"\f210"}.zmdi-male-female:before{content:"\f211"}.zmdi-male:before{content:"\f212"}.zmdi-mood-bad:before{content:"\f213"}.zmdi-mood:before{content:"\f214"}.zmdi-run:before{content:"\f215"}.zmdi-walk:before{content:"\f216"}.zmdi-cloud-box:before{content:"\f217"}.zmdi-cloud-circle:before{content:"\f218"}.zmdi-cloud-done:before{content:"\f219"}.zmdi-cloud-download:before{content:"\f21a"}.zmdi-cloud-off:before{content:"\f21b"}.zmdi-cloud-outline-alt:before{content:"\f21c"}.zmdi-cloud-outline:before{content:"\f21d"}.zmdi-cloud-upload:before{content:"\f21e"}.zmdi-cloud:before{content:"\f21f"}.zmdi-download:before{content:"\f220"}.zmdi-file-plus:before{content:"\f221"}.zmdi-file-text:before{content:"\f222"}.zmdi-file:before{content:"\f223"}.zmdi-folder-outline:before{content:"\f224"}.zmdi-folder-person:before{content:"\f225"}.zmdi-folder-star-alt:before{content:"\f226"}.zmdi-folder-star:before{content:"\f227"}.zmdi-folder:before{content:"\f228"}.zmdi-gif:before{content:"\f229"}.zmdi-upload:before{content:"\f22a"}.zmdi-border-all:before{content:"\f22b"}.zmdi-border-bottom:before{content:"\f22c"}.zmdi-border-clear:before{content:"\f22d"}.zmdi-border-color:before{content:"\f22e"}.zmdi-border-horizontal:before{content:"\f22f"}.zmdi-border-inner:before{content:"\f230"}.zmdi-border-left:before{content:"\f231"}.zmdi-border-outer:before{content:"\f232"}.zmdi-border-right:before{content:"\f233"}.zmdi-border-style:before{content:"\f234"}.zmdi-border-top:before{content:"\f235"}.zmdi-border-vertical:before{content:"\f236"}.zmdi-copy:before{content:"\f237"}.zmdi-crop:before{content:"\f238"}.zmdi-format-align-center:before{content:"\f239"}.zmdi-format-align-justify:before{content:"\f23a"}.zmdi-format-align-left:before{content:"\f23b"}.zmdi-format-align-right:before{content:"\f23c"}.zmdi-format-bold:before{content:"\f23d"}.zmdi-format-clear-all:before{content:"\f23e"}.zmdi-format-clear:before{content:"\f23f"}.zmdi-format-color-fill:before{content:"\f240"}.zmdi-format-color-reset:before{content:"\f241"}.zmdi-format-color-text:before{content:"\f242"}.zmdi-format-indent-decrease:before{content:"\f243"}.zmdi-format-indent-increase:before{content:"\f244"}.zmdi-format-italic:before{content:"\f245"}.zmdi-format-line-spacing:before{content:"\f246"}.zmdi-format-list-bulleted:before{content:"\f247"}.zmdi-format-list-numbered:before{content:"\f248"}.zmdi-format-ltr:before{content:"\f249"}.zmdi-format-rtl:before{content:"\f24a"}.zmdi-format-size:before{content:"\f24b"}.zmdi-format-strikethrough-s:before{content:"\f24c"}.zmdi-format-strikethrough:before{content:"\f24d"}.zmdi-format-subject:before{content:"\f24e"}.zmdi-format-underlined:before{content:"\f24f"}.zmdi-format-valign-bottom:before{content:"\f250"}.zmdi-format-valign-center:before{content:"\f251"}.zmdi-format-valign-top:before{content:"\f252"}.zmdi-redo:before{content:"\f253"}.zmdi-select-all:before{content:"\f254"}.zmdi-space-bar:before{content:"\f255"}.zmdi-text-format:before{content:"\f256"}.zmdi-transform:before{content:"\f257"}.zmdi-undo:before{content:"\f258"}.zmdi-wrap-text:before{content:"\f259"}.zmdi-comment-alert:before{content:"\f25a"}.zmdi-comment-alt-text:before{content:"\f25b"}.zmdi-comment-alt:before{content:"\f25c"}.zmdi-comment-edit:before{content:"\f25d"}.zmdi-comment-image:before{content:"\f25e"}.zmdi-comment-list:before{content:"\f25f"}.zmdi-comment-more:before{content:"\f260"}.zmdi-comment-outline:before{content:"\f261"}.zmdi-comment-text-alt:before{content:"\f262"}.zmdi-comment-text:before{content:"\f263"}.zmdi-comment-video:before{content:"\f264"}.zmdi-comment:before{content:"\f265"}.zmdi-comments:before{content:"\f266"}.zmdi-check-all:before{content:"\f267"}.zmdi-check-circle-u:before{content:"\f268"}.zmdi-check-circle:before{content:"\f269"}.zmdi-check-square:before{content:"\f26a"}.zmdi-check:before{content:"\f26b"}.zmdi-circle-o:before{content:"\f26c"}.zmdi-circle:before{content:"\f26d"}.zmdi-dot-circle-alt:before{content:"\f26e"}.zmdi-dot-circle:before{content:"\f26f"}.zmdi-minus-circle-outline:before{content:"\f270"}.zmdi-minus-circle:before{content:"\f271"}.zmdi-minus-square:before{content:"\f272"}.zmdi-minus:before{content:"\f273"}.zmdi-plus-circle-o-duplicate:before{content:"\f274"}.zmdi-plus-circle-o:before{content:"\f275"}.zmdi-plus-circle:before{content:"\f276"}.zmdi-plus-square:before{content:"\f277"}.zmdi-plus:before{content:"\f278"}.zmdi-square-o:before{content:"\f279"}.zmdi-star-circle:before{content:"\f27a"}.zmdi-star-half:before{content:"\f27b"}.zmdi-star-outline:before{content:"\f27c"}.zmdi-star:before{content:"\f27d"}.zmdi-bluetooth-connected:before{content:"\f27e"}.zmdi-bluetooth-off:before{content:"\f27f"}.zmdi-bluetooth-search:before{content:"\f280"}.zmdi-bluetooth-setting:before{content:"\f281"}.zmdi-bluetooth:before{content:"\f282"}.zmdi-camera-add:before{content:"\f283"}.zmdi-camera-alt:before{content:"\f284"}.zmdi-camera-bw:before{content:"\f285"}.zmdi-camera-front:before{content:"\f286"}.zmdi-camera-mic:before{content:"\f287"}.zmdi-camera-party-mode:before{content:"\f288"}.zmdi-camera-rear:before{content:"\f289"}.zmdi-camera-roll:before{content:"\f28a"}.zmdi-camera-switch:before{content:"\f28b"}.zmdi-camera:before{content:"\f28c"}.zmdi-card-alert:before{content:"\f28d"}.zmdi-card-off:before{content:"\f28e"}.zmdi-card-sd:before{content:"\f28f"}.zmdi-card-sim:before{content:"\f290"}.zmdi-desktop-mac:before{content:"\f291"}.zmdi-desktop-windows:before{content:"\f292"}.zmdi-device-hub:before{content:"\f293"}.zmdi-devices-off:before{content:"\f294"}.zmdi-devices:before{content:"\f295"}.zmdi-dock:before{content:"\f296"}.zmdi-floppy:before{content:"\f297"}.zmdi-gamepad:before{content:"\f298"}.zmdi-gps-dot:before{content:"\f299"}.zmdi-gps-off:before{content:"\f29a"}.zmdi-gps:before{content:"\f29b"}.zmdi-headset-mic:before{content:"\f29c"}.zmdi-headset:before{content:"\f29d"}.zmdi-input-antenna:before{content:"\f29e"}.zmdi-input-composite:before{content:"\f29f"}.zmdi-input-hdmi:before{content:"\f2a0"}.zmdi-input-power:before{content:"\f2a1"}.zmdi-input-svideo:before{content:"\f2a2"}.zmdi-keyboard-hide:before{content:"\f2a3"}.zmdi-keyboard:before{content:"\f2a4"}.zmdi-laptop-chromebook:before{content:"\f2a5"}.zmdi-laptop-mac:before{content:"\f2a6"}.zmdi-laptop:before{content:"\f2a7"}.zmdi-mic-off:before{content:"\f2a8"}.zmdi-mic-outline:before{content:"\f2a9"}.zmdi-mic-setting:before{content:"\f2aa"}.zmdi-mic:before{content:"\f2ab"}.zmdi-mouse:before{content:"\f2ac"}.zmdi-network-alert:before{content:"\f2ad"}.zmdi-network-locked:before{content:"\f2ae"}.zmdi-network-off:before{content:"\f2af"}.zmdi-network-outline:before{content:"\f2b0"}.zmdi-network-setting:before{content:"\f2b1"}.zmdi-network:before{content:"\f2b2"}.zmdi-phone-bluetooth:before{content:"\f2b3"}.zmdi-phone-end:before{content:"\f2b4"}.zmdi-phone-forwarded:before{content:"\f2b5"}.zmdi-phone-in-talk:before{content:"\f2b6"}.zmdi-phone-locked:before{content:"\f2b7"}.zmdi-phone-missed:before{content:"\f2b8"}.zmdi-phone-msg:before{content:"\f2b9"}.zmdi-phone-paused:before{content:"\f2ba"}.zmdi-phone-ring:before{content:"\f2bb"}.zmdi-phone-setting:before{content:"\f2bc"}.zmdi-phone-sip:before{content:"\f2bd"}.zmdi-phone:before{content:"\f2be"}.zmdi-portable-wifi-changes:before{content:"\f2bf"}.zmdi-portable-wifi-off:before{content:"\f2c0"}.zmdi-portable-wifi:before{content:"\f2c1"}.zmdi-radio:before{content:"\f2c2"}.zmdi-reader:before{content:"\f2c3"}.zmdi-remote-control-alt:before{content:"\f2c4"}.zmdi-remote-control:before{content:"\f2c5"}.zmdi-router:before{content:"\f2c6"}.zmdi-scanner:before{content:"\f2c7"}.zmdi-smartphone-android:before{content:"\f2c8"}.zmdi-smartphone-download:before{content:"\f2c9"}.zmdi-smartphone-erase:before{content:"\f2ca"}.zmdi-smartphone-info:before{content:"\f2cb"}.zmdi-smartphone-iphone:before{content:"\f2cc"}.zmdi-smartphone-landscape-lock:before{content:"\f2cd"}.zmdi-smartphone-landscape:before{content:"\f2ce"}.zmdi-smartphone-lock:before{content:"\f2cf"}.zmdi-smartphone-portrait-lock:before{content:"\f2d0"}.zmdi-smartphone-ring:before{content:"\f2d1"}.zmdi-smartphone-setting:before{content:"\f2d2"}.zmdi-smartphone-setup:before{content:"\f2d3"}.zmdi-smartphone:before{content:"\f2d4"}.zmdi-speaker:before{content:"\f2d5"}.zmdi-tablet-android:before{content:"\f2d6"}.zmdi-tablet-mac:before{content:"\f2d7"}.zmdi-tablet:before{content:"\f2d8"}.zmdi-tv-alt-play:before{content:"\f2d9"}.zmdi-tv-list:before{content:"\f2da"}.zmdi-tv-play:before{content:"\f2db"}.zmdi-tv:before{content:"\f2dc"}.zmdi-usb:before{content:"\f2dd"}.zmdi-videocam-off:before{content:"\f2de"}.zmdi-videocam-switch:before{content:"\f2df"}.zmdi-videocam:before{content:"\f2e0"}.zmdi-watch:before{content:"\f2e1"}.zmdi-wifi-alt-2:before{content:"\f2e2"}.zmdi-wifi-alt:before{content:"\f2e3"}.zmdi-wifi-info:before{content:"\f2e4"}.zmdi-wifi-lock:before{content:"\f2e5"}.zmdi-wifi-off:before{content:"\f2e6"}.zmdi-wifi-outline:before{content:"\f2e7"}.zmdi-wifi:before{content:"\f2e8"}.zmdi-arrow-left-bottom:before{content:"\f2e9"}.zmdi-arrow-left:before{content:"\f2ea"}.zmdi-arrow-merge:before{content:"\f2eb"}.zmdi-arrow-missed:before{content:"\f2ec"}.zmdi-arrow-right-top:before{content:"\f2ed"}.zmdi-arrow-right:before{content:"\f2ee"}.zmdi-arrow-split:before{content:"\f2ef"}.zmdi-arrows:before{content:"\f2f0"}.zmdi-caret-down-circle:before{content:"\f2f1"}.zmdi-caret-down:before{content:"\f2f2"}.zmdi-caret-left-circle:before{content:"\f2f3"}.zmdi-caret-left:before{content:"\f2f4"}.zmdi-caret-right-circle:before{content:"\f2f5"}.zmdi-caret-right:before{content:"\f2f6"}.zmdi-caret-up-circle:before{content:"\f2f7"}.zmdi-caret-up:before{content:"\f2f8"}.zmdi-chevron-down:before{content:"\f2f9"}.zmdi-chevron-left:before{content:"\f2fa"}.zmdi-chevron-right:before{content:"\f2fb"}.zmdi-chevron-up:before{content:"\f2fc"}.zmdi-forward:before{content:"\f2fd"}.zmdi-long-arrow-down:before{content:"\f2fe"}.zmdi-long-arrow-left:before{content:"\f2ff"}.zmdi-long-arrow-return:before{content:"\f300"}.zmdi-long-arrow-right:before{content:"\f301"}.zmdi-long-arrow-tab:before{content:"\f302"}.zmdi-long-arrow-up:before{content:"\f303"}.zmdi-rotate-ccw:before{content:"\f304"}.zmdi-rotate-cw:before{content:"\f305"}.zmdi-rotate-left:before{content:"\f306"}.zmdi-rotate-right:before{content:"\f307"}.zmdi-square-down:before{content:"\f308"}.zmdi-square-right:before{content:"\f309"}.zmdi-swap-alt:before{content:"\f30a"}.zmdi-swap-vertical-circle:before{content:"\f30b"}.zmdi-swap-vertical:before{content:"\f30c"}.zmdi-swap:before{content:"\f30d"}.zmdi-trending-down:before{content:"\f30e"}.zmdi-trending-flat:before{content:"\f30f"}.zmdi-trending-up:before{content:"\f310"}.zmdi-unfold-less:before{content:"\f311"}.zmdi-unfold-more:before{content:"\f312"}.zmdi-apps:before{content:"\f313"}.zmdi-grid-off:before{content:"\f314"}.zmdi-grid:before{content:"\f315"}.zmdi-view-agenda:before{content:"\f316"}.zmdi-view-array:before{content:"\f317"}.zmdi-view-carousel:before{content:"\f318"}.zmdi-view-column:before{content:"\f319"}.zmdi-view-comfy:before{content:"\f31a"}.zmdi-view-compact:before{content:"\f31b"}.zmdi-view-dashboard:before{content:"\f31c"}.zmdi-view-day:before{content:"\f31d"}.zmdi-view-headline:before{content:"\f31e"}.zmdi-view-list-alt:before{content:"\f31f"}.zmdi-view-list:before{content:"\f320"}.zmdi-view-module:before{content:"\f321"}.zmdi-view-quilt:before{content:"\f322"}.zmdi-view-stream:before{content:"\f323"}.zmdi-view-subtitles:before{content:"\f324"}.zmdi-view-toc:before{content:"\f325"}.zmdi-view-web:before{content:"\f326"}.zmdi-view-week:before{content:"\f327"}.zmdi-widgets:before{content:"\f328"}.zmdi-alarm-check:before{content:"\f329"}.zmdi-alarm-off:before{content:"\f32a"}.zmdi-alarm-plus:before{content:"\f32b"}.zmdi-alarm-snooze:before{content:"\f32c"}.zmdi-alarm:before{content:"\f32d"}.zmdi-calendar-alt:before{content:"\f32e"}.zmdi-calendar-check:before{content:"\f32f"}.zmdi-calendar-close:before{content:"\f330"}.zmdi-calendar-note:before{content:"\f331"}.zmdi-calendar:before{content:"\f332"}.zmdi-time-countdown:before{content:"\f333"}.zmdi-time-interval:before{content:"\f334"}.zmdi-time-restore-setting:before{content:"\f335"}.zmdi-time-restore:before{content:"\f336"}.zmdi-time:before{content:"\f337"}.zmdi-timer-off:before{content:"\f338"}.zmdi-timer:before{content:"\f339"}.zmdi-android-alt:before{content:"\f33a"}.zmdi-android:before{content:"\f33b"}.zmdi-apple:before{content:"\f33c"}.zmdi-behance:before{content:"\f33d"}.zmdi-codepen:before{content:"\f33e"}.zmdi-dribbble:before{content:"\f33f"}.zmdi-dropbox:before{content:"\f340"}.zmdi-evernote:before{content:"\f341"}.zmdi-facebook-box:before{content:"\f342"}.zmdi-facebook:before{content:"\f343"}.zmdi-github-box:before{content:"\f344"}.zmdi-github:before{content:"\f345"}.zmdi-google-drive:before{content:"\f346"}.zmdi-google-earth:before{content:"\f347"}.zmdi-google-glass:before{content:"\f348"}.zmdi-google-maps:before{content:"\f349"}.zmdi-google-pages:before{content:"\f34a"}.zmdi-google-play:before{content:"\f34b"}.zmdi-google-plus-box:before{content:"\f34c"}.zmdi-google-plus:before{content:"\f34d"}.zmdi-google:before{content:"\f34e"}.zmdi-instagram:before{content:"\f34f"}.zmdi-language-css3:before{content:"\f350"}.zmdi-language-html5:before{content:"\f351"}.zmdi-language-javascript:before{content:"\f352"}.zmdi-language-python-alt:before{content:"\f353"}.zmdi-language-python:before{content:"\f354"}.zmdi-lastfm:before{content:"\f355"}.zmdi-linkedin-box:before{content:"\f356"}.zmdi-paypal:before{content:"\f357"}.zmdi-pinterest-box:before{content:"\f358"}.zmdi-pocket:before{content:"\f359"}.zmdi-polymer:before{content:"\f35a"}.zmdi-rss:before{content:"\f3ea"}.zmdi-share:before{content:"\f35b"}.zmdi-stackoverflow:before{content:"\f35c"}.zmdi-steam-square:before{content:"\f35d"}.zmdi-steam:before{content:"\f35e"}.zmdi-twitter-box:before{content:"\f35f"}.zmdi-twitter:before{content:"\f360"}.zmdi-vk:before{content:"\f361"}.zmdi-wikipedia:before{content:"\f362"}.zmdi-windows:before{content:"\f363"}.zmdi-500px:before{content:"\f3ee"}.zmdi-8tracks:before{content:"\f3ef"}.zmdi-amazon:before{content:"\f3f0"}.zmdi-blogger:before{content:"\f3f1"}.zmdi-delicious:before{content:"\f3f2"}.zmdi-disqus:before{content:"\f3f3"}.zmdi-flattr:before{content:"\f3f4"}.zmdi-flickr:before{content:"\f3f5"}.zmdi-github-alt:before{content:"\f3f6"}.zmdi-google-old:before{content:"\f3f7"}.zmdi-linkedin:before{content:"\f3f8"}.zmdi-odnoklassniki:before{content:"\f3f9"}.zmdi-outlook:before{content:"\f3fa"}.zmdi-paypal-alt:before{content:"\f3fb"}.zmdi-pinterest:before{content:"\f3fc"}.zmdi-playstation:before{content:"\f3fd"}.zmdi-reddit:before{content:"\f3fe"}.zmdi-skype:before{content:"\f3ff"}.zmdi-slideshare:before{content:"\f400"}.zmdi-soundcloud:before{content:"\f401"}.zmdi-tumblr:before{content:"\f402"}.zmdi-twitch:before{content:"\f403"}.zmdi-vimeo:before{content:"\f404"}.zmdi-whatsapp:before{content:"\f405"}.zmdi-xbox:before{content:"\f406"}.zmdi-yahoo:before{content:"\f407"}.zmdi-youtube-play:before{content:"\f408"}.zmdi-youtube:before{content:"\f409"}.zmdi-aspect-ratio-alt:before{content:"\f364"}.zmdi-aspect-ratio:before{content:"\f365"}.zmdi-blur-circular:before{content:"\f366"}.zmdi-blur-linear:before{content:"\f367"}.zmdi-blur-off:before{content:"\f368"}.zmdi-blur:before{content:"\f369"}.zmdi-brightness-2:before{content:"\f36a"}.zmdi-brightness-3:before{content:"\f36b"}.zmdi-brightness-4:before{content:"\f36c"}.zmdi-brightness-5:before{content:"\f36d"}.zmdi-brightness-6:before{content:"\f36e"}.zmdi-brightness-7:before{content:"\f36f"}.zmdi-brightness-auto:before{content:"\f370"}.zmdi-brightness-setting:before{content:"\f371"}.zmdi-broken-image:before{content:"\f372"}.zmdi-center-focus-strong:before{content:"\f373"}.zmdi-center-focus-weak:before{content:"\f374"}.zmdi-compare:before{content:"\f375"}.zmdi-crop-16-9:before{content:"\f376"}.zmdi-crop-3-2:before{content:"\f377"}.zmdi-crop-5-4:before{content:"\f378"}.zmdi-crop-7-5:before{content:"\f379"}.zmdi-crop-din:before{content:"\f37a"}.zmdi-crop-free:before{content:"\f37b"}.zmdi-crop-landscape:before{content:"\f37c"}.zmdi-crop-portrait:before{content:"\f37d"}.zmdi-crop-square:before{content:"\f37e"}.zmdi-exposure-alt:before{content:"\f37f"}.zmdi-exposure:before{content:"\f380"}.zmdi-filter-b-and-w:before{content:"\f381"}.zmdi-filter-center-focus:before{content:"\f382"}.zmdi-filter-frames:before{content:"\f383"}.zmdi-filter-tilt-shift:before{content:"\f384"}.zmdi-gradient:before{content:"\f385"}.zmdi-grain:before{content:"\f386"}.zmdi-graphic-eq:before{content:"\f387"}.zmdi-hdr-off:before{content:"\f388"}.zmdi-hdr-strong:before{content:"\f389"}.zmdi-hdr-weak:before{content:"\f38a"}.zmdi-hdr:before{content:"\f38b"}.zmdi-iridescent:before{content:"\f38c"}.zmdi-leak-off:before{content:"\f38d"}.zmdi-leak:before{content:"\f38e"}.zmdi-looks:before{content:"\f38f"}.zmdi-loupe:before{content:"\f390"}.zmdi-panorama-horizontal:before{content:"\f391"}.zmdi-panorama-vertical:before{content:"\f392"}.zmdi-panorama-wide-angle:before{content:"\f393"}.zmdi-photo-size-select-large:before{content:"\f394"}.zmdi-photo-size-select-small:before{content:"\f395"}.zmdi-picture-in-picture:before{content:"\f396"}.zmdi-slideshow:before{content:"\f397"}.zmdi-texture:before{content:"\f398"}.zmdi-tonality:before{content:"\f399"}.zmdi-vignette:before{content:"\f39a"}.zmdi-wb-auto:before{content:"\f39b"}.zmdi-eject-alt:before{content:"\f39c"}.zmdi-eject:before{content:"\f39d"}.zmdi-equalizer:before{content:"\f39e"}.zmdi-fast-forward:before{content:"\f39f"}.zmdi-fast-rewind:before{content:"\f3a0"}.zmdi-forward-10:before{content:"\f3a1"}.zmdi-forward-30:before{content:"\f3a2"}.zmdi-forward-5:before{content:"\f3a3"}.zmdi-hearing:before{content:"\f3a4"}.zmdi-pause-circle-outline:before{content:"\f3a5"}.zmdi-pause-circle:before{content:"\f3a6"}.zmdi-pause:before{content:"\f3a7"}.zmdi-play-circle-outline:before{content:"\f3a8"}.zmdi-play-circle:before{content:"\f3a9"}.zmdi-play:before{content:"\f3aa"}.zmdi-playlist-audio:before{content:"\f3ab"}.zmdi-playlist-plus:before{content:"\f3ac"}.zmdi-repeat-one:before{content:"\f3ad"}.zmdi-repeat:before{content:"\f3ae"}.zmdi-replay-10:before{content:"\f3af"}.zmdi-replay-30:before{content:"\f3b0"}.zmdi-replay-5:before{content:"\f3b1"}.zmdi-replay:before{content:"\f3b2"}.zmdi-shuffle:before{content:"\f3b3"}.zmdi-skip-next:before{content:"\f3b4"}.zmdi-skip-previous:before{content:"\f3b5"}.zmdi-stop:before{content:"\f3b6"}.zmdi-surround-sound:before{content:"\f3b7"}.zmdi-tune:before{content:"\f3b8"}.zmdi-volume-down:before{content:"\f3b9"}.zmdi-volume-mute:before{content:"\f3ba"}.zmdi-volume-off:before{content:"\f3bb"}.zmdi-volume-up:before{content:"\f3bc"}.zmdi-n-1-square:before{content:"\f3bd"}.zmdi-n-2-square:before{content:"\f3be"}.zmdi-n-3-square:before{content:"\f3bf"}.zmdi-n-4-square:before{content:"\f3c0"}.zmdi-n-5-square:before{content:"\f3c1"}.zmdi-n-6-square:before{content:"\f3c2"}.zmdi-neg-1:before{content:"\f3c3"}.zmdi-neg-2:before{content:"\f3c4"}.zmdi-plus-1:before{content:"\f3c5"}.zmdi-plus-2:before{content:"\f3c6"}.zmdi-sec-10:before{content:"\f3c7"}.zmdi-sec-3:before{content:"\f3c8"}.zmdi-zero:before{content:"\f3c9"}.zmdi-airline-seat-flat-angled:before{content:"\f3ca"}.zmdi-airline-seat-flat:before{content:"\f3cb"}.zmdi-airline-seat-individual-suite:before{content:"\f3cc"}.zmdi-airline-seat-legroom-extra:before{content:"\f3cd"}.zmdi-airline-seat-legroom-normal:before{content:"\f3ce"}.zmdi-airline-seat-legroom-reduced:before{content:"\f3cf"}.zmdi-airline-seat-recline-extra:before{content:"\f3d0"}.zmdi-airline-seat-recline-normal:before{content:"\f3d1"}.zmdi-airplay:before{content:"\f3d2"}.zmdi-closed-caption:before{content:"\f3d3"}.zmdi-confirmation-number:before{content:"\f3d4"}.zmdi-developer-board:before{content:"\f3d5"}.zmdi-disc-full:before{content:"\f3d6"}.zmdi-explicit:before{content:"\f3d7"}.zmdi-flight-land:before{content:"\f3d8"}.zmdi-flight-takeoff:before{content:"\f3d9"}.zmdi-flip-to-back:before{content:"\f3da"}.zmdi-flip-to-front:before{content:"\f3db"}.zmdi-group-work:before{content:"\f3dc"}.zmdi-hd:before{content:"\f3dd"}.zmdi-hq:before{content:"\f3de"}.zmdi-markunread-mailbox:before{content:"\f3df"}.zmdi-memory:before{content:"\f3e0"}.zmdi-nfc:before{content:"\f3e1"}.zmdi-play-for-work:before{content:"\f3e2"}.zmdi-power-input:before{content:"\f3e3"}.zmdi-present-to-all:before{content:"\f3e4"}.zmdi-satellite:before{content:"\f3e5"}.zmdi-tap-and-play:before{content:"\f3e6"}.zmdi-vibration:before{content:"\f3e7"}.zmdi-voicemail:before{content:"\f3e8"}@font-face{font-family:themify-icons;src:url(../fonts/themify-icons.eot);src:url(../fonts/themify-icons.eot?#iefix) format("eot"),url(../fonts/themify-icons.woff) format("woff"),url(../fonts/themify-icons.ttf) format("truetype"),url(../fonts/themify-icons.svg#themify-icons) format("svg")}.ti{font-family:themify-icons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-variant:normal;font-weight:400;speak:none;text-decoration:none;text-transform:none}.ti-arrow-up:before{content:"\e627"}.ti-arrow-right:before{content:"\e628"}.ti-arrow-left:before{content:"\e629"}.ti-arrow-down:before{content:"\e62a"}.ti-arrows-vertical:before{content:"\e657"}.ti-arrows-horizontal:before{content:"\e658"}.ti-angle-up:before{content:"\e648"}.ti-angle-right:before{content:"\e649"}.ti-angle-left:before{content:"\e64a"}.ti-angle-down:before{content:"\e64b"}.ti-angle-double-up:before{content:"\e660"}.ti-angle-double-right:before{content:"\e661"}.ti-angle-double-left:before{content:"\e662"}.ti-angle-double-down:before{content:"\e663"}.ti-move:before{content:"\e656"}.ti-fullscreen:before{content:"\e659"}.ti-arrow-top-right:before{content:"\e65a"}.ti-arrow-top-left:before{content:"\e65b"}.ti-arrow-circle-up:before{content:"\e65c"}.ti-arrow-circle-right:before{content:"\e65d"}.ti-arrow-circle-left:before{content:"\e65e"}.ti-arrow-circle-down:before{content:"\e65f"}.ti-arrows-corner:before{content:"\e6be"}.ti-split-v:before{content:"\e675"}.ti-split-v-alt:before{content:"\e6d6"}.ti-split-h:before{content:"\e676"}.ti-hand-point-up:before{content:"\e71a"}.ti-hand-point-right:before{content:"\e71b"}.ti-hand-point-left:before{content:"\e71c"}.ti-hand-point-down:before{content:"\e71d"}.ti-back-right:before{content:"\e6bc"}.ti-back-left:before{content:"\e6bd"}.ti-exchange-vertical:before{content:"\e63f"}.ti-wand:before{content:"\e600"}.ti-save:before{content:"\e746"}.ti-save-alt:before{content:"\e747"}.ti-direction:before{content:"\e6a8"}.ti-direction-alt:before{content:"\e6a9"}.ti-user:before{content:"\e602"}.ti-link:before{content:"\e62d"}.ti-unlink:before{content:"\e604"}.ti-trash:before{content:"\e605"}.ti-target:before{content:"\e607"}.ti-tag:before{content:"\e608"}.ti-desktop:before{content:"\e640"}.ti-tablet:before{content:"\e609"}.ti-mobile:before{content:"\e621"}.ti-email:before{content:"\e75a"}.ti-star:before{content:"\e60a"}.ti-spray:before{content:"\e60b"}.ti-signal:before{content:"\e60c"}.ti-shopping-cart:before{content:"\e60d"}.ti-shopping-cart-full:before{content:"\e60e"}.ti-settings:before{content:"\e60f"}.ti-search:before{content:"\e610"}.ti-zoom-in:before{content:"\e611"}.ti-zoom-out:before{content:"\e612"}.ti-cut:before{content:"\e613"}.ti-ruler:before{content:"\e614"}.ti-ruler-alt-2:before{content:"\e6db"}.ti-ruler-pencil:before{content:"\e615"}.ti-ruler-alt:before{content:"\e616"}.ti-bookmark:before{content:"\e617"}.ti-bookmark-alt:before{content:"\e618"}.ti-reload:before{content:"\e619"}.ti-plus:before{content:"\e61a"}.ti-minus:before{content:"\e622"}.ti-close:before{content:"\e646"}.ti-pin:before{content:"\e61b"}.ti-pencil:before{content:"\e61c"}.ti-pencil-alt:before{content:"\e61d"}.ti-paint-roller:before{content:"\e61e"}.ti-paint-bucket:before{content:"\e61f"}.ti-na:before{content:"\e620"}.ti-medall:before{content:"\e623"}.ti-medall-alt:before{content:"\e624"}.ti-marker:before{content:"\e625"}.ti-marker-alt:before{content:"\e626"}.ti-lock:before{content:"\e62b"}.ti-unlock:before{content:"\e603"}.ti-location-arrow:before{content:"\e62c"}.ti-layout:before{content:"\e62e"}.ti-layers:before{content:"\e62f"}.ti-layers-alt:before{content:"\e630"}.ti-key:before{content:"\e631"}.ti-image:before{content:"\e633"}.ti-heart:before{content:"\e634"}.ti-heart-broken:before{content:"\e635"}.ti-hand-stop:before{content:"\e636"}.ti-hand-open:before{content:"\e637"}.ti-hand-drag:before{content:"\e638"}.ti-flag:before{content:"\e63a"}.ti-flag-alt:before{content:"\e63b"}.ti-flag-alt-2:before{content:"\e63c"}.ti-eye:before{content:"\e63d"}.ti-import:before{content:"\e632"}.ti-export:before{content:"\e63e"}.ti-cup:before{content:"\e641"}.ti-crown:before{content:"\e642"}.ti-comments:before{content:"\e643"}.ti-comment:before{content:"\e644"}.ti-comment-alt:before{content:"\e645"}.ti-thought:before{content:"\e606"}.ti-clip:before{content:"\e647"}.ti-check:before{content:"\e64c"}.ti-check-box:before{content:"\e64d"}.ti-camera:before{content:"\e64e"}.ti-announcement:before{content:"\e64f"}.ti-brush:before{content:"\e650"}.ti-brush-alt:before{content:"\e727"}.ti-palette:before{content:"\e6e0"}.ti-briefcase:before{content:"\e651"}.ti-bolt:before{content:"\e652"}.ti-bolt-alt:before{content:"\e653"}.ti-blackboard:before{content:"\e654"}.ti-bag:before{content:"\e655"}.ti-world:before{content:"\e665"}.ti-wheelchair:before{content:"\e666"}.ti-car:before{content:"\e6b5"}.ti-truck:before{content:"\e66d"}.ti-timer:before{content:"\e66e"}.ti-ticket:before{content:"\e66f"}.ti-thumb-up:before{content:"\e670"}.ti-thumb-down:before{content:"\e671"}.ti-stats-up:before{content:"\e673"}.ti-stats-down:before{content:"\e674"}.ti-shine:before{content:"\e678"}.ti-shift-right:before{content:"\e679"}.ti-shift-left:before{content:"\e67a"}.ti-shift-right-alt:before{content:"\e6d9"}.ti-shift-left-alt:before{content:"\e6da"}.ti-shield:before{content:"\e67b"}.ti-notepad:before{content:"\e67c"}.ti-server:before{content:"\e67d"}.ti-pulse:before{content:"\e680"}.ti-printer:before{content:"\e681"}.ti-power-off:before{content:"\e682"}.ti-plug:before{content:"\e683"}.ti-pie-chart:before{content:"\e684"}.ti-panel:before{content:"\e686"}.ti-package:before{content:"\e687"}.ti-music:before{content:"\e688"}.ti-music-alt:before{content:"\e689"}.ti-mouse:before{content:"\e68a"}.ti-mouse-alt:before{content:"\e68b"}.ti-money:before{content:"\e68c"}.ti-microphone:before{content:"\e68d"}.ti-menu:before{content:"\e68e"}.ti-menu-alt:before{content:"\e68f"}.ti-map:before{content:"\e690"}.ti-map-alt:before{content:"\e691"}.ti-location-pin:before{content:"\e693"}.ti-light-bulb:before{content:"\e695"}.ti-info:before{content:"\e697"}.ti-infinite:before{content:"\e698"}.ti-id-badge:before{content:"\e699"}.ti-hummer:before{content:"\e69a"}.ti-home:before{content:"\e69b"}.ti-help:before{content:"\e69c"}.ti-headphone:before{content:"\e69d"}.ti-harddrives:before{content:"\e69e"}.ti-harddrive:before{content:"\e69f"}.ti-gift:before{content:"\e6a0"}.ti-game:before{content:"\e6a1"}.ti-filter:before{content:"\e6a2"}.ti-files:before{content:"\e6a3"}.ti-file:before{content:"\e6a4"}.ti-zip:before{content:"\e664"}.ti-folder:before{content:"\e639"}.ti-envelope:before{content:"\e6a6"}.ti-dashboard:before{content:"\e6aa"}.ti-cloud:before{content:"\e6b1"}.ti-cloud-up:before{content:"\e6b2"}.ti-cloud-down:before{content:"\e6b3"}.ti-clipboard:before{content:"\e6b4"}.ti-calendar:before{content:"\e6b6"}.ti-book:before{content:"\e6b7"}.ti-bell:before{content:"\e6b8"}.ti-basketball:before{content:"\e6b9"}.ti-bar-chart:before{content:"\e6ba"}.ti-bar-chart-alt:before{content:"\e6bb"}.ti-archive:before{content:"\e6bf"}.ti-anchor:before{content:"\e6c0"}.ti-alert:before{content:"\e6c5"}.ti-alarm-clock:before{content:"\e6c6"}.ti-agenda:before{content:"\e6c7"}.ti-write:before{content:"\e6c8"}.ti-wallet:before{content:"\e6cd"}.ti-video-clapper:before{content:"\e6ce"}.ti-video-camera:before{content:"\e6cf"}.ti-vector:before{content:"\e6d0"}.ti-support:before{content:"\e6d4"}.ti-stamp:before{content:"\e6d5"}.ti-slice:before{content:"\e6d7"}.ti-shortcode:before{content:"\e6d8"}.ti-receipt:before{content:"\e6dc"}.ti-pin2:before{content:"\e6dd"}.ti-pin-alt:before{content:"\e6de"}.ti-pencil-alt2:before{content:"\e6df"}.ti-eraser:before{content:"\e6a5"}.ti-more:before{content:"\e6e1"}.ti-more-alt:before{content:"\e6e2"}.ti-microphone-alt:before{content:"\e6e3"}.ti-magnet:before{content:"\e6e4"}.ti-line-double:before{content:"\e6e5"}.ti-line-dotted:before{content:"\e6e6"}.ti-line-dashed:before{content:"\e6e7"}.ti-ink-pen:before{content:"\e716"}.ti-info-alt:before{content:"\e717"}.ti-help-alt:before{content:"\e718"}.ti-headphone-alt:before{content:"\e719"}.ti-gallery:before{content:"\e71e"}.ti-face-smile:before{content:"\e71f"}.ti-face-sad:before{content:"\e720"}.ti-credit-card:before{content:"\e721"}.ti-comments-smiley:before{content:"\e726"}.ti-time:before{content:"\e72b"}.ti-share:before{content:"\e72e"}.ti-share-alt:before{content:"\e72f"}.ti-rocket:before{content:"\e730"}.ti-new-window:before{content:"\e732"}.ti-rss:before{content:"\e75e"}.ti-rss-alt:before{content:"\e75f"}.ti-control-stop:before{content:"\e6ab"}.ti-control-shuffle:before{content:"\e6ac"}.ti-control-play:before{content:"\e6ad"}.ti-control-pause:before{content:"\e6ae"}.ti-control-forward:before{content:"\e6af"}.ti-control-backward:before{content:"\e6b0"}.ti-volume:before{content:"\e601"}.ti-control-skip-forward:before{content:"\e722"}.ti-control-skip-backward:before{content:"\e723"}.ti-control-record:before{content:"\e724"}.ti-control-eject:before{content:"\e725"}.ti-paragraph:before{content:"\e685"}.ti-uppercase:before{content:"\e66a"}.ti-underline:before{content:"\e66c"}.ti-text:before{content:"\e672"}.ti-Italic:before{content:"\e696"}.ti-smallcap:before{content:"\e677"}.ti-list:before{content:"\e694"}.ti-list-ol:before{content:"\e734"}.ti-align-right:before{content:"\e6c1"}.ti-align-left:before{content:"\e6c2"}.ti-align-justify:before{content:"\e6c3"}.ti-align-center:before{content:"\e6c4"}.ti-quote-right:before{content:"\e67e"}.ti-quote-left:before{content:"\e67f"}.ti-layout-width-full:before{content:"\e6e8"}.ti-layout-width-default:before{content:"\e6e9"}.ti-layout-width-default-alt:before{content:"\e6ea"}.ti-layout-tab:before{content:"\e6eb"}.ti-layout-tab-window:before{content:"\e6ec"}.ti-layout-tab-v:before{content:"\e6ed"}.ti-layout-tab-min:before{content:"\e6ee"}.ti-layout-slider:before{content:"\e6ef"}.ti-layout-slider-alt:before{content:"\e6f0"}.ti-layout-sidebar-right:before{content:"\e6f1"}.ti-layout-sidebar-none:before{content:"\e6f2"}.ti-layout-sidebar-left:before{content:"\e6f3"}.ti-layout-placeholder:before{content:"\e6f4"}.ti-layout-menu:before{content:"\e6f5"}.ti-layout-menu-v:before{content:"\e6f6"}.ti-layout-menu-separated:before{content:"\e6f7"}.ti-layout-menu-full:before{content:"\e6f8"}.ti-layout-media-right:before{content:"\e6fa"}.ti-layout-media-right-alt:before{content:"\e6f9"}.ti-layout-media-overlay:before{content:"\e6fb"}.ti-layout-media-overlay-alt:before{content:"\e6fc"}.ti-layout-media-overlay-alt-2:before{content:"\e6fd"}.ti-layout-media-left:before{content:"\e6ff"}.ti-layout-media-left-alt:before{content:"\e6fe"}.ti-layout-media-center:before{content:"\e701"}.ti-layout-media-center-alt:before{content:"\e700"}.ti-layout-list-thumb:before{content:"\e702"}.ti-layout-list-thumb-alt:before{content:"\e703"}.ti-layout-list-post:before{content:"\e704"}.ti-layout-list-large-image:before{content:"\e705"}.ti-layout-line-solid:before{content:"\e706"}.ti-layout-grid4:before{content:"\e707"}.ti-layout-grid3:before{content:"\e708"}.ti-layout-grid2:before{content:"\e709"}.ti-layout-grid2-thumb:before{content:"\e70a"}.ti-layout-cta-right:before{content:"\e70b"}.ti-layout-cta-left:before{content:"\e70c"}.ti-layout-cta-center:before{content:"\e70d"}.ti-layout-cta-btn-right:before{content:"\e70e"}.ti-layout-cta-btn-left:before{content:"\e70f"}.ti-layout-column4:before{content:"\e710"}.ti-layout-column3:before{content:"\e711"}.ti-layout-column2:before{content:"\e712"}.ti-layout-accordion-separated:before{content:"\e713"}.ti-layout-accordion-merged:before{content:"\e714"}.ti-layout-accordion-list:before{content:"\e715"}.ti-widgetized:before{content:"\e6ca"}.ti-widget:before{content:"\e6cb"}.ti-widget-alt:before{content:"\e6cc"}.ti-view-list:before{content:"\e667"}.ti-view-list-alt:before{content:"\e668"}.ti-view-grid:before{content:"\e669"}.ti-upload:before{content:"\e66b"}.ti-download:before{content:"\e6a7"}.ti-loop:before{content:"\e692"}.ti-layout-sidebar-2:before{content:"\e736"}.ti-layout-grid4-alt:before{content:"\e737"}.ti-layout-grid3-alt:before{content:"\e738"}.ti-layout-grid2-alt:before{content:"\e739"}.ti-layout-column4-alt:before{content:"\e73a"}.ti-layout-column3-alt:before{content:"\e73b"}.ti-layout-column2-alt:before{content:"\e73c"}.ti-flickr:before{content:"\e740"}.ti-flickr-alt:before{content:"\e759"}.ti-instagram:before{content:"\e73d"}.ti-google:before{content:"\e73e"}.ti-github:before{content:"\e73f"}.ti-facebook:before{content:"\e741"}.ti-dropbox:before{content:"\e742"}.ti-dropbox-alt:before{content:"\e75c"}.ti-dribbble:before{content:"\e743"}.ti-apple:before{content:"\e744"}.ti-android:before{content:"\e745"}.ti-yahoo:before{content:"\e748"}.ti-trello:before{content:"\e74d"}.ti-stack-overflow:before{content:"\e74e"}.ti-soundcloud:before{content:"\e74f"}.ti-sharethis:before{content:"\e750"}.ti-sharethis-alt:before{content:"\e751"}.ti-reddit:before{content:"\e752"}.ti-microsoft:before{content:"\e733"}.ti-microsoft-alt:before{content:"\e754"}.ti-linux:before{content:"\e755"}.ti-jsfiddle:before{content:"\e756"}.ti-joomla:before{content:"\e757"}.ti-html5:before{content:"\e758"}.ti-css3:before{content:"\e75d"}.ti-drupal:before{content:"\e75b"}.ti-wordpress:before{content:"\e749"}.ti-tumblr:before{content:"\e72c"}.ti-tumblr-alt:before{content:"\e74c"}.ti-skype:before{content:"\e72d"}.ti-youtube:before{content:"\e728"}.ti-vimeo:before{content:"\e729"}.ti-vimeo-alt:before{content:"\e74a"}.ti-twitter:before{content:"\e72a"}.ti-twitter-alt:before{content:"\e74b"}.ti-linkedin:before{content:"\e735"}.ti-pinterest:before{content:"\e731"}.ti-pinterest-alt:before{content:"\e753"}.ti-themify-logo:before{content:"\e6d1"}.ti-themify-favicon:before{content:"\e6d2"}.ti-themify-favicon-alt:before{content:"\e6d3"}.datepicker{padding:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;direction:ltr}.datepicker-inline{width:220px}.datepicker.datepicker-rtl{direction:rtl}.datepicker.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #999;border-top:0;border-bottom-color:rgba(0,0,0,.2);position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker td,.datepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.day.focused,.datepicker table tr td.day:hover{background:#eee;cursor:pointer}.datepicker table tr td.new,.datepicker table tr td.old{color:#999}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td.highlighted{background:#d9edf7;border-radius:0}.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover{background-color:#fde19a;background-image:-moz-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-ms-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fdd49a),to(#fdf59a));background-image:-webkit-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-o-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:linear-gradient(to bottom,#fdd49a,#fdf59a);background-repeat:repeat-x;border-color:#fdf59a #fdf59a #fbed50;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#000}.datepicker table tr td.today.active,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled.disabled,.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today.disabled:hover.active,.datepicker table tr td.today.disabled:hover.disabled,.datepicker table tr td.today.disabled:hover:active,.datepicker table tr td.today.disabled:hover:hover,.datepicker table tr td.today.disabled:hover[disabled],.datepicker table tr td.today.disabled[disabled],.datepicker table tr td.today:active,.datepicker table tr td.today:hover,.datepicker table tr td.today:hover.active,.datepicker table tr td.today:hover.disabled,.datepicker table tr td.today:hover:active,.datepicker table tr td.today:hover:hover,.datepicker table tr td.today:hover[disabled],.datepicker table tr td.today[disabled]{background-color:#fdf59a}.datepicker table tr td.today:hover:hover{color:#000}.datepicker table tr td.today.active:hover{color:#fff}.datepicker table tr td.range,.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range:hover{background:#eee;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today:hover{background-color:#f3d17a;background-image:-moz-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-ms-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f3c17a),to(#f3e97a));background-image:-webkit-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-o-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:linear-gradient(to bottom,#f3c17a,#f3e97a);background-repeat:repeat-x;border-color:#f3e97a #f3e97a #edde34;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled.disabled,.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today.disabled:hover.active,.datepicker table tr td.range.today.disabled:hover.disabled,.datepicker table tr td.range.today.disabled:hover:active,.datepicker table tr td.range.today.disabled:hover:hover,.datepicker table tr td.range.today.disabled:hover[disabled],.datepicker table tr td.range.today.disabled[disabled],.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover,.datepicker table tr td.range.today:hover.active,.datepicker table tr td.range.today:hover.disabled,.datepicker table tr td.range.today:hover:active,.datepicker table tr td.range.today:hover:hover,.datepicker table tr td.range.today:hover[disabled],.datepicker table tr td.range.today[disabled]{background-color:#f3e97a}.datepicker table tr td.selected,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected:hover{background-color:#9e9e9e;background-image:-moz-linear-gradient(to bottom,#b3b3b3,grey);background-image:-ms-linear-gradient(to bottom,#b3b3b3,grey);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3b3b3),to(grey));background-image:-webkit-linear-gradient(to bottom,#b3b3b3,grey);background-image:-o-linear-gradient(to bottom,#b3b3b3,grey);background-image:linear-gradient(to bottom,#b3b3b3,grey);background-repeat:repeat-x;border-color:grey grey #595959;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.active,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled.disabled,.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.disabled:hover.active,.datepicker table tr td.selected.disabled:hover.disabled,.datepicker table tr td.selected.disabled:hover:active,.datepicker table tr td.selected.disabled:hover:hover,.datepicker table tr td.selected.disabled:hover[disabled],.datepicker table tr td.selected.disabled[disabled],.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover,.datepicker table tr td.selected:hover.active,.datepicker table tr td.selected:hover.disabled,.datepicker table tr td.selected:hover:active,.datepicker table tr td.selected:hover:hover,.datepicker table tr td.selected:hover[disabled],.datepicker table tr td.selected[disabled]{background-color:grey}.datepicker table tr td.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover.disabled,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active.disabled:hover:hover,.datepicker table tr td.active.disabled:hover[disabled],.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active:active,.datepicker table tr td.active:hover,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover.disabled,.datepicker table tr td.active:hover:active,.datepicker table tr td.active:hover:hover,.datepicker table tr td.active:hover[disabled],.datepicker table tr td.active[disabled]{background-color:#04c}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled.disabled,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover.disabled,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active.disabled:hover[disabled],.datepicker table tr td span.active.disabled[disabled],.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover.disabled,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover,.datepicker table tr td span.active:hover[disabled],.datepicker table tr td span.active[disabled]{background-color:#04c}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#999}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-append.date .add-on,.input-prepend.date .add-on{cursor:pointer}.input-append.date .add-on i,.input-prepend.date .add-on i{margin-top:3px}.input-daterange input{text-align:center}.input-daterange input:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-daterange input:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-daterange .add-on{display:inline-block;width:auto;min-width:16px;height:18px;padding:4px 5px;font-weight:400;line-height:18px;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:1px solid #ccc;margin-left:-5px;margin-right:-5px}input[readonly]{pointer-events:none}.form-check{position:relative;padding:19px 0 15px 40px;text-align:left;overflow:hidden}.form-check label{cursor:pointer}.form-check label:after,.form-check label:before{content:'';position:absolute;top:50%;left:0;border-radius:5px}.form-check label:before{left:3px;width:22px;height:22px;margin:-10px 0 0;background:#eceef3}.form-check label:after{left:8px;width:13px;height:13px;margin:-6px 0 0;opacity:0;background:#8e54e9;transform:translate3d(0,0,0) scale(.5);transition:opacity .25s ease-in-out,transform .25s ease-in-out}.form-check input[type=checkbox],.form-check input[type=radio]{position:absolute;top:0;left:-9999px;visibility:hidden}.form-check input[type=checkbox]:checked+label:after,.form-check input[type=radio]:checked+label:after{transform:translate3d(0,0,0);opacity:1}.form-check label:after,.form-check label:before{border-radius:0}.form-check label:before{border-radius:2px}.form-check label:after{border-radius:2px}.form-check input[type=radio]+label:before{border-radius:10px}.form-check input[type=radio]+label:after{border-radius:10px;margin:-5px 0 0}.form-check input[type=radio]+label:before{border-radius:50px}.form-control{height:40px;border:1px solid #dee2e6;color:#a6a9b7}.form-control:focus{border-color:#8e54e9;box-shadow:none}.form-control-lg{height:50px}.form-control-sm{height:30px}.form-control-plaintext{color:#a6a9b7}textarea.form-control{height:auto}select.form-control:not([size]):not([multiple]){height:40px}select.form-control-lg:not([size]):not([multiple]){height:50px}select.form-control-sm:not([size]):not([multiple]){height:30px}select.form-control[multiple],select.form-control[size]{height:auto}label,legend{font-weight:500;color:#a6a9b7}.custom-select.is-valid,.form-control.is-valid{border-color:#32b432;box-shadow:none}.custom-select.is-valid:focus,.form-control.is-valid:focus{border-color:#32b432;box-shadow:none}.was-validated .custom-select:valid,.was-validated .form-control:valid{border-color:#32b432;box-shadow:none}.was-validated .custom-select:valid:focus,.was-validated .form-control:valid:focus{border-color:#32b432;box-shadow:none}.custom-select.is-invalid,.form-control.is-invalid{border-color:#e3324c;box-shadow:none}.custom-select.is-invalid:focus,.form-control.is-invalid:focus{border-color:#e3324c;box-shadow:none}.was-validated .custom-select:invalid,.was-validated .form-control:invalid{border-color:#e3324c;box-shadow:none}.was-validated .custom-select:invalid:focus,.was-validated .form-control:invalid:focus{border-color:#e3324c;box-shadow:none}.custom-control-input.is-invalid~.custom-control-label::before{background:#e3324c;background:rgba(227,50,76,.5)!important}.was-validated .custom-control-input:invalid~.custom-control-label::before{background:#e3324c;background:rgba(227,50,76,.5)!important}.custom-control-input.is-valid~.custom-control-label::before{background:#32b432;background:rgba(50,180,50,.5)!important}.was-validated .custom-control-input:valid~.custom-control-label::before{background:#32b432;background:rgba(50,180,50,.5)!important}.custom-control-input.is-invalid~.custom-control-label{color:#e3324c}.was-validated .custom-control-input:invalid~.custom-control-label{color:#e3324c}.valid-feedback{color:#32b432}.invalid-feedback{color:#e3324c}.valid-tooltip{background:#32b432;background:rgba(50,180,50,.8)!important}.invalid-tooltip{background:#e3324c;background:rgba(227,50,76,.8)!important}.form-check-input.is-valid~.form-check-label{color:#32b432}.was-validated .form-check-input:valid~.form-check-label{color:#32b432}.form-check-input.is-invalid~.form-check-label{color:#e3324c}.was-validated .form-check-input:invalid~.form-check-label{color:#e3324c}.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none}#signupForm .error,#signupForm1 .error{color:#e3324c;font-size:1rem!important;font-style:italic;padding:.4em .5em .3em}#signupForm3 .error.label{color:#e3324c;font-size:1rem!important;font-style:italic;padding:.4em .5em .3em}#signupForm1 span.fa-times{color:#e3324c;font-size:1rem!important;font-style:italic;padding:.4em .5em .3em}#signupForm1 span.fa-check{color:#32b432}.selects-contant .select2-container .select2-selection--single{height:40px}.selects-contant .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:38px}.selects-contant .select2-container--default .select2-selection--single .select2-selection__arrow{height:40px;position:absolute;top:1px;right:1px;width:40px}.selects-contant .Multi-sel .select2-container--default .select2-selection--multiple .select2-selection__choice,.selects-contant .Multi-sel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:#8e54e9;border:1px solid #8e54e9;color:#fff;padding:1px 10px 1px 4px}.selects-contant .Multi-sel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#e3324c}.selects-contant .Multi-sel .select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #dee2e6 1px}.selects-contant-boots .bootstrap-tagsinput{width:100%;height:40px;padding:7px 6px}.selects-contant-boots .bootstrap-tagsinput .label{padding:.4em .7em}.selects-contant-boots .bootstrap-tagsinput .label-info{background-color:#8e54e9}.input-group-addon{padding:8px 14px;background:#8e54e9;border:1px solid #8e54e9;color:#fff}.datepicker{border:1px solid #eee;padding:12px;-webkit-box-shadow:0 0 30px rgba(0,0,0,.04);-moz-box-shadow:0 0 30px rgba(0,0,0,.04);box-shadow:0 0 30px rgba(0,0,0,.04);width:270px;font-size:14px}.datepicker table{width:100%}.datepicker table tr td{width:30px;height:35px}.datepicker table tr td.today{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important;color:#fff}.datepicker table tr td.today:hover{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important;color:#fff}.datepicker table tr td.today.disabled{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important;color:#fff}.datepicker table tr td.today.disabled:hover{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important;color:#fff}.datepicker-inline{width:270px}.datetimepicker table{width:100%}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover.disabled,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active.disabled:hover:hover,.datepicker table tr td.active.disabled:hover[disabled],.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active:active,.datepicker table tr td.active:hover,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover.disabled,.datepicker table tr td.active:hover:active,.datepicker table tr td.active:hover:hover,.datepicker table tr td.active:hover[disabled],.datepicker table tr td.active[disabled]{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important;color:#fff}@media screen and (min-width:480px) and (max-width:576px){.datepicker{width:230px}}@media screen and (max-width:480px){.datepicker{width:230px}}@media screen and (min-width:480px) and (max-width:576px){.datepicker-inline{width:100%}}@media screen and (max-width:480px){.datepicker-inline{width:100%}}@media screen and (min-width:480px) and (max-width:576px){.datepicker-orient-right{left:10px!important}}@media screen and (max-width:480px){.datepicker-orient-right{left:10px!important}}.active-task .form-check label:after,.active-task .form-check label:before{top:3px;margin:0}@font-face{font-family:summernote;font-style:normal;font-weight:400;src:url(../fonts/summernote.eot?4c7e83314b68cfa6a0d18a8b4690044b);src:url(../fonts/summernote.eot?4c7e83314b68cfa6a0d18a8b4690044b#iefix) format("embedded-opentype"),url(../fonts/summernote.woff?4c7e83314b68cfa6a0d18a8b4690044b) format("woff"),url(../fonts/summernote.ttf?4c7e83314b68cfa6a0d18a8b4690044b) format("truetype")}.note-editor.note-frame{box-shadow:none;border-color:#dee2e6;margin-bottom:0}.ql-container.ql-snow,.ql-toolbar.ql-snow{border-color:#dee2e6}.note-toolbar-wrapper .note-toolbar .btn-group .btn{padding:.25rem .5rem!important}.dropzone{border:2px dashed #dee2e6}.dropzone .dz-message{color:#a6a9b7;font-size:1.714rem;margin:5em}@media screen and (min-width:480px) and (max-width:576px){.dropzone .dz-message{margin:3em 0}}@media screen and (max-width:480px){.dropzone .dz-message{margin:3em 0}}.input-group-text{color:#fff;background-color:#8e54e9;border-color:#8e54e9}.bootstrap-duallistbox-container label{color:#8e54e9}.bootstrap-duallistbox-container .filter{height:40px}.bootstrap-duallistbox-container .btn-group .btn{border-color:#dee2e6}.bootstrap-duallistbox-container .btn-group .btn:focus,.bootstrap-duallistbox-container .btn-group .btn:hover{background-color:#8e54e9;border-color:#8e54e9;color:#fff!important}.bootstrap-duallistbox-container .btn-outline-secondary{background-color:#8e54e9;border-color:#8e54e9;color:#fff!important}.bootstrap-duallistbox-container select{border-color:#dee2e6}.bootstrap-duallistbox-container select option{padding:.5rem;color:#333}.bootstrap-duallistbox-container select:focus{outline:0}@media screen and (min-width:577px) and (max-width:767px){.bootstrap-duallistbox-container .box1{margin-bottom:1.5rem}}@media screen and (min-width:480px) and (max-width:576px){.bootstrap-duallistbox-container .box1{margin-bottom:1.5rem}}@media screen and (max-width:480px){.bootstrap-duallistbox-container .box1{margin-bottom:1.5rem}}.bootstrap-duallistbox-container .box1.filtered .clear1,.bootstrap-duallistbox-container .box1.filtered .clear2,.bootstrap-duallistbox-container .box2.filtered .clear1,.bootstrap-duallistbox-container .box2.filtered .clear2{margin-bottom:10px}.select2-container .select2-dropdown{border-color:#dee2e6}.select2-container .select2-dropdown .select2-results__group{color:#a6a9b7}.select2-container--default .select2-selection--multiple,.select2-container--default .select2-selection--single{border:1px solid #dee2e6;box-shadow:none}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#8e54e9}.select2-container--default .select2-search--dropdown .select2-search__field{border-color:#dee2e6}.select2-container--default .select2-search--dropdown .select2-search__field:focus{outline:0}.select2-container .select2-selection--single:focus{outline:0}.select2-container--default .select2-search--dropdown .selects-contant .custom-select{height:calc(2.65rem + 2px)}.select2-container--default .select2-search--dropdown .selects-contant .Multi-sel .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #dee2e6;box-shadow:none}.selects-contant-boots .bootstrap-tagsinput{border:1px solid #dee2e6;box-shadow:none;height:auto}.selects-contant-boots .bootstrap-tagsinput .tag{margin-bottom:2px;display:inline-block;padding:.6em .7em}.custom-select-sm{height:calc(1.5125rem + 2px);padding-top:.275rem;padding-bottom:.275rem;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;-ms-appearance:none;appearance:none}.custom-select:focus{box-shadow:none;border-color:#8e54e9}.bootstrap-tagsinput .badge{background-color:#8e54e9;border:1px solid #8e54e9;padding:2px 6px;border-radius:2px}.irs--flat .irs-bar{background-color:#8e54e9}.irs--flat .irs-handle>i:first-child{background-color:#8e54e9}.irs--flat .irs-from,.irs--flat .irs-single,.irs--flat .irs-to{background-color:#8e54e9}.irs--flat .irs-from:before,.irs--flat .irs-single:before,.irs--flat .irs-to:before{border-top-color:#8e54e9}.irs-from{background:#8e54e9}.irs-from:after{border-top-color:#8e54e9}.irs-to{background:#8e54e9}.irs-to:after{border-top-color:#8e54e9}.irs-single{background:#8e54e9}.irs-single:after{border-top-color:#8e54e9}.table-primary{background:#8e54e9;background:rgba(142,84,233,.1)!important;color:#8e54e9}.table-primary th{background:#8e54e9;background:rgba(142,84,233,.1)!important;color:#8e54e9;border-color:#fff!important}.table-primary td{background:#8e54e9;background:rgba(142,84,233,.1)!important;color:#8e54e9;border-color:#fff!important}.table-secondary{background:#a1a1a1;background:rgba(161,161,161,.1)!important;color:#a1a1a1}.table-secondary th{background:#a1a1a1;background:rgba(161,161,161,.1)!important;color:#a1a1a1;border-color:#fff!important}.table-secondary td{background:#a1a1a1;background:rgba(161,161,161,.1)!important;color:#a1a1a1;border-color:#fff!important}.table-info{background:#45aaf2;background:rgba(69,170,242,.1)!important;color:#45aaf2}.table-info th{background:#45aaf2;background:rgba(69,170,242,.1)!important;color:#45aaf2;border-color:#fff!important}.table-info td{background:#45aaf2;background:rgba(69,170,242,.1)!important;color:#45aaf2;border-color:#fff!important}.table-warning{background:#f7b731;background:rgba(247,183,49,.1)!important;color:#f7b731}.table-warning th{background:#f7b731;background:rgba(247,183,49,.1)!important;color:#f7b731;border-color:#fff!important}.table-warning td{background:#f7b731;background:rgba(247,183,49,.1)!important;color:#f7b731;border-color:#fff!important}.table-danger{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c}.table-danger th{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c;border-color:#fff!important}.table-danger td{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c;border-color:#fff!important}.table-success{background:#32b432;background:rgba(50,180,50,.1)!important;color:#32b432}.table-success th{background:#32b432;background:rgba(50,180,50,.1)!important;color:#32b432;border-color:#fff!important}.table-success td{background:#32b432;background:rgba(50,180,50,.1)!important;color:#32b432;border-color:#fff!important}.table-orange{background:#fd9644;background:rgba(253,150,68,.1)!important;color:#fd9644}.table-orange th{background:#fd9644;background:rgba(253,150,68,.1)!important;color:#fd9644;border-color:#fff!important}.table-orange td{background:#fd9644;background:rgba(253,150,68,.1)!important;color:#fd9644;border-color:#fff!important}.table-pink{background:#fb0792;background:rgba(251,7,146,.1)!important;color:#fb0792}.table-pink th{background:#fb0792;background:rgba(251,7,146,.1)!important;color:#fb0792;border-color:#fff!important}.table-pink td{background:#fb0792;background:rgba(251,7,146,.1)!important;color:#fb0792;border-color:#fff!important}.table-yellow{background:#ffc107;background:rgba(255,193,7,.1)!important;color:#ffc107}.table-yellow th{background:#ffc107;background:rgba(255,193,7,.1)!important;color:#ffc107;border-color:#fff!important}.table-yellow td{background:#ffc107;background:rgba(255,193,7,.1)!important;color:#ffc107;border-color:#fff!important}.table-red{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c}.table-red th{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c;border-color:#fff!important}.table-red td{background:#e3324c;background:rgba(227,50,76,.1)!important;color:#e3324c;border-color:#fff!important}.table-cyan{background:#2bcbba;background:rgba(43,203,186,.1)!important;color:#2bcbba}.table-cyan th{background:#2bcbba;background:rgba(43,203,186,.1)!important;color:#2bcbba;border-color:#fff!important}.table-cyan td{background:#2bcbba;background:rgba(43,203,186,.1)!important;color:#2bcbba;border-color:#fff!important}.datatable-wrapper table tfoot{display:none}table.dataTable thead .sorting:after,table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc_disabled:after,table.dataTable thead .sorting_desc_disabled:before{bottom:.8em}@media screen and (min-width:480px) and (max-width:576px){.dataTables_wrapper div.row{margin:10px 0!important}.dataTables_wrapper div[class^=col-]:last-child{padding:0}.dataTables_wrapper div[class^=col-]:first-child{padding:0}.dataTables_wrapper .dataTables_info{padding-top:0!important;text-align:left!important}.dataTables_wrapper .pagination{justify-content:flex-start!important;margin-top:10px!important}}@media screen and (max-width:480px){.dataTables_wrapper div.row{margin:10px 0!important}.dataTables_wrapper div[class^=col-]:last-child{padding:0}.dataTables_wrapper div[class^=col-]:first-child{padding:0}.dataTables_wrapper .dataTables_info{padding-top:0!important;text-align:left!important}.dataTables_wrapper .pagination{justify-content:flex-start!important;margin-top:10px!important}}.table-striped tbody tr:nth-of-type(odd){background:#eceef3}.table>thead>tr>th{vertical-align:middle;white-space:nowrap}.table>tbody>tr>td{vertical-align:middle;white-space:nowrap}.tabledit-toolbar{flex-wrap:nowrap}.tabledit-toolbar .btn{margin-right:6px;border-radius:.2rem!important}.tabledit-toolbar .btn:last-child{margin-right:0}.tabledit-toolbar .tabledit-save-button{margin-left:6px;margin-right:0}.tabledit-toolbar .tabledit-confirm-button{margin-left:6px;margin-right:0}.tableexport-caption{display:table-caption;padding:0;margin-bottom:15px}.tableexport-caption .btn{line-height:1;background-color:#8e54e9;color:#fff;padding:9px 10px;margin:0;margin-right:10px}.tableexport-caption .btn:first-child{margin-left:0}.tableexport-caption .btn.xlsx:before{background:url(../img/export/xlsx.svg) no-repeat center}.tableexport-caption .btn.csv:before{background:url(../img/export/csv.svg) no-repeat center}.tableexport-caption .btn.txt:before{background:url(../img/export/txt.svg) no-repeat center}.tableexport-caption .btn:focus{box-shadow:none}@media screen and (min-width:480px) and (max-width:576px){.tableexport-caption .btn{margin:0 0 5px 0}}@media screen and (max-width:480px){.tableexport-caption .btn{margin:0 0 5px 0}}.csv:before,.txt:before,.xls:before,.xlsx:before{box-shadow:none;padding:4px 10px 4px}.gmap{display:block;width:100%;height:450px}#panorama{display:block;width:100%;height:450px;margin-top:30px}.address-location{height:270px}.vmap{height:420px;width:100%}@media screen and (min-width:577px) and (max-width:767px){.vmap{height:310px!important}}@media screen and (min-width:480px) and (max-width:576px){.vmap{height:310px!important}}@media screen and (max-width:480px){.vmap{height:310px!important}}.jqvmap-zoomin,.jqvmap-zoomout{padding:0;line-height:14px;width:15px;height:15px}.jqvmap-region{cursor:default!important}.map-pin{width:64px;height:50px;position:absolute;top:-25px;left:-32px;background-size:32px 32px;background-repeat:no-repeat;text-align:center;background-position:top center;color:#888;font-weight:500;font-size:14px}.map-pin span{position:absolute;bottom:0;width:100%;text-align:center;left:0}.red{background-image:url(../img/marker/red.png)}.blue{background-image:url(../img/marker/blue.png)}.purple{background-image:url(../img/marker/purple.png)}.jqvmap-pin{font-family:"Helvetica Neue Light",HelveticaNeue-Light,"Helvetica Neue",Calibri,Helvetica,Arial,sans-serif;cursor:default}#jqvmap1_fl_pin{margin-left:5%}.mapael path{fill:#8e54e9;stroke:#eceef3}.mapael path:hover{fill:#f7b731;stroke:#f7b731}.flot-container{width:100%;height:350px}.flot-wrapper{width:100%;height:100%;font-size:14px;line-height:1.2em}.morris-wrapper svg text{font-family:Roboto,sans-serif!important}.morris-wrapper .morris-hover{z-index:998}.chartist-wrapper .ct-chart{height:350px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#2c2e3e}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#8e54e9}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#4776e6}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#4776e6}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f7b731}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#32b432}.ct-area{fill-opacity:.3}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{fill:#fff;color:#fff;font-size:1rem}.c3chart-wrapper .c3{height:300px}.c3chart-wrapper .c3 text{font-family:Roboto,sans-serif}.c3chart-wrapper .c3 .tick{font-family:Roboto,sans-serif;fill:#a6a9b7}.c3chart-wrapper .c3 .c3-legend-item text{font-family:Roboto,sans-serif;fill:#a6a9b7}.c3chart-wrapper .c3 line{stroke:#a6a9b7}.c3chart-wrapper .c3 path.domain{stroke:#a6a9b7;stroke-width:1px}.knob{font-family:Roboto,sans-serif!important}.apexcharts-canvas{margin:0 auto}.apexchart-tool-force-top .apexcharts-canvas,.apexchart-tool-force-top .col-12,.apexchart-tool-force-top .row{position:inherit}.apexchart-tool-force-top .apexcharts-toolbar{top:17px;right:10px}@media screen and (min-width:577px) and (max-width:767px){.apexchart-tool-force-top .apexcharts-toolbar{display:none}}@media screen and (min-width:480px) and (max-width:576px){.apexchart-tool-force-top .apexcharts-toolbar{display:none}}@media screen and (max-width:480px){.apexchart-tool-force-top .apexcharts-toolbar{display:none}}.apexcharts-menu-icon svg,.apexcharts-reset-zoom-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoom-in-icon svg,.apexcharts-zoom-out-icon svg{fill:#a6a9b7!important}.widget-support-list .dot-online{position:relative}.widget-support-list .dot-online .dot-online-icon{position:absolute;width:8px;height:8px;border-radius:15px;right:9px;top:5px}.widget-support-list .bg-img{width:50px;height:50px}.widget-income-list .bg-img,.widget-recent-list .bg-img,.widget-user-list .bg-img{width:50px;height:50px}.widget-branches-list .media img{height:26px}.widget-branches-list .card-body{max-height:450px;overflow:hidden;border-bottom:1px solid #dee2e6}.widget-branches-list .card-body:last-child{border-bottom:none}.widget-branches-list .card-body a{padding:0 30px}.widget-branches-list .card-body a:first-child{padding-top:0}.widget-branches-list .card-body a i{font-size:20px}.widget-branches-list .card-body a span{margin-top:6px}.widget-branches-list .card-body ul li{border-bottom:1px solid #dee2e6;padding:16px 0}.widget-branches-list .card-body ul li:last-child{border-bottom:0 solid}.widget-branches-list.dating-widget-branches-list .card-body a{padding:0}.widget-branches-list.dating-widget-branches-list .card-body a img{height:12px}.widget-downloads-list .card-body .btn.btn-icon,.widget-recent-list .card-body .btn.btn-icon{width:30px;height:30px;padding:0;line-height:30px}@media screen and (min-width:480px) and (max-width:576px){.widget-downloads-list .media{display:block}.widget-downloads-list .media h4{margin:10px 0!important}}@media screen and (max-width:480px){.widget-downloads-list .media{display:block}.widget-downloads-list .media h4{margin:10px 0!important}}.widget-downloads-list .widget-text{padding:1rem 0}.widget-downloads-list .widget-text img{width:50px;height:50px}.widget-downloads-list .img-icon{width:50px;height:50px;border-radius:80px;background-color:#f7f7f7}.widget-downloads-list .img-icon i{font-size:28px;line-height:50px}.widget-text{padding:1.25rem}.widget-downloads-list .widget-text,.widget-income-list .widget-text,.widget-recent-list .widget-text,.widget-support-list .widget-text,.widget-user-list .widget-text{border-bottom:1px solid #dee2e6}.widget-downloads-list .widget-text:last-child,.widget-income-list .widget-text:last-child,.widget-recent-list .widget-text:last-child,.widget-support-list .widget-text:last-child,.widget-user-list .widget-text:last-child{border-bottom:0 solid}.widget-downloads-list .card-body,.widget-income-list .card-body,.widget-recent-list .card-body,.widget-support-list .card-body,.widget-user-list .card-body{max-height:450px;overflow:hidden;border-bottom:1px solid #dee2e6}.widget-downloads-list .card-body:last-child,.widget-income-list .card-body:last-child,.widget-recent-list .card-body:last-child,.widget-support-list .card-body:last-child,.widget-user-list .card-body:last-child{border-bottom:none}.widget-recent-list .card-body .btn.btn-icon{width:25px;height:25px;padding:0;line-height:25px}.widget-recent-list .card-body .nav .nav-link{padding:0}.widget-recent-list .card-body .nav .nav-item{padding:8px 8px 0 0}.widget-recent-list span,.widget-support-list span{font-size:11px}.widget-social-box1,.widget-social-box10,.widget-social-box11,.widget-social-box12,.widget-social-box13,.widget-social-box14,.widget-social-box15,.widget-social-box2,.widget-social-box3,.widget-social-box4,.widget-social-box5,.widget-social-box6,.widget-social-box7,.widget-social-box8,.widget-social-box9{overflow:hidden}.widget-social .widget-social-box1 ul{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.widget-social .widget-social-box1 ul li,.widget-social .widget-social-box3 ul li,.widget-social .widget-social-box4 ul li,.widget-social .widget-social-box5 ul li,.widget-social .widget-social-box9 ul li{border-right:1px solid #dee2e6}.widget-social .widget-social-box1 ul li:last-child,.widget-social .widget-social-box3 ul li:last-child,.widget-social .widget-social-box4 ul li:last-child,.widget-social .widget-social-box5 ul li:last-child,.widget-social .widget-social-box9 ul li:last-child{border-right:0 solid #dee2e6;padding-right:0}.widget-social .widget-social-box11 .widget-social-contant,.widget-social .widget-social-box12 .widget-social-contant,.widget-social .widget-social-box15 .widget-social-contant,.widget-social .widget-social-box3 .widget-social-contant,.widget-social .widget-social-box7 .widget-social-contant,.widget-social .widget-social-box9 .widget-social-contant{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important}.widget-social .widget-social-box11 .widget-social-contant h4,.widget-social .widget-social-box11 .widget-social-contant h5,.widget-social .widget-social-box12 .widget-social-contant h4,.widget-social .widget-social-box12 .widget-social-contant h5,.widget-social .widget-social-box15 .widget-social-contant h4,.widget-social .widget-social-box15 .widget-social-contant h5,.widget-social .widget-social-box3 .widget-social-contant h4,.widget-social .widget-social-box3 .widget-social-contant h5,.widget-social .widget-social-box7 .widget-social-contant h4,.widget-social .widget-social-box7 .widget-social-contant h5,.widget-social .widget-social-box9 .widget-social-contant h4,.widget-social .widget-social-box9 .widget-social-contant h5{color:#fff}.widget-social .widget-social-box7 .widget-social-contant a,.widget-social .widget-social-box7 .widget-social-contant p{color:#fff}.widget-social .widget-social-box7 .widget-social-contant p{border-color:#fff}.widget-social .widget-social-box12 .widget-social-contant p{color:#fff}.widget-social .widget-social-box6 ul li,.widget-social .widget-social-box7 ul li,.widget-social .widget-social-box8 ul li{padding:0 5px}.widget-social .widget-social-box10 .nav,.widget-social .widget-social-box12 .nav{padding:.5rem}.widget-social .widget-social-box2 .card-body ul li a{font-size:14px;font-weight:500}.widget-social .widget-social-box4 ul{border-top:1px solid #dee2e6}.widget-social .widget-social-box9 .bg-img{margin-top:-30px;margin-left:auto;margin-right:auto}.widget-social .widget-social-box11 ul li{padding:10px 10px}.widget-social .widget-social-box15 .img-icon{width:40px;height:40px;border-radius:50px;line-height:40px;text-align:center}.widget-social .widget-social-box15 .img-icon i{font-size:18px}.widget-chart-contant .img-icon{width:60px;height:60px;line-height:60px}.widget-chart-contant .img-icon i{font-size:2rem}.img-icon-box{border-radius:5px!important}.img-icon-outline{border-width:3px;border-style:solid}.b-outline-primary,.b-primary{border-color:#8e54e9}.b-info,.b-outline-info{border-color:#45aaf2}.b-danger,.b-outline-danger{border-color:#e3324c}.b-outline-warning,.b-warning{border-color:#f7b731}#cryptodemo6.chart-fit{top:30px}.account-contant .bg-img{width:100px;height:100px}.task-table .dot{background-color:#8e54e9;border-radius:10px;margin-right:6px;width:10px;height:10px;display:inline-block}.task-table tr{border-bottom:1px solid #dee2e6}.task-table tr:last-child{border-bottom:0 solid #dee2e6}.task-table .task-table-td .chat{position:relative}.task-table .task-table-td .chat i{font-size:18px}.task-table .task-table-td .chat .badge{position:absolute;top:-10px;left:20px}.task-table td,.task-table th{vertical-align:middle;border-top:0 solid #dee2e6}.task-list-contant .table .card-header,.task-list-contant .table td,.task-list-contant .table th{padding:.75rem 2rem}.task-list-contant .table td:first-child{padding-right:0}.error-contant .error-innr{height:100vh;width:100%;background-position:center;background-repeat:no-repeat;background-size:cover;object-fit:cover}@media screen and (min-width:480px) and (max-width:576px){.error-contant .error-innr .container{max-width:100%}}@media screen and (max-width:480px){.error-contant .error-innr .container{max-width:100%}}.error-contant .row{height:100vh}.st0{fill:#8e54e9}.st1{fill:#f9f9fb}.st2{fill-rule:evenodd;clip-rule:evenodd;fill:#a37dff}.st3{fill-rule:evenodd;clip-rule:evenodd;fill:#cbf}.st4{fill-rule:evenodd;clip-rule:evenodd;fill:#f9f9fb}.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#90c9ea}.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#abc3ff}.st7{fill-rule:evenodd;clip-rule:evenodd;fill:#79a1f2}.st8{fill-rule:evenodd;clip-rule:evenodd;fill:#618de5}.st9{fill-rule:evenodd;clip-rule:evenodd;fill:#7b91ff}.st10{fill-rule:evenodd;clip-rule:evenodd;fill:#80c3ff}.st11{fill-rule:evenodd;clip-rule:evenodd;fill:#494089}.pricing-content h5{color:#333;font-size:1.285rem;text-transform:uppercase}.pricing-content h2{font-size:42px}.pricing-content ul{padding-left:0;list-style:none}.pricing-content ul li{line-height:30px;text-transform:capitalize;letter-spacing:.5px}.pricing-content a{text-transform:capitalize}.pricing-highlight{background:#8e54e9;background:-moz-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-webkit-gradient(linear,left,right,color-stop(0,#8e54e9),color-stop(100%,#4776e6))!important;background:-webkit-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-o-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:-ms-linear-gradient(left,#8e54e9 0,#4776e6 100%)!important;background:linear-gradient(to right,#8e54e9 0,#4776e6 100%)!important}.pricing-highlight .pricing-content h5{color:#fff}.pricing-highlight .pricing-content h2{color:#fff!important}.pricing-highlight .pricing-content p{color:#fff!important}.pricing-highlight .pricing-content ul li{color:#fff!important}.faq-contant .accordion .card{-webkit-box-shadow:0 0 5px #ccc;-moz-box-shadow:0 0 5px #ccc;box-shadow:0 0 5px #ccc;margin-bottom:16px}.faq-contant .accordion .card:last-child{margin-bottom:3rem}.faq-contant .nav .nav-link.active h5,.faq-contant .nav .nav-link.active p{color:#fff;line-height:1.4rem}.faq-contant .nav .nav-link p{line-height:1.4rem}.faq-contant .tab-content .card-header .btn{font-size:16px;font-weight:700;color:#8e54e9}.faq-contant .tab-content .card-header .btn:focus{box-shadow:none}.portfolio-item{overflow:hidden;color:#fff;width:100%;border:0;position:relative}.portfolio-item:before{content:'';display:inline-block;width:100%;height:100%;position:absolute;top:0;left:0;z-index:1;background-size:115%;-webkit-transition:all .7s cubic-bezier(.68,.11,.13,.98);-moz-transition:all .7s cubic-bezier(.68,.11,.13,.98);transition:all .7s cubic-bezier(.68,.11,.13,.98)}.portfolio-item img{width:100%;-webkit-transition:transform .35s;-o-transition:transform .35s;-ms-transition:transform .35s;-moz-transition:transform .35s;transition:transform .35s;-webkit-backface-visibility:hidden;-o-backface-visibility:hidden;-ms-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.portfolio-item .portfolio-overlay{width:100%;background:#8e54e9!important;padding:10px 0;position:absolute;bottom:-80px;display:block;margin-top:0;float:left;z-index:9;text-align:center;left:0;transition:all .5s ease-in-out;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out}.portfolio-item .portfolio-overlay h4{font-weight:600;margin-bottom:5px}.portfolio-item .portfolio-overlay a:hover{color:#fff}.portfolio-item .portfolio-overlay span{font-weight:400;font-size:1rem}.portfolio-item .portfolio-overlay span a{color:#fff}.portfolio-item .portfolio-overlay span a:hover{color:#323232}.portfolio-item a.popup{position:absolute;right:20px;top:-20px;color:#fff;z-index:9;display:inline-block;width:40px;height:40px;background:#fff;color:#626262;border-radius:50%;margin-right:10px;padding-left:0;text-align:center;line-height:40px;opacity:0;transition:all .5s ease-in-out;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out}.portfolio-item a.popup:hover{background:#8e54e9;color:#fff}.portfolio-item:hover img{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}.portfolio-item:hover a.popup{opacity:1;top:20px}.portfolio-item:hover .portfolio-overlay{bottom:0}.clients-contant .form-check input[type=checkbox]{content:'';position:absolute;left:auto;top:0;width:1.25em;height:1.25em;border:2px solid #ccc;background:#fff;border-radius:4px}.clients-contant .clients-contant-table .dot{background-color:#26de81;border-radius:10px;margin-right:6px;width:10px;height:10px;display:inline-block}.clients-contant .clients-contant-table tr{border-bottom:1px solid #dee2e6}.clients-contant .clients-contant-table tr td,.clients-contant .clients-contant-table tr th{vertical-align:middle;align-items:center;border-top:0 solid #dee2e6;border-bottom:0 solid #dee2e6!important}.clients-contant .clients-contant-table tr th{border-bottom:1px solid #dee2e6!important}.clients-contant .clients-contant-table tr th:last-child{border-bottom:0 solid}.clients-contant .clients-contant-table .btn.btn-icon{width:30px;height:30px;line-height:30px}.contact-contant .form-check input[type=checkbox]{content:'';position:absolute;left:0;top:0;width:1.25em;height:1.25em;border:2px solid #ccc;background:#fff;border-radius:4px;margin-top:4px}.contact-contant .img-icon{width:35px;height:35px;line-height:35px;margin-right:1rem}.contact-contant ul{align-items:center;padding:.4rem 0}.contact-contant ul li i{font-size:16px;color:#8e54e9}.contact-contant ul.nav:first-child{margin-top:1rem}.contact-contant ul.nav:last-child{padding-bottom:0}.employees-contant .employees-contant-inner span{margin-left:8px;font-size:13px}.employees-contant .employees-contant-inner span:first-child{margin-left:0}@media screen and (min-width:480px) and (max-width:576px){.employees-contant .employees-contant-inner span{margin-bottom:8px}.employees-contant .employees-contant-inner span:last-child{margin-bottom:0}}@media screen and (max-width:480px){.employees-contant .employees-contant-inner span{margin-bottom:8px}.employees-contant .employees-contant-inner span:last-child{margin-bottom:0}}.employees-contant h4 .badge{background-color:#f7f7f7;color:#8e54e9}.employees-contant .bg-img{width:70px;height:70px}.comingsoon .form-control.bg-white-inverse{color:#fff;border:0;background:rgba(255,255,255,.25);color:#fff}.comingsoon ::-webkit-input-placeholder{color:#fff}.comingsoon ::-moz-placeholder{color:#fff}.comingsoon :-ms-input-placeholder{color:#fff}.comingsoon :-moz-placeholder{color:#fff} \ No newline at end of file diff --git a/public/asset/css/vendors.css b/public/asset/css/vendors.css new file mode 100644 index 0000000..ef0ee14 --- /dev/null +++ b/public/asset/css/vendors.css @@ -0,0 +1,25 @@ +/*! +* metismenu - v2.7.9 +* A jQuery menu plugin +* https://github.com/onokumus/metismenu#readme +* +* Made by Osman Nuri Okumus (https://github.com/onokumus) +* Under MIT License +*/.metismenu .arrow{float:right;line-height:1.42857}[dir=rtl] .metismenu .arrow{float:left}.metismenu .glyphicon.arrow:before{content:"\e079"}.metismenu .active>a>.glyphicon.arrow:before{content:"\e114"}.metismenu .fa.arrow:before{content:"\f104"}.metismenu .active>a>.fa.arrow:before{content:"\f107"}.metismenu .ion.arrow:before{content:"\f3d2"}.metismenu .active>a>.ion.arrow:before{content:"\f3d0"}.metismenu .plus-times{float:right}[dir=rtl] .metismenu .plus-times{float:left}.metismenu .fa.plus-times:before{content:"\f067"}.metismenu .active>a>.fa.plus-times{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.metismenu .plus-minus{float:right}[dir=rtl] .metismenu .plus-minus{float:left}.metismenu .fa.plus-minus:before{content:"\f067"}.metismenu .active>a>.fa.plus-minus:before{content:"\f068"}.metismenu .collapse{display:none}.metismenu .collapse.in{display:block}.metismenu .collapsing{height:0;overflow:hidden;position:relative;transition-duration:.35s;transition-property:height,visibility;transition-timing-function:ease}.metismenu .has-arrow{position:relative}.metismenu .has-arrow:after{-webkit-transform:rotate(-45deg) translateY(-50%);-webkit-transform-origin:top;border-color:initial;border-style:solid;border-width:1px 0 0 1px;content:"";height:.5em;position:absolute;right:1em;top:50%;transform:rotate(-45deg) translateY(-50%);transform-origin:top;transition:all .3s ease-out;width:.5em}[dir=rtl] .metismenu .has-arrow:after{-webkit-transform:rotate(135deg) translateY(-50%);left:1em;right:auto;transform:rotate(135deg) translateY(-50%)}.metismenu .active>.has-arrow:after,.metismenu .has-arrow[aria-expanded=true]:after{-webkit-transform:rotate(-135deg) translateY(-50%);transform:rotate(-135deg) translateY(-50%)}[dir=rtl] .metismenu .active>.has-arrow:after,[dir=rtl] .metismenu .has-arrow[aria-expanded=true]:after{-webkit-transform:rotate(225deg) translateY(-50%);transform:rotate(225deg) translateY(-50%)}.morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,.8);border:solid 2px rgba(230,230,230,.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:700;margin:.25em 0}.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:.1em 0}/*! jQuery UI - v1.12.1 - 2016-09-14 +* http://jqueryui.com +* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6 +* Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-active,.ui-menu .ui-state-focus{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:active,.ui-button:hover,.ui-button:link,.ui-button:visited{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}button.ui-button::-moz-focus-inner,input.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus,.ui-controlgroup>.ui-controlgroup-item:focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc(100% - 2.4em)}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw,.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==);height:100%;opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:0 0;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:700}.ui-widget-header a{color:#333}.ui-button,.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,html .ui-button.ui-state-disabled:active,html .ui-button.ui-state-disabled:hover{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-button,.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button{color:#454545;text-decoration:none}.ui-button:focus,.ui-button:hover,.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #ccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,a.ui-button:focus,a.ui-button:hover{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-button.ui-state-active:hover,.ui-button:active,.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_444444_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_444444_256x240.png)}.ui-button:focus .ui-icon,.ui-button:hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(images/ui-icons_555555_256x240.png)}.ui-button:active .ui-icon,.ui-state-active .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-button .ui-state-highlight.ui-icon,.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_777620_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cc0000_256x240.png)}.ui-button .ui-icon{background-image:url(images/ui-icons_777777_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:3px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}.ct-double-octave:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-grid-background,.ct-line{fill:none}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.c3 svg{font:10px sans-serif;-webkit-tap-highlight-color:transparent}.c3 line,.c3 path{fill:none;stroke:#000}.c3 text{-webkit-user-select:none;-moz-user-select:none;user-select:none}.c3-bars path,.c3-event-rect,.c3-legend-item-tile,.c3-xgrid-focus,.c3-ygrid{shape-rendering:crispEdges}.c3-chart-arc path{stroke:#fff}.c3-chart-arc rect{stroke:#fff;stroke-width:1}.c3-chart-arc text{fill:#fff;font-size:13px}.c3-grid line{stroke:#aaa}.c3-grid text{fill:#aaa}.c3-xgrid,.c3-ygrid{stroke-dasharray:3 3}.c3-text.c3-empty{fill:grey;font-size:2em}.c3-line{stroke-width:1px}.c3-circle._expanded_{stroke-width:1px;stroke:#fff}.c3-selected-circle{fill:#fff;stroke-width:2px}.c3-bar{stroke-width:0}.c3-bar._expanded_{fill-opacity:1;fill-opacity:.75}.c3-target.c3-focused{opacity:1}.c3-target.c3-focused path.c3-line,.c3-target.c3-focused path.c3-step{stroke-width:2px}.c3-target.c3-defocused{opacity:.3!important}.c3-region{fill:#4682b4;fill-opacity:.1}.c3-brush .extent{fill-opacity:.1}.c3-legend-item{font-size:12px}.c3-legend-item-hidden{opacity:.15}.c3-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.c3-title{font:14px sans-serif}.c3-tooltip-container{z-index:10}.c3-tooltip{border-collapse:collapse;border-spacing:0;background-color:#fff;empty-cells:show;-webkit-box-shadow:7px 7px 12px -9px #777;-moz-box-shadow:7px 7px 12px -9px #777;box-shadow:7px 7px 12px -9px #777;opacity:.9}.c3-tooltip tr{border:1px solid #ccc}.c3-tooltip th{background-color:#aaa;font-size:14px;padding:2px 5px;text-align:left;color:#fff}.c3-tooltip td{font-size:13px;padding:3px 6px;background-color:#fff;border-left:1px dotted #999}.c3-tooltip td>span{display:inline-block;width:10px;height:10px;margin-right:6px}.c3-tooltip td.value{text-align:right}.c3-area{stroke-width:0;opacity:.2}.c3-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}.c3-chart-arcs .c3-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.c3-chart-arcs .c3-chart-arcs-gauge-unit{fill:#000;font-size:16px}.c3-chart-arcs .c3-chart-arcs-gauge-max{fill:#777}.c3-chart-arcs .c3-chart-arcs-gauge-min{fill:#777}.c3-chart-arc .c3-gauge-value{fill:#000}.c3-chart-arc.c3-target g path{opacity:1}.c3-chart-arc.c3-target.c3-focused g path{opacity:1}.c3-drag-zoom.enabled{pointer-events:all!important;visibility:visible}.c3-drag-zoom.disabled{pointer-events:none!important;visibility:hidden}.c3-drag-zoom .extent{fill-opacity:.1}.jqvmap-label,.jqvmap-pin{pointer-events:none}.jqvmap-label{position:absolute;display:none;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background:#292929;color:#fff;font-family:sans-serif,Verdana;font-size:smaller;padding:3px}.jqvmap-zoomin,.jqvmap-zoomout{position:absolute;left:10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background:#000;padding:3px;color:#fff;width:10px;height:10px;cursor:pointer;line-height:10px;text-align:center}.jqvmap-zoomin{top:10px}.jqvmap-zoomout{top:30px}.jqvmap-region{cursor:pointer}.jqvmap-ajax_response{width:100%;height:500px}table.dataTable{clear:both;margin-top:6px!important;margin-bottom:6px!important;max-width:none!important;border-collapse:separate!important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap td,table.dataTable.nowrap th{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:400;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:400;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:.85em;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap;justify-content:flex-end}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc{padding-right:30px}table.dataTable thead>tr>td:active,table.dataTable thead>tr>th:active{outline:0}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc_disabled:after,table.dataTable thead .sorting_desc_disabled:before{position:absolute;bottom:.9em;display:block;opacity:.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_desc_disabled:after{right:.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0!important}div.dataTables_scrollBody table{border-top:none;margin-top:0!important;margin-bottom:0!important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:after,div.dataTables_scrollBody table thead .sorting_desc:before{display:none}div.dataTables_scrollBody table tbody tr:first-child td,div.dataTables_scrollBody table tbody tr:first-child th{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0!important;border-top:none}@media screen and (max-width:767px){div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-sm>thead>tr>th{padding-right:20px}table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before{top:5px;right:.85em}table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after{top:5px}table.table-bordered.dataTable td,table.table-bordered.dataTable th{border-left-width:0}table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable th:last-child{border-right-width:0}table.table-bordered.dataTable tbody td,table.table-bordered.dataTable tbody th{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child{padding-right:0}/*! + * FullCalendar v3.10.0 + * Docs & License: https://fullcalendar.io/ + * (c) 2018 Adam Shaw + */.fc button,.fc table,body .fc{font-size:1em}.fc .fc-axis,.fc button,.fc-day-grid-event .fc-content,.fc-list-item-marker,.fc-list-item-time,.fc-time-grid-event .fc-time,.fc-time-grid-event.fc-short .fc-content{white-space:nowrap}.fc-event,.fc-event:hover,.fc-state-hover,.fc.fc-bootstrap3 a,.ui-widget .fc-event,a.fc-more{text-decoration:none}.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}.fc th,.fc-basic-view .fc-day-top .fc-week-number,.fc-basic-view td.fc-week-number,.fc-icon,.fc-toolbar{text-align:center}.fc-highlight{background:#bce8f1;opacity:.3}.fc-bgevent{background:#8fdf82;opacity:.3}.fc-nonbusiness{background:#d7d7d7}.fc button{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;height:2.1em;padding:0 .6em;cursor:pointer}.fc button::-moz-focus-inner{margin:0;padding:0}.fc-state-default{border:1px solid;background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.fc-state-default.fc-corner-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.fc-state-default.fc-corner-right{border-top-right-radius:4px;border-bottom-right-radius:4px}.fc button .fc-icon{position:relative;top:-.05em;margin:0 .2em;vertical-align:middle}.fc-state-active,.fc-state-disabled,.fc-state-down,.fc-state-hover{color:#333;background-color:#e6e6e6}.fc-state-hover{color:#333;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.fc-state-active,.fc-state-down{background-color:#ccc;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.fc-state-disabled{cursor:default;background-image:none;opacity:.65;box-shadow:none}.fc-event.fc-draggable,.fc-event[href],.fc-popover .fc-header .fc-close,a[data-goto]{cursor:pointer}.fc-button-group{display:inline-block}.fc .fc-button-group>*{float:left;margin:0 0 0 -1px}.fc .fc-button-group>:first-child{margin-left:0}.fc-popover{position:absolute;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc-popover .fc-header{padding:2px 4px}.fc-popover .fc-header .fc-title{margin:0 2px}.fc-ltr .fc-popover .fc-header .fc-title,.fc-rtl .fc-popover .fc-header .fc-close{float:left}.fc-ltr .fc-popover .fc-header .fc-close,.fc-rtl .fc-popover .fc-header .fc-title{float:right}.fc-divider{border-style:solid;border-width:1px}hr.fc-divider{height:0;margin:0;padding:0 0 2px;border-width:1px 0}.fc-bg table,.fc-row .fc-bgevent-skeleton table,.fc-row .fc-highlight-skeleton table{height:100%}.fc-clear{clear:both}.fc-bg,.fc-bgevent-skeleton,.fc-helper-skeleton,.fc-highlight-skeleton{position:absolute;top:0;left:0;right:0}.fc-bg{bottom:0}.fc table{width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0}.fc td,.fc th{border-style:solid;border-width:1px;padding:0;vertical-align:top}.fc td.fc-today{border-style:double}a[data-goto]:hover{text-decoration:underline}.fc .fc-row{border-style:solid;border-width:0}.fc-row table{border-left:0 hidden transparent;border-right:0 hidden transparent;border-bottom:0 hidden transparent}.fc-row:first-child table{border-top:0 hidden transparent}.fc-row{position:relative}.fc-row .fc-bg{z-index:1}.fc-row .fc-bgevent-skeleton,.fc-row .fc-highlight-skeleton{bottom:0}.fc-row .fc-bgevent-skeleton td,.fc-row .fc-highlight-skeleton td{border-color:transparent}.fc-row .fc-bgevent-skeleton{z-index:2}.fc-row .fc-highlight-skeleton{z-index:3}.fc-row .fc-content-skeleton{position:relative;z-index:4;padding-bottom:2px}.fc-row .fc-helper-skeleton{z-index:5}.fc .fc-row .fc-content-skeleton table,.fc .fc-row .fc-content-skeleton td,.fc .fc-row .fc-helper-skeleton td{background:0 0;border-color:transparent}.fc-row .fc-content-skeleton td,.fc-row .fc-helper-skeleton td{border-bottom:0}.fc-row .fc-content-skeleton tbody td,.fc-row .fc-helper-skeleton tbody td{border-top:0}.fc-scroller{-webkit-overflow-scrolling:touch}.fc-day-grid-event .fc-content,.fc-icon,.fc-row.fc-rigid,.fc-time-grid-event{overflow:hidden}.fc-scroller>.fc-day-grid,.fc-scroller>.fc-time-grid{position:relative;width:100%}.fc-event{position:relative;display:block;font-size:.85em;line-height:1.3;border-radius:3px;border:1px solid #3a87ad}.fc-event,.fc-event-dot{background-color:#3a87ad}.fc-event,.fc-event:hover{color:#fff}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-event .fc-bg{z-index:1;background:#fff;opacity:.25}.fc-event .fc-content{position:relative;z-index:2}.fc-event .fc-resizer{position:absolute;z-index:4;display:none}.fc-event.fc-allow-mouse-resize .fc-resizer,.fc-event.fc-selected .fc-resizer{display:block}.fc-event.fc-selected .fc-resizer:before{content:"";position:absolute;z-index:9999;top:50%;left:50%;width:40px;height:40px;margin-left:-20px;margin-top:-20px}.fc-event.fc-selected{z-index:9999!important;box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event.fc-selected.fc-dragging{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-h-event.fc-selected:before{content:"";position:absolute;z-index:3;top:-10px;bottom:-10px;left:0;right:0}.fc-ltr .fc-h-event.fc-not-start,.fc-rtl .fc-h-event.fc-not-end{margin-left:0;border-left-width:0;padding-left:1px;border-top-left-radius:0;border-bottom-left-radius:0}.fc-ltr .fc-h-event.fc-not-end,.fc-rtl .fc-h-event.fc-not-start{margin-right:0;border-right-width:0;padding-right:1px;border-top-right-radius:0;border-bottom-right-radius:0}.fc-ltr .fc-h-event .fc-start-resizer,.fc-rtl .fc-h-event .fc-end-resizer{cursor:w-resize;left:-1px}.fc-ltr .fc-h-event .fc-end-resizer,.fc-rtl .fc-h-event .fc-start-resizer{cursor:e-resize;right:-1px}.fc-h-event.fc-allow-mouse-resize .fc-resizer{width:7px;top:-1px;bottom:-1px}.fc-h-event.fc-selected .fc-resizer{border-radius:4px;border-width:1px;width:6px;height:6px;border-style:solid;border-color:inherit;background:#fff;top:50%;margin-top:-4px}.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,.fc-rtl .fc-h-event.fc-selected .fc-end-resizer{margin-left:-4px}.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,.fc-rtl .fc-h-event.fc-selected .fc-start-resizer{margin-right:-4px}.fc-day-grid-event{margin:1px 2px 0;padding:0 1px}tr:first-child>td>.fc-day-grid-event{margin-top:2px}.fc-day-grid-event.fc-selected:after{content:"";position:absolute;z-index:1;top:-1px;right:-1px;bottom:-1px;left:-1px;background:#000;opacity:.25}.fc-day-grid-event .fc-time{font-weight:700}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer{margin-left:-2px}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer{margin-right:-2px}a.fc-more{margin:1px 3px;font-size:.85em;cursor:pointer}a.fc-more:hover{text-decoration:underline}.fc-limited{display:none}.fc-day-grid .fc-row{z-index:1}.fc-more-popover{z-index:2;width:220px}.fc-more-popover .fc-event-container{padding:10px}.fc-bootstrap3 .fc-popover .panel-body,.fc-bootstrap4 .fc-popover .card-body{padding:0}.fc-now-indicator{position:absolute;border:0 solid red}.fc-bootstrap3 .fc-today.alert,.fc-bootstrap4 .fc-today.alert{border-radius:0}.fc-unselectable{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.fc-unthemed .fc-content,.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-list-view,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#ddd}.fc-unthemed .fc-popover{background-color:#fff;border-width:1px;border-style:solid}.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-popover .fc-header{background:#eee}.fc-unthemed td.fc-today{background:#fcf8e3}.fc-unthemed .fc-disabled-day{background:#d7d7d7;opacity:.3}.fc-icon{display:inline-block;height:1em;line-height:1em;font-size:1em;font-family:"Courier New",Courier,monospace;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fc-icon:after{position:relative}.fc-icon-left-single-arrow:after{content:"\2039";font-weight:700;font-size:200%;top:-7%}.fc-icon-right-single-arrow:after{content:"\203A";font-weight:700;font-size:200%;top:-7%}.fc-icon-left-double-arrow:after{content:"\AB";font-size:160%;top:-7%}.fc-icon-right-double-arrow:after{content:"\BB";font-size:160%;top:-7%}.fc-icon-left-triangle:after{content:"\25C4";font-size:125%;top:3%}.fc-icon-right-triangle:after{content:"\25BA";font-size:125%;top:3%}.fc-icon-down-triangle:after{content:"\25BC";font-size:125%;top:2%}.fc-icon-x:after{content:"\D7";font-size:200%;top:6%}.fc-unthemed .fc-popover .fc-header .fc-close{color:#666;font-size:.9em;margin-top:2px}.fc-unthemed .fc-list-item:hover td{background-color:#f5f5f5}.ui-widget .fc-disabled-day{background-image:none}.fc-bootstrap3 .fc-time-grid .fc-slats table,.fc-bootstrap4 .fc-time-grid .fc-slats table,.fc-time-grid .fc-slats .ui-widget-content{background:0 0}.fc-popover>.ui-widget-header+.ui-widget-content{border-top:0}.fc-bootstrap3 hr.fc-divider,.fc-bootstrap4 hr.fc-divider{border-color:inherit}.ui-widget .fc-event{color:#fff;font-weight:400}.ui-widget td.fc-axis{font-weight:400}.fc.fc-bootstrap3 a[data-goto]:hover{text-decoration:underline}.fc.fc-bootstrap4 a{text-decoration:none}.fc.fc-bootstrap4 a[data-goto]:hover{text-decoration:underline}.fc-bootstrap4 a.fc-event:not([href]):not([tabindex]){color:#fff}.fc-bootstrap4 .fc-popover.card{position:absolute}.fc-toolbar.fc-header-toolbar{margin-bottom:1em}.fc-toolbar.fc-footer-toolbar{margin-top:1em}.fc-toolbar .fc-left{float:left}.fc-toolbar .fc-right{float:right}.fc-toolbar .fc-center{display:inline-block}.fc .fc-toolbar>*>*{float:left;margin-left:.75em}.fc .fc-toolbar>*>:first-child{margin-left:0}.fc-toolbar h2{margin:0}.fc-toolbar button{position:relative}.fc-toolbar .fc-state-hover,.fc-toolbar .ui-state-hover{z-index:2}.fc-toolbar .fc-state-down{z-index:3}.fc-toolbar .fc-state-active,.fc-toolbar .ui-state-active{z-index:4}.fc-toolbar button:focus{z-index:5}.fc-view-container *,.fc-view-container :after,.fc-view-container :before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fc-view,.fc-view>table{position:relative;z-index:1}.fc-basicDay-view .fc-content-skeleton,.fc-basicWeek-view .fc-content-skeleton{padding-bottom:1em}.fc-basic-view .fc-body .fc-row{min-height:4em}.fc-row.fc-rigid .fc-content-skeleton{position:absolute;top:0;left:0;right:0}.fc-day-top.fc-other-month{opacity:.3}.fc-basic-view .fc-day-number,.fc-basic-view .fc-week-number{padding:2px}.fc-basic-view th.fc-day-number,.fc-basic-view th.fc-week-number{padding:0 2px}.fc-ltr .fc-basic-view .fc-day-top .fc-day-number{float:right}.fc-rtl .fc-basic-view .fc-day-top .fc-day-number{float:left}.fc-ltr .fc-basic-view .fc-day-top .fc-week-number{float:left;border-radius:0 0 3px}.fc-rtl .fc-basic-view .fc-day-top .fc-week-number{float:right;border-radius:0 0 0 3px}.fc-basic-view .fc-day-top .fc-week-number{min-width:1.5em;background-color:#f2f2f2;color:grey}.fc-basic-view td.fc-week-number>*{display:inline-block;min-width:1.25em}.fc-agenda-view .fc-day-grid{position:relative;z-index:2}.fc-agenda-view .fc-day-grid .fc-row{min-height:3em}.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton{padding-bottom:1em}.fc .fc-axis{vertical-align:middle;padding:0 4px}.fc-ltr .fc-axis{text-align:right}.fc-rtl .fc-axis{text-align:left}.fc-time-grid,.fc-time-grid-container{position:relative;z-index:1}.fc-time-grid{min-height:100%}.fc-time-grid table{border:0 hidden transparent}.fc-time-grid>.fc-bg{z-index:1}.fc-time-grid .fc-slats,.fc-time-grid>hr{position:relative;z-index:2}.fc-time-grid .fc-content-col{position:relative}.fc-time-grid .fc-content-skeleton{position:absolute;z-index:3;top:0;left:0;right:0}.fc-time-grid .fc-business-container{position:relative;z-index:1}.fc-time-grid .fc-bgevent-container{position:relative;z-index:2}.fc-time-grid .fc-highlight-container{z-index:3;position:relative}.fc-time-grid .fc-event-container{position:relative;z-index:4}.fc-time-grid .fc-now-indicator-line{z-index:5}.fc-time-grid .fc-helper-container{position:relative;z-index:6}.fc-time-grid .fc-slats td{height:1.5em;border-bottom:0}.fc-time-grid .fc-slats .fc-minor td{border-top-style:dotted}.fc-time-grid .fc-highlight{position:absolute;left:0;right:0}.fc-ltr .fc-time-grid .fc-event-container{margin:0 2.5% 0 2px}.fc-rtl .fc-time-grid .fc-event-container{margin:0 2px 0 2.5%}.fc-time-grid .fc-bgevent,.fc-time-grid .fc-event{position:absolute;z-index:1}.fc-time-grid .fc-bgevent{left:0;right:0}.fc-v-event.fc-not-start{border-top-width:0;padding-top:1px;border-top-left-radius:0;border-top-right-radius:0}.fc-v-event.fc-not-end{border-bottom-width:0;padding-bottom:1px;border-bottom-left-radius:0;border-bottom-right-radius:0}.fc-time-grid-event.fc-selected{overflow:visible}.fc-time-grid-event.fc-selected .fc-bg{display:none}.fc-time-grid-event .fc-content{overflow:hidden}.fc-time-grid-event .fc-time,.fc-time-grid-event .fc-title{padding:0 1px}.fc-time-grid-event .fc-time{font-size:.85em}.fc-time-grid-event.fc-short .fc-time,.fc-time-grid-event.fc-short .fc-title{display:inline-block;vertical-align:top}.fc-time-grid-event.fc-short .fc-time span{display:none}.fc-time-grid-event.fc-short .fc-time:before{content:attr(data-start)}.fc-time-grid-event.fc-short .fc-time:after{content:"\A0-\A0"}.fc-time-grid-event.fc-short .fc-title{font-size:.85em;padding:0}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer{left:0;right:0;bottom:0;height:8px;overflow:hidden;line-height:8px;font-size:11px;font-family:monospace;text-align:center;cursor:s-resize}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after{content:"="}.fc-time-grid-event.fc-selected .fc-resizer{border-radius:5px;border-width:1px;width:8px;height:8px;border-style:solid;border-color:inherit;background:#fff;left:50%;margin-left:-5px;bottom:-5px}.fc-time-grid .fc-now-indicator-line{border-top-width:1px;left:0;right:0}.fc-time-grid .fc-now-indicator-arrow{margin-top:-5px}.fc-ltr .fc-time-grid .fc-now-indicator-arrow{left:0;border-width:5px 0 5px 6px;border-top-color:transparent;border-bottom-color:transparent}.fc-rtl .fc-time-grid .fc-now-indicator-arrow{right:0;border-width:5px 6px 5px 0;border-top-color:transparent;border-bottom-color:transparent}.fc-event-dot{display:inline-block;width:10px;height:10px;border-radius:5px}.fc-rtl .fc-list-view{direction:rtl}.fc-list-view{border-width:1px;border-style:solid}.fc .fc-list-table{table-layout:auto}.fc-list-table td{border-width:1px 0 0;padding:8px 14px}.fc-list-table tr:first-child td{border-top-width:0}.fc-list-heading{border-bottom-width:1px}.fc-list-heading td{font-weight:700}.fc-ltr .fc-list-heading-main{float:left}.fc-ltr .fc-list-heading-alt,.fc-rtl .fc-list-heading-main{float:right}.fc-rtl .fc-list-heading-alt{float:left}.fc-list-item.fc-has-url{cursor:pointer}.fc-list-item-marker,.fc-list-item-time{width:1px}.fc-ltr .fc-list-item-marker{padding-right:0}.fc-rtl .fc-list-item-marker{padding-left:0}.fc-list-item-title a{text-decoration:none;color:inherit}.fc-list-item-title a[href]:hover{text-decoration:underline}.fc-list-empty-wrap2{position:absolute;top:0;left:0;right:0;bottom:0}.fc-list-empty-wrap1{width:100%;height:100%;display:table}.fc-list-empty{display:table-cell;vertical-align:middle;text-align:center}.fc-unthemed .fc-list-empty{background-color:#eee}.mCustomScrollbar{-ms-touch-action:pinch-zoom;touch-action:pinch-zoom}.mCustomScrollbar.mCS_no_scrollbar,.mCustomScrollbar.mCS_touch_action{-ms-touch-action:auto;touch-action:auto}.mCustomScrollBox{position:relative;overflow:hidden;height:100%;max-width:100%;outline:0;direction:ltr}.mCSB_container{overflow:hidden;width:auto;height:auto}.mCSB_inside>.mCSB_container{margin-right:30px}.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container{margin-right:0;margin-left:30px}.mCS-dir-rtl>.mCSB_inside>.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{margin-left:0}.mCSB_scrollTools{position:absolute;width:16px;height:auto;left:auto;top:0;right:0;bottom:0}.mCSB_outside+.mCSB_scrollTools{right:-26px}.mCS-dir-rtl>.mCSB_inside>.mCSB_scrollTools,.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{right:auto;left:0}.mCS-dir-rtl>.mCSB_outside+.mCSB_scrollTools{left:-26px}.mCSB_scrollTools .mCSB_draggerContainer{position:absolute;top:0;left:0;bottom:0;right:0;height:auto}.mCSB_scrollTools a+.mCSB_draggerContainer{margin:20px 0}.mCSB_scrollTools .mCSB_draggerRail{width:2px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCSB_scrollTools .mCSB_dragger{cursor:pointer;width:100%;height:30px;z-index:1}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{position:relative;width:4px;height:100%;margin:0 auto;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px;text-align:center}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:12px}.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:8px}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonUp{display:block;position:absolute;height:20px;width:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools .mCSB_buttonDown{bottom:0}.mCSB_horizontal.mCSB_inside>.mCSB_container{margin-right:0;margin-bottom:30px}.mCSB_horizontal.mCSB_outside>.mCSB_container{min-height:100%}.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal{width:auto;height:16px;top:auto;right:0;bottom:0;left:0}.mCustomScrollBox+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:-26px}.mCSB_scrollTools.mCSB_scrollTools_horizontal a+.mCSB_draggerContainer{margin:0 20px}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:2px;margin:7px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{width:30px;height:100%;left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:4px;margin:6px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:12px;margin:2px auto}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:8px;margin:4px 0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{display:block;position:absolute;width:20px;height:100%;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft{left:0}.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{right:0}.mCSB_container_wrapper{position:absolute;height:auto;width:auto;overflow:hidden;top:0;left:0;right:0;bottom:0;margin-right:30px;margin-bottom:30px}.mCSB_container_wrapper>.mCSB_container{padding-right:30px;padding-bottom:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:20px}.mCSB_vertical_horizontal>.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:20px}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden+.mCSB_scrollTools.mCSB_scrollTools_vertical{bottom:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{right:0}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:20px}.mCS-dir-rtl>.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden+.mCSB_scrollTools~.mCSB_scrollTools.mCSB_scrollTools_horizontal{left:0}.mCS-dir-rtl>.mCSB_inside>.mCSB_container_wrapper{margin-right:0;margin-left:30px}.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden>.mCSB_container{padding-right:0}.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden>.mCSB_container{padding-bottom:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden{margin-right:0;margin-left:0}.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside>.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden{margin-bottom:0}.mCSB_scrollTools,.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar{-webkit-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-moz-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;-o-transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out;transition:width .2s ease-out .2s,height .2s ease-out .2s,margin-left .2s ease-out .2s,margin-right .2s ease-out .2s,margin-top .2s ease-out .2s,margin-bottom .2s ease-out .2s,opacity .2s ease-in-out,background-color .2s ease-in-out}.mCSB_scrollTools{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCS-autoHide>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide>.mCustomScrollBox~.mCSB_scrollTools{opacity:0;filter:"alpha(opacity=0)";-ms-filter:"alpha(opacity=0)"}.mCS-autoHide:hover>.mCustomScrollBox>.mCSB_scrollTools,.mCS-autoHide:hover>.mCustomScrollBox~.mCSB_scrollTools,.mCustomScrollBox:hover>.mCSB_scrollTools,.mCustomScrollBox:hover~.mCSB_scrollTools,.mCustomScrollbar>.mCustomScrollBox>.mCSB_scrollTools.mCSB_scrollTools_onDrag,.mCustomScrollbar>.mCustomScrollBox~.mCSB_scrollTools.mCSB_scrollTools_onDrag{opacity:1;filter:"alpha(opacity=100)";-ms-filter:"alpha(opacity=100)"}.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.4);filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75);filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85);filter:"alpha(opacity=85)";-ms-filter:"alpha(opacity=85)"}.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9);filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight,.mCSB_scrollTools .mCSB_buttonUp{background-image:url(mCSB_buttons.png);background-repeat:no-repeat;opacity:.4;filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_buttonUp{background-position:0 0}.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -20px}.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -40px}.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -56px}.mCSB_scrollTools .mCSB_buttonDown:hover,.mCSB_scrollTools .mCSB_buttonLeft:hover,.mCSB_scrollTools .mCSB_buttonRight:hover,.mCSB_scrollTools .mCSB_buttonUp:hover{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_buttonDown:active,.mCSB_scrollTools .mCSB_buttonLeft:active,.mCSB_scrollTools .mCSB_buttonRight:active,.mCSB_scrollTools .mCSB_buttonUp:active{opacity:.9;filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCS-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:rgba(0,0,0,.85)}.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:rgba(0,0,0,.9)}.mCS-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:4px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px auto}.mCS-light-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px 0}.mCS-light-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -20px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -40px}.mCS-light-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -56px}.mCS-dark-2.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-2.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-2.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px 0}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -20px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -40px}.mCS-dark-2.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools .mCSB_draggerRail{width:4px;background-color:#fff;background-color:rgba(255,255,255,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;background-color:#fff;background-color:rgba(255,255,255,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:4px;margin:6px 0}.mCS-dark-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:6px;margin:5px auto}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-light-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-light-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px 0}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -20px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -40px}.mCS-light-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -56px}.mCS-dark-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px 0}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -20px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -40px}.mCS-dark-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -56px}.mCS-light-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.1)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:2px}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%}.mCS-dark-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-thin.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:2px;margin:7px auto}.mCS-dark-thin.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px 0}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -20px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -40px}.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -56px}.mCS-rounded.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger,.mCS-rounded.mCSB_scrollTools .mCSB_dragger{height:14px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:14px;margin:0 1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger{width:14px}.mCS-rounded-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:14px;margin:1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{width:16px;height:16px;margin:-1px 0}.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:4px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{height:16px;width:16px;margin:0 -1px}.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded-dark.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-rounded.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:4px;margin:6px 0}.mCS-rounded.mCSB_scrollTools .mCSB_buttonUp{background-position:0 -72px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -92px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -112px}.mCS-rounded.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -128px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.15)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-80px -72px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-80px -92px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-80px -112px}.mCS-rounded-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-80px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools_vertical .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_vertical .mCSB_draggerRail{width:4px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{background-color:transparent;background-position:center}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAANElEQVQYV2NkIAAYiVbw//9/Y6DiM1ANJoyMjGdBbLgJQAX/kU0DKgDLkaQAvxW4HEvQFwCRcxIJK1XznAAAAABJRU5ErkJggg==);background-repeat:repeat-y;opacity:.3;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-rounded-dots-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-rounded-dots.mCSB_scrollTools_horizontal .mCSB_draggerRail{height:4px;margin:6px 0;background-repeat:repeat-x}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonUp{background-position:-16px -72px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonDown{background-position:-16px -92px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonLeft{background-position:-20px -112px}.mCS-rounded-dots.mCSB_scrollTools .mCSB_buttonRight{background-position:-20px -128px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYV2NkIAAYSVFgDFR8BqrBBEifBbGRTfiPZhpYjiQFBK3A6l6CvgAAE9kGCd1mvgEAAAAASUVORK5CYII=)}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-96px -72px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-96px -92px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-100px -112px}.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-100px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-y;background-image:-moz-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{background-repeat:repeat-x;background-image:-moz-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,.5)),color-stop(100%,rgba(255,255,255,0)));background-image:-webkit-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-o-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:-ms-linear-gradient(top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%);background-image:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}.mCS-3d-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-3d.mCSB_scrollTools_vertical .mCSB_dragger{height:70px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger{width:70px}.mCS-3d-dark.mCSB_scrollTools,.mCS-3d.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools .mCSB_draggerRail{width:8px;background-color:#000;background-color:rgba(0,0,0,.2);box-shadow:inset 1px 0 1px rgba(0,0,0,.5),inset -1px 0 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:8px}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:8px;margin:4px 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.5),inset 0 -1px 1px rgba(255,255,255,.2)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{width:100%;height:8px;margin:4px auto}.mCS-3d.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1);box-shadow:inset 1px 0 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail{box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools{opacity:1;filter:"alpha(opacity=30)";-ms-filter:"alpha(opacity=30)"}.mCS-3d-thick-dark.mCSB_scrollTools,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer,.mCS-3d-thick.mCSB_scrollTools,.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.mCSB_inside+.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCSB_inside+.mCS-3d-thick.mCSB_scrollTools_vertical{right:1px}.mCS-3d-thick-dark.mCSB_scrollTools_vertical,.mCS-3d-thick.mCSB_scrollTools_vertical{box-shadow:inset 1px 0 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal,.mCS-3d-thick.mCSB_scrollTools_horizontal{bottom:1px;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.5)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 1px 0 0 rgba(255,255,255,.4);width:12px;margin:2px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#555}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:12px;width:auto}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerContainer{background-color:#000;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-3d-thick.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-3d-thick-dark.mCSB_scrollTools{box-shadow:inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal{box-shadow:inset 0 1px 1px rgba(0,0,0,.1),inset 0 0 14px rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 1px 0 0 rgba(255,255,255,.4),inset -1px 0 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.2)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#777}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerContainer{background-color:#fff;background-color:rgba(0,0,0,.05);box-shadow:inset 1px 1px 16px rgba(0,0,0,.1)}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-3d-thick-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{right:0;margin:12px 0}.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools+.mCSB_scrollTools.mCSB_scrollTools_horizontal,.mCustomScrollBox.mCS-minimal-dark+.mCSB_scrollTools.mCSB_scrollTools_horizontal{bottom:0;margin:0 12px}.mCS-dir-rtl>.mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.mCS-dir-rtl>.mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical{left:0;right:auto}.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent}.mCS-minimal-dark.mCSB_scrollTools_vertical .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_vertical .mCSB_dragger{height:50px}.mCS-minimal-dark.mCSB_scrollTools_horizontal .mCSB_dragger,.mCS-minimal.mCSB_scrollTools_horizontal .mCSB_dragger{width:50px}.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.2);filter:"alpha(opacity=20)";-ms-filter:"alpha(opacity=20)"}.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.5);filter:"alpha(opacity=50)";-ms-filter:"alpha(opacity=50)"}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools .mCSB_draggerRail{width:6px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px}.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-light-3.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:6px;margin:5px 0}.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{width:12px}.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-dark-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded+.mCSB_draggerRail,.mCS-light-3.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{height:12px;margin:2px 0}.mCS-light-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-light-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-dark-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-dark-3.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools .mCSB_draggerRail{width:12px;background-color:#000;background-color:rgba(0,0,0,.2)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px;margin:3px 5px;position:absolute;height:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{height:6px;margin:5px 3px;position:absolute;width:auto;top:0;bottom:0;left:0;right:0}.mCS-inset-2-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-3.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools_horizontal .mCSB_draggerRail,.mCS-inset.mCSB_scrollTools_horizontal .mCSB_draggerRail{width:100%;height:12px;margin:2px 0}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset.mCSB_scrollTools .mCSB_buttonUp{background-position:-32px -72px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset.mCSB_scrollTools .mCSB_buttonDown{background-position:-32px -92px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset.mCSB_scrollTools .mCSB_buttonLeft{background-position:-40px -112px}.mCS-inset-2.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset.mCSB_scrollTools .mCSB_buttonRight{background-position:-40px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.1)}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonUp,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonUp{background-position:-112px -72px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonDown,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonDown{background-position:-112px -92px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonLeft,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonLeft{background-position:-120px -112px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_buttonRight,.mCS-inset-dark.mCSB_scrollTools .mCSB_buttonRight{background-position:-120px -128px}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail,.mCS-inset-2.mCSB_scrollTools .mCSB_draggerRail{background-color:transparent;border-width:1px;border-style:solid;border-color:#fff;border-color:rgba(255,255,255,.2);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail{border-color:#000;border-color:rgba(0,0,0,.2)}.mCS-inset-3.mCSB_scrollTools .mCSB_draggerRail{background-color:#fff;background-color:rgba(255,255,255,.6)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_draggerRail{background-color:#000;background-color:rgba(0,0,0,.6)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.75)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.85)}.mCS-inset-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#000;background-color:rgba(0,0,0,.9)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.75)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.85)}.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,.mCS-inset-3-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar{background-color:#fff;background-color:rgba(255,255,255,.9)}@font-face{font-family:summernote;font-style:normal;font-weight:400;src:url(font/summernote.eot?1d9aeaaff0a8939558a45be6cd52cd4c);src:url(font/summernote.eot?1d9aeaaff0a8939558a45be6cd52cd4c#iefix) format("embedded-opentype"),url(font/summernote.woff?1d9aeaaff0a8939558a45be6cd52cd4c) format("woff"),url(font/summernote.ttf?1d9aeaaff0a8939558a45be6cd52cd4c) format("truetype")}[class*=" note-icon-"]:before,[class^=note-icon-]:before{display:inline-block;font:normal normal normal 14px summernote;font-size:inherit;-webkit-font-smoothing:antialiased;text-decoration:inherit;text-rendering:auto;text-transform:none;vertical-align:middle;speak:none;-moz-osx-font-smoothing:grayscale}.note-icon-align-center:before,.note-icon-align-indent:before,.note-icon-align-justify:before,.note-icon-align-left:before,.note-icon-align-outdent:before,.note-icon-align-right:before,.note-icon-align:before,.note-icon-arrow-circle-down:before,.note-icon-arrow-circle-left:before,.note-icon-arrow-circle-right:before,.note-icon-arrow-circle-up:before,.note-icon-arrows-alt:before,.note-icon-arrows-h:before,.note-icon-arrows-v:before,.note-icon-bold:before,.note-icon-caret:before,.note-icon-chain-broken:before,.note-icon-circle:before,.note-icon-close:before,.note-icon-code:before,.note-icon-col-after:before,.note-icon-col-before:before,.note-icon-col-remove:before,.note-icon-eraser:before,.note-icon-float-left:before,.note-icon-float-none:before,.note-icon-float-right:before,.note-icon-font:before,.note-icon-frame:before,.note-icon-italic:before,.note-icon-link:before,.note-icon-magic:before,.note-icon-menu-check:before,.note-icon-minus:before,.note-icon-orderedlist:before,.note-icon-pencil:before,.note-icon-picture:before,.note-icon-question:before,.note-icon-redo:before,.note-icon-rollback:before,.note-icon-row-above:before,.note-icon-row-below:before,.note-icon-row-remove:before,.note-icon-special-character:before,.note-icon-square:before,.note-icon-strikethrough:before,.note-icon-subscript:before,.note-icon-summernote:before,.note-icon-superscript:before,.note-icon-table:before,.note-icon-text-height:before,.note-icon-trash:before,.note-icon-underline:before,.note-icon-undo:before,.note-icon-unorderedlist:before,.note-icon-video:before{display:inline-block;font-family:summernote;font-style:normal;font-weight:400;text-decoration:inherit}.note-icon-align-center:before{content:"\f101"}.note-icon-align-indent:before{content:"\f102"}.note-icon-align-justify:before{content:"\f103"}.note-icon-align-left:before{content:"\f104"}.note-icon-align-outdent:before{content:"\f105"}.note-icon-align-right:before{content:"\f106"}.note-icon-align:before{content:"\f107"}.note-icon-arrow-circle-down:before{content:"\f108"}.note-icon-arrow-circle-left:before{content:"\f109"}.note-icon-arrow-circle-right:before{content:"\f10a"}.note-icon-arrow-circle-up:before{content:"\f10b"}.note-icon-arrows-alt:before{content:"\f10c"}.note-icon-arrows-h:before{content:"\f10d"}.note-icon-arrows-v:before{content:"\f10e"}.note-icon-bold:before{content:"\f10f"}.note-icon-caret:before{content:"\f110"}.note-icon-chain-broken:before{content:"\f111"}.note-icon-circle:before{content:"\f112"}.note-icon-close:before{content:"\f113"}.note-icon-code:before{content:"\f114"}.note-icon-col-after:before{content:"\f115"}.note-icon-col-before:before{content:"\f116"}.note-icon-col-remove:before{content:"\f117"}.note-icon-eraser:before{content:"\f118"}.note-icon-float-left:before{content:"\f119"}.note-icon-float-none:before{content:"\f11a"}.note-icon-float-right:before{content:"\f11b"}.note-icon-font:before{content:"\f11c"}.note-icon-frame:before{content:"\f11d"}.note-icon-italic:before{content:"\f11e"}.note-icon-link:before{content:"\f11f"}.note-icon-magic:before{content:"\f120"}.note-icon-menu-check:before{content:"\f121"}.note-icon-minus:before{content:"\f122"}.note-icon-orderedlist:before{content:"\f123"}.note-icon-pencil:before{content:"\f124"}.note-icon-picture:before{content:"\f125"}.note-icon-question:before{content:"\f126"}.note-icon-redo:before{content:"\f127"}.note-icon-rollback:before{content:"\f128"}.note-icon-row-above:before{content:"\f129"}.note-icon-row-below:before{content:"\f12a"}.note-icon-row-remove:before{content:"\f12b"}.note-icon-special-character:before{content:"\f12c"}.note-icon-square:before{content:"\f12d"}.note-icon-strikethrough:before{content:"\f12e"}.note-icon-subscript:before{content:"\f12f"}.note-icon-summernote:before{content:"\f130"}.note-icon-superscript:before{content:"\f131"}.note-icon-table:before{content:"\f132"}.note-icon-text-height:before{content:"\f133"}.note-icon-trash:before{content:"\f134"}.note-icon-underline:before{content:"\f135"}.note-icon-undo:before{content:"\f136"}.note-icon-unorderedlist:before{content:"\f137"}.note-icon-video:before{content:"\f138"}.note-editor{position:relative}.note-editor .note-dropzone{position:absolute;z-index:100;display:none;color:#87cefa;background-color:#fff;opacity:.95}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;font-size:28px;font-weight:700;text-align:center;vertical-align:middle}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-editing-area{position:relative}.note-editor .note-editing-area .note-editable{outline:0}.note-editor .note-editing-area .note-editable sup{vertical-align:super}.note-editor .note-editing-area .note-editable sub{vertical-align:sub}.note-editor .note-editing-area img.note-float-left{margin-right:10px}.note-editor .note-editing-area img.note-float-right{margin-left:10px}.note-editor.note-frame{border:1px solid #a9a9a9}.note-editor.note-frame.codeview .note-editing-area .note-editable{display:none}.note-editor.note-frame.codeview .note-editing-area .note-codable{display:block}.note-editor.note-frame .note-editing-area{overflow:hidden}.note-editor.note-frame .note-editing-area .note-editable{padding:10px;overflow:auto;color:#000;word-wrap:break-word;background-color:#fff}.note-editor.note-frame .note-editing-area .note-editable[contenteditable=false]{background-color:#e5e5e5}.note-editor.note-frame .note-editing-area .note-codable{display:none;width:100%;padding:10px;margin-bottom:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;outline:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;resize:none}.note-editor.note-frame.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important}.note-editor.note-frame.fullscreen .note-editable{background-color:#fff}.note-editor.note-frame.fullscreen .note-resizebar{display:none}.note-editor.note-frame .note-status-output{display:block;width:100%;height:20px;margin-bottom:0;font-size:14px;line-height:1.42857143;color:#000;border:0;border-top:1px solid #e2e2e2}.note-editor.note-frame .note-status-output:empty{height:0;border-top:0 solid transparent}.note-editor.note-frame .note-status-output .pull-right{float:right!important}.note-editor.note-frame .note-status-output .text-muted{color:#777}.note-editor.note-frame .note-status-output .text-primary{color:#286090}.note-editor.note-frame .note-status-output .text-success{color:#3c763d}.note-editor.note-frame .note-status-output .text-info{color:#31708f}.note-editor.note-frame .note-status-output .text-warning{color:#8a6d3b}.note-editor.note-frame .note-status-output .text-danger{color:#a94442}.note-editor.note-frame .note-status-output .alert{padding:7px 10px 2px 10px;margin:-7px 0 0 0;color:#000;background-color:#f5f5f5;border-radius:0}.note-editor.note-frame .note-status-output .alert .note-icon{margin-right:5px}.note-editor.note-frame .note-status-output .alert-success{color:#3c763d!important;background-color:#dff0d8!important}.note-editor.note-frame .note-status-output .alert-info{color:#31708f!important;background-color:#d9edf7!important}.note-editor.note-frame .note-status-output .alert-warning{color:#8a6d3b!important;background-color:#fcf8e3!important}.note-editor.note-frame .note-status-output .alert-danger{color:#a94442!important;background-color:#f2dede!important}.note-editor.note-frame .note-statusbar{background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.note-editor.note-frame .note-statusbar .note-resizebar{width:100%;height:9px;padding-top:1px;cursor:ns-resize}.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #a9a9a9}.note-editor.note-frame .note-statusbar.locked .note-resizebar{cursor:default}.note-editor.note-frame .note-statusbar.locked .note-resizebar .note-icon-bar{display:none}.note-editor.note-frame .note-placeholder{padding:10px}.note-popover.popover{display:none;max-width:none}.note-popover.popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover.popover .arrow{left:20px!important}.note-toolbar{position:relative;z-index:500}.card-header.note-toolbar,.note-popover .popover-content{padding:0 0 5px 5px;margin:0;background:#f5f5f5}.card-header.note-toolbar>.btn-group,.note-popover .popover-content>.btn-group{margin-top:5px;margin-right:5px;margin-left:0}.card-header.note-toolbar .btn-group .note-table,.note-popover .popover-content .btn-group .note-table{min-width:0;padding:5px}.card-header.note-toolbar .btn-group .note-table .note-dimension-picker,.note-popover .popover-content .btn-group .note-table .note-dimension-picker{font-size:18px}.card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute!important;z-index:3;width:10em;height:10em;cursor:pointer}.card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative!important;z-index:1;width:5em;height:5em;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC) repeat}.card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute!important;z-index:2;width:1em;height:1em;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC) repeat}.card-header.note-toolbar .note-style .dropdown-style blockquote,.card-header.note-toolbar .note-style .dropdown-style pre,.note-popover .popover-content .note-style .dropdown-style blockquote,.note-popover .popover-content .note-style .dropdown-style pre{padding:5px 10px;margin:0}.card-header.note-toolbar .note-style .dropdown-style h1,.card-header.note-toolbar .note-style .dropdown-style h2,.card-header.note-toolbar .note-style .dropdown-style h3,.card-header.note-toolbar .note-style .dropdown-style h4,.card-header.note-toolbar .note-style .dropdown-style h5,.card-header.note-toolbar .note-style .dropdown-style h6,.card-header.note-toolbar .note-style .dropdown-style p,.note-popover .popover-content .note-style .dropdown-style h1,.note-popover .popover-content .note-style .dropdown-style h2,.note-popover .popover-content .note-style .dropdown-style h3,.note-popover .popover-content .note-style .dropdown-style h4,.note-popover .popover-content .note-style .dropdown-style h5,.note-popover .popover-content .note-style .dropdown-style h6,.note-popover .popover-content .note-style .dropdown-style p{padding:0;margin:0}.card-header.note-toolbar .note-color-all .dropdown-menu,.note-popover .popover-content .note-color-all .dropdown-menu{min-width:337px}.card-header.note-toolbar .note-color .dropdown-toggle,.note-popover .popover-content .note-color .dropdown-toggle{width:20px;padding-left:5px}.card-header.note-toolbar .note-color .dropdown-menu .note-palette,.note-popover .popover-content .note-color .dropdown-menu .note-palette{display:inline-block;width:160px;margin:0}.card-header.note-toolbar .note-color .dropdown-menu .note-palette:first-child,.note-popover .popover-content .note-color .dropdown-menu .note-palette:first-child{margin:0 5px}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-palette-title,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-palette-title{margin:2px 7px;font-size:12px;text-align:center;border-bottom:1px solid #eee}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-reset,.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-select,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-reset,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-select{width:100%;padding:0 3px;margin:3px;font-size:11px;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-row,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-row{height:20px}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-reset:hover,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-reset:hover{background:#eee}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-select-btn,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-select-btn{display:none}.card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-holder-custom .note-color-btn,.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-holder-custom .note-color-btn{border:1px solid #eee}.card-header.note-toolbar .note-para .dropdown-menu,.note-popover .popover-content .note-para .dropdown-menu{min-width:216px;padding:5px}.card-header.note-toolbar .note-para .dropdown-menu>div:first-child,.note-popover .popover-content .note-para .dropdown-menu>div:first-child{margin-right:5px}.card-header.note-toolbar .dropdown-menu,.note-popover .popover-content .dropdown-menu{min-width:90px}.card-header.note-toolbar .dropdown-menu.right,.note-popover .popover-content .dropdown-menu.right{right:0;left:auto}.card-header.note-toolbar .dropdown-menu.right::before,.note-popover .popover-content .dropdown-menu.right::before{right:9px;left:auto!important}.card-header.note-toolbar .dropdown-menu.right::after,.note-popover .popover-content .dropdown-menu.right::after{right:10px;left:auto!important}.card-header.note-toolbar .dropdown-menu.note-check a i,.note-popover .popover-content .dropdown-menu.note-check a i{color:#00bfff;visibility:hidden}.card-header.note-toolbar .dropdown-menu.note-check a.checked i,.note-popover .popover-content .dropdown-menu.note-check a.checked i{visibility:visible}.card-header.note-toolbar .note-fontsize-10,.note-popover .popover-content .note-fontsize-10{font-size:10px}.card-header.note-toolbar .note-color-palette,.note-popover .popover-content .note-color-palette{line-height:1}.card-header.note-toolbar .note-color-palette div .note-color-btn,.note-popover .popover-content .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:1px solid #fff}.card-header.note-toolbar .note-color-palette div .note-color-btn:hover,.note-popover .popover-content .note-color-palette div .note-color-btn:hover{border:1px solid #000}.note-dialog>div{display:none}.note-dialog .form-group{margin-right:0;margin-left:0}.note-dialog .note-modal-form{margin:0}.note-dialog .note-image-dialog .note-dropzone{min-height:100px;margin-bottom:10px;font-size:30px;line-height:4;color:#d3d3d3;text-align:center;border:4px dashed #d3d3d3}@-moz-document url-prefix(){.note-image-input{height:auto}}.note-placeholder{position:absolute;display:none;color:gray}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid #000}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:#000;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3}.note-handle .note-control-selection .note-control-handle{width:7px;height:7px;border:1px solid #000}.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid #000}.note-handle .note-control-selection .note-control-sizing{width:7px;height:7px;background-color:#fff;border:1px solid #000}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:0;border-bottom:0}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:0;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:0;border-right:0}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-se.note-control-holder{cursor:default;border-top:0;border-left:none}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:#fff;background-color:#000;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7}.note-hint-popover{min-width:100px;padding:2px}.note-hint-popover .popover-content{max-height:150px;padding:3px;overflow:auto}.note-hint-popover .popover-content .note-hint-group .note-hint-item{display:block!important;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{display:block;clear:both;font-weight:400;line-height:1.4;color:#fff;text-decoration:none;white-space:nowrap;cursor:pointer;background-color:#428bca;outline:0}/*! + * Quill Editor v1.3.6 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px);transform:translateY(-40px)}}@-moz-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}}@-moz-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);-moz-transform:translateY(40px);-ms-transform:translateY(40px);-o-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-moz-keyframes pulse{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{min-height:150px;border:2px solid rgba(0,0,0,.3);background:#fff;padding:20px 20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:2em 0}.dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:16px;min-height:100px}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-ms-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:13px;min-width:100%;max-width:100%;padding:2em 1em;text-align:center;color:rgba(0,0,0,.9);line-height:150%}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dropzone .dz-preview:hover .dz-image img{-webkit-transform:scale(1.05,1.05);-moz-transform:scale(1.05,1.05);-ms-transform:scale(1.05,1.05);-o-transform:scale(1.05,1.05);transform:scale(1.05,1.05);-webkit-filter:blur(8px);filter:blur(8px)}.dropzone .dz-preview .dz-image{border-radius:20px;overflow:hidden;width:120px;height:120px;position:relative;display:block;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);-moz-animation:passing-through 3s cubic-bezier(.77,0,.175,1);-ms-animation:passing-through 3s cubic-bezier(.77,0,.175,1);-o-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);-moz-animation:slide-in 3s cubic-bezier(.77,0,.175,1);-ms-animation:slide-in 3s cubic-bezier(.77,0,.175,1);-o-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview .dz-error-mark,.dropzone .dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dropzone .dz-preview .dz-error-mark svg,.dropzone .dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;-ms-transition:all .2s linear;-o-transition:all .2s linear;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;-moz-transition:opacity .4s ease-in;-ms-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;-moz-animation:pulse 6s ease infinite;-ms-animation:pulse 6s ease infinite;-o-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);-webkit-transform:scale(1);border-radius:8px;overflow:hidden}.dropzone .dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;-moz-transition:width .3s ease-in-out;-ms-transition:width .3s ease-in-out;-o-transition:width .3s ease-in-out;transition:width .3s ease-in-out}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-ms-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;color:#fff}.dropzone .dz-preview .dz-error-message:after{content:'';position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #be2626}.bootstrap-duallistbox-container .buttons{width:100%;margin-bottom:-1px}.bootstrap-duallistbox-container label{display:block}.bootstrap-duallistbox-container .info{display:inline-block;margin-bottom:5px;font-size:11px}.bootstrap-duallistbox-container .clear1,.bootstrap-duallistbox-container .clear2{display:none;font-size:10px}.bootstrap-duallistbox-container .box1.filtered .clear1,.bootstrap-duallistbox-container .box2.filtered .clear2{display:inline-block}.bootstrap-duallistbox-container .move,.bootstrap-duallistbox-container .remove{width:50%;box-sizing:content-box}.bootstrap-duallistbox-container .btn-group .btn{border-bottom-left-radius:0;border-bottom-right-radius:0}.bootstrap-duallistbox-container:not(.moveonselect) select{border-top-left-radius:0;border-top-right-radius:0}.bootstrap-duallistbox-container .moveall,.bootstrap-duallistbox-container .removeall{width:50%;box-sizing:content-box}.bootstrap-duallistbox-container.bs2compatible .btn-group>.btn+.btn{margin-left:0}.bootstrap-duallistbox-container select{width:100%;height:300px;padding:0}.bootstrap-duallistbox-container .filter{display:inline-block;width:100%;height:31px;margin:0 0 5px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-duallistbox-container .filter.placeholder{color:#aaa}.bootstrap-duallistbox-container.moveonselect .move,.bootstrap-duallistbox-container.moveonselect .remove{display:none}.bootstrap-duallistbox-container.moveonselect .moveall,.bootstrap-duallistbox-container.moveonselect .removeall{width:100%}/*! + * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */.datepicker{padding:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;direction:ltr}.datepicker-inline{width:220px}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #999;border-top:0;border-bottom-color:rgba(0,0,0,.2);position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker td,.datepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.day.focused,.datepicker table tr td.day:hover{background:#eee;cursor:pointer}.datepicker table tr td.new,.datepicker table tr td.old{color:#999}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td.highlighted{background:#d9edf7;border-radius:0}.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover{background-color:#fde19a;background-image:-moz-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-ms-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fdd49a),to(#fdf59a));background-image:-webkit-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-o-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:linear-gradient(to bottom,#fdd49a,#fdf59a);background-repeat:repeat-x;border-color:#fdf59a #fdf59a #fbed50;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#000}.datepicker table tr td.today.active,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled.disabled,.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today.disabled:hover.active,.datepicker table tr td.today.disabled:hover.disabled,.datepicker table tr td.today.disabled:hover:active,.datepicker table tr td.today.disabled:hover:hover,.datepicker table tr td.today.disabled:hover[disabled],.datepicker table tr td.today.disabled[disabled],.datepicker table tr td.today:active,.datepicker table tr td.today:hover,.datepicker table tr td.today:hover.active,.datepicker table tr td.today:hover.disabled,.datepicker table tr td.today:hover:active,.datepicker table tr td.today:hover:hover,.datepicker table tr td.today:hover[disabled],.datepicker table tr td.today[disabled]{background-color:#fdf59a}.datepicker table tr td.today:hover:hover{color:#000}.datepicker table tr td.today.active:hover{color:#fff}.datepicker table tr td.range,.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range:hover{background:#eee;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today:hover{background-color:#f3d17a;background-image:-moz-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-ms-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f3c17a),to(#f3e97a));background-image:-webkit-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-o-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:linear-gradient(to bottom,#f3c17a,#f3e97a);background-repeat:repeat-x;border-color:#f3e97a #f3e97a #edde34;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled.disabled,.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today.disabled:hover.active,.datepicker table tr td.range.today.disabled:hover.disabled,.datepicker table tr td.range.today.disabled:hover:active,.datepicker table tr td.range.today.disabled:hover:hover,.datepicker table tr td.range.today.disabled:hover[disabled],.datepicker table tr td.range.today.disabled[disabled],.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover,.datepicker table tr td.range.today:hover.active,.datepicker table tr td.range.today:hover.disabled,.datepicker table tr td.range.today:hover:active,.datepicker table tr td.range.today:hover:hover,.datepicker table tr td.range.today:hover[disabled],.datepicker table tr td.range.today[disabled]{background-color:#f3e97a}.datepicker table tr td.selected,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected:hover{background-color:#9e9e9e;background-image:-moz-linear-gradient(to bottom,#b3b3b3,grey);background-image:-ms-linear-gradient(to bottom,#b3b3b3,grey);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3b3b3),to(grey));background-image:-webkit-linear-gradient(to bottom,#b3b3b3,grey);background-image:-o-linear-gradient(to bottom,#b3b3b3,grey);background-image:linear-gradient(to bottom,#b3b3b3,grey);background-repeat:repeat-x;border-color:grey grey #595959;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.active,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled.disabled,.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.disabled:hover.active,.datepicker table tr td.selected.disabled:hover.disabled,.datepicker table tr td.selected.disabled:hover:active,.datepicker table tr td.selected.disabled:hover:hover,.datepicker table tr td.selected.disabled:hover[disabled],.datepicker table tr td.selected.disabled[disabled],.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover,.datepicker table tr td.selected:hover.active,.datepicker table tr td.selected:hover.disabled,.datepicker table tr td.selected:hover:active,.datepicker table tr td.selected:hover:hover,.datepicker table tr td.selected:hover[disabled],.datepicker table tr td.selected[disabled]{background-color:grey}.datepicker table tr td.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover.disabled,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active.disabled:hover:hover,.datepicker table tr td.active.disabled:hover[disabled],.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active:active,.datepicker table tr td.active:hover,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover.disabled,.datepicker table tr td.active:hover:active,.datepicker table tr td.active:hover:hover,.datepicker table tr td.active:hover[disabled],.datepicker table tr td.active[disabled]{background-color:#04c}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled.disabled,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover.disabled,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active.disabled:hover[disabled],.datepicker table tr td span.active.disabled[disabled],.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover.disabled,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover,.datepicker table tr td span.active:hover[disabled],.datepicker table tr td span.active[disabled]{background-color:#04c}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#999}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-append.date .add-on,.input-prepend.date .add-on{cursor:pointer}.input-append.date .add-on i,.input-prepend.date .add-on i{margin-top:3px}.input-daterange input{text-align:center}.input-daterange input:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-daterange input:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-daterange .add-on{display:inline-block;width:auto;min-width:16px;height:18px;padding:4px 5px;font-weight:400;line-height:18px;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:1px solid #ccc;margin-left:-5px;margin-right:-5px}.dd{position:relative;display:block;margin:0;padding:0;max-width:600px;list-style:none;font-size:13px;line-height:20px}.dd-list{display:block;position:relative;margin:0;padding:0;list-style:none}.dd-list .dd-list{padding-left:30px}.dd-empty,.dd-item,.dd-placeholder{display:block;position:relative;margin:0;padding:0;min-height:20px;font-size:13px;line-height:20px}.dd-handle{display:block;height:30px;margin:5px 0;padding:5px 10px;color:#333;text-decoration:none;font-weight:700;border:1px solid #ccc;background:#fafafa;border-radius:3px;box-sizing:border-box}.dd-handle:hover{color:#2ea8e5;background:#fff}.dd-item>button{position:relative;cursor:pointer;float:left;width:25px;height:20px;margin:5px 0;padding:0;text-indent:100%;white-space:nowrap;overflow:hidden;border:0;background:0 0;font-size:12px;line-height:1;text-align:center;font-weight:700}.dd-item>button:before{display:block;position:absolute;width:100%;text-align:center;text-indent:0}.dd-item>button.dd-expand:before{content:'+'}.dd-item>button.dd-collapse:before{content:'-'}.dd-expand{display:none}.dd-collapsed .dd-collapse,.dd-collapsed .dd-list{display:none}.dd-collapsed .dd-expand{display:block}.dd-empty,.dd-placeholder{margin:5px 0;padding:0;min-height:30px;background:#f2fbff;border:1px dashed #b6bcbf;box-sizing:border-box;-moz-box-sizing:border-box}.dd-empty{border:1px dashed #bbb;min-height:100px;background-color:#e5e5e5;background-size:60px 60px;background-position:0 0,30px 30px}.dd-dragel{position:absolute;pointer-events:none;z-index:9999}.dd-dragel>.dd-item .dd-handle{margin-top:0}.dd-dragel .dd-handle{box-shadow:2px 4px 6px 0 rgba(0,0,0,.1)}.dd-nochildren .dd-placeholder{display:none}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-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{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-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}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.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{-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}.no-js .owl-carousel{display:block}.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 .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.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 .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 .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#fff;font-size:14px;margin:5px;padding:4px 7px;background:#d6d6d6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#fff;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#d6d6d6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!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-ajax-holder .mfp-content,.mfp-inline-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-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-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:-.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-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;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:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-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:.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:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{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:.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,.6);background:#000}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}.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,.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){.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,.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,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.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}}@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top,#fff 50%,#eee 100%);background-image:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top,#eee 50%,#ccc 100%);background-image:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top,#fff 0,#eee 50%);background-image:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top,#eee 50%,#fff 100%);background-image:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}.irs{position:relative;display:block;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-family:Arial,sans-serif}.irs-line{position:relative;display:block;overflow:hidden;outline:0!important}.irs-bar{position:absolute;display:block;left:0;width:0}.irs-shadow{position:absolute;display:none;left:0;width:0}.irs-handle{position:absolute;display:block;box-sizing:border-box;cursor:default;z-index:1}.irs-handle.type_last{z-index:2}.irs-max,.irs-min{position:absolute;display:block;cursor:default}.irs-min{left:0}.irs-max{right:0}.irs-from,.irs-single,.irs-to{position:absolute;display:block;top:0;left:0;cursor:default;white-space:nowrap}.irs-grid{position:absolute;display:none;bottom:0;left:0;width:100%;height:20px}.irs-with-grid .irs-grid{display:block}.irs-grid-pol{position:absolute;top:0;left:0;width:1px;height:8px;background:#000}.irs-grid-pol.small{height:4px}.irs-grid-text{position:absolute;bottom:0;left:0;white-space:nowrap;text-align:center;font-size:9px;line-height:9px;padding:0 3px;color:#000}.irs-disable-mask{position:absolute;display:block;top:0;left:-1%;width:102%;height:100%;cursor:default;background:rgba(0,0,0,0);z-index:2}.lt-ie9 .irs-disable-mask{background:#000;cursor:not-allowed}.irs-disabled{opacity:.4}.irs-hidden-input{position:absolute!important;display:block!important;top:0!important;left:0!important;width:0!important;height:0!important;font-size:0!important;line-height:0!important;padding:0!important;margin:0!important;overflow:hidden;outline:0!important;z-index:-9999!important;background:0 0!important;border-style:solid!important;border-color:transparent!important}.irs--flat{height:40px}.irs--flat.irs-with-grid{height:60px}.irs--flat .irs-line{top:25px;height:12px;background-color:#e1e4e9;border-radius:4px}.irs--flat .irs-bar{top:25px;height:12px;background-color:#ed5565}.irs--flat .irs-bar--single{border-radius:4px 0 0 4px}.irs--flat .irs-shadow{height:1px;bottom:16px;background-color:#e1e4e9}.irs--flat .irs-handle{top:22px;width:16px;height:18px;background-color:transparent}.irs--flat .irs-handle>i:first-child{position:absolute;display:block;top:0;left:50%;width:2px;height:100%;margin-left:-1px;background-color:#da4453}.irs--flat .irs-handle.state_hover>i:first-child,.irs--flat .irs-handle:hover>i:first-child{background-color:#a43540}.irs--flat .irs-max,.irs--flat .irs-min{top:0;padding:1px 3px;color:#999;font-size:10px;line-height:1.333;text-shadow:none;background-color:#e1e4e9;border-radius:4px}.irs--flat .irs-from,.irs--flat .irs-single,.irs--flat .irs-to{color:#fff;font-size:10px;line-height:1.333;text-shadow:none;padding:1px 5px;background-color:#ed5565;border-radius:4px}.irs--flat .irs-from:before,.irs--flat .irs-single:before,.irs--flat .irs-to:before{position:absolute;display:block;content:"";bottom:-6px;left:50%;width:0;height:0;margin-left:-3px;overflow:hidden;border:3px solid transparent;border-top-color:#ed5565}.irs--flat .irs-grid-pol{background-color:#e1e4e9}.irs--flat .irs-grid-text{color:#999}.irs--big{height:55px}.irs--big.irs-with-grid{height:70px}.irs--big .irs-line{top:33px;height:12px;background-color:#fff;background:linear-gradient(to bottom,#ddd -50%,#fff 150%);border:1px solid #ccc;border-radius:12px}.irs--big .irs-bar{top:33px;height:12px;background-color:#92bce0;border:1px solid #428bca;background:linear-gradient(to bottom,#fff 0,#428bca 30%,#b9d4ec 100%);box-shadow:inset 0 0 1px 1px rgba(255,255,255,.5)}.irs--big .irs-bar--single{border-radius:12px 0 0 12px}.irs--big .irs-shadow{height:1px;bottom:16px;background-color:rgba(66,139,202,.5)}.irs--big .irs-handle{top:25px;width:30px;height:30px;border:1px solid rgba(0,0,0,.3);background-color:#cbcfd5;background:linear-gradient(to bottom,#fff 0,#b4b9be 30%,#fff 100%);box-shadow:1px 1px 2px rgba(0,0,0,.2),inset 0 0 3px 1px #fff;border-radius:30px}.irs--big .irs-handle.state_hover,.irs--big .irs-handle:hover{border-color:rgba(0,0,0,.45);background-color:#939ba7;background:linear-gradient(to bottom,#fff 0,#919ba5 30%,#fff 100%)}.irs--big .irs-max,.irs--big .irs-min{top:0;padding:1px 5px;color:#fff;text-shadow:none;background-color:#9f9f9f;border-radius:3px}.irs--big .irs-from,.irs--big .irs-single,.irs--big .irs-to{color:#fff;text-shadow:none;padding:1px 5px;background-color:#428bca;background:linear-gradient(to bottom,#428bca 0,#3071a9 100%);border-radius:3px}.irs--big .irs-grid-pol{background-color:#428bca}.irs--big .irs-grid-text{color:#428bca}.irs--modern{height:55px}.irs--modern.irs-with-grid{height:55px}.irs--modern .irs-line{top:25px;height:5px;background-color:#d1d6e0;background:linear-gradient(to bottom,#e0e4ea 0,#d1d6e0 100%);border:1px solid #a3adc1;border-bottom-width:0;border-radius:5px}.irs--modern .irs-bar{top:25px;height:5px;background:#20b426;background:linear-gradient(to bottom,#20b426 0,#18891d 100%)}.irs--modern .irs-bar--single{border-radius:5px 0 0 5px}.irs--modern .irs-shadow{height:1px;bottom:21px;background-color:rgba(209,214,224,.5)}.irs--modern .irs-handle{top:37px;width:12px;height:13px;border:1px solid #a3adc1;border-top-width:0;box-shadow:1px 1px 1px rgba(0,0,0,.1);border-radius:0 0 3px 3px}.irs--modern .irs-handle>i:nth-child(1){position:absolute;display:block;top:-4px;left:1px;width:6px;height:6px;border:1px solid #a3adc1;background:#fff;transform:rotate(45deg)}.irs--modern .irs-handle>i:nth-child(2){position:absolute;display:block;box-sizing:border-box;top:0;left:0;width:10px;height:12px;background:#e9e6e6;background:linear-gradient(to bottom,#fff 0,#e9e6e6 100%);border-radius:0 0 3px 3px}.irs--modern .irs-handle>i:nth-child(3){position:absolute;display:block;box-sizing:border-box;top:3px;left:3px;width:4px;height:5px;border-left:1px solid #a3adc1;border-right:1px solid #a3adc1}.irs--modern .irs-handle.state_hover,.irs--modern .irs-handle:hover{border-color:#7685a2;background:#c3c7cd;background:linear-gradient(to bottom,#fff 0,#919ba5 30%,#fff 100%)}.irs--modern .irs-handle.state_hover>i:nth-child(1),.irs--modern .irs-handle:hover>i:nth-child(1){border-color:#7685a2}.irs--modern .irs-handle.state_hover>i:nth-child(3),.irs--modern .irs-handle:hover>i:nth-child(3){border-color:#48536a}.irs--modern .irs-max,.irs--modern .irs-min{top:0;font-size:10px;line-height:1.333;text-shadow:none;padding:1px 5px;color:#fff;background-color:#d1d6e0;border-radius:5px}.irs--modern .irs-from,.irs--modern .irs-single,.irs--modern .irs-to{font-size:10px;line-height:1.333;text-shadow:none;padding:1px 5px;background-color:#20b426;color:#fff;border-radius:5px}.irs--modern .irs-from:before,.irs--modern .irs-single:before,.irs--modern .irs-to:before{position:absolute;display:block;content:"";bottom:-6px;left:50%;width:0;height:0;margin-left:-3px;overflow:hidden;border:3px solid transparent;border-top-color:#20b426}.irs--modern .irs-grid{height:25px}.irs--modern .irs-grid-pol{background-color:#dedede}.irs--modern .irs-grid-text{color:silver;font-size:13px}.irs--sharp{height:50px;font-size:12px;line-height:1}.irs--sharp.irs-with-grid{height:57px}.irs--sharp .irs-line{top:30px;height:2px;background-color:#000;border-radius:2px}.irs--sharp .irs-bar{top:30px;height:2px;background-color:#ee22fa}.irs--sharp .irs-bar--single{border-radius:2px 0 0 2px}.irs--sharp .irs-shadow{height:1px;bottom:21px;background-color:rgba(0,0,0,.5)}.irs--sharp .irs-handle{top:25px;width:10px;height:10px;background-color:#a804b2}.irs--sharp .irs-handle>i:first-child{position:absolute;display:block;top:100%;left:0;width:0;height:0;border:5px solid transparent;border-top-color:#a804b2}.irs--sharp .irs-handle.state_hover,.irs--sharp .irs-handle:hover{background-color:#000}.irs--sharp .irs-handle.state_hover>i:first-child,.irs--sharp .irs-handle:hover>i:first-child{border-top-color:#000}.irs--sharp .irs-max,.irs--sharp .irs-min{color:#fff;font-size:14px;line-height:1;top:0;padding:3px 4px;opacity:.4;background-color:#a804b2;border-radius:2px}.irs--sharp .irs-from,.irs--sharp .irs-single,.irs--sharp .irs-to{font-size:14px;line-height:1;text-shadow:none;padding:3px 4px;background-color:#a804b2;color:#fff;border-radius:2px}.irs--sharp .irs-from:before,.irs--sharp .irs-single:before,.irs--sharp .irs-to:before{position:absolute;display:block;content:"";bottom:-6px;left:50%;width:0;height:0;margin-left:-3px;overflow:hidden;border:3px solid transparent;border-top-color:#a804b2}.irs--sharp .irs-grid{height:25px}.irs--sharp .irs-grid-pol{background-color:#dedede}.irs--sharp .irs-grid-text{color:silver;font-size:13px}.irs--round{height:50px}.irs--round.irs-with-grid{height:65px}.irs--round .irs-line{top:36px;height:4px;background-color:#dee4ec;border-radius:4px}.irs--round .irs-bar{top:36px;height:4px;background-color:#006cfa}.irs--round .irs-bar--single{border-radius:4px 0 0 4px}.irs--round .irs-shadow{height:4px;bottom:21px;background-color:rgba(222,228,236,.5)}.irs--round .irs-handle{top:26px;width:24px;height:24px;border:4px solid #006cfa;background-color:#fff;border-radius:24px;box-shadow:0 1px 3px rgba(0,0,255,.3)}.irs--round .irs-handle.state_hover,.irs--round .irs-handle:hover{background-color:#f0f6ff}.irs--round .irs-max,.irs--round .irs-min{color:#333;font-size:14px;line-height:1;top:0;padding:3px 5px;background-color:rgba(0,0,0,.1);border-radius:4px}.irs--round .irs-from,.irs--round .irs-single,.irs--round .irs-to{font-size:14px;line-height:1;text-shadow:none;padding:3px 5px;background-color:#006cfa;color:#fff;border-radius:4px}.irs--round .irs-from:before,.irs--round .irs-single:before,.irs--round .irs-to:before{position:absolute;display:block;content:"";bottom:-6px;left:50%;width:0;height:0;margin-left:-3px;overflow:hidden;border:3px solid transparent;border-top-color:#006cfa}.irs--round .irs-grid{height:25px}.irs--round .irs-grid-pol{background-color:#dedede}.irs--round .irs-grid-text{color:silver;font-size:13px}.irs--square{height:50px}.irs--square.irs-with-grid{height:60px}.irs--square .irs-line{top:31px;height:4px;background-color:#dedede}.irs--square .irs-bar{top:31px;height:4px;background-color:#000}.irs--square .irs-shadow{height:2px;bottom:21px;background-color:#dedede}.irs--square .irs-handle{top:25px;width:16px;height:16px;border:3px solid #000;background-color:#fff;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.irs--square .irs-handle.state_hover,.irs--square .irs-handle:hover{background-color:#f0f6ff}.irs--square .irs-max,.irs--square .irs-min{color:#333;font-size:14px;line-height:1;top:0;padding:3px 5px;background-color:rgba(0,0,0,.1)}.irs--square .irs-from,.irs--square .irs-single,.irs--square .irs-to{font-size:14px;line-height:1;text-shadow:none;padding:3px 5px;background-color:#000;color:#fff}.irs--square .irs-grid{height:25px}.irs--square .irs-grid-pol{background-color:#dedede}.irs--square .irs-grid-text{color:silver;font-size:11px}.bootstrap-tagsinput{background-color:#fff;border:1px solid #ccc;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);display:inline-block;padding:4px 6px;color:#555;vertical-align:middle;border-radius:4px;width:100%;line-height:22px;cursor:text}.bootstrap-tagsinput input{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.bootstrap-tagsinput.form-control input::-moz-placeholder{color:#777;opacity:1}.bootstrap-tagsinput.form-control input:-ms-input-placeholder{color:#777}.bootstrap-tagsinput.form-control input::-webkit-input-placeholder{color:#777}.bootstrap-tagsinput input:focus{border:none;box-shadow:none}.bootstrap-tagsinput .badge{margin-right:2px;color:#fff;background-color:#0275d8;padding:5px 8px;border-radius:3px;border:1px solid #01649e}.bootstrap-tagsinput .badge [data-role=remove]{margin-left:8px;cursor:pointer}.bootstrap-tagsinput .badge [data-role=remove]:after{content:"×";padding:0 4px;background-color:rgba(0,0,0,.1);border-radius:50%;font-size:13px}.bootstrap-tagsinput .badge [data-role=remove]:hover:after{background-color:rgba(0,0,0,.62)}.bootstrap-tagsinput .badge [data-role=remove]:hover:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)} \ No newline at end of file diff --git a/public/asset/fonts/cryptocurrency-icons.eot b/public/asset/fonts/cryptocurrency-icons.eot new file mode 100644 index 0000000..48204a3 Binary files /dev/null and b/public/asset/fonts/cryptocurrency-icons.eot differ diff --git a/public/asset/fonts/cryptocurrency-icons.svg b/public/asset/fonts/cryptocurrency-icons.svg new file mode 100644 index 0000000..7851c7a --- /dev/null +++ b/public/asset/fonts/cryptocurrency-icons.svg @@ -0,0 +1,705 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/cryptocurrency-icons.ttf b/public/asset/fonts/cryptocurrency-icons.ttf new file mode 100644 index 0000000..5905338 Binary files /dev/null and b/public/asset/fonts/cryptocurrency-icons.ttf differ diff --git a/public/asset/fonts/cryptocurrency-icons.woff b/public/asset/fonts/cryptocurrency-icons.woff new file mode 100644 index 0000000..488cba0 Binary files /dev/null and b/public/asset/fonts/cryptocurrency-icons.woff differ diff --git a/public/asset/fonts/cryptocurrency-icons.woff2 b/public/asset/fonts/cryptocurrency-icons.woff2 new file mode 100644 index 0000000..ab349b9 Binary files /dev/null and b/public/asset/fonts/cryptocurrency-icons.woff2 differ diff --git a/public/asset/fonts/dashicons.eot b/public/asset/fonts/dashicons.eot new file mode 100644 index 0000000..995655d Binary files /dev/null and b/public/asset/fonts/dashicons.eot differ diff --git a/public/asset/fonts/dashicons.svg b/public/asset/fonts/dashicons.svg new file mode 100644 index 0000000..eb6aceb --- /dev/null +++ b/public/asset/fonts/dashicons.svg @@ -0,0 +1,840 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/dashicons.ttf b/public/asset/fonts/dashicons.ttf new file mode 100644 index 0000000..86823a1 Binary files /dev/null and b/public/asset/fonts/dashicons.ttf differ diff --git a/public/asset/fonts/dashicons.woff b/public/asset/fonts/dashicons.woff new file mode 100644 index 0000000..f72926c Binary files /dev/null and b/public/asset/fonts/dashicons.woff differ diff --git a/public/asset/fonts/dashicons.woff2 b/public/asset/fonts/dashicons.woff2 new file mode 100644 index 0000000..ea91b71 Binary files /dev/null and b/public/asset/fonts/dashicons.woff2 differ diff --git a/public/asset/fonts/dripicons.eot b/public/asset/fonts/dripicons.eot new file mode 100644 index 0000000..8afeaaa Binary files /dev/null and b/public/asset/fonts/dripicons.eot differ diff --git a/public/asset/fonts/dripicons.svg b/public/asset/fonts/dripicons.svg new file mode 100644 index 0000000..0b50172 --- /dev/null +++ b/public/asset/fonts/dripicons.svg @@ -0,0 +1,210 @@ + + + +Generated by Fontastic.me + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/dripicons.ttf b/public/asset/fonts/dripicons.ttf new file mode 100644 index 0000000..041e333 Binary files /dev/null and b/public/asset/fonts/dripicons.ttf differ diff --git a/public/asset/fonts/dripicons.woff b/public/asset/fonts/dripicons.woff new file mode 100644 index 0000000..5322e3d Binary files /dev/null and b/public/asset/fonts/dripicons.woff differ diff --git a/public/asset/fonts/feather.eot b/public/asset/fonts/feather.eot new file mode 100644 index 0000000..58371d9 Binary files /dev/null and b/public/asset/fonts/feather.eot differ diff --git a/public/asset/fonts/feather.svg b/public/asset/fonts/feather.svg new file mode 100644 index 0000000..5dda143 --- /dev/null +++ b/public/asset/fonts/feather.svg @@ -0,0 +1,849 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/feather.ttf b/public/asset/fonts/feather.ttf new file mode 100644 index 0000000..0b33dac Binary files /dev/null and b/public/asset/fonts/feather.ttf differ diff --git a/public/asset/fonts/feather.woff b/public/asset/fonts/feather.woff new file mode 100644 index 0000000..9b03a72 Binary files /dev/null and b/public/asset/fonts/feather.woff differ diff --git a/public/asset/fonts/font-awesome.eot b/public/asset/fonts/font-awesome.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/public/asset/fonts/font-awesome.eot differ diff --git a/public/asset/fonts/font-awesome.svg b/public/asset/fonts/font-awesome.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/public/asset/fonts/font-awesome.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/font-awesome.ttf b/public/asset/fonts/font-awesome.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/public/asset/fonts/font-awesome.ttf differ diff --git a/public/asset/fonts/font-awesome.woff b/public/asset/fonts/font-awesome.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/public/asset/fonts/font-awesome.woff differ diff --git a/public/asset/fonts/font-awesome.woff2 b/public/asset/fonts/font-awesome.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/public/asset/fonts/font-awesome.woff2 differ diff --git a/public/asset/fonts/ionicons.eot b/public/asset/fonts/ionicons.eot new file mode 100644 index 0000000..94ba2be Binary files /dev/null and b/public/asset/fonts/ionicons.eot differ diff --git a/public/asset/fonts/ionicons.svg b/public/asset/fonts/ionicons.svg new file mode 100644 index 0000000..908c39b --- /dev/null +++ b/public/asset/fonts/ionicons.svg @@ -0,0 +1,2630 @@ + + + + + +Created by FontForge 20150913 at Mon Jan 11 15:33:02 2016 + By Adam Bradley +Copyright (c) 2016, Adam Bradley + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/ionicons.ttf b/public/asset/fonts/ionicons.ttf new file mode 100644 index 0000000..307ad88 Binary files /dev/null and b/public/asset/fonts/ionicons.ttf differ diff --git a/public/asset/fonts/ionicons.woff b/public/asset/fonts/ionicons.woff new file mode 100644 index 0000000..e997f0d Binary files /dev/null and b/public/asset/fonts/ionicons.woff differ diff --git a/public/asset/fonts/ionicons.woff2 b/public/asset/fonts/ionicons.woff2 new file mode 100644 index 0000000..66bcf5c Binary files /dev/null and b/public/asset/fonts/ionicons.woff2 differ diff --git a/public/asset/fonts/linea-weather.eot b/public/asset/fonts/linea-weather.eot new file mode 100644 index 0000000..a547671 Binary files /dev/null and b/public/asset/fonts/linea-weather.eot differ diff --git a/public/asset/fonts/linea-weather.svg b/public/asset/fonts/linea-weather.svg new file mode 100644 index 0000000..7c224fc --- /dev/null +++ b/public/asset/fonts/linea-weather.svg @@ -0,0 +1,95 @@ + + + +Generated by Fontastic.me + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/asset/fonts/linea-weather.ttf b/public/asset/fonts/linea-weather.ttf new file mode 100644 index 0000000..3ffc94a Binary files /dev/null and b/public/asset/fonts/linea-weather.ttf differ diff --git a/public/asset/fonts/linea-weather.woff b/public/asset/fonts/linea-weather.woff new file mode 100644 index 0000000..b617195 Binary files /dev/null and b/public/asset/fonts/linea-weather.woff differ diff --git a/public/asset/fonts/material-icons.eot b/public/asset/fonts/material-icons.eot new file mode 100644 index 0000000..5e25191 Binary files /dev/null and b/public/asset/fonts/material-icons.eot differ diff --git a/public/asset/fonts/material-icons.svg b/public/asset/fonts/material-icons.svg new file mode 100644 index 0000000..8cb2673 --- /dev/null +++ b/public/asset/fonts/material-icons.svg @@ -0,0 +1,787 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/asset/fonts/material-icons.ttf b/public/asset/fonts/material-icons.ttf new file mode 100644 index 0000000..5d489fd Binary files /dev/null and b/public/asset/fonts/material-icons.ttf differ diff --git a/public/asset/fonts/material-icons.woff b/public/asset/fonts/material-icons.woff new file mode 100644 index 0000000..933b2bf Binary files /dev/null and b/public/asset/fonts/material-icons.woff differ diff --git a/public/asset/fonts/material-icons.woff2 b/public/asset/fonts/material-icons.woff2 new file mode 100644 index 0000000..35970e2 Binary files /dev/null and b/public/asset/fonts/material-icons.woff2 differ diff --git a/public/asset/fonts/summernote.eot b/public/asset/fonts/summernote.eot new file mode 100644 index 0000000..d287ac1 Binary files /dev/null and b/public/asset/fonts/summernote.eot differ diff --git a/public/asset/fonts/summernote.ttf b/public/asset/fonts/summernote.ttf new file mode 100644 index 0000000..76301c4 Binary files /dev/null and b/public/asset/fonts/summernote.ttf differ diff --git a/public/asset/fonts/summernote.woff b/public/asset/fonts/summernote.woff new file mode 100644 index 0000000..99f941c Binary files /dev/null and b/public/asset/fonts/summernote.woff differ diff --git a/public/asset/fonts/themify-icons.eot b/public/asset/fonts/themify-icons.eot new file mode 100644 index 0000000..9ec298b Binary files /dev/null and b/public/asset/fonts/themify-icons.eot differ diff --git a/public/asset/fonts/themify-icons.svg b/public/asset/fonts/themify-icons.svg new file mode 100644 index 0000000..3d53854 --- /dev/null +++ b/public/asset/fonts/themify-icons.svg @@ -0,0 +1,362 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/asset/fonts/themify-icons.ttf b/public/asset/fonts/themify-icons.ttf new file mode 100644 index 0000000..5d627e7 Binary files /dev/null and b/public/asset/fonts/themify-icons.ttf differ diff --git a/public/asset/fonts/themify-icons.woff b/public/asset/fonts/themify-icons.woff new file mode 100644 index 0000000..847ebd1 Binary files /dev/null and b/public/asset/fonts/themify-icons.woff differ diff --git a/public/asset/img/avtar/01.jpg b/public/asset/img/avtar/01.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/01.jpg differ diff --git a/public/asset/img/avtar/02.jpg b/public/asset/img/avtar/02.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/02.jpg differ diff --git a/public/asset/img/avtar/03.jpg b/public/asset/img/avtar/03.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/03.jpg differ diff --git a/public/asset/img/avtar/04.jpg b/public/asset/img/avtar/04.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/04.jpg differ diff --git a/public/asset/img/avtar/05.jpg b/public/asset/img/avtar/05.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/05.jpg differ diff --git a/public/asset/img/avtar/06.jpg b/public/asset/img/avtar/06.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/06.jpg differ diff --git a/public/asset/img/avtar/07.jpg b/public/asset/img/avtar/07.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/07.jpg differ diff --git a/public/asset/img/avtar/08.jpg b/public/asset/img/avtar/08.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/08.jpg differ diff --git a/public/asset/img/avtar/09.jpg b/public/asset/img/avtar/09.jpg new file mode 100644 index 0000000..d65a632 Binary files /dev/null and b/public/asset/img/avtar/09.jpg differ diff --git a/public/asset/img/avtar/10.jpg b/public/asset/img/avtar/10.jpg new file mode 100644 index 0000000..9d602cc Binary files /dev/null and b/public/asset/img/avtar/10.jpg differ diff --git a/public/asset/img/bg/coming-soon-bg.svg b/public/asset/img/bg/coming-soon-bg.svg new file mode 100644 index 0000000..4f28c68 --- /dev/null +++ b/public/asset/img/bg/coming-soon-bg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/bg/login.svg b/public/asset/img/bg/login.svg new file mode 100644 index 0000000..3301fb5 --- /dev/null +++ b/public/asset/img/bg/login.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/browser-logo/bootstrap.png b/public/asset/img/browser-logo/bootstrap.png new file mode 100644 index 0000000..25fbd77 Binary files /dev/null and b/public/asset/img/browser-logo/bootstrap.png differ diff --git a/public/asset/img/browser-logo/envato.png b/public/asset/img/browser-logo/envato.png new file mode 100644 index 0000000..20e8054 Binary files /dev/null and b/public/asset/img/browser-logo/envato.png differ diff --git a/public/asset/img/browser-logo/google.png b/public/asset/img/browser-logo/google.png new file mode 100644 index 0000000..972926f Binary files /dev/null and b/public/asset/img/browser-logo/google.png differ diff --git a/public/asset/img/browser-logo/invision.png b/public/asset/img/browser-logo/invision.png new file mode 100644 index 0000000..be6af43 Binary files /dev/null and b/public/asset/img/browser-logo/invision.png differ diff --git a/public/asset/img/browser-logo/slack.png b/public/asset/img/browser-logo/slack.png new file mode 100644 index 0000000..0ad6f1a Binary files /dev/null and b/public/asset/img/browser-logo/slack.png differ diff --git a/public/asset/img/export/csv.svg b/public/asset/img/export/csv.svg new file mode 100644 index 0000000..b2b86dd --- /dev/null +++ b/public/asset/img/export/csv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/export/icsv.png b/public/asset/img/export/icsv.png new file mode 100644 index 0000000..573bddb Binary files /dev/null and b/public/asset/img/export/icsv.png differ diff --git a/public/asset/img/export/itxt.png b/public/asset/img/export/itxt.png new file mode 100644 index 0000000..ae51b22 Binary files /dev/null and b/public/asset/img/export/itxt.png differ diff --git a/public/asset/img/export/ixls.png b/public/asset/img/export/ixls.png new file mode 100644 index 0000000..a9d2388 Binary files /dev/null and b/public/asset/img/export/ixls.png differ diff --git a/public/asset/img/export/ixlsx.png b/public/asset/img/export/ixlsx.png new file mode 100644 index 0000000..35354ae Binary files /dev/null and b/public/asset/img/export/ixlsx.png differ diff --git a/public/asset/img/export/txt.svg b/public/asset/img/export/txt.svg new file mode 100644 index 0000000..97b1c56 --- /dev/null +++ b/public/asset/img/export/txt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/export/xls.svg b/public/asset/img/export/xls.svg new file mode 100644 index 0000000..4799928 --- /dev/null +++ b/public/asset/img/export/xls.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/export/xlsx.svg b/public/asset/img/export/xlsx.svg new file mode 100644 index 0000000..80ea9ba --- /dev/null +++ b/public/asset/img/export/xlsx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/favicon.ico b/public/asset/img/favicon.ico new file mode 100644 index 0000000..9cc8493 Binary files /dev/null and b/public/asset/img/favicon.ico differ diff --git a/public/asset/img/file-icon/ai.png b/public/asset/img/file-icon/ai.png new file mode 100644 index 0000000..6e86a1f Binary files /dev/null and b/public/asset/img/file-icon/ai.png differ diff --git a/public/asset/img/file-icon/css.png b/public/asset/img/file-icon/css.png new file mode 100644 index 0000000..29ba5f1 Binary files /dev/null and b/public/asset/img/file-icon/css.png differ diff --git a/public/asset/img/file-icon/dbf.png b/public/asset/img/file-icon/dbf.png new file mode 100644 index 0000000..0b73535 Binary files /dev/null and b/public/asset/img/file-icon/dbf.png differ diff --git a/public/asset/img/file-icon/doc.png b/public/asset/img/file-icon/doc.png new file mode 100644 index 0000000..425d1e6 Binary files /dev/null and b/public/asset/img/file-icon/doc.png differ diff --git a/public/asset/img/file-icon/dwg.png b/public/asset/img/file-icon/dwg.png new file mode 100644 index 0000000..0f57165 Binary files /dev/null and b/public/asset/img/file-icon/dwg.png differ diff --git a/public/asset/img/file-icon/exe.png b/public/asset/img/file-icon/exe.png new file mode 100644 index 0000000..aab1d10 Binary files /dev/null and b/public/asset/img/file-icon/exe.png differ diff --git a/public/asset/img/file-icon/html.png b/public/asset/img/file-icon/html.png new file mode 100644 index 0000000..f481342 Binary files /dev/null and b/public/asset/img/file-icon/html.png differ diff --git a/public/asset/img/file-icon/jpg.png b/public/asset/img/file-icon/jpg.png new file mode 100644 index 0000000..79f817f Binary files /dev/null and b/public/asset/img/file-icon/jpg.png differ diff --git a/public/asset/img/file-icon/pdf.png b/public/asset/img/file-icon/pdf.png new file mode 100644 index 0000000..77d2e19 Binary files /dev/null and b/public/asset/img/file-icon/pdf.png differ diff --git a/public/asset/img/file-icon/png.png b/public/asset/img/file-icon/png.png new file mode 100644 index 0000000..04163da Binary files /dev/null and b/public/asset/img/file-icon/png.png differ diff --git a/public/asset/img/file-icon/psd.png b/public/asset/img/file-icon/psd.png new file mode 100644 index 0000000..749ebea Binary files /dev/null and b/public/asset/img/file-icon/psd.png differ diff --git a/public/asset/img/file-icon/rtf.png b/public/asset/img/file-icon/rtf.png new file mode 100644 index 0000000..1276e9c Binary files /dev/null and b/public/asset/img/file-icon/rtf.png differ diff --git a/public/asset/img/file-icon/svg.png b/public/asset/img/file-icon/svg.png new file mode 100644 index 0000000..9c16f80 Binary files /dev/null and b/public/asset/img/file-icon/svg.png differ diff --git a/public/asset/img/file-icon/xls.png b/public/asset/img/file-icon/xls.png new file mode 100644 index 0000000..5e0ca41 Binary files /dev/null and b/public/asset/img/file-icon/xls.png differ diff --git a/public/asset/img/file-icon/xml.png b/public/asset/img/file-icon/xml.png new file mode 100644 index 0000000..64b760a Binary files /dev/null and b/public/asset/img/file-icon/xml.png differ diff --git a/public/asset/img/file-icon/zip.png b/public/asset/img/file-icon/zip.png new file mode 100644 index 0000000..2413ba4 Binary files /dev/null and b/public/asset/img/file-icon/zip.png differ diff --git a/public/asset/img/flags/au.png b/public/asset/img/flags/au.png new file mode 100644 index 0000000..5d00225 Binary files /dev/null and b/public/asset/img/flags/au.png differ diff --git a/public/asset/img/flags/bd.png b/public/asset/img/flags/bd.png new file mode 100644 index 0000000..c28f461 Binary files /dev/null and b/public/asset/img/flags/bd.png differ diff --git a/public/asset/img/flags/ca.png b/public/asset/img/flags/ca.png new file mode 100644 index 0000000..d525d63 Binary files /dev/null and b/public/asset/img/flags/ca.png differ diff --git a/public/asset/img/flags/cn.png b/public/asset/img/flags/cn.png new file mode 100644 index 0000000..22cde55 Binary files /dev/null and b/public/asset/img/flags/cn.png differ diff --git a/public/asset/img/flags/es.png b/public/asset/img/flags/es.png new file mode 100644 index 0000000..69c0831 Binary files /dev/null and b/public/asset/img/flags/es.png differ diff --git a/public/asset/img/flags/gb.png b/public/asset/img/flags/gb.png new file mode 100644 index 0000000..e61a718 Binary files /dev/null and b/public/asset/img/flags/gb.png differ diff --git a/public/asset/img/flags/in.png b/public/asset/img/flags/in.png new file mode 100644 index 0000000..766ef29 Binary files /dev/null and b/public/asset/img/flags/in.png differ diff --git a/public/asset/img/flags/iq.png b/public/asset/img/flags/iq.png new file mode 100644 index 0000000..c67dfac Binary files /dev/null and b/public/asset/img/flags/iq.png differ diff --git a/public/asset/img/flags/ir.png b/public/asset/img/flags/ir.png new file mode 100644 index 0000000..389d70c Binary files /dev/null and b/public/asset/img/flags/ir.png differ diff --git a/public/asset/img/flags/jp.png b/public/asset/img/flags/jp.png new file mode 100644 index 0000000..827fc90 Binary files /dev/null and b/public/asset/img/flags/jp.png differ diff --git a/public/asset/img/flags/lk.png b/public/asset/img/flags/lk.png new file mode 100644 index 0000000..62c9e2c Binary files /dev/null and b/public/asset/img/flags/lk.png differ diff --git a/public/asset/img/flags/nz.png b/public/asset/img/flags/nz.png new file mode 100644 index 0000000..1245066 Binary files /dev/null and b/public/asset/img/flags/nz.png differ diff --git a/public/asset/img/flags/pk.png b/public/asset/img/flags/pk.png new file mode 100644 index 0000000..e44a1ae Binary files /dev/null and b/public/asset/img/flags/pk.png differ diff --git a/public/asset/img/flags/ru.png b/public/asset/img/flags/ru.png new file mode 100644 index 0000000..83e01a3 Binary files /dev/null and b/public/asset/img/flags/ru.png differ diff --git a/public/asset/img/flags/us.png b/public/asset/img/flags/us.png new file mode 100644 index 0000000..af80f34 Binary files /dev/null and b/public/asset/img/flags/us.png differ diff --git a/public/asset/img/flags/za.png b/public/asset/img/flags/za.png new file mode 100644 index 0000000..78b9796 Binary files /dev/null and b/public/asset/img/flags/za.png differ diff --git a/public/asset/img/loader/loader.svg b/public/asset/img/loader/loader.svg new file mode 100644 index 0000000..085beaf --- /dev/null +++ b/public/asset/img/loader/loader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/asset/img/logo-icon.png b/public/asset/img/logo-icon.png new file mode 100644 index 0000000..f230e49 Binary files /dev/null and b/public/asset/img/logo-icon.png differ diff --git a/public/asset/img/logo-light.png b/public/asset/img/logo-light.png new file mode 100644 index 0000000..7881c26 Binary files /dev/null and b/public/asset/img/logo-light.png differ diff --git a/public/asset/img/logo.png b/public/asset/img/logo.png new file mode 100644 index 0000000..25f0cf6 Binary files /dev/null and b/public/asset/img/logo.png differ diff --git a/public/asset/img/product.jpg b/public/asset/img/product.jpg new file mode 100644 index 0000000..51d124b Binary files /dev/null and b/public/asset/img/product.jpg differ diff --git a/public/asset/img/real-estate/01.jpg b/public/asset/img/real-estate/01.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/01.jpg differ diff --git a/public/asset/img/real-estate/02.jpg b/public/asset/img/real-estate/02.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/02.jpg differ diff --git a/public/asset/img/real-estate/03.jpg b/public/asset/img/real-estate/03.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/03.jpg differ diff --git a/public/asset/img/real-estate/04.jpg b/public/asset/img/real-estate/04.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/04.jpg differ diff --git a/public/asset/img/real-estate/05.jpg b/public/asset/img/real-estate/05.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/05.jpg differ diff --git a/public/asset/img/real-estate/06.jpg b/public/asset/img/real-estate/06.jpg new file mode 100644 index 0000000..7c70d46 Binary files /dev/null and b/public/asset/img/real-estate/06.jpg differ diff --git a/public/asset/img/slider/slide-1.jpg b/public/asset/img/slider/slide-1.jpg new file mode 100644 index 0000000..9162eaf Binary files /dev/null and b/public/asset/img/slider/slide-1.jpg differ diff --git a/public/asset/img/slider/slide-2.jpg b/public/asset/img/slider/slide-2.jpg new file mode 100644 index 0000000..9162eaf Binary files /dev/null and b/public/asset/img/slider/slide-2.jpg differ diff --git a/public/asset/img/slider/slide-3.jpg b/public/asset/img/slider/slide-3.jpg new file mode 100644 index 0000000..9162eaf Binary files /dev/null and b/public/asset/img/slider/slide-3.jpg differ diff --git a/public/asset/img/slider/slide-4.jpg b/public/asset/img/slider/slide-4.jpg new file mode 100644 index 0000000..9162eaf Binary files /dev/null and b/public/asset/img/slider/slide-4.jpg differ diff --git a/public/asset/img/widget/01.jpg b/public/asset/img/widget/01.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/01.jpg differ diff --git a/public/asset/img/widget/02.jpg b/public/asset/img/widget/02.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/02.jpg differ diff --git a/public/asset/img/widget/03.jpg b/public/asset/img/widget/03.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/03.jpg differ diff --git a/public/asset/img/widget/04.jpg b/public/asset/img/widget/04.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/04.jpg differ diff --git a/public/asset/img/widget/05.jpg b/public/asset/img/widget/05.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/05.jpg differ diff --git a/public/asset/img/widget/06.jpg b/public/asset/img/widget/06.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/06.jpg differ diff --git a/public/asset/img/widget/07.jpg b/public/asset/img/widget/07.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/07.jpg differ diff --git a/public/asset/img/widget/08.jpg b/public/asset/img/widget/08.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/08.jpg differ diff --git a/public/asset/img/widget/09.jpg b/public/asset/img/widget/09.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/09.jpg differ diff --git a/public/asset/img/widget/10.jpg b/public/asset/img/widget/10.jpg new file mode 100644 index 0000000..fbdd78b Binary files /dev/null and b/public/asset/img/widget/10.jpg differ diff --git a/public/asset/js/app-min.js b/public/asset/js/app-min.js new file mode 100644 index 0000000..461aea0 --- /dev/null +++ b/public/asset/js/app-min.js @@ -0,0 +1 @@ +!function(e,a,t,o){t(function(){if(jQuery(".apexchart-wrapper").length>0){if(jQuery("#apexdemo1").length>0){var e={chart:{height:350,type:"line",shadow:{enabled:!0,color:"#000",top:18,left:7,blur:10,opacity:1},toolbar:{show:!1}},colors:["#8E54E9","#2bcbba"],dataLabels:{enabled:!0},stroke:{curve:"smooth"},series:[{name:"High - 2013",data:[28,29,33,36,32,32,33]},{name:"Low - 2013",data:[12,11,14,18,17,13,13]}],grid:{borderColor:"#e7e7e7",row:{colors:["#f3f3f3","transparent"],opacity:.5}},markers:{size:6},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul"],title:{text:"Month"}},yaxis:{title:{text:"Temperature"},min:5,max:40},legend:{position:"top",horizontalAlign:"right",floating:!0,offsetY:-25,offsetX:-5}};(y=new ApexCharts(a.querySelector("#apexdemo1"),e)).render()}if(jQuery("#apexdemo2").length>0){e={chart:{height:350,type:"line",shadow:{enabled:!1,color:"#bbb",top:3,left:2,blur:3,opacity:1}},stroke:{width:7,curve:"smooth"},series:[{name:"Likes",data:[4,3,10,9,29,19,22,9,12,7,19,5,13,9,17,2,7,5]}],xaxis:{type:"datetime",categories:["1/11/2000","2/11/2000","3/11/2000","4/11/2000","5/11/2000","6/11/2000","7/11/2000","8/11/2000","9/11/2000","10/11/2000","11/11/2000","12/11/2000","1/11/2001","2/11/2001","3/11/2001","4/11/2001","5/11/2001","6/11/2001"]},title:{text:"Social Media",align:"left",style:{fontSize:"16px",color:"#666"}},fill:{type:"gradient",gradient:{shade:"dark",gradientToColors:["#8E54E9"],shadeIntensity:1,type:"horizontal",opacityFrom:1,opacityTo:1,stops:[0,100,100,100]}},markers:{size:4,opacity:.9,colors:["#2bcbba"],strokeColor:"#fff",strokeWidth:2,hover:{size:7}},yaxis:{min:-10,max:40,title:{text:"Engagement"}}};(y=new ApexCharts(a.querySelector("#apexdemo2"),e)).render()}if(jQuery("#apexdemo3").length>0){e={chart:{height:350,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"smooth"},series:[{name:"series1",data:[31,40,28,51,42,109,100]},{name:"series2",data:[11,32,45,32,34,52,41]}],colors:["#8E54E9","#2bcbba"],xaxis:{type:"datetime",categories:["2018-09-19T00:00:00","2018-09-19T01:30:00","2018-09-19T02:30:00","2018-09-19T03:30:00","2018-09-19T04:30:00","2018-09-19T05:30:00","2018-09-19T06:30:00"]},tooltip:{x:{format:"dd/MM/yy HH:mm"}}};(y=new ApexCharts(a.querySelector("#apexdemo3"),e)).render()}if(jQuery("#apexdemo4").length>0){e={chart:{height:350,type:"area",stacked:!0,events:{selection:function(e,a){console.log(new Date(a.xaxis.min))}}},colors:["#8E54E9","#2bcbba","#eceef3"],dataLabels:{enabled:!1},stroke:{curve:"smooth"},series:[{name:"South",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"North",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:20})},{name:"Central",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:15})}],fill:{type:"gradient",gradient:{opacityFrom:.6,opacityTo:.8}},legend:{position:"top",horizontalAlign:"left"},xaxis:{type:"datetime"}};function t(e,a,t){for(var o=0,r=[];o0){e={chart:{height:420,type:"bar"},plotOptions:{bar:{horizontal:!0}},colors:["#8E54E9"],dataLabels:{enabled:!1},series:[{data:[400,430,448,470,540,580,690,1100,1200,1380]}],xaxis:{categories:["South Korea","Canada","United Kingdom","Netherlands","Italy","France","Japan","United States","China","Germany"]}};(y=new ApexCharts(a.querySelector("#apexdemo5"),e)).render()}if(jQuery("#apexdemo6").length>0){e={chart:{height:420,type:"bar",stacked:!0},colors:["#8E54E9","#2bcbba"],plotOptions:{bar:{horizontal:!0,barHeight:"80%"}},dataLabels:{enabled:!1},stroke:{width:1,colors:["#fff"]},series:[{name:"Males",data:[.4,.65,.76,.88,1.5,2.1,2.9,3.8,3.9,4.2,4,4.3,4.1,4.2,4.5,3.9,3.5,3]},{name:"Females",data:[-.8,-1.05,-1.06,-1.18,-1.4,-2.2,-2.85,-3.7,-3.96,-4.22,-4.3,-4.4,-4.1,-4,-4.1,-3.4,-3.1,-2.8]}],grid:{xaxis:{showLines:!1}},yaxis:{min:-5,max:5,title:{}},tooltip:{shared:!1,x:{formatter:function(e){return e}},y:{formatter:function(e){return Math.abs(e)+"%"}}},xaxis:{categories:["85+","80-84","75-79","70-74","65-69","60-64","55-59","50-54","45-49","40-44","35-39","30-34","25-29","20-24","15-19","10-14","5-9","0-4"],title:{text:"Percent"},labels:{formatter:function(e){return Math.abs(Math.round(e))+"%"}}}};(y=new ApexCharts(a.querySelector("#apexdemo6"),e)).render()}if(jQuery("#apexdemo7").length>0){var o={chart:{type:"donut",height:"350"},dataLabels:{enabled:!1},plotOptions:{pie:{donut:{size:"75%"},offsetY:0},stroke:{colors:void 0}},colors:["#8E54E9","#2bcbba","#f7b731","#45aaf2","#e3324c"],series:[21,23,19,14,6],labels:["Clothing","Food Products","Electronics","Kitchen Utility","Gardening"]};new ApexCharts(a.querySelector("#apexdemo7"),o).render()}if(jQuery("#apexdemo8").length>0){o={chart:{type:"pie",height:"350"},dataLabels:{enabled:!1},plotOptions:{pie:{donut:{size:"75%"},offsetY:0},stroke:{colors:void 0}},colors:["#8E54E9","#2bcbba","#f7b731","#45aaf2","#e3324c"],series:[21,23,19,14,6],labels:["Clothing","Food Products","Electronics","Kitchen Utility","Gardening"]};new ApexCharts(a.querySelector("#apexdemo8"),o).render()}if(jQuery("#analytics1").length>0){for(var r=[[{date:"2014-01-01",value:2e7},{date:"2014-01-02",value:10379978},{date:"2014-01-03",value:30493749},{date:"2014-01-04",value:10785250},{date:"2014-01-05",value:33901904},{date:"2014-01-06",value:11576838},{date:"2014-01-07",value:14413854},{date:"2014-01-08",value:15177211},{date:"2014-01-09",value:16622100},{date:"2014-01-10",value:17381072},{date:"2014-01-11",value:18802310},{date:"2014-01-12",value:15531790},{date:"2014-01-13",value:15748881},{date:"2014-01-14",value:18706437},{date:"2014-01-15",value:19752685},{date:"2014-01-16",value:21016418},{date:"2014-01-17",value:25622924},{date:"2014-01-18",value:25337480},{date:"2014-01-19",value:22258882},{date:"2014-01-20",value:23829538},{date:"2014-01-21",value:24245689},{date:"2014-01-22",value:26429711},{date:"2014-01-23",value:26259017},{date:"2014-01-24",value:25396183},{date:"2014-01-25",value:23107346},{date:"2014-01-26",value:28659852},{date:"2014-01-27",value:25270783},{date:"2014-01-28",value:26270783},{date:"2014-01-29",value:27270783},{date:"2014-01-30",value:28270783},{date:"2014-01-31",value:29270783},{date:"2014-02-01",value:30270783},{date:"2014-02-02",value:31270783},{date:"2014-02-03",value:32270783},{date:"2014-02-04",value:33270783},{date:"2014-02-05",value:28270783},{date:"2014-02-06",value:27270783},{date:"2014-02-07",value:35270783},{date:"2014-02-08",value:34270783},{date:"2014-02-09",value:28270783},{date:"2014-02-10",value:35270783},{date:"2014-02-11",value:36270783},{date:"2014-02-12",value:34127078},{date:"2014-02-13",value:33124078},{date:"2014-02-14",value:36227078},{date:"2014-02-15",value:37827078},{date:"2014-02-16",value:36427073},{date:"2014-02-17",value:37570783},{date:"2014-02-18",value:38627073},{date:"2014-02-19",value:37727078},{date:"2014-02-20",value:38827073},{date:"2014-02-21",value:40927078},{date:"2014-02-22",value:41027078},{date:"2014-02-23",value:42127073},{date:"2014-02-24",value:43220783},{date:"2014-02-25",value:44327078},{date:"2014-02-26",value:40427078},{date:"2014-02-27",value:41027078},{date:"2014-02-28",value:45627078},{date:"2014-03-01",value:44727078},{date:"2014-03-02",value:44227078},{date:"2014-03-03",value:45227078},{date:"2014-03-04",value:46027078},{date:"2014-03-05",value:46927078},{date:"2014-03-06",value:47027078},{date:"2014-03-07",value:46227078},{date:"2014-03-08",value:47027078},{date:"2014-03-09",value:48027078},{date:"2014-03-10",value:47027078},{date:"2014-03-11",value:47027078},{date:"2014-03-12",value:48017078},{date:"2014-03-13",value:48077078},{date:"2014-03-14",value:48087078},{date:"2014-03-15",value:48017078},{date:"2014-03-16",value:48047078},{date:"2014-03-17",value:48067078},{date:"2014-03-18",value:48077078},{date:"2014-03-19",value:48027074},{date:"2014-03-20",value:48927079},{date:"2014-03-21",value:48727071},{date:"2014-03-22",value:48127072},{date:"2014-03-23",value:48527072},{date:"2014-03-24",value:48627027},{date:"2014-03-25",value:48027040},{date:"2014-03-26",value:48027043},{date:"2014-03-27",value:48057022},{date:"2014-03-28",value:49057022},{date:"2014-03-29",value:50057022},{date:"2014-03-30",value:51057022},{date:"2014-03-31",value:52057022},{date:"2014-04-01",value:53057022},{date:"2014-04-02",value:54057022},{date:"2014-04-03",value:52057022},{date:"2014-04-04",value:55057022},{date:"2014-04-05",value:58270783},{date:"2014-04-06",value:56270783},{date:"2014-04-07",value:55270783},{date:"2014-04-08",value:58270783},{date:"2014-04-09",value:59270783},{date:"2014-04-10",value:60270783},{date:"2014-04-11",value:61270783},{date:"2014-04-12",value:62270783},{date:"2014-04-13",value:63270783},{date:"2014-04-14",value:64270783},{date:"2014-04-15",value:65270783},{date:"2014-04-16",value:66270783},{date:"2014-04-17",value:67270783},{date:"2014-04-18",value:68270783},{date:"2014-04-19",value:69270783},{date:"2014-04-20",value:70270783},{date:"2014-04-21",value:71270783},{date:"2014-04-22",value:72270783},{date:"2014-04-23",value:73270783},{date:"2014-04-24",value:74270783},{date:"2014-04-25",value:75270783},{date:"2014-04-26",value:76660783},{date:"2014-04-27",value:77270783},{date:"2014-04-28",value:78370783},{date:"2014-04-29",value:79470783},{date:"2014-04-30",value:80170783}],[{date:"2014-01-01",value:15e7},{date:"2014-01-02",value:160379978},{date:"2014-01-03",value:170493749},{date:"2014-01-04",value:160785250},{date:"2014-01-05",value:167391904},{date:"2014-01-06",value:161576838},{date:"2014-01-07",value:161413854},{date:"2014-01-08",value:152177211},{date:"2014-01-09",value:143762210},{date:"2014-01-10",value:144381072},{date:"2014-01-11",value:154352310},{date:"2014-01-12",value:165531790},{date:"2014-01-13",value:175748881},{date:"2014-01-14",value:187064037},{date:"2014-01-15",value:197520685},{date:"2014-01-16",value:210176418},{date:"2014-01-17",value:196122924},{date:"2014-01-18",value:207337480},{date:"2014-01-19",value:200258882},{date:"2014-01-20",value:186829538},{date:"2014-01-21",value:192456897},{date:"2014-01-22",value:204299711},{date:"2014-01-23",value:192759017},{date:"2014-01-24",value:203596183},{date:"2014-01-25",value:208107346},{date:"2014-01-26",value:196359852},{date:"2014-01-27",value:192570783},{date:"2014-01-28",value:177967768},{date:"2014-01-29",value:190632803},{date:"2014-01-30",value:203725316},{date:"2014-01-31",value:218226177},{date:"2014-02-01",value:210698669},{date:"2014-02-02",value:217640656},{date:"2014-02-03",value:216142362},{date:"2014-02-04",value:201410971},{date:"2014-02-05",value:196704289},{date:"2014-02-06",value:190436945},{date:"2014-02-07",value:178891686},{date:"2014-02-08",value:171613962},{date:"2014-02-09",value:157579773},{date:"2014-02-10",value:158677098},{date:"2014-02-11",value:147129977},{date:"2014-02-12",value:151561876},{date:"2014-02-13",value:151627421},{date:"2014-02-14",value:143543872},{date:"2014-02-15",value:136581057},{date:"2014-02-16",value:135560715},{date:"2014-02-17",value:122625263},{date:"2014-02-18",value:112091484},{date:"2014-02-19",value:98810329},{date:"2014-02-20",value:99882912},{date:"2014-02-21",value:94943095},{date:"2014-02-22",value:104875743},{date:"2014-02-23",value:116383678},{date:"2014-02-24",value:125028841},{date:"2014-02-25",value:123967310},{date:"2014-02-26",value:133167029},{date:"2014-02-27",value:128577263},{date:"2014-02-28",value:115836969},{date:"2014-03-01",value:119264529},{date:"2014-03-02",value:109363374},{date:"2014-03-03",value:113985628},{date:"2014-03-04",value:114650999},{date:"2014-03-05",value:110866108},{date:"2014-03-06",value:96473454},{date:"2014-03-07",value:104075886},{date:"2014-03-08",value:103568384},{date:"2014-03-09",value:101534883},{date:"2014-03-10",value:115825447},{date:"2014-03-11",value:126133916},{date:"2014-03-12",value:116502109},{date:"2014-03-13",value:130169411},{date:"2014-03-14",value:124296886},{date:"2014-03-15",value:126347399},{date:"2014-03-16",value:131483669},{date:"2014-03-17",value:142811333},{date:"2014-03-18",value:129675396},{date:"2014-03-19",value:115514483},{date:"2014-03-20",value:117630630},{date:"2014-03-21",value:122340239},{date:"2014-03-22",value:132349091},{date:"2014-03-23",value:125613305},{date:"2014-03-24",value:135592466},{date:"2014-03-25",value:123408762},{date:"2014-03-26",value:111991454},{date:"2014-03-27",value:116123955},{date:"2014-03-28",value:112817214},{date:"2014-03-29",value:113029590},{date:"2014-03-30",value:108753398},{date:"2014-03-31",value:99383763},{date:"2014-04-01",value:100151737},{date:"2014-04-02",value:94985209},{date:"2014-04-03",value:82913669},{date:"2014-04-04",value:78748268},{date:"2014-04-05",value:63829135},{date:"2014-04-06",value:78694727},{date:"2014-04-07",value:80868994},{date:"2014-04-08",value:93799013},{date:"2014-04-09",value:99042416},{date:"2014-04-10",value:97298692},{date:"2014-04-11",value:83353499},{date:"2014-04-12",value:71248129},{date:"2014-04-13",value:75253744},{date:"2014-04-14",value:68976648},{date:"2014-04-15",value:71002284},{date:"2014-04-16",value:75052401},{date:"2014-04-17",value:83894030},{date:"2014-04-18",value:90236528},{date:"2014-04-19",value:99739114},{date:"2014-04-20",value:96407136},{date:"2014-04-21",value:108323177},{date:"2014-04-22",value:101578914},{date:"2014-04-23",value:115877608},{date:"2014-04-24",value:112088857},{date:"2014-04-25",value:112071353},{date:"2014-04-26",value:101790062},{date:"2014-04-27",value:115003761},{date:"2014-04-28",value:120457727},{date:"2014-04-29",value:118253926},{date:"2014-04-30",value:117956992}],[{date:"2014-01-01",value:5e7},{date:"2014-01-02",value:60379978},{date:"2014-01-03",value:40493749},{date:"2014-01-04",value:60785250},{date:"2014-01-05",value:67391904},{date:"2014-01-06",value:61576838},{date:"2014-01-07",value:61413854},{date:"2014-01-08",value:82177211},{date:"2014-01-09",value:103762210},{date:"2014-01-10",value:84381072},{date:"2014-01-11",value:54352310},{date:"2014-01-12",value:65531790},{date:"2014-01-13",value:75748881},{date:"2014-01-14",value:47064037},{date:"2014-01-15",value:67520685},{date:"2014-01-16",value:60176418},{date:"2014-01-17",value:66122924},{date:"2014-01-18",value:57337480},{date:"2014-01-19",value:100258882},{date:"2014-01-20",value:46829538},{date:"2014-01-21",value:92456897},{date:"2014-01-22",value:94299711},{date:"2014-01-23",value:62759017},{date:"2014-01-24",value:103596183},{date:"2014-01-25",value:108107346},{date:"2014-01-26",value:66359852},{date:"2014-01-27",value:62570783},{date:"2014-01-28",value:77967768},{date:"2014-01-29",value:60632803},{date:"2014-01-30",value:103725316},{date:"2014-01-31",value:98226177},{date:"2014-02-01",value:60698669},{date:"2014-02-02",value:67640656},{date:"2014-02-03",value:66142362},{date:"2014-02-04",value:101410971},{date:"2014-02-05",value:66704289},{date:"2014-02-06",value:60436945},{date:"2014-02-07",value:78891686},{date:"2014-02-08",value:71613962},{date:"2014-02-09",value:107579773},{date:"2014-02-10",value:58677098},{date:"2014-02-11",value:87129977},{date:"2014-02-12",value:51561876},{date:"2014-02-13",value:51627421},{date:"2014-02-14",value:83543872},{date:"2014-02-15",value:66581057},{date:"2014-02-16",value:65560715},{date:"2014-02-17",value:62625263},{date:"2014-02-18",value:92091484},{date:"2014-02-19",value:48810329},{date:"2014-02-20",value:49882912},{date:"2014-02-21",value:44943095},{date:"2014-02-22",value:104875743},{date:"2014-02-23",value:96383678},{date:"2014-02-24",value:105028841},{date:"2014-02-25",value:63967310},{date:"2014-02-26",value:63167029},{date:"2014-02-27",value:68577263},{date:"2014-02-28",value:95836969},{date:"2014-03-01",value:99264529},{date:"2014-03-02",value:109363374},{date:"2014-03-03",value:93985628},{date:"2014-03-04",value:94650999},{date:"2014-03-05",value:90866108},{date:"2014-03-06",value:46473454},{date:"2014-03-07",value:84075886},{date:"2014-03-08",value:103568384},{date:"2014-03-09",value:101534883},{date:"2014-03-10",value:95825447},{date:"2014-03-11",value:66133916},{date:"2014-03-12",value:96502109},{date:"2014-03-13",value:80169411},{date:"2014-03-14",value:84296886},{date:"2014-03-15",value:86347399},{date:"2014-03-16",value:31483669},{date:"2014-03-17",value:82811333},{date:"2014-03-18",value:89675396},{date:"2014-03-19",value:95514483},{date:"2014-03-20",value:97630630},{date:"2014-03-21",value:62340239},{date:"2014-03-22",value:62349091},{date:"2014-03-23",value:65613305},{date:"2014-03-24",value:65592466},{date:"2014-03-25",value:63408762},{date:"2014-03-26",value:91991454},{date:"2014-03-27",value:96123955},{date:"2014-03-28",value:92817214},{date:"2014-03-29",value:93029590},{date:"2014-03-30",value:108753398},{date:"2014-03-31",value:49383763},{date:"2014-04-01",value:100151737},{date:"2014-04-02",value:44985209},{date:"2014-04-03",value:52913669},{date:"2014-04-04",value:48748268},{date:"2014-04-05",value:23829135},{date:"2014-04-06",value:58694727},{date:"2014-04-07",value:50868994},{date:"2014-04-08",value:43799013},{date:"2014-04-09",value:4042416},{date:"2014-04-10",value:47298692},{date:"2014-04-11",value:53353499},{date:"2014-04-12",value:71248129},{date:"2014-04-13",value:75253744},{date:"2014-04-14",value:68976648},{date:"2014-04-15",value:71002284},{date:"2014-04-16",value:75052401},{date:"2014-04-17",value:83894030},{date:"2014-04-18",value:50236528},{date:"2014-04-19",value:59739114},{date:"2014-04-20",value:56407136},{date:"2014-04-21",value:108323177},{date:"2014-04-22",value:101578914},{date:"2014-04-23",value:95877608},{date:"2014-04-24",value:62088857},{date:"2014-04-25",value:92071353},{date:"2014-04-26",value:81790062},{date:"2014-04-27",value:105003761},{date:"2014-04-28",value:100457727},{date:"2014-04-29",value:98253926},{date:"2014-04-30",value:67956992}]],n=14844186e5,l=[],i=0;i<120;i++){var s=[n+=864e5,r[1][i].value];l.push(s)}e={chart:{type:"area",stacked:!1,height:300,zoom:{type:"x",padding:{left:30,right:20}},toolbar:{show:!0,autoSelected:"zoom"}},plotOptions:{line:{curve:"smooth"}},dataLabels:{enabled:!1},series:[{name:"Nifty 50",data:l}],colors:["#8E54E9"],fill:{gradient:{enabled:!0,shadeIntensity:0,inverseColors:!1,opacityFrom:1,opacityTo:0}},grid:{show:!0,borderColor:"#fff"},yaxis:{min:2e7,max:25e7,labels:{formatter:function(e){return(e/1e6).toFixed(0)}}},xaxis:{type:"datetime",labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"},offsetX:-25},axisBorder:{show:!1}},tooltip:{shared:!1,y:{formatter:function(e){return(e/1e6).toFixed(0)}}}};(y=new ApexCharts(a.querySelector("#analytics1"),e)).render()}if(jQuery("#analytics2").length>0){var d={chart:{type:"bar",height:250,width:"100%",stacked:!0,foreColor:"#999",toolbar:{show:!1}},plotOptions:{bar:{dataLabels:{enabled:!1},columnWidth:"60%",endingShape:"rounded"}},dataLabels:{enabled:!1},colors:["#4776E6","#eceef3"],series:[{name:"Sessions",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19]},{name:"Views",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19]}],xaxis:{axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!1},labels:{show:!1,style:{fontSize:"14px"}}},grid:{xaxis:{lines:{show:!1}},yaxis:{lines:{show:!1}}},yaxis:{axisBorder:{show:!1},labels:{show:!1}},legend:{floating:!1,position:"top",horizontalAlign:"right",offsetY:-36},title:{text:"10 days left",align:"left"},tooltip:{shared:!0}};new ApexCharts(a.querySelector("#analytics2"),d).render()}if(jQuery("#analytics3").length>0){e={chart:{height:200,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[5,4],curve:"smooth",dashArray:[0,4]},colors:["#8E54E9","#2bcbba"],series:[{name:"Total revenue",data:[45,52,38,24,33,26,21,20]},{name:"Total cost",data:[35,41,62,42,13,18,29,37]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!0,offsetX:10},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" per click"}}},{title:{formatter:function(e){return e+" per click"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"},responsive:[{breakpoint:480,options:{xaxis:{labels:{rotate:-45,hideOverlappingLabels:!0}}}}]};(y=new ApexCharts(a.querySelector("#analytics3"),e)).render()}if(jQuery("#analytics4").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#8E54E9"]};(y=new ApexCharts(a.querySelector("#analytics4"),e)).render()}if(jQuery("#analytics5").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#fb0792"]};(y=new ApexCharts(a.querySelector("#analytics5"),e)).render()}if(jQuery("#analytics6").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#32b432"]};(y=new ApexCharts(a.querySelector("#analytics6"),e)).render()}if(jQuery("#analytics7").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#8E54E9"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#analytics7"),e)).render()}if(jQuery("#analytics8").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#2bcbba"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#analytics8"),e)).render()}if(jQuery("#analytics9").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#fb0792"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#analytics9"),e)).render()}if(jQuery("#analytics10").length>0){var c={chart:{height:115,width:140,type:"donut"},colors:["#8E54E9","#f7b731","#45aaf2"],labels:["Redirect Visists","New Visits","Direct Visits"],series:[456,256,128],legend:{show:!1},dataLabels:{enabled:!1},plotOptions:{pie:{size:35,donut:{size:"72%"},offsetX:10,offsetY:-10,dataLabels:{enabled:!1}}},responsive:[{breakpoint:480,options:{chart:{width:250,height:250},plotOptions:{pie:{size:70,donut:{size:"72%"},offsetX:0,offsetY:-20,dataLabels:{enabled:!1}}}}}]};new ApexCharts(a.querySelector("#analytics10"),c).render().then(function(){})}if(jQuery("#ecommerce5").length>0){e={chart:{height:340,type:"bar",toolbar:{show:!1}},colors:["#8E54E9","#eceef3"],plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"40%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Annual Sales",data:[44,55,57,56,61,58,63,60,66]},{name:"Annual Revenue",data:[76,85,101,98,87,105,91,114,94]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"],axisBorder:{show:!1},labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"},offsetX:0}},yaxis:{labels:{show:!1,style:{colors:["#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-yaxis-label"}}},fill:{type:"gradient",gradient:{shade:"light",type:"vertical",shadeIntensity:.6,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100]}},legend:{fontFamily:"Roboto",labels:{colors:["#949494","#949494","#949494"],useSeriesColors:!1},itemMargin:{horizontal:20}},tooltip:{y:{formatter:function(e){return"$ "+e+" thousands"}}},grid:{show:!0,borderColor:"#fff"},responsive:[{breakpoint:400,options:{plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"70%"}}}}]};(y=new ApexCharts(a.querySelector("#ecommerce5"),e)).render()}if(jQuery("#ecommercedemo1").length>0){e={chart:{type:"area",height:100,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#8E54E9"]};(y=new ApexCharts(a.querySelector("#ecommercedemo1"),e)).render()}if(jQuery("#ecommercedemo2").length>0){e={chart:{type:"area",height:100,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#fbaf54"]};(y=new ApexCharts(a.querySelector("#ecommercedemo2"),e)).render()}if(jQuery("#ecommercedemo3").length>0){e={chart:{type:"area",height:100,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#e3324c"]};(y=new ApexCharts(a.querySelector("#ecommercedemo3"),e)).render()}if(jQuery("#ecommercedemo4").length>0){e={chart:{type:"area",height:100,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#32b432"]};(y=new ApexCharts(a.querySelector("#ecommercedemo4"),e)).render()}if(jQuery("#ecommercedemo5").length>0){e={chart:{width:260,height:230,type:"pie"},colors:["#8E54E9","#fbaf54","#4776E6","#e3324c","#444444"],labels:["Direct","Referral","Organic Search","Social Network","Other Advertising"],series:[44,55,13,53,35],legend:{show:!1},dataLabels:{enabled:!1},responsive:[{breakpoint:400,options:{chart:{offsetY:0,offsetX:0,width:250}}},{breakpoint:480,options:{chart:{offsetY:0,offsetX:0,width:300}}}]};(y=new ApexCharts(a.querySelector("#ecommercedemo5"),e)).render()}if(jQuery("#cardealerdemo1").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0}},stroke:{width:"1",curve:"smooth"},fill:{gradient:{shade:"light",type:"vertical",shadeIntensity:.2,gradientToColors:void 0,inverseColors:!0,opacityFrom:.4,opacityTo:.4,stops:[0,50,100]}},markers:{style:"inverted",size:2},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#ffffff"]};(y=new ApexCharts(a.querySelector("#cardealerdemo1"),e)).render()}if(jQuery("#pageview").length>0){e={chart:{type:"area",height:355,width:600,sparkline:{enabled:!0}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.6,opacityTo:.2,stops:[20,100,100,100]}},markers:{strokeColor:"#8E54E9",size:3},series:[{data:[0,2,7,5,10,9,13,15]}],yaxis:{min:0},colors:["#8E54E9"]};(y=new ApexCharts(a.querySelector("#pageview"),e)).render()}if(jQuery("#cardealerdemo2").length>0){e={chart:{height:260,type:"bar",toolbar:{show:!1}},colors:["#8E54E9"],plotOptions:{bar:{horizontal:!1,columnWidth:"16%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Annual Revenue",data:[76,85,101,98,87,105,91,114,94]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"],axisBorder:{show:!1},labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"},offsetX:0}},yaxis:{labels:{show:!1,style:{colors:["#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-yaxis-label"}}},fill:{type:"gradient",gradient:{shade:"light",type:"vertical",shadeIntensity:0,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100]}},legend:{fontFamily:"Roboto",labels:{colors:["#949494","#949494","#949494"],useSeriesColors:!1}},tooltip:{y:{formatter:function(e){return"$ "+e+" thousands"}}},grid:{show:!0,borderColor:"#f5f5f5"},responsive:[{breakpoint:400,options:{yaxis:{show:!1}}},{breakpoint:480,options:{plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"90%"}},yaxis:{show:!1}}}]};(y=new ApexCharts(a.querySelector("#cardealerdemo2"),e)).render()}if(jQuery("#cardealerdemo3").length>0){e={chart:{height:350,type:"line",shadow:{enabled:!0,color:"#000",top:18,left:7,blur:10,opacity:1},toolbar:{show:!1}},colors:["#8E54E9","#4776E6"],dataLabels:{enabled:!0},stroke:{curve:"smooth"},series:[{name:"User - 208",data:[28,29,33,36,32,32,33]},{name:"Page View - 208",data:[12,11,14,18,17,13,13]}],grid:{borderColor:"#dee0ea",row:{colors:["#f3f3f3","transparent"],opacity:.5}},markers:{size:6},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul"]},yaxis:{min:5,max:40},legend:{show:!1,position:"top",horizontalAlign:"right",floating:!0,offsetY:-25,offsetX:-5}};(y=new ApexCharts(a.querySelector("#cardealerdemo3"),e)).render()}if(jQuery("#cardealerdemo4").length>0){e={chart:{width:260,type:"donut"},dataLabels:{enabled:!1},series:[60,40,25,15],labels:["Direct","Referral","Organic","Social"],colors:["#d270f9","#d69bee","#deb0f1","#ebcff6"],fill:{type:"gradient",gradient:{shade:"dark",type:"vertical",shadeIntensity:1,opacityFrom:1,opacityTo:1,gradientToColors:["#d270f9","#d69bee","#deb0f1","#ebcff6"],stops:[0,90,100]}},legend:{show:!1,position:"left",horizontalAlign:"center",fontSize:"14px",itemMargin:{horizontal:20,vertical:5}},responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(y=new ApexCharts(a.querySelector("#cardealerdemo4"),e)).render();y.paper()}if(jQuery("#cardealerdemo5").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.9,opacityTo:.1,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#d270f9"]};(y=new ApexCharts(a.querySelector("#cardealerdemo5"),e)).render()}if(jQuery("#stockmarket5").length>0){for(n=14844186e5,l=[],i=0;i<120;i++){s=[n+=864e5,r[1][i].value];l.push(s)}e={chart:{type:"area",stacked:!1,height:350,zoom:{type:"x",enabled:!0},toolbar:{autoSelected:"zoom"}},plotOptions:{line:{curve:"smooth"}},dataLabels:{enabled:!1},series:[{name:"Nifty 50",data:l}],markers:{size:0,style:"full"},colors:["#8E54E9"],fill:{gradient:{enabled:!0,shadeIntensity:0,inverseColors:!1,opacityFrom:1,opacityTo:0}},grid:{show:!0,borderColor:"#fff"},yaxis:{min:2e7,max:25e7,labels:{formatter:function(e){return(e/1e6).toFixed(0)}},title:{text:"Price"}},xaxis:{type:"datetime",labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"}},axisBorder:{show:!1}},tooltip:{shared:!1,y:{formatter:function(e){return(e/1e6).toFixed(0)}}}};(y=new ApexCharts(a.querySelector("#stockmarket5"),e)).render()}if(jQuery("#stockmarket6").length>0){e={chart:{height:300,type:"bar",toolbar:{show:!1}},legend:{show:!0,position:"top",containerMargin:{top:-20}},plotOptions:{bar:{horizontal:!0,barHeight:"20%"}},dataLabels:{enabled:!1},colors:["#8E54E9"],fill:{gradient:{enabled:!0,shade:"light",type:"vertical",shadeIntensity:.1,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[50,0,100,100]}},series:[{data:[400,430,448,470,540,430,448]}],grid:{show:!0,borderColor:"#fff"},xaxis:{categories:["Tata","Reliance","ONGC","GAIL","Tata Motors","ACC","Mind Tree"],labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"}},axisBorder:{show:!1},axisTicks:{show:!1}}};(y=new ApexCharts(a.querySelector("#stockmarket6"),e)).render()}function u(e,a,t){for(var o=0,r=[];o0){e={chart:{height:390,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},legend:{show:!1,position:"top",containerMargin:{top:-20}},series:[{name:"Actual",data:u(new Date("11 Feb 2017 GMT").getTime(),12,{min:10,max:60})},{name:"Budget",data:u(new Date("11 Feb 2017 GMT").getTime(),12,{min:10,max:60})}],colors:["#8E54E9","#45aaf2"],fill:{opacity:.8,gradient:{enabled:!1}},xaxis:{tickAmount:12,type:"category",axisBorder:{show:!1},label:{offsetX:10}},yaxis:{max:70}};(y=new ApexCharts(a.querySelector("#stockmarket7"),e)).render()}if(jQuery("#stockmarketdemo1").length>0){e={chart:{height:110,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[2],curve:"smooth",dashArray:[0,4]},colors:["#fb0792"],series:[{name:"Session Duration",data:[2,1,2,1,3,1,2,3,2,1,3,8,2,3,1]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan","09 Jan","10 Jan","11 Jan","12 Jan","13 Jan","14 Jan","15 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#stockmarketdemo1"),e)).render()}if(jQuery("#stockmarketdemo2").length>0){e={chart:{height:110,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[2],curve:"smooth",dashArray:[0,4]},colors:["#8E54E9"],series:[{name:"Session Duration",data:[2,1,2,1,3,8,2,3,2,1,3,2,2,3,1]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan","09 Jan","10 Jan","11 Jan","12 Jan","13 Jan","14 Jan","15 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#stockmarketdemo2"),e)).render()}if(jQuery("#stockmarketdemo3").length>0){e={chart:{height:110,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[2],curve:"smooth",dashArray:[0,4]},colors:["#fd9644"],series:[{name:"Session Duration",data:[2,1,2,1,3,1,2,8,2,1,3,1,2,3,1]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan","09 Jan","10 Jan","11 Jan","12 Jan","13 Jan","14 Jan","15 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#stockmarketdemo3"),e)).render()}if(jQuery("#stockmarketdemo4").length>0){e={chart:{height:110,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[2],curve:"smooth",dashArray:[0,4]},colors:["#2bcbba"],series:[{name:"Session Duration",data:[2,1,8,1,3,1,2,3,2,1,3,4,2,3,1]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan","09 Jan","10 Jan","11 Jan","12 Jan","13 Jan","14 Jan","15 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#stockmarketdemo4"),e)).render()}if(jQuery("#stockmarketdemo5").length>0){e={chart:{type:"bar",height:100,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},colors:["#8E54E9"],series:[{data:[25,66,41,89,63,25,44,12,36,9,54,44,12,36,9,54,66,41,89,63,25,25,44,12,36,9,54,44,12,36,9]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}};(y=new ApexCharts(a.querySelector("#stockmarketdemo5"),e)).render()}if(jQuery("#stockmarketdemo6").length>0){e={chart:{height:100,width:150,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},colors:["#ffffff"],markers:{style:"inverted",size:1},dataLabels:{enabled:!1},stroke:{curve:"straight",width:2},series:[{show:!1,name:"Desktops",data:[5,20,10,20,10,20,10]}],title:{align:"left"},xaxis:{show:!1,categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"],labels:{show:!1},axisBorder:{show:!1}},yaxis:{labels:{show:!1}},grid:{show:!1}};(y=new ApexCharts(a.querySelector("#stockmarketdemo6"),e)).render()}if(jQuery("#stockmarketdemo7").length>0){e={chart:{height:100,width:150,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},colors:["#ffffff"],markers:{style:"inverted",size:1},dataLabels:{enabled:!1},stroke:{curve:"straight",width:2},series:[{show:!1,name:"Desktops",data:[5,20,10,20,10,20,10]}],title:{align:"left"},xaxis:{show:!1,categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"],labels:{show:!1},axisBorder:{show:!1}},yaxis:{labels:{show:!1}},grid:{show:!1}};(y=new ApexCharts(a.querySelector("#stockmarketdemo7"),e)).render()}if(jQuery("#stockmarketdemo8").length>0){var h=t(new Date("10 Feb 2018").getTime(),185,{min:30,max:90}),m={chart:{id:"stockmarketdemo8",type:"line",height:230,toolbar:{autoSelected:"pan",show:!1}},colors:["#8E54E9"],stroke:{width:2,curve:"smooth"},dataLabels:{enabled:!1},fill:{opacity:1},markers:{size:0},series:[{data:h}],xaxis:{type:"datetime"}};new ApexCharts(a.querySelector("#stockmarketdemo8"),m).render()}if(jQuery("#stockmarketdemo8bottom").length>0){e={chart:{id:"stockmarketdemo8bottom",height:130,type:"area",brush:{target:"stockmarketdemo8",enabled:!0},selection:{enabled:!0,xaxis:{min:new Date("19 Jun 2018").getTime(),max:new Date("14 Aug 2018").getTime()}}},colors:["#8E54E9"],series:[{data:h}],fill:{gradient:{enabled:!0,opacityFrom:.91,opacityTo:.1}},xaxis:{type:"datetime",offsetX:10,tooltip:{enabled:!1}},yaxis:{tickAmount:2}};(y=new ApexCharts(a.querySelector("#stockmarketdemo8bottom"),e)).render()}function t(e,a,t){for(var o=0,r=[];o0){e={chart:{height:354,type:"line",toolbar:{show:!1},zoom:{enabled:!1},animations:{enabled:!1}},colors:["#45aaf2","#32b432","#fd9644"],legend:{show:!0,showForSingleSeries:!0,showForZeroSeries:!0,position:"top",horizontalAlign:"right"},stroke:{width:[5,5,4],curve:"straight"},series:[{name:"Peter",data:[5,5,10,8,7,5,4,null,null,null,10,10,7,8,6,9]},{name:"Johnny",data:[10,15,null,12,null,10,12,15,null,null,12,null,14,null,null,null]},{name:"David",data:[null,null,null,null,3,4,1,3,4,6,7,9,5,null,null,null]}],labels:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],xaxis:{}};(y=new ApexCharts(a.querySelector("#stockmarketdemo9"),e)).render()}if(jQuery("#datingdemo1").length>0){e={chart:{height:440,type:"line",toolbar:{show:!1},shadow:{enabled:!1,color:"#bbb",top:3,left:2,blur:3,opacity:1}},stroke:{width:4,curve:"smooth"},series:[{name:"Likes",data:[1,35,10,30,8,25,6,40,10,34,8,30]}],xaxis:{type:"datetime",categories:["1/11/2000","2/11/2000","3/11/2000","4/11/2000","5/11/2000","6/11/2000","7/11/2000","8/11/2000","9/11/2000","10/11/2000","11/11/2000","12/11/2000"],labels:{show:!0},axisBorder:{show:!1}},title:{align:"left",style:{fontSize:"16px",color:"#666"}},grid:{show:!0,borderColor:"#eceef3"},fill:{type:"gradient",gradient:{shade:"dark",gradientToColors:["#ff0792"],shadeIntensity:1,type:"horizontal",opacityFrom:1,opacityTo:1,stops:[0,100,100,100]}},markers:{size:5,opacity:.9,colors:["#ffffff"],strokeColor:"#ff0792",strokeWidth:2,hover:{size:7}},yaxis:{min:-10,max:40,title:{show:!1},labels:{show:!1},axisBorder:{show:!1}}};(y=new ApexCharts(a.querySelector("#datingdemo1"),e)).render()}if(jQuery("#datingdemo2").length>0){e={chart:{height:350,type:"radialBar"},plotOptions:{radialBar:{dataLabels:{name:{fontSize:"22px"},value:{fontSize:"16px"},total:{show:!0,label:"Total",formatter:function(e){return 249}}}}},fill:{type:"gradient",gradient:{shade:"dark",type:"vertical",shadeIntensity:1,opacityFrom:1,opacityTo:1,gradientToColors:["#8E54E9","#45aaf2","#2bcbba"],stops:[0,90,100]}},colors:["#8E54E9","#45aaf2","#2bcbba"],series:[45,55,80],labels:["Desktop","Tablet","Mobile"],responsive:[{breakpoint:400,options:{chart:{offsetY:0,offsetX:0,height:300}}}]};(y=new ApexCharts(a.querySelector("#datingdemo2"),e)).render()}function t(e,a,t){for(var o=0,r=[];o0){e={chart:{height:320,type:"area",stacked:!0,toolbar:{show:!1},events:{selection:function(e,a){console.log(new Date(a.xaxis.min))}}},colors:["#8c66e8","#8ea4e8","#efecf1"],dataLabels:{enabled:!1},stroke:{curve:"smooth",width:"4"},series:[{name:"Male",data:t(new Date("11 Dec 2018 GMT").getTime(),20,{min:10,max:60})},{name:"Female",data:t(new Date("11 Dec 2018 GMT").getTime(),20,{min:10,max:20})},{name:"Non Registered",data:t(new Date("11 Dec 2018 GMT").getTime(),20,{min:10,max:15})}],fill:{gradient:{enabled:!0,opacityFrom:.9,opacityTo:.4}},legend:{show:!1,showForSingleSeries:!1,showForZeroSeries:!1,position:"top",horizontalAlign:"right"},xaxis:{type:"datetime"},yaxis:{labels:{show:!1}}};(y=new ApexCharts(a.querySelector("#datingdemo3"),e)).render()}if(jQuery("#datingdemo4").length>0){new ApexCharts(a.querySelector("#datingdemo4"),{chart:{height:340,type:"area",toolbar:{show:!1},zoom:{enabled:!1}},stroke:{curve:"straight"},colors:["#8E54E9","#45aaf2"],series:[{name:"Blog",data:[{x:0,y:0},{x:4,y:5},{x:5,y:3},{x:9,y:8},{x:14,y:4},{x:18,y:5},{x:25,y:0}]},{name:"External",data:[{x:0,y:0},{x:2,y:5},{x:5,y:4},{x:10,y:11},{x:14,y:4},{x:18,y:8},{x:25,y:0}]}],fill:{opacity:1,gradient:{enabled:!1}},markers:{size:0,style:"hollow",hover:{opacity:5}},grid:{show:!0,borderColor:"#eceef3"},tooltip:{intersect:!0,shared:!1},xaxis:{tooltip:{enabled:!1},labels:{show:!1},axisBorder:{show:!1},axisTicks:{show:!1}},yaxis:{tickAmount:4,max:12,axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{color:"#78909c"}}},legend:{show:!1}}).render()}if(jQuery("#datingdemo5").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#8E54E9"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#datingdemo5"),e)).render()}if(jQuery("#datingdemo6").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#2bcbba"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#datingdemo6"),e)).render()}if(jQuery("#datingdemo7").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#fb0792"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#datingdemo7"),e)).render()}if(jQuery("#datingdemo8").length>0){e={chart:{type:"bar",width:120,height:50,sparkline:{enabled:!0}},colors:["#32b432"],plotOptions:{bar:{columnWidth:"20%",endingShape:"rounded"}},series:[{data:[15,55,60,69,53,35,54]}],labels:[1,2,3,4,5,6,7,8,9,10],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},responsive:[{breakpoint:360,options:{chart:{width:60,height:60}}},{breakpoint:480,options:{chart:{width:100,height:80}}}]};(y=new ApexCharts(a.querySelector("#datingdemo8"),e)).render()}if(jQuery("#jobportaldemo1").length>0){e={chart:{height:350,type:"bar"},plotOptions:{bar:{horizontal:!1}},dataLabels:{enabled:!1},colors:["#4776E6"],fill:{type:"gradient",gradient:{type:"vertical",shadeIntensity:0,opacityFrom:1,opacityTo:0,gradientToColors:["#8E54E9"],stops:[0,90,100]}},series:[{data:[400,430,448,470,540,580,690,1100,1200,1380]}],grid:{show:!0,borderColor:"#fff"},xaxis:{categories:["South Korea","Canada","United Kingdom","Netherlands","Italy","France","Japan","United States","China","Germany"],labels:{style:{colors:["#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494","#949494"],fontSize:"12px",fontFamily:"Roboto",cssClass:"apexcharts-xaxis-label"}},axisBorder:{show:!1},axisTicks:{show:!1}}};(y=new ApexCharts(a.querySelector("#jobportaldemo1"),e)).render()}if(jQuery("#jobportaldemo2").length>0){e={chart:{width:260,type:"donut"},dataLabels:{enabled:!1},series:[60,40,25,15],labels:["Direct","Referral","Organic","Social"],colors:["#d270f9","#d69bee","#deb0f1","#ebcff6"],fill:{type:"gradient",gradient:{shade:"dark",type:"vertical",shadeIntensity:1,opacityFrom:1,opacityTo:1,gradientToColors:["#d270f9","#d69bee","#deb0f1","#ebcff6"],stops:[0,90,100]}},legend:{show:!1,position:"left",horizontalAlign:"center",fontSize:"14px",itemMargin:{horizontal:20,vertical:5}},responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(y=new ApexCharts(a.querySelector("#jobportaldemo2"),e)).render();y.paper()}if(jQuery("#jobportaldemo3").length>0){e={chart:{height:280,type:"radialBar"},plotOptions:{radialBar:{dataLabels:{name:{fontSize:"18px"},value:{fontSize:"16px"},total:{show:!0,label:"Total",formatter:function(e){return"100%"}}}}},fill:{type:"gradient",gradient:{shade:"dark",type:"vertical",shadeIntensity:1,opacityFrom:1,opacityTo:.5,gradientToColors:["#8E54E9","#4776E6"],stops:[0,90,100]}},colors:["#8E54E9","#4776E6"],series:[45,55],labels:["Job Seekers","Job Providers"],responsive:[{breakpoint:400,options:{chart:{offsetY:0,offsetX:0,height:300}}}]};(y=new ApexCharts(a.querySelector("#jobportaldemo3"),e)).render()}function t(e,a,t){for(var o=0,r=[];o0){e={chart:{height:300,type:"area",stacked:!0,toolbar:{show:!1},events:{selection:function(e,a){console.log(new Date(a.xaxis.min))}}},colors:["#e231ad","#9e06e7","#efecf1"],dataLabels:{enabled:!1},stroke:{curve:"smooth",width:"4"},series:[{name:"Applicants",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Interviews",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:20})},{name:"Forwards",data:t(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:15})}],fill:{gradient:{enabled:!0,opacityFrom:.9,opacityTo:.4}},legend:{show:!1,showForSingleSeries:!1,showForZeroSeries:!1,position:"top",horizontalAlign:"right"},xaxis:{type:"datetime",labels:{offsetX:-5}},yaxis:{labels:{show:!1}},responsive:[{breakpoint:480,options:{xaxis:{type:"datetime",labels:{offsetX:0}}}}]};(y=new ApexCharts(a.querySelector("#jobportaldemo4"),e)).render()}if(jQuery("#jobportaldemo5").length>0){e={chart:{type:"area",height:160,sparkline:{enabled:!0,offsetY:25,offsetX:25}},stroke:{curve:"smooth",width:3},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:.9,opacityTo:.1,stops:[20,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46])}],yaxis:{min:0},colors:["#d270f9"]};(y=new ApexCharts(a.querySelector("#jobportaldemo5"),e)).render()}if(jQuery("#jobportaldemo6").length>0){e={chart:{height:200,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},colors:["#ffffff"],markers:{style:"inverted",size:3},dataLabels:{enabled:!1},stroke:{curve:"straight",width:2},series:[{show:!1,name:"Desktops",data:[5,20,10,20,10,20,10]}],title:{align:"left"},xaxis:{show:!1,categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"],labels:{show:!1},axisBorder:{show:!1}},yaxis:{labels:{show:!1}},grid:{show:!1}};(y=new ApexCharts(a.querySelector("#jobportaldemo6"),e)).render()}if(jQuery("#crmdemo1").length>0){e={chart:{height:390,type:"line",toolbar:{show:!1},shadow:{enabled:!1,color:"#bbb",top:3,left:2,blur:3,opacity:1}},stroke:{width:4,curve:"smooth"},series:[{name:"Likes",data:[1,35,10,30,8,25,6,40,10,34,8,30]}],xaxis:{type:"datetime",categories:["1/11/2000","2/11/2000","3/11/2000","4/11/2000","5/11/2000","6/11/2000","7/11/2000","8/11/2000","9/11/2000","10/11/2000","11/11/2000","12/11/2000"],axisBorder:{show:!1}},title:{align:"left",style:{fontSize:"16px",color:"#666"}},fill:{type:"gradient",gradient:{shade:"dark",gradientToColors:["#ff0792"],shadeIntensity:1,type:"horizontal",opacityFrom:1,opacityTo:1,stops:[0,100,100,100]}},markers:{size:5,opacity:.9,colors:["#ffffff"],strokeColor:"#ff0792",strokeWidth:2,hover:{size:7}},yaxis:{min:-10,max:40,title:{show:!1}}};(y=new ApexCharts(a.querySelector("#crmdemo1"),e)).render()}if(jQuery("#crmdemo2").length>0){e={chart:{height:400,type:"bar",toolbar:{show:!1}},plotOptions:{bar:{barHeight:"20%",horizontal:!0}},legend:{show:!0,position:"top",containerMargin:{top:-10}},grid:{show:!0,borderColor:"#ebedf2"},colors:["#8E54E9"],dataLabels:{enabled:!1},series:[{data:[400,430,448,470,540,580,690,1100,1200]}],xaxis:{categories:["Deal lost","Lead","Negotiating","Qualified","Proposal submitted","Sale agreed","Running projects","Closed projects","Payment received"],axisBorder:{show:!1}},responsive:[{breakpoint:400,options:{chart:{height:400,type:"bar",toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0}}}}]};(y=new ApexCharts(a.querySelector("#crmdemo2"),e)).render()}if(jQuery("#realestatedemo1").length>0){e={chart:{height:340,type:"area",toolbar:{show:!1}},dataLabels:{enabled:!1},legend:{offsetY:-10},colors:["#fb0792","#8E54E9"],fill:{type:"gradient",gradient:{type:"vertical",shadeIntensity:0,opacityFrom:.3,opacityTo:.2,gradientToColors:["#fbacd9"],stops:[0,90,100]}},stroke:{curve:"smooth",width:2},series:[{name:"Sale income",data:[30,50,32,33,42,30,50,42,33,42,30,50,34]},{name:"Rent income",data:[20,30,22,23,32,20,30,22,23,32,20,30,24]}],tooltip:{x:{format:"dd/MM/yy HH:mm"}},xaxis:{show:!0,labels:{show:!0},axisBorder:{color:"#fafbfb",show:!0},axisTicks:{color:"#fafbfb"}},yaxis:{labels:{show:!0},axisBorder:{color:"#fff",show:!0}},grid:{show:!0,borderColor:"#fafbfb"}};(y=new ApexCharts(a.querySelector("#realestatedemo1"),e)).render()}if(jQuery("#realestatedemo3").length>0){d={chart:{type:"bar",height:250,width:"100%",stacked:!0,foreColor:"#999",toolbar:{show:!1}},plotOptions:{bar:{dataLabels:{enabled:!1},columnWidth:"60%",endingShape:"rounded"}},dataLabels:{enabled:!1},colors:["#8E54E9","#eceef3"],series:[{name:"Sessions",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19]},{name:"Views",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19]}],xaxis:{axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!1},labels:{show:!1,style:{fontSize:"14px"}}},grid:{xaxis:{lines:{show:!1}},yaxis:{lines:{show:!1}}},yaxis:{axisBorder:{show:!1},labels:{show:!1}},legend:{floating:!1,position:"top",horizontalAlign:"right",offsetY:-36},title:{text:"10 days left",align:"left"},tooltip:{shared:!0}};new ApexCharts(a.querySelector("#realestatedemo3"),d).render()}if(jQuery("#crypto-demo1-candlestick").length>0){var p=[{x:new Date(2016,1,1),y:[51.98,56.29,51.59,53.85]},{x:new Date(2016,2,1),y:[53.66,54.99,51.35,52.95]},{x:new Date(2016,3,1),y:[52.96,53.78,51.54,52.48]},{x:new Date(2016,4,1),y:[52.54,52.79,47.88,49.24]},{x:new Date(2016,5,1),y:[49.1,52.86,47.7,52.78]},{x:new Date(2016,6,1),y:[52.83,53.48,50.32,52.29]},{x:new Date(2016,7,1),y:[52.2,54.48,51.64,52.58]},{x:new Date(2016,8,1),y:[52.76,57.35,52.15,57.03]},{x:new Date(2016,9,1),y:[57.04,58.15,48.88,56.19]},{x:new Date(2016,10,1),y:[56.09,58.85,55.48,58.79]},{x:new Date(2016,11,1),y:[58.78,59.65,58.23,59.05]},{x:new Date(2017,0,1),y:[59.37,61.11,59.35,60.34]},{x:new Date(2017,1,1),y:[60.4,60.52,56.71,56.93]},{x:new Date(2017,2,1),y:[57.02,59.71,56.04,56.82]},{x:new Date(2017,3,1),y:[56.97,59.62,54.77,59.3]},{x:new Date(2017,4,1),y:[59.11,62.29,59.1,59.85]},{x:new Date(2017,5,1),y:[59.97,60.11,55.66,58.42]},{x:new Date(2017,6,1),y:[58.34,60.93,56.75,57.42]},{x:new Date(2017,7,1),y:[57.76,58.08,51.18,54.71]},{x:new Date(2017,8,1),y:[54.8,61.42,53.18,57.35]},{x:new Date(2017,9,1),y:[57.56,63.09,57,62.99]},{x:new Date(2017,10,1),y:[62.89,63.42,59.72,61.76]},{x:new Date(2017,11,1),y:[61.71,64.15,61.29,63.04]}],g=[{x:new Date(2016,1,1),y:3.85},{x:new Date(2016,2,1),y:2.95},{x:new Date(2016,3,1),y:-12.48},{x:new Date(2016,4,1),y:19.24},{x:new Date(2016,5,1),y:12.78},{x:new Date(2016,6,1),y:22.29},{x:new Date(2016,7,1),y:-12.58},{x:new Date(2016,8,1),y:-17.03},{x:new Date(2016,9,1),y:-19.19},{x:new Date(2016,10,1),y:-28.79},{x:new Date(2016,11,1),y:-39.05},{x:new Date(2017,0,1),y:20.34},{x:new Date(2017,1,1),y:36.93},{x:new Date(2017,2,1),y:36.82},{x:new Date(2017,3,1),y:29.3},{x:new Date(2017,4,1),y:39.85},{x:new Date(2017,5,1),y:28.42},{x:new Date(2017,6,1),y:37.42},{x:new Date(2017,7,1),y:24.71},{x:new Date(2017,8,1),y:37.35},{x:new Date(2017,9,1),y:32.99},{x:new Date(2017,10,1),y:31.76},{x:new Date(2017,11,1),y:43.04}],f=(new Date(2016,1,1),new Date(2016,2,1),new Date(2016,3,1),new Date(2016,4,1),new Date(2016,5,1),new Date(2016,6,1),new Date(2016,7,1),new Date(2016,8,1),new Date(2016,9,1),new Date(2016,10,1),new Date(2016,11,1),new Date(2017,0,1),new Date(2017,1,1),new Date(2017,2,1),new Date(2017,3,1),new Date(2017,4,1),new Date(2017,5,1),new Date(2017,6,1),new Date(2017,7,1),new Date(2017,8,1),new Date(2017,9,1),new Date(2017,10,1),new Date(2017,11,1),new Date(15387786e5),new Date(15387804e5),new Date(15387822e5),new Date(1538784e6),new Date(15387858e5),new Date(15387876e5),new Date(15387894e5),new Date(15387912e5),new Date(1538793e6),new Date(15387948e5),new Date(15387966e5),new Date(15387984e5),new Date(15388002e5),new Date(1538802e6),new Date(15388038e5),new Date(15388056e5),new Date(15388074e5),new Date(15388092e5),new Date(1538811e6),new Date(15388128e5),new Date(15388146e5),new Date(15388164e5),new Date(15388182e5),new Date(153882e7),new Date(15388218e5),new Date(15388236e5),new Date(15388254e5),new Date(15388272e5),new Date(1538829e6),new Date(15388308e5),new Date(15388326e5),new Date(15388344e5),new Date(15388362e5),new Date(1538838e6),new Date(15388398e5),new Date(15388416e5),new Date(15388434e5),new Date(15388452e5),new Date(1538847e6),new Date(15388488e5),new Date(15388506e5),new Date(15388524e5),new Date(15388542e5),new Date(1538856e6),new Date(15388578e5),new Date(15388596e5),new Date(15388614e5),new Date(15388632e5),new Date(1538865e6),new Date(15388668e5),new Date(15388686e5),new Date(15388704e5),new Date(15388722e5),new Date(1538874e6),new Date(15388758e5),new Date(15388776e5),new Date(15388794e5),new Date(15388812e5),new Date(1538883e6),new Date(15388848e5),new Date(15388674e5),new Date(15388677e5),new Date(1538868e6),new Date(15388683e5),new Date(15388686e5),new Date(15388689e5),new Date(15388692e5),new Date(15388695e5),new Date(15388698e5),new Date(15388701e5),new Date(15388704e5),new Date(15388707e5),new Date(1538871e6),new Date(15388713e5),new Date(15388716e5),new Date(15388719e5),new Date(15388722e5),new Date(15388725e5),new Date(15388728e5),new Date(15388731e5),new Date(15388734e5),new Date(15388737e5),new Date(1538874e6),new Date(15388743e5),new Date(15388746e5),new Date(15388749e5),new Date(15388752e5),new Date(15388755e5),new Date(15388758e5),new Date(15388761e5),new Date(15388764e5),new Date(15388767e5),new Date(1538877e6),new Date(15388773e5),new Date(15388776e5),new Date(15388779e5),new Date(15388782e5),new Date(15388785e5),new Date(15388788e5),new Date(15388791e5),new Date(15388794e5),new Date(15388797e5),new Date(153888e7),new Date(15388803e5),new Date(15388806e5),new Date(15388809e5),new Date(15388812e5),new Date(15388815e5),new Date(15388818e5),new Date(15388821e5),new Date(15388824e5),new Date(15388827e5),new Date(1538883e6),new Date(15388833e5),new Date(15388836e5),new Date(15388839e5),new Date(15388842e5),new Date(15388845e5),new Date(15388848e5),new Date(15388851e5),new Date(15388587e5),new Date(15388596e5),new Date(15388605e5),new Date(15388614e5),new Date(15388623e5),new Date(15388632e5),new Date(15388641e5),new Date(1538865e6),new Date(15388659e5),new Date(15388668e5),new Date(15388677e5),new Date(15388686e5),new Date(15388695e5),new Date(15388704e5),new Date(15388713e5),new Date(15388722e5),new Date(15388731e5),new Date(1538874e6),new Date(15388749e5),new Date(15388758e5),new Date(15388767e5),new Date(15388776e5),new Date(15388785e5),new Date(15388794e5),new Date(15388803e5),new Date(15388812e5),new Date(15388821e5),new Date(1538883e6),new Date(15388839e5),new Date(15388848e5),new Date(1538856e6),new Date(15388569e5),new Date(15388578e5),new Date(15388587e5),new Date(15388596e5),new Date(15388605e5),new Date(15388614e5),new Date(15388623e5),new Date(15388632e5),new Date(15388641e5),new Date(1538865e6),new Date(15388659e5),new Date(15388668e5),new Date(15388677e5),new Date(15388686e5),new Date(15388695e5),new Date(15388704e5),new Date(15388713e5),new Date(15388722e5),new Date(15388731e5),new Date(1538874e6),new Date(15388749e5),new Date(15388758e5),new Date(15388767e5),new Date(15388776e5),new Date(15388785e5),new Date(15388794e5),new Date(15388803e5),new Date(15388812e5),new Date(15388821e5),{chart:{id:"candles",height:360,type:"candlestick",toolbar:{autoSelected:"pan",show:!1},zoom:{enabled:!1}},plotOptions:{candlestick:{colors:{upward:"#32b432",downward:"#e3324c"}}},series:[{data:p}],xaxis:{type:"datetime"}});new ApexCharts(a.querySelector("#crypto-demo1-candlestick"),f).render();e={chart:{height:160,type:"bar",brush:{enabled:!0,target:"candles"},selection:{enabled:!0,xaxis:{min:new Date("20 Jan 2017").getTime(),max:new Date("10 Dec 2017").getTime()},fill:{color:"#ccc",opacity:.4},stroke:{color:"#0D47A1"}}},dataLabels:{enabled:!1},plotOptions:{bar:{columnWidth:"80%",colors:{ranges:[{from:-1e3,to:0,color:"#F15B46"},{from:1,to:1e4,color:"#FEB019"}]}}},stroke:{width:0},series:[{name:"volume",data:g}],xaxis:{type:"datetime",axisBorder:{offsetX:13}},yaxis:{labels:{show:!1}}};(y=new ApexCharts(a.querySelector("#crypto-demo1-bar"),e)).render()}if(jQuery("#cryptodemo2").length>0){e={chart:{height:110,width:160,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[3],curve:"smooth",dashArray:[0,4]},colors:["#fb0792"],series:[{name:"Session Duration",data:[2,1,2,1,3,8,2,3]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#cryptodemo2"),e)).render()}if(jQuery("#cryptodemo3").length>0){e={chart:{height:110,width:160,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[3],curve:"smooth",dashArray:[0,4]},colors:["#2bcbba"],series:[{name:"Session Duration",data:[2,1,2,1,3,8,2,3]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#cryptodemo3"),e)).render()}if(jQuery("#cryptodemo4").length>0){e={chart:{height:110,width:160,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[3],curve:"smooth",dashArray:[0,4]},colors:["#45aaf2"],series:[{name:"Session Duration",data:[2,1,2,1,3,8,2,3]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#cryptodemo4"),e)).render()}if(jQuery("#cryptodemo5").length>0){e={chart:{height:110,width:160,type:"line",toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:[3],curve:"smooth",dashArray:[0,4]},colors:["#fd9644"],series:[{name:"Session Duration",data:[2,1,2,1,3,8,2,3]}],markers:{size:0,hover:{sizeOffset:6}},xaxis:{lines:{show:!1},axisBorder:{show:!1},crosshairs:{show:!1},axisTicks:{show:!1},labels:{show:!1},categories:["01 Jan","02 Jan","03 Jan","04 Jan","05 Jan","06 Jan","07 Jan","08 Jan"]},tooltip:{y:[{title:{formatter:function(e){return e+" (mins)"}}},{title:{formatter:function(e){return e+" per session"}}},{title:{formatter:function(e){return e}}}]},legend:{show:!1},grid:{show:!1,borderColor:"#f1f1f1"}};(y=new ApexCharts(a.querySelector("#cryptodemo5"),e)).render()}if(jQuery("#cryptodemo6").length>0){e={chart:{type:"area",height:266,width:410,sparkline:{enabled:!0}},stroke:{curve:"smooth",width:5,colors:["#ce83f2"]},fill:{opacity:.3,gradient:{enabled:!0,shadeIntensity:.1,inverseColors:!1,opacityFrom:1,opacityTo:.6,stops:[100,100,100,100]}},series:[{data:function(e){for(var a,t,o=e.slice(),r=o.length;0!==r;)t=Math.floor(Math.random()*r),a=o[r-=1],o[r]=o[t],o[t]=a;return o}([47,45,54,38,56,45,30,31,37,39,62,30,35,41])}],yaxis:{min:0},colors:["#8300c2"],responsive:[{breakpoint:1440,options:{chart:{type:"area",width:900,sparkline:{enabled:!0}}}}]};(y=new ApexCharts(a.querySelector("#cryptodemo6"),e)).render()}if(jQuery("#cryptodemo7").length>0){c={chart:{height:140,width:300,type:"donut"},colors:["#2bcbba","#eceef3"],labels:["Active Deal","Unconfirmed Deals"],series:[456,128],legend:{show:!1},dataLabels:{enabled:!1},plotOptions:{pie:{size:60,donut:{size:"72%"},offsetX:10,offsetY:0,dataLabels:{enabled:!1}}},responsive:[{breakpoint:400,options:{plotOptions:{pie:{offsetX:-35}}}}]};new ApexCharts(a.querySelector("#cryptodemo7"),c).render()}if(jQuery("#irregular").length>0){r=[[{date:"2014-01-01",value:2e7},{date:"2014-01-02",value:10379978},{date:"2014-01-03",value:30493749},{date:"2014-01-04",value:10785250},{date:"2014-01-05",value:33901904},{date:"2014-01-06",value:11576838},{date:"2014-01-07",value:14413854},{date:"2014-01-08",value:15177211},{date:"2014-01-09",value:16622100},{date:"2014-01-10",value:17381072},{date:"2014-01-11",value:18802310},{date:"2014-01-12",value:15531790},{date:"2014-01-13",value:15748881},{date:"2014-01-14",value:18706437},{date:"2014-01-15",value:19752685},{date:"2014-01-16",value:21016418},{date:"2014-01-17",value:25622924},{date:"2014-01-18",value:25337480},{date:"2014-01-19",value:22258882},{date:"2014-01-20",value:23829538},{date:"2014-01-21",value:24245689},{date:"2014-01-22",value:26429711},{date:"2014-01-23",value:26259017},{date:"2014-01-24",value:25396183},{date:"2014-01-25",value:23107346},{date:"2014-01-26",value:28659852},{date:"2014-01-27",value:25270783},{date:"2014-01-28",value:26270783},{date:"2014-01-29",value:27270783},{date:"2014-01-30",value:28270783},{date:"2014-01-31",value:29270783},{date:"2014-02-01",value:30270783},{date:"2014-02-02",value:31270783},{date:"2014-02-03",value:32270783},{date:"2014-02-04",value:33270783},{date:"2014-02-05",value:28270783},{date:"2014-02-06",value:27270783},{date:"2014-02-07",value:35270783},{date:"2014-02-08",value:34270783},{date:"2014-02-09",value:28270783},{date:"2014-02-10",value:35270783},{date:"2014-02-11",value:36270783},{date:"2014-02-12",value:34127078},{date:"2014-02-13",value:33124078},{date:"2014-02-14",value:36227078},{date:"2014-02-15",value:37827078},{date:"2014-02-16",value:36427073},{date:"2014-02-17",value:37570783},{date:"2014-02-18",value:38627073},{date:"2014-02-19",value:37727078},{date:"2014-02-20",value:38827073},{date:"2014-02-21",value:40927078},{date:"2014-02-22",value:41027078},{date:"2014-02-23",value:42127073},{date:"2014-02-24",value:43220783},{date:"2014-02-25",value:44327078},{date:"2014-02-26",value:40427078},{date:"2014-02-27",value:41027078},{date:"2014-02-28",value:45627078},{date:"2014-03-01",value:44727078},{date:"2014-03-02",value:44227078},{date:"2014-03-03",value:45227078},{date:"2014-03-04",value:46027078},{date:"2014-03-05",value:46927078},{date:"2014-03-06",value:47027078},{date:"2014-03-07",value:46227078},{date:"2014-03-08",value:47027078},{date:"2014-03-09",value:48027078},{date:"2014-03-10",value:47027078},{date:"2014-03-11",value:47027078},{date:"2014-03-12",value:48017078},{date:"2014-03-13",value:48077078},{date:"2014-03-14",value:48087078},{date:"2014-03-15",value:48017078},{date:"2014-03-16",value:48047078},{date:"2014-03-17",value:48067078},{date:"2014-03-18",value:48077078},{date:"2014-03-19",value:48027074},{date:"2014-03-20",value:48927079},{date:"2014-03-21",value:48727071},{date:"2014-03-22",value:48127072},{date:"2014-03-23",value:48527072},{date:"2014-03-24",value:48627027},{date:"2014-03-25",value:48027040},{date:"2014-03-26",value:48027043},{date:"2014-03-27",value:48057022},{date:"2014-03-28",value:49057022},{date:"2014-03-29",value:50057022},{date:"2014-03-30",value:51057022},{date:"2014-03-31",value:52057022},{date:"2014-04-01",value:53057022},{date:"2014-04-02",value:54057022},{date:"2014-04-03",value:52057022},{date:"2014-04-04",value:55057022},{date:"2014-04-05",value:58270783},{date:"2014-04-06",value:56270783},{date:"2014-04-07",value:55270783},{date:"2014-04-08",value:58270783},{date:"2014-04-09",value:59270783},{date:"2014-04-10",value:60270783},{date:"2014-04-11",value:61270783},{date:"2014-04-12",value:62270783},{date:"2014-04-13",value:63270783},{date:"2014-04-14",value:64270783},{date:"2014-04-15",value:65270783},{date:"2014-04-16",value:66270783},{date:"2014-04-17",value:67270783},{date:"2014-04-18",value:68270783},{date:"2014-04-19",value:69270783},{date:"2014-04-20",value:70270783},{date:"2014-04-21",value:71270783},{date:"2014-04-22",value:72270783},{date:"2014-04-23",value:73270783},{date:"2014-04-24",value:74270783},{date:"2014-04-25",value:75270783},{date:"2014-04-26",value:76660783},{date:"2014-04-27",value:77270783},{date:"2014-04-28",value:78370783},{date:"2014-04-29",value:79470783},{date:"2014-04-30",value:80170783}],[{date:"2014-01-01",value:15e7},{date:"2014-01-02",value:160379978},{date:"2014-01-03",value:170493749},{date:"2014-01-04",value:160785250},{date:"2014-01-05",value:167391904},{date:"2014-01-06",value:161576838},{date:"2014-01-07",value:161413854},{date:"2014-01-08",value:152177211},{date:"2014-01-09",value:143762210},{date:"2014-01-10",value:144381072},{date:"2014-01-11",value:154352310},{date:"2014-01-12",value:165531790},{date:"2014-01-13",value:175748881},{date:"2014-01-14",value:187064037},{date:"2014-01-15",value:197520685},{date:"2014-01-16",value:210176418},{date:"2014-01-17",value:196122924},{date:"2014-01-18",value:207337480},{date:"2014-01-19",value:200258882},{date:"2014-01-20",value:186829538},{date:"2014-01-21",value:192456897},{date:"2014-01-22",value:204299711},{date:"2014-01-23",value:192759017},{date:"2014-01-24",value:203596183},{date:"2014-01-25",value:208107346},{date:"2014-01-26",value:196359852},{date:"2014-01-27",value:192570783},{date:"2014-01-28",value:177967768},{date:"2014-01-29",value:190632803},{date:"2014-01-30",value:203725316},{date:"2014-01-31",value:218226177},{date:"2014-02-01",value:210698669},{date:"2014-02-02",value:217640656},{date:"2014-02-03",value:216142362},{date:"2014-02-04",value:201410971},{date:"2014-02-05",value:196704289},{date:"2014-02-06",value:190436945},{date:"2014-02-07",value:178891686},{date:"2014-02-08",value:171613962},{date:"2014-02-09",value:157579773},{date:"2014-02-10",value:158677098},{date:"2014-02-11",value:147129977},{date:"2014-02-12",value:151561876},{date:"2014-02-13",value:151627421},{date:"2014-02-14",value:143543872},{date:"2014-02-15",value:136581057},{date:"2014-02-16",value:135560715},{date:"2014-02-17",value:122625263},{date:"2014-02-18",value:112091484},{date:"2014-02-19",value:98810329},{date:"2014-02-20",value:99882912},{date:"2014-02-21",value:94943095},{date:"2014-02-22",value:104875743},{date:"2014-02-23",value:116383678},{date:"2014-02-24",value:125028841},{date:"2014-02-25",value:123967310},{date:"2014-02-26",value:133167029},{date:"2014-02-27",value:128577263},{date:"2014-02-28",value:115836969},{date:"2014-03-01",value:119264529},{date:"2014-03-02",value:109363374},{date:"2014-03-03",value:113985628},{date:"2014-03-04",value:114650999},{date:"2014-03-05",value:110866108},{date:"2014-03-06",value:96473454},{date:"2014-03-07",value:104075886},{date:"2014-03-08",value:103568384},{date:"2014-03-09",value:101534883},{date:"2014-03-10",value:115825447},{date:"2014-03-11",value:126133916},{date:"2014-03-12",value:116502109},{date:"2014-03-13",value:130169411},{date:"2014-03-14",value:124296886},{date:"2014-03-15",value:126347399},{date:"2014-03-16",value:131483669},{date:"2014-03-17",value:142811333},{date:"2014-03-18",value:129675396},{date:"2014-03-19",value:115514483},{date:"2014-03-20",value:117630630},{date:"2014-03-21",value:122340239},{date:"2014-03-22",value:132349091},{date:"2014-03-23",value:125613305},{date:"2014-03-24",value:135592466},{date:"2014-03-25",value:123408762},{date:"2014-03-26",value:111991454},{date:"2014-03-27",value:116123955},{date:"2014-03-28",value:112817214},{date:"2014-03-29",value:113029590},{date:"2014-03-30",value:108753398},{date:"2014-03-31",value:99383763},{date:"2014-04-01",value:100151737},{date:"2014-04-02",value:94985209},{date:"2014-04-03",value:82913669},{date:"2014-04-04",value:78748268},{date:"2014-04-05",value:63829135},{date:"2014-04-06",value:78694727},{date:"2014-04-07",value:80868994},{date:"2014-04-08",value:93799013},{date:"2014-04-09",value:99042416},{date:"2014-04-10",value:97298692},{date:"2014-04-11",value:83353499},{date:"2014-04-12",value:71248129},{date:"2014-04-13",value:75253744},{date:"2014-04-14",value:68976648},{date:"2014-04-15",value:71002284},{date:"2014-04-16",value:75052401},{date:"2014-04-17",value:83894030},{date:"2014-04-18",value:90236528},{date:"2014-04-19",value:99739114},{date:"2014-04-20",value:96407136},{date:"2014-04-21",value:108323177},{date:"2014-04-22",value:101578914},{date:"2014-04-23",value:115877608},{date:"2014-04-24",value:112088857},{date:"2014-04-25",value:112071353},{date:"2014-04-26",value:101790062},{date:"2014-04-27",value:115003761},{date:"2014-04-28",value:120457727},{date:"2014-04-29",value:118253926},{date:"2014-04-30",value:117956992}],[{date:"2014-01-01",value:5e7},{date:"2014-01-02",value:60379978},{date:"2014-01-03",value:40493749},{date:"2014-01-04",value:60785250},{date:"2014-01-05",value:67391904},{date:"2014-01-06",value:61576838},{date:"2014-01-07",value:61413854},{date:"2014-01-08",value:82177211},{date:"2014-01-09",value:103762210},{date:"2014-01-10",value:84381072},{date:"2014-01-11",value:54352310},{date:"2014-01-12",value:65531790},{date:"2014-01-13",value:75748881},{date:"2014-01-14",value:47064037},{date:"2014-01-15",value:67520685},{date:"2014-01-16",value:60176418},{date:"2014-01-17",value:66122924},{date:"2014-01-18",value:57337480},{date:"2014-01-19",value:100258882},{date:"2014-01-20",value:46829538},{date:"2014-01-21",value:92456897},{date:"2014-01-22",value:94299711},{date:"2014-01-23",value:62759017},{date:"2014-01-24",value:103596183},{date:"2014-01-25",value:108107346},{date:"2014-01-26",value:66359852},{date:"2014-01-27",value:62570783},{date:"2014-01-28",value:77967768},{date:"2014-01-29",value:60632803},{date:"2014-01-30",value:103725316},{date:"2014-01-31",value:98226177},{date:"2014-02-01",value:60698669},{date:"2014-02-02",value:67640656},{date:"2014-02-03",value:66142362},{date:"2014-02-04",value:101410971},{date:"2014-02-05",value:66704289},{date:"2014-02-06",value:60436945},{date:"2014-02-07",value:78891686},{date:"2014-02-08",value:71613962},{date:"2014-02-09",value:107579773},{date:"2014-02-10",value:58677098},{date:"2014-02-11",value:87129977},{date:"2014-02-12",value:51561876},{date:"2014-02-13",value:51627421},{date:"2014-02-14",value:83543872},{date:"2014-02-15",value:66581057},{date:"2014-02-16",value:65560715},{date:"2014-02-17",value:62625263},{date:"2014-02-18",value:92091484},{date:"2014-02-19",value:48810329},{date:"2014-02-20",value:49882912},{date:"2014-02-21",value:44943095},{date:"2014-02-22",value:104875743},{date:"2014-02-23",value:96383678},{date:"2014-02-24",value:105028841},{date:"2014-02-25",value:63967310},{date:"2014-02-26",value:63167029},{date:"2014-02-27",value:68577263},{date:"2014-02-28",value:95836969},{date:"2014-03-01",value:99264529},{date:"2014-03-02",value:109363374},{date:"2014-03-03",value:93985628},{date:"2014-03-04",value:94650999},{date:"2014-03-05",value:90866108},{date:"2014-03-06",value:46473454},{date:"2014-03-07",value:84075886},{date:"2014-03-08",value:103568384},{date:"2014-03-09",value:101534883},{date:"2014-03-10",value:95825447},{date:"2014-03-11",value:66133916},{date:"2014-03-12",value:96502109},{date:"2014-03-13",value:80169411},{date:"2014-03-14",value:84296886},{date:"2014-03-15",value:86347399},{date:"2014-03-16",value:31483669},{date:"2014-03-17",value:82811333},{date:"2014-03-18",value:89675396},{date:"2014-03-19",value:95514483},{date:"2014-03-20",value:97630630},{date:"2014-03-21",value:62340239},{date:"2014-03-22",value:62349091},{date:"2014-03-23",value:65613305},{date:"2014-03-24",value:65592466},{date:"2014-03-25",value:63408762},{date:"2014-03-26",value:91991454},{date:"2014-03-27",value:96123955},{date:"2014-03-28",value:92817214},{date:"2014-03-29",value:93029590},{date:"2014-03-30",value:108753398},{date:"2014-03-31",value:49383763},{date:"2014-04-01",value:100151737},{date:"2014-04-02",value:44985209},{date:"2014-04-03",value:52913669},{date:"2014-04-04",value:48748268},{date:"2014-04-05",value:23829135},{date:"2014-04-06",value:58694727},{date:"2014-04-07",value:50868994},{date:"2014-04-08",value:43799013},{date:"2014-04-09",value:4042416},{date:"2014-04-10",value:47298692},{date:"2014-04-11",value:53353499},{date:"2014-04-12",value:71248129},{date:"2014-04-13",value:75253744},{date:"2014-04-14",value:68976648},{date:"2014-04-15",value:71002284},{date:"2014-04-16",value:75052401},{date:"2014-04-17",value:83894030},{date:"2014-04-18",value:50236528},{date:"2014-04-19",value:59739114},{date:"2014-04-20",value:56407136},{date:"2014-04-21",value:108323177},{date:"2014-04-22",value:101578914},{date:"2014-04-23",value:95877608},{date:"2014-04-24",value:62088857},{date:"2014-04-25",value:92071353},{date:"2014-04-26",value:81790062},{date:"2014-04-27",value:105003761},{date:"2014-04-28",value:100457727},{date:"2014-04-29",value:98253926},{date:"2014-04-30",value:67956992}]];var v=13885344e5,w=(n=13886208e5,13890528e5),b=[[],[],[]];for(i=0;i<12;i++){s=[v+=864e5,r[2][i].value];b[0].push(s)}for(i=0;i<18;i++){s=[n+=864e5,r[1][i].value];b[1].push(s)}for(i=0;i<12;i++){s=[w+=864e5,r[0][i].value];b[2].push(s)}var y;e={chart:{type:"area",stacked:!1,height:350,zoom:{enabled:!1}},plotOptions:{line:{curve:"smooth"}},dataLabels:{enabled:!1},series:[{name:"PRODUCT A",data:b[0]},{name:"PRODUCT B",data:b[1]},{name:"PRODUCT C",data:b[2]}],markers:{size:0,style:"full"},fill:{gradient:{enabled:!0,shadeIntensity:1,inverseColors:!1,opacityFrom:.45,opacityTo:.05,stops:[20,100,100,100]}},yaxis:{labels:{style:{color:"#8e8da4"},offsetX:0,formatter:function(e){return(e/1e6).toFixed(2)}},axisBorder:{show:!1},axisTicks:{show:!1}},xaxis:{type:"datetime",tickAmount:8,min:new Date("01/01/2014").getTime(),max:new Date("01/20/2014").getTime(),labels:{rotate:-15,rotateAlways:!0,formatter:function(e,a){return moment(new Date(a)).format("DD MMM YYYY")}}},title:{text:"Irregular Data in Time Series",align:"left",offsetX:14},tooltip:{shared:!0},legend:{position:"top",horizontalAlign:"right",offsetX:-10}};(y=new ApexCharts(a.querySelector("#irregular"),e)).render()}}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".autonumber").length>0&&(new AutoNumeric("#Spanish","Spanish"),new AutoNumeric("#NorthAmerican","NorthAmerican"),new AutoNumeric("#British","British"),new AutoNumeric("#Swiss","Swiss"),new AutoNumeric("#Japanese","Japanese"),new AutoNumeric("#Chinese","Chinese"),new AutoNumeric("#Brazilian","Brazilian"),new AutoNumeric("#Turkish","Turkish"),new AutoNumeric("#DecimalCharCommaSeparator","dotDecimalCharCommaSeparator"),new AutoNumeric("#commaDecimalCharDotSeparator","commaDecimalCharDotSeparator"),new AutoNumeric("#integer","integer"),new AutoNumeric("#integerPos","integerPos"),new AutoNumeric("#integerNeg","integerNeg"),new AutoNumeric("#float","float"),new AutoNumeric("#floatPos","floatPos"),new AutoNumeric("#floatNeg","floatNeg"),new AutoNumeric("#numeric","numeric"),new AutoNumeric("#numericPos","numericPos"),new AutoNumeric("#numericNeg","numericNeg"),new AutoNumeric("#euro","euro"),new AutoNumeric("#euroPos","euroPos"),new AutoNumeric("#euroNeg","euroNeg"),new AutoNumeric("#euroSpace","euroSpace"),new AutoNumeric("#euroSpacePos","euroSpacePos"),new AutoNumeric("#euroSpaceNeg","euroSpaceNeg"),new AutoNumeric("#dollar","dollar"),new AutoNumeric("#dollarPos","dollarPos"),new AutoNumeric("#dollarNeg","dollarNeg"),new AutoNumeric("#percentageEU2dec","percentageEU2dec"),new AutoNumeric("#percentageEU2decPos","percentageEU2decPos"),new AutoNumeric("#percentageEU2decNeg","percentageEU2decNeg"),new AutoNumeric("#percentageUS2dec","percentageUS2dec"),new AutoNumeric("#percentageUS3decPos","percentageUS3decPos"),new AutoNumeric("#percentageUS3decNeg","percentageUS3decNeg"))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".custom-file-input").length>0&&bsCustomFileInput.init()})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".c3chart-wrapper").length>0){if(jQuery("#c3demo1").length>0)c3.generate({bindto:"#c3demo1",data:{columns:[["data1",30,200,100,400,150,250],["data2",50,20,10,40,15,25]],colors:{data1:"#8E54E9",data2:"#4776E6"}}});if(jQuery("#c3demo2").length>0)c3.generate({bindto:"#c3demo2",data:{columns:[["data1",300,350,300,0,0,0],["data2",130,100,140,200,150,50]],colors:{data1:"#8E54E9",data2:"#4776E6"},types:{data1:"area",data2:"area-spline"}}});if(jQuery("#c3demo3").length>0)c3.generate({bindto:"#c3demo3",data:{columns:[["data1",30,200,100,400,150,250],["data2",130,100,140,200,150,50],["data3",130,150,200,300,200,100]],colors:{data1:"#8E54E9",data2:"#4776E6",data3:"#ffbc1d"},type:"bar"},bar:{width:{ratio:.5}}});if(jQuery("#c3demo4").length>0)c3.generate({bindto:"#c3demo4",data:{columns:[["data1",-30,200,200,400,-150,250],["data2",130,100,-100,200,-150,50],["data3",-230,200,200,-300,250,250],["data4",100,-50,150,200,-300,-100]],type:"bar",colors:{data1:"#8E54E9",data2:"#4776E6",data3:"#ffbc1d",data4:"#25d09a"},groups:[["data1","data2","data3","data4"]]},grid:{y:{lines:[{value:0}]}}});if(jQuery("#c3demo5").length>0)c3.generate({bindto:"#c3demo5",data:{columns:[["setosa",.2,.2,.2,.2,.2,.4,.3,.2,.2,.1,.2,.2,.1,.1,.2,.4,.4,.3,.3,.3,.2,.4,.2,.5,.2,.2,.4,.2,.2,.2,.2,.4,.1,.2,.2,.2,.2,.1,.2,.2,.3,.3,.2,.6,.4,.3,.2,.2,.2,.2],["versicolor",1.4,1.5,1.5,1.3,1.5,1.3,1.6,1,1.3,1.4,1,1.5,1,1.4,1.3,1.4,1.5,1,1.5,1.1,1.8,1.3,1.5,1.2,1.3,1.4,1.4,1.7,1.5,1,1.1,1,1.2,1.6,1.5,1.6,1.5,1.3,1.3,1.3,1.2,1.4,1.2,1,1.3,1.2,1.3,1.3,1.1,1.3],["virginica",2.5,1.9,2.1,1.8,2.2,2.1,1.7,1.8,1.8,2.5,2,1.9,2.1,2,2.4,2.3,1.8,2.2,2.3,1.5,2.3,2,2,1.8,2.1,1.8,1.8,1.8,2.1,1.6,1.9,2,2.2,1.5,1.4,2.3,2.4,1.8,1.8,2.1,2.4,2.3,1.9,2.3,2.5,2.3,1.9,2,2.3,1.8]],colors:{setosa:"#8E54E9",versicolor:"#4776E6",virginica:"#ffbc1d"},type:"pie"}});if(jQuery("#c3demo6").length>0)c3.generate({bindto:"#c3demo6",data:{columns:[["desktop",.2,.2,.2,.2,.2,.4,.3,.2,.2,.1,.2,.2,.1,.1,.2,.4,.4,.3,.3,.3,.2,.4,.2,.5,.2,.2,.4,.2,.2,.2,.2,.4,.1,.2,.2,.2,.2,.1,.2,.2,.3,.3,.2,.6,.4,.3,.2,.2,.2,.2],["tablet",1.4,1.5,1.5,1.3,1.5,1.3,1.6,1,1.3,1.4,1,1.5,1,1.4,1.3,1.4,1.5,1,1.5,1.1,1.8,1.3,1.5,1.2,1.3,1.4,1.4,1.7,1.5,1,1.1,1,1.2,1.6,1.5,1.6,1.5,1.3,1.3,1.3,1.2,1.4,1.2,1,1.3,1.2,1.3,1.3,1.1,1.3],["mobile",2.5,1.9,2.1,1.8,2.2,2.1,1.7,1.8,1.8,2.5,2,1.9,2.1,2,2.4,2.3,1.8,2.2,2.3,1.5,2.3,2,2,1.8,2.1,1.8,1.8,1.8,2.1,1.6,1.9,2,2.2,1.5,1.4,2.3,2.4,1.8,1.8,2.1,2.4,2.3,1.9,2.3,2.5,2.3,1.9,2,2.3,1.8]],colors:{desktop:"#8E54E9",tablet:"#4776E6",mobile:"#ffbc1d"},type:"donut"},donut:{title:"Browser Statistic"}})}})}(window,document,window.jQuery,document.ready),function(e,a,t,o){t(function(){if(jQuery(".chartist-wrapper").length>0){if(jQuery("#chartistdemo1").length>0&&new Chartist.Line(".ct-chart-line",{labels:["Monday","Tuesday","Wednesday","Thursday","Friday"],series:[[12,9,7,8,5],[2,1,3.5,7,3],[1,3,4,5,6]]},{fullWidth:!0,chartPadding:{right:30,left:0},axisY:{offset:30}}),jQuery("#chartistdemo2").length>0&&new Chartist.Line(".ct-chart-area",{labels:[1,2,3,4,5,6,7,8],series:[[5,9,7,8,5,3,5,4]]},{low:0,showArea:!0,fullWidth:!0,axisY:{offset:20},chartPadding:{right:10,left:0}}),jQuery("#chartistdemo3").length>0){var e={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],series:[[6,4,8,7,6,4,8,7,6,4,8,7],[4,3,7,6.5,4,3,7,6.5,4,3,7,6.5],[8,3,1,6,8,3,1,6,8,3,1,6]]},a={seriesBarDistance:20,axisY:{offset:20,scaleMinSpace:15}};new Chartist.Bar(".ct-chart-bar",e,a,[["screen and (max-width: 640px)",{seriesBarDistance:0,axisX:{labelInterpolationFnc:function(e){return e[0]}}}]])}if(jQuery("#chartistdemo4").length>0&&new Chartist.Bar(".ct-chart-stacked",{labels:["Q1","Q2","Q3","Q4"],series:[[8e5,12e5,14e5,13e5],[2e5,4e5,5e5,3e5],[1e5,2e5,4e5,6e5]]},{stackBars:!0,axisY:{labelInterpolationFnc:function(e){return e/1e3+"k"}}}).on("draw",function(e){"bar"===e.type&&e.element.attr({style:"stroke-width: 30px"})}),jQuery("#chartistdemo5").length>0&&new Chartist.Bar(".ct-chart-horizontalbar",{labels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],series:[[5,4,3,7,5,10,3],[3,2,9,5,4,6,4]]},{seriesBarDistance:10,reverseData:!0,horizontalBars:!0,axisY:{offset:50},chartPadding:{right:20,left:0}}),jQuery("#chartistdemo6").length>0){e={series:[4,3,4,3,2]};var t=function(e,a){return e+a};new Chartist.Pie(".ct-chart-pie",e,{labelInterpolationFnc:function(a){return Math.round(a/e.series.reduce(t)*100)+"%"}})}if(jQuery("#chartistdemo7").length>0&&new Chartist.Pie(".ct-chart-donut",{series:[20,10,30,40]},{donut:!0,donutWidth:60,donutSolid:!0,startAngle:270,showLabel:!0}),jQuery("#chartistdemo8").length>0&&new Chartist.Pie(".ct-chart-gauge",{series:[20,10,30,40]},{donut:!0,donutWidth:60,donutSolid:!0,startAngle:270,total:200,showLabel:!0}),jQuery("#analytical1").length>0){e={series:[[6,-5,7,-6,4,-3]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical1",e,a)}if(jQuery("#analytical2").length>0){e={series:[[4,-7,6,-3,5,-2]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical2",e,a)}if(jQuery("#analytical3").length>0){e={series:[[6,-3,5,-7,2,-4]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical3",e,a)}if(jQuery("#analytical4").length>0){e={series:[[5,-3,6,-8,3,-5]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical4",e,a)}if(jQuery("#analytical5").length>0){e={series:[[3,-5,2,-6,7,-3]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical5",e,a)}if(jQuery("#analytical6").length>0){e={series:[[7,-4,6,-3,8,-2]]},a={high:10,low:-10,seriesBarDistance:10,fullWidth:!0,showLabel:!1,chartPadding:0,axisX:{showGrid:!1,showLabel:!1,offset:0},axisY:{showGrid:!1,showLabel:!1,offset:0}};new Chartist.Bar("#analytical6",e,a)}}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){var o,r,n,l,i;if(jQuery(".chartjs-wrapper").length>0){e.chartColors={red:"rgb(233, 84, 84)",orange:"rgb(253, 153, 68)",yellow:"rgb(255, 188, 29)",green:"rgb(37, 208, 154)",blue:"rgb(71, 118, 230)",purple:"rgb(142, 84, 233)",grey:"rgb(148, 148, 148)"},r=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["#4dc9f6","#f67019","#f53794","#537bc4","#acc236","#166a8f","#00a950","#58595b","#8549ba"],l=(o=this).Samples||(o.Samples={}),i=o.Color,l.utils={srand:function(e){this._seed=e},rand:function(e,a){var t=this._seed;return e=void 0===e?0:e,a=void 0===a?1:a,this._seed=(9301*t+49297)%233280,e+this._seed/233280*(a-e)},numbers:function(e){var a,t,o=e||{},r=o.min||0,n=o.max||1,l=o.from||[],i=o.count||8,s=o.decimals||8,d=o.continuity||1,c=Math.pow(10,s)||0,u=[];for(a=0;a0){var d={type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"Facebook",borderColor:e.chartColors.blue,backgroundColor:e.chartColors.blue,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Twitter",borderColor:e.chartColors.green,backgroundColor:e.chartColors.green,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"LinkedIn",borderColor:e.chartColors.purple,backgroundColor:e.chartColors.purple,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Google+",borderColor:e.chartColors.yellow,backgroundColor:e.chartColors.yellow,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]}]},options:{responsive:!0,maintainAspectRatio:!1,title:{display:!1,text:"Line Chart - Stacked Area"},tooltips:{mode:"index"},hover:{mode:"index"},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{scaleLabel:{display:!1,labelString:"Month",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12,stepSize:1,beginAtZero:!0}}],yAxes:[{stacked:!0,scaleLabel:{display:!1,labelString:"Price",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}},c=a.getElementById("chartjsdemo1").getContext("2d");e.myLine1=new Chart(c,d)}if(jQuery("#chartjsdemo2").length>0){var u={type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"Unfilled",fill:!1,backgroundColor:e.chartColors.yellow,borderColor:e.chartColors.yellow,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Dashed",fill:!1,backgroundColor:e.chartColors.blue,borderColor:e.chartColors.blue,borderDash:[5,5],data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Filled",backgroundColor:e.chartColors.purple,borderColor:e.chartColors.purple,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],fill:!0}]},options:{responsive:!0,maintainAspectRatio:!1,title:{display:!1,text:"Line Chart - Line styles"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Month",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12,stepSize:1,beginAtZero:!0}}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Value",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}},h=a.getElementById("chartjsdemo2").getContext("2d");e.myLine2=new Chart(h,u)}if(jQuery("#chartjsdemo3").length>0){var m={type:"doughnut",data:{datasets:[{data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],backgroundColor:[e.chartColors.red,e.chartColors.purple,e.chartColors.yellow,e.chartColors.green,e.chartColors.blue],label:"Dataset 1"}],labels:["Red","Purple","Yellow","Green","Blue"]},options:{responsive:!0,maintainAspectRatio:!1,legend:{position:"bottom",labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},title:{display:!1,text:"Doughnut Chart"},animation:{animateScale:!0,animateRotate:!0}}},p=a.getElementById("chartjsdemo3").getContext("2d");e.myLine3=new Chart(p,m)}if(jQuery("#chartjsdemo4").length>0){var g="MM/DD/YYYY HH:mm";function f(e){return moment().add(e,"d").format(g)}var v=Chart.helpers.color,w={type:"bar",data:{labels:[f(0),f(1),f(2),f(3),f(4),f(5),f(6)],datasets:[{type:"bar",label:"Dataset 1",backgroundColor:v(e.chartColors.purple).alpha(1).rgbString(),borderColor:e.chartColors.purple,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{type:"bar",label:"Dataset 2",backgroundColor:v(e.chartColors.blue).alpha(1).rgbString(),borderColor:e.chartColors.blue,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{type:"line",label:"Dataset 3",backgroundColor:v(e.chartColors.yellow).alpha(1).rgbString(),borderColor:e.chartColors.yellow,fill:!1,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]}]},options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Combo Time Scale"},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{type:"time",display:!0,time:{format:g},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}],yAxes:[{ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}},b=a.getElementById("chartjsdemo4").getContext("2d");e.myLine4=new Chart(b,w)}if(jQuery("#chartjsdemo5").length>0){var y=a.getElementById("chartjsdemo5");new Chart(y,{type:"line",data:s,options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Custom Tooltips using Data Points"},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},tooltips:{enabled:!1,mode:"index",intersect:!1,custom:function(e){t(this._chart.canvas).css("cursor","pointer");var a=this._chart.canvas.offsetTop,o=this._chart.canvas.offsetLeft;t(".chartjs-tooltip").css({opacity:0}),e&&e.opacity&&e.dataPoints.length>0&&e.dataPoints.forEach(function(e){var r=[e.xLabel,e.yLabel].join(": "),n=t("#tooltip-"+e.datasetIndex);n.html(r),n.css({opacity:1,top:a+e.y+"px",left:o+e.x+"px"})})}},scales:{xAxes:[{ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}],yAxes:[{ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}})}if(jQuery("#chartjsdemo6").length>0){var x={type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:e.chartColors.purple,borderColor:e.chartColors.purple,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],fill:!1},{label:"My Second dataset",fill:!1,backgroundColor:e.chartColors.blue,borderColor:e.chartColors.blue,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]}]},options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Line Chart - Basic"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Month",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Value",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}},C=a.getElementById("chartjsdemo6").getContext("2d");e.myLine6=new Chart(C,x)}if(jQuery("#chartjsdemo7").length>0){var S={type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"dataset - big points",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],backgroundColor:e.chartColors.purple,borderColor:e.chartColors.purple,fill:!1,borderDash:[5,5],pointRadius:15,pointHoverRadius:10},{label:"dataset - individual point sizes",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],backgroundColor:e.chartColors.blue,borderColor:e.chartColors.blue,fill:!1,borderDash:[5,5],pointRadius:[2,4,6,18,0,12,20]},{label:"dataset - large pointHoverRadius",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],backgroundColor:e.chartColors.green,borderColor:e.chartColors.green,fill:!1,pointHoverRadius:30},{label:"dataset - large pointHitRadius",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],backgroundColor:e.chartColors.yellow,borderColor:e.chartColors.yellow,fill:!1,pointHitRadius:20}]},options:{maintainAspectRatio:!1,responsive:!0,hover:{mode:"index"},legend:{position:"bottom",labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Month",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Value",fontColor:v(e.chartColors.grey).alpha(1).rgbString(),fontFamily:"Roboto",fontSize:14},ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]},title:{display:!1,text:"Line Chart - Different point sizes"}}},k=a.getElementById("chartjsdemo7").getContext("2d");e.myLine7=new Chart(k,S)}if(jQuery("#chartjsdemo8").length>0){var D={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",backgroundColor:e.chartColors.purple,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Dataset 2",backgroundColor:e.chartColors.blue,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{label:"Dataset 3",backgroundColor:e.chartColors.yellow,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]}]},F=a.getElementById("chartjsdemo8").getContext("2d");e.myBar=new Chart(F,{type:"bar",data:D,options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Bar Chart - Stacked"},tooltips:{mode:"index",intersect:!1},legend:{labels:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}},scales:{xAxes:[{stacked:!0,ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}],yAxes:[{stacked:!0,ticks:{fontColor:v(e.chartColors.grey).alpha(.8).rgbString(),fontFamily:"Roboto",fontSize:12}}]}}})}}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(t(".comingsoon").length>0){let e=new Date("dec 30, 2019 00:00:00").getTime();setInterval(function(){let t=(new Date).getTime(),o=e-t;a.getElementById("days").innerText=Math.floor(o/864e5),a.getElementById("hours").innerText=Math.floor(o%864e5/36e5),a.getElementById("minutes").innerText=Math.floor(o%36e5/6e4),a.getElementById("seconds").innerText=Math.floor(o%6e4/1e3)},1e3)}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".datatable-wrapper").length>0&&t("#datatable").DataTable({bLengthChange:!1,searching:!1,bPaginate:!0,bSortable:!0})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){t(".date-picker-default").datepicker({format:"mm-dd-yyyy",autoclose:!0,orientation:"bottom",templates:{leftArrow:'',rightArrow:''}}),t(".display-years").datepicker({autoclose:!0,orientation:"bottom",templates:{leftArrow:'',rightArrow:''}}),t(".display-months").datepicker({format:"mm-dd",autoclose:!0,orientation:"bottom",templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-inline").datepicker({todayHighlight:!0,autoclose:!0,orientation:"bottom",templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-action").datepicker({todayBtn:"linked",clearBtn:!0,autoclose:!0,todayHighlight:!0,orientation:"bottom",templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-top-left").datepicker({orientation:"top left",todayHighlight:!0,autoclose:!0,templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-top-right").datepicker({orientation:"top right",todayHighlight:!0,autoclose:!0,templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-bottom-left").datepicker({orientation:"bottom left",todayHighlight:!0,autoclose:!0,templates:{leftArrow:'',rightArrow:''}}),t("#datepicker-bottom-right").datepicker({orientation:"bottom right",todayHighlight:!0,autoclose:!0,templates:{leftArrow:'',rightArrow:''}});var e=t(".range-from").datepicker({onRender:function(e){return e.valueOf()a.date.valueOf()){var r=new Date(o.date);r.setDate(r.getDate()+1),a.setValue(r)}e.hide(),t(".range-to")[0].focus()}).data("datepicker"),a=t(".range-to").datepicker({onRender:function(a){return a.valueOf()<=e.date.valueOf()?"disabled":""}}).on("changeDate",function(e){a.hide()}).data("datepicker")})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".duallistbox").length>0&&t("#duallistbox").bootstrapDualListbox({nonSelectedListLabel:"Non-selected",selectedListLabel:"Selected",preserveSelectionOnMove:"moved",moveOnSelect:!1})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery("#tableedit").length>0&&t("#tableedit").Tabledit({deleteButton:!1,saveButton:!1,autoFocus:!1,buttons:{edit:{class:"btn btn-sm btn-primary",html:'   EDIT',action:"edit"}},columns:{identifier:[0,"id"],editable:[[1,"car"],[2,"color"]]}})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".event-calendar").length>0&&(t("#external-events .fc-event").each(function(){t(this).data("event",{title:t.trim(t(this).text()),stick:!0,className:t(this).data("color")}),t(this).draggable({zIndex:999,revert:!0,revertDuration:0})}),t("#event-calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},editable:!0,droppable:!0,drop:function(){t("#drop-remove").is(":checked")&&t(this).remove()},events:[{title:"Simple Event",start:"2019-02-22",end:"2019-02-25",className:"fc-event-danger"},{title:"Google",url:"https://www.google.com/",start:"2019-02-18",className:"fc-event-success"},{title:"Family Vacation",start:"2019-02-14",end:"2019-02-18",className:"fc-event-primary"}]}))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".event-list-calendar").length>0&&t("#event-list-calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"listDay,listWeek,month"},views:{listDay:{buttonText:"list day"},listWeek:{buttonText:"list week"}},height:650,defaultView:"listWeek",defaultDate:"2018-09-12",navLinks:!0,editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2018-09-01"},{title:"Long Event",start:"2018-09-07",end:"2018-09-10"},{id:999,title:"Repeating Event",start:"2018-09-09T16:00:00"},{id:999,title:"Repeating Event",start:"2018-09-16T16:00:00"},{title:"Conference",start:"2018-09-11",end:"2018-09-13"},{title:"Meeting",start:"2018-09-12T10:30:00",end:"2018-09-12T12:30:00"},{title:"Lunch",start:"2018-09-12T12:00:00"},{title:"Meeting",start:"2018-09-12T14:30:00"},{title:"Happy Hour",start:"2018-09-12T17:30:00"},{title:"Dinner",start:"2018-09-12T20:00:00"},{title:"Birthday Party",start:"2018-09-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2018-09-28"}]})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".export-table-wrapper").length>0&&(t("#exportExcel").on("click",function(){t("#export-table").tableExport({type:"excel"})}),t("#exportCSV").on("click",function(){t("#export-table").tableExport({type:"csv"})}))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".flot-chart-wrapper").length>0){for(var e=[],a=0;a<=10;a+=1)e.push([a,parseInt(30*Math.random())]);var o=[];for(a=0;a<=10;a+=1)o.push([a,parseInt(30*Math.random())]);var r=[];for(a=0;a<=10;a+=1)r.push([a,parseInt(30*Math.random())]);var n=0,l=!0,i=!1,s=!1;t.plot("#flot-stacked",[e,o,r],{grid:{borderWidth:0,labelMargin:5,axisMargin:0,minBorderMargin:0},series:{stack:n,lines:{show:i,fill:!0,steps:s},bars:{show:l,barWidth:.6,align:"center"}},colors:["#4776E6","#8E54E9","#fbaf54"]});var d=[],c=300;function u(){for(d.length>0&&(d=d.slice(1));d.length0?d[d.length-1]:50)+10*Math.random()-5;e<0?e=0:e>100&&(e=100),d.push(e)}for(var a=[],t=0;t2e3&&(h=2e3),t(this).val(""+h))});var m=t.plot("#flot-real-time",[u()],{grid:{borderWidth:0,labelMargin:0,axisMargin:0,minBorderMargin:0},series:{shadowSize:0},colors:[" #8E54E9"],yaxis:{min:0,max:100},xaxis:{show:!1}});!function e(){m.setData([u()]),m.draw(),setTimeout(e,h)}(),t("#footer").prepend("Flot "+t.plot.version+" – ");var p={usa:{label:"USA",data:[[1988,483994],[1989,479060],[1990,457648],[1991,401949],[1992,424705],[1993,402375],[1994,377867],[1995,357382],[1996,337946],[1997,336185],[1998,328611],[1999,329421],[2e3,342172],[2001,344932],[2002,387303],[2003,440813],[2004,480451],[2005,504638],[2006,528692]]},russia:{label:"Russia",data:[[1988,218e3],[1989,203e3],[1990,171e3],[1992,42500],[1993,37600],[1994,36600],[1995,21700],[1996,19200],[1997,21300],[1998,13600],[1999,14e3],[2e3,19100],[2001,21300],[2002,23600],[2003,25100],[2004,26100],[2005,31100],[2006,34700]]},uk:{label:"UK",data:[[1988,62982],[1989,62027],[1990,60696],[1991,62348],[1992,58560],[1993,56393],[1994,54579],[1995,50818],[1996,50554],[1997,48276],[1998,47691],[1999,47529],[2e3,47778],[2001,48760],[2002,50949],[2003,57452],[2004,60234],[2005,60076],[2006,59213]]},germany:{label:"Germany",data:[[1988,55627],[1989,55475],[1990,58464],[1991,55134],[1992,52436],[1993,47139],[1994,43962],[1995,43238],[1996,42395],[1997,40854],[1998,40993],[1999,41822],[2e3,41147],[2001,40474],[2002,40604],[2003,40044],[2004,38816],[2005,38060],[2006,36984]]},denmark:{label:"Denmark",data:[[1988,3813],[1989,3719],[1990,3722],[1991,3789],[1992,3720],[1993,3730],[1994,3636],[1995,3598],[1996,3610],[1997,3655],[1998,3695],[1999,3673],[2e3,3553],[2001,3774],[2002,3728],[2003,3618],[2004,3638],[2005,3467],[2006,3770]]},sweden:{label:"Sweden",data:[[1988,6402],[1989,6474],[1990,6605],[1991,6209],[1992,6035],[1993,6020],[1994,6e3],[1995,6018],[1996,3958],[1997,5780],[1998,5954],[1999,6178],[2e3,6411],[2001,5993],[2002,5833],[2003,5791],[2004,5450],[2005,5521],[2006,5271]]},norway:{label:"Norway",data:[[1988,4382],[1989,4498],[1990,4535],[1991,4398],[1992,4766],[1993,4441],[1994,4670],[1995,4217],[1996,4275],[1997,4203],[1998,4482],[1999,4506],[2e3,4358],[2001,4385],[2002,5269],[2003,5066],[2004,5194],[2005,4887],[2006,4891]]}};a=0;t.each(p,function(e,t){t.color=a,++a});var g=t("#flot-series-toggle");function f(){var e=[];g.find("input:checked").each(function(){var a=t(this).attr("name");a&&p[a]&&e.push(p[a])}),e.length>0&&t.plot("#flot-series-toggle",e,{grid:{borderWidth:0,labelMargin:10,axisMargin:0,minBorderMargin:0},colors:["#f7b731","#fd9644","#32b432","#8E54E9","#4776E6","#e3324c","#fb0792"],yaxis:{min:0},xaxis:{tickDecimals:0}})}t.each(p,function(e,a){g.append("
")}),g.find("input").click(f),f(),t("#footer").prepend("Flot "+t.plot.version+" – ");var v=[[11676924e5,61.05],[11677788e5,58.32],[11678652e5,57.35],[11679516e5,56.31],[11682108e5,55.55],[11682972e5,55.64],[11683836e5,54.02],[116847e7,51.88],[11685564e5,52.99],[11688156e5,52.99],[1168902e6,51.21],[11689884e5,52.24],[11690748e5,50.48],[11691612e5,51.99],[11694204e5,51.13],[11695068e5,55.04],[11695932e5,55.37],[11696796e5,54.23],[1169766e6,55.42],[11700252e5,54.01],[11701116e5,56.97],[1170198e6,58.14],[11702844e5,58.14],[11703708e5,59.02],[117063e7,58.74],[11707164e5,58.88],[11708028e5,57.71],[11708892e5,59.71],[11709756e5,59.89],[11712348e5,57.81],[11713212e5,59.06],[11714076e5,58],[1171494e6,57.99],[11715804e5,59.39],[11718396e5,59.39],[1171926e6,58.07],[11720124e5,60.07],[11720988e5,61.14],[11724444e5,61.39],[11725308e5,61.46],[11726172e5,61.79],[11727036e5,62],[117279e7,60.07],[11731356e5,60.69],[1173222e6,61.82],[11733084e5,60.05],[1173654e6,58.91],[11737404e5,57.93],[11738268e5,58.16],[11739132e5,57.55],[11739996e5,57.11],[11742588e5,56.59],[11743452e5,59.61],[1174518e6,61.69],[11746044e5,62.28],[117486e7,62.91],[11749464e5,62.93],[11750328e5,64.03],[11751192e5,66.03],[11752056e5,65.87],[11754648e5,64.64],[11756376e5,64.38],[1175724e6,64.28],[11758104e5,64.28],[11760696e5,61.51],[1176156e6,61.89],[11762424e5,62.01],[11763288e5,63.85],[11764152e5,63.63],[11766744e5,63.61],[11767608e5,63.1],[11768472e5,63.13],[11769336e5,61.83],[117702e7,63.38],[11772792e5,64.58],[1177452e6,65.84],[11775384e5,65.06],[11776248e5,66.46],[1177884e6,64.4],[11780568e5,63.68],[11781432e5,63.19],[11782296e5,61.93],[11784888e5,61.47],[11785752e5,61.55],[1178748e6,61.81],[11788344e5,62.37],[11790936e5,62.46],[117918e7,63.17],[11792664e5,62.55],[11793528e5,64.94],[11796984e5,66.27],[11797848e5,65.5],[11798712e5,65.77],[11799576e5,64.18],[1180044e6,65.2],[11803896e5,63.15],[1180476e6,63.49],[11805624e5,65.08],[1180908e6,66.3],[11809944e5,65.96],[11811672e5,66.93],[11812536e5,65.98],[11815992e5,65.35],[11816856e5,66.26],[11818584e5,68],[11821176e5,69.09],[1182204e6,69.1],[11822904e5,68.19],[11823768e5,68.19],[11824632e5,69.14],[11827224e5,68.19],[11828088e5,67.77],[11828952e5,68.97],[11829816e5,69.57],[1183068e6,70.68],[11833272e5,71.09],[11834136e5,70.92],[11835864e5,71.81],[11836728e5,72.81],[1183932e6,72.19],[11840184e5,72.56],[11841912e5,72.5],[11842776e5,74.15],[11846232e5,75.05],[1184796e6,75.92],[11848824e5,75.57],[11851416e5,74.89],[1185228e6,73.56],[11853144e5,75.57],[11854008e5,74.95],[11854872e5,76.83],[11858328e5,78.21],[11859192e5,76.53],[11860056e5,76.86],[1186092e6,76],[11864376e5,71.59],[11866968e5,71.47],[1186956e6,71.62],[11870424e5,71],[11873016e5,71.98],[11875608e5,71.12],[11876472e5,69.47],[11877336e5,69.26],[118782e7,69.83],[11879064e5,71.09],[11881656e5,71.73],[11883384e5,73.36],[11885112e5,74.04],[11888568e5,76.3],[1189116e6,77.49],[11894616e5,78.23],[1189548e6,79.91],[11896344e5,80.09],[11897208e5,79.1],[118998e7,80.57],[11900664e5,81.93],[11902392e5,83.32],[11903256e5,81.62],[11905848e5,80.95],[11906712e5,79.53],[11907576e5,80.3],[1190844e6,82.88],[11909304e5,81.66],[11911896e5,80.24],[1191276e6,80.05],[11913624e5,79.94],[11914488e5,81.44],[11915352e5,81.22],[11917944e5,79.02],[11918808e5,80.26],[11919672e5,80.3],[11920536e5,83.08],[119214e7,83.69],[11923992e5,86.13],[11924856e5,87.61],[1192572e6,87.4],[11926584e5,89.47],[11927448e5,88.6],[1193004e6,87.56],[11930904e5,87.56],[11931768e5,87.1],[11932632e5,91.86],[11936124e5,93.53],[11936988e5,94.53],[11938716e5,95.93],[11942172e5,93.98],[11943036e5,96.37],[11944764e5,95.46],[11945628e5,96.32],[11950812e5,93.43],[11951676e5,95.1],[11954268e5,94.64],[11955132e5,95.1],[11960316e5,97.7],[1196118e6,94.42],[11962044e5,90.62],[11962908e5,91.01],[11963772e5,88.71],[11966364e5,88.32],[11968092e5,90.23],[1196982e6,88.28],[11972412e5,87.86],[11973276e5,90.02],[1197414e6,92.25],[11975868e5,90.63],[1197846e6,90.63],[11979324e5,90.49],[11980188e5,91.24],[11981052e5,91.06],[11981916e5,90.49],[119871e7,96.62],[11987964e5,96],[1199142e6,99.62],[11993148e5,99.18],[11994012e5,95.09],[11996604e5,96.33],[11998332e5,95.67],[12003516e5,91.9],[1200438e6,90.84],[12005244e5,90.13],[12006108e5,90.57],[12009564e5,89.21],[12010428e5,86.99],[12011292e5,89.85],[12014748e5,90.99],[12015612e5,91.64],[12016476e5,92.33],[1201734e6,91.75],[12020796e5,90.02],[1202166e6,88.41],[12022524e5,87.14],[12023388e5,88.11],[12024252e5,91.77],[12027708e5,92.78],[12028572e5,93.27],[12029436e5,95.46],[120303e7,95.46],[12032892e5,101.74],[1203462e6,98.81],[1203894e6,100.88],[12040668e5,99.64],[12041532e5,102.59],[12042396e5,101.84],[12044988e5,99.52],[12045852e5,99.52],[12046716e5,104.52],[1204758e6,105.47],[12048444e5,105.15],[12051036e5,108.75],[12052764e5,109.92],[12053628e5,110.33],[12054492e5,110.21],[12057084e5,105.68],[12059676e5,101.84],[12063132e5,100.86],[12063996e5,101.22],[1206486e6,105.9],[12065724e5,107.58],[12066588e5,105.62],[12069144e5,101.58],[12070008e5,100.98],[12071736e5,103.83],[120726e7,106.23],[12076056e5,108.5],[12077784e5,110.11],[12078648e5,110.14],[12082104e5,113.79],[12082968e5,114.93],[12083832e5,114.86],[12087288e5,117.48],[12088152e5,118.3],[1208988e6,116.06],[12090744e5,118.52],[12093336e5,118.75],[120942e7,113.46],[12095928e5,112.52],[12100248e5,121.84],[12101112e5,123.53],[12101976e5,123.69],[12105432e5,124.23],[12106296e5,125.8],[1210716e6,126.29],[1211148e6,127.05],[12113208e5,129.07],[12114936e5,132.19],[12118392e5,128.85],[12123576e5,127.76],[12127032e5,138.54],[12129624e5,136.8],[12131352e5,136.38],[1213308e6,134.86],[12136536e5,134.01],[121374e7,136.68],[12139128e5,135.65],[1214172e6,134.62],[12142584e5,134.62],[12143448e5,134.62],[12144312e5,139.64],[12145176e5,140.21],[12147768e5,140],[12148632e5,140.97],[12149496e5,143.57],[1215036e6,145.29],[12153816e5,141.37],[1215468e6,136.04],[12157272e5,146.4],[12159864e5,145.18],[12160728e5,138.74],[12161592e5,134.6],[12162456e5,129.29],[1216332e6,130.65],[12166776e5,127.95],[12168504e5,127.95],[12172824e5,122.19],[12174552e5,124.08],[12175416e5,125.1],[12178008e5,121.41],[12178872e5,119.17],[12179736e5,118.58],[121806e7,120.02],[12184056e5,114.45],[1218492e6,113.01],[12185784e5,116],[12187512e5,113.77],[12190104e5,112.87],[12190968e5,114.53],[12192696e5,114.98],[1219356e6,114.98],[12197016e5,116.27],[1219788e6,118.15],[12198744e5,115.59],[12199608e5,115.46],[12203064e5,109.71],[12203928e5,109.35],[12205656e5,106.23],[12208248e5,106.34]],w=[[1167606e6,.758],[11676924e5,.758],[11677788e5,.7547],[11678652e5,.7549],[11679516e5,.7613],[1168038e6,.7655],[11681244e5,.7693],[11682108e5,.7694],[11682972e5,.7688],[11683836e5,.7678],[116847e7,.7708],[11685564e5,.7727],[11686428e5,.7749],[11687292e5,.7741],[11688156e5,.7741],[1168902e6,.7732],[11689884e5,.7727],[11690748e5,.7737],[11691612e5,.7724],[11692476e5,.7712],[1169334e6,.772],[11694204e5,.7721],[11695068e5,.7717],[11695932e5,.7704],[11696796e5,.769],[1169766e6,.7711],[11698524e5,.774],[11699388e5,.7745],[11700252e5,.7745],[11701116e5,.774],[1170198e6,.7716],[11702844e5,.7713],[11703708e5,.7678],[11704572e5,.7688],[11705436e5,.7718],[117063e7,.7718],[11707164e5,.7728],[11708028e5,.7729],[11708892e5,.7698],[11709756e5,.7685],[1171062e6,.7681],[11711484e5,.769],[11712348e5,.769],[11713212e5,.7698],[11714076e5,.7699],[1171494e6,.7651],[11715804e5,.7613],[11716668e5,.7616],[11717532e5,.7614],[11718396e5,.7614],[1171926e6,.7607],[11720124e5,.7602],[11720988e5,.7611],[11721852e5,.7622],[11722716e5,.7615],[1172358e6,.7598],[11724444e5,.7598],[11725308e5,.7592],[11726172e5,.7573],[11727036e5,.7566],[117279e7,.7567],[11728764e5,.7591],[11729628e5,.7582],[11730492e5,.7585],[11731356e5,.7613],[1173222e6,.7631],[11733084e5,.7615],[11733948e5,.76],[11734812e5,.7613],[11735676e5,.7627],[1173654e6,.7627],[11737404e5,.7608],[11738268e5,.7583],[11739132e5,.7575],[11739996e5,.7562],[1174086e6,.752],[11741724e5,.7512],[11742588e5,.7512],[11743452e5,.7517],[11744316e5,.752],[1174518e6,.7511],[11746044e5,.748],[11746908e5,.7509],[11747772e5,.7531],[117486e7,.7531],[11749464e5,.7527],[11750328e5,.7498],[11751192e5,.7493],[11752056e5,.7504],[1175292e6,.75],[11753784e5,.7491],[11754648e5,.7491],[11755512e5,.7485],[11756376e5,.7484],[1175724e6,.7492],[11758104e5,.7471],[11758968e5,.7459],[11759832e5,.7477],[11760696e5,.7477],[1176156e6,.7483],[11762424e5,.7458],[11763288e5,.7448],[11764152e5,.743],[11765016e5,.7399],[1176588e6,.7395],[11766744e5,.7395],[11767608e5,.7378],[11768472e5,.7382],[11769336e5,.7362],[117702e7,.7355],[11771064e5,.7348],[11771928e5,.7361],[11772792e5,.7361],[11773656e5,.7365],[1177452e6,.7362],[11775384e5,.7331],[11776248e5,.7339],[11777112e5,.7344],[11777976e5,.7327],[1177884e6,.7327],[11779704e5,.7336],[11780568e5,.7333],[11781432e5,.7359],[11782296e5,.7359],[1178316e6,.7372],[11784024e5,.736],[11784888e5,.736],[11785752e5,.735],[11786616e5,.7365],[1178748e6,.7384],[11788344e5,.7395],[11789208e5,.7413],[11790072e5,.7397],[11790936e5,.7396],[117918e7,.7385],[11792664e5,.7378],[11793528e5,.7366],[11794392e5,.74],[11795256e5,.7411],[1179612e6,.7406],[11796984e5,.7405],[11797848e5,.7414],[11798712e5,.7431],[11799576e5,.7431],[1180044e6,.7438],[11801304e5,.7443],[11802168e5,.7443],[11803032e5,.7443],[11803896e5,.7434],[1180476e6,.7429],[11805624e5,.7442],[11806488e5,.744],[11807352e5,.7439],[11808216e5,.7437],[1180908e6,.7437],[11809944e5,.7429],[11810808e5,.7403],[11811672e5,.7399],[11812536e5,.7418],[118134e7,.7468],[11814264e5,.748],[11815128e5,.748],[11815992e5,.749],[11816856e5,.7494],[1181772e6,.7522],[11818584e5,.7515],[11819448e5,.7502],[11820312e5,.7472],[11821176e5,.7472],[1182204e6,.7462],[11822904e5,.7455],[11823768e5,.7449],[11824632e5,.7467],[11825496e5,.7458],[1182636e6,.7427],[11827224e5,.7427],[11828088e5,.743],[11828952e5,.7429],[11829816e5,.744],[1183068e6,.743],[11831544e5,.7422],[11832408e5,.7388],[11833272e5,.7388],[11834136e5,.7369],[11835e8,.7345],[11835864e5,.7345],[11836728e5,.7345],[11837592e5,.7352],[11838456e5,.7341],[1183932e6,.7341],[11840184e5,.734],[11841048e5,.7324],[11841912e5,.7272],[11842776e5,.7264],[1184364e6,.7255],[11844504e5,.7258],[11845368e5,.7258],[11846232e5,.7256],[11847096e5,.7257],[1184796e6,.7247],[11848824e5,.7243],[11849688e5,.7244],[11850552e5,.7235],[11851416e5,.7235],[1185228e6,.7235],[11853144e5,.7235],[11854008e5,.7262],[11854872e5,.7288],[11855736e5,.7301],[118566e7,.7337],[11857464e5,.7337],[11858328e5,.7324],[11859192e5,.7297],[11860056e5,.7317],[1186092e6,.7315],[11861784e5,.7288],[11862648e5,.7263],[11863512e5,.7263],[11864376e5,.7242],[1186524e6,.7253],[11866104e5,.7264],[11866968e5,.727],[11867832e5,.7312],[11868696e5,.7305],[1186956e6,.7305],[11870424e5,.7318],[11871288e5,.7358],[11872152e5,.7409],[11873016e5,.7454],[1187388e6,.7437],[11874744e5,.7424],[11875608e5,.7424],[11876472e5,.7415],[11877336e5,.7419],[118782e7,.7414],[11879064e5,.7377],[11879928e5,.7355],[11880792e5,.7315],[11881656e5,.7315],[1188252e6,.732],[11883384e5,.7332],[11884248e5,.7346],[11885112e5,.7328],[11885976e5,.7323],[1188684e6,.734],[11887704e5,.734],[11888568e5,.7336],[11889432e5,.7351],[11890296e5,.7346],[1189116e6,.7321],[11892024e5,.7294],[11892888e5,.7266],[11893752e5,.7266],[11894616e5,.7254],[1189548e6,.7242],[11896344e5,.7213],[11897208e5,.7197],[11898072e5,.7209],[11898936e5,.721],[118998e7,.721],[11900664e5,.721],[11901528e5,.7209],[11902392e5,.7159],[11903256e5,.7133],[1190412e6,.7105],[11904984e5,.7099],[11905848e5,.7099],[11906712e5,.7093],[11907576e5,.7093],[1190844e6,.7076],[11909304e5,.707],[11910168e5,.7049],[11911032e5,.7012],[11911896e5,.7011],[1191276e6,.7019],[11913624e5,.7046],[11914488e5,.7063],[11915352e5,.7089],[11916216e5,.7077],[1191708e6,.7077],[11917944e5,.7077],[11918808e5,.7091],[11919672e5,.7118],[11920536e5,.7079],[119214e7,.7053],[11922264e5,.705],[11923128e5,.7055],[11923992e5,.7055],[11924856e5,.7045],[1192572e6,.7051],[11926584e5,.7051],[11927448e5,.7017],[11928312e5,.7],[11929176e5,.6995],[1193004e6,.6994],[11930904e5,.7014],[11931768e5,.7036],[11932632e5,.7021],[11933496e5,.7002],[1193436e6,.6967],[11935224e5,.695],[11936124e5,.695],[11936988e5,.6939],[11937852e5,.694],[11938716e5,.6922],[1193958e6,.6919],[11940444e5,.6914],[11941308e5,.6894],[11942172e5,.6891],[11943036e5,.6904],[119439e7,.689],[11944764e5,.6834],[11945628e5,.6823],[11946492e5,.6807],[11947356e5,.6815],[1194822e6,.6815],[11949084e5,.6847],[11949948e5,.6859],[11950812e5,.6822],[11951676e5,.6827],[1195254e6,.6837],[11953404e5,.6823],[11954268e5,.6822],[11955132e5,.6822],[11955996e5,.6792],[1195686e6,.6746],[11957724e5,.6735],[11958588e5,.6731],[11959452e5,.6742],[11960316e5,.6744],[1196118e6,.6739],[11962044e5,.6731],[11962908e5,.6761],[11963772e5,.6761],[11964636e5,.6785],[119655e7,.6818],[11966364e5,.6836],[11967228e5,.6823],[11968092e5,.6805],[11968956e5,.6793],[1196982e6,.6849],[11970684e5,.6833],[11971548e5,.6825],[11972412e5,.6825],[11973276e5,.6816],[1197414e6,.6799],[11975004e5,.6813],[11975868e5,.6809],[11976732e5,.6868],[11977596e5,.6933],[1197846e6,.6933],[11979324e5,.6945],[11980188e5,.6944],[11981052e5,.6946],[11981916e5,.6964],[1198278e6,.6965],[11983644e5,.6956],[11984508e5,.6956],[11985372e5,.695],[11986236e5,.6948],[119871e7,.6928],[11987964e5,.6887],[11988828e5,.6824],[11989692e5,.6794],[11990556e5,.6794],[1199142e6,.6803],[11992284e5,.6855],[11993148e5,.6824],[11994012e5,.6791],[11994876e5,.6783],[1199574e6,.6785],[11996604e5,.6785],[11997468e5,.6797],[11998332e5,.68],[11999196e5,.6803],[1200006e6,.6805],[12000924e5,.676],[12001788e5,.677],[12002652e5,.677],[12003516e5,.6736],[1200438e6,.6726],[12005244e5,.6764],[12006108e5,.6821],[12006972e5,.6831],[12007836e5,.6842],[120087e7,.6842],[12009564e5,.6887],[12010428e5,.6903],[12011292e5,.6848],[12012156e5,.6824],[1201302e6,.6788],[12013884e5,.6814],[12014748e5,.6814],[12015612e5,.6797],[12016476e5,.6769],[1201734e6,.6765],[12018204e5,.6733],[12019068e5,.6729],[12019932e5,.6758],[12020796e5,.6758],[1202166e6,.675],[12022524e5,.678],[12023388e5,.6833],[12024252e5,.6856],[12025116e5,.6903],[1202598e6,.6896],[12026844e5,.6896],[12027708e5,.6882],[12028572e5,.6879],[12029436e5,.6862],[120303e7,.6852],[12031164e5,.6823],[12032028e5,.6813],[12032892e5,.6813],[12033756e5,.6822],[1203462e6,.6802],[12035484e5,.6802],[12036348e5,.6784],[12037212e5,.6748],[12038076e5,.6747],[1203894e6,.6747],[12039804e5,.6748],[12040668e5,.6733],[12041532e5,.665],[12042396e5,.6611],[1204326e6,.6583],[12044124e5,.659],[12044988e5,.659],[12045852e5,.6581],[12046716e5,.6578],[1204758e6,.6574],[12048444e5,.6532],[12049308e5,.6502],[12050172e5,.6514],[12051036e5,.6514],[120519e7,.6507],[12052764e5,.651],[12053628e5,.6489],[12054492e5,.6424],[12055356e5,.6406],[1205622e6,.6382],[12057084e5,.6382],[12057948e5,.6341],[12058812e5,.6344],[12059676e5,.6378],[1206054e6,.6439],[12061404e5,.6478],[12062268e5,.6481],[12063132e5,.6481],[12063996e5,.6494],[1206486e6,.6438],[12065724e5,.6377],[12066588e5,.6329],[12067452e5,.6336],[12068316e5,.6333],[12069144e5,.6333],[12070008e5,.633],[12070872e5,.6371],[12071736e5,.6403],[120726e7,.6396],[12073464e5,.6364],[12074328e5,.6356],[12075192e5,.6356],[12076056e5,.6368],[1207692e6,.6357],[12077784e5,.6354],[12078648e5,.632],[12079512e5,.6332],[12080376e5,.6328],[1208124e6,.6331],[12082104e5,.6342],[12082968e5,.6321],[12083832e5,.6302],[12084696e5,.6278],[1208556e6,.6308],[12086424e5,.6324],[12087288e5,.6324],[12088152e5,.6307],[12089016e5,.6277],[1208988e6,.6269],[12090744e5,.6335],[12091608e5,.6392],[12092472e5,.64],[12093336e5,.6401],[120942e7,.6396],[12095064e5,.6407],[12095928e5,.6423],[12096792e5,.6429],[12097656e5,.6472],[1209852e6,.6485],[12099384e5,.6486],[12100248e5,.6467],[12101112e5,.6444],[12101976e5,.6467],[1210284e6,.6509],[12103704e5,.6478],[12104568e5,.6461],[12105432e5,.6461],[12106296e5,.6468],[1210716e6,.6449],[12108024e5,.647],[12108888e5,.6461],[12109752e5,.6452],[12110616e5,.6422],[1211148e6,.6422],[12112344e5,.6425],[12113208e5,.6414],[12114072e5,.6366],[12114936e5,.6346],[121158e7,.635],[12116664e5,.6346],[12117528e5,.6346],[12118392e5,.6343],[12119256e5,.6346],[1212012e6,.6379],[12120984e5,.6416],[12121848e5,.6442],[12122712e5,.6431],[12123576e5,.6431],[1212444e6,.6435],[12125304e5,.644],[12126168e5,.6473],[12127032e5,.6469],[12127896e5,.6386],[1212876e6,.6356],[12129624e5,.634],[12130488e5,.6346],[12131352e5,.643],[12132216e5,.6452],[1213308e6,.6467],[12133944e5,.6506],[12134808e5,.6504],[12135672e5,.6503],[12136536e5,.6481],[121374e7,.6451],[12138264e5,.645],[12139128e5,.6441],[12139992e5,.6414],[12140856e5,.6409],[1214172e6,.6409],[12142584e5,.6428],[12143448e5,.6431],[12144312e5,.6418],[12145176e5,.6371],[1214604e6,.6349],[12146904e5,.6333],[12147768e5,.6334],[12148632e5,.6338],[12149496e5,.6342],[1215036e6,.632],[12151224e5,.6318],[12152088e5,.637],[12152952e5,.6368],[12153816e5,.6368],[1215468e6,.6383],[12155544e5,.6371],[12156408e5,.6371],[12157272e5,.6355],[12158136e5,.632],[12159e8,.6277],[12159864e5,.6276],[12160728e5,.6291],[12161592e5,.6274],[12162456e5,.6293],[1216332e6,.6311],[12164184e5,.631],[12165048e5,.6312],[12165912e5,.6312],[12166776e5,.6304],[1216764e6,.6294],[12168504e5,.6348],[12169368e5,.6378],[12170232e5,.6368],[12171096e5,.6368],[1217196e6,.6368],[12172824e5,.636],[12173688e5,.637],[12174552e5,.6418],[12175416e5,.6411],[1217628e6,.6435],[12177144e5,.6427],[12178008e5,.6427],[12178872e5,.6419],[12179736e5,.6446],[121806e7,.6468],[12181464e5,.6487],[12182328e5,.6594],[12183192e5,.6666],[12184056e5,.6666],[1218492e6,.6678],[12185784e5,.6712],[12186648e5,.6705],[12187512e5,.6718],[12188376e5,.6784],[1218924e6,.6811],[12190104e5,.6811],[12190968e5,.6794],[12191832e5,.6804],[12192696e5,.6781],[1219356e6,.6756],[12194424e5,.6735],[12195288e5,.6763],[12196152e5,.6762],[12197016e5,.6777],[1219788e6,.6815],[12198744e5,.6802],[12199608e5,.678],[12200472e5,.6796],[12201336e5,.6817],[122022e7,.6817],[12203064e5,.6832],[12203928e5,.6877],[12204792e5,.6912],[12205656e5,.6914],[1220652e6,.7009],[12207384e5,.7012],[12208248e5,.701],[12209112e5,.7005]];function b(e,a){return e.toFixed(a.tickDecimals)+"€"}function y(e){t.plot("#flot-axes",[{data:v,label:"Oil price ($)"},{data:w,label:"USD/EUR exchange rate",yaxis:2}],{grid:{borderWidth:0,labelMargin:10,axisMargin:0,minBorderMargin:0},colors:["#8E54E9","#32b432"],xaxes:[{mode:"time"}],yaxes:[{min:0},{alignTicksWithAxis:"right"==e?1:null,position:e,tickFormatter:b}],legend:{position:"sw"}})}y("right"),t("button").click(function(){y(t(this).text())}),t("#footer").prepend("Flot "+t.plot.version+" – ")}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".gmap").length>0){var e=t("#address");e.length>0&&(t(e),new GMaps({div:"#address",lat:-12.043333,lng:-77.028333}));var a,o=t("#events");if(o.length>0){t(o);new GMaps({div:"#events",zoom:16,lat:-12.043333,lng:-77.028333,click:function(e){alert("click")},dragend:function(e){alert("dragend")}})}if((a=t("#marker")).length>0){t(a);var r=new GMaps({div:"#marker",zoom:16,lat:-12.043333,lng:-77.028333});r.addMarker({lat:-12.043333,lng:-77.03,title:"Lima",details:{database_id:42,author:"HPNeo"},click:function(e){console.log&&console.log(e),alert("You clicked in this marker")}}),r.addMarker({lat:-12.042,lng:-77.028333,title:"Marker with InfoWindow",infoWindow:{content:"

HTML Content

"}})}if((a=t("#polygon")).length>0){t(a);var n=new GMaps({div:"#polygon",zoom:16,lat:-12.043333,lng:-77.028333});polygon1=n.drawPolygon({paths:[[-12.040397656836609,-77.03373871559225],[-12.040248585302038,-77.03993927003302],[-12.050047116528843,-77.02448169303511],[-12.044804866577001,-77.02154422636042]],strokeColor:"#BBD8E9",strokeOpacity:1,strokeWeight:3,fillColor:"#BBD8E9",fillOpacity:.6})}}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".jqueryknob-wrapper").length>0&&t(".knob").knob({change:function(e){},release:function(e){console.log("release : "+e)},cancel:function(){console.log("cancel : ",this)},draw:function(){if("tron"==this.$.data("skin")){this.cursorExt=.3;var e,a=this.arc(this.cv);return this.g.lineWidth=this.lineWidth,this.o.displayPrevious&&(e=this.arc(this.v),this.g.beginPath(),this.g.strokeStyle=this.pColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,e.s,e.e,e.d),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,a.s,a.e,a.d),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".vectormap-wrapper").length>0){var e=jQuery("#world");if(e.length>0){function a(e){return e.replace(/[<>]/g,function(e){switch(e){case"<":return"<";case">":return">"}})}var t={mo:a('
MO
'),fl:a('
FL
'),or:a('
OR
')};jQuery(e).vectorMap({map:"world_en",backgroundColor:"#ffff",pins:t,pinMode:"content",showTooltip:!0,hoverColor:"#8E54E9",borderColor:"#fff",selectedColor:["#8E54E9"],color:"#eceef3",selectedRegions:["US","AU","IN","GR"],onRegionClick:function(e){e.preventDefault()}})}var o=jQuery("#australia");o.length>0&&jQuery(o).vectorMap({map:"australia_en",backgroundColor:"#fff",selectedColor:"#fbaf54",borderColor:"#fff",hoverColor:"#fbaf54",color:"#e8edf1"});var r=jQuery("#africa");r.length>0&&jQuery(r).vectorMap({map:"africa_en",backgroundColor:"#fff",selectedColor:"#32b432",borderColor:"#fff",hoverColor:"#32b432",color:"#e8edf1"});var n=jQuery("#usa");n.length>0&&jQuery(n).vectorMap({map:"usa_en",backgroundColor:"#fff",selectedColor:"#8E54E9",hoverColor:"#8E54E9",borderColor:"#fff",color:"#e8edf1"});var l=jQuery("#canada");l.length>0&&jQuery(l).vectorMap({map:"canada_en",backgroundColor:"#fff",selectedColor:"#fd9644",hoverColor:"#fd9644",borderColor:"#fff",color:"#e8edf1"});var i=jQuery("#russia");i.length>0&&jQuery(i).vectorMap({map:"russia_en",backgroundColor:"#fff",selectedColor:"#e3324c",hoverColor:"#e3324c",borderColor:"#fff",color:"#e8edf1",zoom:5});var s=jQuery("#brazil");s.length>0&&jQuery(s).vectorMap({map:"brazil_br",backgroundColor:"#fff",selectedColor:"#20bf6b",hoverColor:"#20bf6b",borderColor:"#fff",color:"#e8edf1"})}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".magnific-wrapper").length>0&&(t(".view").magnificPopup({type:"image"}),t(a).ready(function(){t(".view2").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1})}),t(".view1").magnificPopup({type:"image",gallery:{enabled:!0}}))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){var e=jQuery(".mapaelmap-wrapper");e.length>0&&t(e).mapael({map:{name:"world_countries"}})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".morris-wrapper").length>0){var e=jQuery("#morrisdemo1");e.length>0&&Morris.Line({element:e,data:[{y:"2006",a:40,b:30},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:60,b:50}],xkey:"y",ykeys:["a","b"],labels:["Series A","Series B"],lineColors:["#4776E6","#8E54E9"],resize:!0,padding:20,grid:!1,gridTextFamily:"Roboto",gridTextSize:10});var a=jQuery("#morrisdemo2");a.length>0&&Morris.Area({element:a,data:[{y:"2006",a:40,b:30},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:60,b:50}],xkey:"y",ykeys:["a","b"],labels:["Series A","Series B"],lineColors:["#4776E6","#8E54E9"],resize:!0,fillOpacity:.4,padding:20,grid:!1,gridTextFamily:"Roboto",gridTextSize:10});var t=jQuery("#morrisdemo3");t.length>0&&Morris.Bar({element:t,data:[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:100,b:90}],xkey:"y",ykeys:["a","b"],labels:["Series A","Series B"],barColors:["#4776E6","#8E54E9"],resize:!0,fillOpacity:.4,padding:15,grid:!1,gridTextFamily:"Roboto",gridTextSize:10});var o=jQuery("#morrisdemo4");o.length>0&&Morris.Donut({element:o,data:[{label:"Direct Visits",value:12},{label:"Redirect Visits",value:30},{label:"Referral Visits",value:20}],colors:["#45aaf2","#e3324c","#fbaf54"]});var r=jQuery("#morrisdemo5");r.length>0&&Morris.Bar({element:r,data:[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:100,b:90}],xkey:"y",ykeys:["a","b"],labels:["Series A","Series B"],barColors:["#4776E6","#8E54E9"],resize:!0,fillOpacity:.4,padding:15,grid:!1,gridTextFamily:"Roboto",gridTextSize:10,stacked:!0});var n=jQuery("#morrisecommerce1");n.length>0&&Morris.Donut({element:n,data:[{label:"Total sales",value:680},{label:"Open campaign",value:800},{label:"Daily sales",value:500}],colors:["#45aaf2","#8E54E9","#eceef3"]});var l=jQuery("#cardealer1");l.length>0&&Morris.Donut({element:l,data:[{label:"New cars",value:680},{label:"Used cars",value:800}],colors:["#f7b731","#2bcbba"]})}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".nestable-wrapper").length>0){var a=function(a){var o=a.length?a:t(a.target),r=o.data("output");e.JSON?r.val(e.JSON.stringify(o.nestable("serialize"))):r.val("JSON browser support required for this demo.")};t("#nestable").nestable({group:1}).on("change",a),t("#nestable2").nestable({group:1}).on("change",a),a(t("#nestable").data("output",t("#nestable-output"))),a(t("#nestable2").data("output",t("#nestable2-output"))),t("#nestable-menu").on("click",function(e){var a=t(e.target).data("action");"expand-all"===a&&t(".dd").nestable("expandAll"),"collapse-all"===a&&t(".dd").nestable("collapseAll")})}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".owl-wrapper").length>0&&t(".owl-carousel").each(function(){var e=t(this),a=e.data("items")?e.data("items"):1,o=!e.attr("data-loop")||e.data("loop"),r=!!e.data("nav-dots")&&e.data("nav-dots"),n=!!e.data("nav-arrow")&&e.data("nav-arrow"),l=!e.attr("data-autoplay")||e.data("autoplay"),i=e.attr("data-autospeed")?e.data("autospeed"):5e3,s=e.attr("data-smartspeed")?e.data("smartspeed"):1e3,d=!!e.data("autoheight")&&e.data("autoheight"),c=e.attr("data-space")?e.data("space"):30;t(this).owlCarousel({loop:o,items:a,responsive:{0:{items:e.data("xx-items")?e.data("xx-items"):1},480:{items:e.data("xs-items")?e.data("xs-items"):1},768:{items:e.data("sm-items")?e.data("sm-items"):2},980:{items:e.data("md-items")?e.data("md-items"):3},1200:{items:e.data("lg-items")?e.data("lg-items"):4},1400:{items:e.data("xl-items")?e.data("lg-items"):5}},dots:r,autoplayTimeout:i,smartSpeed:s,autoHeight:d,margin:c,nav:n,navText:["",""],autoplay:l,autoplayHoverPause:!0})})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".popover-wrapper").length>0&&t('[data-toggle="popover"]').popover()})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".loader").fadeOut("slow")})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".quill-editor").length>0)new Quill("#editor",{modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}]]},theme:"snow"})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".rangeslider-wrapper").length>0){t("#slider-1").ionRangeSlider(),t("#slider-2").ionRangeSlider({min:100,max:1e3,from:550}),t("#slider-3").ionRangeSlider({type:"double",grid:!0,min:0,max:1e3,from:200,to:800,prefix:"$"}),t("#slider-4").ionRangeSlider({type:"double",grid:!0,min:-1e3,max:1e3,from:-500,to:500}),t("#slider-5").ionRangeSlider({type:"double",grid:!0,min:-1e3,max:1e3,from:-500,to:500,step:250}),t("#slider-6").ionRangeSlider({type:"double",grid:!0,min:-12.8,max:12.8,from:-3.2,to:3.2,step:.1}),t("#slider-7").ionRangeSlider({type:"double",grid:!0,from:1,to:5,values:[0,10,100,1e3,1e4,1e5,1e6]}),t("#slider-8").ionRangeSlider({grid:!0,from:5,values:["zero","one","two","three","four","five","six","seven","eight","nine","ten"]}),t("#slider-9").ionRangeSlider({grid:!0,from:3,values:["January","February","March","April","May","June","July","August","September","October","November","December"]}),t("#slider-10").ionRangeSlider({grid:!0,min:1e3,max:1e6,from:1e5,step:1e3,prettify_enabled:!1}),t("#slider-11").ionRangeSlider({grid:!0,min:1e3,max:1e6,from:2e5,step:1e3,prettify_enabled:!0}),t("#slider-12").ionRangeSlider({grid:!0,min:1e3,max:1e6,from:3e5,step:1e3,prettify_enabled:!0,prettify_separator:"."}),t("#slider-13").ionRangeSlider({grid:!0,min:1e3,max:1e6,from:4e5,step:1e3,prettify_enabled:!0,prettify:function(e){return(Math.random()*e).toFixed(0)}}),t("#slider-14").ionRangeSlider({type:"double",grid:!0,min:0,max:1e4,from:1e3,step:9e3,prefix:"$"}),t("#slider-15").ionRangeSlider({type:"single",grid:!0,min:-90,max:90,from:0,postfix:"°"}),t("#slider-16").ionRangeSlider({grid:!0,min:18,max:70,from:30,prefix:"Age ",max_postfix:"+"}),t("#slider-17").ionRangeSlider({type:"double",min:100,max:200,from:145,to:155,prefix:"Weight: ",postfix:" million pounds",decorate_both:!0});var e=t(".js-update-43");t("#slider-inter_1").ionRangeSlider({type:"single",min:0,max:100,from:50,keyboard:!0,onStart:function(e){console.log("onStart")},onChange:function(e){console.log("onChange")},onFinish:function(e){console.log("onFinish")},onUpdate:function(e){console.log("onUpdate")}});var a=t("#slider-inter_1").data("ionRangeSlider");e.on("click",function(){a.update({from:10})})}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".scrollbar").length>0&&(t(".scroll_dark").mCustomScrollbar({theme:"minimal-dark",setHeight:!1,mouseWheel:{normalizeDelta:!0,scrollAmount:"200px",contentTouchScroll:!0,deltaFactor:"200px"},advanced:{autoScrollOnFocus:"a[tabindex]"}}),t(".scroll_light").mCustomScrollbar({theme:"minimal",setHeight:!1,mouseWheel:{normalizeDelta:!0,scrollAmount:"200px",contentTouchScroll:!0,eltaFactor:"200px"},advanced:{autoScrollOnFocus:"a[tabindex]"}}))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".select-wrapper").length>0&&(t(".js-basic-single").select2(),t(".js-basic-multiple").select2(),t(".bs-select-1").val(),t(".bs-input").tagsinput("items"))})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".sidebar-nav").length>0&&t("#sidebarNav").metisMenu()})}(window,document,window.jQuery),function(e,a,t,o){t(function(){if(jQuery(".sparkline-wrapper").length>0){function e(){var e=jQuery("#sparklinedemo1");e.length>0&&(t(e).sparkline([20,30,25,40,40,50,56,37,50],{type:"line",width:"100%",height:"200",lineWidth:2,spotRadius:0,chartRangeMax:50,lineColor:"rgba(71, 118, 230, 0.5)",fillColor:"rgba(71, 118, 230, 0.3)",highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)"}),t(e).sparkline([10,35,30,60,50,45,30,24,30],{type:"line",width:"100%",height:"200",lineWidth:2,spotRadius:0,chartRangeMax:40,lineColor:"rgba(142, 84, 233, 0.5)",fillColor:"rgba(142, 84, 233, 0.3)",composite:!0,highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)"}));var a=jQuery("#sparklinedemo2");a.length>0&&(t(a).sparkline([20,30,25,40,40,50,56,37,50],{type:"line",width:"100%",height:"200",lineWidth:2,spotRadius:0,chartRangeMax:50,lineColor:"rgba(71, 118, 230, 1)",fillColor:"transparent",highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)"}),t(a).sparkline([10,35,30,60,50,45,30,24,30],{type:"line",width:"100%",height:"200",lineWidth:2,spotRadius:0,chartRangeMax:40,lineColor:"rgba(142, 84, 233, 1)",fillColor:"transparent",composite:!0,highlightLineColor:"rgba(0,0,0,1)",highlightSpotColor:"rgba(0,0,0,1)"}));var o=jQuery("#sparklinedemo3");o.length>0&&t(o).sparkline([5,8,6,7,3,5,6,8,2,8,5,10,11,10,1,6,5,7,8,10,8,12,7,9,5,6,10,7,8,5,6,8,5,9,3,7,1,6,4,8,4,9,10,13,7,8,6,4,11,5,6,4,7,10,4,7,4,9],{type:"bar",height:"200",barWidth:"10",barSpacing:"3",barColor:"#4776E6"});var r=jQuery("#sparklinedemo4");r.length>0&&(t(r).sparkline([5,8,6,7,3,5,6,8,4,8,5,10,11,10,5,6,5,7,8,10],{type:"line",width:"100%",height:"200",lineColor:"rgba(142, 84, 233, 0.5)",fillColor:"rgba(142, 84, 233, 0.3)",highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)"}),t(r).sparkline([5,8,6,7,3,5,6,8,2,8,5,10,11,10,5,6,5,7,8,10],{type:"bar",height:"200",barWidth:"10",barSpacing:"5",composite:!0,barColor:"#4776E6"}));var n=jQuery("#sparklinedemo5");n.length>0&&t(n).sparkline([40,30,20,10],{type:"pie",width:"200",height:"165",sliceColors:["#4776E6","#8E54E9","#ffbc1d","#25d09a"]})}var a;e(),$window.resize(function(t){clearTimeout(a),a=setTimeout(function(){e()},300)})}})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".summernote").length>0&&t("#summernote").summernote({tabsize:2,height:250})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){t("#sweetalert-01").click(function(e){swal({text:"Any fool can use a computer",showCloseButton:!1,showCancelButton:!0})}),t("#sweetalert-02").click(function(e){swal("The Internet?","That thing is still around?","question")}),t("#sweetalert-03").click(function(e){swal({type:"error",title:"Oops...",text:"Something went wrong!",footer:"Why do I have this issue?"})}),t("#sweetalert-04").click(function(e){swal({imageUrl:"assets/img/widget/06.jpg",imageHeight:596,imageAlt:"A tall image"})}),t("#sweetalert-05").click(function(e){swal({title:"HTML example",type:"info",html:'You can use bold text, links and other HTML tags',showCloseButton:!0,showCancelButton:!0,focusConfirm:!1,confirmButtonText:' Great!',confirmButtonAriaLabel:"Thumbs up, great!",cancelButtonText:'',cancelButtonAriaLabel:"Thumbs down",confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"})}),t("#sweetalert-06").click(function(e){swal({position:"top-end",type:"success",title:"Your work has been saved",showConfirmButton:!1,timer:1500})}),t("#sweetalert-07").click(function(e){swal({title:"Custom animation with Animate.css",animation:!1,customClass:"animated tada"})}),t("#sweetalert-08").click(function(e){swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete it!",confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(e=>{e.value&&swal("Deleted!","Your file has been deleted.","success")})}),t("#sweetalert-09").click(function(e){swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete it!",cancelButtonText:"No, cancel!",confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger",buttonsStyling:!0,reverseButtons:!0}).then(e=>{e.value?swal("Deleted!","Your file has been deleted.","success"):e.dismiss===swal.DismissReason.cancel&&swal("Cancelled","Your imaginary file is safe :)","error")})}),t("#sweetalert-10").click(function(e){swal({title:"Sweet!",text:"Modal with a custom image.",imageUrl:"https://unsplash.it/400/200",imageWidth:400,imageHeight:200,imageAlt:"Custom image",animation:!1})}),t("#sweetalert-11").click(function(e){swal({title:"Custom width, padding, background.",width:600,padding:100,background:"#fff url(../images/trees.png)",backdrop:'\n rgba(0,0,123,0.4)\n url("/images/nyan-cat.gif")\n center left\n no-repeat\n'})}),t("#sweetalert-12").click(function(e){swal({title:"Auto close alert!",text:"I will close in 5 seconds.",timer:5e3,onOpen:()=>{swal.showLoading()}}).then(e=>{e.dismiss===swal.DismissReason.timer&&console.log("I was closed by the timer")})}),t("#sweetalert-13").click(function(e){swal({title:"هل تريد الاستمرار؟",confirmButtonText:"نعم",cancelButtonText:"لا",showCancelButton:!0,showCloseButton:!0,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger",target:a.getElementById("rtl-container")})}),t("#sweetalert-14").click(function(e){swal({title:"Submit email to run ajax request",input:"email",showCancelButton:!0,confirmButtonText:"Submit",showLoaderOnConfirm:!0,preConfirm:e=>new Promise(a=>{setTimeout(()=>{"taken@example.com"===e&&swal.showValidationError("This email is already taken."),a()},2e3)}),allowOutsideClick:()=>!swal.isLoading()}).then(e=>{e.value&&swal({type:"success",title:"Ajax request finished!",html:"Submitted email: "+e.value})})}),t("#sweetalert-15").click(function(e){swal.setDefaults({input:"text",confirmButtonText:"Next →",showCancelButton:!0,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger",progressSteps:["1","2","3"]});swal.queue([{title:"Question 1",text:"Chaining swal2 modals is easy"},"Question 2","Question 3"]).then(e=>{swal.resetDefaults(),e.value&&swal({title:"All done!",html:"Your answers:
"+JSON.stringify(e.value)+"
",confirmButtonText:"Lovely!"})})}),t("#sweetalert-16").click(function(e){swal.queue([{title:"Your public IP",confirmButtonText:"Show my public IP",text:"Your public IP will be received via AJAX request",showLoaderOnConfirm:!0,preConfirm:()=>fetch("https://api.ipify.org?format=json").then(e=>e.json()).then(e=>swal.insertQueueStep(e.ip)).catch(()=>{swal.insertQueueStep({type:"error",title:"Unable to get your public IP"})})}])})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){t("#checkAll").click(function(){t("input:checkbox").not(this).prop("checked",this.checked)})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){t(function(){var e,a=-1,o=0;t("#closeButton").on("click",function(){t(this).is(":checked")?t("#addBehaviorOnToastCloseClick").prop("disabled",!1):(t("#addBehaviorOnToastCloseClick").prop("disabled",!0),t("#addBehaviorOnToastCloseClick").prop("checked",!1))}),t("#showtoast").on("click",function(){var r,n=t("#toastTypeGroup input:radio:checked").val(),l=t("#message").val(),i=t("#title").val()||"",s=t("#showDuration"),d=t("#hideDuration"),c=t("#timeOut"),u=t("#extendedTimeOut"),h=t("#showEasing"),m=t("#hideEasing"),p=t("#showMethod"),g=t("#hideMethod"),f=o++,v=t("#addClear").prop("checked");toastr.options={closeButton:t("#closeButton").prop("checked"),debug:t("#debugInfo").prop("checked"),newestOnTop:t("#newestOnTop").prop("checked"),progressBar:t("#progressBar").prop("checked"),rtl:t("#rtl").prop("checked"),positionClass:t("#positionGroup input:radio:checked").val()||"toast-top-right",preventDuplicates:t("#preventDuplicates").prop("checked"),onclick:null},t("#addBehaviorOnToastClick").prop("checked")&&(toastr.options.onclick=function(){alert("You can perform some custom action after a toast goes away")}),t("#addBehaviorOnToastCloseClick").prop("checked")&&(toastr.options.onCloseClick=function(){alert("You can perform some custom action when the close button is clicked")}),s.val().length&&(toastr.options.showDuration=parseInt(s.val())),d.val().length&&(toastr.options.hideDuration=parseInt(d.val())),c.val().length&&(toastr.options.timeOut=v?0:parseInt(c.val())),u.val().length&&(toastr.options.extendedTimeOut=v?0:parseInt(u.val())),h.val().length&&(toastr.options.showEasing=h.val()),m.val().length&&(toastr.options.hideEasing=m.val()),p.val().length&&(toastr.options.showMethod=p.val()),g.val().length&&(toastr.options.hideMethod=g.val()),v&&(l=function(e){return e=e||"Clear itself?",e+='

'}(l),toastr.options.tapToDismiss=!1),l||(++a===(r=["My name is Inigo Montoya. You killed my father. Prepare to die!",'
',"Are you the six fingered man?","Inconceivable!","I do not think that means what you think it means.","Have fun storming the castle!"]).length&&(a=0),l=r[a]),t("#toastrOptions").text('Command: toastr["'+n+'"]("'+l+(i?'", "'+i:"")+'")\n\ntoastr.options = '+JSON.stringify(toastr.options,null,2));var w=toastr[n](l,i);e=w,void 0!==w&&(w.find("#okBtn").length&&w.delegate("#okBtn","click",function(){alert("you clicked me. i was toast #"+f+". goodbye!"),w.remove()}),w.find("#surpriseBtn").length&&w.delegate("#surpriseBtn","click",function(){alert("Surprise! you clicked me. i was toast #"+f+". You could perform an action here.")}),w.find(".clear").length&&w.delegate(".clear","click",function(){toastr.clear(w,{force:!0})}))}),t("#clearlasttoast").on("click",function(){toastr.clear(e)}),t("#cleartoasts").on("click",function(){toastr.clear()})})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){jQuery(".tooltip-wrapper").length>0&&t('[data-toggle="tooltip"]').tooltip()})}(window,document,window.jQuery),function(e,a,t,o){t(function(){t.validator.setDefaults({submitHandler:function(){alert("submitted!")}}),t(a).ready(function(){t("#signupForm").validate({rules:{fname:"required",lname:"required",uname:{required:!0,minlength:2},upassword:{required:!0,minlength:5},uconfirm_password:{required:!0,minlength:5,equalTo:"#password"},uemail:{required:!0,email:!0},uagree:"required"},messages:{fname:"Please enter your firstname",lname:"Please enter your lastname",uname:{required:"Please enter a username",minlength:"Your username must consist of at least 2 characters"},upassword:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},uconfirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"},uemail:"Please enter a valid email address",uagree:"Please accept our policy"},errorElement:"em",errorPlacement:function(e,a){e.addClass("help-block"),"checkbox"===a.prop("type")?e.insertAfter(a.parent("label")):e.insertAfter(a)},highlight:function(e,a,o){t(e).parents(".col-sm-5").addClass("has-error").removeClass("has-success")},unhighlight:function(e,a,o){t(e).parents(".col-sm-5").addClass("has-success").removeClass("has-error")}}),t("#signupForm1").validate({rules:{firstname1:"required",lastname1:"required",username1:{required:!0,minlength:2},password1:{required:!0,minlength:5},confirm_password1:{required:!0,minlength:5,equalTo:"#password1"},email1:{required:!0,email:!0},agree1:"required"},messages:{firstname1:"Please enter your firstname",lastname1:"Please enter your lastname",username1:{required:"Please enter a username",minlength:"Your username must consist of at least 2 characters"},password1:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password1:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"},email1:"Please enter a valid email address",agree1:"Please accept our policy"},errorElement:"em",errorPlacement:function(e,a){e.addClass("help-block"),a.parents(".col-sm-5").addClass("has-feedback"),"checkbox"===a.prop("type")?e.insertAfter(a.parent("label")):e.insertAfter(a),a.next("span")[0]||t("").insertAfter(a)},highlight:function(e,a,o){t(e).parents(".col-sm-5").addClass("has-error").removeClass("has-success"),t(e).next("span").addClass("fa fa-times").removeClass("fa fa-check")},unhighlight:function(e,a,o){t(e).parents(".col-sm-5").addClass("has-success").removeClass("has-error"),t(e).next("span").addClass("fa fa-check").removeClass("fa fa-times")}}),t("#signupForm3").validate({rules:{firstname:"required",lastname:"required",username:{required:!0,minlength:2},password:{required:!0,minlength:5},confirm_password:{required:!0,minlength:5,equalTo:"#password"},email:{required:!0,email:!0},agree:"required"},messages:{firstname:"Please enter your firstname",lastname:"Please enter your lastname",username:{required:"Please enter a username",minlength:"Your username must consist of at least 2 characters"},password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"},email:"Please enter a valid email address",agree:"Please accept our policy"},errorPlacement:function(e,a){e.addClass("ui red pointing label transition"),e.insertAfter(a.parent())},highlight:function(e,a,o){t(e).parents(".row").addClass(a)},unhighlight:function(e,a,o){t(e).parents(".row").removeClass(a)}})})})}(window,document,window.jQuery),function(e,a,t,o){t(function(){e.addEventListener("load",function(){var e=a.getElementsByClassName("needs-validation");Array.prototype.filter.call(e,function(e){e.addEventListener("submit",function(a){!1===e.checkValidity()&&(a.preventDefault(),a.stopPropagation()),e.classList.add("was-validated")},!1)})},!1),t(".mobile-toggle").on("click",function(){t("body").toggleClass("sidebar-toggled")}),t(a).on("click",".mega-menu.dropdown-menu",function(e){e.stopPropagation()}),t(".sidebar-toggle").on("click",function(){t("body").toggleClass("sidebar-mini"),t(".app-navbar").toggleClass("expand")}),t(".app-navbar").hover(function(){t("body").hasClass("sidebar-mini")&&t(".navbar-header").toggleClass("expand")}),t(".search").on("click",function(){t(".search-wrapper").fadeIn(200)}),t(".close-btn").on("click",function(){t(".search-wrapper").fadeOut(200)})})}(window,document,window.jQuery); \ No newline at end of file diff --git a/public/asset/js/app.js b/public/asset/js/app.js new file mode 100644 index 0000000..c367506 --- /dev/null +++ b/public/asset/js/app.js @@ -0,0 +1,14259 @@ +(function(window, document, $, undefined) { + + $(function() { + var apexChart = jQuery(".apexchart-wrapper"); + if (apexChart.length > 0) { + var colorPalette = ['#00D8B6','#008FFB', '#FEB019', '#FF4560', '#775DD0'] + + // analytics1 + var apexdemo1 = jQuery('#apexdemo1') + if (apexdemo1.length > 0) { + var options = { + chart: { + height: 350, + type: 'line', + shadow: { + enabled: true, + color: '#000', + top: 18, + left: 7, + blur: 10, + opacity: 1 + }, + toolbar: { + show: false + } + }, + colors: ['#8E54E9', '#2bcbba'], + dataLabels: { + enabled: true, + }, + stroke: { + curve: 'smooth' + }, + series: [{ + name: "High - 2013", + data: [28, 29, 33, 36, 32, 32, 33] + }, + { + name: "Low - 2013", + data: [12, 11, 14, 18, 17, 13, 13] + } + ], + grid: { + borderColor: '#e7e7e7', + row: { + colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns + opacity: 0.5 + }, + }, + markers: { + + size: 6 + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], + title: { + text: 'Month' + } + }, + yaxis: { + title: { + text: 'Temperature' + }, + min: 5, + max: 40 + }, + legend: { + position: 'top', + horizontalAlign: 'right', + floating: true, + offsetY: -25, + offsetX: -5 + } + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo1"), + options + ); + + chart.render(); + } + + var apexdemo2 = jQuery('#apexdemo2') + if (apexdemo2.length > 0) { + var options = { + chart: { + height: 350, + type: 'line', + shadow: { + enabled: false, + color: '#bbb', + top: 3, + left: 2, + blur: 3, + opacity: 1 + }, + }, + stroke: { + width: 7, + curve: 'smooth' + }, + series: [{ + name: 'Likes', + data: [4, 3, 10, 9, 29, 19, 22, 9, 12, 7, 19, 5, 13, 9, 17, 2, 7, 5] + }], + xaxis: { + type: 'datetime', + categories: ['1/11/2000', '2/11/2000', '3/11/2000', '4/11/2000', '5/11/2000', '6/11/2000', '7/11/2000', '8/11/2000', '9/11/2000', '10/11/2000', '11/11/2000', '12/11/2000', '1/11/2001', '2/11/2001', '3/11/2001','4/11/2001' ,'5/11/2001' ,'6/11/2001'], + }, + title: { + text: 'Social Media', + align: 'left', + style: { + fontSize: "16px", + color: '#666' + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + gradientToColors: [ '#8E54E9'], + shadeIntensity: 1, + type: 'horizontal', + opacityFrom: 1, + opacityTo: 1, + stops: [0, 100, 100, 100] + }, + }, + markers: { + size: 4, + opacity: 0.9, + colors: ["#2bcbba"], + strokeColor: "#fff", + strokeWidth: 2, + + hover: { + size: 7, + } + }, + yaxis: { + min: -10, + max: 40, + title: { + text: 'Engagement', + }, + } + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo2"), + options + ); + + chart.render(); + } + + var apexdemo3 = jQuery('#apexdemo3') + if (apexdemo3.length > 0) { + var options = { + chart: { + height: 350, + type: 'area', + }, + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth' + }, + series: [{ + name: 'series1', + data: [31, 40, 28, 51, 42, 109, 100] + }, { + name: 'series2', + data: [11, 32, 45, 32, 34, 52, 41] + }], + colors: ['#8E54E9', '#2bcbba'], + xaxis: { + type: 'datetime', + categories: ["2018-09-19T00:00:00", "2018-09-19T01:30:00", "2018-09-19T02:30:00", "2018-09-19T03:30:00", "2018-09-19T04:30:00", "2018-09-19T05:30:00", "2018-09-19T06:30:00"], + }, + tooltip: { + x: { + format: 'dd/MM/yy HH:mm' + }, + } + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo3"), + options + ); + + chart.render(); + } + + var apexdemo4 = jQuery('#apexdemo4') + if (apexdemo4.length > 0) { + var options = { + chart: { + height: 350, + type: 'area', + stacked: true, + events: { + selection: function(chart, e) { + console.log(new Date(e.xaxis.min) ) + } + }, + + }, + colors: ['#8E54E9', '#2bcbba', '#eceef3'], + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth' + }, + + series: [{ + name: 'South', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 60 + }) + }, + { + name: 'North', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 20 + }) + }, + + { + name: 'Central', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 15 + }) + } + ], + fill: { + type: 'gradient', + gradient: { + opacityFrom: 0.6, + opacityTo: 0.8, + } + }, + legend: { + position: 'top', + horizontalAlign: 'left' + }, + xaxis: { + type: 'datetime' + }, + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo4"), + options + ); + + chart.render(); + + function generateDayWiseTimeSeries(baseval, count, yrange) { + var i = 0; + var series = []; + while (i < count) { + var x = baseval; + var y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + + series.push([x, y]); + baseval += 86400000; + i++; + } + return series; + } + + } + + var apexdemo5 = jQuery('#apexdemo5') + if (apexdemo5.length > 0) { + var options = { + chart: { + height:420, + type: 'bar', + }, + plotOptions: { + bar: { + horizontal: true, + } + }, + colors: ['#8E54E9'], + dataLabels: { + enabled: false + }, + series: [{ + data: [400, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380] + }], + xaxis: { + categories: ['South Korea', 'Canada', 'United Kingdom', 'Netherlands', 'Italy', 'France', 'Japan', 'United States', 'China', 'Germany'], + } + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo5"), + options + ); + + chart.render(); + + } + + var apexdemo6 = jQuery('#apexdemo6') + if (apexdemo6.length > 0) { + var options = { + chart: { + height: 420, + type: 'bar', + stacked: true + }, + colors: ['#8E54E9','#2bcbba'], + plotOptions: { + bar: { + horizontal: true, + barHeight: '80%', + + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 1, + colors: ["#fff"] + }, + series: [{ + name: 'Males', + data: [0.4, 0.65, 0.76, 0.88, 1.5, 2.1, 2.9, 3.8, 3.9, 4.2, 4, 4.3, 4.1, 4.2, 4.5, 3.9, 3.5, 3] + }, + { + name: 'Females', + data: [-0.8, -1.05, -1.06, -1.18, -1.4, -2.2, -2.85, -3.7, -3.96, -4.22, -4.3, -4.4, -4.1, -4, -4.1, -3.4, -3.1, -2.8] + }], + grid: { + xaxis: { + showLines: false + } + }, + yaxis: { + min: -5, + max: 5, + title: { + // text: 'Age', + }, + }, + tooltip: { + shared: false, + x: { + formatter: function(val) { + return val + } + }, + y: { + formatter: function(val) { + return Math.abs(val) + "%" + } + } + }, + + xaxis: { + categories: ['85+', '80-84', '75-79', '70-74', '65-69', '60-64', '55-59', '50-54', '45-49', '40-44', '35-39', '30-34', '25-29', '20-24', '15-19', '10-14', '5-9', '0-4'], + title: { + text: 'Percent' + }, + labels: { + formatter: function(val) { + return Math.abs(Math.round(val)) + "%" + } + } + }, + } + + var chart = new ApexCharts( + document.querySelector("#apexdemo6"), + options + ); + + chart.render(); + + } + + var apexdemo7 = jQuery('#apexdemo7') + if (apexdemo7.length > 0) { + var optionDonut = { + chart: { + + type: 'donut', + height: '350' + }, + dataLabels: { + enabled: false, + }, + plotOptions: { + pie: { + donut: { + size: '75%', + }, + offsetY: 0, + }, + stroke: { + colors: undefined + } + }, + colors: ['#8E54E9','#2bcbba','#f7b731','#45aaf2','#e3324c'], + + series: [21, 23, 19, 14, 6], + labels: ['Clothing', 'Food Products', 'Electronics', 'Kitchen Utility', 'Gardening'], + } + + var donut = new ApexCharts( + document.querySelector("#apexdemo7"), + optionDonut + ) + donut.render(); + + } + + var apexdemo8 = jQuery('#apexdemo8') + if (apexdemo8.length > 0) { + var optionDonut = { + chart: { + + type: 'pie', + height: '350' + }, + dataLabels: { + enabled: false, + }, + plotOptions: { + pie: { + donut: { + size: '75%', + }, + offsetY: 0, + }, + stroke: { + colors: undefined + } + }, + colors: ['#8E54E9','#2bcbba','#f7b731','#45aaf2','#e3324c'], + + series: [21, 23, 19, 14, 6], + labels: ['Clothing', 'Food Products', 'Electronics', 'Kitchen Utility', 'Gardening'], + } + + var donut = new ApexCharts( + document.querySelector("#apexdemo8"), + optionDonut + ) + donut.render(); + + } + + // analytics1 + var analytics1 = jQuery('#analytics1') + if (analytics1.length > 0) { + var dataSeries = [ + [{ + "date": "2014-01-01", + "value": 20000000 + }, + { + "date": "2014-01-02", + "value": 10379978 + }, + { + "date": "2014-01-03", + "value": 30493749 + }, + { + "date": "2014-01-04", + "value": 10785250 + }, + { + "date": "2014-01-05", + "value": 33901904 + }, + { + "date": "2014-01-06", + "value": 11576838 + }, + { + "date": "2014-01-07", + "value": 14413854 + }, + { + "date": "2014-01-08", + "value": 15177211 + }, + { + "date": "2014-01-09", + "value": 16622100 + }, + { + "date": "2014-01-10", + "value": 17381072 + }, + { + "date": "2014-01-11", + "value": 18802310 + }, + { + "date": "2014-01-12", + "value": 15531790 + }, + { + "date": "2014-01-13", + "value": 15748881 + }, + { + "date": "2014-01-14", + "value": 18706437 + }, + { + "date": "2014-01-15", + "value": 19752685 + }, + { + "date": "2014-01-16", + "value": 21016418 + }, + { + "date": "2014-01-17", + "value": 25622924 + }, + { + "date": "2014-01-18", + "value": 25337480 + }, + { + "date": "2014-01-19", + "value": 22258882 + }, + { + "date": "2014-01-20", + "value": 23829538 + }, + { + "date": "2014-01-21", + "value": 24245689 + }, + { + "date": "2014-01-22", + "value": 26429711 + }, + { + "date": "2014-01-23", + "value": 26259017 + }, + { + "date": "2014-01-24", + "value": 25396183 + }, + { + "date": "2014-01-25", + "value": 23107346 + }, + { + "date": "2014-01-26", + "value": 28659852 + }, + { + "date": "2014-01-27", + "value": 25270783 + }, + { + "date": "2014-01-28", + "value": 26270783 + }, + { + "date": "2014-01-29", + "value": 27270783 + }, + { + "date": "2014-01-30", + "value": 28270783 + }, + { + "date": "2014-01-31", + "value": 29270783 + }, + { + "date": "2014-02-01", + "value": 30270783 + }, + { + "date": "2014-02-02", + "value": 31270783 + }, + { + "date": "2014-02-03", + "value": 32270783 + }, + { + "date": "2014-02-04", + "value": 33270783 + }, + { + "date": "2014-02-05", + "value": 28270783 + }, + { + "date": "2014-02-06", + "value": 27270783 + }, + { + "date": "2014-02-07", + "value": 35270783 + }, + { + "date": "2014-02-08", + "value": 34270783 + }, + { + "date": "2014-02-09", + "value": 28270783 + }, + { + "date": "2014-02-10", + "value": 35270783 + }, + { + "date": "2014-02-11", + "value": 36270783 + }, + { + "date": "2014-02-12", + "value": 34127078 + }, + { + "date": "2014-02-13", + "value": 33124078 + }, + { + "date": "2014-02-14", + "value": 36227078 + }, + { + "date": "2014-02-15", + "value": 37827078 + }, + { + "date": "2014-02-16", + "value": 36427073 + }, + { + "date": "2014-02-17", + "value": 37570783 + }, + { + "date": "2014-02-18", + "value": 38627073 + }, + { + "date": "2014-02-19", + "value": 37727078 + }, + { + "date": "2014-02-20", + "value": 38827073 + }, + { + "date": "2014-02-21", + "value": 40927078 + }, + { + "date": "2014-02-22", + "value": 41027078 + }, + { + "date": "2014-02-23", + "value": 42127073 + }, + { + "date": "2014-02-24", + "value": 43220783 + }, + { + "date": "2014-02-25", + "value": 44327078 + }, + { + "date": "2014-02-26", + "value": 40427078 + }, + { + "date": "2014-02-27", + "value": 41027078 + }, + { + "date": "2014-02-28", + "value": 45627078 + }, + { + "date": "2014-03-01", + "value": 44727078 + }, + { + "date": "2014-03-02", + "value": 44227078 + }, + { + "date": "2014-03-03", + "value": 45227078 + }, + { + "date": "2014-03-04", + "value": 46027078 + }, + { + "date": "2014-03-05", + "value": 46927078 + }, + { + "date": "2014-03-06", + "value": 47027078 + }, + { + "date": "2014-03-07", + "value": 46227078 + }, + { + "date": "2014-03-08", + "value": 47027078 + }, + { + "date": "2014-03-09", + "value": 48027078 + }, + { + "date": "2014-03-10", + "value": 47027078 + }, + { + "date": "2014-03-11", + "value": 47027078 + }, + { + "date": "2014-03-12", + "value": 48017078 + }, + { + "date": "2014-03-13", + "value": 48077078 + }, + { + "date": "2014-03-14", + "value": 48087078 + }, + { + "date": "2014-03-15", + "value": 48017078 + }, + { + "date": "2014-03-16", + "value": 48047078 + }, + { + "date": "2014-03-17", + "value": 48067078 + }, + { + "date": "2014-03-18", + "value": 48077078 + }, + { + "date": "2014-03-19", + "value": 48027074 + }, + { + "date": "2014-03-20", + "value": 48927079 + }, + { + "date": "2014-03-21", + "value": 48727071 + }, + { + "date": "2014-03-22", + "value": 48127072 + }, + { + "date": "2014-03-23", + "value": 48527072 + }, + { + "date": "2014-03-24", + "value": 48627027 + }, + { + "date": "2014-03-25", + "value": 48027040 + }, + { + "date": "2014-03-26", + "value": 48027043 + }, + { + "date": "2014-03-27", + "value": 48057022 + }, + { + "date": "2014-03-28", + "value": 49057022 + }, + { + "date": "2014-03-29", + "value": 50057022 + }, + { + "date": "2014-03-30", + "value": 51057022 + }, + { + "date": "2014-03-31", + "value": 52057022 + }, + { + "date": "2014-04-01", + "value": 53057022 + }, + { + "date": "2014-04-02", + "value": 54057022 + }, + { + "date": "2014-04-03", + "value": 52057022 + }, + { + "date": "2014-04-04", + "value": 55057022 + }, + { + "date": "2014-04-05", + "value": 58270783 + }, + { + "date": "2014-04-06", + "value": 56270783 + }, + { + "date": "2014-04-07", + "value": 55270783 + }, + { + "date": "2014-04-08", + "value": 58270783 + }, + { + "date": "2014-04-09", + "value": 59270783 + }, + { + "date": "2014-04-10", + "value": 60270783 + }, + { + "date": "2014-04-11", + "value": 61270783 + }, + { + "date": "2014-04-12", + "value": 62270783 + }, + { + "date": "2014-04-13", + "value": 63270783 + }, + { + "date": "2014-04-14", + "value": 64270783 + }, + { + "date": "2014-04-15", + "value": 65270783 + }, + { + "date": "2014-04-16", + "value": 66270783 + }, + { + "date": "2014-04-17", + "value": 67270783 + }, + { + "date": "2014-04-18", + "value": 68270783 + }, + { + "date": "2014-04-19", + "value": 69270783 + }, + { + "date": "2014-04-20", + "value": 70270783 + }, + { + "date": "2014-04-21", + "value": 71270783 + }, + { + "date": "2014-04-22", + "value": 72270783 + }, + { + "date": "2014-04-23", + "value": 73270783 + }, + { + "date": "2014-04-24", + "value": 74270783 + }, + { + "date": "2014-04-25", + "value": 75270783 + }, + { + "date": "2014-04-26", + "value": 76660783 + }, + { + "date": "2014-04-27", + "value": 77270783 + }, + { + "date": "2014-04-28", + "value": 78370783 + }, + { + "date": "2014-04-29", + "value": 79470783 + }, + { + "date": "2014-04-30", + "value": 80170783 + } + ], + [{ + "date": "2014-01-01", + "value": 150000000 + }, + { + "date": "2014-01-02", + "value": 160379978 + }, + { + "date": "2014-01-03", + "value": 170493749 + }, + { + "date": "2014-01-04", + "value": 160785250 + }, + { + "date": "2014-01-05", + "value": 167391904 + }, + { + "date": "2014-01-06", + "value": 161576838 + }, + { + "date": "2014-01-07", + "value": 161413854 + }, + { + "date": "2014-01-08", + "value": 152177211 + }, + { + "date": "2014-01-09", + "value": 143762210 + }, + { + "date": "2014-01-10", + "value": 144381072 + }, + { + "date": "2014-01-11", + "value": 154352310 + }, + { + "date": "2014-01-12", + "value": 165531790 + }, + { + "date": "2014-01-13", + "value": 175748881 + }, + { + "date": "2014-01-14", + "value": 187064037 + }, + { + "date": "2014-01-15", + "value": 197520685 + }, + { + "date": "2014-01-16", + "value": 210176418 + }, + { + "date": "2014-01-17", + "value": 196122924 + }, + { + "date": "2014-01-18", + "value": 207337480 + }, + { + "date": "2014-01-19", + "value": 200258882 + }, + { + "date": "2014-01-20", + "value": 186829538 + }, + { + "date": "2014-01-21", + "value": 192456897 + }, + { + "date": "2014-01-22", + "value": 204299711 + }, + { + "date": "2014-01-23", + "value": 192759017 + }, + { + "date": "2014-01-24", + "value": 203596183 + }, + { + "date": "2014-01-25", + "value": 208107346 + }, + { + "date": "2014-01-26", + "value": 196359852 + }, + { + "date": "2014-01-27", + "value": 192570783 + }, + { + "date": "2014-01-28", + "value": 177967768 + }, + { + "date": "2014-01-29", + "value": 190632803 + }, + { + "date": "2014-01-30", + "value": 203725316 + }, + { + "date": "2014-01-31", + "value": 218226177 + }, + { + "date": "2014-02-01", + "value": 210698669 + }, + { + "date": "2014-02-02", + "value": 217640656 + }, + { + "date": "2014-02-03", + "value": 216142362 + }, + { + "date": "2014-02-04", + "value": 201410971 + }, + { + "date": "2014-02-05", + "value": 196704289 + }, + { + "date": "2014-02-06", + "value": 190436945 + }, + { + "date": "2014-02-07", + "value": 178891686 + }, + { + "date": "2014-02-08", + "value": 171613962 + }, + { + "date": "2014-02-09", + "value": 157579773 + }, + { + "date": "2014-02-10", + "value": 158677098 + }, + { + "date": "2014-02-11", + "value": 147129977 + }, + { + "date": "2014-02-12", + "value": 151561876 + }, + { + "date": "2014-02-13", + "value": 151627421 + }, + { + "date": "2014-02-14", + "value": 143543872 + }, + { + "date": "2014-02-15", + "value": 136581057 + }, + { + "date": "2014-02-16", + "value": 135560715 + }, + { + "date": "2014-02-17", + "value": 122625263 + }, + { + "date": "2014-02-18", + "value": 112091484 + }, + { + "date": "2014-02-19", + "value": 98810329 + }, + { + "date": "2014-02-20", + "value": 99882912 + }, + { + "date": "2014-02-21", + "value": 94943095 + }, + { + "date": "2014-02-22", + "value": 104875743 + }, + { + "date": "2014-02-23", + "value": 116383678 + }, + { + "date": "2014-02-24", + "value": 125028841 + }, + { + "date": "2014-02-25", + "value": 123967310 + }, + { + "date": "2014-02-26", + "value": 133167029 + }, + { + "date": "2014-02-27", + "value": 128577263 + }, + { + "date": "2014-02-28", + "value": 115836969 + }, + { + "date": "2014-03-01", + "value": 119264529 + }, + { + "date": "2014-03-02", + "value": 109363374 + }, + { + "date": "2014-03-03", + "value": 113985628 + }, + { + "date": "2014-03-04", + "value": 114650999 + }, + { + "date": "2014-03-05", + "value": 110866108 + }, + { + "date": "2014-03-06", + "value": 96473454 + }, + { + "date": "2014-03-07", + "value": 104075886 + }, + { + "date": "2014-03-08", + "value": 103568384 + }, + { + "date": "2014-03-09", + "value": 101534883 + }, + { + "date": "2014-03-10", + "value": 115825447 + }, + { + "date": "2014-03-11", + "value": 126133916 + }, + { + "date": "2014-03-12", + "value": 116502109 + }, + { + "date": "2014-03-13", + "value": 130169411 + }, + { + "date": "2014-03-14", + "value": 124296886 + }, + { + "date": "2014-03-15", + "value": 126347399 + }, + { + "date": "2014-03-16", + "value": 131483669 + }, + { + "date": "2014-03-17", + "value": 142811333 + }, + { + "date": "2014-03-18", + "value": 129675396 + }, + { + "date": "2014-03-19", + "value": 115514483 + }, + { + "date": "2014-03-20", + "value": 117630630 + }, + { + "date": "2014-03-21", + "value": 122340239 + }, + { + "date": "2014-03-22", + "value": 132349091 + }, + { + "date": "2014-03-23", + "value": 125613305 + }, + { + "date": "2014-03-24", + "value": 135592466 + }, + { + "date": "2014-03-25", + "value": 123408762 + }, + { + "date": "2014-03-26", + "value": 111991454 + }, + { + "date": "2014-03-27", + "value": 116123955 + }, + { + "date": "2014-03-28", + "value": 112817214 + }, + { + "date": "2014-03-29", + "value": 113029590 + }, + { + "date": "2014-03-30", + "value": 108753398 + }, + { + "date": "2014-03-31", + "value": 99383763 + }, + { + "date": "2014-04-01", + "value": 100151737 + }, + { + "date": "2014-04-02", + "value": 94985209 + }, + { + "date": "2014-04-03", + "value": 82913669 + }, + { + "date": "2014-04-04", + "value": 78748268 + }, + { + "date": "2014-04-05", + "value": 63829135 + }, + { + "date": "2014-04-06", + "value": 78694727 + }, + { + "date": "2014-04-07", + "value": 80868994 + }, + { + "date": "2014-04-08", + "value": 93799013 + }, + { + "date": "2014-04-09", + "value": 99042416 + }, + { + "date": "2014-04-10", + "value": 97298692 + }, + { + "date": "2014-04-11", + "value": 83353499 + }, + { + "date": "2014-04-12", + "value": 71248129 + }, + { + "date": "2014-04-13", + "value": 75253744 + }, + { + "date": "2014-04-14", + "value": 68976648 + }, + { + "date": "2014-04-15", + "value": 71002284 + }, + { + "date": "2014-04-16", + "value": 75052401 + }, + { + "date": "2014-04-17", + "value": 83894030 + }, + { + "date": "2014-04-18", + "value": 90236528 + }, + { + "date": "2014-04-19", + "value": 99739114 + }, + { + "date": "2014-04-20", + "value": 96407136 + }, + { + "date": "2014-04-21", + "value": 108323177 + }, + { + "date": "2014-04-22", + "value": 101578914 + }, + { + "date": "2014-04-23", + "value": 115877608 + }, + { + "date": "2014-04-24", + "value": 112088857 + }, + { + "date": "2014-04-25", + "value": 112071353 + }, + { + "date": "2014-04-26", + "value": 101790062 + }, + { + "date": "2014-04-27", + "value": 115003761 + }, + { + "date": "2014-04-28", + "value": 120457727 + }, + { + "date": "2014-04-29", + "value": 118253926 + }, + { + "date": "2014-04-30", + "value": 117956992 + } + ], + [{ + "date": "2014-01-01", + "value": 50000000 + }, + { + "date": "2014-01-02", + "value": 60379978 + }, + { + "date": "2014-01-03", + "value": 40493749 + }, + { + "date": "2014-01-04", + "value": 60785250 + }, + { + "date": "2014-01-05", + "value": 67391904 + }, + { + "date": "2014-01-06", + "value": 61576838 + }, + { + "date": "2014-01-07", + "value": 61413854 + }, + { + "date": "2014-01-08", + "value": 82177211 + }, + { + "date": "2014-01-09", + "value": 103762210 + }, + { + "date": "2014-01-10", + "value": 84381072 + }, + { + "date": "2014-01-11", + "value": 54352310 + }, + { + "date": "2014-01-12", + "value": 65531790 + }, + { + "date": "2014-01-13", + "value": 75748881 + }, + { + "date": "2014-01-14", + "value": 47064037 + }, + { + "date": "2014-01-15", + "value": 67520685 + }, + { + "date": "2014-01-16", + "value": 60176418 + }, + { + "date": "2014-01-17", + "value": 66122924 + }, + { + "date": "2014-01-18", + "value": 57337480 + }, + { + "date": "2014-01-19", + "value": 100258882 + }, + { + "date": "2014-01-20", + "value": 46829538 + }, + { + "date": "2014-01-21", + "value": 92456897 + }, + { + "date": "2014-01-22", + "value": 94299711 + }, + { + "date": "2014-01-23", + "value": 62759017 + }, + { + "date": "2014-01-24", + "value": 103596183 + }, + { + "date": "2014-01-25", + "value": 108107346 + }, + { + "date": "2014-01-26", + "value": 66359852 + }, + { + "date": "2014-01-27", + "value": 62570783 + }, + { + "date": "2014-01-28", + "value": 77967768 + }, + { + "date": "2014-01-29", + "value": 60632803 + }, + { + "date": "2014-01-30", + "value": 103725316 + }, + { + "date": "2014-01-31", + "value": 98226177 + }, + { + "date": "2014-02-01", + "value": 60698669 + }, + { + "date": "2014-02-02", + "value": 67640656 + }, + { + "date": "2014-02-03", + "value": 66142362 + }, + { + "date": "2014-02-04", + "value": 101410971 + }, + { + "date": "2014-02-05", + "value": 66704289 + }, + { + "date": "2014-02-06", + "value": 60436945 + }, + { + "date": "2014-02-07", + "value": 78891686 + }, + { + "date": "2014-02-08", + "value": 71613962 + }, + { + "date": "2014-02-09", + "value": 107579773 + }, + { + "date": "2014-02-10", + "value": 58677098 + }, + { + "date": "2014-02-11", + "value": 87129977 + }, + { + "date": "2014-02-12", + "value": 51561876 + }, + { + "date": "2014-02-13", + "value": 51627421 + }, + { + "date": "2014-02-14", + "value": 83543872 + }, + { + "date": "2014-02-15", + "value": 66581057 + }, + { + "date": "2014-02-16", + "value": 65560715 + }, + { + "date": "2014-02-17", + "value": 62625263 + }, + { + "date": "2014-02-18", + "value": 92091484 + }, + { + "date": "2014-02-19", + "value": 48810329 + }, + { + "date": "2014-02-20", + "value": 49882912 + }, + { + "date": "2014-02-21", + "value": 44943095 + }, + { + "date": "2014-02-22", + "value": 104875743 + }, + { + "date": "2014-02-23", + "value": 96383678 + }, + { + "date": "2014-02-24", + "value": 105028841 + }, + { + "date": "2014-02-25", + "value": 63967310 + }, + { + "date": "2014-02-26", + "value": 63167029 + }, + { + "date": "2014-02-27", + "value": 68577263 + }, + { + "date": "2014-02-28", + "value": 95836969 + }, + { + "date": "2014-03-01", + "value": 99264529 + }, + { + "date": "2014-03-02", + "value": 109363374 + }, + { + "date": "2014-03-03", + "value": 93985628 + }, + { + "date": "2014-03-04", + "value": 94650999 + }, + { + "date": "2014-03-05", + "value": 90866108 + }, + { + "date": "2014-03-06", + "value": 46473454 + }, + { + "date": "2014-03-07", + "value": 84075886 + }, + { + "date": "2014-03-08", + "value": 103568384 + }, + { + "date": "2014-03-09", + "value": 101534883 + }, + { + "date": "2014-03-10", + "value": 95825447 + }, + { + "date": "2014-03-11", + "value": 66133916 + }, + { + "date": "2014-03-12", + "value": 96502109 + }, + { + "date": "2014-03-13", + "value": 80169411 + }, + { + "date": "2014-03-14", + "value": 84296886 + }, + { + "date": "2014-03-15", + "value": 86347399 + }, + { + "date": "2014-03-16", + "value": 31483669 + }, + { + "date": "2014-03-17", + "value": 82811333 + }, + { + "date": "2014-03-18", + "value": 89675396 + }, + { + "date": "2014-03-19", + "value": 95514483 + }, + { + "date": "2014-03-20", + "value": 97630630 + }, + { + "date": "2014-03-21", + "value": 62340239 + }, + { + "date": "2014-03-22", + "value": 62349091 + }, + { + "date": "2014-03-23", + "value": 65613305 + }, + { + "date": "2014-03-24", + "value": 65592466 + }, + { + "date": "2014-03-25", + "value": 63408762 + }, + { + "date": "2014-03-26", + "value": 91991454 + }, + { + "date": "2014-03-27", + "value": 96123955 + }, + { + "date": "2014-03-28", + "value": 92817214 + }, + { + "date": "2014-03-29", + "value": 93029590 + }, + { + "date": "2014-03-30", + "value": 108753398 + }, + { + "date": "2014-03-31", + "value": 49383763 + }, + { + "date": "2014-04-01", + "value": 100151737 + }, + { + "date": "2014-04-02", + "value": 44985209 + }, + { + "date": "2014-04-03", + "value": 52913669 + }, + { + "date": "2014-04-04", + "value": 48748268 + }, + { + "date": "2014-04-05", + "value": 23829135 + }, + { + "date": "2014-04-06", + "value": 58694727 + }, + { + "date": "2014-04-07", + "value": 50868994 + }, + { + "date": "2014-04-08", + "value": 43799013 + }, + { + "date": "2014-04-09", + "value": 4042416 + }, + { + "date": "2014-04-10", + "value": 47298692 + }, + { + "date": "2014-04-11", + "value": 53353499 + }, + { + "date": "2014-04-12", + "value": 71248129 + }, + { + "date": "2014-04-13", + "value": 75253744 + }, + { + "date": "2014-04-14", + "value": 68976648 + }, + { + "date": "2014-04-15", + "value": 71002284 + }, + { + "date": "2014-04-16", + "value": 75052401 + }, + { + "date": "2014-04-17", + "value": 83894030 + }, + { + "date": "2014-04-18", + "value": 50236528 + }, + { + "date": "2014-04-19", + "value": 59739114 + }, + { + "date": "2014-04-20", + "value": 56407136 + }, + { + "date": "2014-04-21", + "value": 108323177 + }, + { + "date": "2014-04-22", + "value": 101578914 + }, + { + "date": "2014-04-23", + "value": 95877608 + }, + { + "date": "2014-04-24", + "value": 62088857 + }, + { + "date": "2014-04-25", + "value": 92071353 + }, + { + "date": "2014-04-26", + "value": 81790062 + }, + { + "date": "2014-04-27", + "value": 105003761 + }, + { + "date": "2014-04-28", + "value": 100457727 + }, + { + "date": "2014-04-29", + "value": 98253926 + }, + { + "date": "2014-04-30", + "value": 67956992 + } + ] + ] + var ts2 = 1484418600000; + var dates = []; + for (var i = 0; i < 120; i++) { + ts2 = ts2 + 86400000; + var innerArr = [ts2, dataSeries[1][i].value]; + dates.push(innerArr) + } + var options = { + chart: { + type: 'area', + stacked: false, + height: 300, + zoom: { + type: 'x', + padding: { + left: 30, + right: 20 + } + }, + toolbar: { + show: true, + autoSelected: 'zoom' + } + }, + plotOptions: { + line: { + curve: 'smooth', + } + }, + dataLabels: { + enabled: false + }, + series: [{ + name: 'Nifty 50', + data: dates + }], + colors: ['#8E54E9'], + fill: { + gradient: { + enabled: true, + shadeIntensity: 0, + inverseColors: false, + opacityFrom: 1, + opacityTo: 0 + }, + }, + grid: { + show: true, + borderColor: '#fff', + }, + yaxis: { + min: 20000000, + max: 250000000, + labels: { + formatter: function (val) { + return (val / 1000000).toFixed(0); + }, + }, + }, + xaxis: { + type: 'datetime', + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494', '#949494', '#949494','#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + offsetX: -25 + }, + + axisBorder: { + show: false + }, + }, + tooltip: { + shared: false, + y: { + formatter: function (val) { + return (val / 1000000).toFixed(0) + } + } + } + } + + var chart = new ApexCharts( + document.querySelector("#analytics1"), + options + ); + + chart.render(); + + } + // anaylytics 2 + var analytics2 = jQuery('#analytics2') + if (analytics2.length > 0) { + var optionsBar = { + chart: { + type: 'bar', + height: 250, + width: '100%', + stacked: true, + foreColor: '#999', + toolbar: { + show: false + }, + }, + plotOptions: { + bar: { + dataLabels: { + enabled: false + }, + columnWidth: '60%', + endingShape: 'rounded' + } + }, + dataLabels: { + enabled: false, + }, + colors: ["#4776E6", '#eceef3'], + series: [{ + name: "Sessions", + data: [20, 16, 24, 28, 26, 22, 15, 5, 14, 16, 22, 29, 24, 19], + }, { + name: "Views", + data: [20, 16, 24, 28, 26, 22, 15, 5, 14, 16, 22, 29, 24, 19], + }], + xaxis: { + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + crosshairs: { + show: false + }, + labels: { + show: false, + style: { + fontSize: '14px' + } + }, + }, + grid: { + xaxis: { + lines: { + show: false + }, + }, + yaxis: { + lines: { + show: false + }, + } + }, + yaxis: { + axisBorder: { + show: false + }, + labels: { + show: false + }, + }, + legend: { + floating: false, + position: 'top', + horizontalAlign: 'right', + offsetY: -36 + }, + title: { + text: '10 days left', + align: 'left', + }, + tooltip: { + shared: true + } + } + var chartBar = new ApexCharts(document.querySelector('#analytics2'), optionsBar); + chartBar.render(); + } + var analytics3 = jQuery('#analytics3') + if (analytics3.length > 0) { + + var options = { + chart: { + height: 200, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [5, 4], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ["#8E54E9", '#2bcbba'], + series: [{ + name: "Total revenue", + data: [45, 52, 38, 24, 33, 26, 21, 20] + }, + { + name: "Total cost", + data: [35, 41, 62, 42, 13, 18, 29, 37] + } + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: true, + offsetX: 10, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan'], + + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " per click" + } + } + }, { + title: { + formatter: function (val) { + return val + " per click" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + }, + responsive: [{ + breakpoint: 480, + options: { + xaxis: { + labels: { + rotate: -45, + hideOverlappingLabels: true, + } + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#analytics3"), + options + ); + + chart.render(); + + } + + // analytics4 + var analytics4 = jQuery('#analytics4') + if (analytics4.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#8E54E9'], + } + + var chart = new ApexCharts( + document.querySelector("#analytics4"), + options + ); + + chart.render(); + } + + // analytics5 + var analytics5 = jQuery('#analytics5') + if (analytics5.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#fb0792'], + } + + var chart = new ApexCharts( + document.querySelector("#analytics5"), + options + ); + + chart.render(); + } + + // analytics6 + var analytics6 = jQuery('#analytics6') + if (analytics6.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#32b432'], + } + + var chart = new ApexCharts( + document.querySelector("#analytics6"), + options + ); + + chart.render(); + } + + // analytics7 + var analytics7 = jQuery('#analytics7') + if (analytics7.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#8E54E9'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#analytics7"), + options + ); + chart.render(); + } + + // analytics8 + var analytics8 = jQuery('#analytics8') + if (analytics8.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#2bcbba'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#analytics8"), + options + ); + chart.render(); + } + // analytics9 + var analytics9 = jQuery('#analytics9') + if (analytics9.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#fb0792'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#analytics9"), + options + ); + chart.render(); + } + + // analytics10 + var analytics10 = jQuery('#analytics10') + if (analytics10.length > 0) { + + var optionsDonutTop = { + chart: { + height: 115, + width: 140, + type: 'donut', + }, + colors: ['#8E54E9', '#f7b731', '#45aaf2'], + labels: ['Redirect Visists', 'New Visits', 'Direct Visits'], + series: [456, 256, 128], + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + plotOptions: { + pie: { + size: 35, + donut: { + size: '72%', + }, + offsetX: 10, + offsetY: -10, + dataLabels: { + enabled: false + }, + } + }, + responsive: [{ + breakpoint: 480, + options: { + chart: { + width:250, + height:250 + }, + plotOptions: { + pie: { + size: 70, + donut: { + size: '72%', + }, + offsetX: 0, + offsetY: -20, + dataLabels: { + enabled: false + }, + } + }, + }, + }] + } + var chartDonut2 = new ApexCharts(document.querySelector('#analytics10'), optionsDonutTop); + chartDonut2.render().then(function () { + }); + } + + // ecommerce + var ecommerce5 = jQuery('#ecommerce5') + if (ecommerce5.length > 0) { + var options = { + chart: { + height: 340, + type: 'bar', + toolbar: { + show: false, + }, + }, + colors:['#8E54E9', '#eceef3'], + plotOptions: { + bar: { + horizontal: false, + endingShape: 'rounded', + columnWidth: '40%', + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + series: [{ + name: 'Annual Sales', + data: [44, 55, 57, 56, 61, 58, 63, 60, 66] + }, { + name: 'Annual Revenue', + data: [76, 85, 101, 98, 87, 105, 91, 114, 94] + }], + xaxis: { + categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct'], + axisBorder: { + show: false, + }, + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + offsetX: 0, + } + }, + yaxis: { + labels: { + show: false, + style: { + colors: ['#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-yaxis-label', + } + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'light', + type: "vertical", + shadeIntensity: 0.6, + gradientToColors: undefined, // optional, if not defined - uses the shades of same color in series + inverseColors: true, + opacityFrom: 1, + opacityTo: 1, + stops: [0, 50, 100] + } + }, + legend: { + fontFamily: 'Roboto', + labels: { + colors: ['#949494', '#949494','#949494'], + useSeriesColors: false + }, + itemMargin: { + horizontal: 20 + }, + }, + tooltip: { + y: { + formatter: function (val) { + return "$ " + val + " thousands" + } + } + }, + grid: { + show: true, + borderColor: '#fff', + }, + responsive: [{ + breakpoint: 400, + options: { + plotOptions: { + bar: { + horizontal: false, + endingShape: 'rounded', + columnWidth: '70%', + }, + }, + }, + }] + + } + + var chart = new ApexCharts( + document.querySelector("#ecommerce5"), + options + ); + + chart.render(); + } + + + + var ecommercedemo1 = jQuery('#ecommercedemo1') + if (ecommercedemo1.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 100, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#8E54E9'], + } + + var chart = new ApexCharts( + document.querySelector("#ecommercedemo1"), + options + ); + + chart.render(); + } + + var ecommercedemo2 = jQuery('#ecommercedemo2') + if (ecommercedemo2.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 100, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#fbaf54'], + } + + var chart = new ApexCharts( + document.querySelector("#ecommercedemo2"), + options + ); + + chart.render(); + } + + var ecommercedemo3 = jQuery('#ecommercedemo3') + if (ecommercedemo3.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 100, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#e3324c'], + } + + var chart = new ApexCharts( + document.querySelector("#ecommercedemo3"), + options + ); + + chart.render(); + } + + var ecommercedemo4 = jQuery('#ecommercedemo4') + if (ecommercedemo4.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 100, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#32b432'], + } + + var chart = new ApexCharts( + document.querySelector("#ecommercedemo4"), + options + ); + + chart.render(); + } + + var ecommercedemo5 = jQuery('#ecommercedemo5') + if (ecommercedemo5.length > 0) { + var options = { + chart: { + width: 260, + height: 230, + type: 'pie', + }, + colors:['#8E54E9','#fbaf54','#4776E6','#e3324c','#444444'], + labels: ['Direct', 'Referral', 'Organic Search','Social Network', 'Other Advertising'], + series: [44, 55, 13,53,35], + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + responsive: [{ + breakpoint: 400, + options: { + chart: { + offsetY:0, + offsetX:0, + width: 250, + } + }, + }, + { + breakpoint: 480, + options: { + chart: { + offsetY:0, + offsetX:0, + width: 300, + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#ecommercedemo5"), + options + ); + + chart.render(); + } + + + var cardealerdemo1 = jQuery('#cardealerdemo1') + if (cardealerdemo1.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true + } + }, + stroke: { + width: '1', + curve: 'smooth' + }, + fill: { + gradient: { + shade: 'light', + type: "vertical", + shadeIntensity: 0.2, + gradientToColors: undefined, // optional, if not defined - uses the shades of same color in series + inverseColors: true, + opacityFrom: 0.4, + opacityTo: .4, + stops: [0, 50, 100] + } + }, + markers: { + style: 'inverted', + size: 2 + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#ffffff'], + } + + var chart = new ApexCharts( + document.querySelector("#cardealerdemo1"), + options + ); + + chart.render(); + } + + var pageview = jQuery('#pageview') + if (pageview.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [0, 2, 7, 5, 10, 9, 13, 15]; + + var options = { + chart: { + type: 'area', + height: 355, + width: 600, + sparkline: { + enabled: true + } + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.6, + opacityTo: 0.2, + stops: [20, 100, 100, 100] + }, + }, + markers: { + strokeColor: '#8E54E9', + size: 3 + }, + series: [{ + data: sparklineData + }], + yaxis: { + min: 0 + }, + colors: ['#8E54E9'], + } + + var chart = new ApexCharts( + document.querySelector("#pageview"), + options + ); + + chart.render(); + } + + // cardealerdemo2 + var cardealerdemo2 = jQuery('#cardealerdemo2') + if (cardealerdemo2.length > 0) { + var options = { + chart: { + height: 260, + type: 'bar', + toolbar: { + show: false, + }, + }, + colors:['#8E54E9'], + plotOptions: { + bar: { + horizontal: false, + columnWidth: '16%', + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + series: [{ + name: 'Annual Revenue', + data: [76, 85, 101, 98, 87, 105, 91, 114, 94] + }], + xaxis: { + categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct'], + axisBorder: { + show: false, + }, + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + offsetX: 0, + } + }, + yaxis: { + labels: { + show: false, + style: { + colors: ['#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-yaxis-label', + } + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'light', + type: "vertical", + shadeIntensity: 0, + gradientToColors: undefined, // optional, if not defined - uses the shades of same color in series + inverseColors: true, + opacityFrom: 1, + opacityTo: 1, + stops: [0, 50, 100] + } + }, + legend: { + fontFamily: 'Roboto', + labels: { + colors: ['#949494', '#949494','#949494'], + useSeriesColors: false + } + }, + tooltip: { + y: { + formatter: function (val) { + return "$ " + val + " thousands" + } + } + }, + grid: { + show: true, + borderColor: '#f5f5f5', + }, + responsive: [{ + breakpoint: 400, + options: { + yaxis: { + show: false + } + }, + },{ + breakpoint: 480, + options: { + plotOptions: { + bar: { + horizontal: false, + endingShape: 'rounded', + columnWidth: '90%', + }, + }, + yaxis: { + show: false + } + }, + }] + + } + + var chart = new ApexCharts( + document.querySelector("#cardealerdemo2"), + options + ); + + chart.render(); + } + + + + + // cardealerdemo3 + var cardealerdemo3 = jQuery('#cardealerdemo3') + if (cardealerdemo3.length > 0) { + var options = { + chart: { + height: 350, + type: 'line', + shadow: { + enabled: true, + color: '#000', + top: 18, + left: 7, + blur: 10, + opacity: 1 + }, + toolbar: { + show: false + } + }, + colors: ['#8E54E9', '#4776E6'], + dataLabels: { + enabled: true, + }, + stroke: { + curve: 'smooth' + }, + series: [{ + name: "User - 208", + data: [28, 29, 33, 36, 32, 32, 33] + }, + { + name: "Page View - 208", + data: [12, 11, 14, 18, 17, 13, 13] + } + ], + grid: { + borderColor: '#dee0ea', + row: { + colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns + opacity: 0.5 + }, + }, + markers: { + size: 6 + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'] + }, + yaxis: { + min: 5, + max: 40 + }, + legend: { + show: false, + position: 'top', + horizontalAlign: 'right', + floating: true, + offsetY: -25, + offsetX: -5 + } + } + + var chart = new ApexCharts( + document.querySelector("#cardealerdemo3"), + options + ); + + chart.render(); + } + + + // cardealerdemo4 + var cardealerdemo4 = jQuery('#cardealerdemo4') + if (cardealerdemo4.length > 0) { + var options = { + chart: { + width: 260, + type: 'donut', + }, + dataLabels: { + enabled: false + }, + series:[60, 40, 25, 15], + labels: ['Direct', 'Referral', 'Organic', 'Social'], + colors:['#d270f9','#d69bee', '#deb0f1','#ebcff6'], + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + type: "vertical", + shadeIntensity: 1, + opacityFrom: 1, + opacityTo: 1, + gradientToColors: ['#d270f9','#d69bee', '#deb0f1','#ebcff6'], + stops: [0, 90, 100] + } + }, + legend: { + show: false, + position: 'left', + horizontalAlign: 'center', + fontSize: '14px', + itemMargin: { + horizontal: 20, + vertical: 5 + }, + }, + responsive: [{ + breakpoint: 480, + options: { + chart: { + width: 200 + }, + legend: { + position: 'bottom' + } + } + }] + + } + + var chart = new ApexCharts( + document.querySelector("#cardealerdemo4"), + options + ); + + chart.render(); + + var paper = chart.paper() + + } + + + var cardealerdemo5 = jQuery('#cardealerdemo5') + if (cardealerdemo5.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.9, + opacityTo: 0.1, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#d270f9'], + } + var chart = new ApexCharts( + document.querySelector("#cardealerdemo5"), + options + ); + + chart.render(); + } + + // Stock Market + var stockmarket5 = jQuery('#stockmarket5') + if (stockmarket5.length > 0) { + var ts2 = 1484418600000; + var dates = []; + var spikes = [5, -5, 3, -3, 8, -8] + for (var i = 0; i < 120; i++) { + ts2 = ts2 + 86400000; + var innerArr = [ts2, dataSeries[1][i].value]; + dates.push(innerArr) + } + + var options = { + chart: { + type: 'area', + stacked: false, + height: 350, + zoom: { + type: 'x', + enabled: true + }, + toolbar: { + autoSelected: 'zoom' + } + }, + plotOptions: { + line: { + curve: 'smooth', + } + }, + dataLabels: { + enabled: false + }, + series: [{ + name: 'Nifty 50', + data: dates + }], + markers: { + size: 0, + style: 'full', + }, + colors: ['#8E54E9'], + fill: { + gradient: { + enabled: true, + shadeIntensity: 0, + inverseColors: false, + opacityFrom: 1, + opacityTo: 0 + }, + }, + grid: { + show: true, + borderColor: '#fff', + }, + yaxis: { + min: 20000000, + max: 250000000, + labels: { + formatter: function (val) { + return (val / 1000000).toFixed(0); + }, + }, + title: { + text: 'Price' + }, + }, + xaxis: { + type: 'datetime', + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494', '#949494', '#949494','#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + }, + axisBorder: { + show: false + }, + }, + tooltip: { + shared: false, + y: { + formatter: function (val) { + return (val / 1000000).toFixed(0) + } + } + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarket5"), + options + ); + + chart.render(); + } + var stockmarket6 = jQuery('#stockmarket6') + if (stockmarket6.length > 0) { + var options = { + chart: { + height: 300, + type: 'bar', + toolbar: { + show: false, + } + }, + legend: { + show: true, + position: "top", + containerMargin: { + top: -20 + } + }, + plotOptions: { + bar: { + horizontal: true, + barHeight: '20%', + + }, + }, + dataLabels: { + enabled: false + }, + colors: ['#8E54E9'], + fill: { + gradient: { + enabled: true, + shade: 'light', + type: "vertical", + shadeIntensity: 0.1, + gradientToColors: undefined, + inverseColors: true, + opacityFrom: 1, + opacityTo: 1, + stops: [50, 0, 100, 100] + }, + }, + series: [{ + data: [400, 430, 448, 470, 540, 430, 448] + }], + grid: { + show: true, + borderColor: '#fff', + }, + xaxis: { + categories: ['Tata', 'Reliance', 'ONGC', 'GAIL', 'Tata Motors', 'ACC', 'Mind Tree'], + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494', '#949494', '#949494','#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarket6"), + options + ); + + chart.render(); + } + + // stockmarket7 + function generateData(baseval, count, yrange) { + var i = 0; + var series = []; + while (i < count) { + var x = Math.floor(Math.random() * (750 - 1 + 1)) + 1;; + var y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + var z = Math.floor(Math.random() * (75 - 15 + 1)) + 15; + + series.push([x, y, z]); + baseval += 86400000; + i++; + } + return series; + } + var stockmarket7 = jQuery('#stockmarket7') + if (stockmarket7.length > 0) { + + var options = { + chart: { + height: 390, + type: 'bubble', + toolbar: { + show: false + }, + }, + dataLabels: { + enabled: false + }, + legend: { + show: false, + position: "top", + containerMargin: { + top: -20 + } + }, + series: [{ + name: 'Actual', + data: generateData(new Date('11 Feb 2017 GMT').getTime(), 12, { + min: 10, + max: 60 + }) + }, + { + name: 'Budget', + data: generateData(new Date('11 Feb 2017 GMT').getTime(), 12, { + min: 10, + max: 60 + }) + } + ], + colors: ['#8E54E9', '#45aaf2'], + fill: { + opacity: 0.8, + + gradient: { + enabled: false + } + }, + xaxis: { + tickAmount: 12, + type: 'category', + axisBorder: { + show: false + }, + label: { + offsetX: 10 + } + }, + yaxis: { + max: 70 + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarket7"), + options + ); + + chart.render(); + + } + + + // stockmarketdemo1 + var stockmarketdemo1 = jQuery('#stockmarketdemo1') + if (stockmarketdemo1.length > 0) { + + var options = { + chart: { + height: 110, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [2], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#fb0792'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 1, 2, 3, 2, 1, 3, 8, 2, 3, 1,] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan', '09 Jan', '10 Jan', '11 Jan', '12 Jan', '13 Jan', '14 Jan', '15 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo1"), + options + ); + + chart.render(); + + } + + var stockmarketdemo2 = jQuery('#stockmarketdemo2') + if (stockmarketdemo2.length > 0) { + + var options = { + chart: { + height: 110, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [2], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#8E54E9'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 8, 2, 3, 2, 1, 3, 2, 2, 3, 1,] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan', '09 Jan', '10 Jan', '11 Jan', '12 Jan', '13 Jan', '14 Jan', '15 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo2"), + options + ); + + chart.render(); + + } + var stockmarketdemo3 = jQuery('#stockmarketdemo3') + if (stockmarketdemo3.length > 0) { + + var options = { + chart: { + height: 110, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [2], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#fd9644'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 3, 1,] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan', '09 Jan', '10 Jan', '11 Jan', '12 Jan', '13 Jan', '14 Jan', '15 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo3"), + options + ); + + chart.render(); + + } + var stockmarketdemo4 = jQuery('#stockmarketdemo4') + if (stockmarketdemo4.length > 0) { + + var options = { + chart: { + height: 110, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [2], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#2bcbba'], + series: [{ + name: "Session Duration", + data: [2, 1, 8, 1, 3, 1, 2, 3, 2, 1, 3, 4, 2, 3, 1,] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan', '09 Jan', '10 Jan', '11 Jan', '12 Jan', '13 Jan', '14 Jan', '15 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo4"), + options + ); + + chart.render(); + + } + + var stockmarketdemo5 = jQuery('#stockmarketdemo5') + if (stockmarketdemo5.length > 0) { + var options = { + chart: { + type: 'bar', + height: 100, + sparkline: { + enabled: true + } + }, + plotOptions: { + bar: { + columnWidth: '80%' + } + }, + colors:['#8E54E9'], + series: [{ + data: [25, 66, 41, 89, 63, 25, 44, 12, 36, 9, 54,44, 12, 36, 9, 54, 66, 41, 89, 63, 25,25, 44, 12, 36, 9, 54,44, 12, 36, 9] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo5"), + options + ); + + chart.render(); + } + + + // stockmarketdemo6 + var stockmarketdemo6 = jQuery('#stockmarketdemo6') + if (stockmarketdemo6.length > 0) { + var options = { + chart: { + height: 100, + width: 150, + type: 'line', + toolbar: { + show: false, + }, + zoom: { + enabled: false + } + }, + colors: ['#ffffff'], + markers: { + style: 'inverted', + size: 1 + }, + dataLabels: { + enabled: false + }, + stroke: { + curve: 'straight', + width: 2 + }, + series: [{ + show: false, + name: "Desktops", + data: [5, 20, 10, 20, 10, 20, 10] + }], + title: { + align: 'left' + }, + xaxis: { + show: false, + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + labels: { + show: false, + }, + axisBorder: { + show: false, + }, + }, + yaxis: { + labels: { + show: false, + }, + }, + grid: { + show: false + }, + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo6"), + options + ); + + chart.render(); + } + // stockmarketdemo7 + var stockmarketdemo7 = jQuery('#stockmarketdemo7') + if (stockmarketdemo7.length > 0) { + var options = { + chart: { + height: 100, + width: 150, + type: 'line', + toolbar: { + show: false, + }, + zoom: { + enabled: false + } + }, + colors: ['#ffffff'], + markers: { + style: 'inverted', + size: 1 + }, + dataLabels: { + enabled: false + }, + stroke: { + curve: 'straight', + width: 2 + }, + series: [{ + show: false, + name: "Desktops", + data: [5, 20, 10, 20, 10, 20, 10] + }], + title: { + align: 'left' + }, + xaxis: { + show: false, + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + labels: { + show: false, + }, + axisBorder: { + show: false, + }, + }, + yaxis: { + labels: { + show: false, + }, + }, + grid: { + show: false + }, + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo7"), + options + ); + + chart.render(); + } + + // stockmarketdemo8 + + var stockmarketdemo8 = jQuery('#stockmarketdemo8') + if (stockmarketdemo8.length > 0) { + var data = generateDayWiseTimeSeries(new Date('10 Feb 2018').getTime(), 185, { + min: 30, + max: 90 + }) + var optionsline2 = { + chart: { + id: 'stockmarketdemo8', + type: 'line', + height: 230, + toolbar: { + autoSelected: 'pan', + show: false + } + }, + colors: ['#8E54E9'], + stroke: { + width: 2, + curve: 'smooth' + }, + dataLabels: { + enabled: false + }, + fill: { + opacity: 1, + }, + markers: { + size: 0 + }, + series: [{ + data: data + }], + xaxis: { + type: 'datetime' + } + } + + var chartline2 = new ApexCharts( + document.querySelector("#stockmarketdemo8"), + optionsline2 + ); + + chartline2.render(); + } + + + // stockmarketdemo8bottom + var stockmarketdemo8bottom = jQuery('#stockmarketdemo8bottom') + if (stockmarketdemo8bottom.length > 0) { + var options = { + chart: { + id: 'stockmarketdemo8bottom', + height: 130, + type: 'area', + brush:{ + target: 'stockmarketdemo8', + enabled: true + }, + selection: { + enabled: true, + xaxis: { + min: new Date('19 Jun 2018').getTime(), + max: new Date('14 Aug 2018').getTime() + } + }, + }, + colors: ['#8E54E9'], + series: [{ + data: data + }], + fill: { + gradient: { + enabled: true, + opacityFrom: 0.91, + opacityTo: 0.1, + } + }, + xaxis: { + type: 'datetime', + offsetX: 10, + tooltip: { + enabled: false + } + }, + yaxis: { + tickAmount: 2 + } + } + + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo8bottom"), + options + ); + + chart.render(); + } + + function generateDayWiseTimeSeries(baseval, count, yrange) { + var i = 0; + var series = []; + while (i < count) { + var x = baseval; + var y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + + series.push([x, y]); + baseval += 86400000; + i++; + } + return series; + } + + + // stockmarketdemo9 + var stockmarketdemo9 = jQuery('#stockmarketdemo9') + if (stockmarketdemo9.length > 0) { + + var options = { + chart: { + height: 354, + type: 'line', + toolbar: { + show: false, + }, + zoom: { + enabled: false + }, + animations: { + enabled: false + } + }, + colors: ['#45aaf2', '#32b432', '#fd9644'], + legend: { + show: true, + showForSingleSeries: true, + showForZeroSeries: true, + position: 'top', + horizontalAlign: 'right' + }, + stroke: { + width: [5,5,4], + curve: 'straight' + }, + series: [{ + name: 'Peter', + data: [5, 5, 10, 8, 7, 5, 4, null, null, null, 10, 10, 7, 8, 6, 9] + }, { + name: 'Johnny', + data: [10, 15, null, 12, null, 10, 12, 15, null, null, 12, null, 14, null, null, null] + }, { + name: 'David', + data: [null, null, null, null, 3, 4, 1, 3, 4, 6, 7, 9, 5, null, null, null] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], + xaxis: { + }, + } + var chart = new ApexCharts( + document.querySelector("#stockmarketdemo9"), + options + ); + + chart.render(); + } + + // datingdemo1 + var datingdemo1 = jQuery('#datingdemo1') + if (datingdemo1.length > 0) { + + var options = { + chart: { + height: 440, + type: 'line', + toolbar: { + show: false, + }, + shadow: { + enabled: false, + color: '#bbb', + top: 3, + left: 2, + blur: 3, + opacity: 1 + }, + }, + stroke: { + width: 4, + curve: 'smooth' + }, + series: [{ + name: 'Likes', + data: [1, 35, 10, 30, 8, 25, 6, 40, 10, 34, 8, 30] + }], + xaxis: { + type: 'datetime', + categories: ['1/11/2000', '2/11/2000', '3/11/2000', '4/11/2000', '5/11/2000', '6/11/2000', '7/11/2000', '8/11/2000', '9/11/2000', '10/11/2000', '11/11/2000', '12/11/2000'], + labels: { + show: true, + }, + axisBorder: { + show: false, + }, + }, + title: { + align: 'left', + style: { + fontSize: "16px", + color: '#666' + } + }, + grid: { + show: true, + borderColor: '#eceef3', + }, + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + gradientToColors: [ '#ff0792'], + shadeIntensity: 1, + type: 'horizontal', + opacityFrom: 1, + opacityTo: 1, + stops: [0, 100, 100, 100] + }, + }, + markers: { + size: 5, + opacity: 0.9, + colors: ["#ffffff"], + strokeColor: "#ff0792", + strokeWidth: 2, + + hover: { + size: 7, + } + }, + yaxis: { + min: -10, + max: 40, + title: { + show: false, + }, + labels: { + show: false, + }, + axisBorder: { + show: false, + }, + + } + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo1"), + options + ); + + chart.render(); + } + + // datingdemo2 + var datingdemo2 = jQuery('#datingdemo2') + if (datingdemo2.length > 0) { + var options = { + chart: { + height: 350, + type: 'radialBar', + }, + plotOptions: { + radialBar: { + dataLabels: { + name: { + fontSize: '22px', + }, + value: { + fontSize: '16px', + }, + total: { + show: true, + label: 'Total', + formatter: function (w) { + // By default this function returns the average of all series. The below is just an example to show the use of custom formatter function + return 249 + } + } + } + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + type: "vertical", + shadeIntensity: 1, + opacityFrom: 1, + opacityTo:1, + gradientToColors: ['#8E54E9', '#45aaf2' , '#2bcbba'], + stops: [0, 90, 100] + } + }, + colors:['#8E54E9','#45aaf2', '#2bcbba'], + series: [45, 55, 80], + labels: ['Desktop', 'Tablet', 'Mobile'], + responsive: [{ + breakpoint: 400, + options: { + chart: { + offsetY:0, + offsetX:0, + height: 300, + } + }, + }] + + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo2"), + options + ); + + chart.render(); + } + + // datingdemo3 + function generateDayWiseTimeSeries(baseval, count, yrange) { + var i = 0; + var series = []; + while (i < count) { + var x = baseval; + var y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + + series.push([x, y]); + baseval += 86400000; + i++; + } + return series; + } + + var datingdemo3 = jQuery('#datingdemo3') + if (datingdemo3.length > 0) { + var options = { + chart: { + height: 320, + type: 'area', + stacked: true, + toolbar: { + show: false, + }, + events: { + selection: function(chart, e) { + console.log(new Date(e.xaxis.min) ) + } + }, + + }, + colors: ['#8c66e8', '#8ea4e8', '#efecf1'], + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: '4' + }, + series: [{ + name: 'Male', + data: generateDayWiseTimeSeries(new Date('11 Dec 2018 GMT').getTime(), 20, { + min: 10, + max: 60 + }) + }, + { + name: 'Female', + data: generateDayWiseTimeSeries(new Date('11 Dec 2018 GMT').getTime(), 20, { + min: 10, + max: 20 + }) + }, + + { + name: 'Non Registered', + data: generateDayWiseTimeSeries(new Date('11 Dec 2018 GMT').getTime(), 20, { + min: 10, + max: 15 + }) + } + ], + fill: { + gradient: { + enabled: true, + opacityFrom: 0.9, + opacityTo: 0.4, + } + }, + legend: { + show: false, + showForSingleSeries: false, + showForZeroSeries: false, + position: 'top', + horizontalAlign: 'right' + }, + xaxis: { + type: 'datetime' + }, + yaxis: { + labels: { + show: false, + }, + }, + } + + /* + // this function will generate output in this format + // data = [ + [timestamp, 23], + [timestamp, 33], + [timestamp, 12] + ... + ] + */ + + var chart = new ApexCharts( + document.querySelector("#datingdemo3"), + options + ); + + chart.render(); + } + + // datingdemo4 + var datingdemo4 = jQuery('#datingdemo4') + if (datingdemo4.length > 0) { + var optionsArea = { + chart: { + height: 340, + type: 'area', + toolbar: { + show: false, + }, + zoom: { + enabled: false + }, + }, + stroke: { + curve: 'straight' + }, + colors:['#8E54E9', '#45aaf2'], + series: [ + { + name: "Blog", + data: [{ + x: 0, + y: 0 + }, { + x: 4, + y: 5 + }, { + x: 5, + y: 3 + }, { + x: 9, + y: 8 + }, { + x: 14, + y: 4 + }, { + x: 18, + y: 5 + }, { + x: 25, + y: 0 + }] + }, + { + name: "External", + data: [{ + x: 0, + y: 0 + }, { + x: 2, + y: 5 + }, { + x: 5, + y: 4 + }, { + x: 10, + y: 11 + }, { + x: 14, + y: 4 + }, { + x: 18, + y: 8 + }, { + x: 25, + y: 0 + }] + } + ], + fill: { + opacity: 1, + gradient: { + enabled: false, + } + }, + markers: { + size: 0, + style: 'hollow', + hover: { + opacity: 5, + } + }, + grid: { + show: true, + borderColor: '#eceef3', + }, + tooltip: { + intersect: true, + shared: false, + }, + xaxis: { + tooltip: { + enabled: false + }, + labels: { + show: false + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + } + }, + yaxis: { + tickAmount: 4, + max: 12, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + color: '#78909c' + } + } + }, + legend: { + show: false + } + } + + var chartArea = new ApexCharts(document.querySelector('#datingdemo4'), optionsArea); + chartArea.render(); + } + + + // datingdemo5 + var datingdemo5 = jQuery('#datingdemo5') + if (datingdemo5.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#8E54E9'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo5"), + options + ); + chart.render(); + } + + // datingdemo6 + var datingdemo6 = jQuery('#datingdemo6') + if (datingdemo6.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#2bcbba'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo6"), + options + ); + chart.render(); + } + // datingdemo7 + var datingdemo7 = jQuery('#datingdemo7') + if (datingdemo7.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#fb0792'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo7"), + options + ); + chart.render(); + } + + // datingdemo8 + var datingdemo8 = jQuery('#datingdemo8') + if (datingdemo8.length > 0) { + var options = { + chart: { + type: 'bar', + width: 120, + height: 50, + sparkline: { + enabled: true + } + }, + colors:['#32b432'], + plotOptions: { + bar: { + columnWidth: '20%', + endingShape: 'rounded', + } + }, + series: [{ + data: [15, 55, 60, 69, 53, 35, 54] + }], + labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + xaxis: { + crosshairs: { + width: 1 + }, + }, + tooltip: { + fixed: { + enabled: false + }, + x: { + show: false + }, + y: { + title: { + formatter: function (seriesName) { + return '' + } + } + }, + marker: { + show: false + } + }, + responsive: [{ + breakpoint: 360, + options: { + chart: { + width:60, + height:60 + } + }, + },{ + breakpoint: 480, + options: { + chart: { + width:100, + height:80 + } + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#datingdemo8"), + options + ); + chart.render(); + } + + // Job Portal + var jobportaldemo1 = jQuery('#jobportaldemo1') + if (jobportaldemo1.length > 0) { + + var options = { + chart: { + height: 350, + type: 'bar' + }, + plotOptions: { + bar: { + horizontal: false, + } + }, + dataLabels: { + enabled: false + }, + colors:['#4776E6'], + fill: { + type: 'gradient', + gradient: { + type: "vertical", + shadeIntensity: 0, + opacityFrom: 1, + opacityTo: 0, + gradientToColors: ['#8E54E9'], + stops: [0, 90, 100] + } + }, + series: [{ + data: [400, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380] + }], + grid: { + show: true, + borderColor: '#fff', + }, + xaxis: { + categories: ['South Korea', 'Canada', 'United Kingdom', 'Netherlands', 'Italy', 'France', 'Japan', 'United States', 'China', 'Germany'], + labels: { + style: { + colors: ['#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494', '#949494','#949494', '#949494', '#949494','#949494','#949494'], + fontSize: '12px', + fontFamily: 'Roboto', + cssClass: 'apexcharts-xaxis-label', + }, + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + } + } + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo1"), + options + ); + + chart.render(); + + } + var jobportaldemo2 = jQuery('#jobportaldemo2') + if (jobportaldemo2.length > 0) { + var options = { + chart: { + width: 260, + type: 'donut', + }, + dataLabels: { + enabled: false + }, + series:[60, 40, 25, 15], + labels: ['Direct', 'Referral', 'Organic', 'Social'], + colors:['#d270f9','#d69bee', '#deb0f1','#ebcff6'], + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + type: "vertical", + shadeIntensity: 1, + opacityFrom: 1, + opacityTo: 1, + gradientToColors: ['#d270f9','#d69bee', '#deb0f1','#ebcff6'], + stops: [0, 90, 100] + } + }, + legend: { + show: false, + position: 'left', + horizontalAlign: 'center', + fontSize: '14px', + itemMargin: { + horizontal: 20, + vertical: 5 + }, + }, + responsive: [{ + breakpoint: 480, + options: { + chart: { + width: 200 + }, + legend: { + position: 'bottom' + } + } + }] + + } + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo2"), + options + ); + + chart.render(); + + var paper = chart.paper() + + } + + // jobportaldemo3 + var jobportaldemo3 = jQuery('#jobportaldemo3') + if (jobportaldemo3.length > 0) { + var options = { + chart: { + height: 280, + type: 'radialBar', + }, + plotOptions: { + radialBar: { + dataLabels: { + name: { + fontSize: '18px', + }, + value: { + fontSize: '16px', + }, + total: { + show: true, + label: 'Total', + formatter: function (w) { + // By default this function returns the average of all series. The below is just an example to show the use of custom formatter function + return 100 + '%' + } + } + } + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + type: "vertical", + shadeIntensity: 1, + opacityFrom: 1, + opacityTo:0.5, + gradientToColors: ['#8E54E9', '#4776E6'], + stops: [0, 90, 100] + } + }, + colors:['#8E54E9','#4776E6'], + series: [45, 55], + labels: ['Job Seekers', 'Job Providers'], + responsive: [{ + breakpoint: 400, + options: { + chart: { + offsetY:0, + offsetX:0, + height: 300, + } + }, + }] + + } + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo3"), + options + ); + + chart.render(); + } + // jobportaldemo4 + function generateDayWiseTimeSeries(baseval, count, yrange) { + var i = 0; + var series = []; + while (i < count) { + var x = baseval; + var y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + + series.push([x, y]); + baseval += 86400000; + i++; + } + return series; + } + var jobportaldemo4 = jQuery('#jobportaldemo4') + if (jobportaldemo4.length > 0) { + var options = { + chart: { + height: 300, + type: 'area', + stacked: true, + toolbar: { + show: false, + }, + events: { + selection: function(chart, e) { + console.log(new Date(e.xaxis.min) ) + } + }, + }, + colors: ['#e231ad', '#9e06e7', '#efecf1'], + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: '4' + }, + series: [{ + name: 'Applicants', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 60 + }) + }, + { + name: 'Interviews', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 20 + }) + }, + + { + name: 'Forwards', + data: generateDayWiseTimeSeries(new Date('11 Feb 2017 GMT').getTime(), 20, { + min: 10, + max: 15 + }) + } + ], + fill: { + gradient: { + enabled: true, + opacityFrom: 0.9, + opacityTo: 0.4, + } + }, + legend: { + show: false, + showForSingleSeries: false, + showForZeroSeries: false, + position: 'top', + horizontalAlign: 'right' + }, + xaxis: { + type: 'datetime', + labels: { + offsetX: -5, + } + }, + yaxis: { + labels: { + show: false, + }, + }, + responsive: [{ + breakpoint: 480, + options: { + xaxis: { + type: 'datetime', + labels: { + offsetX: 0, + } + }, + }, + }] + } + + /* + // this function will generate output in this format + // data = [ + [timestamp, 23], + [timestamp, 33], + [timestamp, 12] + ... + ] + */ + + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo4"), + options + ); + + chart.render(); + } + + var jobportaldemo5 = jQuery('#jobportaldemo5') + if (jobportaldemo5.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46]; + + var options = { + chart: { + type: 'area', + height: 160, + sparkline: { + enabled: true, + offsetY:25, + offsetX:25, + }, + }, + stroke: { + curve: 'smooth', + width: 3 + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 0.9, + opacityTo: 0.1, + stops: [20, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#d270f9'], + } + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo5"), + options + ); + + chart.render(); + } + + + // jobportaldemo6 + var jobportaldemo6 = jQuery('#jobportaldemo6') + if (jobportaldemo6.length > 0) { + var options = { + chart: { + height: 200, + type: 'line', + toolbar: { + show: false, + }, + zoom: { + enabled: false + } + }, + colors: ['#ffffff'], + markers: { + style: 'inverted', + size: 3 + }, + dataLabels: { + enabled: false + }, + stroke: { + curve: 'straight', + width: 2 + }, + series: [{ + show: false, + name: "Desktops", + data: [5, 20, 10, 20, 10, 20, 10] + }], + title: { + align: 'left' + }, + xaxis: { + show: false, + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + labels: { + show: false, + }, + axisBorder: { + show: false, + }, + }, + yaxis: { + labels: { + show: false, + }, + }, + grid: { + show: false + }, + } + + var chart = new ApexCharts( + document.querySelector("#jobportaldemo6"), + options + ); + + chart.render(); + } + + // CRM + var crmdemo1 = jQuery('#crmdemo1') + if (crmdemo1.length > 0) { + + var options = { + chart: { + height: 390, + type: 'line', + toolbar: { + show: false, + }, + shadow: { + enabled: false, + color: '#bbb', + top: 3, + left: 2, + blur: 3, + opacity: 1 + }, + }, + stroke: { + width: 4, + curve: 'smooth' + }, + series: [{ + name: 'Likes', + data: [1, 35, 10, 30, 8, 25, 6, 40, 10, 34, 8, 30] + }], + xaxis: { + type: 'datetime', + categories: ['1/11/2000', '2/11/2000', '3/11/2000', '4/11/2000', '5/11/2000', '6/11/2000', '7/11/2000', '8/11/2000', '9/11/2000', '10/11/2000', '11/11/2000', '12/11/2000'], + axisBorder: { + show: false, + }, + }, + title: { + align: 'left', + style: { + fontSize: "16px", + color: '#666' + } + }, + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + gradientToColors: [ '#ff0792'], + shadeIntensity: 1, + type: 'horizontal', + opacityFrom: 1, + opacityTo: 1, + stops: [0, 100, 100, 100] + }, + }, + markers: { + size: 5, + opacity: 0.9, + colors: ["#ffffff"], + strokeColor: "#ff0792", + strokeWidth: 2, + + hover: { + size: 7, + } + }, + yaxis: { + min: -10, + max: 40, + title: { + show: false, + }, + + } + } + + var chart = new ApexCharts( + document.querySelector("#crmdemo1"), + options + ); + + chart.render(); + } + + var crmdemo2 = jQuery('#crmdemo2') + if (crmdemo2.length > 0) { + + var options = { + chart: { + height: 400, + type: 'bar', + toolbar: { + show: false, + }, + }, + plotOptions: { + bar: { + barHeight: '20%', + horizontal: true, + } + }, + legend: { + show: true, + position: "top", + containerMargin: { + top: -10 + } + }, + grid: { + show: true, + borderColor: '#ebedf2', + }, + colors:['#8E54E9'], + dataLabels: { + enabled: false + }, + series: [{ + data: [400, 430, 448, 470, 540, 580, 690, 1100, 1200] + }], + xaxis: { + categories: ['Deal lost', 'Lead', 'Negotiating', 'Qualified', 'Proposal submitted', 'Sale agreed', 'Running projects', 'Closed projects', 'Payment received'], + axisBorder: { + show: false, + }, + }, + + responsive: [{ + breakpoint: 400, + options: { + chart: { + height: 400, + type: 'bar', + toolbar: { + show: false, + }, + }, + plotOptions: { + bar: { + horizontal: true, + } + }, + + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#crmdemo2"), + options + ); + + chart.render(); + } + + + // Real Estate + var realestatedemo1 = jQuery('#realestatedemo1') + if (realestatedemo1.length > 0) { + var options = { + chart: { + height: 340, + type: 'area', + toolbar: { + show: false + }, + }, + dataLabels: { + enabled: false + }, + legend: { + offsetY: -10, + }, + colors:['#fb0792', '#8E54E9'], + fill: { + type: 'gradient', + gradient: { + type: "vertical", + shadeIntensity: 0, + opacityFrom: 0.3, + opacityTo: 0.2, + gradientToColors: ['#fbacd9'], + stops: [0, 90, 100] + } + }, + stroke: { + curve: 'smooth', + width: 2 + }, + series: [{ + name: 'Sale income', + data: [30, 50, 32, 33, 42, 30, 50, 42, 33, 42, 30, 50, 34] + }, + { + name: 'Rent income', + data: [20, 30, 22, 23, 32, 20, 30, 22, 23, 32, 20, 30, 24] + }], + tooltip: { + x: { + format: 'dd/MM/yy HH:mm' + }, + }, + xaxis: { + show: true, + labels: { + show: true, + }, + axisBorder: { + color: '#fafbfb', + show: true, + }, + axisTicks: { + color: '#fafbfb', + }, + }, + yaxis: { + labels: { + show: true, + }, + axisBorder: { + color: '#fff', + show: true, + }, + }, + grid: { + show: true, + borderColor: '#fafbfb', + }, + } + var chart = new ApexCharts( + document.querySelector("#realestatedemo1"), + options + ); + chart.render(); + } + + var realestatedemo3 = jQuery('#realestatedemo3') + if (realestatedemo3.length > 0) { + var optionsBar = { + chart: { + type: 'bar', + height: 250, + width: '100%', + stacked: true, + foreColor: '#999', + toolbar: { + show: false + }, + }, + plotOptions: { + bar: { + dataLabels: { + enabled: false + }, + columnWidth: '60%', + endingShape: 'rounded' + } + }, + dataLabels: { + enabled: false, + }, + colors: ["#8E54E9", '#eceef3'], + series: [{ + name: "Sessions", + data: [20, 16, 24, 28, 26, 22, 15, 5, 14, 16, 22, 29, 24, 19], + }, { + name: "Views", + data: [20, 16, 24, 28, 26, 22, 15, 5, 14, 16, 22, 29, 24, 19], + }], + xaxis: { + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + crosshairs: { + show: false + }, + labels: { + show: false, + style: { + fontSize: '14px' + } + }, + }, + grid: { + xaxis: { + lines: { + show: false + }, + }, + yaxis: { + lines: { + show: false + }, + } + }, + yaxis: { + axisBorder: { + show: false + }, + labels: { + show: false + }, + }, + legend: { + floating: false, + position: 'top', + horizontalAlign: 'right', + offsetY: -36 + }, + title: { + text: '10 days left', + align: 'left', + }, + tooltip: { + shared: true + } + + } + + + var chartBar = new ApexCharts(document.querySelector('#realestatedemo3'), optionsBar); + chartBar.render(); + + + } + + // Crypto Currency + var cryptodemo1 = jQuery('#crypto-demo1-candlestick') + if (cryptodemo1.length > 0) { + var seriesData = [{ + x: new Date(2016, 01, 01), + y: [51.98, 56.29, 51.59, 53.85] + }, + { + x: new Date(2016, 02, 01), + y: [53.66, 54.99, 51.35, 52.95] + }, + { + x: new Date(2016, 03, 01), + y: [52.96, 53.78, 51.54, 52.48] + }, + { + x: new Date(2016, 04, 01), + y: [52.54, 52.79, 47.88, 49.24] + }, + { + x: new Date(2016, 05, 01), + y: [49.10, 52.86, 47.70, 52.78] + }, + { + x: new Date(2016, 06, 01), + y: [52.83, 53.48, 50.32, 52.29] + }, + { + x: new Date(2016, 07, 01), + y: [52.20, 54.48, 51.64, 52.58] + }, + { + x: new Date(2016, 08, 01), + y: [52.76, 57.35, 52.15, 57.03] + }, + { + x: new Date(2016, 09, 01), + y: [57.04, 58.15, 48.88, 56.19] + }, + { + x: new Date(2016, 10, 01), + y: [56.09, 58.85, 55.48, 58.79] + }, + { + x: new Date(2016, 11, 01), + y: [58.78, 59.65, 58.23, 59.05] + }, + { + x: new Date(2017, 00, 01), + y: [59.37, 61.11, 59.35, 60.34] + }, + { + x: new Date(2017, 01, 01), + y: [60.40, 60.52, 56.71, 56.93] + }, + { + x: new Date(2017, 02, 01), + y: [57.02, 59.71, 56.04, 56.82] + }, + { + x: new Date(2017, 03, 01), + y: [56.97, 59.62, 54.77, 59.30] + }, + { + x: new Date(2017, 04, 01), + y: [59.11, 62.29, 59.10, 59.85] + }, + { + x: new Date(2017, 05, 01), + y: [59.97, 60.11, 55.66, 58.42] + }, + { + x: new Date(2017, 06, 01), + y: [58.34, 60.93, 56.75, 57.42] + }, + { + x: new Date(2017, 07, 01), + y: [57.76, 58.08, 51.18, 54.71] + }, + { + x: new Date(2017, 08, 01), + y: [54.80, 61.42, 53.18, 57.35] + }, + { + x: new Date(2017, 09, 01), + y: [57.56, 63.09, 57.00, 62.99] + }, + { + x: new Date(2017, 10, 01), + y: [62.89, 63.42, 59.72, 61.76] + }, + { + x: new Date(2017, 11, 01), + y: [61.71, 64.15, 61.29, 63.04] + } + ] + + var seriesDataLinear = [{ + x: new Date(2016, 01, 01), + y: 3.85 + }, + { + x: new Date(2016, 02, 01), + y: 2.95 + }, + { + x: new Date(2016, 03, 01), + y: -12.48 + }, + { + x: new Date(2016, 04, 01), + y: 19.24 + }, + { + x: new Date(2016, 05, 01), + y: 12.78 + }, + { + x: new Date(2016, 06, 01), + y: 22.29 + }, + { + x: new Date(2016, 07, 01), + y: -12.58 + }, + { + x: new Date(2016, 08, 01), + y: -17.03 + }, + { + x: new Date(2016, 09, 01), + y: -19.19 + }, + { + x: new Date(2016, 10, 01), + y: -28.79 + }, + { + x: new Date(2016, 11, 01), + y: -39.05 + }, + { + x: new Date(2017, 00, 01), + y: 20.34 + }, + { + x: new Date(2017, 01, 01), + y: 36.93 + }, + { + x: new Date(2017, 02, 01), + y: 36.82 + }, + { + x: new Date(2017, 03, 01), + y: 29.30 + }, + { + x: new Date(2017, 04, 01), + y: 39.85 + }, + { + x: new Date(2017, 05, 01), + y: 28.42 + }, + { + x: new Date(2017, 06, 01), + y: 37.42 + }, + { + x: new Date(2017, 07, 01), + y: 24.71 + }, + { + x: new Date(2017, 08, 01), + y: 37.35 + }, + { + x: new Date(2017, 09, 01), + y: 32.99 + }, + { + x: new Date(2017, 10, 01), + y: 31.76 + }, + { + x: new Date(2017, 11, 01), + y: 43.04 + } + ] + + var seriesData7 = [{ + x: new Date(2016, 01, 01), + y: [1151.98, 1156.29, 1151.59, 1153.85] + }, + { + x: new Date(2016, 02, 01), + y: [1153.66, 1154.99, 1151.35, 1152.95] + }, + { + x: new Date(2016, 03, 01), + y: [1152.96, 1153.78, 1151.54, 1152.48] + }, + { + x: new Date(2016, 04, 01), + y: [1152.54, 1152.79, 1147.88, 1149.24] + }, + { + x: new Date(2016, 05, 01), + y: [1149.10, 1152.86, 1147.70, 1152.78] + }, + { + x: new Date(2016, 06, 01), + y: [1152.83, 1153.48, 1150.32, 1152.29] + }, + { + x: new Date(2016, 07, 01), + y: [1152.20, 1154.48, 1151.64, 1152.58] + }, + { + x: new Date(2016, 08, 01), + y: [1152.76, 1157.35, 1152.15, 1157.03] + }, + { + x: new Date(2016, 09, 01), + y: [1157.04, 1158.15, 1148.88, 1156.19] + }, + { + x: new Date(2016, 10, 01), + y: [1156.09, 1158.85, 1155.48, 1158.79] + }, + { + x: new Date(2016, 11, 01), + y: [1158.78, 1159.65, 1158.23, 1159.05] + }, + { + x: new Date(2017, 00, 01), + y: [1159.37, 1161.11, 1159.35, 1160.34] + }, + { + x: new Date(2017, 01, 01), + y: [1160.40, 1160.52, 1156.71, 1156.93] + }, + { + x: new Date(2017, 02, 01), + y: [1157.02, 1159.71, 1156.04, 1156.82] + }, + { + x: new Date(2017, 03, 01), + y: [1156.97, 1159.62, 1154.77, 1159.30] + }, + { + x: new Date(2017, 04, 01), + y: [1159.11, 1162.29, 1159.10, 1159.85] + }, + { + x: new Date(2017, 05, 01), + y: [1159.97, 1160.11, 1155.66, 1158.42] + }, + { + x: new Date(2017, 06, 01), + y: [1158.34, 1160.93, 1156.75, 1157.42] + }, + { + x: new Date(2017, 07, 01), + y: [1157.76, 1158.08, 1151.18, 1154.71] + }, + { + x: new Date(2017, 08, 01), + y: [1154.80, 1161.42, 1153.18, 1157.35] + }, + { + x: new Date(2017, 09, 01), + y: [1157.56, 1163.09, 1157.00, 1162.99] + }, + { + x: new Date(2017, 10, 01), + y: [1162.89, 1163.42, 1159.72, 1161.76] + }, + { + x: new Date(2017, 11, 01), + y: [1161.71, 1164.15, 1161.29, 1163.04] + } + ] + + var seriesData2 = [{ + x: new Date(1538778600000), + y: [6629.81, 6650.5, 6623.04, 6633.33] + }, + { + x: new Date(1538780400000), + y: [6632.01, 6643.59, 6620, 6630.11] + }, + { + x: new Date(1538782200000), + y: [6630.71, 6648.95, 6623.34, 6635.65] + }, + { + x: new Date(1538784000000), + y: [6635.65, 6651, 6629.67, 6638.24] + }, + { + x: new Date(1538785800000), + y: [6638.24, 6640, 6620, 6624.47] + }, + { + x: new Date(1538787600000), + y: [6624.53, 6636.03, 6621.68, 6624.31] + }, + { + x: new Date(1538789400000), + y: [6624.61, 6632.2, 6617, 6626.02] + }, + { + x: new Date(1538791200000), + y: [6627, 6627.62, 6584.22, 6603.02] + }, + { + x: new Date(1538793000000), + y: [6605, 6608.03, 6598.95, 6604.01] + }, + { + x: new Date(1538794800000), + y: [6604.5, 6614.4, 6602.26, 6608.02] + }, + { + x: new Date(1538796600000), + y: [6608.02, 6610.68, 6601.99, 6608.91] + }, + { + x: new Date(1538798400000), + y: [6608.91, 6618.99, 6608.01, 6612] + }, + { + x: new Date(1538800200000), + y: [6612, 6615.13, 6605.09, 6612] + }, + { + x: new Date(1538802000000), + y: [6612, 6624.12, 6608.43, 6622.95] + }, + { + x: new Date(1538803800000), + y: [6623.91, 6623.91, 6615, 6615.67] + }, + { + x: new Date(1538805600000), + y: [6618.69, 6618.74, 6610, 6610.4] + }, + { + x: new Date(1538807400000), + y: [6611, 6622.78, 6610.4, 6614.9] + }, + { + x: new Date(1538809200000), + y: [6614.9, 6626.2, 6613.33, 6623.45] + }, + { + x: new Date(1538811000000), + y: [6623.48, 6627, 6618.38, 6620.35] + }, + { + x: new Date(1538812800000), + y: [6619.43, 6620.35, 6610.05, 6615.53] + }, + { + x: new Date(1538814600000), + y: [6615.53, 6617.93, 6610, 6615.19] + }, + { + x: new Date(1538816400000), + y: [6615.19, 6621.6, 6608.2, 6620] + }, + { + x: new Date(1538818200000), + y: [6619.54, 6625.17, 6614.15, 6620] + }, + { + x: new Date(1538820000000), + y: [6620.33, 6634.15, 6617.24, 6624.61] + }, + { + x: new Date(1538821800000), + y: [6625.95, 6626, 6611.66, 6617.58] + }, + { + x: new Date(1538823600000), + y: [6619, 6625.97, 6595.27, 6598.86] + }, + { + x: new Date(1538825400000), + y: [6598.86, 6598.88, 6570, 6587.16] + }, + { + x: new Date(1538827200000), + y: [6588.86, 6600, 6580, 6593.4] + }, + { + x: new Date(1538829000000), + y: [6593.99, 6598.89, 6585, 6587.81] + }, + { + x: new Date(1538830800000), + y: [6587.81, 6592.73, 6567.14, 6578] + }, + { + x: new Date(1538832600000), + y: [6578.35, 6581.72, 6567.39, 6579] + }, + { + x: new Date(1538834400000), + y: [6579.38, 6580.92, 6566.77, 6575.96] + }, + { + x: new Date(1538836200000), + y: [6575.96, 6589, 6571.77, 6588.92] + }, + { + x: new Date(1538838000000), + y: [6588.92, 6594, 6577.55, 6589.22] + }, + { + x: new Date(1538839800000), + y: [6589.3, 6598.89, 6589.1, 6596.08] + }, + { + x: new Date(1538841600000), + y: [6597.5, 6600, 6588.39, 6596.25] + }, + { + x: new Date(1538843400000), + y: [6598.03, 6600, 6588.73, 6595.97] + }, + { + x: new Date(1538845200000), + y: [6595.97, 6602.01, 6588.17, 6602] + }, + { + x: new Date(1538847000000), + y: [6602, 6607, 6596.51, 6599.95] + }, + { + x: new Date(1538848800000), + y: [6600.63, 6601.21, 6590.39, 6591.02] + }, + { + x: new Date(1538850600000), + y: [6591.02, 6603.08, 6591, 6591] + }, + { + x: new Date(1538852400000), + y: [6591, 6601.32, 6585, 6592] + }, + { + x: new Date(1538854200000), + y: [6593.13, 6596.01, 6590, 6593.34] + }, + { + x: new Date(1538856000000), + y: [6593.34, 6604.76, 6582.63, 6593.86] + }, + { + x: new Date(1538857800000), + y: [6593.86, 6604.28, 6586.57, 6600.01] + }, + { + x: new Date(1538859600000), + y: [6601.81, 6603.21, 6592.78, 6596.25] + }, + { + x: new Date(1538861400000), + y: [6596.25, 6604.2, 6590, 6602.99] + }, + { + x: new Date(1538863200000), + y: [6602.99, 6606, 6584.99, 6587.81] + }, + { + x: new Date(1538865000000), + y: [6587.81, 6595, 6583.27, 6591.96] + }, + { + x: new Date(1538866800000), + y: [6591.97, 6596.07, 6585, 6588.39] + }, + { + x: new Date(1538868600000), + y: [6587.6, 6598.21, 6587.6, 6594.27] + }, + { + x: new Date(1538870400000), + y: [6596.44, 6601, 6590, 6596.55] + }, + { + x: new Date(1538872200000), + y: [6598.91, 6605, 6596.61, 6600.02] + }, + { + x: new Date(1538874000000), + y: [6600.55, 6605, 6589.14, 6593.01] + }, + { + x: new Date(1538875800000), + y: [6593.15, 6605, 6592, 6603.06] + }, + { + x: new Date(1538877600000), + y: [6603.07, 6604.5, 6599.09, 6603.89] + }, + { + x: new Date(1538879400000), + y: [6604.44, 6604.44, 6600, 6603.5] + }, + { + x: new Date(1538881200000), + y: [6603.5, 6603.99, 6597.5, 6603.86] + }, + { + x: new Date(1538883000000), + y: [6603.85, 6605, 6600, 6604.07] + }, + { + x: new Date(1538884800000), + y: [6604.98, 6606, 6604.07, 6606] + }, + ] + + var seriesData3 = [{ + x: new Date(1538867400000), + y: [6591.08, 6592.22, 6588.9, 6592] + }, + { + x: new Date(1538867700000), + y: [6592.01, 6596.07, 6592, 6593.51] + }, + { + x: new Date(1538868000000), + y: [6593.51, 6596.03, 6588.04, 6588.04] + }, + { + x: new Date(1538868300000), + y: [6588.26, 6592.78, 6585, 6588.39] + }, + { + x: new Date(1538868600000), + y: [6587.6, 6593.99, 6587.6, 6593.99] + }, + { + x: new Date(1538868900000), + y: [6594, 6596.76, 6593.02, 6594.01] + }, + { + x: new Date(1538869200000), + y: [6596, 6597, 6593.05, 6595.65] + }, + { + x: new Date(1538869500000), + y: [6595.66, 6596.3, 6590.04, 6591.68] + }, + { + x: new Date(1538869800000), + y: [6593.26, 6597.97, 6590.37, 6595.43] + }, + { + x: new Date(1538870100000), + y: [6595.43, 6598.21, 6593.49, 6594.27] + }, + { + x: new Date(1538870400000), + y: [6596.44, 6600, 6594.15, 6594.8] + }, + { + x: new Date(1538870700000), + y: [6595.01, 6599.8, 6594, 6598.78] + }, + { + x: new Date(1538871000000), + y: [6598.77, 6598.79, 6594, 6594.28] + }, + { + x: new Date(1538871300000), + y: [6594.28, 6596.2, 6591.92, 6594.01] + }, + { + x: new Date(1538871600000), + y: [6594.51, 6601, 6590, 6599.59] + }, + { + x: new Date(1538871900000), + y: [6593.6, 6599.58, 6593.6, 6596.55] + }, + { + x: new Date(1538872200000), + y: [6598.91, 6602.05, 6596.61, 6601.65] + }, + { + x: new Date(1538872500000), + y: [6602.05, 6602.94, 6597.5, 6600.05] + }, + { + x: new Date(1538872800000), + y: [6602.96, 6603, 6600.37, 6601.4] + }, + { + x: new Date(1538873100000), + y: [6601.39, 6601.43, 6600.5, 6601.4] + }, + { + x: new Date(1538873400000), + y: [6601.42, 6605, 6600.5, 6600.64] + }, + { + x: new Date(1538873700000), + y: [6600.64, 6603.84, 6600, 6600.02] + }, + { + x: new Date(1538874000000), + y: [6600.55, 6605, 6598.28, 6600.48] + }, + { + x: new Date(1538874300000), + y: [6601.73, 6605, 6600.59, 6601.54] + }, + { + x: new Date(1538874600000), + y: [6602.8, 6605, 6600, 6600.01] + }, + { + x: new Date(1538874900000), + y: [6600, 6600.22, 6589.19, 6590.64] + }, + { + x: new Date(1538875200000), + y: [6593.95, 6598, 6589.14, 6591.44] + }, + { + x: new Date(1538875500000), + y: [6591.48, 6593.45, 6589.15, 6593.01] + }, + { + x: new Date(1538875800000), + y: [6593.15, 6598, 6592, 6595.85] + }, + { + x: new Date(1538876100000), + y: [6595.85, 6601.76, 6595.83, 6601.72] + }, + { + x: new Date(1538876400000), + y: [6601.69, 6605, 6598.52, 6602.01] + }, + { + x: new Date(1538876700000), + y: [6602.02, 6604.4, 6601.51, 6601.62] + }, + { + x: new Date(1538877000000), + y: [6601.74, 6602.88, 6599.09, 6600] + }, + { + x: new Date(1538877300000), + y: [6599.35, 6605, 6599.09, 6603.06] + }, + { + x: new Date(1538877600000), + y: [6603.07, 6604.5, 6600.79, 6604.13] + }, + { + x: new Date(1538877900000), + y: [6603.06, 6604.45, 6601.25, 6602.06] + }, + { + x: new Date(1538878200000), + y: [6602.06, 6604, 6600.93, 6602.11] + }, + { + x: new Date(1538878500000), + y: [6602.25, 6602.41, 6599.09, 6602.41] + }, + { + x: new Date(1538878800000), + y: [6602.41, 6603.95, 6600.02, 6603.89] + }, + { + x: new Date(1538879100000), + y: [6603.89, 6604.44, 6602.52, 6603.89] + }, + { + x: new Date(1538879400000), + y: [6604.44, 6604.44, 6600, 6600.02] + }, + { + x: new Date(1538879700000), + y: [6600.02, 6602.99, 6600, 6600.23] + }, + { + x: new Date(1538880000000), + y: [6600.85, 6604.43, 6600.2, 6602.1] + }, + { + x: new Date(1538880300000), + y: [6602.19, 6604.42, 6601.7, 6603.97] + }, + { + x: new Date(1538880600000), + y: [6602.49, 6603.99, 6600.07, 6600.32] + }, + { + x: new Date(1538880900000), + y: [6600.32, 6603.5, 6600, 6603.5] + }, + { + x: new Date(1538881200000), + y: [6603.5, 6603.61, 6600.31, 6602.62] + }, + { + x: new Date(1538881500000), + y: [6601.57, 6603.9, 6597.5, 6601.74] + }, + { + x: new Date(1538881800000), + y: [6600, 6601.73, 6598.01, 6598.62] + }, + { + x: new Date(1538882100000), + y: [6598.61, 6603.9, 6598.61, 6600.09] + }, + { + x: new Date(1538882400000), + y: [6600.09, 6603.99, 6600, 6602.08] + }, + { + x: new Date(1538882700000), + y: [6602.07, 6603.99, 6602.07, 6603.86] + }, + { + x: new Date(1538883000000), + y: [6603.85, 6604.41, 6602.09, 6602.26] + }, + { + x: new Date(1538883300000), + y: [6602.6, 6605, 6602.24, 6603.02] + }, + { + x: new Date(1538883600000), + y: [6603.01, 6604.98, 6600, 6601.03] + }, + { + x: new Date(1538883900000), + y: [6601.81, 6602.6, 6601.02, 6602.3] + }, + { + x: new Date(1538884200000), + y: [6601.72, 6604.98, 6601.1, 6604.03] + }, + { + x: new Date(1538884500000), + y: [6604.17, 6604.98, 6604.02, 6604.07] + }, + { + x: new Date(1538884800000), + y: [6604.98, 6606, 6604.07, 6605.01] + }, + { + x: new Date(1538885100000), + y: [6605, 6607.52, 6605, 6607.28] + }, + ] + + + + var seriesData4 = [{ + x: new Date(1538858700000), + y: [6603.08, 6604.28, 6596.01, 6600.01] + }, + { + x: new Date(1538859600000), + y: [6601.81, 6603.21, 6597, 6599.76] + }, + { + x: new Date(1538860500000), + y: [6597.53, 6599.75, 6592.78, 6596.25] + }, + { + x: new Date(1538861400000), + y: [6596.25, 6603, 6590, 6603] + }, + { + x: new Date(1538862300000), + y: [6602.73, 6604.2, 6596.72, 6602.99] + }, + { + x: new Date(1538863200000), + y: [6602.99, 6606, 6591.06, 6591.06] + }, + { + x: new Date(1538864100000), + y: [6591.06, 6598.4, 6584.99, 6587.81] + }, + { + x: new Date(1538865000000), + y: [6587.81, 6594.99, 6583.27, 6592.43] + }, + { + x: new Date(1538865900000), + y: [6592.46, 6595, 6587.07, 6591.96] + }, + { + x: new Date(1538866800000), + y: [6591.97, 6592.22, 6588.62, 6592] + }, + { + x: new Date(1538867700000), + y: [6592.01, 6596.07, 6585, 6588.39] + }, + { + x: new Date(1538868600000), + y: [6587.6, 6597, 6587.6, 6595.65] + }, + { + x: new Date(1538869500000), + y: [6595.66, 6598.21, 6590.04, 6594.27] + }, + { + x: new Date(1538870400000), + y: [6596.44, 6600, 6594, 6594.28] + }, + { + x: new Date(1538871300000), + y: [6594.28, 6601, 6590, 6596.55] + }, + { + x: new Date(1538872200000), + y: [6598.91, 6603, 6596.61, 6601.4] + }, + { + x: new Date(1538873100000), + y: [6601.39, 6605, 6600, 6600.02] + }, + { + x: new Date(1538874000000), + y: [6600.55, 6605, 6598.28, 6600.01] + }, + { + x: new Date(1538874900000), + y: [6600, 6600.22, 6589.14, 6593.01] + }, + { + x: new Date(1538875800000), + y: [6593.15, 6605, 6592, 6602.01] + }, + { + x: new Date(1538876700000), + y: [6602.02, 6605, 6599.09, 6603.06] + }, + { + x: new Date(1538877600000), + y: [6603.07, 6604.5, 6600.79, 6602.11] + }, + { + x: new Date(1538878500000), + y: [6602.25, 6604.44, 6599.09, 6603.89] + }, + { + x: new Date(1538879400000), + y: [6604.44, 6604.44, 6600, 6602.1] + }, + { + x: new Date(1538880300000), + y: [6602.19, 6604.42, 6600, 6603.5] + }, + { + x: new Date(1538881200000), + y: [6603.5, 6603.9, 6597.5, 6598.62] + }, + { + x: new Date(1538882100000), + y: [6598.61, 6603.99, 6598.61, 6603.86] + }, + { + x: new Date(1538883000000), + y: [6603.85, 6605, 6600, 6601.03] + }, + { + x: new Date(1538883900000), + y: [6601.81, 6604.98, 6601.02, 6604.07] + }, + { + x: new Date(1538884800000), + y: [6604.98, 6605.24, 6604.07, 6605.24] + }, + ] + + + var seriesData5 = [{ + x: 1538876100000, + y: [6595.85, 6601.76, 6595.83, 6601.72] + }, + { + x: 1538876400000, + y: [6601.69, 6605, 6598.52, 6602.01] + }, + { + x: 1538876700000, + y: [6602.02, 6604.4, 6601.51, 6601.62] + }, + { + x: 1538877000000, + y: [6601.74, 6602.88, 6599.09, 6600] + }, + { + x: 1538877300000, + y: [6599.35, 6605, 6599.09, 6603.06] + }, + { + x: 1538877600000, + y: [6603.07, 6604.5, 6600.79, 6604.13] + }, + { + x: 1538877900000, + y: [6603.06, 6604.45, 6601.25, 6602.06] + }, + { + x: 1538878200000, + y: [6602.06, 6604, 6600.93, 6602.11] + }, + { + x: 1538878500000, + y: [6602.25, 6602.41, 6599.09, 6602.41] + }, + { + x: 1538878800000, + y: [6602.41, 6603.95, 6600.02, 6603.89] + }, + { + x: 1538879100000, + y: [6603.89, 6604.44, 6602.52, 6603.89] + }, + { + x: 1538879400000, + y: [6604.44, 6604.44, 6600, 6600.02] + }, + { + x: 1538879700000, + y: [6600.02, 6602.99, 6600, 6600.23] + }, + { + x: 1538880000000, + y: [6600.85, 6604.43, 6600.2, 6602.1] + }, + { + x: 1538880300000, + y: [6602.19, 6604.42, 6601.7, 6603.97] + }, + { + x: 1538880600000, + y: [6602.49, 6603.99, 6600.07, 6600.32] + }, + { + x: 1538880900000, + y: [6600.32, 6603.5, 6600, 6603.5] + }, + { + x: 1538881200000, + y: [6603.5, 6603.61, 6600.31, 6602.62] + }, + { + x: 1538881500000, + y: [6601.57, 6603.9, 6597.5, 6601.74] + }, + { + x: 1538881800000, + y: [6600, 6601.73, 6598.01, 6598.62] + }, + { + x: 1538882100000, + y: [6598.61, 6603.9, 6598.61, 6600.09] + }, + { + x: 1538882400000, + y: [6600.09, 6603.99, 6600, 6602.08] + }, + { + x: 1538882700000, + y: [6602.07, 6603.99, 6602.07, 6603.86] + }, + { + x: 1538883000000, + y: [6603.85, 6604.41, 6602.09, 6602.26] + }, + { + x: 1538883300000, + y: [6602.6, 6605, 6602.24, 6603.02] + }, + { + x: 1538883600000, + y: [6603.01, 6604.98, 6600, 6601.03] + }, + { + x: 1538883900000, + y: [6601.81, 6602.6, 6601.02, 6602.3] + }, + { + x: 1538884200000, + y: [6601.72, 6604.98, 6601.1, 6604.03] + }, + { + x: 1538884500000, + y: [6604.17, 6604.98, 6604.02, 6604.07] + }, + { + x: 1538884800000, + y: [6604.98, 6605.7, 6604.07, 6604.28] + }, + ] + + + + // var seriesData5 = [[1538856000000, [6593.34, 6600, 6582.63, 6600]], [1538856900000, [6595.16, 6604.76, 6590.73, 6593.86]]] + + var seriesData6 = [{ + x: new Date(1538856000000), + y: [6593.34, 6600, 6582.63, 6600] + }, + { + x: new Date(1538856900000), + y: [6595.16, 6604.76, 6590.73, 6593.86] + }, + { + x: new Date(1538857800000), + y: [6593.86, 6604.28, 6586.57, 6601.17] + }, + { + x: new Date(1538858700000), + y: [6603.08, 6604.28, 6596.01, 6600.01] + }, + { + x: new Date(1538859600000), + y: [6601.81, 6603.21, 6597, 6599.76] + }, + { + x: new Date(1538860500000), + y: [6597.53, 6599.75, 6592.78, 6596.25] + }, + { + x: new Date(1538861400000), + y: [6596.25, 6603, 6590, 6603] + }, + { + x: new Date(1538862300000), + y: [6602.73, 6604.2, 6596.72, 6602.99] + }, + { + x: new Date(1538863200000), + y: [6602.99, 6606, 6591.06, 6591.06] + }, + { + x: new Date(1538864100000), + y: [6591.06, 6598.4, 6584.99, 6587.81] + }, + { + x: new Date(1538865000000), + y: [6587.81, 6594.99, 6583.27, 6592.43] + }, + { + x: new Date(1538865900000), + y: [6592.46, 6595, 6587.07, 6591.96] + }, + { + x: new Date(1538866800000), + y: [6591.97, 6592.22, 6588.62, 6592] + }, + { + x: new Date(1538867700000), + y: [6592.01, 6596.07, 6585, 6588.39] + }, + { + x: new Date(1538868600000), + y: [6587.6, 6597, 6587.6, 6595.65] + }, + { + x: new Date(1538869500000), + y: [6595.66, 6598.21, 6590.04, 6594.27] + }, + { + x: new Date(1538870400000), + y: [6596.44, 6600, 6594, 6594.28] + }, + { + x: new Date(1538871300000), + y: [6594.28, 6601, 6590, 6596.55] + }, + { + x: new Date(1538872200000), + y: [6598.91, 6603, 6596.61, 6601.4] + }, + { + x: new Date(1538873100000), + y: [6601.39, 6605, 6600, 6600.02] + }, + { + x: new Date(1538874000000), + y: [6600.55, 6605, 6598.28, 6600.01] + }, + { + x: new Date(1538874900000), + y: [6600, 6600.22, 6589.14, 6593.01] + }, + { + x: new Date(1538875800000), + y: [6593.15, 6605, 6592, 6602.01] + }, + { + x: new Date(1538876700000), + y: [6602.02, 6605, 6599.09, 6603.06] + }, + { + x: new Date(1538877600000), + y: [6603.07, 6604.5, 6600.79, 6602.11] + }, + { + x: new Date(1538878500000), + y: [6602.25, 6604.44, 6599.09, 6603.89] + }, + { + x: new Date(1538879400000), + y: [6604.44, 6604.44, 6600, 6602.1] + }, + { + x: new Date(1538880300000), + y: [6602.19, 6604.42, 6600, 6603.5] + }, + { + x: new Date(1538881200000), + y: [6603.5, 6603.9, 6597.5, 6598.62] + }, + { + x: new Date(1538882100000), + y: [6598.61, 6603.9, 6598.61, 6600.09] + }, + ] + + var optionsCandlestick = { + chart: { + id: 'candles', + height: 360, + type: 'candlestick', + toolbar: { + autoSelected: 'pan', + show: false + }, + zoom: { + enabled: false + }, + }, + plotOptions: { + candlestick: { + colors: { + upward: '#32b432', + downward: '#e3324c' + } + } + }, + series: [{ + data: seriesData + }], + xaxis: { + type: 'datetime' + } + } + + var chartCandlestick = new ApexCharts( + document.querySelector("#crypto-demo1-candlestick"), + optionsCandlestick + ); + + chartCandlestick.render(); + + var options = { + chart: { + height: 160, + type: 'bar', + brush: { + enabled: true, + target: 'candles' + }, + selection: { + enabled: true, + xaxis: { + min: new Date('20 Jan 2017').getTime(), + max: new Date('10 Dec 2017').getTime() + }, + fill: { + color: '#ccc', + opacity: 0.4 + }, + stroke: { + color: '#0D47A1', + } + }, + }, + dataLabels: { + enabled: false + }, + plotOptions: { + bar: { + columnWidth: '80%', + colors: { + ranges: [ + { + from: -1000, + to: 0, + color: '#F15B46' + }, { + from: 1, + to: 10000, + color: '#FEB019' + } + ], + + }, + } + }, + stroke: { + width: 0 + }, + series: [{ + name: 'volume', + data: seriesDataLinear + }], + xaxis: { + type: 'datetime', + axisBorder: { + offsetX: 13 + } + }, + yaxis: { + labels: { + show: false + } + } + } + + var chart = new ApexCharts( + document.querySelector("#crypto-demo1-bar"), + options + ); + + chart.render(); + } + // cryptodemo2 + var cryptodemo2 = jQuery('#cryptodemo2') + if (cryptodemo2.length > 0) { + + var options = { + chart: { + height: 110, + width: 160, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [3], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#fb0792'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 8, 2, 3] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#cryptodemo2"), + options + ); + + chart.render(); + + } + // cryptodemo3 + var cryptodemo3 = jQuery('#cryptodemo3') + if (cryptodemo3.length > 0) { + + var options = { + chart: { + height: 110, + width: 160, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [3], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#2bcbba'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 8, 2, 3] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#cryptodemo3"), + options + ); + + chart.render(); + + } + // cryptodemo4 + var cryptodemo4 = jQuery('#cryptodemo4') + if (cryptodemo4.length > 0) { + + var options = { + chart: { + height: 110, + width: 160, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [3], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#45aaf2'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 8, 2, 3] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#cryptodemo4"), + options + ); + + chart.render(); + + } + // cryptodemo5 + var cryptodemo5 = jQuery('#cryptodemo5') + if (cryptodemo5.length > 0) { + + var options = { + chart: { + height: 110, + width: 160, + type: 'line', + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + }, + dataLabels: { + enabled: false + }, + stroke: { + width: [3], + curve: 'smooth', + dashArray: [0, 4] + }, + colors: ['#fd9644'], + series: [{ + name: "Session Duration", + data: [2, 1, 2, 1, 3, 8, 2, 3] + }, + ], + markers: { + size: 0, + + hover: { + sizeOffset: 6 + } + }, + xaxis: { + lines: { + show: false + }, + axisBorder: { + show: false + }, + crosshairs: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false, + }, + categories: ['01 Jan', '02 Jan', '03 Jan', '04 Jan', '05 Jan', '06 Jan', '07 Jan', '08 Jan' + ], + }, + tooltip: { + y: [{ + title: { + formatter: function (val) { + return val + " (mins)" + } + } + }, { + title: { + formatter: function (val) { + return val + " per session" + } + } + }, { + title: { + formatter: function (val) { + return val; + } + } + }] + }, + legend: { + show: false, + }, + grid: { + show: false, + borderColor: '#f1f1f1', + } + } + + var chart = new ApexCharts( + document.querySelector("#cryptodemo5"), + options + ); + + chart.render(); + } + + // cryptodemo6 + var cryptodemo6 = jQuery('#cryptodemo6') + if (cryptodemo6.length > 0) { + + var randomizeArray = function (arg) { + var array = arg.slice(); + var currentIndex = array.length, + temporaryValue, randomIndex; + + while (0 !== currentIndex) { + + randomIndex = Math.floor(Math.random() * currentIndex); + currentIndex -= 1; + + temporaryValue = array[currentIndex]; + array[currentIndex] = array[randomIndex]; + array[randomIndex] = temporaryValue; + } + + return array; + } + + // data for the sparklines that appear below header area + var sparklineData = [47, 45, 54, 38, 56, 45, 30, 31, 37, 39, 62, 30, 35, 41]; + + var options = { + chart: { + type: 'area', + height: 266, + width : 410, + sparkline: { + enabled: true, + }, + }, + stroke: { + curve: 'smooth', + width: 5, + colors: ['#ce83f2'] + }, + fill: { + opacity: 0.3, + gradient: { + enabled: true, + shadeIntensity: 0.1, + inverseColors: false, + opacityFrom: 1, + opacityTo: 0.6, + stops: [100, 100, 100, 100] + }, + }, + series: [{ + data: randomizeArray(sparklineData) + }], + yaxis: { + min: 0 + }, + colors: ['#8300c2'], + responsive: [{ + breakpoint: 1440, + options: { + chart: { + type: 'area', + width : 900, + sparkline: { + enabled: true, + }, + }, + + }, + }] + } + + var chart = new ApexCharts( + document.querySelector("#cryptodemo6"), + options + ); + + chart.render(); + } + + var cryptodemo7 = jQuery('#cryptodemo7'); + if (cryptodemo7.length > 0) { + + var optionsDonutTop = { + chart: { + height: 140, + width: 300, + type: 'donut', + }, + colors: ['#2bcbba', '#eceef3'], + labels: ['Active Deal', 'Unconfirmed Deals'], + series: [456, 128], + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + plotOptions: { + pie: { + size: 60, + donut: { + size: '72%', + }, + offsetX: 10, + offsetY: 0, + dataLabels: { + enabled: false + }, + } + }, + responsive: [{ + breakpoint: 400, + options: { + plotOptions: { + pie: { + offsetX: -35, + } + }, + + }, + }] + } + var cryptodemo7 = new ApexCharts(document.querySelector('#cryptodemo7'), optionsDonutTop); + cryptodemo7.render(); + } + + // irregular + var irregular = jQuery('#irregular') + if (irregular.length > 0) { + + var dataSeries = [ + [{ + "date": "2014-01-01", + "value": 20000000 + }, + { + "date": "2014-01-02", + "value": 10379978 + }, + { + "date": "2014-01-03", + "value": 30493749 + }, + { + "date": "2014-01-04", + "value": 10785250 + }, + { + "date": "2014-01-05", + "value": 33901904 + }, + { + "date": "2014-01-06", + "value": 11576838 + }, + { + "date": "2014-01-07", + "value": 14413854 + }, + { + "date": "2014-01-08", + "value": 15177211 + }, + { + "date": "2014-01-09", + "value": 16622100 + }, + { + "date": "2014-01-10", + "value": 17381072 + }, + { + "date": "2014-01-11", + "value": 18802310 + }, + { + "date": "2014-01-12", + "value": 15531790 + }, + { + "date": "2014-01-13", + "value": 15748881 + }, + { + "date": "2014-01-14", + "value": 18706437 + }, + { + "date": "2014-01-15", + "value": 19752685 + }, + { + "date": "2014-01-16", + "value": 21016418 + }, + { + "date": "2014-01-17", + "value": 25622924 + }, + { + "date": "2014-01-18", + "value": 25337480 + }, + { + "date": "2014-01-19", + "value": 22258882 + }, + { + "date": "2014-01-20", + "value": 23829538 + }, + { + "date": "2014-01-21", + "value": 24245689 + }, + { + "date": "2014-01-22", + "value": 26429711 + }, + { + "date": "2014-01-23", + "value": 26259017 + }, + { + "date": "2014-01-24", + "value": 25396183 + }, + { + "date": "2014-01-25", + "value": 23107346 + }, + { + "date": "2014-01-26", + "value": 28659852 + }, + { + "date": "2014-01-27", + "value": 25270783 + }, + { + "date": "2014-01-28", + "value": 26270783 + }, + { + "date": "2014-01-29", + "value": 27270783 + }, + { + "date": "2014-01-30", + "value": 28270783 + }, + { + "date": "2014-01-31", + "value": 29270783 + }, + { + "date": "2014-02-01", + "value": 30270783 + }, + { + "date": "2014-02-02", + "value": 31270783 + }, + { + "date": "2014-02-03", + "value": 32270783 + }, + { + "date": "2014-02-04", + "value": 33270783 + }, + { + "date": "2014-02-05", + "value": 28270783 + }, + { + "date": "2014-02-06", + "value": 27270783 + }, + { + "date": "2014-02-07", + "value": 35270783 + }, + { + "date": "2014-02-08", + "value": 34270783 + }, + { + "date": "2014-02-09", + "value": 28270783 + }, + { + "date": "2014-02-10", + "value": 35270783 + }, + { + "date": "2014-02-11", + "value": 36270783 + }, + { + "date": "2014-02-12", + "value": 34127078 + }, + { + "date": "2014-02-13", + "value": 33124078 + }, + { + "date": "2014-02-14", + "value": 36227078 + }, + { + "date": "2014-02-15", + "value": 37827078 + }, + { + "date": "2014-02-16", + "value": 36427073 + }, + { + "date": "2014-02-17", + "value": 37570783 + }, + { + "date": "2014-02-18", + "value": 38627073 + }, + { + "date": "2014-02-19", + "value": 37727078 + }, + { + "date": "2014-02-20", + "value": 38827073 + }, + { + "date": "2014-02-21", + "value": 40927078 + }, + { + "date": "2014-02-22", + "value": 41027078 + }, + { + "date": "2014-02-23", + "value": 42127073 + }, + { + "date": "2014-02-24", + "value": 43220783 + }, + { + "date": "2014-02-25", + "value": 44327078 + }, + { + "date": "2014-02-26", + "value": 40427078 + }, + { + "date": "2014-02-27", + "value": 41027078 + }, + { + "date": "2014-02-28", + "value": 45627078 + }, + { + "date": "2014-03-01", + "value": 44727078 + }, + { + "date": "2014-03-02", + "value": 44227078 + }, + { + "date": "2014-03-03", + "value": 45227078 + }, + { + "date": "2014-03-04", + "value": 46027078 + }, + { + "date": "2014-03-05", + "value": 46927078 + }, + { + "date": "2014-03-06", + "value": 47027078 + }, + { + "date": "2014-03-07", + "value": 46227078 + }, + { + "date": "2014-03-08", + "value": 47027078 + }, + { + "date": "2014-03-09", + "value": 48027078 + }, + { + "date": "2014-03-10", + "value": 47027078 + }, + { + "date": "2014-03-11", + "value": 47027078 + }, + { + "date": "2014-03-12", + "value": 48017078 + }, + { + "date": "2014-03-13", + "value": 48077078 + }, + { + "date": "2014-03-14", + "value": 48087078 + }, + { + "date": "2014-03-15", + "value": 48017078 + }, + { + "date": "2014-03-16", + "value": 48047078 + }, + { + "date": "2014-03-17", + "value": 48067078 + }, + { + "date": "2014-03-18", + "value": 48077078 + }, + { + "date": "2014-03-19", + "value": 48027074 + }, + { + "date": "2014-03-20", + "value": 48927079 + }, + { + "date": "2014-03-21", + "value": 48727071 + }, + { + "date": "2014-03-22", + "value": 48127072 + }, + { + "date": "2014-03-23", + "value": 48527072 + }, + { + "date": "2014-03-24", + "value": 48627027 + }, + { + "date": "2014-03-25", + "value": 48027040 + }, + { + "date": "2014-03-26", + "value": 48027043 + }, + { + "date": "2014-03-27", + "value": 48057022 + }, + { + "date": "2014-03-28", + "value": 49057022 + }, + { + "date": "2014-03-29", + "value": 50057022 + }, + { + "date": "2014-03-30", + "value": 51057022 + }, + { + "date": "2014-03-31", + "value": 52057022 + }, + { + "date": "2014-04-01", + "value": 53057022 + }, + { + "date": "2014-04-02", + "value": 54057022 + }, + { + "date": "2014-04-03", + "value": 52057022 + }, + { + "date": "2014-04-04", + "value": 55057022 + }, + { + "date": "2014-04-05", + "value": 58270783 + }, + { + "date": "2014-04-06", + "value": 56270783 + }, + { + "date": "2014-04-07", + "value": 55270783 + }, + { + "date": "2014-04-08", + "value": 58270783 + }, + { + "date": "2014-04-09", + "value": 59270783 + }, + { + "date": "2014-04-10", + "value": 60270783 + }, + { + "date": "2014-04-11", + "value": 61270783 + }, + { + "date": "2014-04-12", + "value": 62270783 + }, + { + "date": "2014-04-13", + "value": 63270783 + }, + { + "date": "2014-04-14", + "value": 64270783 + }, + { + "date": "2014-04-15", + "value": 65270783 + }, + { + "date": "2014-04-16", + "value": 66270783 + }, + { + "date": "2014-04-17", + "value": 67270783 + }, + { + "date": "2014-04-18", + "value": 68270783 + }, + { + "date": "2014-04-19", + "value": 69270783 + }, + { + "date": "2014-04-20", + "value": 70270783 + }, + { + "date": "2014-04-21", + "value": 71270783 + }, + { + "date": "2014-04-22", + "value": 72270783 + }, + { + "date": "2014-04-23", + "value": 73270783 + }, + { + "date": "2014-04-24", + "value": 74270783 + }, + { + "date": "2014-04-25", + "value": 75270783 + }, + { + "date": "2014-04-26", + "value": 76660783 + }, + { + "date": "2014-04-27", + "value": 77270783 + }, + { + "date": "2014-04-28", + "value": 78370783 + }, + { + "date": "2014-04-29", + "value": 79470783 + }, + { + "date": "2014-04-30", + "value": 80170783 + } + ], + [{ + "date": "2014-01-01", + "value": 150000000 + }, + { + "date": "2014-01-02", + "value": 160379978 + }, + { + "date": "2014-01-03", + "value": 170493749 + }, + { + "date": "2014-01-04", + "value": 160785250 + }, + { + "date": "2014-01-05", + "value": 167391904 + }, + { + "date": "2014-01-06", + "value": 161576838 + }, + { + "date": "2014-01-07", + "value": 161413854 + }, + { + "date": "2014-01-08", + "value": 152177211 + }, + { + "date": "2014-01-09", + "value": 143762210 + }, + { + "date": "2014-01-10", + "value": 144381072 + }, + { + "date": "2014-01-11", + "value": 154352310 + }, + { + "date": "2014-01-12", + "value": 165531790 + }, + { + "date": "2014-01-13", + "value": 175748881 + }, + { + "date": "2014-01-14", + "value": 187064037 + }, + { + "date": "2014-01-15", + "value": 197520685 + }, + { + "date": "2014-01-16", + "value": 210176418 + }, + { + "date": "2014-01-17", + "value": 196122924 + }, + { + "date": "2014-01-18", + "value": 207337480 + }, + { + "date": "2014-01-19", + "value": 200258882 + }, + { + "date": "2014-01-20", + "value": 186829538 + }, + { + "date": "2014-01-21", + "value": 192456897 + }, + { + "date": "2014-01-22", + "value": 204299711 + }, + { + "date": "2014-01-23", + "value": 192759017 + }, + { + "date": "2014-01-24", + "value": 203596183 + }, + { + "date": "2014-01-25", + "value": 208107346 + }, + { + "date": "2014-01-26", + "value": 196359852 + }, + { + "date": "2014-01-27", + "value": 192570783 + }, + { + "date": "2014-01-28", + "value": 177967768 + }, + { + "date": "2014-01-29", + "value": 190632803 + }, + { + "date": "2014-01-30", + "value": 203725316 + }, + { + "date": "2014-01-31", + "value": 218226177 + }, + { + "date": "2014-02-01", + "value": 210698669 + }, + { + "date": "2014-02-02", + "value": 217640656 + }, + { + "date": "2014-02-03", + "value": 216142362 + }, + { + "date": "2014-02-04", + "value": 201410971 + }, + { + "date": "2014-02-05", + "value": 196704289 + }, + { + "date": "2014-02-06", + "value": 190436945 + }, + { + "date": "2014-02-07", + "value": 178891686 + }, + { + "date": "2014-02-08", + "value": 171613962 + }, + { + "date": "2014-02-09", + "value": 157579773 + }, + { + "date": "2014-02-10", + "value": 158677098 + }, + { + "date": "2014-02-11", + "value": 147129977 + }, + { + "date": "2014-02-12", + "value": 151561876 + }, + { + "date": "2014-02-13", + "value": 151627421 + }, + { + "date": "2014-02-14", + "value": 143543872 + }, + { + "date": "2014-02-15", + "value": 136581057 + }, + { + "date": "2014-02-16", + "value": 135560715 + }, + { + "date": "2014-02-17", + "value": 122625263 + }, + { + "date": "2014-02-18", + "value": 112091484 + }, + { + "date": "2014-02-19", + "value": 98810329 + }, + { + "date": "2014-02-20", + "value": 99882912 + }, + { + "date": "2014-02-21", + "value": 94943095 + }, + { + "date": "2014-02-22", + "value": 104875743 + }, + { + "date": "2014-02-23", + "value": 116383678 + }, + { + "date": "2014-02-24", + "value": 125028841 + }, + { + "date": "2014-02-25", + "value": 123967310 + }, + { + "date": "2014-02-26", + "value": 133167029 + }, + { + "date": "2014-02-27", + "value": 128577263 + }, + { + "date": "2014-02-28", + "value": 115836969 + }, + { + "date": "2014-03-01", + "value": 119264529 + }, + { + "date": "2014-03-02", + "value": 109363374 + }, + { + "date": "2014-03-03", + "value": 113985628 + }, + { + "date": "2014-03-04", + "value": 114650999 + }, + { + "date": "2014-03-05", + "value": 110866108 + }, + { + "date": "2014-03-06", + "value": 96473454 + }, + { + "date": "2014-03-07", + "value": 104075886 + }, + { + "date": "2014-03-08", + "value": 103568384 + }, + { + "date": "2014-03-09", + "value": 101534883 + }, + { + "date": "2014-03-10", + "value": 115825447 + }, + { + "date": "2014-03-11", + "value": 126133916 + }, + { + "date": "2014-03-12", + "value": 116502109 + }, + { + "date": "2014-03-13", + "value": 130169411 + }, + { + "date": "2014-03-14", + "value": 124296886 + }, + { + "date": "2014-03-15", + "value": 126347399 + }, + { + "date": "2014-03-16", + "value": 131483669 + }, + { + "date": "2014-03-17", + "value": 142811333 + }, + { + "date": "2014-03-18", + "value": 129675396 + }, + { + "date": "2014-03-19", + "value": 115514483 + }, + { + "date": "2014-03-20", + "value": 117630630 + }, + { + "date": "2014-03-21", + "value": 122340239 + }, + { + "date": "2014-03-22", + "value": 132349091 + }, + { + "date": "2014-03-23", + "value": 125613305 + }, + { + "date": "2014-03-24", + "value": 135592466 + }, + { + "date": "2014-03-25", + "value": 123408762 + }, + { + "date": "2014-03-26", + "value": 111991454 + }, + { + "date": "2014-03-27", + "value": 116123955 + }, + { + "date": "2014-03-28", + "value": 112817214 + }, + { + "date": "2014-03-29", + "value": 113029590 + }, + { + "date": "2014-03-30", + "value": 108753398 + }, + { + "date": "2014-03-31", + "value": 99383763 + }, + { + "date": "2014-04-01", + "value": 100151737 + }, + { + "date": "2014-04-02", + "value": 94985209 + }, + { + "date": "2014-04-03", + "value": 82913669 + }, + { + "date": "2014-04-04", + "value": 78748268 + }, + { + "date": "2014-04-05", + "value": 63829135 + }, + { + "date": "2014-04-06", + "value": 78694727 + }, + { + "date": "2014-04-07", + "value": 80868994 + }, + { + "date": "2014-04-08", + "value": 93799013 + }, + { + "date": "2014-04-09", + "value": 99042416 + }, + { + "date": "2014-04-10", + "value": 97298692 + }, + { + "date": "2014-04-11", + "value": 83353499 + }, + { + "date": "2014-04-12", + "value": 71248129 + }, + { + "date": "2014-04-13", + "value": 75253744 + }, + { + "date": "2014-04-14", + "value": 68976648 + }, + { + "date": "2014-04-15", + "value": 71002284 + }, + { + "date": "2014-04-16", + "value": 75052401 + }, + { + "date": "2014-04-17", + "value": 83894030 + }, + { + "date": "2014-04-18", + "value": 90236528 + }, + { + "date": "2014-04-19", + "value": 99739114 + }, + { + "date": "2014-04-20", + "value": 96407136 + }, + { + "date": "2014-04-21", + "value": 108323177 + }, + { + "date": "2014-04-22", + "value": 101578914 + }, + { + "date": "2014-04-23", + "value": 115877608 + }, + { + "date": "2014-04-24", + "value": 112088857 + }, + { + "date": "2014-04-25", + "value": 112071353 + }, + { + "date": "2014-04-26", + "value": 101790062 + }, + { + "date": "2014-04-27", + "value": 115003761 + }, + { + "date": "2014-04-28", + "value": 120457727 + }, + { + "date": "2014-04-29", + "value": 118253926 + }, + { + "date": "2014-04-30", + "value": 117956992 + } + ], + [{ + "date": "2014-01-01", + "value": 50000000 + }, + { + "date": "2014-01-02", + "value": 60379978 + }, + { + "date": "2014-01-03", + "value": 40493749 + }, + { + "date": "2014-01-04", + "value": 60785250 + }, + { + "date": "2014-01-05", + "value": 67391904 + }, + { + "date": "2014-01-06", + "value": 61576838 + }, + { + "date": "2014-01-07", + "value": 61413854 + }, + { + "date": "2014-01-08", + "value": 82177211 + }, + { + "date": "2014-01-09", + "value": 103762210 + }, + { + "date": "2014-01-10", + "value": 84381072 + }, + { + "date": "2014-01-11", + "value": 54352310 + }, + { + "date": "2014-01-12", + "value": 65531790 + }, + { + "date": "2014-01-13", + "value": 75748881 + }, + { + "date": "2014-01-14", + "value": 47064037 + }, + { + "date": "2014-01-15", + "value": 67520685 + }, + { + "date": "2014-01-16", + "value": 60176418 + }, + { + "date": "2014-01-17", + "value": 66122924 + }, + { + "date": "2014-01-18", + "value": 57337480 + }, + { + "date": "2014-01-19", + "value": 100258882 + }, + { + "date": "2014-01-20", + "value": 46829538 + }, + { + "date": "2014-01-21", + "value": 92456897 + }, + { + "date": "2014-01-22", + "value": 94299711 + }, + { + "date": "2014-01-23", + "value": 62759017 + }, + { + "date": "2014-01-24", + "value": 103596183 + }, + { + "date": "2014-01-25", + "value": 108107346 + }, + { + "date": "2014-01-26", + "value": 66359852 + }, + { + "date": "2014-01-27", + "value": 62570783 + }, + { + "date": "2014-01-28", + "value": 77967768 + }, + { + "date": "2014-01-29", + "value": 60632803 + }, + { + "date": "2014-01-30", + "value": 103725316 + }, + { + "date": "2014-01-31", + "value": 98226177 + }, + { + "date": "2014-02-01", + "value": 60698669 + }, + { + "date": "2014-02-02", + "value": 67640656 + }, + { + "date": "2014-02-03", + "value": 66142362 + }, + { + "date": "2014-02-04", + "value": 101410971 + }, + { + "date": "2014-02-05", + "value": 66704289 + }, + { + "date": "2014-02-06", + "value": 60436945 + }, + { + "date": "2014-02-07", + "value": 78891686 + }, + { + "date": "2014-02-08", + "value": 71613962 + }, + { + "date": "2014-02-09", + "value": 107579773 + }, + { + "date": "2014-02-10", + "value": 58677098 + }, + { + "date": "2014-02-11", + "value": 87129977 + }, + { + "date": "2014-02-12", + "value": 51561876 + }, + { + "date": "2014-02-13", + "value": 51627421 + }, + { + "date": "2014-02-14", + "value": 83543872 + }, + { + "date": "2014-02-15", + "value": 66581057 + }, + { + "date": "2014-02-16", + "value": 65560715 + }, + { + "date": "2014-02-17", + "value": 62625263 + }, + { + "date": "2014-02-18", + "value": 92091484 + }, + { + "date": "2014-02-19", + "value": 48810329 + }, + { + "date": "2014-02-20", + "value": 49882912 + }, + { + "date": "2014-02-21", + "value": 44943095 + }, + { + "date": "2014-02-22", + "value": 104875743 + }, + { + "date": "2014-02-23", + "value": 96383678 + }, + { + "date": "2014-02-24", + "value": 105028841 + }, + { + "date": "2014-02-25", + "value": 63967310 + }, + { + "date": "2014-02-26", + "value": 63167029 + }, + { + "date": "2014-02-27", + "value": 68577263 + }, + { + "date": "2014-02-28", + "value": 95836969 + }, + { + "date": "2014-03-01", + "value": 99264529 + }, + { + "date": "2014-03-02", + "value": 109363374 + }, + { + "date": "2014-03-03", + "value": 93985628 + }, + { + "date": "2014-03-04", + "value": 94650999 + }, + { + "date": "2014-03-05", + "value": 90866108 + }, + { + "date": "2014-03-06", + "value": 46473454 + }, + { + "date": "2014-03-07", + "value": 84075886 + }, + { + "date": "2014-03-08", + "value": 103568384 + }, + { + "date": "2014-03-09", + "value": 101534883 + }, + { + "date": "2014-03-10", + "value": 95825447 + }, + { + "date": "2014-03-11", + "value": 66133916 + }, + { + "date": "2014-03-12", + "value": 96502109 + }, + { + "date": "2014-03-13", + "value": 80169411 + }, + { + "date": "2014-03-14", + "value": 84296886 + }, + { + "date": "2014-03-15", + "value": 86347399 + }, + { + "date": "2014-03-16", + "value": 31483669 + }, + { + "date": "2014-03-17", + "value": 82811333 + }, + { + "date": "2014-03-18", + "value": 89675396 + }, + { + "date": "2014-03-19", + "value": 95514483 + }, + { + "date": "2014-03-20", + "value": 97630630 + }, + { + "date": "2014-03-21", + "value": 62340239 + }, + { + "date": "2014-03-22", + "value": 62349091 + }, + { + "date": "2014-03-23", + "value": 65613305 + }, + { + "date": "2014-03-24", + "value": 65592466 + }, + { + "date": "2014-03-25", + "value": 63408762 + }, + { + "date": "2014-03-26", + "value": 91991454 + }, + { + "date": "2014-03-27", + "value": 96123955 + }, + { + "date": "2014-03-28", + "value": 92817214 + }, + { + "date": "2014-03-29", + "value": 93029590 + }, + { + "date": "2014-03-30", + "value": 108753398 + }, + { + "date": "2014-03-31", + "value": 49383763 + }, + { + "date": "2014-04-01", + "value": 100151737 + }, + { + "date": "2014-04-02", + "value": 44985209 + }, + { + "date": "2014-04-03", + "value": 52913669 + }, + { + "date": "2014-04-04", + "value": 48748268 + }, + { + "date": "2014-04-05", + "value": 23829135 + }, + { + "date": "2014-04-06", + "value": 58694727 + }, + { + "date": "2014-04-07", + "value": 50868994 + }, + { + "date": "2014-04-08", + "value": 43799013 + }, + { + "date": "2014-04-09", + "value": 4042416 + }, + { + "date": "2014-04-10", + "value": 47298692 + }, + { + "date": "2014-04-11", + "value": 53353499 + }, + { + "date": "2014-04-12", + "value": 71248129 + }, + { + "date": "2014-04-13", + "value": 75253744 + }, + { + "date": "2014-04-14", + "value": 68976648 + }, + { + "date": "2014-04-15", + "value": 71002284 + }, + { + "date": "2014-04-16", + "value": 75052401 + }, + { + "date": "2014-04-17", + "value": 83894030 + }, + { + "date": "2014-04-18", + "value": 50236528 + }, + { + "date": "2014-04-19", + "value": 59739114 + }, + { + "date": "2014-04-20", + "value": 56407136 + }, + { + "date": "2014-04-21", + "value": 108323177 + }, + { + "date": "2014-04-22", + "value": 101578914 + }, + { + "date": "2014-04-23", + "value": 95877608 + }, + { + "date": "2014-04-24", + "value": 62088857 + }, + { + "date": "2014-04-25", + "value": 92071353 + }, + { + "date": "2014-04-26", + "value": 81790062 + }, + { + "date": "2014-04-27", + "value": 105003761 + }, + { + "date": "2014-04-28", + "value": 100457727 + }, + { + "date": "2014-04-29", + "value": 98253926 + }, + { + "date": "2014-04-30", + "value": 67956992 + } + ] + ] + var ts1 = 1388534400000; + var ts2 = 1388620800000; + var ts3 = 1389052800000; + + var dataSet = [[],[],[]]; + + for(var i=0; i<12; i++) { + ts1 = ts1 + 86400000; + var innerArr = [ts1, dataSeries[2][i].value]; + dataSet[0].push(innerArr) + } + for(var i=0; i<18; i++) { + ts2 = ts2 + 86400000; + var innerArr = [ts2, dataSeries[1][i].value]; + dataSet[1].push(innerArr) + } + for(var i=0; i<12; i++) { + ts3 = ts3 + 86400000; + var innerArr = [ts3, dataSeries[0][i].value]; + dataSet[2].push(innerArr) + } + + var options = { + chart: { + type: 'area', + stacked: false, + height: 350, + zoom: { + enabled: false + }, + }, + plotOptions: { + line: { + curve: 'smooth', + } + }, + dataLabels: { + enabled: false + }, + series: [{ + name: 'PRODUCT A', + data: dataSet[0] + }, { + name: 'PRODUCT B', + data: dataSet[1] + }, { + name: 'PRODUCT C', + data: dataSet[2] + }], + markers: { + size: 0, + style: 'full', + }, + fill: { + gradient: { + enabled: true, + shadeIntensity: 1, + inverseColors: false, + opacityFrom: 0.45, + opacityTo: 0.05, + stops: [20, 100, 100, 100] + }, + }, + yaxis: { + labels: { + style: { + color: '#8e8da4', + }, + offsetX: 0, + formatter: function(val) { + return (val / 1000000).toFixed(2); + }, + }, + axisBorder: { + show: false, + }, + axisTicks: { + show: false + } + }, + xaxis: { + type: 'datetime', + tickAmount: 8, + min: new Date("01/01/2014").getTime(), + max: new Date("01/20/2014").getTime(), + labels: { + rotate: -15, + rotateAlways: true, + formatter: function(val, timestamp) { + return moment(new Date(timestamp)).format("DD MMM YYYY") + } + } + }, + title: { + text: 'Irregular Data in Time Series', + align: 'left', + offsetX: 14 + }, + tooltip: { + shared: true + }, + legend: { + position: 'top', + horizontalAlign: 'right', + offsetX: -10 + } + } + + var chart = new ApexCharts( + document.querySelector("#irregular"), + options + ); + + chart.render(); + + } + + + + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + $(function(){ + var autonumeric = jQuery(".autonumber"); + if (autonumeric.length > 0) { + /****** Spanish-numeric ******/ + new AutoNumeric('#Spanish', 'Spanish'); + /****** NorthAmerican-numeric ******/ + new AutoNumeric('#NorthAmerican', 'NorthAmerican'); + /****** British-numeric ******/ + new AutoNumeric('#British', 'British'); + /****** Swiss-numeric ******/ + new AutoNumeric('#Swiss', 'Swiss'); + /****** Japanese-numeric ******/ + new AutoNumeric('#Japanese', 'Japanese'); + /****** Chinese-numeric ******/ + new AutoNumeric('#Chinese', 'Chinese'); + /****** Brazilian-numeric ******/ + new AutoNumeric('#Brazilian', 'Brazilian'); + /****** Turkish-numeric ******/ + new AutoNumeric('#Turkish', 'Turkish'); + /****** DecimalCharCommaSeparator-numeric ******/ + new AutoNumeric('#DecimalCharCommaSeparator', 'dotDecimalCharCommaSeparator'); + /****** commaDecimalCharDotSeparator-numeric ******/ + new AutoNumeric('#commaDecimalCharDotSeparator', 'commaDecimalCharDotSeparator'); + /****** integer-numeric ******/ + new AutoNumeric('#integer', 'integer'); + /****** integerPos-numeric ******/ + new AutoNumeric('#integerPos', 'integerPos'); + /****** integerNeg-numeric ******/ + new AutoNumeric('#integerNeg', 'integerNeg'); + /****** float-numeric ******/ + new AutoNumeric('#float', 'float'); + /****** floatPos-numeric ******/ + new AutoNumeric('#floatPos', 'floatPos'); + /****** floatNeg-numeric ******/ + new AutoNumeric('#floatNeg', 'floatNeg'); + /****** numeric-numeric ******/ + new AutoNumeric('#numeric', 'numeric'); + /****** numericPos-numeric ******/ + new AutoNumeric('#numericPos', 'numericPos'); + /****** numericNeg-numeric ******/ + new AutoNumeric('#numericNeg', 'numericNeg'); + /****** euro-numeric ******/ + new AutoNumeric('#euro', 'euro'); + /****** euroPos-numeric ******/ + new AutoNumeric('#euroPos', 'euroPos'); + /****** euroNeg-numeric ******/ + new AutoNumeric('#euroNeg', 'euroNeg'); + /****** euroSpace-numeric ******/ + new AutoNumeric('#euroSpace', 'euroSpace'); + /****** euroSpacePos-numeric ******/ + new AutoNumeric('#euroSpacePos', 'euroSpacePos'); + /****** euroSpaceNeg-numeric ******/ + new AutoNumeric('#euroSpaceNeg', 'euroSpaceNeg'); + /****** dollar-numeric ******/ + new AutoNumeric('#dollar', 'dollar'); + /****** dollarPos-numeric ******/ + new AutoNumeric('#dollarPos', 'dollarPos'); + /****** dollarNeg-numeric ******/ + new AutoNumeric('#dollarNeg', 'dollarNeg'); + /****** french-numeric ******/ + new AutoNumeric('#percentageEU2dec', 'percentageEU2dec'); + /****** percentageEU2decPos-numeric ******/ + new AutoNumeric('#percentageEU2decPos', 'percentageEU2decPos'); + /****** percentageEU2decNeg-numeric ******/ + new AutoNumeric('#percentageEU2decNeg', 'percentageEU2decNeg'); + /****** percentageUS2dec-numeric ******/ + new AutoNumeric('#percentageUS2dec', 'percentageUS2dec'); + /****** percentageUS3decPos-numeric ******/ + new AutoNumeric('#percentageUS3decPos', 'percentageUS3decPos'); + /****** percentageUS3decNeg-numeric ******/ + new AutoNumeric('#percentageUS3decNeg', 'percentageUS3decNeg'); + } + + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var customfile = jQuery(".custom-file-input"); + if (customfile.length > 0) { + bsCustomFileInput.init(); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var c3Chart = jQuery(".c3chart-wrapper"); + if (c3Chart.length > 0) { + var c3demo1 = jQuery("#c3demo1"); + if (c3demo1.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo1', + data: { + columns: [ + ['data1', 30, 200, 100, 400, 150, 250], + ['data2', 50, 20, 10, 40, 15, 25] + ], + colors: { + data1: '#8E54E9', + data2: '#4776E6' + }, + } + }); + } + var c3demo2 = jQuery("#c3demo2"); + if (c3demo2.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo2', + data: { + columns: [ + ['data1', 300, 350, 300, 0, 0, 0], + ['data2', 130, 100, 140, 200, 150, 50] + ], + colors: { + data1: '#8E54E9', + data2: '#4776E6' + }, + types: { + data1: 'area', + data2: 'area-spline' + } + } + }); + } + var c3demo3 = jQuery("#c3demo3"); + if (c3demo3.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo3', + data: { + columns: [ + ['data1', 30, 200, 100, 400, 150, 250], + ['data2', 130, 100, 140, 200, 150, 50], + ['data3', 130, 150, 200, 300, 200, 100] + ], + colors: { + data1: '#8E54E9', + data2: '#4776E6', + data3: '#ffbc1d' + }, + type: 'bar' + }, + bar: { + width: { + ratio: 0.5 // this makes bar width 50% of length between ticks + } + } + }); + } + var c3demo4 = jQuery("#c3demo4"); + if (c3demo4.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo4', + data: { + columns: [ + ['data1', -30, 200, 200, 400, -150, 250], + ['data2', 130, 100, -100, 200, -150, 50], + ['data3', -230, 200, 200, -300, 250, 250], + ['data4', 100, -50, 150, 200, -300, -100] + ], + type: 'bar', + colors: { + data1: '#8E54E9', + data2: '#4776E6', + data3: '#ffbc1d', + data4: '#25d09a' + }, + groups: [ + ['data1', 'data2', 'data3', 'data4'] + ] + }, + grid: { + y: { + lines: [{ value: 0 }] + } + } + }); + } + var c3demo5 = jQuery("#c3demo5"); + if (c3demo5.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo5', + data: { + columns: [ + ["setosa", 0.2, 0.2, 0.2, 0.2, 0.2, 0.4, 0.3, 0.2, 0.2, 0.1, 0.2, 0.2, 0.1, 0.1, 0.2, 0.4, 0.4, 0.3, 0.3, 0.3, 0.2, 0.4, 0.2, 0.5, 0.2, 0.2, 0.4, 0.2, 0.2, 0.2, 0.2, 0.4, 0.1, 0.2, 0.2, 0.2, 0.2, 0.1, 0.2, 0.2, 0.3, 0.3, 0.2, 0.6, 0.4, 0.3, 0.2, 0.2, 0.2, 0.2], + ["versicolor", 1.4, 1.5, 1.5, 1.3, 1.5, 1.3, 1.6, 1.0, 1.3, 1.4, 1.0, 1.5, 1.0, 1.4, 1.3, 1.4, 1.5, 1.0, 1.5, 1.1, 1.8, 1.3, 1.5, 1.2, 1.3, 1.4, 1.4, 1.7, 1.5, 1.0, 1.1, 1.0, 1.2, 1.6, 1.5, 1.6, 1.5, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1.0, 1.3, 1.2, 1.3, 1.3, 1.1, 1.3], + ["virginica", 2.5, 1.9, 2.1, 1.8, 2.2, 2.1, 1.7, 1.8, 1.8, 2.5, 2.0, 1.9, 2.1, 2.0, 2.4, 2.3, 1.8, 2.2, 2.3, 1.5, 2.3, 2.0, 2.0, 1.8, 2.1, 1.8, 1.8, 1.8, 2.1, 1.6, 1.9, 2.0, 2.2, 1.5, 1.4, 2.3, 2.4, 1.8, 1.8, 2.1, 2.4, 2.3, 1.9, 2.3, 2.5, 2.3, 1.9, 2.0, 2.3, 1.8], + ], + colors: { + setosa: '#8E54E9', + versicolor: '#4776E6', + virginica: '#ffbc1d' + }, + type: 'pie' + } + }); + } + var c3demo6 = jQuery("#c3demo6"); + if (c3demo6.length > 0) { + var chart = c3.generate({ + bindto: '#c3demo6', + data: { + columns: [ + ["desktop", 0.2, 0.2, 0.2, 0.2, 0.2, 0.4, 0.3, 0.2, 0.2, 0.1, 0.2, 0.2, 0.1, 0.1, 0.2, 0.4, 0.4, 0.3, 0.3, 0.3, 0.2, 0.4, 0.2, 0.5, 0.2, 0.2, 0.4, 0.2, 0.2, 0.2, 0.2, 0.4, 0.1, 0.2, 0.2, 0.2, 0.2, 0.1, 0.2, 0.2, 0.3, 0.3, 0.2, 0.6, 0.4, 0.3, 0.2, 0.2, 0.2, 0.2], + ["tablet", 1.4, 1.5, 1.5, 1.3, 1.5, 1.3, 1.6, 1.0, 1.3, 1.4, 1.0, 1.5, 1.0, 1.4, 1.3, 1.4, 1.5, 1.0, 1.5, 1.1, 1.8, 1.3, 1.5, 1.2, 1.3, 1.4, 1.4, 1.7, 1.5, 1.0, 1.1, 1.0, 1.2, 1.6, 1.5, 1.6, 1.5, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1.0, 1.3, 1.2, 1.3, 1.3, 1.1, 1.3], + ["mobile", 2.5, 1.9, 2.1, 1.8, 2.2, 2.1, 1.7, 1.8, 1.8, 2.5, 2.0, 1.9, 2.1, 2.0, 2.4, 2.3, 1.8, 2.2, 2.3, 1.5, 2.3, 2.0, 2.0, 1.8, 2.1, 1.8, 1.8, 1.8, 2.1, 1.6, 1.9, 2.0, 2.2, 1.5, 1.4, 2.3, 2.4, 1.8, 1.8, 2.1, 2.4, 2.3, 1.9, 2.3, 2.5, 2.3, 1.9, 2.0, 2.3, 1.8], + ], + colors: { + desktop: '#8E54E9', + tablet: '#4776E6', + mobile: '#ffbc1d' + }, + type: 'donut', + }, + donut: { + title: "Browser Statistic" + } + }); + } + } + }); + +})(window, document, window.jQuery, document.ready); +(function(window, document, $, undefined){ + + $(function(){ + var chartistChart = jQuery(".chartist-wrapper"); + if (chartistChart.length > 0) { + + //simple line chart + var chartistdemo1 = jQuery("#chartistdemo1"); + if (chartistdemo1.length > 0) { + new Chartist.Line('.ct-chart-line', { + labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'], + series: [ + [12, 9, 7, 8, 5], + [2, 1, 3.5, 7, 3], + [1, 3, 4, 5, 6] + ] + }, { + fullWidth: true, + chartPadding: { + right: 30, + left:0 + }, + axisY: { + offset: 30 + }, + }); + + } + var chartistdemo2 = jQuery("#chartistdemo2"); + if (chartistdemo2.length > 0) { + new Chartist.Line('.ct-chart-area', { + labels: [1, 2, 3, 4, 5, 6, 7, 8], + series: [ + [5, 9, 7, 8, 5, 3, 5, 4] + ] + }, { + low: 0, + showArea: true, + fullWidth: true, + axisY: { + offset: 20 + }, + chartPadding: { + right: 10, + left:0 + } + }); + } + var chartistdemo3 = jQuery("#chartistdemo3"); + if (chartistdemo3.length > 0) { + var data = { + labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + series: [ + [6, 4, 8, 7, 6, 4, 8, 7, 6, 4, 8, 7], + [4, 3, 7, 6.5, 4, 3, 7, 6.5, 4, 3, 7, 6.5], + [8, 3, 1, 6, 8, 3, 1, 6, 8, 3, 1, 6] + ] + }; + + var options = { + seriesBarDistance: 20, + axisY: { + offset: 20, + scaleMinSpace: 15 + }, + }; + + + + var responsiveOptions = [ + ['screen and (max-width: 640px)', { + seriesBarDistance: 0, + axisX: { + labelInterpolationFnc: function(value) { + return value[0]; + } + } + }] + ]; + + new Chartist.Bar('.ct-chart-bar', data, options, responsiveOptions); + } + var chartistdemo4 = jQuery("#chartistdemo4"); + if (chartistdemo4.length > 0) { + new Chartist.Bar('.ct-chart-stacked', { + labels: ['Q1', 'Q2', 'Q3', 'Q4'], + series: [ + [800000, 1200000, 1400000, 1300000], + [200000, 400000, 500000, 300000], + [100000, 200000, 400000, 600000] + ] + }, { + stackBars: true, + axisY: { + labelInterpolationFnc: function(value) { + return (value / 1000) + 'k'; + } + } + }).on('draw', function(data) { + if (data.type === 'bar') { + data.element.attr({ + style: 'stroke-width: 30px' + }); + } + }); + } + var chartistdemo5 = jQuery("#chartistdemo5"); + if (chartistdemo5.length > 0) { + new Chartist.Bar('.ct-chart-horizontalbar', { + labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'], + series: [ + [5, 4, 3, 7, 5, 10, 3], + [3, 2, 9, 5, 4, 6, 4] + ] + }, { + seriesBarDistance: 10, + reverseData: true, + horizontalBars: true, + axisY: { + offset: 50 + }, + chartPadding: { + right: 20, + left:0 + } + }); + } + var chartistdemo6 = jQuery("#chartistdemo6"); + if (chartistdemo6.length > 0) { + var data = { + series: [4, 3, 4, 3, 2] + }; + + var sum = function(a, b) { return a + b }; + + new Chartist.Pie('.ct-chart-pie', data, { + labelInterpolationFnc: function(value) { + return Math.round(value / data.series.reduce(sum) * 100) + '%'; + } + }); + } + var chartistdemo7 = jQuery("#chartistdemo7"); + if (chartistdemo7.length > 0) { + new Chartist.Pie('.ct-chart-donut', { + series: [20, 10, 30, 40] + }, { + donut: true, + donutWidth: 60, + donutSolid: true, + startAngle: 270, + showLabel: true + }); + } + var chartistdemo8 = jQuery("#chartistdemo8"); + if (chartistdemo8.length > 0) { + new Chartist.Pie('.ct-chart-gauge', { + series: [20, 10, 30, 40] + }, { + donut: true, + donutWidth: 60, + donutSolid: true, + startAngle: 270, + total: 200, + showLabel: true + }); + } + //analytical dashboard chart + var analytical1 = jQuery("#analytical1"); + if (analytical1.length > 0) { + var data = { + series: [ + [6, -5, 7, -6, 4, -3] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical1', data, options); + } + //analytical dashboard chart + var analytical2 = jQuery("#analytical2"); + if (analytical2.length > 0) { + var data = { + series: [ + [4, -7, 6, -3, 5, -2] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical2', data, options); + } + //analytical dashboard chart + var analytical3 = jQuery("#analytical3"); + if (analytical3.length > 0) { + var data = { + series: [ + [6, -3, 5, -7, 2, -4] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical3', data, options); + } + //analytical dashboard chart + var analytical4 = jQuery("#analytical4"); + if (analytical4.length > 0) { + var data = { + series: [ + [5, -3, 6, -8, 3, -5] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical4', data, options); + } + //analytical dashboard chart + var analytical5 = jQuery("#analytical5"); + if (analytical5.length > 0) { + var data = { + series: [ + [3, -5, 2, -6, 7, -3] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical5', data, options); + } + //analytical dashboard chart + var analytical6 = jQuery("#analytical6"); + if (analytical6.length > 0) { + var data = { + series: [ + [7, -4, 6, -3, 8, -2] + ] + }; + + var options = { + high: 10, + low: -10, + seriesBarDistance: 10, + fullWidth: true, + showLabel: false, + chartPadding: 0, + axisX: { + showGrid: false, + showLabel: false, + offset: 0 + }, + axisY: { + showGrid: false, + showLabel: false, + offset: 0 + } + }; + + new Chartist.Bar('#analytical6', data, options); + } + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var chartJS = jQuery(".chartjs-wrapper"); + if (chartJS.length > 0) { + /* Utils */ + window.chartColors = { + red: 'rgb(233, 84, 84)', + orange: 'rgb(253, 153, 68)', + yellow: 'rgb(255, 188, 29)', + green: 'rgb(37, 208, 154)', + blue: 'rgb(71, 118, 230)', + purple: 'rgb(142, 84, 233)', + grey: 'rgb(148, 148, 148)' + }; + + (function(global) { + var Months = [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' + ]; + + var COLORS = [ + '#4dc9f6', + '#f67019', + '#f53794', + '#537bc4', + '#acc236', + '#166a8f', + '#00a950', + '#58595b', + '#8549ba' + ]; + + var Samples = global.Samples || (global.Samples = {}); + var Color = global.Color; + + Samples.utils = { + // Adapted from http://indiegamr.com/generate-repeatable-random-numbers-in-js/ + srand: function(seed) { + this._seed = seed; + }, + + rand: function(min, max) { + var seed = this._seed; + min = min === undefined ? 0 : min; + max = max === undefined ? 1 : max; + this._seed = (seed * 9301 + 49297) % 233280; + return min + (this._seed / 233280) * (max - min); + }, + + numbers: function(config) { + var cfg = config || {}; + var min = cfg.min || 0; + var max = cfg.max || 1; + var from = cfg.from || []; + var count = cfg.count || 8; + var decimals = cfg.decimals || 8; + var continuity = cfg.continuity || 1; + var dfactor = Math.pow(10, decimals) || 0; + var data = []; + var i, value; + + for (i = 0; i < count; ++i) { + value = (from[i] || 0) + this.rand(min, max); + if (this.rand() <= continuity) { + data.push(Math.round(dfactor * value) / dfactor); + } else { + data.push(null); + } + } + + return data; + }, + + labels: function(config) { + var cfg = config || {}; + var min = cfg.min || 0; + var max = cfg.max || 100; + var count = cfg.count || 8; + var step = (max - min) / count; + var decimals = cfg.decimals || 8; + var dfactor = Math.pow(10, decimals) || 0; + var prefix = cfg.prefix || ''; + var values = []; + var i; + + for (i = min; i < max; i += step) { + values.push(prefix + Math.round(dfactor * i) / dfactor); + } + + return values; + }, + + months: function(config) { + var cfg = config || {}; + var count = cfg.count || 12; + var section = cfg.section; + var values = []; + var i, value; + + for (i = 0; i < count; ++i) { + value = Months[Math.ceil(i) % 12]; + values.push(value.substring(0, section)); + } + + return values; + }, + + color: function(index) { + return COLORS[index % COLORS.length]; + }, + + transparentize: function(color, opacity) { + var alpha = opacity === undefined ? 0.5 : 1 - opacity; + return Color(color).alpha(alpha).rgbString(); + } + }; + + // DEPRECATED + window.randomScalingFactor = function() { + return Math.round(Samples.utils.rand(-100, 100)); + }; + + // INITIALIZATION + + Samples.utils.srand(Date.now()); + + }(this)); + /*Custom Points*/ + var customTooltips = function(tooltip) { + $(this._chart.canvas).css("cursor", "pointer"); + var positionY = this._chart.canvas.offsetTop; + var positionX = this._chart.canvas.offsetLeft; + $(".chartjs-tooltip").css({ + opacity: 0, + }); + if (!tooltip || !tooltip.opacity) { + return; + } + if (tooltip.dataPoints.length > 0) { + tooltip.dataPoints.forEach(function(dataPoint) { + var content = [dataPoint.xLabel, dataPoint.yLabel].join(": "); + var $tooltip = $("#tooltip-" + dataPoint.datasetIndex); + + $tooltip.html(content); + $tooltip.css({ + opacity: 1, + top: positionY + dataPoint.y + "px", + left: positionX + dataPoint.x + "px", + }); + }); + } + }; + var color = Chart.helpers.color; + var lineChartData = { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: "My First dataset", + backgroundColor: color(window.chartColors.purple).alpha(0.2).rgbString(), + borderColor: window.chartColors.purple, + pointBackgroundColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ] + }, { + label: "My Second dataset", + backgroundColor: color(window.chartColors.blue).alpha(0.2).rgbString(), + borderColor: window.chartColors.blue, + pointBackgroundColor: window.chartColors.blue, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ] + }] + }; + //simple line chart + var chartjsdemo1 = jQuery("#chartjsdemo1"); + if (chartjsdemo1.length > 0) { + var MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; + var config = { + type: 'line', + data: { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: "Facebook", + borderColor: window.chartColors.blue, + backgroundColor: window.chartColors.blue, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + label: "Twitter", + borderColor: window.chartColors.green, + backgroundColor: window.chartColors.green, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + label: "LinkedIn", + borderColor: window.chartColors.purple, + backgroundColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + label: "Google+", + borderColor: window.chartColors.yellow, + backgroundColor: window.chartColors.yellow, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }] + }, + options: { + responsive: true, + maintainAspectRatio: false, + title: { + display: false, + text: "Line Chart - Stacked Area" + }, + tooltips: { + mode: 'index', + }, + hover: { + mode: 'index' + }, + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12, + } + }, + scales: { + xAxes: [{ + scaleLabel: { + display: false, + labelString: 'Month', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12, + stepSize: 1, + beginAtZero: true + } + }], + yAxes: [{ + stacked: true, + scaleLabel: { + display: false, + labelString: 'Price', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + } + } + }; + var ctx1 = document.getElementById("chartjsdemo1").getContext("2d"); + window.myLine1 = new Chart(ctx1, config); + } + var chartjsdemo2 = jQuery("#chartjsdemo2"); + if (chartjsdemo2.length > 0) { + // Line chart + var config2 = { + type: 'line', + data: { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: "Unfilled", + fill: false, + backgroundColor: window.chartColors.yellow, + borderColor: window.chartColors.yellow, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + label: "Dashed", + fill: false, + backgroundColor: window.chartColors.blue, + borderColor: window.chartColors.blue, + borderDash: [5, 5], + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + label: "Filled", + backgroundColor: window.chartColors.purple, + borderColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + fill: true, + }] + }, + options: { + responsive: true, + maintainAspectRatio: false, + title: { + display: false, + text: 'Line Chart - Line styles' + }, + tooltips: { + mode: 'index', + intersect: false, + }, + hover: { + mode: 'nearest', + intersect: true + }, + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + scales: { + xAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Month', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12, + stepSize: 1, + beginAtZero: true + } + }], + yAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Value', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + } + } + }; + var ctx2 = document.getElementById("chartjsdemo2").getContext("2d"); + window.myLine2 = new Chart(ctx2, config2); + } + var chartjsdemo3 = jQuery("#chartjsdemo3"); + if (chartjsdemo3.length > 0) { + // Donut chart + var config3 = { + type: 'doughnut', + data: { + datasets: [{ + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + ], + backgroundColor: [ + window.chartColors.red, + window.chartColors.purple, + window.chartColors.yellow, + window.chartColors.green, + window.chartColors.blue, + ], + label: 'Dataset 1' + }], + labels: [ + "Red", + "Purple", + "Yellow", + "Green", + "Blue" + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + legend: { + position: 'bottom', + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + title: { + display: false, + text: 'Doughnut Chart' + }, + animation: { + animateScale: true, + animateRotate: true + } + } + }; + var ctx3 = document.getElementById("chartjsdemo3").getContext("2d"); + window.myLine3 = new Chart(ctx3, config3); + } + var chartjsdemo4 = jQuery("#chartjsdemo4"); + if (chartjsdemo4.length > 0) { + // Combo + var timeFormat = 'MM/DD/YYYY HH:mm'; + + function newDateString(days) { + return moment().add(days, 'd').format(timeFormat); + } + var color = Chart.helpers.color; + var config4 = { + type: 'bar', + data: { + labels: [ + newDateString(0), + newDateString(1), + newDateString(2), + newDateString(3), + newDateString(4), + newDateString(5), + newDateString(6) + ], + datasets: [{ + type: 'bar', + label: 'Dataset 1', + backgroundColor: color(window.chartColors.purple).alpha(1).rgbString(), + borderColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + type: 'bar', + label: 'Dataset 2', + backgroundColor: color(window.chartColors.blue).alpha(1).rgbString(), + borderColor: window.chartColors.blue, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, { + type: 'line', + label: 'Dataset 3', + backgroundColor: color(window.chartColors.yellow).alpha(1).rgbString(), + borderColor: window.chartColors.yellow, + fill: false, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }, ] + }, + options: { + maintainAspectRatio: false, + responsive: true, + title: { + display: false, + text: "Combo Time Scale" + }, + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + scales: { + xAxes: [{ + type: "time", + display: true, + time: { + format: timeFormat + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }], + yAxes: [{ + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + }, + } + }; + var ctx4 = document.getElementById("chartjsdemo4").getContext("2d"); + window.myLine4 = new Chart(ctx4, config4); + } + var chartjsdemo5 = jQuery("#chartjsdemo5"); + if (chartjsdemo5.length > 0) { + var chartEl = document.getElementById("chartjsdemo5"); + var chart = new Chart(chartEl, { + type: "line", + data: lineChartData, + options: { + maintainAspectRatio: false, + responsive: true, + title: { + display: false, + text: "Custom Tooltips using Data Points" + }, + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + tooltips: { + enabled: false, + mode: 'index', + intersect: false, + custom: customTooltips + }, + scales: { + xAxes: [{ + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }], + yAxes: [{ + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + }, + } + }); + } + var chartjsdemo6 = jQuery("#chartjsdemo6"); + if (chartjsdemo6.length > 0) { + // chart basic + var config6 = { + type: 'line', + data: { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: "My First dataset", + backgroundColor: window.chartColors.purple, + borderColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + fill: false, + }, { + label: "My Second dataset", + fill: false, + backgroundColor: window.chartColors.blue, + borderColor: window.chartColors.blue, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + }] + }, + options: { + maintainAspectRatio: false, + responsive: true, + title: { + display: false, + text: 'Line Chart - Basic' + }, + tooltips: { + mode: 'index', + intersect: false, + }, + hover: { + mode: 'nearest', + intersect: true + }, + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + scales: { + xAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Month', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }], + yAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Value', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + } + } + }; + var ctx6 = document.getElementById("chartjsdemo6").getContext("2d"); + window.myLine6 = new Chart(ctx6, config6); + } + var chartjsdemo7 = jQuery("#chartjsdemo7"); + if (chartjsdemo7.length > 0) { + var config7 = { + type: 'line', + data: { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: "dataset - big points", + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + backgroundColor: window.chartColors.purple, + borderColor: window.chartColors.purple, + fill: false, + borderDash: [5, 5], + pointRadius: 15, + pointHoverRadius: 10, + }, { + label: "dataset - individual point sizes", + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + backgroundColor: window.chartColors.blue, + borderColor: window.chartColors.blue, + fill: false, + borderDash: [5, 5], + pointRadius: [2, 4, 6, 18, 0, 12, 20], + }, { + label: "dataset - large pointHoverRadius", + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + backgroundColor: window.chartColors.green, + borderColor: window.chartColors.green, + fill: false, + pointHoverRadius: 30, + }, { + label: "dataset - large pointHitRadius", + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ], + backgroundColor: window.chartColors.yellow, + borderColor: window.chartColors.yellow, + fill: false, + pointHitRadius: 20, + }] + }, + options: { + maintainAspectRatio: false, + responsive: true, + + hover: { + mode: 'index' + }, + legend: { + position: 'bottom', + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + scales: { + xAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Month', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }], + yAxes: [{ + display: true, + scaleLabel: { + display: false, + labelString: 'Value', + fontColor: color(window.chartColors.grey).alpha(1).rgbString(), + fontFamily: 'Roboto', + fontSize: 14 + }, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + }, + title: { + display: false, + text: 'Line Chart - Different point sizes' + } + } + }; + var ctx7 = document.getElementById("chartjsdemo7").getContext("2d"); + window.myLine7 = new Chart(ctx7, config7); + } + var chartjsdemo8 = jQuery("#chartjsdemo8"); + if (chartjsdemo8.length > 0) { + // Stacked bar chart + var barChartData = { + labels: ["January", "February", "March", "April", "May", "June", "July"], + datasets: [{ + label: 'Dataset 1', + backgroundColor: window.chartColors.purple, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ] + }, { + label: 'Dataset 2', + backgroundColor: window.chartColors.blue, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ] + }, { + label: 'Dataset 3', + backgroundColor: window.chartColors.yellow, + data: [ + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor(), + randomScalingFactor() + ] + }] + }; + var ctx8 = document.getElementById("chartjsdemo8").getContext("2d"); + window.myBar = new Chart(ctx8, { + type: 'bar', + data: barChartData, + options: { + maintainAspectRatio: false, + responsive: true, + title: { + display: false, + text: "Bar Chart - Stacked" + }, + tooltips: { + mode: 'index', + intersect: false + }, + + legend: { + labels: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }, + scales: { + xAxes: [{ + stacked: true, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }], + yAxes: [{ + stacked: true, + ticks: { + fontColor: color(window.chartColors.grey).alpha(0.8).rgbString(), + fontFamily: 'Roboto', + fontSize: 12 + } + }] + } + } + }); + } + + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + +$(function(){ + var comingsoon = $('.comingsoon') + if (comingsoon.length > 0) { + var second = 1000, + minute = second * 60, + hour = minute * 60, + day = hour * 24; + let countDown = new Date('dec 30, 2019 00:00:00').getTime(), + x = setInterval(function() { + let now = new Date().getTime(), + distance = countDown - now; + document.getElementById('days').innerText = Math.floor(distance / (day)), + document.getElementById('hours').innerText = Math.floor((distance % (day)) / (hour)), + document.getElementById('minutes').innerText = Math.floor((distance % (hour)) / (minute)), + document.getElementById('seconds').innerText = Math.floor((distance % (minute)) / second); + + }, second) +} +}); + +})(window, document, window.jQuery); + +(function(window, document, $, undefined){ + + $(function(){ + var dataTable = jQuery(".datatable-wrapper"); + if (dataTable.length > 0) { + $('#datatable').DataTable({ + "bLengthChange": false, + "searching": false, + "bPaginate":true, + "bSortable": true + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ +$('.date-picker-default').datepicker({ + format: 'mm-dd-yyyy', + autoclose: true, + orientation: "bottom", + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + + $('.display-years').datepicker({ + autoclose: true, + orientation: "bottom", + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + $('.display-months').datepicker({ + format: 'mm-dd', + autoclose: true, + orientation: "bottom", + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + + $('#datepicker-inline').datepicker({ + todayHighlight: true, + autoclose: true, + orientation: "bottom", + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + + $('#datepicker-action').datepicker({ + todayBtn: "linked", + clearBtn: true, + autoclose: true, + todayHighlight: true, + orientation: "bottom", + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + + $('#datepicker-top-left').datepicker({ + orientation: "top left", + todayHighlight: true, + autoclose: true, + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + $('#datepicker-top-right').datepicker({ + orientation: "top right", + todayHighlight: true, + autoclose: true, + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + $('#datepicker-bottom-left').datepicker({ + orientation: "bottom left", + todayHighlight: true, + autoclose: true, + templates: { + leftArrow: '', + rightArrow: '' + } + }); + + $('#datepicker-bottom-right').datepicker({ + orientation: "bottom right", + todayHighlight: true, + autoclose: true, + templates: { + leftArrow: '', + rightArrow: '' + } + }); + +var checkin = $('.range-from').datepicker({ + onRender: function(date) { + return date.valueOf() < now.valueOf() ? 'disabled' : ''; + } + }).on('changeDate', function(ev) { + if (ev.date.valueOf() > checkout.date.valueOf()) { + var newDate = new Date(ev.date) + newDate.setDate(newDate.getDate() + 1); + checkout.setValue(newDate); + } + checkin.hide(); + + $('.range-to')[0].focus(); + }).data('datepicker'); + var checkout = $('.range-to').datepicker({ + onRender: function(date) { + return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : ''; + } + }).on('changeDate', function(ev) { + checkout.hide(); + }).data('datepicker'); + +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var dualListBox = jQuery(".duallistbox"); + if (dualListBox.length > 0) { + $('#duallistbox').bootstrapDualListbox({ + nonSelectedListLabel: 'Non-selected', + selectedListLabel: 'Selected', + preserveSelectionOnMove: 'moved', + moveOnSelect: false + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var dualListBox = jQuery("#tableedit"); + if (dualListBox.length > 0) { + $('#tableedit').Tabledit({ + deleteButton: false, + saveButton: false, + autoFocus: false, + buttons: { + edit: { + class: 'btn btn-sm btn-primary', + html: '   EDIT', + action: 'edit' + } + }, + columns: { + identifier: [0, 'id'], + editable: [[1, 'car'], [2, 'color']] + } + }); + } +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var eventCalendar = jQuery(".event-calendar"); + if (eventCalendar.length > 0) { + $('#external-events .fc-event').each(function() { + + // store data so the calendar knows to render an event upon drop + $(this).data('event', { + title: $.trim($(this).text()), // use the element's text as the event title + stick: true, // maintain when user navigates (see docs on the renderEvent method) + className: $(this).data('color') + }); + + // make the event draggable using jQuery UI + $(this).draggable({ + zIndex: 999, + revert: true, // will cause the event to go back to its + revertDuration: 0 // original position after the drag + }); + + }); + + $('#event-calendar').fullCalendar({ + header: { + left: 'prev,next today', + center: 'title', + right: 'month,agendaWeek,agendaDay' + }, + editable: true, + droppable: true, + drop: function() { + // is the "remove after drop" checkbox checked? + if ($('#drop-remove').is(':checked')) { + // if so, remove the element from the "Draggable Events" list + $(this).remove(); + } + }, + events: [{ + title: 'Simple Event', + start: '2019-02-22', + end: '2019-02-25', + className: 'fc-event-danger' + }, + { + title: 'Google', + url: 'https://www.google.com/', + start: '2019-02-18', + className: 'fc-event-success' + }, + { + title: 'Family Vacation', + start: '2019-02-14', + end: '2019-02-18', + className: 'fc-event-primary' + } + ] + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var eventListCalendar = jQuery(".event-list-calendar"); + if (eventListCalendar.length > 0) { + $('#event-list-calendar').fullCalendar({ + header: { + left: 'prev,next today', + center: 'title', + right: 'listDay,listWeek,month' + }, + views: { + listDay: { buttonText: 'list day' }, + listWeek: { buttonText: 'list week' } + }, + height: 650, + defaultView: 'listWeek', + defaultDate: '2018-09-12', + navLinks: true, // can click day/week names to navigate views + editable: true, + eventLimit: true, // allow "more" link when too many events + events: [{ + title: 'All Day Event', + start: '2018-09-01' + }, + { + title: 'Long Event', + start: '2018-09-07', + end: '2018-09-10' + }, + { + id: 999, + title: 'Repeating Event', + start: '2018-09-09T16:00:00' + }, + { + id: 999, + title: 'Repeating Event', + start: '2018-09-16T16:00:00' + }, + { + title: 'Conference', + start: '2018-09-11', + end: '2018-09-13' + }, + { + title: 'Meeting', + start: '2018-09-12T10:30:00', + end: '2018-09-12T12:30:00' + }, + { + title: 'Lunch', + start: '2018-09-12T12:00:00' + }, + { + title: 'Meeting', + start: '2018-09-12T14:30:00' + }, + { + title: 'Happy Hour', + start: '2018-09-12T17:30:00' + }, + { + title: 'Dinner', + start: '2018-09-12T20:00:00' + }, + { + title: 'Birthday Party', + start: '2018-09-13T07:00:00' + }, + { + title: 'Click for Google', + url: 'http://google.com/', + start: '2018-09-28' + } + ] + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var exportTable = jQuery(".export-table-wrapper"); + if (exportTable.length > 0) { + $( "#exportExcel" ).on( "click", function() { + $('#export-table').tableExport({type:'excel'}); + }); + $( "#exportCSV" ).on( "click", function() { + $('#export-table').tableExport({type:'csv'}); + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var flotChart = jQuery(".flot-chart-wrapper"); + if (flotChart.length > 0) { + var d1 = []; + for (var i = 0; i <= 10; i += 1) { + d1.push([i, parseInt(Math.random() * 30)]); + } + + var d2 = []; + for (var i = 0; i <= 10; i += 1) { + d2.push([i, parseInt(Math.random() * 30)]); + } + + var d3 = []; + for (var i = 0; i <= 10; i += 1) { + d3.push([i, parseInt(Math.random() * 30)]); + } + + var stack = 0, + bars = true, + lines = false, + steps = false; + + function plotWithOptions() { + $.plot("#flot-stacked", [d1, d2, d3], { + grid: { borderWidth: 0, labelMargin: 5, axisMargin: 0, minBorderMargin: 0 }, + series: { + stack: stack, + lines: { + show: lines, + fill: true, + steps: steps + }, + bars: { + show: bars, + barWidth: 0.6, + align: "center" + } + }, + colors: ["#4776E6", "#8E54E9", "#fbaf54"] + }); + } + + plotWithOptions(); + + + // flot-real-time + + var data = [], + totalPoints = 300; + + function getRandomData() { + + if (data.length > 0) + data = data.slice(1); + + // Do a random walk + + while (data.length < totalPoints) { + + var prev = data.length > 0 ? data[data.length - 1] : 50, + y = prev + Math.random() * 10 - 5; + + if (y < 0) { + y = 0; + } else if (y > 100) { + y = 100; + } + + data.push(y); + } + + // Zip the generated y values with the x values + + var res = []; + for (var i = 0; i < data.length; ++i) { + res.push([i, data[i]]) + } + + return res; + } + + // Set up the control widget + + var updateInterval = 100; + $("#flot-real-time").val(updateInterval).change(function() { + var v = $(this).val(); + if (v && !isNaN(+v)) { + updateInterval = +v; + if (updateInterval < 1) { + updateInterval = 1; + } else if (updateInterval > 2000) { + updateInterval = 2000; + } + $(this).val("" + updateInterval); + } + }); + + var plot = $.plot("#flot-real-time", [getRandomData()], { + grid: { borderWidth: 0, labelMargin: 0, axisMargin: 0, minBorderMargin: 0 }, + series: { + shadowSize: 0 // Drawing is faster without shadows + }, + colors: [" #8E54E9"], + yaxis: { + min: 0, + max: 100 + }, + xaxis: { + show: false + } + }); + + function update() { + + plot.setData([getRandomData()]); + + // Since the axes don't change, we don't need to call plot.setupGrid() + + plot.draw(); + setTimeout(update, updateInterval); + } + + update(); + + // Add the Flot version string to the footer + + $("#footer").prepend("Flot " + $.plot.version + " – "); + + + //flot-series-toggle + + var datasets = { + "usa": { + label: "USA", + data: [ + [1988, 483994], + [1989, 479060], + [1990, 457648], + [1991, 401949], + [1992, 424705], + [1993, 402375], + [1994, 377867], + [1995, 357382], + [1996, 337946], + [1997, 336185], + [1998, 328611], + [1999, 329421], + [2000, 342172], + [2001, 344932], + [2002, 387303], + [2003, 440813], + [2004, 480451], + [2005, 504638], + [2006, 528692] + ] + }, + "russia": { + label: "Russia", + data: [ + [1988, 218000], + [1989, 203000], + [1990, 171000], + [1992, 42500], + [1993, 37600], + [1994, 36600], + [1995, 21700], + [1996, 19200], + [1997, 21300], + [1998, 13600], + [1999, 14000], + [2000, 19100], + [2001, 21300], + [2002, 23600], + [2003, 25100], + [2004, 26100], + [2005, 31100], + [2006, 34700] + ] + }, + "uk": { + label: "UK", + data: [ + [1988, 62982], + [1989, 62027], + [1990, 60696], + [1991, 62348], + [1992, 58560], + [1993, 56393], + [1994, 54579], + [1995, 50818], + [1996, 50554], + [1997, 48276], + [1998, 47691], + [1999, 47529], + [2000, 47778], + [2001, 48760], + [2002, 50949], + [2003, 57452], + [2004, 60234], + [2005, 60076], + [2006, 59213] + ] + }, + "germany": { + label: "Germany", + data: [ + [1988, 55627], + [1989, 55475], + [1990, 58464], + [1991, 55134], + [1992, 52436], + [1993, 47139], + [1994, 43962], + [1995, 43238], + [1996, 42395], + [1997, 40854], + [1998, 40993], + [1999, 41822], + [2000, 41147], + [2001, 40474], + [2002, 40604], + [2003, 40044], + [2004, 38816], + [2005, 38060], + [2006, 36984] + ] + }, + "denmark": { + label: "Denmark", + data: [ + [1988, 3813], + [1989, 3719], + [1990, 3722], + [1991, 3789], + [1992, 3720], + [1993, 3730], + [1994, 3636], + [1995, 3598], + [1996, 3610], + [1997, 3655], + [1998, 3695], + [1999, 3673], + [2000, 3553], + [2001, 3774], + [2002, 3728], + [2003, 3618], + [2004, 3638], + [2005, 3467], + [2006, 3770] + ] + }, + "sweden": { + label: "Sweden", + data: [ + [1988, 6402], + [1989, 6474], + [1990, 6605], + [1991, 6209], + [1992, 6035], + [1993, 6020], + [1994, 6000], + [1995, 6018], + [1996, 3958], + [1997, 5780], + [1998, 5954], + [1999, 6178], + [2000, 6411], + [2001, 5993], + [2002, 5833], + [2003, 5791], + [2004, 5450], + [2005, 5521], + [2006, 5271] + ] + }, + "norway": { + label: "Norway", + data: [ + [1988, 4382], + [1989, 4498], + [1990, 4535], + [1991, 4398], + [1992, 4766], + [1993, 4441], + [1994, 4670], + [1995, 4217], + [1996, 4275], + [1997, 4203], + [1998, 4482], + [1999, 4506], + [2000, 4358], + [2001, 4385], + [2002, 5269], + [2003, 5066], + [2004, 5194], + [2005, 4887], + [2006, 4891] + ] + } + }; + + // hard-code color indices to prevent them from shifting as + // countries are turned on/off + + var i = 0; + $.each(datasets, function(key, val) { + val.color = i; + ++i; + }); + + // insert checkboxes + var choiceContainer = $("#flot-series-toggle"); + $.each(datasets, function(key, val) { + choiceContainer.append("
" + + ""); + }); + + choiceContainer.find("input").click(plotAccordingToChoices); + + function plotAccordingToChoices() { + + var data = []; + + choiceContainer.find("input:checked").each(function() { + var key = $(this).attr("name"); + if (key && datasets[key]) { + data.push(datasets[key]); + } + }); + + if (data.length > 0) { + $.plot("#flot-series-toggle", data, { + grid: { borderWidth: 0, labelMargin: 10, axisMargin: 0, minBorderMargin: 0 }, + colors: ["#f7b731", "#fd9644", "#32b432", "#8E54E9", "#4776E6", "#e3324c", "#fb0792"], + yaxis: { + min: 0 + }, + xaxis: { + tickDecimals: 0 + } + }); + } + } + + plotAccordingToChoices(); + + // Add the Flot version string to the footer + + $("#footer").prepend("Flot " + $.plot.version + " – "); + + var oilprices = [ + [1167692400000, 61.05], + [1167778800000, 58.32], + [1167865200000, 57.35], + [1167951600000, 56.31], + [1168210800000, 55.55], + [1168297200000, 55.64], + [1168383600000, 54.02], + [1168470000000, 51.88], + [1168556400000, 52.99], + [1168815600000, 52.99], + [1168902000000, 51.21], + [1168988400000, 52.24], + [1169074800000, 50.48], + [1169161200000, 51.99], + [1169420400000, 51.13], + [1169506800000, 55.04], + [1169593200000, 55.37], + [1169679600000, 54.23], + [1169766000000, 55.42], + [1170025200000, 54.01], + [1170111600000, 56.97], + [1170198000000, 58.14], + [1170284400000, 58.14], + [1170370800000, 59.02], + [1170630000000, 58.74], + [1170716400000, 58.88], + [1170802800000, 57.71], + [1170889200000, 59.71], + [1170975600000, 59.89], + [1171234800000, 57.81], + [1171321200000, 59.06], + [1171407600000, 58.00], + [1171494000000, 57.99], + [1171580400000, 59.39], + [1171839600000, 59.39], + [1171926000000, 58.07], + [1172012400000, 60.07], + [1172098800000, 61.14], + [1172444400000, 61.39], + [1172530800000, 61.46], + [1172617200000, 61.79], + [1172703600000, 62.00], + [1172790000000, 60.07], + [1173135600000, 60.69], + [1173222000000, 61.82], + [1173308400000, 60.05], + [1173654000000, 58.91], + [1173740400000, 57.93], + [1173826800000, 58.16], + [1173913200000, 57.55], + [1173999600000, 57.11], + [1174258800000, 56.59], + [1174345200000, 59.61], + [1174518000000, 61.69], + [1174604400000, 62.28], + [1174860000000, 62.91], + [1174946400000, 62.93], + [1175032800000, 64.03], + [1175119200000, 66.03], + [1175205600000, 65.87], + [1175464800000, 64.64], + [1175637600000, 64.38], + [1175724000000, 64.28], + [1175810400000, 64.28], + [1176069600000, 61.51], + [1176156000000, 61.89], + [1176242400000, 62.01], + [1176328800000, 63.85], + [1176415200000, 63.63], + [1176674400000, 63.61], + [1176760800000, 63.10], + [1176847200000, 63.13], + [1176933600000, 61.83], + [1177020000000, 63.38], + [1177279200000, 64.58], + [1177452000000, 65.84], + [1177538400000, 65.06], + [1177624800000, 66.46], + [1177884000000, 64.40], + [1178056800000, 63.68], + [1178143200000, 63.19], + [1178229600000, 61.93], + [1178488800000, 61.47], + [1178575200000, 61.55], + [1178748000000, 61.81], + [1178834400000, 62.37], + [1179093600000, 62.46], + [1179180000000, 63.17], + [1179266400000, 62.55], + [1179352800000, 64.94], + [1179698400000, 66.27], + [1179784800000, 65.50], + [1179871200000, 65.77], + [1179957600000, 64.18], + [1180044000000, 65.20], + [1180389600000, 63.15], + [1180476000000, 63.49], + [1180562400000, 65.08], + [1180908000000, 66.30], + [1180994400000, 65.96], + [1181167200000, 66.93], + [1181253600000, 65.98], + [1181599200000, 65.35], + [1181685600000, 66.26], + [1181858400000, 68.00], + [1182117600000, 69.09], + [1182204000000, 69.10], + [1182290400000, 68.19], + [1182376800000, 68.19], + [1182463200000, 69.14], + [1182722400000, 68.19], + [1182808800000, 67.77], + [1182895200000, 68.97], + [1182981600000, 69.57], + [1183068000000, 70.68], + [1183327200000, 71.09], + [1183413600000, 70.92], + [1183586400000, 71.81], + [1183672800000, 72.81], + [1183932000000, 72.19], + [1184018400000, 72.56], + [1184191200000, 72.50], + [1184277600000, 74.15], + [1184623200000, 75.05], + [1184796000000, 75.92], + [1184882400000, 75.57], + [1185141600000, 74.89], + [1185228000000, 73.56], + [1185314400000, 75.57], + [1185400800000, 74.95], + [1185487200000, 76.83], + [1185832800000, 78.21], + [1185919200000, 76.53], + [1186005600000, 76.86], + [1186092000000, 76.00], + [1186437600000, 71.59], + [1186696800000, 71.47], + [1186956000000, 71.62], + [1187042400000, 71.00], + [1187301600000, 71.98], + [1187560800000, 71.12], + [1187647200000, 69.47], + [1187733600000, 69.26], + [1187820000000, 69.83], + [1187906400000, 71.09], + [1188165600000, 71.73], + [1188338400000, 73.36], + [1188511200000, 74.04], + [1188856800000, 76.30], + [1189116000000, 77.49], + [1189461600000, 78.23], + [1189548000000, 79.91], + [1189634400000, 80.09], + [1189720800000, 79.10], + [1189980000000, 80.57], + [1190066400000, 81.93], + [1190239200000, 83.32], + [1190325600000, 81.62], + [1190584800000, 80.95], + [1190671200000, 79.53], + [1190757600000, 80.30], + [1190844000000, 82.88], + [1190930400000, 81.66], + [1191189600000, 80.24], + [1191276000000, 80.05], + [1191362400000, 79.94], + [1191448800000, 81.44], + [1191535200000, 81.22], + [1191794400000, 79.02], + [1191880800000, 80.26], + [1191967200000, 80.30], + [1192053600000, 83.08], + [1192140000000, 83.69], + [1192399200000, 86.13], + [1192485600000, 87.61], + [1192572000000, 87.40], + [1192658400000, 89.47], + [1192744800000, 88.60], + [1193004000000, 87.56], + [1193090400000, 87.56], + [1193176800000, 87.10], + [1193263200000, 91.86], + [1193612400000, 93.53], + [1193698800000, 94.53], + [1193871600000, 95.93], + [1194217200000, 93.98], + [1194303600000, 96.37], + [1194476400000, 95.46], + [1194562800000, 96.32], + [1195081200000, 93.43], + [1195167600000, 95.10], + [1195426800000, 94.64], + [1195513200000, 95.10], + [1196031600000, 97.70], + [1196118000000, 94.42], + [1196204400000, 90.62], + [1196290800000, 91.01], + [1196377200000, 88.71], + [1196636400000, 88.32], + [1196809200000, 90.23], + [1196982000000, 88.28], + [1197241200000, 87.86], + [1197327600000, 90.02], + [1197414000000, 92.25], + [1197586800000, 90.63], + [1197846000000, 90.63], + [1197932400000, 90.49], + [1198018800000, 91.24], + [1198105200000, 91.06], + [1198191600000, 90.49], + [1198710000000, 96.62], + [1198796400000, 96.00], + [1199142000000, 99.62], + [1199314800000, 99.18], + [1199401200000, 95.09], + [1199660400000, 96.33], + [1199833200000, 95.67], + [1200351600000, 91.90], + [1200438000000, 90.84], + [1200524400000, 90.13], + [1200610800000, 90.57], + [1200956400000, 89.21], + [1201042800000, 86.99], + [1201129200000, 89.85], + [1201474800000, 90.99], + [1201561200000, 91.64], + [1201647600000, 92.33], + [1201734000000, 91.75], + [1202079600000, 90.02], + [1202166000000, 88.41], + [1202252400000, 87.14], + [1202338800000, 88.11], + [1202425200000, 91.77], + [1202770800000, 92.78], + [1202857200000, 93.27], + [1202943600000, 95.46], + [1203030000000, 95.46], + [1203289200000, 101.74], + [1203462000000, 98.81], + [1203894000000, 100.88], + [1204066800000, 99.64], + [1204153200000, 102.59], + [1204239600000, 101.84], + [1204498800000, 99.52], + [1204585200000, 99.52], + [1204671600000, 104.52], + [1204758000000, 105.47], + [1204844400000, 105.15], + [1205103600000, 108.75], + [1205276400000, 109.92], + [1205362800000, 110.33], + [1205449200000, 110.21], + [1205708400000, 105.68], + [1205967600000, 101.84], + [1206313200000, 100.86], + [1206399600000, 101.22], + [1206486000000, 105.90], + [1206572400000, 107.58], + [1206658800000, 105.62], + [1206914400000, 101.58], + [1207000800000, 100.98], + [1207173600000, 103.83], + [1207260000000, 106.23], + [1207605600000, 108.50], + [1207778400000, 110.11], + [1207864800000, 110.14], + [1208210400000, 113.79], + [1208296800000, 114.93], + [1208383200000, 114.86], + [1208728800000, 117.48], + [1208815200000, 118.30], + [1208988000000, 116.06], + [1209074400000, 118.52], + [1209333600000, 118.75], + [1209420000000, 113.46], + [1209592800000, 112.52], + [1210024800000, 121.84], + [1210111200000, 123.53], + [1210197600000, 123.69], + [1210543200000, 124.23], + [1210629600000, 125.80], + [1210716000000, 126.29], + [1211148000000, 127.05], + [1211320800000, 129.07], + [1211493600000, 132.19], + [1211839200000, 128.85], + [1212357600000, 127.76], + [1212703200000, 138.54], + [1212962400000, 136.80], + [1213135200000, 136.38], + [1213308000000, 134.86], + [1213653600000, 134.01], + [1213740000000, 136.68], + [1213912800000, 135.65], + [1214172000000, 134.62], + [1214258400000, 134.62], + [1214344800000, 134.62], + [1214431200000, 139.64], + [1214517600000, 140.21], + [1214776800000, 140.00], + [1214863200000, 140.97], + [1214949600000, 143.57], + [1215036000000, 145.29], + [1215381600000, 141.37], + [1215468000000, 136.04], + [1215727200000, 146.40], + [1215986400000, 145.18], + [1216072800000, 138.74], + [1216159200000, 134.60], + [1216245600000, 129.29], + [1216332000000, 130.65], + [1216677600000, 127.95], + [1216850400000, 127.95], + [1217282400000, 122.19], + [1217455200000, 124.08], + [1217541600000, 125.10], + [1217800800000, 121.41], + [1217887200000, 119.17], + [1217973600000, 118.58], + [1218060000000, 120.02], + [1218405600000, 114.45], + [1218492000000, 113.01], + [1218578400000, 116.00], + [1218751200000, 113.77], + [1219010400000, 112.87], + [1219096800000, 114.53], + [1219269600000, 114.98], + [1219356000000, 114.98], + [1219701600000, 116.27], + [1219788000000, 118.15], + [1219874400000, 115.59], + [1219960800000, 115.46], + [1220306400000, 109.71], + [1220392800000, 109.35], + [1220565600000, 106.23], + [1220824800000, 106.34] + ]; + + var exchangerates = [ + [1167606000000, 0.7580], + [1167692400000, 0.7580], + [1167778800000, 0.75470], + [1167865200000, 0.75490], + [1167951600000, 0.76130], + [1168038000000, 0.76550], + [1168124400000, 0.76930], + [1168210800000, 0.76940], + [1168297200000, 0.76880], + [1168383600000, 0.76780], + [1168470000000, 0.77080], + [1168556400000, 0.77270], + [1168642800000, 0.77490], + [1168729200000, 0.77410], + [1168815600000, 0.77410], + [1168902000000, 0.77320], + [1168988400000, 0.77270], + [1169074800000, 0.77370], + [1169161200000, 0.77240], + [1169247600000, 0.77120], + [1169334000000, 0.7720], + [1169420400000, 0.77210], + [1169506800000, 0.77170], + [1169593200000, 0.77040], + [1169679600000, 0.7690], + [1169766000000, 0.77110], + [1169852400000, 0.7740], + [1169938800000, 0.77450], + [1170025200000, 0.77450], + [1170111600000, 0.7740], + [1170198000000, 0.77160], + [1170284400000, 0.77130], + [1170370800000, 0.76780], + [1170457200000, 0.76880], + [1170543600000, 0.77180], + [1170630000000, 0.77180], + [1170716400000, 0.77280], + [1170802800000, 0.77290], + [1170889200000, 0.76980], + [1170975600000, 0.76850], + [1171062000000, 0.76810], + [1171148400000, 0.7690], + [1171234800000, 0.7690], + [1171321200000, 0.76980], + [1171407600000, 0.76990], + [1171494000000, 0.76510], + [1171580400000, 0.76130], + [1171666800000, 0.76160], + [1171753200000, 0.76140], + [1171839600000, 0.76140], + [1171926000000, 0.76070], + [1172012400000, 0.76020], + [1172098800000, 0.76110], + [1172185200000, 0.76220], + [1172271600000, 0.76150], + [1172358000000, 0.75980], + [1172444400000, 0.75980], + [1172530800000, 0.75920], + [1172617200000, 0.75730], + [1172703600000, 0.75660], + [1172790000000, 0.75670], + [1172876400000, 0.75910], + [1172962800000, 0.75820], + [1173049200000, 0.75850], + [1173135600000, 0.76130], + [1173222000000, 0.76310], + [1173308400000, 0.76150], + [1173394800000, 0.760], + [1173481200000, 0.76130], + [1173567600000, 0.76270], + [1173654000000, 0.76270], + [1173740400000, 0.76080], + [1173826800000, 0.75830], + [1173913200000, 0.75750], + [1173999600000, 0.75620], + [1174086000000, 0.7520], + [1174172400000, 0.75120], + [1174258800000, 0.75120], + [1174345200000, 0.75170], + [1174431600000, 0.7520], + [1174518000000, 0.75110], + [1174604400000, 0.7480], + [1174690800000, 0.75090], + [1174777200000, 0.75310], + [1174860000000, 0.75310], + [1174946400000, 0.75270], + [1175032800000, 0.74980], + [1175119200000, 0.74930], + [1175205600000, 0.75040], + [1175292000000, 0.750], + [1175378400000, 0.74910], + [1175464800000, 0.74910], + [1175551200000, 0.74850], + [1175637600000, 0.74840], + [1175724000000, 0.74920], + [1175810400000, 0.74710], + [1175896800000, 0.74590], + [1175983200000, 0.74770], + [1176069600000, 0.74770], + [1176156000000, 0.74830], + [1176242400000, 0.74580], + [1176328800000, 0.74480], + [1176415200000, 0.7430], + [1176501600000, 0.73990], + [1176588000000, 0.73950], + [1176674400000, 0.73950], + [1176760800000, 0.73780], + [1176847200000, 0.73820], + [1176933600000, 0.73620], + [1177020000000, 0.73550], + [1177106400000, 0.73480], + [1177192800000, 0.73610], + [1177279200000, 0.73610], + [1177365600000, 0.73650], + [1177452000000, 0.73620], + [1177538400000, 0.73310], + [1177624800000, 0.73390], + [1177711200000, 0.73440], + [1177797600000, 0.73270], + [1177884000000, 0.73270], + [1177970400000, 0.73360], + [1178056800000, 0.73330], + [1178143200000, 0.73590], + [1178229600000, 0.73590], + [1178316000000, 0.73720], + [1178402400000, 0.7360], + [1178488800000, 0.7360], + [1178575200000, 0.7350], + [1178661600000, 0.73650], + [1178748000000, 0.73840], + [1178834400000, 0.73950], + [1178920800000, 0.74130], + [1179007200000, 0.73970], + [1179093600000, 0.73960], + [1179180000000, 0.73850], + [1179266400000, 0.73780], + [1179352800000, 0.73660], + [1179439200000, 0.740], + [1179525600000, 0.74110], + [1179612000000, 0.74060], + [1179698400000, 0.74050], + [1179784800000, 0.74140], + [1179871200000, 0.74310], + [1179957600000, 0.74310], + [1180044000000, 0.74380], + [1180130400000, 0.74430], + [1180216800000, 0.74430], + [1180303200000, 0.74430], + [1180389600000, 0.74340], + [1180476000000, 0.74290], + [1180562400000, 0.74420], + [1180648800000, 0.7440], + [1180735200000, 0.74390], + [1180821600000, 0.74370], + [1180908000000, 0.74370], + [1180994400000, 0.74290], + [1181080800000, 0.74030], + [1181167200000, 0.73990], + [1181253600000, 0.74180], + [1181340000000, 0.74680], + [1181426400000, 0.7480], + [1181512800000, 0.7480], + [1181599200000, 0.7490], + [1181685600000, 0.74940], + [1181772000000, 0.75220], + [1181858400000, 0.75150], + [1181944800000, 0.75020], + [1182031200000, 0.74720], + [1182117600000, 0.74720], + [1182204000000, 0.74620], + [1182290400000, 0.74550], + [1182376800000, 0.74490], + [1182463200000, 0.74670], + [1182549600000, 0.74580], + [1182636000000, 0.74270], + [1182722400000, 0.74270], + [1182808800000, 0.7430], + [1182895200000, 0.74290], + [1182981600000, 0.7440], + [1183068000000, 0.7430], + [1183154400000, 0.74220], + [1183240800000, 0.73880], + [1183327200000, 0.73880], + [1183413600000, 0.73690], + [1183500000000, 0.73450], + [1183586400000, 0.73450], + [1183672800000, 0.73450], + [1183759200000, 0.73520], + [1183845600000, 0.73410], + [1183932000000, 0.73410], + [1184018400000, 0.7340], + [1184104800000, 0.73240], + [1184191200000, 0.72720], + [1184277600000, 0.72640], + [1184364000000, 0.72550], + [1184450400000, 0.72580], + [1184536800000, 0.72580], + [1184623200000, 0.72560], + [1184709600000, 0.72570], + [1184796000000, 0.72470], + [1184882400000, 0.72430], + [1184968800000, 0.72440], + [1185055200000, 0.72350], + [1185141600000, 0.72350], + [1185228000000, 0.72350], + [1185314400000, 0.72350], + [1185400800000, 0.72620], + [1185487200000, 0.72880], + [1185573600000, 0.73010], + [1185660000000, 0.73370], + [1185746400000, 0.73370], + [1185832800000, 0.73240], + [1185919200000, 0.72970], + [1186005600000, 0.73170], + [1186092000000, 0.73150], + [1186178400000, 0.72880], + [1186264800000, 0.72630], + [1186351200000, 0.72630], + [1186437600000, 0.72420], + [1186524000000, 0.72530], + [1186610400000, 0.72640], + [1186696800000, 0.7270], + [1186783200000, 0.73120], + [1186869600000, 0.73050], + [1186956000000, 0.73050], + [1187042400000, 0.73180], + [1187128800000, 0.73580], + [1187215200000, 0.74090], + [1187301600000, 0.74540], + [1187388000000, 0.74370], + [1187474400000, 0.74240], + [1187560800000, 0.74240], + [1187647200000, 0.74150], + [1187733600000, 0.74190], + [1187820000000, 0.74140], + [1187906400000, 0.73770], + [1187992800000, 0.73550], + [1188079200000, 0.73150], + [1188165600000, 0.73150], + [1188252000000, 0.7320], + [1188338400000, 0.73320], + [1188424800000, 0.73460], + [1188511200000, 0.73280], + [1188597600000, 0.73230], + [1188684000000, 0.7340], + [1188770400000, 0.7340], + [1188856800000, 0.73360], + [1188943200000, 0.73510], + [1189029600000, 0.73460], + [1189116000000, 0.73210], + [1189202400000, 0.72940], + [1189288800000, 0.72660], + [1189375200000, 0.72660], + [1189461600000, 0.72540], + [1189548000000, 0.72420], + [1189634400000, 0.72130], + [1189720800000, 0.71970], + [1189807200000, 0.72090], + [1189893600000, 0.7210], + [1189980000000, 0.7210], + [1190066400000, 0.7210], + [1190152800000, 0.72090], + [1190239200000, 0.71590], + [1190325600000, 0.71330], + [1190412000000, 0.71050], + [1190498400000, 0.70990], + [1190584800000, 0.70990], + [1190671200000, 0.70930], + [1190757600000, 0.70930], + [1190844000000, 0.70760], + [1190930400000, 0.7070], + [1191016800000, 0.70490], + [1191103200000, 0.70120], + [1191189600000, 0.70110], + [1191276000000, 0.70190], + [1191362400000, 0.70460], + [1191448800000, 0.70630], + [1191535200000, 0.70890], + [1191621600000, 0.70770], + [1191708000000, 0.70770], + [1191794400000, 0.70770], + [1191880800000, 0.70910], + [1191967200000, 0.71180], + [1192053600000, 0.70790], + [1192140000000, 0.70530], + [1192226400000, 0.7050], + [1192312800000, 0.70550], + [1192399200000, 0.70550], + [1192485600000, 0.70450], + [1192572000000, 0.70510], + [1192658400000, 0.70510], + [1192744800000, 0.70170], + [1192831200000, 0.70], + [1192917600000, 0.69950], + [1193004000000, 0.69940], + [1193090400000, 0.70140], + [1193176800000, 0.70360], + [1193263200000, 0.70210], + [1193349600000, 0.70020], + [1193436000000, 0.69670], + [1193522400000, 0.6950], + [1193612400000, 0.6950], + [1193698800000, 0.69390], + [1193785200000, 0.6940], + [1193871600000, 0.69220], + [1193958000000, 0.69190], + [1194044400000, 0.69140], + [1194130800000, 0.68940], + [1194217200000, 0.68910], + [1194303600000, 0.69040], + [1194390000000, 0.6890], + [1194476400000, 0.68340], + [1194562800000, 0.68230], + [1194649200000, 0.68070], + [1194735600000, 0.68150], + [1194822000000, 0.68150], + [1194908400000, 0.68470], + [1194994800000, 0.68590], + [1195081200000, 0.68220], + [1195167600000, 0.68270], + [1195254000000, 0.68370], + [1195340400000, 0.68230], + [1195426800000, 0.68220], + [1195513200000, 0.68220], + [1195599600000, 0.67920], + [1195686000000, 0.67460], + [1195772400000, 0.67350], + [1195858800000, 0.67310], + [1195945200000, 0.67420], + [1196031600000, 0.67440], + [1196118000000, 0.67390], + [1196204400000, 0.67310], + [1196290800000, 0.67610], + [1196377200000, 0.67610], + [1196463600000, 0.67850], + [1196550000000, 0.68180], + [1196636400000, 0.68360], + [1196722800000, 0.68230], + [1196809200000, 0.68050], + [1196895600000, 0.67930], + [1196982000000, 0.68490], + [1197068400000, 0.68330], + [1197154800000, 0.68250], + [1197241200000, 0.68250], + [1197327600000, 0.68160], + [1197414000000, 0.67990], + [1197500400000, 0.68130], + [1197586800000, 0.68090], + [1197673200000, 0.68680], + [1197759600000, 0.69330], + [1197846000000, 0.69330], + [1197932400000, 0.69450], + [1198018800000, 0.69440], + [1198105200000, 0.69460], + [1198191600000, 0.69640], + [1198278000000, 0.69650], + [1198364400000, 0.69560], + [1198450800000, 0.69560], + [1198537200000, 0.6950], + [1198623600000, 0.69480], + [1198710000000, 0.69280], + [1198796400000, 0.68870], + [1198882800000, 0.68240], + [1198969200000, 0.67940], + [1199055600000, 0.67940], + [1199142000000, 0.68030], + [1199228400000, 0.68550], + [1199314800000, 0.68240], + [1199401200000, 0.67910], + [1199487600000, 0.67830], + [1199574000000, 0.67850], + [1199660400000, 0.67850], + [1199746800000, 0.67970], + [1199833200000, 0.680], + [1199919600000, 0.68030], + [1200006000000, 0.68050], + [1200092400000, 0.6760], + [1200178800000, 0.6770], + [1200265200000, 0.6770], + [1200351600000, 0.67360], + [1200438000000, 0.67260], + [1200524400000, 0.67640], + [1200610800000, 0.68210], + [1200697200000, 0.68310], + [1200783600000, 0.68420], + [1200870000000, 0.68420], + [1200956400000, 0.68870], + [1201042800000, 0.69030], + [1201129200000, 0.68480], + [1201215600000, 0.68240], + [1201302000000, 0.67880], + [1201388400000, 0.68140], + [1201474800000, 0.68140], + [1201561200000, 0.67970], + [1201647600000, 0.67690], + [1201734000000, 0.67650], + [1201820400000, 0.67330], + [1201906800000, 0.67290], + [1201993200000, 0.67580], + [1202079600000, 0.67580], + [1202166000000, 0.6750], + [1202252400000, 0.6780], + [1202338800000, 0.68330], + [1202425200000, 0.68560], + [1202511600000, 0.69030], + [1202598000000, 0.68960], + [1202684400000, 0.68960], + [1202770800000, 0.68820], + [1202857200000, 0.68790], + [1202943600000, 0.68620], + [1203030000000, 0.68520], + [1203116400000, 0.68230], + [1203202800000, 0.68130], + [1203289200000, 0.68130], + [1203375600000, 0.68220], + [1203462000000, 0.68020], + [1203548400000, 0.68020], + [1203634800000, 0.67840], + [1203721200000, 0.67480], + [1203807600000, 0.67470], + [1203894000000, 0.67470], + [1203980400000, 0.67480], + [1204066800000, 0.67330], + [1204153200000, 0.6650], + [1204239600000, 0.66110], + [1204326000000, 0.65830], + [1204412400000, 0.6590], + [1204498800000, 0.6590], + [1204585200000, 0.65810], + [1204671600000, 0.65780], + [1204758000000, 0.65740], + [1204844400000, 0.65320], + [1204930800000, 0.65020], + [1205017200000, 0.65140], + [1205103600000, 0.65140], + [1205190000000, 0.65070], + [1205276400000, 0.6510], + [1205362800000, 0.64890], + [1205449200000, 0.64240], + [1205535600000, 0.64060], + [1205622000000, 0.63820], + [1205708400000, 0.63820], + [1205794800000, 0.63410], + [1205881200000, 0.63440], + [1205967600000, 0.63780], + [1206054000000, 0.64390], + [1206140400000, 0.64780], + [1206226800000, 0.64810], + [1206313200000, 0.64810], + [1206399600000, 0.64940], + [1206486000000, 0.64380], + [1206572400000, 0.63770], + [1206658800000, 0.63290], + [1206745200000, 0.63360], + [1206831600000, 0.63330], + [1206914400000, 0.63330], + [1207000800000, 0.6330], + [1207087200000, 0.63710], + [1207173600000, 0.64030], + [1207260000000, 0.63960], + [1207346400000, 0.63640], + [1207432800000, 0.63560], + [1207519200000, 0.63560], + [1207605600000, 0.63680], + [1207692000000, 0.63570], + [1207778400000, 0.63540], + [1207864800000, 0.6320], + [1207951200000, 0.63320], + [1208037600000, 0.63280], + [1208124000000, 0.63310], + [1208210400000, 0.63420], + [1208296800000, 0.63210], + [1208383200000, 0.63020], + [1208469600000, 0.62780], + [1208556000000, 0.63080], + [1208642400000, 0.63240], + [1208728800000, 0.63240], + [1208815200000, 0.63070], + [1208901600000, 0.62770], + [1208988000000, 0.62690], + [1209074400000, 0.63350], + [1209160800000, 0.63920], + [1209247200000, 0.640], + [1209333600000, 0.64010], + [1209420000000, 0.63960], + [1209506400000, 0.64070], + [1209592800000, 0.64230], + [1209679200000, 0.64290], + [1209765600000, 0.64720], + [1209852000000, 0.64850], + [1209938400000, 0.64860], + [1210024800000, 0.64670], + [1210111200000, 0.64440], + [1210197600000, 0.64670], + [1210284000000, 0.65090], + [1210370400000, 0.64780], + [1210456800000, 0.64610], + [1210543200000, 0.64610], + [1210629600000, 0.64680], + [1210716000000, 0.64490], + [1210802400000, 0.6470], + [1210888800000, 0.64610], + [1210975200000, 0.64520], + [1211061600000, 0.64220], + [1211148000000, 0.64220], + [1211234400000, 0.64250], + [1211320800000, 0.64140], + [1211407200000, 0.63660], + [1211493600000, 0.63460], + [1211580000000, 0.6350], + [1211666400000, 0.63460], + [1211752800000, 0.63460], + [1211839200000, 0.63430], + [1211925600000, 0.63460], + [1212012000000, 0.63790], + [1212098400000, 0.64160], + [1212184800000, 0.64420], + [1212271200000, 0.64310], + [1212357600000, 0.64310], + [1212444000000, 0.64350], + [1212530400000, 0.6440], + [1212616800000, 0.64730], + [1212703200000, 0.64690], + [1212789600000, 0.63860], + [1212876000000, 0.63560], + [1212962400000, 0.6340], + [1213048800000, 0.63460], + [1213135200000, 0.6430], + [1213221600000, 0.64520], + [1213308000000, 0.64670], + [1213394400000, 0.65060], + [1213480800000, 0.65040], + [1213567200000, 0.65030], + [1213653600000, 0.64810], + [1213740000000, 0.64510], + [1213826400000, 0.6450], + [1213912800000, 0.64410], + [1213999200000, 0.64140], + [1214085600000, 0.64090], + [1214172000000, 0.64090], + [1214258400000, 0.64280], + [1214344800000, 0.64310], + [1214431200000, 0.64180], + [1214517600000, 0.63710], + [1214604000000, 0.63490], + [1214690400000, 0.63330], + [1214776800000, 0.63340], + [1214863200000, 0.63380], + [1214949600000, 0.63420], + [1215036000000, 0.6320], + [1215122400000, 0.63180], + [1215208800000, 0.6370], + [1215295200000, 0.63680], + [1215381600000, 0.63680], + [1215468000000, 0.63830], + [1215554400000, 0.63710], + [1215640800000, 0.63710], + [1215727200000, 0.63550], + [1215813600000, 0.6320], + [1215900000000, 0.62770], + [1215986400000, 0.62760], + [1216072800000, 0.62910], + [1216159200000, 0.62740], + [1216245600000, 0.62930], + [1216332000000, 0.63110], + [1216418400000, 0.6310], + [1216504800000, 0.63120], + [1216591200000, 0.63120], + [1216677600000, 0.63040], + [1216764000000, 0.62940], + [1216850400000, 0.63480], + [1216936800000, 0.63780], + [1217023200000, 0.63680], + [1217109600000, 0.63680], + [1217196000000, 0.63680], + [1217282400000, 0.6360], + [1217368800000, 0.6370], + [1217455200000, 0.64180], + [1217541600000, 0.64110], + [1217628000000, 0.64350], + [1217714400000, 0.64270], + [1217800800000, 0.64270], + [1217887200000, 0.64190], + [1217973600000, 0.64460], + [1218060000000, 0.64680], + [1218146400000, 0.64870], + [1218232800000, 0.65940], + [1218319200000, 0.66660], + [1218405600000, 0.66660], + [1218492000000, 0.66780], + [1218578400000, 0.67120], + [1218664800000, 0.67050], + [1218751200000, 0.67180], + [1218837600000, 0.67840], + [1218924000000, 0.68110], + [1219010400000, 0.68110], + [1219096800000, 0.67940], + [1219183200000, 0.68040], + [1219269600000, 0.67810], + [1219356000000, 0.67560], + [1219442400000, 0.67350], + [1219528800000, 0.67630], + [1219615200000, 0.67620], + [1219701600000, 0.67770], + [1219788000000, 0.68150], + [1219874400000, 0.68020], + [1219960800000, 0.6780], + [1220047200000, 0.67960], + [1220133600000, 0.68170], + [1220220000000, 0.68170], + [1220306400000, 0.68320], + [1220392800000, 0.68770], + [1220479200000, 0.69120], + [1220565600000, 0.69140], + [1220652000000, 0.70090], + [1220738400000, 0.70120], + [1220824800000, 0.7010], + [1220911200000, 0.70050] + ]; + + function euroFormatter(v, axis) { + return v.toFixed(axis.tickDecimals) + "€"; + } + + function doPlot(position) { + $.plot("#flot-axes", [ + { data: oilprices, label: "Oil price ($)" }, + { data: exchangerates, label: "USD/EUR exchange rate", yaxis: 2 } + ], { + grid: { borderWidth: 0, labelMargin: 10, axisMargin: 0, minBorderMargin: 0 }, + colors: ["#8E54E9", "#32b432"], + xaxes: [{ mode: "time" }], + yaxes: [{ min: 0 }, { + // align if we are to the right + alignTicksWithAxis: position == "right" ? 1 : null, + position: position, + tickFormatter: euroFormatter + }], + legend: { position: "sw" } + }); + } + + doPlot("right"); + + $("button").click(function() { + doPlot($(this).text()); + }); + + // Add the Flot version string to the footer + + $("#footer").prepend("Flot " + $.plot.version + " – "); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var gmap = jQuery(".gmap"); + if (gmap.length > 0) { + // Address Marker + var addressLocation = $('#address'); + if (addressLocation.length > 0) { + $(addressLocation) + new GMaps({ + div: '#address', + lat: -12.043333, + lng: -77.028333 + }); + } + // Satellite view + var satelliteView = $('#events'); + if (satelliteView.length > 0) { + $(satelliteView) + var map = new GMaps({ + div: '#events', + zoom: 16, + lat: -12.043333, + lng: -77.028333, + click: function(e) { + alert('click'); + }, + dragend: function(e) { + alert('dragend'); + } + }); + } + // Satellite view + var marker = $('#marker'); + if (marker.length > 0) { + $(marker) + var markerevents = new GMaps({ + div: '#marker', + zoom: 16, + lat: -12.043333, + lng: -77.028333 + + }); + + markerevents.addMarker({ + lat: -12.043333, + lng: -77.03, + title: 'Lima', + details: { + database_id: 42, + author: 'HPNeo' + }, + click: function(e){ + if(console.log) + console.log(e); + alert('You clicked in this marker'); + } + }); + markerevents.addMarker({ + lat: -12.042, + lng: -77.028333, + title: 'Marker with InfoWindow', + infoWindow: { + content: '

HTML Content

' + } + }) + } + var marker = $('#polygon'); + if (marker.length > 0) { + $(marker) + var polygon = new GMaps({ + div: '#polygon', + zoom: 16, + lat: -12.043333, + lng: -77.028333 + + }); + + var path = [[-12.040397656836609,-77.03373871559225], [-12.040248585302038,-77.03993927003302], [-12.050047116528843,-77.02448169303511], [-12.044804866577001,-77.02154422636042]]; + + polygon1 = polygon.drawPolygon({ + paths: path, // pre-defined polygon shape + strokeColor: '#BBD8E9', + strokeOpacity: 1, + strokeWeight: 3, + fillColor: '#BBD8E9', + fillOpacity: 0.6 + }); + } + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var jqueryKnob = jQuery(".jqueryknob-wrapper"); + if (jqueryKnob.length > 0) { + $(".knob").knob({ + change: function(value) { + //console.log("change : " + value); + }, + release: function(value) { + //console.log(this.$.attr('value')); + console.log("release : " + value); + }, + cancel: function() { + console.log("cancel : ", this); + }, + /*format : function (value) { + return value + '%'; + },*/ + draw: function() { + + // "tron" case + if (this.$.data('skin') == 'tron') { + + this.cursorExt = 0.3; + + var a = this.arc(this.cv) // Arc + , + pa // Previous arc + , r = 1; + + this.g.lineWidth = this.lineWidth; + + if (this.o.displayPrevious) { + pa = this.arc(this.v); + this.g.beginPath(); + this.g.strokeStyle = this.pColor; + this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, pa.s, pa.e, pa.d); + this.g.stroke(); + } + + this.g.beginPath(); + this.g.strokeStyle = r ? this.o.fgColor : this.fgColor; + this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, a.s, a.e, a.d); + this.g.stroke(); + + this.g.lineWidth = 2; + this.g.beginPath(); + this.g.strokeStyle = this.o.fgColor; + this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false); + this.g.stroke(); + + return false; + } + } + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var jQVMap = jQuery(".vectormap-wrapper"); + if (jQVMap.length > 0) { + + //Analytics map + var world = jQuery('#world') + if (world.length > 0) { + + function escapeXml(string) { + return string.replace(/[<>]/g, function (c) { + switch (c) { + case '<': return '\u003c'; + case '>': return '\u003e'; + } + }); + } + + var pins = { + mo: escapeXml('
MO
'), + fl: escapeXml('
FL
'), + or: escapeXml('
OR
') + }; + + jQuery(world).vectorMap({ + map: 'world_en', + backgroundColor: '#ffff', + pins: pins, + pinMode: 'content', + showTooltip: true, + hoverColor: '#8E54E9', + borderColor: '#fff', + selectedColor: ['#8E54E9'], + color: '#eceef3', + selectedRegions: ['US', 'AU', 'IN', 'GR'], + onRegionClick: function(event){ + event.preventDefault(); + } + }); + } + // Australia + var australia = jQuery('#australia') + if (australia.length > 0) { + jQuery(australia).vectorMap({ + map: 'australia_en', + backgroundColor: '#fff', + selectedColor: '#fbaf54', + borderColor: '#fff', + hoverColor: '#fbaf54', + color: '#e8edf1' + }); + } + // Africa + var africa = jQuery('#africa') + if (africa.length > 0) { + jQuery(africa).vectorMap({ + map: 'africa_en', + backgroundColor: '#fff', + selectedColor: '#32b432', + borderColor: '#fff', + hoverColor: '#32b432', + color: '#e8edf1' + }); + } + // USA + var usa = jQuery('#usa') + if (usa.length > 0) { + jQuery(usa).vectorMap({ + map: 'usa_en', + backgroundColor: '#fff', + selectedColor: '#8E54E9', + hoverColor: '#8E54E9', + borderColor: '#fff', + color: '#e8edf1' + }); + } + // Canada + var canada = jQuery('#canada') + if (canada.length > 0) { + jQuery(canada).vectorMap({ + map: 'canada_en', + backgroundColor: '#fff', + selectedColor: '#fd9644', + hoverColor: '#fd9644', + borderColor: '#fff', + color: '#e8edf1' + }); + } + // Europe + var russia = jQuery('#russia') + if (russia.length > 0) { + jQuery(russia).vectorMap({ + map: 'russia_en', + backgroundColor: '#fff', + selectedColor: '#e3324c', + hoverColor: '#e3324c', + borderColor: '#fff', + color: '#e8edf1', + zoom: 5 + }); + } + // Brazil + var brazil = jQuery('#brazil') + if (brazil.length > 0) { + jQuery(brazil).vectorMap({ + map: 'brazil_br', + backgroundColor: '#fff', + selectedColor: '#20bf6b', + hoverColor: '#20bf6b', + borderColor: '#fff', + color: '#e8edf1' + }); + } + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var magnific = jQuery(".magnific-wrapper"); + if (magnific.length > 0) { + $('.view').magnificPopup({ + type: 'image' + // other options + }); + $(document).ready(function() { + $('.view2').magnificPopup({ + disableOn: 700, + type: 'iframe', + mainClass: 'mfp-fade', + removalDelay: 160, + preloader: false, + fixedContentPos: false + }); + }); + $('.view1').magnificPopup({ + type: 'image', + gallery: { + enabled: true + }, + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var mapaelMap = jQuery(".mapaelmap-wrapper"); + if (mapaelMap.length > 0) { + // World Map + $(mapaelMap).mapael({ + map: { + name: "world_countries" + } + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var morrisJS = jQuery(".morris-wrapper"); + if (morrisJS.length > 0) { + // morris line chart + var morrisdemo1 = jQuery("#morrisdemo1"); + if (morrisdemo1.length > 0) { + Morris.Line({ + element: morrisdemo1, + data: [ + { y: '2006', a: 40, b: 30 }, + { y: '2007', a: 75, b: 65 }, + { y: '2008', a: 50, b: 40 }, + { y: '2009', a: 75, b: 65 }, + { y: '2010', a: 50, b: 40 }, + { y: '2011', a: 75, b: 65 }, + { y: '2012', a: 60, b: 50 } + ], + xkey: 'y', + ykeys: ['a', 'b'], + labels: ['Series A', 'Series B'], + lineColors: ['#4776E6', '#8E54E9'], + resize: true, + padding: 20, + grid: false, + gridTextFamily: 'Roboto', + gridTextSize: 10 + }); + } + // morris line chart + var morrisdemo2 = jQuery("#morrisdemo2"); + if (morrisdemo2.length > 0) { + Morris.Area({ + element: morrisdemo2, + data: [ + { y: '2006', a: 40, b: 30 }, + { y: '2007', a: 75, b: 65 }, + { y: '2008', a: 50, b: 40 }, + { y: '2009', a: 75, b: 65 }, + { y: '2010', a: 50, b: 40 }, + { y: '2011', a: 75, b: 65 }, + { y: '2012', a: 60, b: 50 } + ], + xkey: 'y', + ykeys: ['a', 'b'], + labels: ['Series A', 'Series B'], + lineColors: ['#4776E6', '#8E54E9'], + resize: true, + fillOpacity: 0.4, + padding: 20, + grid: false, + gridTextFamily: 'Roboto', + gridTextSize: 10 + }); + } + // morris bar chart + var morrisdemo3 = jQuery("#morrisdemo3"); + if (morrisdemo3.length > 0) { + Morris.Bar({ + element: morrisdemo3, + data: [ + { y: '2006', a: 100, b: 90 }, + { y: '2007', a: 75, b: 65 }, + { y: '2008', a: 50, b: 40 }, + { y: '2009', a: 75, b: 65 }, + { y: '2010', a: 50, b: 40 }, + { y: '2011', a: 75, b: 65 }, + { y: '2012', a: 100, b: 90 } + ], + xkey: 'y', + ykeys: ['a', 'b'], + labels: ['Series A', 'Series B'], + barColors: ['#4776E6', '#8E54E9'], + resize: true, + fillOpacity: 0.4, + padding: 15, + grid: false, + gridTextFamily: 'Roboto', + gridTextSize: 10 + }); + } + // morris donut chart + var morrisdemo4 = jQuery("#morrisdemo4"); + if (morrisdemo4.length > 0) { + Morris.Donut({ + element: morrisdemo4, + data: [ + { label: "Direct Visits", value: 12 }, + { label: "Redirect Visits", value: 30 }, + { label: "Referral Visits", value: 20 } + ], + colors: ['#45aaf2', '#e3324c', '#fbaf54'] + }); + } + // morris stacked bar chart + var morrisdemo5 = jQuery("#morrisdemo5"); + if (morrisdemo5.length > 0) { + Morris.Bar({ + element: morrisdemo5, + data: [ + { y: '2006', a: 100, b: 90 }, + { y: '2007', a: 75, b: 65 }, + { y: '2008', a: 50, b: 40 }, + { y: '2009', a: 75, b: 65 }, + { y: '2010', a: 50, b: 40 }, + { y: '2011', a: 75, b: 65 }, + { y: '2012', a: 100, b: 90 } + ], + xkey: 'y', + ykeys: ['a', 'b'], + labels: ['Series A', 'Series B'], + barColors: ['#4776E6', '#8E54E9'], + resize: true, + fillOpacity: 0.4, + padding: 15, + grid: false, + gridTextFamily: 'Roboto', + gridTextSize: 10, + stacked: true + }); + } + // morris donut chart + var morrisecommerce1 = jQuery("#morrisecommerce1"); + if (morrisecommerce1.length > 0) { + Morris.Donut({ + element: morrisecommerce1, + data: [ + { label: "Total sales", value: 680 }, + { label: "Open campaign", value: 800 }, + { label: "Daily sales", value: 500 } + ], + colors: ['#45aaf2', '#8E54E9', '#eceef3'] + }); + } + + // morris cardealer1 + var cardealer1 = jQuery("#cardealer1"); + if (cardealer1.length > 0) { + Morris.Donut({ + element: cardealer1, + data: [ + { label: "New cars", value: 680 }, + { label: "Used cars", value: 800 } + ], + colors: ['#f7b731', '#2bcbba'] + }); + } + + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var nestable = jQuery(".nestable-wrapper"); + if (nestable.length > 0) { + var updateOutput = function(e) { + var list = e.length ? e : $(e.target), + output = list.data('output'); + if (window.JSON) { + output.val(window.JSON.stringify(list.nestable('serialize'))); //, null, 2)); + } else { + output.val('JSON browser support required for this demo.'); + } + }; + + // activate Nestable for list 1 + $('#nestable').nestable({ + group: 1 + }) + .on('change', updateOutput); + + // activate Nestable for list 2 + $('#nestable2').nestable({ + group: 1 + }) + .on('change', updateOutput); + + // output initial serialised data + updateOutput($('#nestable').data('output', $('#nestable-output'))); + updateOutput($('#nestable2').data('output', $('#nestable2-output'))); + + $('#nestable-menu').on('click', function(e) { + var target = $(e.target), + action = target.data('action'); + if (action === 'expand-all') { + $('.dd').nestable('expandAll'); + } + if (action === 'collapse-all') { + $('.dd').nestable('collapseAll'); + } + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var owlCarousel = jQuery(".owl-wrapper"); + if (owlCarousel.length > 0) { + var owlslider = $('.owl-carousel'); + owlslider.each(function () { + var $this = $(this), + $items = ($this.data('items')) ? $this.data('items') : 1, + $loop = ($this.attr('data-loop')) ? $this.data('loop') : true, + $navdots = ($this.data('nav-dots')) ? $this.data('nav-dots') : false, + $navarrow = ($this.data('nav-arrow')) ? $this.data('nav-arrow') : false, + $autoplay = ($this.attr('data-autoplay')) ? $this.data('autoplay') : true, + $autospeed = ($this.attr('data-autospeed')) ? $this.data('autospeed') : 5000, + $smartspeed = ($this.attr('data-smartspeed')) ? $this.data('smartspeed') : 1000, + $autohgt = ($this.data('autoheight')) ? $this.data('autoheight') : false, + $space = ($this.attr('data-space')) ? $this.data('space') : 30; + + $(this).owlCarousel({ + loop: $loop, + items: $items, + responsive: { + 0:{items: $this.data('xx-items') ? $this.data('xx-items') : 1}, + 480:{items: $this.data('xs-items') ? $this.data('xs-items') : 1}, + 768:{items: $this.data('sm-items') ? $this.data('sm-items') : 2}, + 980:{items: $this.data('md-items') ? $this.data('md-items') : 3}, + 1200:{items: $this.data('lg-items') ? $this.data('lg-items') : 4}, + 1400:{items: $this.data('xl-items') ? $this.data('lg-items') : 5}, + }, + dots: $navdots, + autoplayTimeout:$autospeed, + smartSpeed: $smartspeed, + autoHeight:$autohgt, + margin:$space, + nav: $navarrow, + navText:["",""], + autoplay: $autoplay, + autoplayHoverPause: true + }); + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var popOvers = jQuery(".popover-wrapper"); + if (popOvers.length > 0) { + $('[data-toggle="popover"]').popover() + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + jQuery(".loader").fadeOut('slow'); + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var quillEditor = jQuery(".quill-editor"); + if (quillEditor.length > 0) { + var toolbarOptions = [ + ['bold', 'italic', 'underline', 'strike'], + ['blockquote', 'code-block'], + + [{ 'header': 1 }, { 'header': 2 }], + [{ 'list': 'ordered' }, { 'list': 'bullet' }], + [{ 'script': 'sub' }, { 'script': 'super' }], + [{ 'indent': '-1' }, { 'indent': '+1' }], + [{ 'direction': 'rtl' }], + ]; + var editor = new Quill('#editor', { + modules: { + toolbar: toolbarOptions + }, + theme: 'snow' + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var rangeslider = jQuery(".rangeslider-wrapper"); + if (rangeslider.length > 0) { + //slider-1 + $("#slider-1").ionRangeSlider(); + //slider-2 + $("#slider-2").ionRangeSlider({ + min: 100, + max: 1000, + from: 550 + }); + //slider-3 + $("#slider-3").ionRangeSlider({ + type: "double", + grid: true, + min: 0, + max: 1000, + from: 200, + to: 800, + prefix: "$" + }); + //slider-4 + $("#slider-4").ionRangeSlider({ + type: "double", + grid: true, + min: -1000, + max: 1000, + from: -500, + to: 500 + }); + //slider-5 + $("#slider-5").ionRangeSlider({ + type: "double", + grid: true, + min: -1000, + max: 1000, + from: -500, + to: 500, + step: 250 + }); + //slider-6 + $("#slider-6").ionRangeSlider({ + type: "double", + grid: true, + min: -12.8, + max: 12.8, + from: -3.2, + to: 3.2, + step: 0.1 + }); + //slider-7 + $("#slider-7").ionRangeSlider({ + type: "double", + grid: true, + from: 1, + to: 5, + values: [0, 10, 100, 1000, 10000, 100000, 1000000] + }); + //slider-8 + $("#slider-8").ionRangeSlider({ + grid: true, + from: 5, + values: [ + "zero", "one", + "two", "three", + "four", "five", + "six", "seven", + "eight", "nine", + "ten" + ] + }); + //slider-9 + $("#slider-9").ionRangeSlider({ + grid: true, + from: 3, + values: [ + "January", "February", "March", + "April", "May", "June", + "July", "August", "September", + "October", "November", "December" + ] + }); + //slider-10 + $("#slider-10").ionRangeSlider({ + grid: true, + min: 1000, + max: 1000000, + from: 100000, + step: 1000, + prettify_enabled: false + }); + //slider-11 + $("#slider-11").ionRangeSlider({ + grid: true, + min: 1000, + max: 1000000, + from: 200000, + step: 1000, + prettify_enabled: true + }); + //slider-12 + $("#slider-12").ionRangeSlider({ + grid: true, + min: 1000, + max: 1000000, + from: 300000, + step: 1000, + prettify_enabled: true, + prettify_separator: "." + }); + //slider-13 + $("#slider-13").ionRangeSlider({ + grid: true, + min: 1000, + max: 1000000, + from: 400000, + step: 1000, + prettify_enabled: true, + prettify: function(num) { + return (Math.random() * num).toFixed(0); + } + }); + //slider-14 + $("#slider-14").ionRangeSlider({ + type: "double", + grid: true, + min: 0, + max: 10000, + from: 1000, + step: 9000, + prefix: "$" + }); + //slider-15 + $("#slider-15").ionRangeSlider({ + type: "single", + grid: true, + min: -90, + max: 90, + from: 0, + postfix: "°" + }); + //slider-16 + $("#slider-16").ionRangeSlider({ + grid: true, + min: 18, + max: 70, + from: 30, + prefix: "Age ", + max_postfix: "+" + }); + //slider-17 + $("#slider-17").ionRangeSlider({ + type: "double", + min: 100, + max: 200, + from: 145, + to: 155, + prefix: "Weight: ", + postfix: " million pounds", + decorate_both: true + }); + //Slider-inter-1 + var $update = $(".js-update-43"); + $("#slider-inter_1").ionRangeSlider({ + type: "single", + min: 0, + max: 100, + from: 50, + keyboard: true, + onStart: function(data) { + console.log("onStart"); + }, + onChange: function(data) { + console.log("onChange"); + }, + onFinish: function(data) { + console.log("onFinish"); + }, + onUpdate: function(data) { + console.log("onUpdate"); + } + }); + var slider = $("#slider-inter_1").data("ionRangeSlider"); + $update.on("click", function() { + slider.update({ + from: 10 + }); + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var scrollbar = jQuery(".scrollbar"); + if (scrollbar.length > 0) { + $('.scroll_dark').mCustomScrollbar({ + theme:"minimal-dark", + setHeight: false, + mouseWheel: { + normalizeDelta: true, + scrollAmount: '200px', + contentTouchScroll: true, + deltaFactor: '200px' + }, + advanced: { + autoScrollOnFocus: 'a[tabindex]' + } + }); + $('.scroll_light').mCustomScrollbar({ + theme:"minimal", + setHeight: false, + mouseWheel: { + normalizeDelta: true, + scrollAmount: '200px', + contentTouchScroll: true, + eltaFactor: '200px' + }, + advanced: { + autoScrollOnFocus: 'a[tabindex]' + } + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var select = jQuery(".select-wrapper"); + if (select.length > 0) { + $('.js-basic-single').select2(); + $('.js-basic-multiple').select2(); + $(".bs-select-1").val() + $(".bs-input").tagsinput('items') + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var sidebarNav = jQuery(".sidebar-nav"); + if (sidebarNav.length > 0) { + $('#sidebarNav').metisMenu(); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var sparkline = jQuery(".sparkline-wrapper"); + if (sparkline.length > 0) { + function Sparkline() { + var sparklinedemo1 = jQuery("#sparklinedemo1"); + if (sparklinedemo1.length > 0) { + $(sparklinedemo1).sparkline([20, 30, 25, 40, 40, 50, 56, 37, 50], { + type: 'line', + width: '100%', + height: '200', + lineWidth: 2, + spotRadius: 0, + chartRangeMax: 50, + lineColor: 'rgba(71, 118, 230, 0.5)', + fillColor: 'rgba(71, 118, 230, 0.3)', + highlightLineColor: 'rgba(0,0,0,.1)', + highlightSpotColor: 'rgba(0,0,0,.2)', + }); + $(sparklinedemo1).sparkline([10, 35, 30, 60, 50, 45, 30, 24, 30], { + type: 'line', + width: '100%', + height: '200', + lineWidth: 2, + spotRadius: 0, + chartRangeMax: 40, + lineColor: 'rgba(142, 84, 233, 0.5)', + fillColor: 'rgba(142, 84, 233, 0.3)', + composite: true, + highlightLineColor: 'rgba(0,0,0,.1)', + highlightSpotColor: 'rgba(0,0,0,.2)', + }); + } + var sparklinedemo2 = jQuery("#sparklinedemo2"); + if (sparklinedemo2.length > 0) { + $(sparklinedemo2).sparkline([20, 30, 25, 40, 40, 50, 56, 37, 50], { + type: 'line', + width: '100%', + height: '200', + lineWidth: 2, + spotRadius: 0, + chartRangeMax: 50, + lineColor: 'rgba(71, 118, 230, 1)', + fillColor: 'transparent', + highlightLineColor: 'rgba(0,0,0,.1)', + highlightSpotColor: 'rgba(0,0,0,.2)' + }); + $(sparklinedemo2).sparkline([10, 35, 30, 60, 50, 45, 30, 24, 30], { + type: 'line', + width: '100%', + height: '200', + lineWidth: 2, + spotRadius: 0, + chartRangeMax: 40, + lineColor: 'rgba(142, 84, 233, 1)', + fillColor: 'transparent', + composite: true, + highlightLineColor: 'rgba(0,0,0,1)', + highlightSpotColor: 'rgba(0,0,0,1)' + }); + } + var sparklinedemo3 = jQuery("#sparklinedemo3"); + if (sparklinedemo3.length > 0) { + $(sparklinedemo3).sparkline([5, 8, 6, 7, 3, 5, 6, 8, 2, 8, 5, 10, 11, 10, 1, 6, 5, 7, 8, 10, 8, 12, 7, 9, 5, 6, 10, 7, 8, 5, 6, 8, 5, 9, 3, 7, 1, 6, 4, 8, 4, 9, 10, 13, 7, 8, 6, 4, 11, 5, 6, 4, 7, 10, 4, 7, 4, 9], { + type: 'bar', + height: '200', + barWidth: '10', + barSpacing: '3', + barColor: '#4776E6' + }); + } + + //chart widget end + + var sparklinedemo4 = jQuery("#sparklinedemo4"); + if (sparklinedemo4.length > 0) { + $(sparklinedemo4).sparkline([5, 8, 6, 7, 3, 5, 6, 8, 4, 8, 5, 10, 11, 10, 5, 6, 5, 7, 8, 10], { + type: 'line', + width: '100%', + height: '200', + lineColor: 'rgba(142, 84, 233, 0.5)', + fillColor: 'rgba(142, 84, 233, 0.3)', + highlightLineColor: 'rgba(0,0,0,.1)', + highlightSpotColor: 'rgba(0,0,0,.2)' + }); + $(sparklinedemo4).sparkline([5, 8, 6, 7, 3, 5, 6, 8, 2, 8, 5, 10, 11, 10, 5, 6, 5, 7, 8, 10], { + type: 'bar', + height: '200', + barWidth: '10', + barSpacing: '5', + composite: true, + barColor: '#4776E6' + }); + } + var sparklinedemo5 = jQuery("#sparklinedemo5"); + if (sparklinedemo5.length > 0) { + $(sparklinedemo5).sparkline([40, 30, 20, 10], { + type: 'pie', + width: '200', + height: '165', + sliceColors: ['#4776E6', '#8E54E9', '#ffbc1d', '#25d09a'] + }); + } + + }; + + Sparkline(); + + var resize; + $window.resize(function(e) { + clearTimeout(resize); + resize = setTimeout(function() { + Sparkline(); + + }, 300); + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var summernote = jQuery(".summernote"); + if (summernote.length > 0) { + $('#summernote').summernote({ + tabsize: 2, + height: 250 + }); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ +$('#sweetalert-01').click(function(e) { + swal({ + text: 'Any fool can use a computer', + showCloseButton: false, + showCancelButton: true, + }) +}); + + +$('#sweetalert-02').click(function(e) { + swal( + 'The Internet?', + 'That thing is still around?', + 'question' + ) +}); + +$('#sweetalert-03').click(function(e) { + swal({ + type: 'error', + title: 'Oops...', + text: 'Something went wrong!', + footer: 'Why do I have this issue?', + }) +}); + +$('#sweetalert-04').click(function(e) { + swal({ + imageUrl: 'assets/img/widget/06.jpg', + imageHeight: 596, + imageAlt: 'A tall image' + }) +}); + +$('#sweetalert-05').click(function(e) { + swal({ + title: 'HTML example', + type: 'info', + html: 'You can use bold text, ' + + 'links ' + + 'and other HTML tags', + showCloseButton: true, + showCancelButton: true, + focusConfirm: false, + confirmButtonText: ' Great!', + confirmButtonAriaLabel: 'Thumbs up, great!', + cancelButtonText: '', + cancelButtonAriaLabel: 'Thumbs down', + confirmButtonClass: 'btn btn-success', + cancelButtonClass: 'btn btn-danger' + }) +}); + +$('#sweetalert-06').click(function(e) { + swal({ + position: 'top-end', + type: 'success', + title: 'Your work has been saved', + showConfirmButton: false, + timer: 1500 + }) +}); + +$('#sweetalert-07').click(function(e) { + swal({ + title: 'Custom animation with Animate.css', + animation: false, + customClass: 'animated tada' + }) +}); + +$('#sweetalert-08').click(function(e) { + swal({ + title: 'Are you sure?', + text: "You won't be able to revert this!", + type: 'warning', + showCancelButton: true, + confirmButtonColor: '#3085d6', + cancelButtonColor: '#d33', + confirmButtonText: 'Yes, delete it!', + confirmButtonClass: 'btn btn-success', + cancelButtonClass: 'btn btn-danger', + }).then((result) => { + if (result.value) { + swal( + 'Deleted!', + 'Your file has been deleted.', + 'success' + ) + } + }) +}); + +$('#sweetalert-09').click(function(e) { + swal({ + title: 'Are you sure?', + text: "You won't be able to revert this!", + type: 'warning', + showCancelButton: true, + confirmButtonColor: '#3085d6', + cancelButtonColor: '#d33', + confirmButtonText: 'Yes, delete it!', + cancelButtonText: 'No, cancel!', + confirmButtonClass: 'btn btn-success', + cancelButtonClass: 'btn btn-danger', + buttonsStyling: true, + reverseButtons: true + }).then((result) => { + if (result.value) { + swal( + 'Deleted!', + 'Your file has been deleted.', + 'success' + ) + } else if ( + // Read more about handling dismissals + result.dismiss === swal.DismissReason.cancel + ) { + swal( + 'Cancelled', + 'Your imaginary file is safe :)', + 'error' + ) + } + }) +}); + +$('#sweetalert-10').click(function(e) { + swal({ + title: 'Sweet!', + text: 'Modal with a custom image.', + imageUrl: 'https://unsplash.it/400/200', + imageWidth: 400, + imageHeight: 200, + imageAlt: 'Custom image', + animation: false + }) +}); + +$('#sweetalert-11').click(function(e) { + swal({ + title: 'Custom width, padding, background.', + width: 600, + padding: 100, + background: '#fff url(../images/trees.png)', + backdrop: ` + rgba(0,0,123,0.4) + url("/images/nyan-cat.gif") + center left + no-repeat +` + }) +}); + +$('#sweetalert-12').click(function(e) { + swal({ + title: 'Auto close alert!', + text: 'I will close in 5 seconds.', + timer: 5000, + onOpen: () => { + swal.showLoading() + } + }).then((result) => { + if ( + // Read more about handling dismissals + result.dismiss === swal.DismissReason.timer + ) { + console.log('I was closed by the timer') + } + }) +}); + + +$('#sweetalert-13').click(function(e) { + swal({ + title: 'هل تريد الاستمرار؟', + confirmButtonText: 'نعم', + cancelButtonText: 'لا', + showCancelButton: true, + showCloseButton: true, + confirmButtonClass: 'btn btn-success', + cancelButtonClass: 'btn btn-danger', + target: document.getElementById('rtl-container') + }) +}); + +$('#sweetalert-14').click(function(e) { + swal({ + title: 'Submit email to run ajax request', + input: 'email', + showCancelButton: true, + confirmButtonText: 'Submit', + showLoaderOnConfirm: true, + preConfirm: (email) => { + return new Promise((resolve) => { + setTimeout(() => { + if (email === 'taken@example.com') { + swal.showValidationError( + 'This email is already taken.' + ) + } + resolve() + }, 2000) + }) + }, + allowOutsideClick: () => !swal.isLoading() + }).then((result) => { + if (result.value) { + swal({ + type: 'success', + title: 'Ajax request finished!', + html: 'Submitted email: ' + result.value + }) + } + }) +}); + +$('#sweetalert-15').click(function(e) { + swal.setDefaults({ + input: 'text', + confirmButtonText: 'Next →', + showCancelButton: true, + confirmButtonClass: 'btn btn-success', + cancelButtonClass: 'btn btn-danger', + progressSteps: ['1', '2', '3'] + }) + + var steps = [{ + title: 'Question 1', + text: 'Chaining swal2 modals is easy' + }, + 'Question 2', + 'Question 3' + ] + + swal.queue(steps).then((result) => { + swal.resetDefaults() + + if (result.value) { + swal({ + title: 'All done!', + html: 'Your answers:
' +
+                    JSON.stringify(result.value) +
+                    '
', + confirmButtonText: 'Lovely!' + }) + } + }) +}); + +$('#sweetalert-16').click(function(e) { + const ipAPI = 'https://api.ipify.org?format=json' + swal.queue([{ + title: 'Your public IP', + confirmButtonText: 'Show my public IP', + text: 'Your public IP will be received ' + + 'via AJAX request', + showLoaderOnConfirm: true, + preConfirm: () => { + return fetch(ipAPI) + .then(response => response.json()) + .then(data => swal.insertQueueStep(data.ip)) + .catch(() => { + swal.insertQueueStep({ + type: 'error', + title: 'Unable to get your public IP' + }) + }) + } + }]) +}); + +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + $("#checkAll").click(function () { + $('input:checkbox').not(this).prop('checked', this.checked); + }); +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ +$(function () { + var i = -1; + var toastCount = 0; + var $toastlast; + + var getMessage = function () { + var msgs = ['My name is Inigo Montoya. You killed my father. Prepare to die!', + '
', + 'Are you the six fingered man?', + 'Inconceivable!', + 'I do not think that means what you think it means.', + 'Have fun storming the castle!' + ]; + i++; + if (i === msgs.length) { + i = 0; + } + + return msgs[i]; + }; + + var getMessageWithClearButton = function (msg) { + msg = msg ? msg : 'Clear itself?'; + msg += '

'; + return msg; + }; + + $('#closeButton').on("click", function () { + if($(this).is(':checked')) { + $('#addBehaviorOnToastCloseClick').prop('disabled', false); + } else { + $('#addBehaviorOnToastCloseClick').prop('disabled', true); + $('#addBehaviorOnToastCloseClick').prop('checked', false); + } + }); + + $('#showtoast').on("click", function () { + var shortCutFunction = $("#toastTypeGroup input:radio:checked").val(); + var msg = $('#message').val(); + var title = $('#title').val() || ''; + var $showDuration = $('#showDuration'); + var $hideDuration = $('#hideDuration'); + var $timeOut = $('#timeOut'); + var $extendedTimeOut = $('#extendedTimeOut'); + var $showEasing = $('#showEasing'); + var $hideEasing = $('#hideEasing'); + var $showMethod = $('#showMethod'); + var $hideMethod = $('#hideMethod'); + var toastIndex = toastCount++; + var addClear = $('#addClear').prop('checked'); + + toastr.options = { + closeButton: $('#closeButton').prop('checked'), + debug: $('#debugInfo').prop('checked'), + newestOnTop: $('#newestOnTop').prop('checked'), + progressBar: $('#progressBar').prop('checked'), + rtl: $('#rtl').prop('checked'), + positionClass: $('#positionGroup input:radio:checked').val() || 'toast-top-right', + preventDuplicates: $('#preventDuplicates').prop('checked'), + onclick: null + }; + + if ($('#addBehaviorOnToastClick').prop('checked')) { + toastr.options.onclick = function () { + alert('You can perform some custom action after a toast goes away'); + }; + } + + if ($('#addBehaviorOnToastCloseClick').prop('checked')) { + toastr.options.onCloseClick = function () { + alert('You can perform some custom action when the close button is clicked'); + }; + } + + if ($showDuration.val().length) { + toastr.options.showDuration = parseInt($showDuration.val()); + } + + if ($hideDuration.val().length) { + toastr.options.hideDuration = parseInt($hideDuration.val()); + } + + if ($timeOut.val().length) { + toastr.options.timeOut = addClear ? 0 : parseInt($timeOut.val()); + } + + if ($extendedTimeOut.val().length) { + toastr.options.extendedTimeOut = addClear ? 0 : parseInt($extendedTimeOut.val()); + } + + if ($showEasing.val().length) { + toastr.options.showEasing = $showEasing.val(); + } + + if ($hideEasing.val().length) { + toastr.options.hideEasing = $hideEasing.val(); + } + + if ($showMethod.val().length) { + toastr.options.showMethod = $showMethod.val(); + } + + if ($hideMethod.val().length) { + toastr.options.hideMethod = $hideMethod.val(); + } + + if (addClear) { + msg = getMessageWithClearButton(msg); + toastr.options.tapToDismiss = false; + } + if (!msg) { + msg = getMessage(); + } + + $('#toastrOptions').text('Command: toastr["' + + shortCutFunction + + '"]("' + + msg + + (title ? '", "' + title : '') + + '")\n\ntoastr.options = ' + + JSON.stringify(toastr.options, null, 2) + ); + + var $toast = toastr[shortCutFunction](msg, title); // Wire up an event handler to a button in the toast, if it exists + $toastlast = $toast; + + if(typeof $toast === 'undefined'){ + return; + } + + if ($toast.find('#okBtn').length) { + $toast.delegate('#okBtn', 'click', function () { + alert('you clicked me. i was toast #' + toastIndex + '. goodbye!'); + $toast.remove(); + }); + } + if ($toast.find('#surpriseBtn').length) { + $toast.delegate('#surpriseBtn', 'click', function () { + alert('Surprise! you clicked me. i was toast #' + toastIndex + '. You could perform an action here.'); + }); + } + if ($toast.find('.clear').length) { + $toast.delegate('.clear', 'click', function () { + toastr.clear($toast, { force: true }); + }); + } + }); + + function getLastToast(){ + return $toastlast; + } + $('#clearlasttoast').on("click", function () { + toastr.clear(getLastToast()); + }); + $('#cleartoasts').on("click", function () { + toastr.clear(); + }); +}) + +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + var tootlTips = jQuery(".tooltip-wrapper"); + if (tootlTips.length > 0) { + $('[data-toggle="tooltip"]').tooltip(); + } + }); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ +$.validator.setDefaults({ + submitHandler: function() { + alert("submitted!"); + } +}); + +$(document).ready(function() { + $("#signupForm").validate({ + rules: { + fname: "required", + lname: "required", + uname: { + required: true, + minlength: 2 + }, + upassword: { + required: true, + minlength: 5 + }, + uconfirm_password: { + required: true, + minlength: 5, + equalTo: "#password" + }, + uemail: { + required: true, + email: true + }, + uagree: "required" + }, + messages: { + fname: "Please enter your firstname", + lname: "Please enter your lastname", + uname: { + required: "Please enter a username", + minlength: "Your username must consist of at least 2 characters" + }, + upassword: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long" + }, + uconfirm_password: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long", + equalTo: "Please enter the same password as above" + }, + uemail: "Please enter a valid email address", + uagree: "Please accept our policy" + }, + errorElement: "em", + errorPlacement: function(error, element) { + // Add the `help-block` class to the error element + error.addClass("help-block"); + + if (element.prop("type") === "checkbox") { + error.insertAfter(element.parent("label")); + } else { + error.insertAfter(element); + } + }, + highlight: function(element, errorClass, validClass) { + $(element).parents(".col-sm-5").addClass("has-error").removeClass("has-success"); + }, + unhighlight: function(element, errorClass, validClass) { + $(element).parents(".col-sm-5").addClass("has-success").removeClass("has-error"); + } + }); + + $("#signupForm1").validate({ + rules: { + firstname1: "required", + lastname1: "required", + username1: { + required: true, + minlength: 2 + }, + password1: { + required: true, + minlength: 5 + }, + confirm_password1: { + required: true, + minlength: 5, + equalTo: "#password1" + }, + email1: { + required: true, + email: true + }, + agree1: "required" + }, + messages: { + firstname1: "Please enter your firstname", + lastname1: "Please enter your lastname", + username1: { + required: "Please enter a username", + minlength: "Your username must consist of at least 2 characters" + }, + password1: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long" + }, + confirm_password1: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long", + equalTo: "Please enter the same password as above" + }, + email1: "Please enter a valid email address", + agree1: "Please accept our policy" + }, + errorElement: "em", + errorPlacement: function(error, element) { + // Add the `help-block` class to the error element + error.addClass("help-block"); + + // Add `has-feedback` class to the parent div.form-group + // in order to add icons to inputs + element.parents(".col-sm-5").addClass("has-feedback"); + + if (element.prop("type") === "checkbox") { + error.insertAfter(element.parent("label")); + } else { + error.insertAfter(element); + } + + // Add the span element, if doesn't exists, and apply the icon classes to it. + if (!element.next("span")[0]) { + $("").insertAfter(element); + } + }, + + highlight: function(element, errorClass, validClass) { + $(element).parents(".col-sm-5").addClass("has-error").removeClass("has-success"); + $(element).next("span").addClass("fa fa-times").removeClass("fa fa-check"); + }, + unhighlight: function(element, errorClass, validClass) { + $(element).parents(".col-sm-5").addClass("has-success").removeClass("has-error"); + ($(element)).next("span").addClass("fa fa-check").removeClass("fa fa-times"); + } + }); + + $("#signupForm3").validate({ + rules: { + firstname: "required", + lastname: "required", + username: { + required: true, + minlength: 2 + }, + password: { + required: true, + minlength: 5 + }, + confirm_password: { + required: true, + minlength: 5, + equalTo: "#password" + }, + email: { + required: true, + email: true + }, + agree: "required" + }, + messages: { + firstname: "Please enter your firstname", + lastname: "Please enter your lastname", + username: { + required: "Please enter a username", + minlength: "Your username must consist of at least 2 characters" + }, + password: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long" + }, + confirm_password: { + required: "Please provide a password", + minlength: "Your password must be at least 5 characters long", + equalTo: "Please enter the same password as above" + }, + email: "Please enter a valid email address", + agree: "Please accept our policy" + }, + errorPlacement: function(error, element) { + error.addClass("ui red pointing label transition"); + error.insertAfter(element.parent()); + }, + highlight: function(element, errorClass, validClass) { + $(element).parents(".row").addClass(errorClass); + }, + unhighlight: function(element, errorClass, validClass) { + $(element).parents(".row").removeClass(errorClass); + } + }); + +}); + +}); + +})(window, document, window.jQuery); +(function(window, document, $, undefined){ + + $(function(){ + window.addEventListener('load', function() { + // Fetch all the forms we want to apply custom Bootstrap validation styles to + var forms = document.getElementsByClassName('needs-validation'); + // Loop over them and prevent submission + var validation = Array.prototype.filter.call(forms, function(form) { + form.addEventListener('submit', function(event) { + if (form.checkValidity() === false) { + event.preventDefault(); + event.stopPropagation(); + } + form.classList.add('was-validated'); + }, false); + }); + }, false); + + getSelectorFromElement: function getSelectorFromElement(element) { + var selector = element.getAttribute('data-target'); + + if (!selector || selector === '#') { + selector = element.getAttribute('href') || ''; + } + + try { + return document.querySelector(selector) ? selector : null; + } catch (err) { + return null; + } + } + + $('.mobile-toggle').on('click', function() { + $('body').toggleClass('sidebar-toggled'); + }); + + $(document).on('click', '.mega-menu.dropdown-menu', function (e) { + e.stopPropagation(); + }); + + $('.sidebar-toggle').on('click', function() { + $('body').toggleClass('sidebar-mini'); + $('.app-navbar').toggleClass('expand'); + }); + + $('.app-navbar').hover(function() { + if($('body').hasClass('sidebar-mini')) { + $('.navbar-header').toggleClass('expand'); + } + }); + + $('.search').on('click', function() { + $('.search-wrapper').fadeIn(200); + }); + + //Search Box Close + $('.close-btn').on('click', function() { + $('.search-wrapper').fadeOut(200); + }); + }); +})(window, document, window.jQuery); \ No newline at end of file diff --git a/public/asset/js/vendors-min.js b/public/asset/js/vendors-min.js new file mode 100644 index 0000000..8b456d6 --- /dev/null +++ b/public/asset/js/vendors-min.js @@ -0,0 +1 @@ +!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var i=[],n=t.document,r=Object.getPrototypeOf,o=i.slice,a=i.concat,s=i.push,l=i.indexOf,c={},u=c.toString,h=c.hasOwnProperty,d=h.toString,f=d.call(Object),p={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},m=function(t){return null!=t&&t===t.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,i){var r,o,a=(i=i||n).createElement("script");if(a.text=t,e)for(r in v)(o=e[r]||e.getAttribute&&e.getAttribute(r))&&a.setAttribute(r,o);i.head.appendChild(a).parentNode.removeChild(a)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?c[u.call(t)]||"object":typeof t}var L="3.4.1",x=function(t,e){return new x.fn.init(t,e)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function _(t){var e=!!t&&"length"in t&&t.length,i=b(t);return!g(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0+~]|"+F+")"+F+"*"),Y=new RegExp(F+"|>"),G=new RegExp(H),X=new RegExp("^"+B+"$"),q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),it=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},at=Lt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(M=I.call(x.childNodes),x.childNodes),M[x.childNodes.length].nodeType}catch(e){O={apply:M.length?function(t,e){P.apply(t,I.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function st(t,e,n,r){var o,s,c,u,h,p,v,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return n;if(!r&&((e?e.ownerDocument||e:x)!==f&&d(e),e=e||f,g)){if(11!==w&&(h=J.exec(t)))if(o=h[1]){if(9===w){if(!(c=e.getElementById(o)))return n;if(c.id===o)return n.push(c),n}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return n.push(c),n}else{if(h[2])return O.apply(n,e.getElementsByTagName(t)),n;if((o=h[3])&&i.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(o)),n}if(i.qsa&&!T[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===w&&Y.test(t)){for((u=e.getAttribute("id"))?u=u.replace(nt,rt):e.setAttribute("id",u=L),s=(p=a(t)).length;s--;)p[s]="#"+u+" "+bt(p[s]);v=p.join(","),y=tt.test(t)&&vt(e.parentNode)||e}try{return O.apply(n,y.querySelectorAll(v)),n}catch(e){T(t,!0)}finally{u===L&&e.removeAttribute("id")}}}return l(t.replace(j,"$1"),e,n,r)}function lt(){var t=[];return function e(i,r){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=r}}function ct(t){return t[L]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var i=t.split("|"),r=i.length;r--;)n.attrHandle[i[r]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct(function(e){return e=+e,ct(function(i,n){for(var r,o=t([],i.length,e),a=o.length;a--;)i[r=o[a]]&&(i[r]=!(n[r]=i[r]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=st.support={},o=st.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!$.test(e||i&&i.nodeName||"HTML")},d=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:x;return a!==f&&9===a.nodeType&&a.documentElement&&(p=(f=a).documentElement,g=!o(f),x!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),i.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),i.getElementsByTagName=ut(function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length}),i.getElementsByClassName=Q.test(f.getElementsByClassName),i.getById=ut(function(t){return p.appendChild(t).id=L,!f.getElementsByName||!f.getElementsByName(L).length}),i.getById?(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i,n,r,o=e.getElementById(t);if(o){if((i=o.getAttributeNode("id"))&&i.value===t)return[o];for(r=e.getElementsByName(t),n=0;o=r[n++];)if((i=o.getAttributeNode("id"))&&i.value===t)return[o]}return[]}}),n.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},n.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=Q.test(f.querySelectorAll))&&(ut(function(t){p.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+L+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+L+"+*").length||m.push(".#.+[+~]")}),ut(function(t){t.innerHTML="";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(i.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut(function(t){i.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(p.compareDocumentPosition),b=e||Q.test(p.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return h=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===f||t.ownerDocument===x&&b(x,t)?-1:e===f||e.ownerDocument===x&&b(x,e)?1:u?N(u,t)-N(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===f?-1:e===f?1:r?-1:o?1:u?N(u,t)-N(u,e):0;if(r===o)return dt(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;a[n]===s[n];)n++;return n?dt(a[n],s[n]):a[n]===x?-1:s[n]===x?1:0}),f},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if((t.ownerDocument||t)!==f&&d(t),i.matchesSelector&&g&&!T[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){T(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&G.test(i)&&(e=a(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var r=st.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(t,e,i){return g(e)?x.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?x.grep(t,function(t){return t===e!==i}):"string"!=typeof e?x.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,i){var r,o;if(!t)return this;if(i=i||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:P.exec(t))||!r[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:n,!0)),A.test(r[1])&&x.isPlainObject(e))for(r in e)g(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=n.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==i.ready?i.ready(t):t(x):x.makeArray(t,this)}).prototype=x.fn,D=x(n);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?x.merge([t],i):i}function vt(t,e){for(var i=0,n=t.length;ix",p.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,St=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function Tt(t,e){return t===function(){try{return n.activeElement}catch(t){}}()==("focus"===e)}function Et(t,e,i,n,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)Et(t,s,i,n,e[s],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=kt;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return x().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),t.each(function(){x.event.add(this,e,r,n,i)})}function At(t,e,i){i?(Z.set(t,e,!1),x.event.add(t,e,{namespace:!1,handler:function(t){var n,r,a=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(x.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=o.call(arguments),Z.set(this,e,a),n=i(this,e),this[e](),a!==(r=Z.get(this,e))||n?Z.set(this,e,!1):r={},a!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else a.length&&(Z.set(this,e,{value:x.event.trigger(x.extend(a[0],x.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&x.event.add(t,e,Ct)}x.event={global:{},add:function(t,e,i,n,r){var o,a,s,l,c,u,h,d,f,p,g,m=Z.get(t);if(m)for(i.handler&&(i=(o=i).handler,r=o.selector),r&&x.find.matchesSelector(rt,r),i.guid||(i.guid=x.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)f=g=(s=St.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(h=x.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=x.event.special[f]||{},u=x.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,a)||t.addEventListener&&t.addEventListener(f,a)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),x.event.global[f]=!0)},remove:function(t,e,i,n,r){var o,a,s,l,c,u,h,d,f,p,g,m=Z.hasData(t)&&Z.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(f=g=(s=St.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=x.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!r&&g!==u.origType||i&&i.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||x.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)x.event.remove(t,f+e[c],i,n,!0);x.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,o,a,s=x.event.fix(t),l=new Array(arguments.length),c=(Z.get(this,"events")||{})[s.type]||[],u=x.event.special[s.type]||{};for(l[0]=s,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,Dt=/\s*$/g;function It(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ft(t,e){var i,n,r,o,a,s,l,c;if(1===e.nodeType){if(Z.hasData(t)&&(o=Z.access(t),a=Z.set(e,o),c=o.events))for(r in delete a.handle,a.events={},c)for(i=0,n=c[r].length;i")},clone:function(t,e,i){var n,r,o,a,s,l,c,u=t.cloneNode(!0),h=ot(t);if(!(p.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(a=mt(u),n=0,r=(o=mt(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),n.head.appendChild(e[0])},abort:function(){i&&i()}}});var Xe,qe=[],$e=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||x.expando+"_"+Ce++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(e,i,n){var r,o,a,s=!1!==e.jsonp&&($e.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($e,"$1"+r):!1!==e.jsonp&&(e.url+=(ke.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||x.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},n.always(function(){void 0===o?x(t).removeProp(r):t[r]=o,e[r]&&(e.jsonpCallback=i.jsonpCallback,qe.push(r)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),p.createHTMLDocument=((Xe=n.implementation.createHTMLDocument("").body).innerHTML="
",2===Xe.childNodes.length),x.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(p.createHTMLDocument?((r=(e=n.implementation.createHTMLDocument("")).createElement("base")).href=n.location.href,e.head.appendChild(r)):e=n),a=!i&&[],(o=A.exec(t))?[e.createElement(o[1])]:(o=xt([t],e,a),a&&a.length&&x(a).remove(),x.merge([],o.childNodes)));var r,o,a},x.fn.load=function(t,e,i){var n,r,o,a=this,s=t.indexOf(" ");return-1").append(x.parseHTML(t)).find(n):t)}).always(i&&function(t,e){a.each(function(){i.apply(this,o||[t.responseText,e,t])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(t,e,i){var n,r,o,a,s,l,c=x.css(t,"position"),u=x(t),h={};"static"===c&&(t.style.position="relative"),s=u.offset(),o=x.css(t,"top"),l=x.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(a=(n=u.position()).top,r=n.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),g(e)&&(e=e.call(t,i,x.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):u.css(h)}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===x.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),r.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-x.css(n,"marginTop",!0),left:e.left-r.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||rt})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;x.fn[t]=function(n){return W(this,function(t,n,r){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[n];o?o.scrollTo(i?o.pageXOffset:r,i?r:o.pageYOffset):t[n]=r},t,n,arguments.length)}}),x.each(["top","left"],function(t,e){x.cssHooks[e]=Ut(p.pixelPosition,function(t,i){if(i)return i=Wt(t,e),Ht.test(i)?x(t).position()[e]+"px":i})}),x.each({Height:"height",Width:"width"},function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){x.fn[n]=function(r,o){var a=arguments.length&&(i||"boolean"!=typeof r),s=i||(!0===r||!0===o?"margin":"border");return W(this,function(e,i,r){var o;return m(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?x.css(e,i,s):x.style(e,i,r,s)},e,a?r:void 0,a)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){x.fn[e]=function(t,i){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,r,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},n=e.split("."),e=n.shift(),n.length){for(r=a[e]=t.widget.extend({},this.options[e]),o=0;o
"),o=r.children()[0];return t("body").append(r),i=o.offsetWidth,r.css("overflow","scroll"),i===(n=o.offsetWidth)&&(n=r[0].clientWidth),r.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===i||"auto"===i&&e.width0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};di(n(l),n(u))?h.important="horizontal":h.important="vertical",e.using.call(this,t,h)}),a.offset(t.extend(C,{using:o}))})},t.ui.position={fit:{left:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollLeft:r.offset.left,a=r.width,s=t.left-e.collisionPosition.marginLeft,l=o-s,c=s+e.collisionWidth-a-o;e.collisionWidth>a?l>0&&c<=0?(n=t.left+l+e.collisionWidth-a-o,t.left+=l-n):t.left=c>0&&l<=0?o:l>c?o+a-e.collisionWidth:o:l>0?t.left+=l:c>0?t.left-=c:t.left=i(t.left-s,t.left)},top:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollTop:r.offset.top,a=e.within.height,s=t.top-e.collisionPosition.marginTop,l=o-s,c=s+e.collisionHeight-a-o;e.collisionHeight>a?l>0&&c<=0?(n=t.top+l+e.collisionHeight-a-o,t.top+=l-n):t.top=c>0&&l<=0?o:l>c?o+a-e.collisionHeight:o:l>0?t.top+=l:c>0?t.top-=c:t.top=i(t.top-s,t.top)}},flip:{left:function(t,e){var i,r,o=e.within,a=o.offset.left+o.scrollLeft,s=o.width,l=o.isWindow?o.scrollLeft:o.offset.left,c=t.left-e.collisionPosition.marginLeft,u=c-l,h=c+e.collisionWidth-s-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];u<0?((i=t.left+d+f+p+e.collisionWidth-s-a)<0||i0&&((r=t.left-e.collisionPosition.marginLeft+d+f+p-l)>0||n(r)0&&((i=t.top-e.collisionPosition.marginTop+d+f+p-l)>0||n(i)")[0],u=t.each;function h(t,e,i){var n=s[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:0>t?0:n.max-1,u(a,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(e,n,r,s){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=t(e).css(n),n=void 0);var l=this,c=t.type(e),f=this._rgba=[];return void 0!==n&&(e=[e,n,r,s],c="array"),"string"===c?this.parse(d(e)||i._default):"array"===c?(u(a.rgba.props,function(t,i){f[i.idx]=h(e[i.idx],i)}),this):"object"===c?(u(a,e instanceof o?function(t,i){e[i.cache]&&(l[i.cache]=e[i.cache].slice())}:function(i,n){var r=n.cache;u(n.props,function(t,i){if(!l[r]&&n.to){if("alpha"===t||null==e[t])return;l[r]=n.to(l._rgba)}l[r][i.idx]=h(e[t],i,!0)}),l[r]&&t.inArray(null,l[r].slice(0,3))<0&&(l[r][3]=1,n.from&&(l._rgba=n.from(l[r])))}),this):void 0},is:function(t){var e=o(t),i=!0,n=this;return u(a,function(t,r){var o,a=e[r.cache];return a&&(o=n[r.cache]||r.to&&r.to(n._rgba)||[],u(r.props,function(t,e){if(null!=a[e.idx])return i=a[e.idx]===o[e.idx]})),i}),i},_space:function(){var t=[],e=this;return u(a,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var i=o(t),n=i._space(),r=a[n],l=0===this.alpha()?o("transparent"):this,c=l[r.cache]||r.to(l._rgba),d=c.slice();return i=i[r.cache],u(r.props,function(t,n){var r=n.idx,o=c[r],a=i[r],l=s[n.type]||{};null!==a&&(null===o?d[r]=a:(l.mod&&(a-o>l.mod/2?o+=l.mod:o-a>l.mod/2&&(o-=l.mod)),d[r]=h((a-o)*e+o,n)))}),this[n](d)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),r=o(e)._rgba;return o(t.map(i,function(t,e){return(1-n)*r[e]+n*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();return e&&i.push(~~(255*n)),"#"+t.map(i,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,a.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=t[3],s=Math.max(n,r,o),l=Math.min(n,r,o),c=s-l,u=s+l,h=.5*u;return e=l===s?0:n===s?60*(r-o)/c+360:r===s?60*(o-n)/c+120:60*(n-r)/c+240,i=0===c?0:h<=.5?c/u:c/(2-u),[Math.round(e)%360,i,h,null==a?1:a]},a.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],r=t[3],o=n<=.5?n*(1+i):n+i-n*i,a=2*n-o;return[Math.round(255*f(a,o,e+1/3)),Math.round(255*f(a,o,e)),Math.round(255*f(a,o,e-1/3)),r]},u(a,function(e,i){var r=i.props,a=i.cache,s=i.to,l=i.from;o.fn[e]=function(e){if(s&&!this[a]&&(this[a]=s(this._rgba)),void 0===e)return this[a].slice();var i,n=t.type(e),c="array"===n||"object"===n?e:arguments,d=this[a].slice();return u(r,function(t,e){var i=c["object"===n?t:e.idx];null==i&&(i=d[e.idx]),d[e.idx]=h(i,e)}),l?((i=o(l(d)))[a]=d,i):o(d)},u(r,function(i,r){o.fn[i]||(o.fn[i]=function(o){var a,s=t.type(o),l="alpha"===i?this._hsla?"hsla":"rgba":e,c=this[l](),u=c[r.idx];return"undefined"===s?u:("function"===s&&(o=o.call(this,u),s=t.type(o)),null==o&&r.empty?this:("string"===s&&(a=n.exec(o))&&(o=u+parseFloat(a[2])*("+"===a[1]?1:-1)),c[r.idx]=o,this[l](c)))})})}),o.hook=function(e){var i=e.split(" ");u(i,function(e,i){t.cssHooks[i]={set:function(e,n){var r,a,s="";if("transparent"!==n&&("string"!==t.type(n)||(r=d(n)))){if(n=o(r||n),!l.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===s||"transparent"===s)&&a&&a.style;)try{s=t.css(a,"backgroundColor"),a=a.parentNode}catch(t){}n=n.blend(s&&"transparent"!==s?s:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(t){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=o(e.elem,i),e.end=o(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},o.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return u(["Top","Right","Bottom","Left"],function(i,n){e["border"+n+"Color"]=t}),e}},i=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(s),function(){var e,i=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function r(e){var i,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)"string"==typeof r[i=r[n]]&&(o[t.camelCase(i)]=r[i]);else for(i in r)"string"==typeof r[i]&&(o[i]=r[i]);return o}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(s.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,s){var l=t.speed(o,a,s);return this.queue(function(){var o,a=t(this),s=a.attr("class")||"",c=l.children?a.find("*").addBack():a;c=c.map(function(){return{el:t(this),start:r(this)}}),(o=function(){t.each(i,function(t,i){e[i]&&a[i+"Class"](e[i])})})(),c=c.map(function(){return this.end=r(this.el[0]),this.diff=function(e,i){var r,o,a={};for(r in i)o=i[r],e[r]!==o&&(n[r]||!t.fx.step[r]&&isNaN(parseFloat(o))||(a[r]=o));return a}(this.start,this.end),this}),a.attr("class",s),c=c.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,c.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(a[0])})})},t.fn.extend({addClass:(e=t.fn.addClass,function(i,n,r,o){return n?t.effects.animateClass.call(this,{add:i},n,r,o):e.apply(this,arguments)}),removeClass:function(e){return function(i,n,r,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,r,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,n,r,o,a){return"boolean"==typeof n||void 0===n?r?t.effects.animateClass.call(this,n?{add:i}:{remove:i},r,o,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:i},n,r,o)}}(t.fn.toggleClass),switchClass:function(e,i,n,r,o){return t.effects.animateClass.call(this,{add:i,remove:e},n,r,o)}})}(),function(){var e;function i(e,i,n,r){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(r=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(r=n,n=i,i={}),t.isFunction(n)&&(r=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=r||i.complete,e}function n(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||(!!t.isFunction(e)||"object"==typeof e&&!e.effect))}function r(t,e){var i=e.outerWidth(),n=e.outerHeight(),r=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,n,0];return{top:parseFloat(r[1])||0,right:"auto"===r[2]?i:parseFloat(r[2]),bottom:"auto"===r[3]?n:parseFloat(r[3]),left:parseFloat(r[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=(e=t.expr.filters.animated,function(i){return!!t(i).data(a)||e(i)})),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var i=0,n=e.length;i").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return e.wrap(n),(e[0]===o||t.contains(e[0],o))&&t(o).trigger("focus"),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(r),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,i,n){return n||(n=i,i="effect"),t.effects.effect[e]=n,t.effects.effect[e].mode=i,n},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,r="vertical"!==i?(e||100)/100:1;return{height:t.height()*r,width:t.width()*n,outerHeight:t.outerHeight()*r,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();e>1&&n.splice.apply(n,[1,0].concat(n.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data("ui-effects-style",t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data("ui-effects-style")||"",t.removeData("ui-effects-style")},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(e){var i,n=e.css("position"),r=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data("ui-effects-placeholder",i)),e.css({position:n,left:r.left,top:r.top}),i},removePlaceholder:function(t){var e="ui-effects-placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,i,n,r){return r=r||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(r[i]=o[0]*n+o[1])}),r}}),t.fn.extend({effect:function(){var e=i.apply(this,arguments),n=t.effects.effect[e.effect],r=n.mode,o=e.queue,s=o||"fx",l=e.complete,c=e.mode,u=[],h=function(e){var i=t(this),n=t.effects.mode(i,c)||r;i.data(a,!0),u.push(n),r&&("show"===n||n===r&&"hide"===n)&&i.show(),r&&"none"===n||t.effects.saveStyle(i),t.isFunction(e)&&e()};if(t.fx.off||!n)return c?this[c](e.duration,l):this.each(function(){l&&l.call(this)});function d(i){var o=t(this);function s(){t.isFunction(l)&&l.call(o[0]),t.isFunction(i)&&i()}e.mode=u.shift(),!1===t.uiBackCompat||r?"none"===e.mode?(o[c](),s()):n.call(o[0],e,function(){o.removeData(a),t.effects.cleanUp(o),"hide"===e.mode&&o.hide(),s()}):(o.is(":hidden")?"hide"===c:"show"===c)?(o[c](),s()):n.call(o[0],e,s)}return!1===o?this.each(h).each(d):this.queue(s,h).queue(s,d)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="show",this.effect.call(this,r)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="hide",this.effect.call(this,r)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="toggle",this.effect.call(this,r)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(n=[parseFloat(i),e])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):r(this.css("clip"),this)},transfer:function(e,i){var n=t(this),r=t(e.to),o="fixed"===r.css("position"),a=t("body"),s=o?a.scrollTop():0,l=o?a.scrollLeft():0,c=r.offset(),u={top:c.top-s,left:c.left-l,height:r.innerHeight(),width:r.innerWidth()},h=n.offset(),d=t("
").appendTo("body").addClass(e.className).css({top:h.top-s,left:h.left-l,height:n.innerHeight(),width:n.innerWidth(),position:o?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){d.remove(),t.isFunction(i)&&i()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=r(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),o={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){o[e]=function(e){return Math.pow(e,t+2)}}),t.extend(o,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(o,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?i(2*t)/2:1-i(-2*t+2)/2}});t.effects,t.effects.define("blind","hide",function(e,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=t(this),o=e.direction||"up",a=r.cssClip(),s={clip:t.extend({},a)},l=t.effects.createPlaceholder(r);s.clip[n[o][0]]=s.clip[n[o][1]],"show"===e.mode&&(r.cssClip(s.clip),l&&l.css(t.effects.clipToBox(s)),s.clip=a),l&&l.animate(t.effects.clipToBox(s),e.duration,e.easing),r.animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var n,r,o,a=t(this),s=e.mode,l="hide"===s,c="show"===s,u=e.direction||"up",h=e.distance,d=e.times||5,f=2*d+(c||l?1:0),p=e.duration/f,g=e.easing,m="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,y=0,b=a.queue().length;for(t.effects.createPlaceholder(a),o=a.css(m),h||(h=a["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=o,a.css("opacity",0).css(m,v?2*-h:2*h).animate(r,p,g)),l&&(h/=Math.pow(2,d-1)),(r={})[m]=o;y").css({position:"absolute",visibility:"visible",left:-r*p,top:-n*g}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:g,left:o+(d?s*p:0),top:a+(d?l*g:0),opacity:d?0:1}).animate({left:o+(d?0:s*p),top:a+(d?0:l*g),opacity:d?1:0},e.duration||500,e.easing,v)}),t.effects.define("fade","toggle",function(e,i){var n="show"===e.mode;t(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var n=t(this),r=e.mode,o="show"===r,a="hide"===r,s=e.size||15,l=/([0-9]+)%/.exec(s),c=!!e.horizFirst?["right","bottom"]:["bottom","right"],u=e.duration/2,h=t.effects.createPlaceholder(n),d=n.cssClip(),f={clip:t.extend({},d)},p={clip:t.extend({},d)},g=[d[c[0]],d[c[1]]],m=n.queue().length;l&&(s=parseInt(l[1],10)/100*g[a?0:1]),f.clip[c[0]]=s,p.clip[c[0]]=s,p.clip[c[1]]=0,o&&(n.cssClip(p.clip),h&&h.css(t.effects.clipToBox(p)),p.clip=d),n.queue(function(i){h&&h.animate(t.effects.clipToBox(f),u,e.easing).animate(t.effects.clipToBox(p),u,e.easing),i()}).animate(f,u,e.easing).animate(p,u,e.easing).queue(i),t.effects.unshift(n,m,4)}),t.effects.define("highlight","show",function(e,i){var n=t(this),r={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(r.opacity=0),t.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var n,r,o,a=t(this),s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,h="effect"!==u,d=e.scale||"both",f=e.origin||["middle","center"],p=a.css("position"),g=a.position(),m=t.effects.scaledDimensions(a),v=e.from||m,y=e.to||t.effects.scaledDimensions(a,0);t.effects.createPlaceholder(a),"show"===u&&(o=v,v=y,y=o),r={from:{y:v.height/m.height,x:v.width/m.width},to:{y:y.height/m.height,x:y.width/m.width}},"box"!==d&&"both"!==d||(r.from.y!==r.to.y&&(v=t.effects.setTransition(a,l,r.from.y,v),y=t.effects.setTransition(a,l,r.to.y,y)),r.from.x!==r.to.x&&(v=t.effects.setTransition(a,c,r.from.x,v),y=t.effects.setTransition(a,c,r.to.x,y))),"content"!==d&&"both"!==d||r.from.y!==r.to.y&&(v=t.effects.setTransition(a,s,r.from.y,v),y=t.effects.setTransition(a,s,r.to.y,y)),f&&(n=t.effects.getBaseline(f,m),v.top=(m.outerHeight-v.outerHeight)*n.y+g.top,v.left=(m.outerWidth-v.outerWidth)*n.x+g.left,y.top=(m.outerHeight-y.outerHeight)*n.y+g.top,y.left=(m.outerWidth-y.outerWidth)*n.x+g.left),a.css(v),"content"!==d&&"both"!==d||(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),a.find("*[width]").each(function(){var i=t(this),n=t.effects.scaledDimensions(i),o={height:n.height*r.from.y,width:n.width*r.from.x,outerHeight:n.outerHeight*r.from.y,outerWidth:n.outerWidth*r.from.x},a={height:n.height*r.to.y,width:n.width*r.to.x,outerHeight:n.height*r.to.y,outerWidth:n.width*r.to.x};r.from.y!==r.to.y&&(o=t.effects.setTransition(i,l,r.from.y,o),a=t.effects.setTransition(i,l,r.to.y,a)),r.from.x!==r.to.x&&(o=t.effects.setTransition(i,c,r.from.x,o),a=t.effects.setTransition(i,c,r.to.x,a)),h&&t.effects.saveStyle(i),i.css(o),i.animate(a,e.duration,e.easing,function(){h&&t.effects.restoreStyle(i)})})),a.animate(y,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=a.offset();0===y.opacity&&a.css("opacity",v.opacity),h||(a.css("position","static"===p?"relative":p).offset(e),t.effects.saveStyle(a)),i()}})}),t.effects.define("scale",function(e,i){var n=t(this),r=e.mode,o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==r?0:100),a=t.extend(!0,{from:t.effects.scaledDimensions(n),to:t.effects.scaledDimensions(n,o,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),t.effects.effect.size.call(this,a,i)}),t.effects.define("puff","hide",function(e,i){var n=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,n,i)}),t.effects.define("pulsate","show",function(e,i){var n=t(this),r=e.mode,o="show"===r,a=o||"hide"===r,s=2*(e.times||5)+(a?1:0),l=e.duration/s,c=0,u=1,h=n.queue().length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),c=1);u0&&o.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(a=!e.disabled)&&(s=t(e).closest("fieldset")[0])&&(a=!s.disabled):a="a"===l&&e.href||i,a&&t(e).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(t(e)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}});t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),o={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function a(e,i,r,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,r&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}t.fn["inner"+i]=function(e){return void 0===e?o["inner"+i].call(this):this.each(function(){t(this).css(r,a(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?o["outer"+i].call(this,e):this.each(function(){t(this).css(r,a(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))});var l,c;t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=(l=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(l,"\\$1")}),t.fn.labels=function(){var e,i,n,r,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(n=this.attr("id"))&&(o=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(n)+"']",r=r.add(o.find(i).addBack(i))),this.pushStack(r))},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),n=null!=i;return(!n||i>=0)&&t.ui.focusable(e,n)}}),t.fn.extend({uniqueId:(c=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++c)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,i,n=this.options.icons;n&&(e=t(""),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,n.header)._addClass(i,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(r+1)%n];break;case i.LEFT:case i.UP:o=this.headers[(r-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[n-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),t(o).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=t()):!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,i=this.options,n=i.heightStyle,r=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),i=e.uniqueId().attr("id"),n=e.next(),r=n.uniqueId().attr("id");e.attr("aria-controls",r),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===n?(e=r.height(),this.element.siblings(":visible").each(function(){var i=t(this),n=i.css("position");"absolute"!==n&&"fixed"!==n&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=Math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i,n,r=this.options,o=this.active,a=t(e.currentTarget),s=a[0]===o[0],l=s&&r.collapsible,c=l?t():a.next(),u=o.next(),h={oldHeader:o,oldPanel:u,newHeader:l?t():a,newPanel:c};e.preventDefault(),s&&!r.collapsible||!1===this._trigger("beforeActivate",e,h)||(r.active=!l&&this.headers.index(a),this.active=s?t():a,this._toggle(h),this._removeClass(o,"ui-accordion-header-active","ui-state-active"),r.icons&&(i=o.children(".ui-accordion-header-icon"),this._removeClass(i,null,r.icons.activeHeader)._addClass(i,null,r.icons.header)),s||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,e):(n.hide(),i.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var n,r,o,a=this,s=0,l=t.css("box-sizing"),c=t.length&&(!e.length||t.index()",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),n=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),n=t(e.currentTarget);i[0]===n[0]&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,n,r,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",o=!1,r=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),r===n?o=!0:r=n+r,i=this._filterMenuItems(r),(i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(r=String.fromCharCode(e.keyCode),i=this._filterMenuItems(r)),i.length?(this.focus(e,i),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,n,r,o=this,a=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),n=t("").data("ui-menu-submenu-caret",!0);o._addClass(n,"ui-menu-icon","ui-icon "+a),i.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(e=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=t(this);o._isDivider(e)&&o._addClass(e,"ui-menu-divider","ui-widget-content")}),r=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,n,r;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),r=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,n,r,o,a,s;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,r=e.offset().top-this.activeMenu.offset().top-i-n,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=e.outerHeight(),r<0?this.activeMenu.scrollTop(o+r):r+s>a&&this.activeMenu.scrollTop(o+r-a+s))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(e),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[e]()),this.focus(i,n)},nextPage:function(e){var i,n,r;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n-r<0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var i,n,r;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n+r>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,n,r=this.element[0].nodeName.toLowerCase(),o="textarea"===r,a="input"===r;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var o=t.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",r);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",r);break;case o.UP:e=!0,this._keyEvent("previous",r);break;case o.DOWN:e=!0,this._keyEvent("next",r);break;case o.ENTER:this.menu.active&&(e=!0,r.preventDefault(),this.menu.select(r));break;case o.TAB:this.menu.active&&this.menu.select(r);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(r),r.preventDefault());break;default:i=!0,this._searchTimeout(r)}},keypress:function(n){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var r=t.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move("previousPage",n);break;case r.PAGE_DOWN:this._move("nextPage",n);break;case r.UP:this._keyEvent("previous",n);break;case r.DOWN:this._keyEvent("next",n)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=t(""),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),o=e.datasets[0],a=r.data[n].custom||{},s=t.options.elements.arc;return{text:i,fillStyle:ie([a.backgroundColor,o.backgroundColor,s.backgroundColor],void 0,n),strokeStyle:ie([a.borderColor,o.borderColor,s.borderColor],void 0,n),lineWidth:ie([a.borderWidth,o.borderWidth,s.borderWidth],void 0,n),hidden:isNaN(o.data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,o=e.index,a=this.chart;for(i=0,n=(a.data.datasets||[]).length;i0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return pe(t,e,{intersect:!1})},point:function(t,e){return he(t,ce(e,t))},nearest:function(t,e,i){var n=ce(e,t);i.axis=i.axis||"xy";var r=fe(i.axis);return de(t,n,i.intersect,r)},x:function(t,e,i){var n=ce(e,t),r=[],o=!1;return ue(t,function(t){t.inXRange(n.x)&&r.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(r=[]),r},y:function(t,e,i){var n=ce(e,t),r=[],o=!1;return ue(t,function(t){t.inYRange(n.y)&&r.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(r=[]),r}}};function me(t,e){return ct.where(t,function(t){return t.position===e})}function ve(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,i){var n=e?i:t,r=e?t:i;return n.weight===r.weight?n._tmpIndex_-r._tmpIndex_:n.weight-r.weight}),t.forEach(function(t){delete t._tmpIndex_})}function ye(t,e){ct.each(t,function(t){e[t.position]+=t.isHorizontal()?t.height:t.width})}at._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var be={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var n,r=["fullWidth","position","weight"],o=r.length,a=0;adiv{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&xe.default||xe,_e="$chartjs",Se="chartjs-size-monitor",Ce="chartjs-render-monitor",ke="chartjs-render-animation",Te=["animationstart","webkitAnimationStart"],Ee={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function Ae(t,e){var i=ct.getStyle(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var Me=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function De(t,e,i){t.addEventListener(e,i,Me)}function Pe(t,e,i){t.removeEventListener(e,i,Me)}function Oe(t,e,i,n,r){return{type:t,chart:e,native:r||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function Ie(t){var e=document.createElement("div");return e.className=t||"",e}var Ne={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(){var t,e;this._loaded||(this._loaded=!0,this.disableCSSInjection||(t=we,e=this._style||document.createElement("style"),this._style||(this._style=e,t="/* Chart.js */\n"+t,e.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(e)),e.appendChild(document.createTextNode(t))))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return this._ensureLoaded(),i&&i.canvas===t?(function(t,e){var i=t.style,n=t.getAttribute("height"),r=t.getAttribute("width");if(t[_e]={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var o=Ae(t,"width");void 0!==o&&(t.width=o)}if(null===n||""===n)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=Ae(t,"height");void 0!==o&&(t.height=a)}}(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[_e]){var i=e[_e].initial;["height","width"].forEach(function(t){var n=i[t];ct.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),ct.each(i.style||{},function(t,i){e.style[i]=t}),e.width=e.width,delete e[_e]}},addEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var r=i[_e]||(i[_e]={});De(n,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){i(function(t,e){var i=Ee[t.type]||t.type,n=ct.getRelativePosition(t,e);return Oe(i,e,n.x,n.y,t)}(e,t))})}else!function(t,e,i){var n,r,o,a,s=t[_e]||(t[_e]={}),l=s.resizer=function(t){var e=Ie(Se),i=Ie(Se+"-expand"),n=Ie(Se+"-shrink");i.appendChild(Ie()),n.appendChild(Ie()),e.appendChild(i),e.appendChild(n),e._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var r=function(){e._reset(),t()};return De(i,"scroll",r.bind(i,"expand")),De(n,"scroll",r.bind(n,"shrink")),e}((n=function(){if(s.resizer){var n=i.options.maintainAspectRatio&&t.parentNode,r=n?n.clientWidth:0;e(Oe("resize",i)),n&&n.clientWidth0){var o=t[0];o.label?i=o.label:o.xLabel?i=o.xLabel:r>0&&o.index-1?t.split("\n"):t}function Ue(t){var e=at.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:He(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:He(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:He(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:He(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:He(t.titleFontStyle,e.defaultFontStyle),titleFontSize:He(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:He(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:He(t.footerFontStyle,e.defaultFontStyle),footerFontSize:He(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Ye(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ge(t){return je([],We(t))}var Xe=pt.extend({initialize:function(){this._model=Ue(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),n=t.afterTitle.apply(this,arguments),r=[];return r=je(r,We(e)),r=je(r,We(i)),je(r,We(n))},getBeforeBody:function(){return Ge(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,n=i._options.callbacks,r=[];return ct.each(t,function(t){var o={before:[],lines:[],after:[]};je(o.before,We(n.beforeLabel.call(i,t,e))),je(o.lines,n.label.call(i,t,e)),je(o.after,We(n.afterLabel.call(i,t,e))),r.push(o)}),r},getAfterBody:function(){return Ge(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),n=t.afterFooter.apply(this,arguments),r=[];return r=je(r,We(e)),r=je(r,We(i)),je(r,We(n))},update:function(t){var e,i,n,r,o,a,s,l,c,u,h=this,d=h._options,f=h._model,p=h._model=Ue(d),g=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},y={x:f.x,y:f.y},b={width:f.width,height:f.height},L={x:f.caretX,y:f.caretY};if(g.length){p.opacity=1;var x=[],w=[];L=Ve[d.position].call(h,g,h._eventPosition);var _=[];for(e=0,i=g.length;en.width&&(r=n.width-e.width),r<0&&(r=0)),"top"===u?o+=h:o-="bottom"===u?e.height+h:e.height/2,"center"===u?"left"===c?r+=h:"right"===c&&(r-=h):"left"===c?r-=d:"right"===c&&(r+=d),{x:r,y:o}}(p,b=function(t,e){var i=t._chart.ctx,n=2*e.yPadding,r=0,o=e.body,a=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,u=e.bodyFontSize,h=e.footerFontSize;n+=s*c,n+=s?(s-1)*e.titleSpacing:0,n+=s?e.titleMarginBottom:0,n+=a*u,n+=a?(a-1)*e.bodySpacing:0,n+=l?e.footerMarginTop:0,n+=l*h,n+=l?(l-1)*e.footerSpacing:0;var d=0,f=function(t){r=Math.max(r,i.measureText(t).width+d)};return i.font=ct.fontString(c,e._titleFontStyle,e._titleFontFamily),ct.each(e.title,f),i.font=ct.fontString(u,e._bodyFontStyle,e._bodyFontFamily),ct.each(e.beforeBody.concat(e.afterBody),f),d=e.displayColors?u+2:0,ct.each(o,function(t){ct.each(t.before,f),ct.each(t.lines,f),ct.each(t.after,f)}),d=0,i.font=ct.fontString(h,e._footerFontStyle,e._footerFontFamily),ct.each(e.footer,f),{width:r+=2*e.xPadding,height:n}}(this,p),v=function(t,e){var i,n,r,o,a,s=t._model,l=t._chart,c=t._chart.chartArea,u="center",h="center";s.yl.height-e.height&&(h="bottom");var d=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===h?(i=function(t){return t<=d},n=function(t){return t>d}):(i=function(t){return t<=e.width/2},n=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},o=function(t){return t-e.width-s.caretSize-s.caretPadding<0},a=function(t){return t<=f?"top":"bottom"},i(s.x)?(u="left",r(s.x)&&(u="center",h=a(s.y))):n(s.x)&&(u="right",o(s.x)&&(u="center",h=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:h}}(this,b),h._chart)}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=y.x,p.y=y.y,p.width=b.width,p.height=b.height,p.caretX=L.x,p.caretY=L.y,h._model=p,t&&d.custom&&d.custom.call(h,p),h},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,r=this.getCaretPosition(t,e,n);i.lineTo(r.x1,r.y1),i.lineTo(r.x2,r.y2),i.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,i){var n,r,o,a,s,l,c=i.caretSize,u=i.cornerRadius,h=i.xAlign,d=i.yAlign,f=t.x,p=t.y,g=e.width,m=e.height;if("center"===d)s=p+m/2,"left"===h?(r=(n=f)-c,o=n,a=s+c,l=s-c):(r=(n=f+g)+c,o=n,a=s-c,l=s+c);else if("left"===h?(n=(r=f+u+c)-c,o=r+c):"right"===h?(n=(r=f+g-u-c)-c,o=r+c):(n=(r=i.caretX)-c,o=r+c),"top"===d)s=(a=p)-c,l=a;else{s=(a=p+m)+c,l=a;var v=o;o=n,n=v}return{x1:n,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,i){var n=e.title;if(n.length){t.x=Ye(e,e._titleAlign),i.textAlign=e._titleAlign,i.textBaseline="top";var r,o,a=e.titleFontSize,s=e.titleSpacing;for(i.fillStyle=e.titleFontColor,i.font=ct.fontString(a,e._titleFontStyle,e._titleFontFamily),r=0,o=n.length;r0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},n={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=r,this.drawBackground(n,e,t,i),n.y+=e.yPadding,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),t.restore())}},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),(e=!ct.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot())),e}}),qe=Ve,$e=Xe;$e.positioners=qe;var Ze=ct.valueOrDefault;function Ke(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var r,o,a,s=i[t].length;for(e[t]||(e[t]=[]),r=0;r=e[t].length&&e[t].push({}),!e[t][r].type||a.type&&a.type!==e[t][r].type?ct.merge(e[t][r],[ze.getScaleDefaults(o),a]):ct.merge(e[t][r],a)}else ct._merger(t,e,i,n)}})}function Qe(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){var r=e[t]||{},o=i[t];"scales"===t?e[t]=Ke(r,o):"scale"===t?e[t]=ct.merge(r,[ze.getScaleDefaults(o.type),o]):ct._merger(t,e,i,n)}})}function Je(t){return"top"===t||"bottom"===t}at._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var ti=function(t,e){return this.construct(t,e),this};ct.extend(ti.prototype,{construct:function(t,e){var i=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Qe(at.global,at[t.type],t.options||{}),t}(e);var n=Fe.acquireContext(t,e),r=n&&n.canvas,o=r&&r.height,a=r&&r.width;i.id=ct.uid(),i.ctx=n,i.canvas=r,i.config=e,i.width=a,i.height=o,i.aspectRatio=o?a/o:null,i.options=e.options,i._bufferedRender=!1,i.chart=i,i.controller=i,ti.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&r?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Be.notify(t,"beforeInit"),ct.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),Be.notify(t,"afterInit"),t},clear:function(){return ct.canvas.clear(this),this},stop:function(){return vt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,r=i.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(ct.getMaximumWidth(n))),a=Math.max(0,Math.floor(r?o/r:ct.getMaximumHeight(n)));if((e.width!==o||e.height!==a)&&(n.width=e.width=o,n.height=e.height=a,n.style.width=o+"px",n.style.height=a+"px",ct.retinaScale(e,i.devicePixelRatio),!t)){var s={width:o,height:a};Be.notify(e,"resize",[s]),i.onResize&&i.onResize(e,s),e.stop(),e.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;ct.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),ct.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,i=t.scales||{},n=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(n=n.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&n.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ct.each(n,function(e){var n=e.options,o=n.id,a=Ze(n.type,e.dtype);Je(n.position)!==Je(e.dposition)&&(n.position=e.dposition),r[o]=!0;var s=null;if(o in i&&i[o].type===a)(s=i[o]).options=n,s.ctx=t.ctx,s.chart=t;else{var l=ze.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:n,ctx:t.ctx,chart:t}),i[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),ct.each(r,function(t,e){t||delete i[e]}),t.scales=i,ze.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,e=[];return ct.each(t.data.datasets,function(i,n){var r=t.getDatasetMeta(n),o=i.type||t.config.type;if(r.type&&r.type!==o&&(t.destroyDatasetMeta(n),r=t.getDatasetMeta(n)),r.type=o,r.controller)r.controller.updateIndex(n),r.controller.linkScales();else{var a=le[r.type];if(void 0===a)throw new Error('"'+r.type+'" is not a chart type.');r.controller=new a(t,n),e.push(r.controller)}},t),e},resetElements:function(){var t=this;ct.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),i=(e=n).options,ct.each(e.scales,function(t){be.removeBox(e,t)}),i=Qe(at.global,at[e.config.type],i),e.options=e.config.options=i,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=i.tooltips,e.tooltip.initialize(),Be._invalidate(n),!1!==Be.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();ct.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&ct.each(r,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],Be.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==Be.notify(this,"beforeLayout")&&(be.update(this,this.width,this.height),Be.notify(this,"afterScaleUpdate"),Be.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==Be.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=0;--i)e.isDatasetVisible(i)&&e.drawDataset(i,t);Be.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this.getDatasetMeta(t),n={meta:i,index:t,easingValue:e};!1!==Be.notify(this,"beforeDatasetDraw",[n])&&(i.controller.draw(e),Be.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==Be.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),Be.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return ge.modes.single(this,t)},getElementsAtEvent:function(t){return ge.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return ge.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var n=ge.modes[e];return"function"==typeof n?n(this,t,i):[]},getDatasetAtEvent:function(t){return ge.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=ct.log10(Math.abs(n)),o="";if(0!==t)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var a=ct.log10(Math.abs(t));o=t.toExponential(Math.floor(a)-Math.floor(r))}else{var s=-1*Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(ct.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===i.length-1?t.toExponential():""}}},ai=ct.valueOrDefault,si=ct.valueAtIndexOrDefault;function li(t){var e,i,n=[];for(e=0,i=t.length;ec&&ot.maxHeight){o--;break}o++,l=a*s}t.labelRotation=o},afterCalculateTickRotation:function(){ct.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ct.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=li(t._ticks),n=t.options,r=n.ticks,o=n.scaleLabel,a=n.gridLines,s=t._isVisible(),l=n.position,c=t.isHorizontal(),u=ct.options._parseFont,h=u(r),d=n.gridLines.tickMarkLength;if(e.width=c?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&a.drawTicks?d:0,e.height=c?s&&a.drawTicks?d:0:t.maxHeight,o.display&&s){var f=u(o),p=ct.options.toPadding(o.padding),g=f.lineHeight+p.height;c?e.height+=g:e.width+=g}if(r.display&&s){var m=ct.longestText(t.ctx,h.string,i,t.longestTextCache),v=ct.numberOfLabelLines(i),y=.5*h.size,b=t.options.ticks.padding;if(t._maxLabelLines=v,t.longestLabelWidth=m,c){var L=ct.toRadians(t.labelRotation),x=Math.cos(L),w=Math.sin(L)*m+h.lineHeight*v+y;e.height=Math.min(t.maxHeight,e.height+w+b),t.ctx.font=h.string;var _,S,C=ci(t.ctx,i[0],h.string),k=ci(t.ctx,i[i.length-1],h.string),T=t.getPixelForTick(0)-t.left,E=t.right-t.getPixelForTick(i.length-1);0!==t.labelRotation?(_="bottom"===l?x*C:x*y,S="bottom"===l?x*y:x*k):(_=C/2,S=k/2),t.paddingLeft=Math.max(_-T,0)+3,t.paddingRight=Math.max(S-E,0)+3}else r.mirror?m=0:m+=b+y,e.width=Math.min(t.maxWidth,e.width+m),t.paddingTop=h.size/2,t.paddingBottom=h.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){ct.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ct.isNullOrUndef(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:ct.noop,getPixelForValue:ct.noop,getValueForPixel:ct.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),r=n*t+e.paddingLeft;return i&&(r+=n/2),e.left+r+(e.isFullWidth()?e.margins.left:0)}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft;return e.left+i+(e.isFullWidth()?e.margins.left:0)}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,i,n=this,r=n.isHorizontal(),o=n.options.ticks.minor,a=t.length,s=!1,l=o.maxTicksLimit,c=n._tickSize()*(a-1),u=r?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.PaddingBottom),h=[];for(c>u&&(s=1+Math.floor(c/u)),a>l&&(s=Math.max(s,1+Math.floor(a/l))),e=0;e1&&e%s>0&&delete i.label,h.push(i);return h},_tickSize:function(){var t=this,e=t.isHorizontal(),i=t.options.ticks.minor,n=ct.toRadians(t.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),a=i.autoSkipPadding||0,s=t.longestLabelWidth+a||0,l=ct.options._parseFont(i),c=t._maxLabelLines*l.lineHeight+a||0;return e?c*r>s*o?s/r:c/o:c*o0&&n>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==o&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,i=e.stepSize,n=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:di,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,precision:e.precision,stepSize:ct.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var i,n,r,o,a=[],s=t.stepSize,l=s||1,c=t.maxTicks-1,u=t.min,h=t.max,d=t.precision,f=e.min,p=e.max,g=ct.niceNum((p-f)/c/l)*l;if(g<1e-14&&fi(u)&&fi(h))return[f,p];(o=Math.ceil(p/g)-Math.floor(f/g))>c&&(g=ct.niceNum(o*g/c/l)*l),s||fi(d)?i=Math.pow(10,ct._decimalPlaces(g)):(i=Math.pow(10,d),g=Math.ceil(g*i)/i),n=Math.floor(f/g)*g,r=Math.ceil(p/g)*g,s&&(!fi(u)&&ct.almostWhole(u/g,g/1e3)&&(n=u),!fi(h)&&ct.almostWhole(h/g,g/1e3)&&(r=h)),o=(r-n)/g,o=ct.almostEquals(o,Math.round(o),g/1e3)?Math.round(o):Math.ceil(o),n=Math.round(n*i)/i,r=Math.round(r*i)/i,a.push(fi(u)?n:u);for(var m=1;mt.max&&(t.max=n))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=ct.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,i=e.start,n=+e.getRightValue(t),r=e.end-i;return e.isHorizontal()?e.left+e.width/r*(n-i):e.bottom-e.height/r*(n-i)},getValueForPixel:function(t){var e=this,i=e.isHorizontal(),n=i?e.width:e.height,r=(i?t-e.left:e.bottom-t)/n;return e.start+(e.end-e.start)*r},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}}),vi=gi;mi._defaults=vi;var yi=ct.valueOrDefault,bi={position:"left",ticks:{callback:oi.formatters.logarithmic}};function Li(t,e){return ct.isFinite(t)&&t>=0?t:e}var xi=ui.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,r=t.isHorizontal();function o(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var a=e.stacked;if(void 0===a&&ct.each(n,function(t,e){if(!a){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(a=!0)}}),e.stacked||a){var s={};ct.each(n,function(n,r){var a=i.getDatasetMeta(r),l=[a.type,void 0===e.stacked&&void 0===a.stack?r:"",a.stack].join(".");i.isDatasetVisible(r)&&o(a)&&(void 0===s[l]&&(s[l]=[]),ct.each(n.data,function(e,i){var n=s[l],r=+t.getRightValue(e);isNaN(r)||a.data[i].hidden||r<0||(n[i]=n[i]||0,n[i]+=r)}))}),ct.each(s,function(e){if(e.length>0){var i=ct.min(e),n=ct.max(e);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?n:Math.max(t.max,n)}})}else ct.each(n,function(e,n){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(r)&&ct.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||r.data[i].hidden||n<0||(null===t.min?t.min=n:nt.max&&(t.max=n),0!==n&&(null===t.minNotZero||n0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(ct.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:Li(e.min),max:Li(e.max)},r=t.ticks=function(t,e){var i,n,r=[],o=yi(t.min,Math.pow(10,Math.floor(ct.log10(e.min)))),a=Math.floor(ct.log10(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(i=Math.floor(ct.log10(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,i)),r.push(o),o=n*Math.pow(10,i)):(i=Math.floor(ct.log10(o)),n=Math.floor(o/Math.pow(10,i)));var l=i<0?Math.pow(10,Math.abs(i)):1;do{r.push(o),10==++n&&(n=1,l=++i>=0?1:l),o=Math.round(n*Math.pow(10,i)*l)/l}while(ir?{start:e-i,end:e}:{start:e,end:e+i}}function Mi(t){return 0===t||180===t?"center":t<180?"left":"right"}function Di(t,e,i,n){var r,o,a=i.y+n/2;if(ct.isArray(e))for(r=0,o=e.length;r270||t<90)&&(i.y-=e.h)}function Oi(t){return ct.isNumber(t)?t:0}var Ii=pi.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Ei(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;ct.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);ct.each(r.data,function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(i=Math.min(o,i),n=Math.max(o,n))})}}),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=n===Number.NEGATIVE_INFINITY?0:n,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Ei(this.options))},convertTicksToLabels:function(){var t=this;pi.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,i,n,r=ct.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,c,u=Ti(t);for(e=0;eo.r&&(o.r=f.end,a.r=h),p.starto.b&&(o.b=p.end,a.b=h)}t.setReductions(t.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,i){var n=this,r=e.l/Math.sin(i.l),o=Math.max(e.r-n.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),s=-Math.max(e.b-(n.height-n.paddingTop),0)/Math.cos(i.b);r=Oi(r),o=Oi(o),a=Oi(a),s=Oi(s),n.drawingArea=Math.min(Math.floor(t-(r+o)/2),Math.floor(t-(a+s)/2)),n.setCenterPoint(r,o,a,s)},setCenterPoint:function(t,e,i,n){var r=this,o=r.width-e-r.drawingArea,a=t+r.drawingArea,s=i+r.drawingArea,l=r.height-r.paddingTop-n-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){return t*(2*Math.PI/Ti(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,e=t.options,i=e.gridLines,n=e.ticks;if(e.display){var r=t.ctx,o=this.getIndexAngle(0),a=ct.options._parseFont(n);(e.angleLines.display||e.pointLabels.display)&&function(t){var e=t.ctx,i=t.options,n=i.angleLines,r=i.gridLines,o=i.pointLabels,a=_i(n.lineWidth,r.lineWidth),s=_i(n.color,r.color),l=Ei(i);e.save(),e.lineWidth=a,e.strokeStyle=s,e.setLineDash&&(e.setLineDash(Ci([n.borderDash,r.borderDash,[]])),e.lineDashOffset=Ci([n.borderDashOffset,r.borderDashOffset,0]));var c=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),u=ct.options._parseFont(o);e.font=u.string,e.textBaseline="middle";for(var h=Ti(t)-1;h>=0;h--){if(n.display&&a&&s){var d=t.getPointPosition(h,c);e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(d.x,d.y),e.stroke()}if(o.display){var f=0===h?l/2:0,p=t.getPointPosition(h,c+f+5),g=Si(o.fontColor,h,at.global.defaultFontColor);e.fillStyle=g;var m=t.getIndexAngle(h),v=ct.toDegrees(m);e.textAlign=Mi(v),Pi(v,t._pointLabelSizes[h],p),Di(e,t.pointLabels[h]||"",p,u.lineHeight)}}e.restore()}(t),ct.each(t.ticks,function(e,s){if(s>0||n.reverse){var l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]);if(i.display&&0!==s&&function(t,e,i,n){var r,o=t.ctx,a=e.circular,s=Ti(t),l=Si(e.color,n-1),c=Si(e.lineWidth,n-1);if((a||s)&&l&&c){if(o.save(),o.strokeStyle=l,o.lineWidth=c,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,i,0,2*Math.PI);else{r=t.getPointPosition(0,i),o.moveTo(r.x,r.y);for(var u=1;u=0&&a<=s;){if(r=t[(n=a+s>>1)-1]||null,o=t[n],!r)return{lo:null,hi:o};if(o[e]i))return{lo:r,hi:o};s=n-1}}return{lo:o,hi:null}}(t,e,i),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=a[e]-o[e],l=s?(i-o[e])/s:0,c=(a[n]-o[n])*l;return o[n]+c}function Ui(t,e){var i=t._adapter,n=t.options.time,r=n.parser,o=r||n.format,a=e;return"function"==typeof r&&(a=r(a)),ct.isFinite(a)||(a="string"==typeof o?i.parse(a,o):i.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),ct.isFinite(a)||(a=i.parse(a))),a)}function Yi(t,e){if(ct.isNullOrUndef(e))return null;var i=t.options.time,n=Ui(t,t.getRightValue(e));return null===n?n:(i.round&&(n=+t._adapter.startOf(n,i.round)),n)}function Gi(t){for(var e=Hi.indexOf(t)+1,i=Hi.length;e=r&&i<=o&&c.push(i);return n.min=r,n.max=o,n._unit=s.unit||function(t,e,i,n,r){var o,a;for(o=Hi.length-1;o>=Hi.indexOf(i);o--)if(a=Hi[o],zi[a].common&&t._adapter.diff(r,n,a)>=e.length)return a;return Hi[i?Hi.indexOf(i):0]}(n,c,s.minUnit,n.min,n.max),n._majorUnit=Gi(n._unit),n._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var r,o,a,s,l,c=[],u=[e];for(r=0,o=t.length;re&&s=0&&t0?a:1}});Xi._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var qi,$i={category:hi,linear:mi,logarithmic:xi,radialLinear:Ii,time:Xi},Zi=(function(t,e){t.exports=function(){var e,i;function n(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},j={};function W(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(j[t]=r),e&&(j[e[0]]=function(){return B(r.apply(this,arguments),e[1],e[2])}),i&&(j[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=Y(e,t.localeData()),V[e]=V[e]||function(t){var e,i,n,r=t.match(z);for(e=0,i=r.length;e=0&&H.test(t);)t=t.replace(H,n),H.lastIndex=0,i-=1;return t}var G=/\d/,X=/\d\d/,q=/\d{3}/,$=/\d{4}/,Z=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,et=/\d{1,4}/,it=/[+-]?\d{1,6}/,nt=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lt={};function ct(t,e,i){lt[t]=A(e)?e:function(t,n){return t&&i?i:e}}function ut(t,e){return u(lt,t)?lt[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var dt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),s(e)&&(n=function(t,i){i[e]=w(t)}),i=0;i68?1900:2e3)};var Tt,Et=At("FullYear",!0);function At(t,e){return function(i){return null!=i?(Dt(this,t,i),n.updateOffset(this,e),this):Mt(this,t)}}function Mt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Dt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&kt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Pt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Pt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?kt(t)?29:28:31-i%7%2}Tt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function jt(t,e,i){var n=7+e-i;return-((7+Vt(t,0,n).getUTCDay()-e)%7)+n-1}function Wt(t,e,i,n,r){var o,a,s=1+7*(e-1)+(7+i-n)%7+jt(t,n,r);return s<=0?a=Ct(o=t-1)+s:s>Ct(t)?(o=t+1,a=s-Ct(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Ut(t,e,i){var n,r,o=jt(t.year(),e,i),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Yt(r=t.year()-1,e,i):a>Yt(t.year(),e,i)?(n=a-Yt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function Yt(t,e,i){var n=jt(t,e,i),r=jt(t+1,e,i);return(Ct(t)-n+r)/7}function Gt(t,e){return t.slice(e,7).concat(t.slice(0,e))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),F("week",5),F("isoWeek",5),ct("w",K),ct("ww",K,X),ct("W",K),ct("WW",K,X),pt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=w(t)}),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ct("d",K),ct("e",K),ct("E",K),ct("dd",function(t,e){return e.weekdaysMinRegex(t)}),ct("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ct("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:f(i).invalidWeekday=t}),pt(["d","e","E"],function(t,e,i,n){e[n]=w(t)});var Xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zt=st,Kt=st,Qt=st;function Jt(){function t(t,e){return e.length-t.length}var e,i,n,r,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=d([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),o=this.weekdays(i,""),a.push(n),s.push(r),l.push(o),c.push(n),c.push(r),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),l[e]=ht(l[e]),c[e]=ht(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function te(){return this.hours()%12||12}function ee(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ie(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,te),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+te.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+te.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),ee("a",!0),ee("A",!1),O("hour","h"),F("hour",13),ct("a",ie),ct("A",ie),ct("H",K),ct("h",K),ct("k",K),ct("HH",K,X),ct("hh",K,X),ct("kk",K,X),ct("hmm",Q),ct("hmmss",J),ct("Hmm",Q),ct("Hmmss",J),ft(["H","HH"],bt),ft(["k","kk"],function(t,e,i){var n=w(t);e[bt]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[bt]=w(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n,2)),e[xt]=w(t.substr(r)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n,2)),e[xt]=w(t.substr(r))});var ne,re=At("Hours",!0),oe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:It,monthsShort:Nt,week:{dow:0,doy:6},weekdays:Xt,weekdaysMin:$t,weekdaysShort:qt,meridiemParse:/[ap]\.?m?\.?/i},ae={},se={};function le(t){return t?t.toLowerCase().replace("_","-"):t}function ce(e){var i=null;if(!ae[e]&&t&&t.exports)try{i=ne._abbr,Le("./locale/"+e),ue(i)}catch(t){}return ae[e]}function ue(t,e){var i;return t&&((i=a(e)?de(t):he(t,e))?ne=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function he(t,e){if(null!==e){var i,n=oe;if(e.abbr=t,null!=ae[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ae[t]._config;else if(null!=e.parentLocale)if(null!=ae[e.parentLocale])n=ae[e.parentLocale]._config;else{if(null==(i=ce(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ae[t]=new D(M(n,e)),se[t]&&se[t].forEach(function(t){he(t.name,t.config)}),ue(t),ae[t]}return delete ae[t],null}function de(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ne;if(!r(t)){if(e=ce(t))return e;t=[t]}return function(t){for(var e,i,n,r,o=0;o0;){if(n=ce(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&_(r,i,!0)>=e-1)break;e--}o++}return ne}(t)}function fe(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[vt]<0||i[vt]>11?vt:i[yt]<1||i[yt]>Pt(i[mt],i[vt])?yt:i[bt]<0||i[bt]>24||24===i[bt]&&(0!==i[Lt]||0!==i[xt]||0!==i[wt])?bt:i[Lt]<0||i[Lt]>59?Lt:i[xt]<0||i[xt]>59?xt:i[wt]<0||i[wt]>999?wt:-1,f(t)._overflowDayOfYear&&(eyt)&&(e=yt),f(t)._overflowWeeks&&-1===e&&(e=_t),f(t)._overflowWeekday&&-1===e&&(e=St),f(t).overflow=e),t}function pe(t,e,i){return null!=t?t:null!=e?e:i}function ge(t){var e,i,r,o,a,s=[];if(!t._d){for(r=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[yt]&&null==t._a[vt]&&function(t){var e,i,n,r,o,a,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,a=4,i=pe(e.GG,t._a[mt],Ut(De(),1,4).year),n=pe(e.W,1),((r=pe(e.E,1))<1||r>7)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=Ut(De(),o,a);i=pe(e.gg,t._a[mt],c.year),n=pe(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(l=!0)):r=o}n<1||n>Yt(i,o,a)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=Wt(i,n,r,o,a),t._a[mt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=pe(t._a[mt],r[mt]),(t._dayOfYear>Ct(a)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Vt(a,0,t._dayOfYear),t._a[vt]=i.getUTCMonth(),t._a[yt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[Lt]&&0===t._a[xt]&&0===t._a[wt]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Vt:function(t,e,i,n,r,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var me=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ve=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,be=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],we=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,r,o,a,s=t._i,l=me.exec(s)||ve.exec(s);if(l){for(f(t).iso=!0,e=0,i=be.length;e0&&f(t).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),j[o]?(i?f(t).empty=!1:f(t).unusedTokens.push(o),gt(o,i,t)):t._strict&&!i&&f(t).unusedTokens.push(o);f(t).charsLeftOver=l-c,s.length>0&&f(t).unusedInput.push(s),t._a[bt]<=12&&!0===f(t).bigHour&&t._a[bt]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[bt]=(u=t._locale,h=t._a[bt],null==(d=t._meridiem)?h:null!=u.meridiemHour?u.meridiemHour(h,d):null!=u.isPM?((p=u.isPM(d))&&h<12&&(h+=12),p||12!==h||(h=0),h):h),ge(t),fe(t)}else Te(t);else _e(t);var u,h,d,p}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||de(t._l),null===e||void 0===i&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),L(e)?new b(fe(e)):(l(e)?t._d=e:r(i)?function(t){var e,i,n,r,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()});function Ie(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return De();for(i=e[0],n=1;n=0?new Date(t+400,e,i)-ri:new Date(t,e,i).valueOf()}function si(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ri:Date.UTC(t,e,i)}function li(t,e){W(0,[t,t.length],0,e)}function ci(t,e,i,n,r){var o;return null==t?Ut(this,n,r).year:(e>(o=Yt(t,n,r))&&(e=o),function(t,e,i,n,r){var o=Wt(t,e,i,n,r),a=Vt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,t,e,i,n,r))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),li("gggg","weekYear"),li("ggggg","weekYear"),li("GGGG","isoWeekYear"),li("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ct("G",rt),ct("g",rt),ct("GG",K,X),ct("gg",K,X),ct("GGGG",et,$),ct("gggg",et,$),ct("GGGGG",it,Z),ct("ggggg",it,Z),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=w(t)}),pt(["gg","GG"],function(t,e,i,r){e[r]=n.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),ct("Q",G),ft("Q",function(t,e){e[vt]=3*(w(t)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),F("date",9),ct("D",K),ct("DD",K,X),ct("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],yt),ft("Do",function(t,e){e[yt]=w(t.match(K)[0])});var ui=At("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),ct("DDD",tt),ct("DDDD",q),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=w(t)}),W("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),ct("m",K),ct("mm",K,X),ft(["m","mm"],Lt);var hi=At("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),F("second",15),ct("s",K),ct("ss",K,X),ft(["s","ss"],xt);var di,fi=At("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),F("millisecond",16),ct("S",tt,G),ct("SS",tt,X),ct("SSS",tt,q),di="SSSS";di.length<=9;di+="S")ct(di,nt);function pi(t,e){e[wt]=w(1e3*("0."+t))}for(di="S";di.length<=9;di+="S")ft(di,pi);var gi=At("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var mi=b.prototype;function vi(t){return t}mi.add=Qe,mi.calendar=function(t,e){var i=t||De(),r=je(i,this).startOf("day"),o=n.calendarFormat(this,r)||"sameElse",a=e&&(A(e[o])?e[o].call(this,i):e[o]);return this.format(a||this.localeData().calendar(o,this,De(i)))},mi.clone=function(){return new b(this)},mi.diff=function(t,e,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=je(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":o=ti(this,n)/12;break;case"month":o=ti(this,n);break;case"quarter":o=ti(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:x(o)},mi.endOf=function(t){var e;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?si:ai;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-oi(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-oi(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-oi(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},mi.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},mi.from=function(t,e){return this.isValid()&&(L(t)&&t.isValid()||De(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mi.fromNow=function(t){return this.from(De(),t)},mi.to=function(t,e){return this.isValid()&&(L(t)&&t.isValid()||De(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mi.toNow=function(t){return this.to(De(),t)},mi.get=function(t){return A(this[t=I(t)])?this[t]():this},mi.invalidAt=function(){return f(this).overflow},mi.isAfter=function(t,e){var i=L(t)?t:De(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+r)},mi.toJSON=function(){return this.isValid()?this.toISOString():null},mi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mi.unix=function(){return Math.floor(this.valueOf()/1e3)},mi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mi.year=Et,mi.isLeapYear=function(){return kt(this.year())},mi.weekYear=function(t){return ci.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mi.isoWeekYear=function(t){return ci.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mi.quarter=mi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mi.month=Ft,mi.daysInMonth=function(){return Pt(this.year(),this.month())},mi.week=mi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mi.isoWeek=mi.isoWeeks=function(t){var e=Ut(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mi.weeksInYear=function(){var t=this.localeData()._week;return Yt(this.year(),t.dow,t.doy)},mi.isoWeeksInYear=function(){return Yt(this.year(),1,4)},mi.date=ui,mi.day=mi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mi.hour=mi.hours=re,mi.minute=mi.minutes=hi,mi.second=mi.seconds=fi,mi.millisecond=mi.milliseconds=gi,mi.utcOffset=function(t,e,i){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ve(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(r=We(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Ke(this,Xe(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:We(this)},mi.utc=function(t){return this.utcOffset(0,t)},mi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},mi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ve(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mi.isLocal=function(){return!!this.isValid()&&!this._isUTC},mi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mi.isUtc=Ue,mi.isUTC=Ue,mi.zoneAbbr=function(){return this._isUTC?"UTC":""},mi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mi.dates=C("dates accessor is deprecated. Use date instead.",ui),mi.months=C("months accessor is deprecated. Use month instead",Ft),mi.years=C("years accessor is deprecated. Use year instead",Et),mi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),mi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=Ae(t))._a){var e=t._isUTC?d(t._a):De(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var yi=D.prototype;function bi(t,e,i,n){var r=de(),o=d().set(n,e);return r[i](o,t)}function Li(t,e,i){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return bi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=bi(t,n,i,"month");return r}function xi(t,e,i,n){"boolean"==typeof t?(s(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,s(e)&&(i=e,e=void 0),e=e||"");var r,o=de(),a=t?o._week.dow:0;if(null!=i)return bi(e,(i+a)%7,n,"day");var l=[];for(r=0;r<7;r++)l[r]=bi(e,(r+a)%7,n,"day");return l}yi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return A(n)?n.call(e,i):n},yi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},yi.invalidDate=function(){return this._invalidDate},yi.ordinal=function(t){return this._ordinal.replace("%d",t)},yi.preparse=vi,yi.postformat=vi,yi.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return A(r)?r(t,e,i,n):r.replace(/%d/i,t)},yi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return A(i)?i(e):i.replace(/%s/i,e)},yi.set=function(t){var e,i;for(i in t)A(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},yi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yi.monthsParse=function(t,e,i){var n,r,o;if(this._monthsParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},yi.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=zt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yi.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Bt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yi.week=function(t){return Ut(t,this._week.dow,this._week.doy).week},yi.firstDayOfYear=function(){return this._week.doy},yi.firstDayOfWeek=function(){return this._week.dow},yi.weekdays=function(t,e){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Gt(i,this._week.dow):t?i[t.day()]:i},yi.weekdaysMin=function(t){return!0===t?Gt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yi.weekdaysShort=function(t){return!0===t?Gt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yi.weekdaysParse=function(t,e,i){var n,r,o;if(this._weekdaysParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},yi.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Zt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},ue("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",ue),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",de);var wi=Math.abs;function _i(t,e,i,n){var r=Xe(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Si(t){return t<0?Math.floor(t):Math.ceil(t)}function Ci(t){return 4800*t/146097}function ki(t){return 146097*t/4800}function Ti(t){return function(){return this.as(t)}}var Ei=Ti("ms"),Ai=Ti("s"),Mi=Ti("m"),Di=Ti("h"),Pi=Ti("d"),Oi=Ti("w"),Ii=Ti("M"),Ni=Ti("Q"),Ri=Ti("y");function Fi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Bi=Fi("milliseconds"),zi=Fi("seconds"),Hi=Fi("minutes"),Vi=Fi("hours"),ji=Fi("days"),Wi=Fi("months"),Ui=Fi("years"),Yi=Math.round,Gi={ss:44,s:45,m:45,h:22,d:26,M:11},Xi=Math.abs;function qi(t){return(t>0)-(t<0)||+t}function $i(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Xi(this._milliseconds)/1e3,n=Xi(this._days),r=Xi(this._months);t=x(i/60),e=x(t/60),i%=60,t%=60;var o=x(r/12),a=r%=12,s=n,l=e,c=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=qi(this._months)!==qi(h)?"-":"",p=qi(this._days)!==qi(h)?"-":"",g=qi(this._milliseconds)!==qi(h)?"-":"";return d+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||c||u?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(u?g+u+"S":"")}var Zi=Re.prototype;return Zi.isValid=function(){return this._isValid},Zi.abs=function(){var t=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),t.milliseconds=wi(t.milliseconds),t.seconds=wi(t.seconds),t.minutes=wi(t.minutes),t.hours=wi(t.hours),t.months=wi(t.months),t.years=wi(t.years),this},Zi.add=function(t,e){return _i(this,t,e,1)},Zi.subtract=function(t,e){return _i(this,t,e,-1)},Zi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+Ci(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ki(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Zi.asMilliseconds=Ei,Zi.asSeconds=Ai,Zi.asMinutes=Mi,Zi.asHours=Di,Zi.asDays=Pi,Zi.asWeeks=Oi,Zi.asMonths=Ii,Zi.asQuarters=Ni,Zi.asYears=Ri,Zi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Zi._bubble=function(){var t,e,i,n,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Si(ki(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=x(o/1e3),l.seconds=t%60,e=x(t/60),l.minutes=e%60,i=x(e/60),l.hours=i%24,a+=x(i/24),s+=r=x(Ci(a)),a-=Si(ki(r)),n=x(s/12),s%=12,l.days=a,l.months=s,l.years=n,this},Zi.clone=function(){return Xe(this)},Zi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Zi.milliseconds=Bi,Zi.seconds=zi,Zi.minutes=Hi,Zi.hours=Vi,Zi.days=ji,Zi.weeks=function(){return x(this.days()/7)},Zi.months=Wi,Zi.years=Ui,Zi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=Xe(t).abs(),r=Yi(n.as("s")),o=Yi(n.as("m")),a=Yi(n.as("h")),s=Yi(n.as("d")),l=Yi(n.as("M")),c=Yi(n.as("y")),u=r<=Gi.ss&&["s",r]||r0,u[4]=i,function(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}.apply(null,u)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Zi.toISOString=$i,Zi.toString=$i,Zi.toJSON=$i,Zi.locale=ei,Zi.localeData=ni,Zi.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$i),Zi.lang=ii,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",rt),ct("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(w(t))}),n.version="2.24.0",e=De,n.fn=mi,n.min=function(){return Ie("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ie("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(t){return De(1e3*t)},n.months=function(t,e){return Li(t,e,"months")},n.isDate=l,n.locale=ue,n.invalid=g,n.duration=Xe,n.isMoment=L,n.weekdays=function(t,e,i){return xi(t,e,i,"weekdays")},n.parseZone=function(){return De.apply(null,arguments).parseZone()},n.localeData=de,n.isDuration=Fe,n.monthsShort=function(t,e){return Li(t,e,"monthsShort")},n.weekdaysMin=function(t,e,i){return xi(t,e,i,"weekdaysMin")},n.defineLocale=he,n.updateLocale=function(t,e){if(null!=e){var i,n,r=oe;null!=(n=ce(t))&&(r=n._config),(i=new D(e=M(r,e))).parentLocale=ae[t],ae[t]=i,ue(t)}else null!=ae[t]&&(null!=ae[t].parentLocale?ae[t]=ae[t].parentLocale:null!=ae[t]&&delete ae[t]);return ae[t]},n.locales=function(){return k(ae)},n.weekdaysShort=function(t,e,i){return xi(t,e,i,"weekdaysShort")},n.normalizeUnits=I,n.relativeTimeRounding=function(t){return void 0===t?Yi:"function"==typeof t&&(Yi=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==Gi[t]&&(void 0===e?Gi[t]:(Gi[t]=e,"s"===t&&(Gi.ss=e-1),!0))},n.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},n.prototype=mi,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()}(qi={exports:{}}),qi.exports),Ki={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ri._date.override("function"==typeof Zi?{_id:"moment",formats:function(){return Ki},parse:function(t,e){return"string"==typeof t&&"string"==typeof e?t=Zi(t,e):t instanceof Zi||(t=Zi(t)),t.isValid()?t.valueOf():null},format:function(t,e){return Zi(t).format(e)},add:function(t,e,i){return Zi(t).add(e,i).valueOf()},diff:function(t,e,i){return Zi.duration(Zi(t).diff(Zi(e))).as(i)},startOf:function(t,e,i){return t=Zi(t),"isoWeek"===e?t.isoWeekday(i).valueOf():t.startOf(e).valueOf()},endOf:function(t,e){return Zi(t).endOf(e).valueOf()},_create:function(t){return Zi(t)}}:{}),at._set("global",{plugins:{filler:{propagate:!0}}});var Qi={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),r=n&&i.isDatasetVisible(e)&&n.dataset._children||[],o=r.length||0;return o?function(t,e){return e=i)&&n;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function tn(t){var e,i=t.el._model||{},n=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===r?o=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?o=i.scaleZero:n.getBasePosition?o=n.getBasePosition():n.getBasePixel&&(o=n.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if(ct.isFinite(o))return{x:(e=n.isHorizontal())?o:null,y:e?null:o}}return null}function en(t,e,i){var n,r=t[e].fill,o=[e];if(!i)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(n=t[r]))return!1;if(n.visible)return r;o.push(r),r=n.fill}return!1}function nn(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),Qi[i](t))}function rn(t){return t&&!t.skip}function on(t,e,i,n,r){var o;if(n&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o0;--o)ct.canvas.lineTo(t,i[o],i[o-1],!0)}}var an={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,r,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(n=0;ne?e:t.boxWidth}at._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return ct.isArray(e.datasets)?e.datasets.map(function(e,i){return{text:e.label,fillStyle:ct.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(i),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:i}},this):[]}}},legendCallback:function(t){var e=[];e.push('
    ');for(var i=0;i'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("");return e.push("
"),e.join("")}});var un=pt.extend({initialize:function(t){ct.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:sn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:sn,beforeSetDimensions:sn,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:sn,beforeBuildLabels:sn,buildLabels:function(){var t=this,e=t.options.labels||{},i=ct.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:sn,beforeFit:sn,fit:function(){var t=this,e=t.options,i=e.labels,n=e.display,r=t.ctx,o=ct.options._parseFont(i),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,c=t.isHorizontal();if(c?(l.width=t.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=t.maxHeight),n)if(r.font=o.string,c){var u=t.lineWidths=[0],h=0;r.textAlign="left",r.textBaseline="top",ct.each(t.legendItems,function(t,e){var n=cn(i,a)+a/2+r.measureText(t.text).width;(0===e||u[u.length-1]+n+i.padding>l.width)&&(h+=a+i.padding,u[u.length-(e>0?0:1)]=i.padding),s[e]={left:0,top:0,width:n,height:a},u[u.length-1]+=n+i.padding}),l.height+=h}else{var d=i.padding,f=t.columnWidths=[],p=i.padding,g=0,m=0,v=a+d;ct.each(t.legendItems,function(t,e){var n=cn(i,a)+a/2+r.measureText(t.text).width;e>0&&m+v>l.height-d&&(p+=g+i.padding,f.push(g),g=0,m=0),g=Math.max(g,n),m+=v,s[e]={left:0,top:0,width:n,height:a}}),p+=g,f.push(g),l.width+=p}t.width=l.width,t.height=l.height},afterFit:sn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,n=at.global,r=n.defaultColor,o=n.elements.line,a=t.width,s=t.lineWidths;if(e.display){var l,c=t.ctx,u=ln(i.fontColor,n.defaultFontColor),h=ct.options._parseFont(i),d=h.size;c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=u,c.fillStyle=u,c.font=h.string;var f=cn(i,d),p=t.legendHitBoxes,g=t.isHorizontal();l=g?{x:t.left+(a-s[0])/2+i.padding,y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+i.padding,line:0};var m=d+i.padding;ct.each(t.legendItems,function(n,u){var h=c.measureText(n.text).width,v=f+d/2+h,y=l.x,b=l.y;g?u>0&&y+v+i.padding>t.left+t.minSize.width&&(b=l.y+=m,l.line++,y=l.x=t.left+(a-s[l.line])/2+i.padding):u>0&&b+m>t.top+t.minSize.height&&(y=l.x=y+t.columnWidths[l.line]+i.padding,b=l.y=t.top+i.padding,l.line++),function(t,i,n){if(!(isNaN(f)||f<=0)){c.save();var a=ln(n.lineWidth,o.borderWidth);if(c.fillStyle=ln(n.fillStyle,r),c.lineCap=ln(n.lineCap,o.borderCapStyle),c.lineDashOffset=ln(n.lineDashOffset,o.borderDashOffset),c.lineJoin=ln(n.lineJoin,o.borderJoinStyle),c.lineWidth=a,c.strokeStyle=ln(n.strokeStyle,r),c.setLineDash&&c.setLineDash(ln(n.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var s=f*Math.SQRT2/2,l=t+f/2,u=i+d/2;ct.canvas.drawPoint(c,n.pointStyle,s,l,u)}else 0!==a&&c.strokeRect(t,i,f,d),c.fillRect(t,i,f,d);c.restore()}}(y,b,n),p[u].left=y,p[u].top=b,function(t,e,i,n){var r=d/2,o=f+r+y,a=b+r;c.fillText(i.text,o,a),i.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(o,a),c.lineTo(o+n,a),c.stroke())}(0,0,n,h),g?l.x+=v+i.padding:l.y+=m})}},_getLegendItemAt:function(t,e){var i,n,r,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(r=o.legendHitBoxes,i=0;i=(n=r[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return o.legendItems[i];return null},handleEvent:function(t){var e,i=this,n=i.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}e=i._getLegendItemAt(t.x,t.y),"click"===r?e&&n.onClick&&n.onClick.call(i,t.native,e):(n.onLeave&&e!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,t.native,i._hoveredItem),i._hoveredItem=e),n.onHover&&e&&n.onHover.call(i,t.native,e))}});function hn(t,e){var i=new un({ctx:t.ctx,options:e,chart:t});be.configure(t,i,e),be.addBox(t,i),t.legend=i}var dn={id:"legend",_element:un,beforeInit:function(t){var e=t.options.legend;e&&hn(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(ct.mergeIf(e,at.global.legend),i?(be.configure(t,i,e),i.options=e):hn(t,e)):i&&(be.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}},fn=ct.noop;at._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var pn=pt.extend({initialize:function(t){ct.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:fn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:fn,beforeSetDimensions:fn,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:fn,beforeBuildLabels:fn,buildLabels:fn,afterBuildLabels:fn,beforeFit:fn,fit:function(){var t=this,e=t.options,i=e.display,n=t.minSize,r=ct.isArray(e.text)?e.text.length:1,o=ct.options._parseFont(e),a=i?r*o.lineHeight+2*e.padding:0;t.isHorizontal()?(n.width=t.maxWidth,n.height=a):(n.width=a,n.height=t.maxHeight),t.width=n.width,t.height=n.height},afterFit:fn,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=t.options;if(i.display){var n,r,o,a=ct.options._parseFont(i),s=a.lineHeight,l=s/2+i.padding,c=0,u=t.top,h=t.left,d=t.bottom,f=t.right;e.fillStyle=ct.valueOrDefault(i.fontColor,at.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=h+(f-h)/2,o=u+l,n=f-h):(r="left"===i.position?h+l:f-l,o=u+(d-u)/2,n=d-u,c=Math.PI*("left"===i.position?-.5:.5)),e.save(),e.translate(r,o),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var p=i.text;if(ct.isArray(p))for(var g=0,m=0;m=0;n--){var r=t[n];if(e(r))return r}},ct.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ct.almostEquals=function(t,e,i){return Math.abs(t-e)t},ct.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},ct.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},ct.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},ct.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e},ct.toRadians=function(t){return t*(Math.PI/180)},ct.toDegrees=function(t){return t*(180/Math.PI)},ct._decimalPlaces=function(t){if(ct.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},ct.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,r=Math.sqrt(i*i+n*n),o=Math.atan2(n,i);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},ct.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ct.aliasPixel=function(t){return t%2==0?0:.5},ct._alignPixel=function(t,e,i){var n=t.currentDevicePixelRatio,r=i/2;return Math.round((e-r)*n)/n+r},ct.splineCurve=function(t,e,i,n){var r=t.skip?e:t,o=e,a=i.skip?e:i,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),c=s/(s+l),u=l/(s+l),h=n*(c=isNaN(c)?0:c),d=n*(u=isNaN(u)?0:u);return{previous:{x:o.x-h*(a.x-r.x),y:o.y-h*(a.y-r.y)},next:{x:o.x+d*(a.x-r.x),y:o.y+d*(a.y-r.y)}}},ct.EPSILON=Number.EPSILON||1e-14,ct.splineCurveMonotone=function(t){var e,i,n,r,o,a,s,l,c,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=u.length;for(e=0;e0?u[e-1]:null,(r=e0?u[e-1]:null,r=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ct.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ct.niceNum=function(t,e){var i=Math.floor(ct.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},ct.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},ct.getRelativePosition=function(t,e){var i,n,r=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(i=s[0].clientX,n=s[0].clientY):(i=r.clientX,n=r.clientY);var l=parseFloat(ct.getStyle(o,"padding-left")),c=parseFloat(ct.getStyle(o,"padding-top")),u=parseFloat(ct.getStyle(o,"padding-right")),h=parseFloat(ct.getStyle(o,"padding-bottom")),d=a.right-a.left-l-u,f=a.bottom-a.top-c-h;return{x:i=Math.round((i-a.left-l)/d*o.width/e.currentDevicePixelRatio),y:n=Math.round((n-a.top-c)/f*o.height/e.currentDevicePixelRatio)}},ct.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},ct.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},ct._calculatePadding=function(t,e,i){return(e=ct.getStyle(t,e)).indexOf("%")>-1?i*parseInt(e,10)/100:parseInt(e,10)},ct._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ct.getMaximumWidth=function(t){var e=ct._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,n=i-ct._calculatePadding(e,"padding-left",i)-ct._calculatePadding(e,"padding-right",i),r=ct.getConstraintWidth(t);return isNaN(r)?n:Math.min(n,r)},ct.getMaximumHeight=function(t){var e=ct._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,n=i-ct._calculatePadding(e,"padding-top",i)-ct._calculatePadding(e,"padding-bottom",i),r=ct.getConstraintHeight(t);return isNaN(r)?n:Math.min(n,r)},ct.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ct.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=t.canvas,r=t.height,o=t.width;n.height=r*i,n.width=o*i,t.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=r+"px",n.style.width=o+"px")}},ct.fontString=function(t,e,i){return e+" "+t+"px "+i},ct.longestText=function(t,e,i,n){var r=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(r=n.data={},o=n.garbageCollect=[],n.font=e),t.font=e;var a=0;ct.each(i,function(e){null!=e&&!0!==ct.isArray(e)?a=ct.measureText(t,r,o,a,e):ct.isArray(e)&&ct.each(e,function(e){null==e||ct.isArray(e)||(a=ct.measureText(t,r,o,a,e))})});var s=o.length/2;if(s>i.length){for(var l=0;ln&&(n=o),n},ct.numberOfLabelLines=function(t){var e=1;return ct.each(t,function(t){ct.isArray(t)&&t.length>e&&(e=t.length)}),e},ct.color=G?function(t){return t instanceof CanvasGradient&&(t=at.global.defaultColor),G(t)}:function(t){return console.error("Color.js not found!"),t},ct.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ct.color(t).saturate(.5).darken(.1).rgbString()}}(),ei._adapters=ri,ei.Animation=mt,ei.animationService=vt,ei.controllers=le,ei.DatasetController=wt,ei.defaults=at,ei.Element=pt,ei.elements=Ft,ei.Interaction=ge,ei.layouts=be,ei.platform=Fe,ei.plugins=Be,ei.Scale=ui,ei.scaleService=ze,ei.Ticks=oi,ei.Tooltip=$e,ei.helpers.each($i,function(t,e){ei.scaleService.registerScaleType(e,t,t._defaults)}),mn)mn.hasOwnProperty(Ln)&&ei.plugins.register(mn[Ln]);ei.platform.initialize();var xn=ei;return"undefined"!=typeof window&&(window.Chart=ei),ei.Chart=ei,ei.Legend=mn.legend._element,ei.Title=mn.title._element,ei.pluginService=ei.plugins,ei.PluginBase=ei.Element.extend({}),ei.canvasHelpers=ei.helpers.canvas,ei.layoutService=ei.layouts,ei.LinearScaleBase=pi,ei.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){ei[t]=function(e,i){return new ei(e,ei.helpers.merge(i||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),xn}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.d3=t.d3||{})}(this,function(t){"use strict";function e(t,e){return te?1:t>=e?0:NaN}function i(t){var i;return 1===t.length&&(i=t,t=function(t,n){return e(i(t),n)}),{left:function(e,i,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n>>1;t(e[o],i)<0?n=o+1:r=o}return n},right:function(e,i,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n>>1;t(e[o],i)>0?r=o:n=o+1}return n}}}var n=i(e),r=n.right,o=n.left;function a(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function l(t,e){var i,n,r=t.length,o=0,a=-1,l=0,c=0;if(null==e)for(;++a1)return c/(o-1)}function c(t,e){var i=l(t,e);return i?Math.sqrt(i):i}function u(t,e){var i,n,r,o=t.length,a=-1;if(null==e){for(;++a=i)for(n=r=i;++ai&&(n=i),r=i)for(n=r=i;++ai&&(n=i),r0)return[t];if((n=e0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(r=Math.ceil(e-t+1));++s=0?(o>=v?10:o>=y?5:o>=b?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=v?10:o>=y?5:o>=b?2:1)}function w(t,e,i){var n=Math.abs(e-t)/Math.max(0,i),r=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/r;return o>=v?r*=10:o>=y?r*=5:o>=b&&(r*=2),e=1)return+i(t[n-1],n-1,t);var n,r=(n-1)*e,o=Math.floor(r),a=+i(t[o],o,t);return a+(+i(t[o+1],o+1,t)-a)*(r-o)}}function C(t,e){var i,n,r=t.length,o=-1;if(null==e){for(;++o=i)for(n=i;++on&&(n=i)}else for(;++o=i)for(n=i;++on&&(n=i);return n}function k(t){for(var e,i,n,r=t.length,o=-1,a=0;++o=0;)for(e=(n=t[r]).length;--e>=0;)i[--a]=n[e];return i}function T(t,e){var i,n,r=t.length,o=-1;if(null==e){for(;++o=i)for(n=i;++oi&&(n=i)}else for(;++o=i)for(n=i;++oi&&(n=i);return n}function E(t){if(!(r=t.length))return[];for(var e=-1,i=T(t,A),n=new Array(i);++e=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var i,n,r=new Array(i),o=0;o=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),X.hasOwnProperty(e)?{space:X[e],local:t}:t}function $(t){var e=q(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,i=this.namespaceURI;return i===G&&e.documentElement.namespaceURI===G?e.createElement(t):e.createElementNS(i,t)}})(e)}function Z(){}function K(t){return null==t?Z:function(){return this.querySelector(t)}}function Q(){return[]}function J(t){return null==t?Q:function(){return this.querySelectorAll(t)}}function tt(t){return function(){return this.matches(t)}}function et(t){return new Array(t.length)}function it(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}it.prototype={constructor:it,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var nt="$";function rt(t,e,i,n,r,o){for(var a,s=0,l=e.length,c=o.length;se?1:t>=e?0:NaN}function st(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function lt(t,e){return t.style.getPropertyValue(e)||st(t).getComputedStyle(t,null).getPropertyValue(e)}function ct(t){return t.trim().split(/^|\s+/)}function ut(t){return t.classList||new ht(t)}function ht(t){this._node=t,this._names=ct(t.getAttribute("class")||"")}function dt(t,e){for(var i=ut(t),n=-1,r=e.length;++n=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var wt={};function _t(t,e,i){return t=St(t,e,i),function(e){var i=e.relatedTarget;i&&(i===this||8&i.compareDocumentPosition(this))||t.call(this,e)}}function St(e,i,n){return function(r){var o=t.event;t.event=r;try{e.call(this,this.__data__,i,n)}finally{t.event=o}}}function Ct(t){return function(){var e=this.__on;if(e){for(var i,n=0,r=-1,o=e.length;n=x&&(x=L+1);!(b=v[x])&&++x=0;)(n=r[o])&&(a&&4^n.compareDocumentPosition(a)&&a.parentNode.insertBefore(n,a),a=n);return this},sort:function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=at);for(var i=this._groups,n=i.length,r=new Array(n),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,i){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,i)}}:function(t,e,i){return function(){this.style.setProperty(t,e,i)}})(t,e,null==i?"":i)):lt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var i=ct(t+"");if(arguments.length<2){for(var n=ut(this.node()),r=-1,o=i.length;++r=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?kt:Ct,null==i&&(i=!1),n=0;n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=ne.exec(t))?de(parseInt(e[1],16)):(e=re.exec(t))?new me(e[1],e[2],e[3],1):(e=oe.exec(t))?new me(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ae.exec(t))?fe(e[1],e[2],e[3],e[4]):(e=se.exec(t))?fe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=le.exec(t))?ye(e[1],e[2]/100,e[3]/100,1):(e=ce.exec(t))?ye(e[1],e[2]/100,e[3]/100,e[4]):ue.hasOwnProperty(t)?de(ue[t]):"transparent"===t?new me(NaN,NaN,NaN,0):null}function de(t){return new me(t>>16&255,t>>8&255,255&t,1)}function fe(t,e,i,n){return n<=0&&(t=e=i=NaN),new me(t,e,i,n)}function pe(t){return t instanceof Qt||(t=he(t)),t?new me((t=t.rgb()).r,t.g,t.b,t.opacity):new me}function ge(t,e,i,n){return 1===arguments.length?pe(t):new me(t,e,i,null==n?1:n)}function me(t,e,i,n){this.r=+t,this.g=+e,this.b=+i,this.opacity=+n}function ve(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ye(t,e,i,n){return n<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Le(t,e,i,n)}function be(t,e,i,n){return 1===arguments.length?function(t){if(t instanceof Le)return new Le(t.h,t.s,t.l,t.opacity);if(t instanceof Qt||(t=he(t)),!t)return new Le;if(t instanceof Le)return t;var e=(t=t.rgb()).r/255,i=t.g/255,n=t.b/255,r=Math.min(e,i,n),o=Math.max(e,i,n),a=NaN,s=o-r,l=(o+r)/2;return s?(a=e===o?(i-n)/s+6*(i0&&l<1?0:a,new Le(a,s,l,t.opacity)}(t):new Le(t,e,i,null==n?1:n)}function Le(t,e,i,n){this.h=+t,this.s=+e,this.l=+i,this.opacity=+n}function xe(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}Zt(Qt,he,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Zt(me,ge,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new me(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new me(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+ve(this.r)+ve(this.g)+ve(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Zt(Le,be,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Le(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Le(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,n=i+(i<.5?i:1-i)*e,r=2*i-n;return new me(xe(t>=240?t-240:t+120,r,n),xe(t,r,n),xe(t<120?t+240:t-120,r,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var we=Math.PI/180,_e=180/Math.PI,Se=.96422,Ce=1,ke=.82521,Te=4/29,Ee=6/29,Ae=3*Ee*Ee,Me=Ee*Ee*Ee;function De(t){if(t instanceof Oe)return new Oe(t.l,t.a,t.b,t.opacity);if(t instanceof He){if(isNaN(t.h))return new Oe(t.l,0,0,t.opacity);var e=t.h*we;return new Oe(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof me||(t=pe(t));var i,n,r=Fe(t.r),o=Fe(t.g),a=Fe(t.b),s=Ie((.2225045*r+.7168786*o+.0606169*a)/Ce);return r===o&&o===a?i=n=s:(i=Ie((.4360747*r+.3850649*o+.1430804*a)/Se),n=Ie((.0139322*r+.0971045*o+.7141733*a)/ke)),new Oe(116*s-16,500*(i-s),200*(s-n),t.opacity)}function Pe(t,e,i,n){return 1===arguments.length?De(t):new Oe(t,e,i,null==n?1:n)}function Oe(t,e,i,n){this.l=+t,this.a=+e,this.b=+i,this.opacity=+n}function Ie(t){return t>Me?Math.pow(t,1/3):t/Ae+Te}function Ne(t){return t>Ee?t*t*t:Ae*(t-Te)}function Re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Be(t){if(t instanceof He)return new He(t.h,t.c,t.l,t.opacity);if(t instanceof Oe||(t=De(t)),0===t.a&&0===t.b)return new He(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*_e;return new He(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ze(t,e,i,n){return 1===arguments.length?Be(t):new He(t,e,i,null==n?1:n)}function He(t,e,i,n){this.h=+t,this.c=+e,this.l=+i,this.opacity=+n}Zt(Oe,Pe,Kt(Qt,{brighter:function(t){return new Oe(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Oe(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,i=isNaN(this.b)?t:t-this.b/200;return new me(Re(3.1338561*(e=Se*Ne(e))-1.6168667*(t=Ce*Ne(t))-.4906146*(i=ke*Ne(i))),Re(-.9787684*e+1.9161415*t+.033454*i),Re(.0719453*e-.2289914*t+1.4052427*i),this.opacity)}})),Zt(He,ze,Kt(Qt,{brighter:function(t){return new He(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new He(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return De(this).rgb()}}));var Ve=1.78277,je=-.29227,We=-.90649,Ue=1.97294,Ye=Ue*We,Ge=Ue*Ve,Xe=Ve*je- -.14861*We;function qe(t,e,i,n){return 1===arguments.length?function(t){if(t instanceof $e)return new $e(t.h,t.s,t.l,t.opacity);t instanceof me||(t=pe(t));var e=t.r/255,i=t.g/255,n=t.b/255,r=(Xe*n+Ye*e-Ge*i)/(Xe+Ye-Ge),o=n-r,a=(Ue*(i-r)-je*o)/We,s=Math.sqrt(a*a+o*o)/(Ue*r*(1-r)),l=s?Math.atan2(a,o)*_e-120:NaN;return new $e(l<0?l+360:l,s,r,t.opacity)}(t):new $e(t,e,i,null==n?1:n)}function $e(t,e,i,n){this.h=+t,this.s=+e,this.l=+i,this.opacity=+n}function Ze(t,e,i,n,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*n+a*r)/6}function Ke(t){var e=t.length-1;return function(i){var n=i<=0?i=0:i>=1?(i=1,e-1):Math.floor(i*e),r=t[n],o=t[n+1],a=n>0?t[n-1]:2*r-o,s=n180||i<-180?i-360*Math.round(i/360):i):Je(isNaN(t)?e:t)}function ii(t,e){var i=e-t;return i?ti(t,i):Je(isNaN(t)?e:t)}Zt($e,qe,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new $e(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new $e(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*we,e=+this.l,i=isNaN(this.s)?0:this.s*e*(1-e),n=Math.cos(t),r=Math.sin(t);return new me(255*(e+i*(-.14861*n+Ve*r)),255*(e+i*(je*n+We*r)),255*(e+i*(Ue*n)),this.opacity)}}));var ni=function t(e){var i=function(t){return 1==(t=+t)?ii:function(e,i){return i-e?function(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(n){return Math.pow(t+n*e,i)}}(e,i,t):Je(isNaN(e)?i:e)}}(e);function n(t,e){var n=i((t=ge(t)).r,(e=ge(e)).r),r=i(t.g,e.g),o=i(t.b,e.b),a=ii(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function ri(t){return function(e){var i,n,r=e.length,o=new Array(r),a=new Array(r),s=new Array(r);for(i=0;io&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(i=i[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:ci(i,n)})),o=di.lastIndex;return o180?e+=360:e-t>180&&(t+=360),l.push({i:i.push(r(i)+"rotate(",null,n)-2,x:ci(t,e)})):e&&i.push(r(i)+"rotate("+e+n)}(o.rotate,a.rotate,s),function(t,e,i,o){t!==e?l.push({i:i.push(r(i)+"skewX(",null,n)-2,x:ci(t,e)}):e&&i.push(r(i)+"skewX("+e+n)}(o.skewX,a.skewX,s),function(t,e,i,n,o,a){if(t!==i||e!==n){var s=o.push(r(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ci(t,i)},{i:s-2,x:ci(e,n)})}else 1===i&&1===n||o.push(r(o)+"scale("+i+","+n+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,i=-1,n=l.length;++i=0&&e._call.call(null,t),e=e._next;--Wi}function rn(){qi=(Xi=Zi.now())+$i,Wi=Ui=0;try{nn()}finally{Wi=0,function(){for(var t,e,i=zi,n=1/0;i;)i._call?(n>i._time&&(n=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:zi=e);Hi=t,an(n)}(),qi=0}}function on(){var t=Zi.now(),e=t-Xi;e>Gi&&($i-=e,Xi=t)}function an(t){Wi||(Ui&&(Ui=clearTimeout(Ui)),t-qi>24?(t<1/0&&(Ui=setTimeout(rn,t-Zi.now()-$i)),Yi&&(Yi=clearInterval(Yi))):(Yi||(Xi=Zi.now(),Yi=setInterval(on,Gi)),Wi=1,Ki(rn)))}function sn(t,e,i){var n=new tn;return e=null==e?0:+e,n.restart(function(i){n.stop(),t(i+e)},e,i),n}tn.prototype=en.prototype={constructor:tn,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Qi():+i)+(null==e?0:+e),this._next||Hi===this||(Hi?Hi._next=this:zi=this,Hi=this),this._call=t,this._time=i,an()},stop:function(){this._call&&(this._call=null,this._time=1/0,an())}};var ln=j("start","end","cancel","interrupt"),cn=[],un=0,hn=1,dn=2,fn=3,pn=4,gn=5,mn=6;function vn(t,e,i,n,r,o){var a=t.__transition;if(a){if(i in a)return}else t.__transition={};!function(t,e,i){var n,r=t.__transition;function o(l){var c,u,h,d;if(i.state!==hn)return s();for(c in r)if((d=r[c]).name===i.name){if(d.state===fn)return sn(o);d.state===pn?(d.state=mn,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+cun)throw new Error("too late; already scheduled");return i}function bn(t,e){var i=Ln(t,e);if(i.state>fn)throw new Error("too late; already running");return i}function Ln(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function xn(t,e){var i,n,r,o=t.__transition,a=!0;if(o){for(r in e=null==e?null:e+"",o)(i=o[r]).name===e?(n=i.state>dn&&i.state=0&&(t=t.slice(0,e)),!t||"start"===t})?yn:bn;return function(){var a=o(this,t),s=a.on;s!==n&&(r=(n=s).copy()).on(e,i),a.on=r}}(i,t,e))},attr:function(t,e){var i=q(t),n="transform"===i?Ci:_n;return this.attrTween(t,"function"==typeof e?(i.local?function(t,e,i){var n,r,o;return function(){var a,s,l=i(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:a===n&&s===r?o:(r=s,o=e(n=a,l));this.removeAttributeNS(t.space,t.local)}}:function(t,e,i){var n,r,o;return function(){var a,s,l=i(this);if(null!=l)return(a=this.getAttribute(t))===(s=l+"")?null:a===n&&s===r?o:(r=s,o=e(n=a,l));this.removeAttribute(t)}})(i,n,wn(this,"attr."+t,e)):null==e?(i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(i):(i.local?function(t,e,i){var n,r,o=i+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===n?r:r=e(n=a,i)}}:function(t,e,i){var n,r,o=i+"";return function(){var a=this.getAttribute(t);return a===o?null:a===n?r:r=e(n=a,i)}})(i,n,e))},attrTween:function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var n=q(t);return this.tween(i,(n.local?function(t,e){var i,n;function r(){var r=e.apply(this,arguments);return r!==n&&(i=(n=r)&&function(t,e){return function(i){this.setAttributeNS(t.space,t.local,e(i))}}(t,r)),i}return r._value=e,r}:function(t,e){var i,n;function r(){var r=e.apply(this,arguments);return r!==n&&(i=(n=r)&&function(t,e){return function(i){this.setAttribute(t,e(i))}}(t,r)),i}return r._value=e,r})(n,e))},style:function(t,e,i){var n="transform"==(t+="")?Si:_n;return null==e?this.styleTween(t,function(t,e){var i,n,r;return function(){var o=lt(this,t),a=(this.style.removeProperty(t),lt(this,t));return o===a?null:o===i&&a===n?r:r=e(i=o,n=a)}}(t,n)).on("end.style."+t,Cn(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var n,r,o;return function(){var a=lt(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=lt(this,t)),a===l?null:a===n&&l===r?o:(r=l,o=e(n=a,s))}}(t,n,wn(this,"style."+t,e))).each(function(t,e){var i,n,r,o,a="style."+e,s="end."+a;return function(){var l=bn(this,t),c=l.on,u=null==l.value[a]?o||(o=Cn(e)):void 0;c===i&&r===u||(n=(i=c).copy()).on(s,r=u),l.on=n}}(this._id,t)):this.styleTween(t,function(t,e,i){var n,r,o=i+"";return function(){var a=lt(this,t);return a===o?null:a===n?r:r=e(n=a,i)}}(t,n,e),i).on("end.style."+t,null)},styleTween:function(t,e,i){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;return this.tween(n,function(t,e,i){var n,r;function o(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&function(t,e,i){return function(n){this.style.setProperty(t,e(n),i)}}(t,o,i)),n}return o._value=e,o}(t,e,null==i?"":i))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(wn(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var n,r=Ln(this.node(),i).tween,o=0,a=r.length;o0&&(n=o-p),_<0?d=f-g:_>0&&(a=s-g),x=fr,R.attr("cursor",br.selection),z());break;default:return}hr()},!0).on("keyup.brush",function(){switch(t.event.keyCode){case 16:D&&(v=y=D=!1,z());break;case 18:x===gr&&(w<0?u=h:w>0&&(n=o),_<0?d=f:_>0&&(a=s),x=pr,z());break;case 32:x===fr&&(t.event.altKey?(w&&(u=h-p*w,n=o+p*w),_&&(d=f-g*_,a=s+g*_),x=gr):(w<0?u=h:w>0&&(n=o),_<0?d=f:_>0&&(a=s),x=pr),R.attr("cursor",br[L]),z());break;default:return}hr()},!0).on("mousemove.brush",B,!0).on("mouseup.brush",H,!0);jt(t.event.view)}ur(),xn(b),l.call(b),I.start()}function B(){var t=Bt(b);!D||v||y||(Math.abs(t[0]-O[0])>Math.abs(t[1]-O[1])?y=!0:v=!0),O=t,m=!0,hr(),z()}function z(){var t;switch(p=O[0]-P[0],g=O[1]-P[1],x){case fr:case dr:w&&(p=Math.max(T-n,Math.min(A-u,p)),o=n+p,h=u+p),_&&(g=Math.max(E-a,Math.min(M-d,g)),s=a+g,f=d+g);break;case pr:w<0?(p=Math.max(T-n,Math.min(A-n,p)),o=n+p,h=u):w>0&&(p=Math.max(T-u,Math.min(A-u,p)),o=n,h=u+p),_<0?(g=Math.max(E-a,Math.min(M-a,g)),s=a+g,f=d):_>0&&(g=Math.max(E-d,Math.min(M-d,g)),s=a,f=d+g);break;case gr:w&&(o=Math.max(T,Math.min(A,n-p*w)),h=Math.max(T,Math.min(A,u+p*w))),_&&(s=Math.max(E,Math.min(M,a-g*_)),f=Math.max(E,Math.min(M,d+g*_)))}h1e-6)if(Math.abs(u*s-l*c)>1e-6&&r){var d=i-o,f=n-a,p=s*s+l*l,g=d*d+f*f,m=Math.sqrt(p),v=Math.sqrt(h),y=r*Math.tan((Br-Math.acos((p+h-g)/(2*m*v)))/2),b=y/v,L=y/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(e+b*u)),this._+="A"+r+","+r+",0,0,"+ +(u*d>c*f)+","+(this._x1=t+L*s)+","+(this._y1=e+L*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,i,n,r,o){t=+t,e=+e;var a=(i=+i)*Math.cos(n),s=i*Math.sin(n),l=t+a,c=e+s,u=1^o,h=o?n-r:r-n;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),i&&(h<0&&(h=h%zr+zr),h>Hr?this._+="A"+i+","+i+",0,1,"+u+","+(t-a)+","+(e-s)+"A"+i+","+i+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>1e-6&&(this._+="A"+i+","+i+",0,"+ +(h>=Br)+","+u+","+(this._x1=t+i*Math.cos(r))+","+(this._y1=e+i*Math.sin(r))))},rect:function(t,e,i,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +n+"h"+-i+"Z"},toString:function(){return this._}},qr.prototype=$r.prototype={constructor:qr,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var eo=$r.prototype;function io(t,e){var i=new to;if(t instanceof to)t.each(function(t){i.add(t)});else if(t){var n=-1,r=t.length;if(null==e)for(;++nn!=f>n&&i<(d-c)*(n-u)/(f-u)+c&&(r=-r)}return r}function lo(t,e,i){var n,r,o,a;return function(t,e,i){return(e[0]-t[0])*(i[1]-t[1])==(i[0]-t[0])*(e[1]-t[1])}(t,e,i)&&(r=t[n=+(t[0]===e[0])],o=i[n],a=e[n],r<=o&&o<=a||a<=o&&o<=r)}function co(){}var uo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function ho(){var t=1,e=1,i=_,n=s;function r(t){var e=i(t);if(Array.isArray(e))e=e.slice().sort(ro);else{var n=u(t),r=n[0],a=n[1];e=w(r,a,e),e=m(Math.floor(r/e)*e,Math.floor(a/e)*e,e)}return e.map(function(e){return o(t,e)})}function o(i,r){var o=[],s=[];return function(i,n,r){var o,s,l,c,u,h,d=new Array,f=new Array;for(o=s=-1,c=i[0]>=n,uo[c<<1].forEach(p);++o=n,uo[l|c<<1].forEach(p);for(uo[c<<0].forEach(p);++s=n,u=i[s*t]>=n,uo[c<<1|u<<2].forEach(p);++o=n,h=u,u=i[s*t+o+1]>=n,uo[l|c<<1|u<<2|h<<3].forEach(p);uo[c|u<<3].forEach(p)}for(o=-1,u=i[s*t]>=n,uo[u<<2].forEach(p);++o=n,uo[u<<2|h<<3].forEach(p);function p(t){var e,i,n=[t[0][0]+o,t[0][1]+s],l=[t[1][0]+o,t[1][1]+s],c=a(n),u=a(l);(e=f[c])?(i=d[u])?(delete f[e.end],delete d[i.start],e===i?(e.ring.push(l),r(e.ring)):d[e.start]=f[i.end]={start:e.start,end:i.end,ring:e.ring.concat(i.ring)}):(delete f[e.end],e.ring.push(l),f[e.end=u]=e):(e=d[u])?(i=f[c])?(delete d[e.start],delete f[i.end],e===i?(e.ring.push(l),r(e.ring)):d[i.start]=f[e.end]={start:i.start,end:e.end,ring:i.ring.concat(e.ring)}):(delete d[e.start],e.ring.unshift(n),d[e.start=c]=e):d[c]=f[u]={start:c,end:u,ring:[n,l]}}uo[u<<3].forEach(p)}(i,r,function(t){n(t,i,r),function(t){for(var e=0,i=t.length,n=t[i-1][1]*t[0][0]-t[i-1][0]*t[0][1];++e0?o.push([t]):s.push(t)}),s.forEach(function(t){for(var e,i=0,n=o.length;i0&&a0&&s0&&o>0))throw new Error("invalid size");return t=n,e=o,r},r.thresholds=function(t){return arguments.length?(i="function"==typeof t?t:Array.isArray(t)?oo(no.call(t)):oo(t),r):i},r.smooth=function(t){return arguments.length?(n=t?s:co,r):n===s},r}function fo(t,e,i){for(var n=t.width,r=t.height,o=1+(i<<1),a=0;a=i&&(s>=o&&(l-=t.data[s-o+a*n]),e.data[s-i+a*n]=l/Math.min(s+1,n-1+o-s,o))}function po(t,e,i){for(var n=t.width,r=t.height,o=1+(i<<1),a=0;a=i&&(s>=o&&(l-=t.data[a+(s-o)*n]),e.data[a+(s-i)*n]=l/Math.min(s+1,r-1+o-s,o))}function go(t){return t[0]}function mo(t){return t[1]}function vo(){return 1}var yo={},bo={},Lo=34,xo=10,wo=13;function _o(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function So(t){var e=Object.create(null),i=[];return t.forEach(function(t){for(var n in t)n in e||i.push(e[n]=n)}),i}function Co(t,e){var i=t+"",n=i.length;return n=o?l=!0:(n=t.charCodeAt(a++))===xo?c=!0:n===wo&&(c=!0,t.charCodeAt(a)===xo&&++a),t.slice(r+1,e-1).replace(/""/g,'"')}for(;a9999?"+"+Co(e,6):Co(e,4))+"-"+Co(t.getUTCMonth()+1,2)+"-"+Co(t.getUTCDate(),2)+(o?"T"+Co(i,2)+":"+Co(n,2)+":"+Co(r,2)+"."+Co(o,3)+"Z":r?"T"+Co(i,2)+":"+Co(n,2)+":"+Co(r,2)+"Z":n||i?"T"+Co(i,2)+":"+Co(n,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var i,r,o=n(t,function(t,n){if(i)return i(t,n-1);r=t,i=e?function(t,e){var i=_o(t);return function(n,r){return e(i(n),r,t)}}(t,e):_o(t)});return o.columns=r||[],o},parseRows:n,format:function(e,i){return null==i&&(i=So(e)),[i.map(a).join(t)].concat(r(e,i)).join("\n")},formatBody:function(t,e){return null==e&&(e=So(t)),r(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")}}}var To=ko(","),Eo=To.parse,Ao=To.parseRows,Mo=To.format,Do=To.formatBody,Po=To.formatRows,Oo=ko("\t"),Io=Oo.parse,No=Oo.parseRows,Ro=Oo.format,Fo=Oo.formatBody,Bo=Oo.formatRows;function zo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function Ho(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function Vo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function jo(t,e){return fetch(t,e).then(Vo)}function Wo(t){return function(e,i,n){return 2===arguments.length&&"function"==typeof i&&(n=i,i=void 0),jo(e,i).then(function(e){return t(e,n)})}}var Uo=Wo(Eo),Yo=Wo(Io);function Go(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}function Xo(t){return function(e,i){return jo(e,i).then(function(e){return(new DOMParser).parseFromString(e,t)})}}var qo=Xo("application/xml"),$o=Xo("text/html"),Zo=Xo("image/svg+xml");function Ko(t){return function(){return t}}function Qo(){return 1e-6*(Math.random()-.5)}function Jo(t,e,i,n){if(isNaN(e)||isNaN(i))return t;var r,o,a,s,l,c,u,h,d,f=t._root,p={data:n},g=t._x0,m=t._y0,v=t._x1,y=t._y1;if(!f)return t._root=p,t;for(;f.length;)if((c=e>=(o=(g+v)/2))?g=o:v=o,(u=i>=(a=(m+y)/2))?m=a:y=a,r=f,!(f=f[h=u<<1|c]))return r[h]=p,t;if(s=+t._x.call(null,f.data),l=+t._y.call(null,f.data),e===s&&i===l)return p.next=f,r?r[h]=p:t._root=p,t;do{r=r?r[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(u=i>=(a=(m+y)/2))?m=a:y=a}while((h=u<<1|c)==(d=(l>=a)<<1|s>=o));return r[d]=f,r[h]=p,t}function ta(t,e,i,n,r){this.node=t,this.x0=e,this.y0=i,this.x1=n,this.y1=r}function ea(t){return t[0]}function ia(t){return t[1]}function na(t,e,i){var n=new ra(null==e?ea:e,null==i?ia:i,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function ra(t,e,i,n,r,o){this._x=t,this._y=e,this._x0=i,this._y0=n,this._x1=r,this._y1=o,this._root=void 0}function oa(t){for(var e={data:t.data},i=e;t=t.next;)i=i.next={data:t.data};return e}var aa=na.prototype=ra.prototype;function sa(t){return t.x+t.vx}function la(t){return t.y+t.vy}function ca(t){return t.index}function ua(t,e){var i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ha(t){return t.x}function da(t){return t.y}aa.copy=function(){var t,e,i=new ra(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return i;if(!n.length)return i._root=oa(n),i;for(t=[{source:n,target:i._root=new Array(4)}];n=t.pop();)for(var r=0;r<4;++r)(e=n.source[r])&&(e.length?t.push({source:e,target:n.target[r]=new Array(4)}):n.target[r]=oa(e));return i},aa.add=function(t){var e=+this._x.call(null,t),i=+this._y.call(null,t);return Jo(this.cover(e,i),e,i,t)},aa.addAll=function(t){var e,i,n,r,o=t.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,u=-1/0,h=-1/0;for(i=0;iu&&(u=n),rh&&(h=r));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),i=0;it||t>=r||n>e||e>=o;)switch(s=(ed||(o=l.y0)>f||(a=l.x1)=v)<<1|t>=m)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var y=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),L=y*y+b*b;if(L=(s=(p+m)/2))?p=s:m=s,(u=a>=(l=(g+v)/2))?g=l:v=l,e=f,!(f=f[h=u<<1|c]))return this;if(!f.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(i=e,d=h)}for(;f.data!==t;)if(n=f,!(f=f.next))return this;return(r=f.next)&&delete f.next,n?(r?n.next=r:delete n.next,this):e?(r?e[h]=r:delete e[h],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(i?i[d]=f:this._root=f),this):(this._root=r,this)},aa.removeAll=function(t){for(var e=0,i=t.length;e1?n[0]+n.slice(2):n,+t.slice(i+1)]}function ma(t){return(t=ga(Math.abs(t)))?t[1]:NaN}var va,ya=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ba(t){return new La(t)}function La(t){if(!(e=ya.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}function xa(t,e){var i=ga(t,e);if(!i)return t+"";var n=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+n:n.length>r+1?n.slice(0,r+1)+"."+n.slice(r+1):n+new Array(r-n.length+2).join("0")}ba.prototype=La.prototype,La.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var wa={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return xa(100*t,e)},r:xa,s:function(t,e){var i=ga(t,e);if(!i)return t+"";var n=i[0],r=i[1],o=r-(va=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+ga(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function _a(t){return t}var Sa,Ca=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ka(t){var e,i,n=t.grouping&&t.thousands?(e=t.grouping,i=t.thousands,function(t,n){for(var r=t.length,o=[],a=0,s=e[0],l=0;r>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(t.substring(r-=s,r+s)),!((l+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(i)}):_a,r=t.currency,o=t.decimal,a=t.numerals?function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(t.numerals):_a,s=t.percent||"%";function l(t){var e=(t=ba(t)).fill,i=t.align,l=t.sign,c=t.symbol,u=t.zero,h=t.width,d=t.comma,f=t.precision,p=t.trim,g=t.type;"n"===g?(d=!0,g="g"):wa[g]||(null==f&&(f=12),p=!0,g="g"),(u||"0"===e&&"="===i)&&(u=!0,e="0",i="=");var m="$"===c?r[0]:"#"===c&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",v="$"===c?r[1]:/[%p]/.test(g)?s:"",y=wa[g],b=/[defgprs%]/.test(g);function L(t){var r,s,c,L=m,x=v;if("c"===g)x=y(t)+x,t="";else{var w=(t=+t)<0;if(t=y(Math.abs(t),f),p&&(t=function(t){t:for(var e,i=t.length,n=1,r=-1;n0){if(!+t[n])break t;r=0}}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),w&&0==+t&&(w=!1),L=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+L,x=("s"===g?Ca[8+va/3]:"")+x+(w&&"("===l?")":""),b)for(r=-1,s=t.length;++r(c=t.charCodeAt(r))||c>57){x=(46===c?o+t.slice(r+1):t.slice(r))+x,t=t.slice(0,r);break}}d&&!u&&(t=n(t,1/0));var _=L.length+t.length+x.length,S=_>1)+L+t+x+S.slice(_);break;default:t=S+L+t+x}return a(t)}return f=null==f?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),L.toString=function(){return t+""},L}return{format:l,formatPrefix:function(t,e){var i=l(((t=ba(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(ma(e)/3))),r=Math.pow(10,-n),o=Ca[8+n/3];return function(t){return i(r*t)+o}}}}function Ta(e){return Sa=ka(e),t.format=Sa.format,t.formatPrefix=Sa.formatPrefix,Sa}function Ea(t){return Math.max(0,-ma(Math.abs(t)))}function Aa(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ma(e)/3)))-ma(Math.abs(t)))}function Ma(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ma(e)-ma(t))+1}function Da(){return new Pa}function Pa(){this.reset()}Ta({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),Pa.prototype={constructor:Pa,reset:function(){this.s=this.t=0},add:function(t){Ia(Oa,t,this.t),Ia(this,Oa.s,this.s),this.s?this.t+=Oa.t:this.s=Oa.t},valueOf:function(){return this.s}};var Oa=new Pa;function Ia(t,e,i){var n=t.s=e+i,r=n-e,o=n-r;t.t=e-o+(i-r)}var Na=1e-6,Ra=Math.PI,Fa=Ra/2,Ba=Ra/4,za=2*Ra,Ha=180/Ra,Va=Ra/180,ja=Math.abs,Wa=Math.atan,Ua=Math.atan2,Ya=Math.cos,Ga=Math.ceil,Xa=Math.exp,qa=Math.log,$a=Math.pow,Za=Math.sin,Ka=Math.sign||function(t){return t>0?1:t<0?-1:0},Qa=Math.sqrt,Ja=Math.tan;function ts(t){return t>1?0:t<-1?Ra:Math.acos(t)}function es(t){return t>1?Fa:t<-1?-Fa:Math.asin(t)}function is(t){return(t=Za(t/2))*t}function ns(){}function rs(t,e){t&&as.hasOwnProperty(t.type)&&as[t.type](t,e)}var os={Feature:function(t,e){rs(t.geometry,e)},FeatureCollection:function(t,e){for(var i=t.features,n=-1,r=i.length;++n=0?1:-1,r=n*i,o=Ya(e=(e*=Va)/2+Ba),a=Za(e),s=ps*a,l=fs*o+s*Ya(r),c=s*n*Za(r);gs.add(Ua(c,l)),ds=t,fs=o,ps=a}function ws(t){return[Ua(t[1],t[0]),es(t[2])]}function _s(t){var e=t[0],i=t[1],n=Ya(i);return[n*Ya(e),n*Za(e),Za(i)]}function Ss(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Cs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ks(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ts(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Es(t){var e=Qa(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var As,Ms,Ds,Ps,Os,Is,Ns,Rs,Fs,Bs,zs,Hs,Vs,js,Ws,Us,Ys,Gs,Xs,qs,$s,Zs,Ks,Qs,Js,tl,el=Da(),il={point:nl,lineStart:ol,lineEnd:al,polygonStart:function(){il.point=sl,il.lineStart=ll,il.lineEnd=cl,el.reset(),vs.polygonStart()},polygonEnd:function(){vs.polygonEnd(),il.point=nl,il.lineStart=ol,il.lineEnd=al,gs<0?(As=-(Ds=180),Ms=-(Ps=90)):el>Na?Ps=90:el<-Na&&(Ms=-90),Bs[0]=As,Bs[1]=Ds}};function nl(t,e){Fs.push(Bs=[As=t,Ds=t]),ePs&&(Ps=e)}function rl(t,e){var i=_s([t*Va,e*Va]);if(Rs){var n=Cs(Rs,i),r=Cs([n[1],-n[0],0],n);Es(r),r=ws(r);var o,a=t-Os,s=a>0?1:-1,l=r[0]*Ha*s,c=ja(a)>180;c^(s*OsPs&&(Ps=o):c^(s*Os<(l=(l+360)%360-180)&&lPs&&(Ps=e)),c?tul(As,Ds)&&(Ds=t):ul(t,Ds)>ul(As,Ds)&&(As=t):Ds>=As?(tDs&&(Ds=t)):t>Os?ul(As,t)>ul(As,Ds)&&(Ds=t):ul(t,Ds)>ul(As,Ds)&&(As=t)}else Fs.push(Bs=[As=t,Ds=t]);ePs&&(Ps=e),Rs=i,Os=t}function ol(){il.point=rl}function al(){Bs[0]=As,Bs[1]=Ds,il.point=nl,Rs=null}function sl(t,e){if(Rs){var i=t-Os;el.add(ja(i)>180?i+(i>0?360:-360):i)}else Is=t,Ns=e;vs.point(t,e),rl(t,e)}function ll(){vs.lineStart()}function cl(){sl(Is,Ns),vs.lineEnd(),ja(el)>Na&&(As=-(Ds=180)),Bs[0]=As,Bs[1]=Ds,Rs=null}function ul(t,e){return(e-=t)<0?e+360:e}function hl(t,e){return t[0]-e[0]}function dl(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eRa?t+Math.round(-t/za)*za:t,e]}function Tl(t,e,i){return(t%=za)?e||i?Cl(Al(t),Ml(e,i)):Al(t):e||i?Ml(e,i):kl}function El(t){return function(e,i){return[(e+=t)>Ra?e-za:e<-Ra?e+za:e,i]}}function Al(t){var e=El(t);return e.invert=El(-t),e}function Ml(t,e){var i=Ya(t),n=Za(t),r=Ya(e),o=Za(e);function a(t,e){var a=Ya(e),s=Ya(t)*a,l=Za(t)*a,c=Za(e),u=c*i+s*n;return[Ua(l*r-u*o,s*i-c*n),es(u*r+l*o)]}return a.invert=function(t,e){var a=Ya(e),s=Ya(t)*a,l=Za(t)*a,c=Za(e),u=c*r-l*o;return[Ua(l*r+c*o,s*i+u*n),es(u*i-s*n)]},a}function Dl(t){function e(e){return(e=t(e[0]*Va,e[1]*Va))[0]*=Ha,e[1]*=Ha,e}return t=Tl(t[0]*Va,t[1]*Va,t.length>2?t[2]*Va:0),e.invert=function(e){return(e=t.invert(e[0]*Va,e[1]*Va))[0]*=Ha,e[1]*=Ha,e},e}function Pl(t,e,i,n,r,o){if(i){var a=Ya(e),s=Za(e),l=n*i;null==r?(r=e+n*za,o=e-l/2):(r=Ol(a,r),o=Ol(a,o),(n>0?ro)&&(r+=n*za));for(var c,u=r;n>0?u>o:u1&&e.push(e.pop().concat(e.shift()))},result:function(){var i=e;return e=[],t=null,i}}}function Nl(t,e){return ja(t[0]-e[0])=0;--o)r.point((u=c[o])[0],u[1]);else n(d.x,d.p.x,-1,r);d=d.p}c=(d=d.o).z,f=!f}while(!d.v);r.lineEnd()}}}function Bl(t){if(e=t.length){for(var e,i,n=0,r=t[0];++n=0?1:-1,C=S*_,k=C>Ra,T=g*x;if(zl.add(Ua(T*S*Za(C),m*w+T*Ya(C))),a+=k?_+S*za:_,k^f>=i^b>=i){var E=Cs(_s(d),_s(y));Es(E);var A=Cs(o,E);Es(A);var M=(k^_>=0?-1:1)*es(A[2]);(n>M||n===M&&(E[0]||E[1]))&&(s+=k^_>=0?1:-1)}}return(a<-Na||a0){for(h||(r.polygonStart(),h=!0),r.lineStart(),t=0;t1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(jl))}return d}}function jl(t){return t.length>1}function Wl(t,e){return((t=t.x)[0]<0?t[1]-Fa-Na:Fa-t[1])-((e=e.x)[0]<0?e[1]-Fa-Na:Fa-e[1])}var Ul=Vl(function(){return!0},function(t){var e,i=NaN,n=NaN,r=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Ra:-Ra,l=ja(o-i);ja(l-Ra)0?Fa:-Fa),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),e=0):r!==s&&l>=Ra&&(ja(i-r)Na?Wa((Za(e)*(o=Ya(n))*Za(i)-Za(n)*(r=Ya(e))*Za(t))/(r*o*a)):(e+n)/2}(i,n,o,a),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),e=0),t.point(i=o,n=a),r=s},lineEnd:function(){t.lineEnd(),i=n=NaN},clean:function(){return 2-e}}},function(t,e,i,n){var r;if(null==t)r=i*Fa,n.point(-Ra,r),n.point(0,r),n.point(Ra,r),n.point(Ra,0),n.point(Ra,-r),n.point(0,-r),n.point(-Ra,-r),n.point(-Ra,0),n.point(-Ra,r);else if(ja(t[0]-e[0])>Na){var o=t[0]0,r=ja(e)>Na;function o(t,i){return Ya(t)*Ya(i)>e}function a(t,i,n){var r=[1,0,0],o=Cs(_s(t),_s(i)),a=Ss(o,o),s=o[0],l=a-s*s;if(!l)return!n&&t;var c=e*a/l,u=-e*s/l,h=Cs(r,o),d=Ts(r,c);ks(d,Ts(o,u));var f=h,p=Ss(d,f),g=Ss(f,f),m=p*p-g*(Ss(d,d)-1);if(!(m<0)){var v=Qa(m),y=Ts(f,(-p-v)/g);if(ks(y,d),y=ws(y),!n)return y;var b,L=t[0],x=i[0],w=t[1],_=i[1];x0^y[1]<(ja(y[0]-L)Ra^(L<=y[0]&&y[0]<=x)){var k=Ts(f,(-p+v)/g);return ks(k,d),[y,ws(k)]}}}function s(e,i){var r=n?t:Ra-t,o=0;return e<-r?o|=1:e>r&&(o|=2),i<-r?o|=4:i>r&&(o|=8),o}return Vl(o,function(t){var e,i,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,d){var f,p=[h,d],g=o(h,d),m=n?g?0:s(h,d):g?s(h+(h<0?Ra:-Ra),d):0;if(!e&&(c=l=g)&&t.lineStart(),g!==l&&(!(f=a(e,p))||Nl(e,f)||Nl(p,f))&&(p[0]+=Na,p[1]+=Na,g=o(p[0],p[1])),g!==l)u=0,g?(t.lineStart(),f=a(p,e),t.point(f[0],f[1])):(f=a(e,p),t.point(f[0],f[1]),t.lineEnd()),e=f;else if(r&&e&&n^g){var v;m&i||!(v=a(p,e,!0))||(u=0,n?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||e&&Nl(e,p)||t.point(p[0],p[1]),e=p,l=g,i=m},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return u|(c&&l)<<1}}},function(e,n,r,o){Pl(o,t,i,r,e,n)},n?[0,-t]:[-Ra,t-Ra])}var Gl=1e9,Xl=-Gl;function ql(t,e,i,n){function r(r,o){return t<=r&&r<=i&&e<=o&&o<=n}function o(r,o,s,c){var u=0,h=0;if(null==r||(u=a(r,s))!==(h=a(o,s))||l(r,o)<0^s>0)do{c.point(0===u||3===u?t:i,u>1?n:e)}while((u=(u+s+4)%4)!==h);else c.point(o[0],o[1])}function a(n,r){return ja(n[0]-t)0?0:3:ja(n[0]-i)0?2:1:ja(n[1]-e)0?1:0:r>0?3:2}function s(t,e){return l(t.x,e.x)}function l(t,e){var i=a(t,1),n=a(e,1);return i!==n?i-n:0===i?e[1]-t[1]:1===i?t[0]-e[0]:2===i?t[1]-e[1]:e[0]-t[0]}return function(a){var l,c,u,h,d,f,p,g,m,v,y,b=a,L=Il(),x={point:w,lineStart:function(){x.point=_,c&&c.push(u=[]),v=!0,m=!1,p=g=NaN},lineEnd:function(){l&&(_(h,d),f&&m&&L.rejoin(),l.push(L.result())),x.point=w,m&&b.lineEnd()},polygonStart:function(){b=L,l=[],c=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,i=0,r=c.length;in&&(d-o)*(n-a)>(f-a)*(t-o)&&++e:f<=n&&(d-o)*(n-a)<(f-a)*(t-o)&&--e;return e}(),i=y&&e,r=(l=k(l)).length;(i||r)&&(a.polygonStart(),i&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),r&&Fl(l,s,e,o,a),a.polygonEnd()),b=a,l=c=u=null}};function w(t,e){r(t,e)&&b.point(t,e)}function _(o,a){var s=r(o,a);if(c&&u.push([o,a]),v)h=o,d=a,f=s,v=!1,s&&(b.lineStart(),b.point(o,a));else if(s&&m)b.point(o,a);else{var l=[p=Math.max(Xl,Math.min(Gl,p)),g=Math.max(Xl,Math.min(Gl,g))],L=[o=Math.max(Xl,Math.min(Gl,o)),a=Math.max(Xl,Math.min(Gl,a))];!function(t,e,i,n,r,o){var a,s=t[0],l=t[1],c=0,u=1,h=e[0]-s,d=e[1]-l;if(a=i-s,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>u)return;a>c&&(c=a)}if(a=r-s,h||!(a<0)){if(a/=h,h<0){if(a>u)return;a>c&&(c=a)}else if(h>0){if(a0)){if(a/=d,d<0){if(a0){if(a>u)return;a>c&&(c=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>u)return;a>c&&(c=a)}else if(d>0){if(a0&&(t[0]=s+c*h,t[1]=l+c*d),u<1&&(e[0]=s+u*h,e[1]=l+u*d),!0}}}}}(l,L,t,e,i,n)?s&&(b.lineStart(),b.point(o,a),y=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(L[0],L[1]),s||b.lineEnd(),y=!1)}p=o,g=a,m=s}return x}}var $l,Zl,Kl,Ql=Da(),Jl={sphere:ns,point:ns,lineStart:function(){Jl.point=ec,Jl.lineEnd=tc},lineEnd:ns,polygonStart:ns,polygonEnd:ns};function tc(){Jl.point=Jl.lineEnd=ns}function ec(t,e){$l=t*=Va,Zl=Za(e*=Va),Kl=Ya(e),Jl.point=ic}function ic(t,e){t*=Va;var i=Za(e*=Va),n=Ya(e),r=ja(t-$l),o=Ya(r),a=n*Za(r),s=Kl*i-Zl*n*o,l=Zl*i+Kl*n*o;Ql.add(Ua(Qa(a*a+s*s),l)),$l=t,Zl=i,Kl=n}function nc(t){return Ql.reset(),cs(t,Jl),+Ql}var rc=[null,null],oc={type:"LineString",coordinates:rc};function ac(t,e){return rc[0]=t,rc[1]=e,nc(oc)}var sc={Feature:function(t,e){return cc(t.geometry,e)},FeatureCollection:function(t,e){for(var i=t.features,n=-1,r=i.length;++nNa}).map(l)).concat(m(Ga(o/f)*f,r,f).filter(function(t){return ja(t%g)>Na}).map(c))}return y.lines=function(){return b().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[u(n).concat(h(a).slice(1),u(i).reverse().slice(1),h(s).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(n=+t[0][0],i=+t[1][0],s=+t[0][1],a=+t[1][1],n>i&&(t=n,n=i,i=t),s>a&&(t=s,s=a,a=t),y.precision(v)):[[n,s],[i,a]]},y.extentMinor=function(i){return arguments.length?(e=+i[0][0],t=+i[1][0],o=+i[0][1],r=+i[1][1],e>t&&(i=e,e=t,t=i),o>r&&(i=o,o=r,r=i),y.precision(v)):[[e,o],[t,r]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(d=+t[0],f=+t[1],y):[d,f]},y.precision=function(d){return arguments.length?(v=+d,l=gc(o,r,90),c=mc(e,t,v),u=gc(s,a,90),h=mc(n,i,v),y):v},y.extentMajor([[-180,-90+Na],[180,90-Na]]).extentMinor([[-180,-80-Na],[180,80+Na]])}function yc(t){return t}var bc,Lc,xc,wc,_c=Da(),Sc=Da(),Cc={point:ns,lineStart:ns,lineEnd:ns,polygonStart:function(){Cc.lineStart=kc,Cc.lineEnd=Ac},polygonEnd:function(){Cc.lineStart=Cc.lineEnd=Cc.point=ns,_c.add(ja(Sc)),Sc.reset()},result:function(){var t=_c/2;return _c.reset(),t}};function kc(){Cc.point=Tc}function Tc(t,e){Cc.point=Ec,bc=xc=t,Lc=wc=e}function Ec(t,e){Sc.add(wc*t-xc*e),xc=t,wc=e}function Ac(){Ec(bc,Lc)}var Mc,Dc,Pc,Oc,Ic=1/0,Nc=Ic,Rc=-Ic,Fc=Rc,Bc={point:function(t,e){tRc&&(Rc=t),eFc&&(Fc=e)},lineStart:ns,lineEnd:ns,polygonStart:ns,polygonEnd:ns,result:function(){var t=[[Ic,Nc],[Rc,Fc]];return Rc=Fc=-(Nc=Ic=1/0),t}},zc=0,Hc=0,Vc=0,jc=0,Wc=0,Uc=0,Yc=0,Gc=0,Xc=0,qc={point:$c,lineStart:Zc,lineEnd:Jc,polygonStart:function(){qc.lineStart=tu,qc.lineEnd=eu},polygonEnd:function(){qc.point=$c,qc.lineStart=Zc,qc.lineEnd=Jc},result:function(){var t=Xc?[Yc/Xc,Gc/Xc]:Uc?[jc/Uc,Wc/Uc]:Vc?[zc/Vc,Hc/Vc]:[NaN,NaN];return zc=Hc=Vc=jc=Wc=Uc=Yc=Gc=Xc=0,t}};function $c(t,e){zc+=t,Hc+=e,++Vc}function Zc(){qc.point=Kc}function Kc(t,e){qc.point=Qc,$c(Pc=t,Oc=e)}function Qc(t,e){var i=t-Pc,n=e-Oc,r=Qa(i*i+n*n);jc+=r*(Pc+t)/2,Wc+=r*(Oc+e)/2,Uc+=r,$c(Pc=t,Oc=e)}function Jc(){qc.point=$c}function tu(){qc.point=iu}function eu(){nu(Mc,Dc)}function iu(t,e){qc.point=nu,$c(Mc=Pc=t,Dc=Oc=e)}function nu(t,e){var i=t-Pc,n=e-Oc,r=Qa(i*i+n*n);jc+=r*(Pc+t)/2,Wc+=r*(Oc+e)/2,Uc+=r,Yc+=(r=Oc*t-Pc*e)*(Pc+t),Gc+=r*(Oc+e),Xc+=3*r,$c(Pc=t,Oc=e)}function ru(t){this._context=t}ru.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,za)}},result:ns};var ou,au,su,lu,cu,uu=Da(),hu={point:ns,lineStart:function(){hu.point=du},lineEnd:function(){ou&&fu(au,su),hu.point=ns},polygonStart:function(){ou=!0},polygonEnd:function(){ou=null},result:function(){var t=+uu;return uu.reset(),t}};function du(t,e){hu.point=fu,au=lu=t,su=cu=e}function fu(t,e){lu-=t,cu-=e,uu.add(Qa(lu*lu+cu*cu)),lu=t,cu=e}function pu(){this._string=[]}function gu(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function mu(t){return function(e){var i=new vu;for(var n in t)i[n]=t[n];return i.stream=e,i}}function vu(){}function yu(t,e,i){var n=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=n&&t.clipExtent(null),cs(i,t.stream(Bc)),e(Bc.result()),null!=n&&t.clipExtent(n),t}function bu(t,e,i){return yu(t,function(i){var n=e[1][0]-e[0][0],r=e[1][1]-e[0][1],o=Math.min(n/(i[1][0]-i[0][0]),r/(i[1][1]-i[0][1])),a=+e[0][0]+(n-o*(i[1][0]+i[0][0]))/2,s=+e[0][1]+(r-o*(i[1][1]+i[0][1]))/2;t.scale(150*o).translate([a,s])},i)}function Lu(t,e,i){return bu(t,[[0,0],e],i)}function xu(t,e,i){return yu(t,function(i){var n=+e,r=n/(i[1][0]-i[0][0]),o=(n-r*(i[1][0]+i[0][0]))/2,a=-r*i[0][1];t.scale(150*r).translate([o,a])},i)}function wu(t,e,i){return yu(t,function(i){var n=+e,r=n/(i[1][1]-i[0][1]),o=-r*i[0][0],a=(n-r*(i[1][1]+i[0][1]))/2;t.scale(150*r).translate([o,a])},i)}pu.prototype={_radius:4.5,_circle:gu(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=gu(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},vu.prototype={constructor:vu,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var _u=16,Su=Ya(30*Va);function Cu(t,e){return+e?function(t,e){function i(n,r,o,a,s,l,c,u,h,d,f,p,g,m){var v=c-n,y=u-r,b=v*v+y*y;if(b>4*e&&g--){var L=a+d,x=s+f,w=l+p,_=Qa(L*L+x*x+w*w),S=es(w/=_),C=ja(ja(w)-1)e||ja((v*A+y*M)/b-.5)>.3||a*d+s*f+l*p2?t[2]%360*Va:0,T()):[m*Ha,v*Ha,y*Ha]},C.angle=function(t){return arguments.length?(b=t%360*Va,T()):b*Ha},C.precision=function(t){return arguments.length?(a=Cu(s,S=t*t),E()):Qa(S)},C.fitExtent=function(t,e){return bu(C,t,e)},C.fitSize=function(t,e){return Lu(C,t,e)},C.fitWidth=function(t,e){return xu(C,t,e)},C.fitHeight=function(t,e){return wu(C,t,e)},function(){return e=t.apply(this,arguments),C.invert=e.invert&&k,T()}}function Mu(t){var e=0,i=Ra/3,n=Au(t),r=n(e,i);return r.parallels=function(t){return arguments.length?n(e=t[0]*Va,i=t[1]*Va):[e*Ha,i*Ha]},r}function Du(t,e){var i=Za(t),n=(i+Za(e))/2;if(ja(n)0?e<-Fa+Na&&(e=-Fa+Na):e>Fa-Na&&(e=Fa-Na);var i=r/$a(Hu(e),n);return[i*Za(n*t),r-i*Ya(n*t)]}return o.invert=function(t,e){var i=r-e,o=Ka(n)*Qa(t*t+i*i);return[Ua(t,ja(i))/n*Ka(i),2*Wa($a(r/o,1/n))-Fa]},o}function ju(t,e){return[t,e]}function Wu(t,e){var i=Ya(t),n=t===e?Za(t):(i-Ya(e))/(e-t),r=i/n+t;if(ja(n)=0;)e+=i[n].value;else e=1;t.value=e}function ah(t,e){var i,n,r,o,a,s=new uh(t),l=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=sh);i=c.pop();)if(l&&(i.value=+i.data.value),(r=e(i.data))&&(a=r.length))for(i.children=new Array(a),o=a-1;o>=0;--o)c.push(n=i.children[o]=new uh(r[o])),n.parent=i,n.depth=i.depth+1;return s.eachBefore(ch)}function sh(t){return t.children}function lh(t){t.data=t.data.data}function ch(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function uh(t){this.data=t,this.depth=this.height=0,this.parent=null}$u.invert=function(t,e){for(var i,n=e,r=n*n,o=r*r*r,a=0;a<12&&(o=(r=(n-=i=(n*(Uu+Yu*r+o*(Gu+Xu*r))-e)/(Uu+3*Yu*r+o*(7*Gu+9*Xu*r)))*n)*r*r,!(ja(i)<1e-12));++a);return[qu*t*(Uu+3*Yu*r+o*(7*Gu+9*Xu*r))/Ya(n),es(Za(n)/qu)]},Zu.invert=Nu(Wa),Qu.invert=function(t,e){var i,n=e,r=25;do{var o=n*n,a=o*o;n-=i=(n*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(ja(i)>Na&&--r>0);return[t/(.8707+(o=n*n)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),n]},Ju.invert=Nu(es),th.invert=Nu(function(t){return 2*Wa(t)}),eh.invert=function(t,e){return[-e,2*Wa(Xa(t))-Fa]},uh.prototype=ah.prototype={constructor:uh,count:function(){return this.eachAfter(oh)},each:function(t){var e,i,n,r,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),i=o.children)for(n=0,r=i.length;n=0;--i)r.push(e[i]);return this},sum:function(t){return this.eachAfter(function(e){for(var i=+t(e.data)||0,n=e.children,r=n&&n.length;--r>=0;)i+=n[r].value;e.value=i})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,i=function(t,e){if(t===e)return t;var i=t.ancestors(),n=e.ancestors(),r=null;for(t=i.pop(),e=n.pop();t===e;)r=t,t=i.pop(),e=n.pop();return r}(e,t),n=[e];e!==i;)e=e.parent,n.push(e);for(var r=n.length;t!==i;)n.splice(r,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(i){i!==t&&e.push({source:i.parent,target:i})}),e},copy:function(){return ah(this).eachBefore(lh)}};var hh=Array.prototype.slice;function dh(t){for(var e,i,n=0,r=(t=function(t){for(var e,i,n=t.length;n;)i=Math.random()*n--|0,e=t[n],t[n]=t[i],t[i]=e;return t}(hh.call(t))).length,o=[];n0&&i*i>n*n+r*r}function mh(t,e){for(var i=0;i(a*=a)?(n=(c+a-r)/(2*c),o=Math.sqrt(Math.max(0,a/c-n*n)),i.x=t.x-n*s-o*l,i.y=t.y-n*l+o*s):(n=(c+r-a)/(2*c),o=Math.sqrt(Math.max(0,r/c-n*n)),i.x=e.x+n*s-o*l,i.y=e.y+n*l+o*s)):(i.x=e.x+i.r,i.y=e.y)}function xh(t,e){var i=t.r+e.r-1e-6,n=e.x-t.x,r=e.y-t.y;return i>0&&i*i>n*n+r*r}function wh(t){var e=t._,i=t.next._,n=e.r+i.r,r=(e.x*i.r+i.x*e.r)/n,o=(e.y*i.r+i.y*e.r)/n;return r*r+o*o}function _h(t){this._=t,this.next=null,this.previous=null}function Sh(t){if(!(r=t.length))return 0;var e,i,n,r,o,a,s,l,c,u,h;if((e=t[0]).x=0,e.y=0,!(r>1))return e.r;if(i=t[1],e.x=-i.r,i.x=e.r,i.y=0,!(r>2))return e.r+i.r;Lh(i,e,n=t[2]),e=new _h(e),i=new _h(i),n=new _h(n),e.next=n.previous=i,i.next=e.previous=n,n.next=i.previous=e;t:for(s=3;sd&&(d=s),m=u*u*g,(f=Math.max(d/m,m/h))>p){u-=s;break}p=f}v.push(a={value:u,dice:l1?e:1)},i}(Gh),$h=function t(e){function i(t,i,n,r,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,c,u,h=-1,d=a.length,f=t.value;++h1?e:1)},i}(Gh);function Zh(t,e){return t[0]-e[0]||t[1]-e[1]}function Kh(t){for(var e,i,n,r=t.length,o=[0,1],a=2,s=2;s1&&(e=t[o[a-2]],i=t[o[a-1]],n=t[s],(i[0]-e[0])*(n[1]-e[1])-(i[1]-e[1])*(n[0]-e[0])<=0);)--a;o[a++]=s}return o.slice(0,a)}function Qh(){return Math.random()}var Jh=function t(e){function i(t,i){return t=null==t?0:+t,i=null==i?1:+i,1===arguments.length?(i=t,t=0):i-=t,function(){return e()*i+t}}return i.source=t,i}(Qh),td=function t(e){function i(t,i){var n,r;return t=null==t?0:+t,i=null==i?1:+i,function(){var o;if(null!=n)o=n,n=null;else do{n=2*e()-1,o=2*e()-1,r=n*n+o*o}while(!r||r>1);return t+i*o*Math.sqrt(-2*Math.log(r)/r)}}return i.source=t,i}(Qh),ed=function t(e){function i(){var t=td.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return i.source=t,i}(Qh),id=function t(e){function i(t){return function(){for(var i=0,n=0;nn&&(e=i,i=n,n=e),function(t){return Math.max(i,Math.min(n,t))}}function yd(t,e,i){var n=t[0],r=t[1],o=e[0],a=e[1];return r2?bd:yd,r=o=null,h}function h(e){return isNaN(e=+e)?i:(r||(r=n(a.map(t),s,l)))(t(c(e)))}return h.invert=function(i){return c(e((o||(o=n(s,a.map(t),ci)))(i)))},h.domain=function(t){return arguments.length?(a=ld.call(t,fd),c===gd||(c=vd(a)),u()):a.slice()},h.range=function(t){return arguments.length?(s=cd.call(t),u()):s.slice()},h.rangeRound=function(t){return s=cd.call(t),l=gi,u()},h.clamp=function(t){return arguments.length?(c=t?vd(a):gd,h):c!==gd},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(i=t,h):i},function(i,n){return t=i,e=n,u()}}function wd(t,e){return xd()(t,e)}function _d(e,i,n,r){var o,a=w(e,i,n);switch((r=ba(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(e),Math.abs(i));return null!=r.precision||isNaN(o=Aa(a,s))||(r.precision=o),t.formatPrefix(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Ma(a,Math.max(Math.abs(e),Math.abs(i))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Ea(a))||(r.precision=o-2*("%"===r.type))}return t.format(r)}function Sd(t){var e=t.domain;return t.ticks=function(t){var i=e();return L(i[0],i[i.length-1],null==t?10:t)},t.tickFormat=function(t,i){var n=e();return _d(n[0],n[n.length-1],null==t?10:t,i)},t.nice=function(i){null==i&&(i=10);var n,r=e(),o=0,a=r.length-1,s=r[o],l=r[a];return l0?n=x(s=Math.floor(s/n)*n,l=Math.ceil(l/n)*n,i):n<0&&(n=x(s=Math.ceil(s*n)/n,l=Math.floor(l*n)/n,i)),n>0?(r[o]=Math.floor(s/n)*n,r[a]=Math.ceil(l/n)*n,e(r)):n<0&&(r[o]=Math.ceil(s*n)/n,r[a]=Math.floor(l*n)/n,e(r)),t},t}function Cd(t,e){var i,n=0,r=(t=t.slice()).length-1,o=t[n],a=t[r];return a0){for(;dl)break;g.push(h)}}else for(;d=1;--u)if(!((h=c*u)l)break;g.push(h)}}else g=L(d,f,Math.min(f-d,p)).map(n);return e?g.reverse():g},r.tickFormat=function(e,o){if(null==o&&(o=10===a?".0e":","),"function"!=typeof o&&(o=t.format(o)),e===1/0)return o;null==e&&(e=10);var s=Math.max(1,a*e/r.ticks().length);return function(t){var e=t/n(Math.round(i(t)));return e*a0))return s;do{s.push(a=new Date(+i)),e(i,o),t(i)}while(a=e)for(;t(e),!i(e);)e.setTime(e-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!i(t););else for(;--n>=0;)for(;e(t,1),!i(t););})},i&&(r.count=function(e,n){return Vd.setTime(+e),jd.setTime(+n),t(Vd),t(jd),Math.floor(i(Vd,jd))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(n?function(e){return n(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var Ud=Wd(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Ud.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Wd(function(e){e.setTime(Math.floor(e/t)*t)},function(e,i){e.setTime(+e+i*t)},function(e,i){return(i-e)/t}):Ud:null};var Yd=Ud.range,Gd=6e4,Xd=6048e5,qd=Wd(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),$d=qd.range,Zd=Wd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+e*Gd)},function(t,e){return(e-t)/Gd},function(t){return t.getMinutes()}),Kd=Zd.range,Qd=Wd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Gd)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),Jd=Qd.range,tf=Wd(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Gd)/864e5},function(t){return t.getDate()-1}),ef=tf.range;function nf(t){return Wd(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Gd)/Xd})}var rf=nf(0),of=nf(1),af=nf(2),sf=nf(3),lf=nf(4),cf=nf(5),uf=nf(6),hf=rf.range,df=of.range,ff=af.range,pf=sf.range,gf=lf.range,mf=cf.range,vf=uf.range,yf=Wd(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),bf=yf.range,Lf=Wd(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Lf.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wd(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,i){e.setFullYear(e.getFullYear()+i*t)}):null};var xf=Lf.range,wf=Wd(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Gd)},function(t,e){return(e-t)/Gd},function(t){return t.getUTCMinutes()}),_f=wf.range,Sf=Wd(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),Cf=Sf.range,kf=Wd(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}),Tf=kf.range;function Ef(t){return Wd(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/Xd})}var Af=Ef(0),Mf=Ef(1),Df=Ef(2),Pf=Ef(3),Of=Ef(4),If=Ef(5),Nf=Ef(6),Rf=Af.range,Ff=Mf.range,Bf=Df.range,zf=Pf.range,Hf=Of.range,Vf=If.range,jf=Nf.range,Wf=Wd(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Uf=Wf.range,Yf=Wd(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Yf.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wd(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCFullYear(e.getUTCFullYear()+i*t)}):null};var Gf=Yf.range;function Xf(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function qf(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $f(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Zf(t){var e=t.dateTime,i=t.date,n=t.time,r=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=rp(r),u=op(r),h=rp(o),d=op(o),f=rp(a),p=op(a),g=rp(s),m=op(s),v=rp(l),y=op(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Cp,e:Cp,f:Mp,H:kp,I:Tp,j:Ep,L:Ap,m:Dp,M:Pp,p:function(t){return r[+(t.getHours()>=12)]},Q:ag,s:sg,S:Op,u:Ip,U:Np,V:Rp,w:Fp,W:Bp,x:null,X:null,y:zp,Y:Hp,Z:Vp,"%":og},L={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:jp,e:jp,f:Xp,H:Wp,I:Up,j:Yp,L:Gp,m:qp,M:$p,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:ag,s:sg,S:Zp,u:Kp,U:Qp,V:Jp,w:tg,W:eg,x:null,X:null,y:ig,Y:ng,Z:rg,"%":og},x={a:function(t,e,i){var n=f.exec(e.slice(i));return n?(t.w=p[n[0].toLowerCase()],i+n[0].length):-1},A:function(t,e,i){var n=h.exec(e.slice(i));return n?(t.w=d[n[0].toLowerCase()],i+n[0].length):-1},b:function(t,e,i){var n=v.exec(e.slice(i));return n?(t.m=y[n[0].toLowerCase()],i+n[0].length):-1},B:function(t,e,i){var n=g.exec(e.slice(i));return n?(t.m=m[n[0].toLowerCase()],i+n[0].length):-1},c:function(t,i,n){return S(t,e,i,n)},d:gp,e:gp,f:xp,H:vp,I:vp,j:mp,L:Lp,m:pp,M:yp,p:function(t,e,i){var n=c.exec(e.slice(i));return n?(t.p=u[n[0].toLowerCase()],i+n[0].length):-1},Q:_p,s:Sp,S:bp,u:sp,U:lp,V:cp,w:ap,W:up,x:function(t,e,n){return S(t,i,e,n)},X:function(t,e,i){return S(t,n,e,i)},y:dp,Y:hp,Z:fp,"%":wp};function w(t,e){return function(i){var n,r,o,a=[],s=-1,l=0,c=t.length;for(i instanceof Date||(i=new Date(+i));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(n=qf($f(o.y))).getUTCDay(),n=r>4||0===r?Mf.ceil(n):Mf(n),n=kf.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(r=(n=e($f(o.y))).getDay(),n=r>4||0===r?of.ceil(n):of(n),n=tf.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?qf($f(o.y)).getUTCDay():e($f(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,qf(o)):e(o)}}function S(t,e,i,n){for(var r,o,a=0,s=e.length,l=i.length;a=l)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=x[r in Qf?e.charAt(a++):r])||(n=o(t,i,n))<0)return-1}else if(r!=i.charCodeAt(n++))return-1}return n}return b.x=w(i,b),b.X=w(n,b),b.c=w(e,b),L.x=w(i,L),L.X=w(n,L),L.c=w(e,L),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",Xf);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",L);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t,qf);return e.toString=function(){return t},e}}}var Kf,Qf={"-":"",_:" ",0:"0"},Jf=/^\s*\d+/,tp=/^%/,ep=/[\\^$*+?|[\]().{}]/g;function ip(t,e,i){var n=t<0?"-":"",r=(n?-t:t)+"",o=r.length;return n+(o68?1900:2e3),i+n[0].length):-1}function fp(t,e,i){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),i+n[0].length):-1}function pp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.m=n[0]-1,i+n[0].length):-1}function gp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.d=+n[0],i+n[0].length):-1}function mp(t,e,i){var n=Jf.exec(e.slice(i,i+3));return n?(t.m=0,t.d=+n[0],i+n[0].length):-1}function vp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.H=+n[0],i+n[0].length):-1}function yp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.M=+n[0],i+n[0].length):-1}function bp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.S=+n[0],i+n[0].length):-1}function Lp(t,e,i){var n=Jf.exec(e.slice(i,i+3));return n?(t.L=+n[0],i+n[0].length):-1}function xp(t,e,i){var n=Jf.exec(e.slice(i,i+6));return n?(t.L=Math.floor(n[0]/1e3),i+n[0].length):-1}function wp(t,e,i){var n=tp.exec(e.slice(i,i+1));return n?i+n[0].length:-1}function _p(t,e,i){var n=Jf.exec(e.slice(i));return n?(t.Q=+n[0],i+n[0].length):-1}function Sp(t,e,i){var n=Jf.exec(e.slice(i));return n?(t.Q=1e3*+n[0],i+n[0].length):-1}function Cp(t,e){return ip(t.getDate(),e,2)}function kp(t,e){return ip(t.getHours(),e,2)}function Tp(t,e){return ip(t.getHours()%12||12,e,2)}function Ep(t,e){return ip(1+tf.count(Lf(t),t),e,3)}function Ap(t,e){return ip(t.getMilliseconds(),e,3)}function Mp(t,e){return Ap(t,e)+"000"}function Dp(t,e){return ip(t.getMonth()+1,e,2)}function Pp(t,e){return ip(t.getMinutes(),e,2)}function Op(t,e){return ip(t.getSeconds(),e,2)}function Ip(t){var e=t.getDay();return 0===e?7:e}function Np(t,e){return ip(rf.count(Lf(t),t),e,2)}function Rp(t,e){var i=t.getDay();return t=i>=4||0===i?lf(t):lf.ceil(t),ip(lf.count(Lf(t),t)+(4===Lf(t).getDay()),e,2)}function Fp(t){return t.getDay()}function Bp(t,e){return ip(of.count(Lf(t),t),e,2)}function zp(t,e){return ip(t.getFullYear()%100,e,2)}function Hp(t,e){return ip(t.getFullYear()%1e4,e,4)}function Vp(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ip(e/60|0,"0",2)+ip(e%60,"0",2)}function jp(t,e){return ip(t.getUTCDate(),e,2)}function Wp(t,e){return ip(t.getUTCHours(),e,2)}function Up(t,e){return ip(t.getUTCHours()%12||12,e,2)}function Yp(t,e){return ip(1+kf.count(Yf(t),t),e,3)}function Gp(t,e){return ip(t.getUTCMilliseconds(),e,3)}function Xp(t,e){return Gp(t,e)+"000"}function qp(t,e){return ip(t.getUTCMonth()+1,e,2)}function $p(t,e){return ip(t.getUTCMinutes(),e,2)}function Zp(t,e){return ip(t.getUTCSeconds(),e,2)}function Kp(t){var e=t.getUTCDay();return 0===e?7:e}function Qp(t,e){return ip(Af.count(Yf(t),t),e,2)}function Jp(t,e){var i=t.getUTCDay();return t=i>=4||0===i?Of(t):Of.ceil(t),ip(Of.count(Yf(t),t)+(4===Yf(t).getUTCDay()),e,2)}function tg(t){return t.getUTCDay()}function eg(t,e){return ip(Mf.count(Yf(t),t),e,2)}function ig(t,e){return ip(t.getUTCFullYear()%100,e,2)}function ng(t,e){return ip(t.getUTCFullYear()%1e4,e,4)}function rg(){return"+0000"}function og(){return"%"}function ag(t){return+t}function sg(t){return Math.floor(+t/1e3)}function lg(e){return Kf=Zf(e),t.timeFormat=Kf.format,t.timeParse=Kf.parse,t.utcFormat=Kf.utcFormat,t.utcParse=Kf.utcParse,Kf}lg({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var cg=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),ug=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:t.utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),hg=1e3,dg=60*hg,fg=60*dg,pg=24*fg,gg=7*pg,mg=30*pg,vg=365*pg;function yg(t){return new Date(t)}function bg(t){return t instanceof Date?+t:+new Date(+t)}function Lg(t,e,n,r,o,a,s,l,c){var u=wd(gd,gd),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),y=c("%b %d"),b=c("%B"),L=c("%Y"),x=[[s,1,hg],[s,5,5*hg],[s,15,15*hg],[s,30,30*hg],[a,1,dg],[a,5,5*dg],[a,15,15*dg],[a,30,30*dg],[o,1,fg],[o,3,3*fg],[o,6,6*fg],[o,12,12*fg],[r,1,pg],[r,2,2*pg],[n,1,gg],[e,1,mg],[e,3,3*mg],[t,1,vg]];function _(i){return(s(i)=1?ov:t<=-1?-ov:Math.asin(t)}function lv(t){return t.innerRadius}function cv(t){return t.outerRadius}function uv(t){return t.startAngle}function hv(t){return t.endAngle}function dv(t){return t&&t.padAngle}function fv(t,e,i,n,r,o,a){var s=t-i,l=e-n,c=(a?o:-o)/iv(s*s+l*l),u=c*l,h=-c*s,d=t+u,f=e+h,p=i+u,g=n+h,m=(d+p)/2,v=(f+g)/2,y=p-d,b=g-f,L=y*y+b*b,x=r-o,w=d*g-p*f,_=(b<0?-1:1)*iv(Jm(0,x*x*L-w*w)),S=(w*b-y*_)/L,C=(-w*y-b*_)/L,k=(w*b+y*_)/L,T=(-w*y+b*_)/L,E=S-m,A=C-v,M=k-m,D=T-v;return E*E+A*A>M*M+D*D&&(S=k,C=T),{cx:S,cy:C,x01:-u,y01:-h,x11:S*(r/x-1),y11:C*(r/x-1)}}function pv(t){this._context=t}function gv(t){return new pv(t)}function mv(t){return t[0]}function vv(t){return t[1]}function yv(){var t=mv,e=vv,i=$m(!0),n=null,r=gv,o=null;function a(a){var s,l,c,u=a.length,h=!1;for(null==n&&(o=r(c=jr())),s=0;s<=u;++s)!(s=u;--h)s.point(m[h],v[h]);s.lineEnd(),s.areaEnd()}g&&(m[c]=+t(d,c,l),v[c]=+i(d,c,l),s.point(e?+e(d,c,l):m[c],n?+n(d,c,l):v[c]))}if(f)return s=null,f+""||null}function c(){return yv().defined(r).curve(a).context(o)}return l.x=function(i){return arguments.length?(t="function"==typeof i?i:$m(+i),e=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:$m(+t),l):e},l.y=function(t){return arguments.length?(i="function"==typeof t?t:$m(+t),n=null,l):i},l.y0=function(t){return arguments.length?(i="function"==typeof t?t:$m(+t),l):i},l.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:$m(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(i)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(e).y(i)},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:$m(!!t),l):r},l.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),l):o},l}function Lv(t,e){return et?1:e>=t?0:NaN}function xv(t){return t}pv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var wv=Sv(gv);function _v(t){this._curve=t}function Sv(t){function e(e){return new _v(t(e))}return e._curve=t,e}function Cv(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Sv(t)):e()._curve},t}function kv(){return Cv(yv().curve(wv))}function Tv(){var t=bv().curve(wv),e=t.curve,i=t.lineX0,n=t.lineX1,r=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Cv(i())},delete t.lineX0,t.lineEndAngle=function(){return Cv(n())},delete t.lineX1,t.lineInnerRadius=function(){return Cv(r())},delete t.lineY0,t.lineOuterRadius=function(){return Cv(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Sv(t)):e()._curve},t}function Ev(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}_v.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Av=Array.prototype.slice;function Mv(t){return t.source}function Dv(t){return t.target}function Pv(t){var e=Mv,i=Dv,n=mv,r=vv,o=null;function a(){var a,s=Av.call(arguments),l=e.apply(this,s),c=i.apply(this,s);if(o||(o=a=jr()),t(o,+n.apply(this,(s[0]=l,s)),+r.apply(this,s),+n.apply(this,(s[0]=c,s)),+r.apply(this,s)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(i=t,a):i},a.x=function(t){return arguments.length?(n="function"==typeof t?t:$m(+t),a):n},a.y=function(t){return arguments.length?(r="function"==typeof t?t:$m(+t),a):r},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function Ov(t,e,i,n,r){t.moveTo(e,i),t.bezierCurveTo(e=(e+n)/2,i,e,r,n,r)}function Iv(t,e,i,n,r){t.moveTo(e,i),t.bezierCurveTo(e,i=(i+r)/2,n,i,n,r)}function Nv(t,e,i,n,r){var o=Ev(e,i),a=Ev(e,i=(i+r)/2),s=Ev(n,i),l=Ev(n,r);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}var Rv={draw:function(t,e){var i=Math.sqrt(e/rv);t.moveTo(i,0),t.arc(0,0,i,0,av)}},Fv={draw:function(t,e){var i=Math.sqrt(e/5)/2;t.moveTo(-3*i,-i),t.lineTo(-i,-i),t.lineTo(-i,-3*i),t.lineTo(i,-3*i),t.lineTo(i,-i),t.lineTo(3*i,-i),t.lineTo(3*i,i),t.lineTo(i,i),t.lineTo(i,3*i),t.lineTo(-i,3*i),t.lineTo(-i,i),t.lineTo(-3*i,i),t.closePath()}},Bv=Math.sqrt(1/3),zv=2*Bv,Hv={draw:function(t,e){var i=Math.sqrt(e/zv),n=i*Bv;t.moveTo(0,-i),t.lineTo(n,0),t.lineTo(0,i),t.lineTo(-n,0),t.closePath()}},Vv=Math.sin(rv/10)/Math.sin(7*rv/10),jv=Math.sin(av/10)*Vv,Wv=-Math.cos(av/10)*Vv,Uv={draw:function(t,e){var i=Math.sqrt(.8908130915292852*e),n=jv*i,r=Wv*i;t.moveTo(0,-i),t.lineTo(n,r);for(var o=1;o<5;++o){var a=av*o/5,s=Math.cos(a),l=Math.sin(a);t.lineTo(l*i,-s*i),t.lineTo(s*n-l*r,l*n+s*r)}t.closePath()}},Yv={draw:function(t,e){var i=Math.sqrt(e),n=-i/2;t.rect(n,n,i,i)}},Gv=Math.sqrt(3),Xv={draw:function(t,e){var i=-Math.sqrt(e/(3*Gv));t.moveTo(0,2*i),t.lineTo(-Gv*i,-i),t.lineTo(Gv*i,-i),t.closePath()}},qv=Math.sqrt(3)/2,$v=1/Math.sqrt(12),Zv=3*($v/2+1),Kv={draw:function(t,e){var i=Math.sqrt(e/Zv),n=i/2,r=i*$v,o=n,a=i*$v+i,s=-o,l=a;t.moveTo(n,r),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(-.5*n-qv*r,qv*n+-.5*r),t.lineTo(-.5*o-qv*a,qv*o+-.5*a),t.lineTo(-.5*s-qv*l,qv*s+-.5*l),t.lineTo(-.5*n+qv*r,-.5*r-qv*n),t.lineTo(-.5*o+qv*a,-.5*a-qv*o),t.lineTo(-.5*s+qv*l,-.5*l-qv*s),t.closePath()}},Qv=[Rv,Fv,Hv,Yv,Uv,Xv,Kv];function Jv(){}function ty(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function ey(t){this._context=t}function iy(t){this._context=t}function ny(t){this._context=t}function ry(t,e){this._basis=new ey(t),this._beta=e}ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ty(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},iy.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ny.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ry.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var n,r=t[0],o=e[0],a=t[i]-r,s=e[i]-o,l=-1;++l<=i;)n=l/i,this._basis.point(this._beta*t[l]+(1-this._beta)*(r+n*a),this._beta*e[l]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var oy=function t(e){function i(t){return 1===e?new ey(t):new ry(t,e)}return i.beta=function(e){return t(+e)},i}(.85);function ay(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function sy(t,e){this._context=t,this._k=(1-e)/6}sy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ay(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ly=function t(e){function i(t){return new sy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function cy(t,e){this._context=t,this._k=(1-e)/6}cy.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var uy=function t(e){function i(t){return new cy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function hy(t,e){this._context=t,this._k=(1-e)/6}hy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var dy=function t(e){function i(t){return new hy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function fy(t,e,i){var n=t._x1,r=t._y1,o=t._x2,a=t._y2;if(t._l01_a>nv){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>nv){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*c+t._y1*t._l23_2a-i*t._l12_2a)/u}t._context.bezierCurveTo(n,r,o,a,t._x2,t._y2)}function py(t,e){this._context=t,this._alpha=e}py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var gy=function t(e){function i(t){return e?new py(t,e):new sy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function my(t,e){this._context=t,this._alpha=e}my.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var vy=function t(e){function i(t){return e?new my(t,e):new cy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function yy(t,e){this._context=t,this._alpha=e}yy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var by=function t(e){function i(t){return e?new yy(t,e):new hy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ly(t){this._context=t}function xy(t){return t<0?-1:1}function wy(t,e,i){var n=t._x1-t._x0,r=e-t._x1,o=(t._y1-t._y0)/(n||r<0&&-0),a=(i-t._y1)/(r||n<0&&-0),s=(o*r+a*n)/(n+r);return(xy(o)+xy(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function _y(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Sy(t,e,i){var n=t._x0,r=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,r+s*e,o-s,a-s*i,o,a)}function Cy(t){this._context=t}function ky(t){this._context=new Ty(t)}function Ty(t){this._context=t}function Ey(t){this._context=t}function Ay(t){var e,i,n=t.length-1,r=new Array(n),o=new Array(n),a=new Array(n);for(r[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)r[e]=(a[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e1)for(var i,n,r,o=1,a=t[e[0]],s=a.length;o=0;)i[e]=e;return i}function Oy(t,e){return t[e]}function Iy(t){var e=t.map(Ny);return Py(t).sort(function(t,i){return e[t]-e[i]})}function Ny(t){for(var e,i=-1,n=0,r=t.length,o=-1/0;++io&&(o=e,n=i);return n}function Ry(t){var e=t.map(Fy);return Py(t).sort(function(t,i){return e[t]-e[i]})}function Fy(t){for(var e,i=0,n=-1,r=t.length;++n0)){if(o/=d,d<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=n-l,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>u&&(u=o)}else if(d>0){if(o0)){if(o/=f,f<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=r-c,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>u&&(u=o)}else if(f>0){if(o0||h<1)||(u>0&&(t[0]=[l+u*d,c+u*f]),h<1&&(t[1]=[l+h*d,c+h*f]),!0)}}}}}function Zy(t,e,i,n,r){var o=t[1];if(o)return!0;var a,s,l=t[0],c=t.left,u=t.right,h=c[0],d=c[1],f=u[0],p=u[1],g=(h+f)/2,m=(d+p)/2;if(p===d){if(g=n)return;if(h>f){if(l){if(l[1]>=r)return}else l=[g,i];o=[g,r]}else{if(l){if(l[1]1)if(h>f){if(l){if(l[1]>=r)return}else l=[(i-s)/a,i];o=[(r-s)/a,r]}else{if(l){if(l[1]=n)return}else l=[e,a*e+s];o=[n,a*n+s]}else{if(l){if(l[0]=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}},Vy.prototype={constructor:Vy,insert:function(t,e){var i,n,r;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;i=t}else this._?(t=Yy(this._),e.P=null,e.N=t,t.P=t.L=e,i=t):(e.P=e.N=null,this._=e,i=null);for(e.L=e.R=null,e.U=i,e.C=!0,t=e;i&&i.C;)i===(n=i.U).L?(r=n.R)&&r.C?(i.C=r.C=!1,n.C=!0,t=n):(t===i.R&&(Wy(this,i),i=(t=i).U),i.C=!1,n.C=!0,Uy(this,n)):(r=n.L)&&r.C?(i.C=r.C=!1,n.C=!0,t=n):(t===i.L&&(Uy(this,i),i=(t=i).U),i.C=!1,n.C=!0,Wy(this,n)),i=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,i,n,r=t.U,o=t.L,a=t.R;if(i=o?a?Yy(a):o:a,r?r.L===t?r.L=i:r.R=i:this._=i,o&&a?(n=i.C,i.C=t.C,i.L=o,o.U=i,i!==a?(r=i.U,i.U=t.U,t=i.R,r.L=t,i.R=a,a.U=i):(i.U=r,r=i,t=i.R)):(n=t.C,t=i),t&&(t.U=r),!n)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===r.L){if((e=r.R).C&&(e.C=!1,r.C=!0,Wy(this,r),e=r.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Uy(this,e),e=r.R),e.C=r.C,r.C=e.R.C=!1,Wy(this,r),t=this._;break}}else if((e=r.L).C&&(e.C=!1,r.C=!0,Uy(this,r),e=r.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Wy(this,e),e=r.L),e.C=r.C,r.C=e.L.C=!1,Uy(this,r),t=this._;break}e.C=!0,t=r,r=r.U}while(!t.C);t&&(t.C=!1)}}};var tb,eb=[];function ib(){jy(this),this.x=this.y=this.arc=this.site=this.cy=null}function nb(t){var e=t.P,i=t.N;if(e&&i){var n=e.site,r=t.site,o=i.site;if(n!==o){var a=r[0],s=r[1],l=n[0]-a,c=n[1]-s,u=o[0]-a,h=o[1]-s,d=2*(l*h-c*u);if(!(d>=-yb)){var f=l*l+c*c,p=u*u+h*h,g=(h*f-c*p)/d,m=(l*p-u*f)/d,v=eb.pop()||new ib;v.arc=t,v.site=r,v.x=g+a,v.y=(v.cy=m+s)+Math.sqrt(g*g+m*m),t.circle=v;for(var y=null,b=gb._;b;)if(v.yvb)s=s.L;else{if(!((r=o-db(s,a))>vb)){n>-vb?(e=s.P,i=s):r>-vb?(e=s,i=s.N):e=i=s;break}if(!s.R){e=s;break}s=s.R}!function(t){pb[t.index]={site:t,halfedges:[]}}(t);var l=sb(t);if(fb.insert(e,l),e||i){if(e===i)return rb(e),i=sb(e.site),fb.insert(l,i),l.edge=i.edge=Gy(e.site,l.site),nb(e),void nb(i);if(i){rb(e),rb(i);var c=e.site,u=c[0],h=c[1],d=t[0]-u,f=t[1]-h,p=i.site,g=p[0]-u,m=p[1]-h,v=2*(d*m-f*g),y=d*d+f*f,b=g*g+m*m,L=[(m*y-f*b)/v+u,(d*b-g*y)/v+h];qy(i.edge,c,p,L),l.edge=Gy(c,t,null,L),i.edge=Gy(t,p,null,L),nb(e),nb(i)}else l.edge=Gy(e.site,l.site)}}function hb(t,e){var i=t.site,n=i[0],r=i[1],o=r-e;if(!o)return n;var a=t.P;if(!a)return-1/0;var s=(i=a.site)[0],l=i[1],c=l-e;if(!c)return s;var u=s-n,h=1/o-1/c,d=u/c;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*c)-l+c/2+r-o/2)))/h+n:(n+s)/2}function db(t,e){var i=t.N;if(i)return hb(i,e);var n=t.site;return n[1]===e?n[0]:1/0}var fb,pb,gb,mb,vb=1e-6,yb=1e-12;function bb(t,e){return e[1]-t[1]||e[0]-t[0]}function Lb(t,e){var i,n,r,o=t.sort(bb).pop();for(mb=[],pb=new Array(t.length),fb=new Vy,gb=new Vy;;)if(r=tb,o&&(!r||o[1]vb||Math.abs(r[0][1]-r[1][1])>vb)||delete mb[o]}(a,s,l,c),function(t,e,i,n){var r,o,a,s,l,c,u,h,d,f,p,g,m=pb.length,v=!0;for(r=0;rvb||Math.abs(g-d)>vb)&&(l.splice(s,0,mb.push(Xy(a,f,Math.abs(p-t)vb?[t,Math.abs(h-t)vb?[Math.abs(d-n)vb?[i,Math.abs(h-i)vb?[Math.abs(d-e)=s)return null;var l=t-r.site[0],c=e-r.site[1],u=l*l+c*c;do{r=o.cells[n=a],a=null,r.halfedges.forEach(function(i){var n=o.edges[i],s=n.left;if(s!==r.site&&s||(s=n.right)){var l=t-s[0],c=e-s[1],h=l*l+c*c;hn?(n+r)/2:Math.min(0,n)||Math.max(0,r),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}Cb.prototype=_b.prototype,t.version="5.9.2",t.bisect=r,t.bisectRight=r,t.bisectLeft=o,t.ascending=e,t.bisector=i,t.cross=function(t,e,i){var n,r,o,s,l=t.length,c=e.length,u=new Array(l*c);for(null==i&&(i=a),n=o=0;nt?1:e>=t?0:NaN},t.deviation=c,t.extent=u,t.histogram=function(){var t=g,e=u,i=_;function n(n){var o,a,s=n.length,l=new Array(s);for(o=0;oh;)d.pop(),--f;var p,g=new Array(f+1);for(o=0;o<=f;++o)(p=g[o]=[]).x0=o>0?d[o-1]:u,p.x1=o=n.length)return null!=t&&i.sort(t),null!=e?e(i):i;for(var l,c,u,h=-1,d=i.length,f=n[r++],p=$r(),g=a();++hn.length)return i;var a,s=r[o-1];return null!=e&&o>=n.length?a=i.entries():(a=[],i.each(function(e,i){a.push({key:i,values:t(e,o)})})),null!=s?a.sort(function(t,e){return s(t.key,e.key)}):a}(o(t,0,Qr,Jr),0)},key:function(t){return n.push(t),i},sortKeys:function(t){return r[n.length-1]=t,i},sortValues:function(e){return t=e,i},rollup:function(t){return e=t,i}}},t.set=io,t.map=$r,t.keys=function(t){var e=[];for(var i in t)e.push(i);return e},t.values=function(t){var e=[];for(var i in t)e.push(t[i]);return e},t.entries=function(t){var e=[];for(var i in t)e.push({key:i,value:t[i]});return e},t.color=he,t.rgb=ge,t.hsl=be,t.lab=Pe,t.hcl=ze,t.lch=function(t,e,i,n){return 1===arguments.length?Be(t):new He(i,e,t,null==n?1:n)},t.gray=function(t,e){return new Oe(t,0,0,null==e?1:e)},t.cubehelix=qe,t.contours=ho,t.contourDensity=function(){var t=go,e=mo,i=vo,n=960,r=500,o=20,a=2,s=3*o,l=n+2*s>>a,c=r+2*s>>a,u=oo(20);function h(n){var r=new Float32Array(l*c),h=new Float32Array(l*c);n.forEach(function(n,o,u){var h=+t(n,o,u)+s>>a,d=+e(n,o,u)+s>>a,f=+i(n,o,u);h>=0&&h=0&&d>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a),fo({width:l,height:c,data:r},{width:l,height:c,data:h},o>>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a),fo({width:l,height:c,data:r},{width:l,height:c,data:h},o>>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a);var f=u(r);if(!Array.isArray(f)){var p=C(r);f=w(0,p,f),(f=m(0,Math.floor(p/f)*f,f)).shift()}return ho().thresholds(f).size([l,c])(r).map(d)}function d(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(f),t}function f(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function v(){return l=n+2*(s=3*o)>>a,c=r+2*s>>a,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:oo(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:oo(+t),h):e},h.weight=function(t){return arguments.length?(i="function"==typeof t?t:oo(+t),h):i},h.size=function(t){if(!arguments.length)return[n,r];var e=Math.ceil(t[0]),i=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return n=e,r=i,v()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),v()},h.thresholds=function(t){return arguments.length?(u="function"==typeof t?t:Array.isArray(t)?oo(no.call(t)):oo(t),h):u},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),v()},h},t.dispatch=j,t.drag=function(){var e,i,n,r,o=Gt,a=Xt,s=qt,l=$t,c={},u=j("start","drag","end"),h=0,d=0;function f(t){t.on("mousedown.drag",p).filter(l).on("touchstart.drag",v).on("touchmove.drag",y).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!r&&o.apply(this,arguments)){var s=L("mouse",a.apply(this,arguments),Bt,this,arguments);s&&(Pt(t.event.view).on("mousemove.drag",g,!0).on("mouseup.drag",m,!0),jt(t.event.view),Ht(),n=!1,e=t.event.clientX,i=t.event.clientY,s("start"))}}function g(){if(Vt(),!n){var r=t.event.clientX-e,o=t.event.clientY-i;n=r*r+o*o>d}c.mouse("drag")}function m(){Pt(t.event.view).on("mousemove.drag mouseup.drag",null),Wt(t.event.view,n),Vt(),c.mouse("end")}function v(){if(o.apply(this,arguments)){var e,i,n=t.event.changedTouches,r=a.apply(this,arguments),s=n.length;for(e=0;el+f||rc+f||os.index){var p=l-a.x-a.vx,g=c-a.y-a.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function s(){if(e){var n,r,o=e.length;for(i=new Array(o),n=0;n=a)){(t.data!==e||t.next)&&(0===u&&(f+=(u=Qo())*u),0===h&&(f+=(h=Qo())*h),f1?(null==i?s.remove(t):s.set(t,f(i)),e):s.get(t)},find:function(e,i,n){var r,o,a,s,l,c=0,u=t.length;for(null==n?n=1/0:n*=n,c=0;c1?(c.on(t,i),e):c.on(t)}}},t.forceX=function(t){var e,i,n,r=Ko(.1);function o(t){for(var r,o=0,a=e.length;oul(n[0],n[1])&&(n[1]=r[1]),ul(r[0],n[1])>ul(n[0],n[1])&&(n[0]=r[0])):o.push(n=r);for(a=-1/0,e=0,n=o[i=o.length-1];e<=i;n=r,++e)r=o[e],(s=ul(n[1],r[0]))>a&&(a=s,As=r[0],Ds=n[1])}return Fs=Bs=null,As===1/0||Ms===1/0?[[NaN,NaN],[NaN,NaN]]:[[As,Ms],[Ds,Ps]]},t.geoCentroid=function(t){zs=Hs=Vs=js=Ws=Us=Ys=Gs=Xs=qs=$s=0,cs(t,fl);var e=Xs,i=qs,n=$s,r=e*e+i*i+n*n;return r<1e-12&&(e=Us,i=Ys,n=Gs,Hs=.12&&r<.234&&n>=-.425&&n<-.214?s:r>=.166&&r<.234&&n>=-.214&&n<-.115?l:a).invert(t)},u.stream=function(i){return t&&e===i?t:(n=[a.stream(e=i),s.stream(i),l.stream(i)],r=n.length,t={point:function(t,e){for(var i=-1;++i2?t[2]+90:90]):[(t=i())[0],t[1],t[2]-90]},i([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=eh,t.geoRotation=Dl,t.geoStream=cs,t.geoTransform=function(t){return{stream:mu(t)}},t.cluster=function(){var t=ih,e=1,i=1,n=!1;function r(r){var o,a=0;r.eachAfter(function(e){var i=e.children;i?(e.x=function(t){return t.reduce(nh,0)/t.length}(i),e.y=1+i.reduce(rh,0)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)});var s=function(t){for(var e;e=t.children;)t=e[0];return t}(r),l=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),c=s.x-t(s,l)/2,u=l.x+t(l,s)/2;return r.eachAfter(n?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*i}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(r.y?t.y/r.y:1))*i})}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(n=!1,e=+t[0],i=+t[1],r):n?null:[e,i]},r.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],i=+t[1],r):n?[e,i]:null},r},t.hierarchy=ah,t.pack=function(){var t=null,e=1,i=1,n=kh;function r(r){return r.x=e/2,r.y=i/2,t?r.eachBefore(Ah(t)).eachAfter(Mh(n,.5)).eachBefore(Dh(1)):r.eachBefore(Ah(Eh)).eachAfter(Mh(kh,1)).eachAfter(Mh(n,r.r/Math.min(e,i))).eachBefore(Dh(Math.min(e,i)/(2*r.r))),r}return r.radius=function(e){return arguments.length?(t=null==(i=e)?null:Ch(i),r):t;var i},r.size=function(t){return arguments.length?(e=+t[0],i=+t[1],r):[e,i]},r.padding=function(t){return arguments.length?(n="function"==typeof t?t:Th(+t),r):n},r},t.packSiblings=function(t){return Sh(t),t},t.packEnclose=dh,t.partition=function(){var t=1,e=1,i=0,n=!1;function r(r){var o=r.height+1;return r.x0=r.y0=i,r.x1=t,r.y1=e/o,r.eachBefore(function(t,e){return function(n){n.children&&Oh(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var r=n.x0,o=n.y0,a=n.x1-i,s=n.y1-i;a0)throw new Error("cycle");return o}return i.id=function(e){return arguments.length?(t=Ch(e),i):t},i.parentId=function(t){return arguments.length?(e=Ch(t),i):e},i},t.tree=function(){var t=zh,e=1,i=1,n=null;function r(r){var l=function(t){for(var e,i,n,r,o,a=new Uh(t,0),s=[a];e=s.pop();)if(n=e._.children)for(e.children=new Array(o=n.length),r=o-1;r>=0;--r)s.push(i=e.children[r]=new Uh(n[r],r)),i.parent=e;return(a.parent=new Uh(null,0)).children=[a],a}(r);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),n)r.eachBefore(s);else{var c=r,u=r,h=r;r.eachBefore(function(t){t.xu.x&&(u=t),t.depth>h.depth&&(h=t)});var d=c===u?1:t(c,u)/2,f=d-c.x,p=e/(u.x+d+f),g=i/(h.depth||1);r.eachBefore(function(t){t.x=(t.x+f)*p,t.y=t.depth*g})}return r}function o(e){var i=e.children,n=e.parent.children,r=e.i?n[e.i-1]:null;if(i){!function(t){for(var e,i=0,n=0,r=t.children,o=r.length;--o>=0;)(e=r[o]).z+=i,e.m+=i,i+=e.s+(n+=e.c)}(e);var o=(i[0].z+i[i.length-1].z)/2;r?(e.z=r.z+t(e._,r._),e.m=e.z-o):e.z=o}else r&&(e.z=r.z+t(e._,r._));e.parent.A=function(e,i,n){if(i){for(var r,o=e,a=e,s=i,l=o.parent.children[0],c=o.m,u=a.m,h=s.m,d=l.m;s=Vh(s),o=Hh(o),s&&o;)l=Hh(l),(a=Vh(a)).a=e,(r=s.z+h-o.z-c+t(s._,o._))>0&&(jh(Wh(s,e,n),e,r),c+=r,u+=r),h+=s.m,c+=o.m,d+=l.m,u+=a.m;s&&!Vh(a)&&(a.t=s,a.m+=h-u),o&&!Hh(l)&&(l.t=o,l.m+=c-d,n=e)}return n}(e,r,e.parent.A||n[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*i}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(n=!1,e=+t[0],i=+t[1],r):n?null:[e,i]},r.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],i=+t[1],r):n?[e,i]:null},r},t.treemap=function(){var t=qh,e=!1,i=1,n=1,r=[0],o=kh,a=kh,s=kh,l=kh,c=kh;function u(t){return t.x0=t.y0=0,t.x1=i,t.y1=n,t.eachBefore(h),r=[0],e&&t.eachBefore(Ph),t}function h(e){var i=r[e.depth],n=e.x0+i,u=e.y0+i,h=e.x1-i,d=e.y1-i;h=i-1){var u=s[e];return u.x0=r,u.y0=o,u.x1=a,void(u.y1=l)}for(var h=c[e],d=n/2+h,f=e+1,p=i-1;f>>1;c[g]l-o){var y=(r*v+a*m)/n;t(e,f,m,r,o,y,l),t(f,i,v,y,o,a,l)}else{var b=(o*v+l*m)/n;t(e,f,m,r,o,a,b),t(f,i,v,r,b,a,l)}}(0,l,t.value,e,i,n,r)},t.treemapDice=Oh,t.treemapSlice=Yh,t.treemapSliceDice=function(t,e,i,n,r){(1&t.depth?Yh:Oh)(t,e,i,n,r)},t.treemapSquarify=qh,t.treemapResquarify=$h,t.interpolate=pi,t.interpolateArray=si,t.interpolateBasis=Ke,t.interpolateBasisClosed=Qe,t.interpolateDate=li,t.interpolateDiscrete=function(t){var e=t.length;return function(i){return t[Math.max(0,Math.min(e-1,Math.floor(i*e)))]}},t.interpolateHue=function(t,e){var i=ei(+t,+e);return function(t){var e=i(t);return e-360*Math.floor(e/360)}},t.interpolateNumber=ci,t.interpolateObject=ui,t.interpolateRound=gi,t.interpolateString=fi,t.interpolateTransformCss=Si,t.interpolateTransformSvg=Ci,t.interpolateZoom=Di,t.interpolateRgb=ni,t.interpolateRgbBasis=oi,t.interpolateRgbBasisClosed=ai,t.interpolateHsl=Oi,t.interpolateHslLong=Ii,t.interpolateLab=function(t,e){var i=ii((t=Pe(t)).l,(e=Pe(e)).l),n=ii(t.a,e.a),r=ii(t.b,e.b),o=ii(t.opacity,e.opacity);return function(e){return t.l=i(e),t.a=n(e),t.b=r(e),t.opacity=o(e),t+""}},t.interpolateHcl=Ri,t.interpolateHclLong=Fi,t.interpolateCubehelix=Vi,t.interpolateCubehelixLong=ji,t.piecewise=function(t,e){for(var i=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);i=0;--e)c.push(t[n[o[e]][2]]);for(e=+s;es!=c>s&&a<(l-i)*(s-n)/(c-n)+i&&(u=!u),l=i,c=n;return u},t.polygonLength=function(t){for(var e,i,n=-1,r=t.length,o=t[r-1],a=o[0],s=o[1],l=0;++n0?a[e-1]:n[0],e=o?[a[o-1],n]:[a[e-1],a[e]]},l.unknown=function(t){return arguments.length?(e=t,l):l},l.thresholds=function(){return a.slice()},l.copy=function(){return t().domain([i,n]).range(s).unknown(e)},od.apply(Sd(l),arguments)},t.scaleThreshold=function t(){var e,i=[.5],n=[0,1],o=1;function a(t){return t<=t?n[r(i,t,0,o)]:e}return a.domain=function(t){return arguments.length?(i=cd.call(t),o=Math.min(i.length,n.length-1),a):i.slice()},a.range=function(t){return arguments.length?(n=cd.call(t),o=Math.min(i.length,n.length-1),a):n.slice()},a.invertExtent=function(t){var e=n.indexOf(t);return[i[e-1],i[e]]},a.unknown=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return t().domain(i).range(n).unknown(e)},od.apply(a,arguments)},t.scaleTime=function(){return od.apply(Lg(Lf,yf,rf,tf,Qd,Zd,qd,Ud,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},t.scaleUtc=function(){return od.apply(Lg(Yf,Wf,Af,kf,Sf,wf,qd,Ud,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},t.scaleSequential=function t(){var e=Sd(xg()(gd));return e.copy=function(){return wg(e,t())},ad.apply(e,arguments)},t.scaleSequentialLog=function t(){var e=Pd(xg()).domain([1,10]);return e.copy=function(){return wg(e,t()).base(e.base())},ad.apply(e,arguments)},t.scaleSequentialPow=_g,t.scaleSequentialSqrt=function(){return _g.apply(null,arguments).exponent(.5)},t.scaleSequentialSymlog=function t(){var e=Nd(xg());return e.copy=function(){return wg(e,t()).constant(e.constant())},ad.apply(e,arguments)},t.scaleSequentialQuantile=function t(){var i=[],n=gd;function o(t){if(!isNaN(t=+t))return n((r(i,t)-1)/(i.length-1))}return o.domain=function(t){if(!arguments.length)return i.slice();i=[];for(var n,r=0,a=t.length;r1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Hm.h=360*t-100,Hm.s=1.5-1.5*e,Hm.l=.8-.9*e,Hm+""},t.interpolateWarm=Bm,t.interpolateCool=zm,t.interpolateSinebow=function(t){var e;return t=(.5-t)*Math.PI,Vm.r=255*(e=Math.sin(t))*e,Vm.g=255*(e=Math.sin(t+jm))*e,Vm.b=255*(e=Math.sin(t+Wm))*e,Vm+""},t.interpolateViridis=Ym,t.interpolateMagma=Gm,t.interpolateInferno=Xm,t.interpolatePlasma=qm,t.create=function(t){return Pt($(t).call(document.documentElement))},t.creator=$,t.local=It,t.matcher=tt,t.mouse=Bt,t.namespace=q,t.namespaces=X,t.clientPoint=Ft,t.select=Pt,t.selectAll=function(t){return"string"==typeof t?new Mt([document.querySelectorAll(t)],[document.documentElement]):new Mt([null==t?[]:t],At)},t.selection=Dt,t.selector=K,t.selectorAll=J,t.style=lt,t.touch=zt,t.touches=function(t,e){null==e&&(e=Rt().touches);for(var i=0,n=e?e.length:0,r=new Array(n);if;if(s||(s=l=jr()),dnv)if(g>av-nv)s.moveTo(d*Qm(f),d*ev(f)),s.arc(0,0,d,f,p,!m),h>nv&&(s.moveTo(h*Qm(p),h*ev(p)),s.arc(0,0,h,p,f,m));else{var v,y,b=f,L=p,x=f,w=p,_=g,S=g,C=a.apply(this,arguments)/2,k=C>nv&&(n?+n.apply(this,arguments):iv(h*h+d*d)),T=tv(Zm(d-h)/2,+i.apply(this,arguments)),E=T,A=T;if(k>nv){var M=sv(k/h*ev(C)),D=sv(k/d*ev(C));(_-=2*M)>nv?(x+=M*=m?1:-1,w-=M):(_=0,x=w=(f+p)/2),(S-=2*D)>nv?(b+=D*=m?1:-1,L-=D):(S=0,b=L=(f+p)/2)}var P=d*Qm(b),O=d*ev(b),I=h*Qm(w),N=h*ev(w);if(T>nv){var R,F=d*Qm(L),B=d*ev(L),z=h*Qm(x),H=h*ev(x);if(g1?0:u<-1?rv:Math.acos(u))/2),G=iv(R[0]*R[0]+R[1]*R[1]);E=tv(T,(h-G)/(Y-1)),A=tv(T,(d-G)/(Y+1))}}S>nv?A>nv?(v=fv(z,H,P,O,d,A,m),y=fv(F,B,I,N,d,A,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),Anv&&_>nv?E>nv?(v=fv(I,N,F,B,h,-E,m),y=fv(P,O,z,H,h,-E,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),E0&&(f+=h);for(null!=e?p.sort(function(t,i){return e(g[t],g[i])}):null!=i&&p.sort(function(t,e){return i(a[t],a[e])}),s=0,c=f?(v-d*b)/f:0;s0?h*c:0)+b,g[l]={data:a[l],index:s,value:h,startAngle:m,endAngle:u,padAngle:y};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,i=null,a):e},a.sort=function(t){return arguments.length?(i=t,e=null,a):i},a.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:$m(+t),a):n},a.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:$m(+t),a):r},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:$m(+t),a):o},a},t.areaRadial=Tv,t.radialArea=Tv,t.lineRadial=kv,t.radialLine=kv,t.pointRadial=Ev,t.linkHorizontal=function(){return Pv(Ov)},t.linkVertical=function(){return Pv(Iv)},t.linkRadial=function(){var t=Pv(Nv);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.symbol=function(){var t=$m(Rv),e=$m(64),i=null;function n(){var n;if(i||(i=n=jr()),t.apply(this,arguments).draw(i,+e.apply(this,arguments)),n)return i=null,n+""||null}return n.type=function(e){return arguments.length?(t="function"==typeof e?e:$m(e),n):t},n.size=function(t){return arguments.length?(e="function"==typeof t?t:$m(+t),n):e},n.context=function(t){return arguments.length?(i=null==t?null:t,n):i},n},t.symbols=Qv,t.symbolCircle=Rv,t.symbolCross=Fv,t.symbolDiamond=Hv,t.symbolSquare=Yv,t.symbolStar=Uv,t.symbolTriangle=Xv,t.symbolWye=Kv,t.curveBasisClosed=function(t){return new iy(t)},t.curveBasisOpen=function(t){return new ny(t)},t.curveBasis=function(t){return new ey(t)},t.curveBundle=oy,t.curveCardinalClosed=uy,t.curveCardinalOpen=dy,t.curveCardinal=ly,t.curveCatmullRomClosed=vy,t.curveCatmullRomOpen=by,t.curveCatmullRom=gy,t.curveLinearClosed=function(t){return new Ly(t)},t.curveLinear=gv,t.curveMonotoneX=function(t){return new Cy(t)},t.curveMonotoneY=function(t){return new ky(t)},t.curveNatural=function(t){return new Ey(t)},t.curveStep=function(t){return new My(t,.5)},t.curveStepAfter=function(t){return new My(t,1)},t.curveStepBefore=function(t){return new My(t,0)},t.stack=function(){var t=$m([]),e=Py,i=Dy,n=Oy;function r(r){var o,a,s=t.apply(this,arguments),l=r.length,c=s.length,u=new Array(c);for(o=0;o0){for(var i,n,r,o=0,a=t[0].length;o1)for(var i,n,r,o,a,s,l=0,c=t[e[0]].length;l=0?(n[0]=o,n[1]=o+=r):r<0?(n[1]=a,n[0]=a+=r):n[0]=o},t.stackOffsetNone=Dy,t.stackOffsetSilhouette=function(t,e){if((i=t.length)>0){for(var i,n=0,r=t[e[0]],o=r.length;n0&&(n=(i=t[e[0]]).length)>0){for(var i,n,r,o=0,a=1;ahn&&i.name===e)return new Tn([[t]],sr,e,+n);return null},t.interrupt=xn,t.voronoi=function(){var t=zy,e=Hy,i=null;function n(n){return new Lb(n.map(function(i,r){var o=[Math.round(t(i,r,n)/vb)*vb,Math.round(e(i,r,n)/vb)*vb];return o.index=r,o.data=i,o}),i)}return n.polygons=function(t){return n(t).polygons()},n.links=function(t){return n(t).links()},n.triangles=function(t){return n(t).triangles()},n.x=function(e){return arguments.length?(t="function"==typeof e?e:By(+e),n):t},n.y=function(t){return arguments.length?(e="function"==typeof t?t:By(+t),n):e},n.extent=function(t){return arguments.length?(i=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],n):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},n.size=function(t){return arguments.length?(i=null==t?null:[[0,0],[+t[0],+t[1]]],n):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},n},t.zoom=function(){var e,i,n=Eb,r=Ab,o=Ob,a=Db,s=Pb,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,h=Di,d=[],f=j("start","zoom","end"),p=500,g=150,m=0;function v(t){t.property("__zoom",Mb).on("wheel.zoom",S).on("mousedown.zoom",C).on("dblclick.zoom",k).filter(s).on("touchstart.zoom",T).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",A).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new _b(e,t.x,t.y)}function b(t,e,i){var n=e[0]-i[0]*t.k,r=e[1]-i[1]*t.k;return n===t.x&&r===t.y?t:new _b(t.k,n,r)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,i){t.on("start.zoom",function(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var t=arguments,n=w(this,t),o=r.apply(this,t),a=i||L(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),l=this.__zoom,c="function"==typeof e?e.apply(this,t):e,u=h(l.invert(a).concat(s/l.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=u(t),i=s/e[2];t=new _b(i,a[0]-e[0]*i,a[1]-e[1]*i)}n.zoom(null,t)}})}function w(t,e){for(var i,n=0,r=d.length;nm}e.zoom("mouse",o(b(e.that.__zoom,e.mouse[0]=Bt(e.that),e.mouse[1]),e.extent,c))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Wt(t.event.view,e.moved),Tb(),e.end()},!0),a=Bt(this),s=t.event.clientX,l=t.event.clientY;jt(t.event.view),kb(),e.mouse=[a,this.__zoom.invert(a)],xn(this),e.start()}}function k(){if(n.apply(this,arguments)){var e=this.__zoom,i=Bt(this),a=e.invert(i),s=e.k*(t.event.shiftKey?.5:2),l=o(b(y(e,s),i,a),r.apply(this,arguments),c);Tb(),u>0?Pt(this).transition().duration(u).call(x,l,i):Pt(this).call(v.transform,l)}}function T(){if(n.apply(this,arguments)){var i,r,o,a,s=w(this,arguments),l=t.event.changedTouches,c=l.length;for(kb(),r=0;r/g,">"):t},b=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.owner=e,this.d3=e.d3,this.internal=n};b.prototype.init=function(){var t=this.owner,e=t.config,i=t.main;t.axes.x=i.append("g").attr("class",r.axis+" "+r.axisX).attr("clip-path",e.axis_x_inner?"":t.clipPathForXAxis).attr("transform",t.getTranslate("x")).style("visibility",e.axis_x_show?"visible":"hidden"),t.axes.x.append("text").attr("class",r.axisXLabel).attr("transform",e.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),t.axes.y=i.append("g").attr("class",r.axis+" "+r.axisY).attr("clip-path",e.axis_y_inner?"":t.clipPathForYAxis).attr("transform",t.getTranslate("y")).style("visibility",e.axis_y_show?"visible":"hidden"),t.axes.y.append("text").attr("class",r.axisYLabel).attr("transform",e.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),t.axes.y2=i.append("g").attr("class",r.axis+" "+r.axisY2).attr("transform",t.getTranslate("y2")).style("visibility",e.axis_y2_show?"visible":"hidden"),t.axes.y2.append("text").attr("class",r.axisY2Label).attr("transform",e.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},b.prototype.getXAxis=function(t,e,i,n,r,o,a){var s=this.owner,l=s.config,c={isCategory:s.isCategorized(),withOuterTick:r,tickMultiline:l.axis_x_tick_multiline,tickMultilineMax:l.axis_x_tick_multiline?Number(l.axis_x_tick_multilineMax):0,tickWidth:l.axis_x_tick_width,tickTextRotate:a?0:l.axis_x_tick_rotate,withoutTransition:o},u=new this.internal(this,c).axis.scale(t).orient(e);return s.isTimeSeries()&&n&&"function"!=typeof n&&(n=n.map(function(t){return s.parseDate(t)})),u.tickFormat(i).tickValues(n),s.isCategorized()&&(u.tickCentered(l.axis_x_tick_centered),d(l.axis_x_tick_culling)&&(l.axis_x_tick_culling=!1)),u},b.prototype.updateXAxisTickValues=function(t,e){var i,n=this.owner,r=n.config;return(r.axis_x_tick_fit||r.axis_x_tick_count)&&(i=this.generateTickValues(n.mapTargetsToUniqueXs(t),r.axis_x_tick_count,n.isTimeSeries())),e?e.tickValues(i):(n.xAxis.tickValues(i),n.subXAxis.tickValues(i)),i},b.prototype.getYAxis=function(t,e,i,n,r,o,a){var s=this.owner,l=s.config,c={withOuterTick:r,withoutTransition:o,tickTextRotate:a?0:l.axis_y_tick_rotate},u=new this.internal(this,c).axis.scale(t).orient(e).tickFormat(i);return s.isTimeSeriesY()?u.ticks(l.axis_y_tick_time_type,l.axis_y_tick_time_interval):u.tickValues(n),u},b.prototype.getId=function(t){var e=this.owner.config;return t in e.data_axes?e.data_axes[t]:"y"},b.prototype.getXAxisTickFormat=function(){var t=this.owner,e=t.config,i=t.isTimeSeries()?t.defaultAxisTimeFormat:t.isCategorized()?t.categoryName:function(t){return t};return e.axis_x_tick_format&&(f(e.axis_x_tick_format)?i=e.axis_x_tick_format:t.isTimeSeries()&&(i=function(i){return i?t.axisTimeFormat(e.axis_x_tick_format)(i):""})),f(i)?function(e){return i.call(t,e)}:i},b.prototype.getTickValues=function(t,e){return t||(e?e.tickValues():void 0)},b.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},b.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},b.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},b.prototype.getLabelOptionByAxisId=function(t){var e,i=this.owner.config;return"y"===t?e=i.axis_y_label:"y2"===t?e=i.axis_y2_label:"x"===t&&(e=i.axis_x_label),e},b.prototype.getLabelText=function(t){var e=this.getLabelOptionByAxisId(t);return p(e)?e:e?e.text:null},b.prototype.setLabelText=function(t,e){var i=this.owner.config,n=this.getLabelOptionByAxisId(t);p(n)?"y"===t?i.axis_y_label=e:"y2"===t?i.axis_y2_label=e:"x"===t&&(i.axis_x_label=e):n&&(n.text=e)},b.prototype.getLabelPosition=function(e,i){var n=this.getLabelOptionByAxisId(e),r=n&&"object"===t(n)&&n.position?n.position:i;return{isInner:0<=r.indexOf("inner"),isOuter:0<=r.indexOf("outer"),isLeft:0<=r.indexOf("left"),isCenter:0<=r.indexOf("center"),isRight:0<=r.indexOf("right"),isTop:0<=r.indexOf("top"),isMiddle:0<=r.indexOf("middle"),isBottom:0<=r.indexOf("bottom")}},b.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},b.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},b.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},b.prototype.getLabelPositionById=function(t){return"y2"===t?this.getY2AxisLabelPosition():"y"===t?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},b.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},b.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},b.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},b.prototype.xForAxisLabel=function(t,e){var i=this.owner;return t?e.isLeft?0:e.isCenter?i.width/2:i.width:e.isBottom?-i.height:e.isMiddle?-i.height/2:0},b.prototype.dxForAxisLabel=function(t,e){return t?e.isLeft?"0.5em":e.isRight?"-0.5em":"0":e.isTop?"-0.5em":e.isBottom?"0.5em":"0"},b.prototype.textAnchorForAxisLabel=function(t,e){return t?e.isLeft?"start":e.isCenter?"middle":"end":e.isBottom?"start":e.isMiddle?"middle":"end"},b.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.dyForXAxisLabel=function(){var t=this.owner,e=t.config,i=this.getXAxisLabelPosition();return e.axis_rotated?i.isInner?"1.2em":-25-(t.config.axis_x_inner?0:this.getMaxTickWidth("x")):i.isInner?"-0.5em":e.axis_x_height?e.axis_x_height-10:"3em"},b.prototype.dyForYAxisLabel=function(){var t=this.owner,e=this.getYAxisLabelPosition();return t.config.axis_rotated?e.isInner?"-0.5em":"3em":e.isInner?"1.2em":-10-(t.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},b.prototype.dyForY2AxisLabel=function(){var t=this.owner,e=this.getY2AxisLabelPosition();return t.config.axis_rotated?e.isInner?"1.2em":"-2.2em":e.isInner?"-0.5em":15+(t.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},b.prototype.textAnchorForXAxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(!t.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.textAnchorForYAxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(t.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.textAnchorForY2AxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(t.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.getMaxTickWidth=function(t,e){var i,n,r,o,a=this.owner,s=a.config,l=0;return e&&a.currentMaxTickWidths[t]||(a.svg&&(i=a.filterTargetsToShow(a.data.targets),"y"===t?(n=a.y.copy().domain(a.getYDomain(i,"y")),r=this.getYAxis(n,a.yOrient,s.axis_y_tick_format,a.yAxisTickValues,!1,!0,!0)):"y2"===t?(n=a.y2.copy().domain(a.getYDomain(i,"y2")),r=this.getYAxis(n,a.y2Orient,s.axis_y2_tick_format,a.y2AxisTickValues,!1,!0,!0)):(n=a.x.copy().domain(a.getXDomain(i)),r=this.getXAxis(n,a.xOrient,a.xAxisTickFormat,a.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(i,r)),(o=a.d3.select("body").append("div").classed("c3",!0)).append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0).append("g").call(r).each(function(){a.d3.select(this).selectAll("text").each(function(){var t=this.getBoundingClientRect();le.getTotalLength())break;i--}while(0=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(t){return this._checkPathSynchronizedToList(),this._checkValidIndex(t),this._list[t]},window.SVGPathSegList.prototype.insertItemBefore=function(t,e){return this._checkPathSynchronizedToList(),e>this.numberOfItems&&(e=this.numberOfItems),t._owningPathSegList&&(t=t.clone()),this._list.splice(e,0,t),(t._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList.prototype.replaceItem=function(t,e){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._checkValidIndex(e),((this._list[e]=t)._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList.prototype.removeItem=function(t){this._checkPathSynchronizedToList(),this._checkValidIndex(t);var e=this._list[t];return this._list.splice(t,1),this._writeListToPath(),e},window.SVGPathSegList.prototype.appendItem=function(t){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._list.push(t),(t._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList._pathSegArrayAsString=function(t){var e="",i=!0;return t.forEach(function(t){i?(i=!1,e+=t._asPathString()):e+=" "+t._asPathString()}),e},window.SVGPathSegList.prototype._parsePath=function(t){if(!t||0==t.length)return[];var e=this,i=function(){this.pathSegList=[]};i.prototype.appendSegment=function(t){this.pathSegList.push(t)};var n=function(t){this._string=t,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};n.prototype._isCurrentSpace=function(){var t=this._string[this._currentIndex];return t<=" "&&(" "==t||"\n"==t||"\t"==t||"\r"==t||"\f"==t)},n.prototype._skipOptionalSpaces=function(){for(;this._currentIndex=this._endIndex||this._string.charAt(this._currentIndex)<"0"||"9"=this._endIndex||this._string.charAt(this._currentIndex)<"0"||"9"=this._endIndex)){var t=!1,e=this._string.charAt(this._currentIndex++);if("0"==e)t=!1;else{if("1"!=e)return;t=!0}return this._skipOptionalSpacesOrDelimiter(),t}},n.prototype.parseSegment=function(){var t=this._string[this._currentIndex],i=this._pathSegTypeFromChar(t);if(i==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN)return null;if((i=this._nextCommandHelper(t,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=i){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(e);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var n={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicRel(e,n.x,n.y,n.x1,n.y1,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(e,n.x,n.y,n.x1,n.y1,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return n={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(e,n.x,n.y,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return n={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(e,n.x,n.y,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return n={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(e,n.x,n.y,n.x1,n.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(e,n.x,n.y,n.x1,n.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return n={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(e,n.x,n.y,n.x1,n.y1,n.arcAngle,n.arcLarge,n.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(e,n.x,n.y,n.x1,n.y1,n.arcAngle,n.arcLarge,n.arcSweep);default:throw"Unknown path seg type."}};var r=new i,o=new n(t);if(!o.initialCommandIsMoveTo())return[];for(;o.hasMoreData();){var a=o.parseSegment();if(!a)return[];r.appendSegment(a)}return r.pathSegList}),String.prototype.padEnd||(String.prototype.padEnd=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),String(this)+e.slice(0,t))}),(i.prototype.axis=function(){}).labels=function(t){var e=this.internal;arguments.length&&(Object.keys(t).forEach(function(i){e.axis.setLabelText(i,t[i])}),e.axis.updateLabels())},i.prototype.axis.max=function(e){var i=this.internal,n=i.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"===t(e)?(m(e.x)&&(n.axis_x_max=e.x),m(e.y)&&(n.axis_y_max=e.y),m(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},i.prototype.axis.min=function(e){var i=this.internal,n=i.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"===t(e)?(m(e.x)&&(n.axis_x_min=e.x),m(e.y)&&(n.axis_y_min=e.y),m(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},i.prototype.axis.range=function(t){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};h(t.max)&&this.axis.max(t.max),h(t.min)&&this.axis.min(t.min)},i.prototype.category=function(t,e){var i=this.internal,n=i.config;return 1'":;\[\]\/|~`{}\\])/g,"\\$1")},e.prototype.selectorTarget=function(t,e){return(e||"")+"."+r.target+this.getTargetSelectorSuffix(t)},e.prototype.selectorTargets=function(t,e){var i=this;return(t=t||[]).length?t.map(function(t){return i.selectorTarget(t,e)}):null},e.prototype.selectorLegend=function(t){return"."+r.legendItem+this.getTargetSelectorSuffix(t)},e.prototype.selectorLegends=function(t){var e=this;return t&&t.length?t.map(function(t){return e.selectorLegend(t)}):null},e.prototype.getClipPath=function(t){return"url("+(0<=window.navigator.appVersion.toLowerCase().indexOf("msie 9.")?"":document.URL.split("#")[0])+"#"+t+")"},e.prototype.appendClip=function(t,e){return t.append("clipPath").attr("id",e).append("rect")},e.prototype.getAxisClipX=function(t){var e=Math.max(30,this.margin.left);return t?-(1+e):-(e-1)},e.prototype.getAxisClipY=function(t){return t?-20:-this.margin.top},e.prototype.getXAxisClipX=function(){return this.getAxisClipX(!this.config.axis_rotated)},e.prototype.getXAxisClipY=function(){return this.getAxisClipY(!this.config.axis_rotated)},e.prototype.getYAxisClipX=function(){return this.config.axis_y_inner?-1:this.getAxisClipX(this.config.axis_rotated)},e.prototype.getYAxisClipY=function(){return this.getAxisClipY(this.config.axis_rotated)},e.prototype.getAxisClipWidth=function(t){var e=Math.max(30,this.margin.left),i=Math.max(30,this.margin.right);return t?this.width+2+e+i:this.margin.left+20},e.prototype.getAxisClipHeight=function(t){return(t?this.margin.bottom:this.margin.top+this.height)+20},e.prototype.getXAxisClipWidth=function(){return this.getAxisClipWidth(!this.config.axis_rotated)},e.prototype.getXAxisClipHeight=function(){return this.getAxisClipHeight(!this.config.axis_rotated)},e.prototype.getYAxisClipWidth=function(){return this.getAxisClipWidth(this.config.axis_rotated)+(this.config.axis_y_inner?20:0)},e.prototype.getYAxisClipHeight=function(){return this.getAxisClipHeight(this.config.axis_rotated)},e.prototype.generateColor=function(){var t=this.config,e=this.d3,i=t.data_colors,n=v(t.color_pattern)?t.color_pattern:e.schemeCategory10,r=t.data_color,o=[];return function(t){var e,a=t.id||t.data&&t.data.id||t;return i[a]instanceof Function?e=i[a](t):i[a]?e=i[a]:(o.indexOf(a)<0&&o.push(a),e=n[o.indexOf(a)%n.length],i[a]=e),r instanceof Function?r(e,t):e}},e.prototype.generateLevelColor=function(){var t=this.config,e=t.color_pattern,i=t.color_threshold,n="value"===i.unit,r=i.values&&i.values.length?i.values:[],o=i.max||100;return v(i)&&v(e)?function(t){var i,a=e[e.length-1];for(i=0;il&&(s=s.filter(function(t){return(""+t).indexOf(".")<0}));return s},e.prototype.getGridFilterToRemove=function(t){return t?function(e){var i=!1;return[].concat(t).forEach(function(t){("value"in t&&e.value===t.value||"class"in t&&e.class===t.class)&&(i=!0)}),i}:function(){return!0}},e.prototype.removeGridLines=function(t,e){var i=this.config,n=this.getGridFilterToRemove(t),o=function(t){return!n(t)},a=e?r.xgridLines:r.ygridLines,s=e?r.xgridLine:r.ygridLine;this.main.select("."+a).selectAll("."+s).filter(n).transition().duration(i.transition_duration).style("opacity",0).remove(),e?i.grid_x_lines=i.grid_x_lines.filter(o):i.grid_y_lines=i.grid_y_lines.filter(o)},e.prototype.initEventRect=function(){var t=this,e=t.config;t.main.select("."+r.chart).append("g").attr("class",r.eventRects).style("fill-opacity",0),t.eventRect=t.main.select("."+r.eventRects).append("rect").attr("class",r.eventRect),e.zoom_enabled&&t.zoom&&(t.eventRect.call(t.zoom).on("dblclick.zoom",null),e.zoom_initialRange&&t.eventRect.transition().duration(0).call(t.zoom.transform,t.zoomTransform(e.zoom_initialRange)))},e.prototype.redrawEventRect=function(){var t,e,i=this,n=i.d3,o=i.config;function a(){i.svg.select("."+r.eventRect).style("cursor",null),i.hideXGridFocus(),i.hideTooltip(),i.unexpandCircles(),i.unexpandBars()}t=i.width,e=i.height,i.main.select("."+r.eventRects).style("cursor",o.zoom_enabled?o.axis_rotated?"ns-resize":"ew-resize":null),i.eventRect.attr("x",0).attr("y",0).attr("width",t).attr("height",e).on("mouseout",o.interaction_enabled?function(){o&&(i.hasArcType()||a())}:null).on("mousemove",o.interaction_enabled?function(){var t,e,s,l;i.dragging||i.hasArcType(t)||(t=i.filterTargetsToShow(i.data.targets),e=n.mouse(this),s=i.findClosestFromTargets(t,e),!i.mouseover||s&&s.id===i.mouseover.id||(o.data_onmouseout.call(i.api,i.mouseover),i.mouseover=void 0),s?(l=(i.isScatterType(s)||!o.tooltip_grouped?[s]:i.filterByX(t,s.x)).map(function(t){return i.addName(t)}),i.showTooltip(l,this),o.point_focus_expand_enabled&&(i.unexpandCircles(),l.forEach(function(t){i.expandCircles(t.index,t.id,!1)})),i.expandBars(s.index,s.id,!0),i.showXGridFocus(l),(i.isBarType(s.id)||i.dist(s,e)i.bar_width_max?i.bar_width_max:n},e.prototype.getBars=function(t,e){return(e?this.main.selectAll("."+r.bars+this.getTargetSelectorSuffix(e)):this.main).selectAll("."+r.bar+(m(t)?"-"+t:""))},e.prototype.expandBars=function(t,e,i){i&&this.unexpandBars(),this.getBars(t,e).classed(r.EXPANDED,!0)},e.prototype.unexpandBars=function(t){this.getBars(t).classed(r.EXPANDED,!1)},e.prototype.generateDrawBar=function(t,e){var i=this.config,n=this.generateGetBarPoints(t,e);return function(t,e){var r=n(t,e),o=i.axis_rotated?1:0,a=i.axis_rotated?0:1;return"M "+r[0][o]+","+r[0][a]+" L"+r[1][o]+","+r[1][a]+" L"+r[2][o]+","+r[2][a]+" L"+r[3][o]+","+r[3][a]+" z"}},e.prototype.generateGetBarPoints=function(t,e){var i=this,n=e?i.subXAxis:i.xAxis,r=t.__max__+1,o=i.getBarW(n,r),a=i.getShapeX(o,r,t,!!e),s=i.getShapeY(!!e),l=i.getShapeOffset(i.isBarType,t,!!e),c=o*(i.config.bar_space/2),u=e?i.getSubYScale:i.getYScale;return function(t,e){var n=u.call(i,t.id)(0),r=l(t,e)||n,h=a(t),d=s(t);return i.config.axis_rotated&&(0o.width?n=o.width-a.width:n<0&&(n=4)),n},e.prototype.getYForText=function(t,e,i){var n,r=this,o=i.getBoundingClientRect();return r.config.axis_rotated?n=(t[0][0]+t[2][0]+.6*o.height)/2:(n=t[2][1],e.value<0||0===e.value&&!r.hasPositiveValue?(n+=o.height,r.isBarType(e)&&r.isSafari()?n-=3:!r.isBarType(e)&&r.isChrome()&&(n+=3)):n+=r.isBarType(e)?-3:-6),null!==e.value||r.config.axis_rotated||(nthis.height&&(n=this.height-4)),n},e.prototype.initTitle=function(){this.title=this.svg.append("text").text(this.config.title_text).attr("class",this.CLASS.title)},e.prototype.redrawTitle=function(){var t=this;t.title.attr("x",t.xForTitle.bind(t)).attr("y",t.yForTitle.bind(t))},e.prototype.xForTitle=function(){var t=this,e=t.config,i=e.title_position||"left";return 0<=i.indexOf("right")?t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width-e.title_padding.right:0<=i.indexOf("center")?(t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width)/2:e.title_padding.left},e.prototype.yForTitle=function(){var t=this;return t.config.title_padding.top+t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).height},e.prototype.getTitlePadding=function(){return this.yForTitle()+this.config.title_padding.bottom},e.prototype.initTooltip=function(){var t,e=this,i=e.config;if(e.tooltip=e.selectChart.style("position","relative").append("div").attr("class",r.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),i.tooltip_init_show){if(e.isTimeSeries()&&p(i.tooltip_init_x)){for(i.tooltip_init_x=e.parseDate(i.tooltip_init_x),t=0;t"+(a||0===a?""+a+"":"")),void 0!==(s=y(p(t[o].value,t[o].ratio,t[o].id,t[o].index,t))))){if(null===t[o].name)continue;l=y(f(t[o].name,t[o].ratio,t[o].id,t[o].index)),c=u.levelColor?u.levelColor(t[o].value):n(t[o].id),r+="",r+=""+l+"",r+=""+s+"",r+=""}return r+""},e.prototype.tooltipPosition=function(t,e,i,n){var r,o,a,s,l,c=this,u=c.config,h=c.d3,d=c.hasArcType(),f=h.mouse(n);return d?(o=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+f[0],s=(c.hasType("gauge")?c.height:c.height/2)+f[1]+20):(r=c.getSvgLeft(!0),s=u.axis_rotated?(a=(o=r+f[0]+100)+e,l=c.currentWidth-c.getCurrentPaddingRight(),c.x(t[0].x)+20):(a=(o=r+c.getCurrentPaddingLeft(!0)+c.x(t[0].x)+20)+e,l=r+c.currentWidth-c.getCurrentPaddingRight(),f[1]+15),lc.currentHeight&&(s-=i+30)),s<0&&(s=0),{top:s,left:o}},e.prototype.showTooltip=function(t,i){var n,r,o,a=this,s=a.config,l=a.hasArcType(),c=t.filter(function(t){return t&&m(t.value)}),u=s.tooltip_position||e.prototype.tooltipPosition;0!==c.length&&s.tooltip_show&&(a.tooltip.html(s.tooltip_contents.call(a,t,a.axis.getXAxisTickFormat(),a.getYFormat(l),a.color)).style("display","block"),n=a.tooltip.property("offsetWidth"),r=a.tooltip.property("offsetHeight"),o=u.call(this,c,n,r,i),a.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},e.prototype.hideTooltip=function(){this.tooltip.style("display","none")},e.prototype.setTargetType=function(t,e){var i=this,n=i.config;i.mapToTargetIds(t).forEach(function(t){i.withoutFadeIn[t]=e===n.data_types[t],n.data_types[t]=e}),t||(n.data_type=e)},e.prototype.hasType=function(t,e){var i=this.config.data_types,n=!1;return(e=e||this.data.targets)&&e.length?e.forEach(function(e){var r=i[e.id];(r&&0<=r.indexOf(t)||!r&&"line"===t)&&(n=!0)}):Object.keys(i).length?Object.keys(i).forEach(function(e){i[e]===t&&(n=!0)}):n=this.config.data_type===t,n},e.prototype.hasArcType=function(t){return this.hasType("pie",t)||this.hasType("donut",t)||this.hasType("gauge",t)},e.prototype.isLineType=function(t){var e=this.config,i=p(t)?t:t.id;return!e.data_types[i]||0<=["line","spline","area","area-spline","step","area-step"].indexOf(e.data_types[i])},e.prototype.isStepType=function(t){var e=p(t)?t:t.id;return 0<=["step","area-step"].indexOf(this.config.data_types[e])},e.prototype.isSplineType=function(t){var e=p(t)?t:t.id;return 0<=["spline","area-spline"].indexOf(this.config.data_types[e])},e.prototype.isAreaType=function(t){var e=p(t)?t:t.id;return 0<=["area","area-spline","area-step"].indexOf(this.config.data_types[e])},e.prototype.isBarType=function(t){var e=p(t)?t:t.id;return"bar"===this.config.data_types[e]},e.prototype.isScatterType=function(t){var e=p(t)?t:t.id;return"scatter"===this.config.data_types[e]},e.prototype.isPieType=function(t){var e=p(t)?t:t.id;return"pie"===this.config.data_types[e]},e.prototype.isGaugeType=function(t){var e=p(t)?t:t.id;return"gauge"===this.config.data_types[e]},e.prototype.isDonutType=function(t){var e=p(t)?t:t.id;return"donut"===this.config.data_types[e]},e.prototype.isArcType=function(t){return this.isPieType(t)||this.isDonutType(t)||this.isGaugeType(t)},e.prototype.lineData=function(t){return this.isLineType(t)?[t]:[]},e.prototype.arcData=function(t){return this.isArcType(t.data)?[t]:[]},e.prototype.barData=function(t){return this.isBarType(t)?t.values:[]},e.prototype.lineOrScatterData=function(t){return this.isLineType(t)||this.isScatterType(t)?t.values:[]},e.prototype.barOrLineData=function(t){return this.isBarType(t)||this.isLineType(t)?t.values:[]},e.prototype.isSafari=function(){var t=window.navigator.userAgent;return 0<=t.indexOf("Safari")&&t.indexOf("Chrome")<0},e.prototype.isChrome=function(){return 0<=window.navigator.userAgent.indexOf("Chrome")},e.prototype.initZoom=function(){var t,e=this,i=e.d3,n=e.config;return e.zoom=i.zoom().on("start",function(){if("scroll"===n.zoom_type){var r=i.event.sourceEvent;r&&"brush"===r.type||(t=r,n.zoom_onzoomstart.call(e.api,r))}}).on("zoom",function(){if("scroll"===n.zoom_type){var t=i.event.sourceEvent;t&&"brush"===t.type||(e.redrawForZoom(),n.zoom_onzoom.call(e.api,e.x.orgDomain()))}}).on("end",function(){if("scroll"===n.zoom_type){var r=i.event.sourceEvent;r&&"brush"===r.type||r&&t.clientX===r.clientX&&t.clientY===r.clientY||n.zoom_onzoomend.call(e.api,e.x.orgDomain())}}),e.zoom.updateDomain=function(){return i.event&&i.event.transform&&e.x.domain(i.event.transform.rescaleX(e.subX).domain()),this},e.zoom.updateExtent=function(){return this.scaleExtent([1,1/0]).translateExtent([[0,0],[e.width,e.height]]).extent([[0,0],[e.width,e.height]]),this},e.zoom.update=function(){return this.updateExtent().updateDomain()},e.zoom.updateExtent()},e.prototype.zoomTransform=function(t){var e=[this.x(t[0]),this.x(t[1])];return this.d3.zoomIdentity.scale(this.width/(e[1]-e[0])).translate(-e[0],0)},e.prototype.initDragZoom=function(){var t=this,e=t.d3,i=t.config,n=t.context=t.svg,o=t.margin.left+20.5,a=t.margin.top+.5;if("drag"===i.zoom_type&&i.zoom_enabled){var s=function(e){return e&&e.map(function(e){return t.x.invert(e)})},l=t.dragZoomBrush=e.brushX().on("start",function(){t.api.unzoom(),t.svg.select("."+r.dragZoom).classed("disabled",!1),i.zoom_onzoomstart.call(t.api,e.event.sourceEvent)}).on("brush",function(){i.zoom_onzoom.call(t.api,s(e.event.selection))}).on("end",function(){if(null!=e.event.selection){var n=s(e.event.selection);i.zoom_disableDefaultBehavior||t.api.zoom(n),t.svg.select("."+r.dragZoom).classed("disabled",!0),i.zoom_onzoomend.call(t.api,n)}});n.append("g").classed(r.dragZoom,!0).attr("clip-path",t.clipPath).attr("transform","translate("+o+","+a+")").call(l)}},e.prototype.getZoomDomain=function(){var t=this.config,e=this.d3;return[e.min([this.orgXDomain[0],t.zoom_x_min]),e.max([this.orgXDomain[1],t.zoom_x_max])]},e.prototype.redrawForZoom=function(){var t=this,e=t.d3,i=t.config,n=t.zoom,r=t.x;i.zoom_enabled&&0!==t.filterTargetsToShow(t.data.targets).length&&(n.update(),i.zoom_disableDefaultBehavior||(t.isCategorized()&&r.orgDomain()[0]===t.orgXDomain[0]&&r.domain([t.orgXDomain[0]-1e-10,r.orgDomain()[1]]),t.redraw({withTransition:!1,withY:i.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),e.event.sourceEvent&&"mousemove"===e.event.sourceEvent.type&&(t.cancelClick=!0)))},L}),function(t,e,i){var n;n=function(i){"use strict";var n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E,A,M,D,P={},O=0;n=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0,tooltipFormat:new o(' {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0,tooltipFormat:new o(' {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new o(' {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:void 0,thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,tooltipFormat:new o("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:void 0,tooltipFormat:new o("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new o(' {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0,tooltipFormat:new o("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},r=function(){var t,e;return t=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(t.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],arguments.length>2&&((e=Array.prototype.slice.call(arguments,1,-1)).unshift(t.prototype),i.extend.apply(i,e))):t.prototype=arguments[0],t.prototype.cls=t,t},i.SPFormatClass=o=r({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var n,r,o,a,s,l=this,c=t;return this.format.replace(this.fre,function(){return r=arguments[1],o=arguments[3],(n=l.precre.exec(r))?(s=n[2],r=n[1]):s=!1,void 0===(a=c[r])?"":o&&e&&e[o]?e[o].get?e[o].get(a)||a:e[o][a]||a:(h(a)&&(a=i.get("numberFormatter")?i.get("numberFormatter")(a):g(a,s,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),a)})}}),i.spformat=function(t,e){return new o(t,e)},a=function(t,e,i){return ti?i:t},s=function(t,i){var n;return 2===i?(n=e.floor(t.length/2),t.length%2?t[n]:(t[n-1]+t[n])/2):t.length%2?(n=(t.length*i+i)/4)%1?(t[e.floor(n)]+t[e.floor(n)-1])/2:t[n-1]:(n=(t.length*i+2)/4)%1?(t[e.floor(n)]+t[e.floor(n)-1])/2:t[n-1]},l=function(t){var e;switch(t){case"undefined":t=void 0;break;case"null":t=null;break;case"true":t=!0;break;case"false":t=!1;break;default:t==(e=parseFloat(t))&&(t=e)}return t},c=function(t){var e,i=[];for(e=t.length;e--;)i[e]=l(t[e]);return i},u=function(t,e){var i,n,r=[];for(i=0,n=t.length;i0;s-=n)t.splice(s,0,r);return t.join("")},d=function(t,e,i){var n;for(n=e.length;n--;)if((!i||null!==e[n])&&e[n]!==t)return!1;return!0},p=function(t){return i.isArray(t)?t:[t]},f=function(e){var i,n;if(t.createStyleSheet)try{return void(t.createStyleSheet().cssText=e)}catch(t){n=!0}(i=t.createElement("style")).type="text/css",t.getElementsByTagName("head")[0].appendChild(i),n?t.styleSheets[t.styleSheets.length-1].cssText=e:i["string"==typeof t.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},i.fn.simpledraw=function(e,n,r,o){var a,s;if(r&&(a=this.data("_jqs_vcanvas")))return a;if(!1===i.fn.sparkline.canvas)return!1;if(void 0===i.fn.sparkline.canvas){var l=t.createElement("canvas");if(l.getContext&&l.getContext("2d"))i.fn.sparkline.canvas=function(t,e,i,n){return new A(t,e,i,n)};else{if(!t.namespaces||t.namespaces.v)return i.fn.sparkline.canvas=!1,!1;t.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(t,e,i,n){return new M(t,e,i)}}}return void 0===e&&(e=i(this).innerWidth()),void 0===n&&(n=i(this).innerHeight()),a=i.fn.sparkline.canvas(e,n,this,o),(s=i(this).data("_jqs_mhandler"))&&s.registerCanvas(a),a},i.fn.cleardraw=function(){var t=this.data("_jqs_vcanvas");t&&t.reset()},i.RangeMapClass=m=r({init:function(t){var e,i,n=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&((i=e.split(":"))[0]=0===i[0].length?-1/0:parseFloat(i[0]),i[1]=0===i[1].length?1/0:parseFloat(i[1]),i[2]=t[e],n.push(i));this.map=t,this.rangelist=n||!1},get:function(t){var e,i,n,r=this.rangelist;if(void 0!==(n=this.map[t]))return n;if(r)for(e=r.length;e--;)if((i=r[e])[0]<=t&&i[1]>=t)return i[2]}}),i.range_map=function(t){return new m(t)},v=r({init:function(t,e){var n=i(t);this.$el=n,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=i(t.canvas);this.canvas=t,this.$canvas=e,e.mouseenter(i.proxy(this.mouseenter,this)),e.mouseleave(i.proxy(this.mouseleave,this)),e.click(i.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=void 0)},mouseclick:function(t){var e=i.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(e){i(t.body).unbind("mousemove.jqs"),i(t.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new y(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){i(t.body).unbind("mousemove.jqs");var e,n=this.splist,r=n.length,o=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),e=0;e
").addClass("jqvmap-label").appendTo(jQuery("body")).hide(),t.enableZoom&&(jQuery("
").addClass("jqvmap-zoomin").text("+").appendTo(t.container),jQuery("
").addClass("jqvmap-zoomout").html("−").appendTo(t.container),this.makeDraggable()),i.countries=[],n.paths){var o=this.canvas.createPath({path:n.paths[r].path});o.setFill(this.color),o.id=i.getCountryId(r),i.countries[r]=o,"svg"===this.canvas.mode?o.setAttribute("class","jqvmap-region"):jQuery(o).addClass("jqvmap-region"),jQuery(this.rootGroup).append(o)}if(jQuery(t.container).delegate("svg"===this.canvas.mode?"path":"shape","mouseover mouseout",function(e){var r=e.target,o=e.target.id.split("_").pop(),a=jQuery.Event("labelShow.jqvmap"),s=jQuery.Event("regionMouseOver.jqvmap");o=o.toLowerCase(),"mouseover"===e.type?(jQuery(t.container).trigger(s,[o,n.paths[o].name]),s.isDefaultPrevented()||i.highlight(o,r),t.showTooltip&&(i.label.text(n.paths[o].name),jQuery(t.container).trigger(a,[i.label,o]),a.isDefaultPrevented()||(i.label.show(),i.labelWidth=i.label.width(),i.labelHeight=i.label.height()))):(i.unhighlight(o,r),i.label.hide(),jQuery(t.container).trigger("regionMouseOut.jqvmap",[o,n.paths[o].name]))}),jQuery(t.container).delegate("svg"===this.canvas.mode?"path":"shape","click",function(e){var r=e.target,o=e.target.id.split("_").pop(),a=jQuery.Event("regionClick.jqvmap");if(o=o.toLowerCase(),jQuery(t.container).trigger(a,[o,n.paths[o].name]),!t.multiSelectRegion&&!a.isDefaultPrevented())for(var s in n.paths)i.countries[s].currentFillColor=i.countries[s].getOriginalFill(),i.countries[s].setFill(i.countries[s].getOriginalFill());a.isDefaultPrevented()||(i.isSelected(o)?i.deselect(o,r):i.select(o,r))}),t.showTooltip&&t.container.mousemove(function(t){if(i.label.is(":visible")){var e=t.pageX-15-i.labelWidth,n=t.pageY-15-i.labelHeight;e<0&&(e=t.pageX+15),n<0&&(n=t.pageY+15),i.label.css({left:e,top:n})}}),this.setColors(t.colors),this.canvas.canvas.appendChild(this.rootGroup),this.applyTransform(),this.colorScale=new ColorScale(t.scaleColors,t.normalizeFunction,t.valueMin,t.valueMax),t.values&&(this.values=t.values,this.setValues(t.values)),t.selectedRegions)if(t.selectedRegions instanceof Array)for(var a in t.selectedRegions)this.select(t.selectedRegions[a].toLowerCase());else this.select(t.selectedRegions.toLowerCase());if(this.bindZoomButtons(),t.pins&&(e={pins:t.pins,mode:t.pinMode},this.pinHandlers=!1,this.placePins(t.pins,t.pinMode)),t.showLabels){this.pinHandlers=!1;var s={};for(r in i.countries)"function"!=typeof i.countries[r]&&(t.pins&&t.pins[r]||(s[r]=r.toUpperCase()));e={pins:s,mode:"content"},this.placePins(s,"content")}JQVMap.mapIndex++};JQVMap.prototype={transX:0,transY:0,scale:1,baseTransX:0,baseTransY:0,baseScale:1,width:0,height:0,countries:{},countriesColors:{},countriesData:{},zoomStep:1.4,zoomMaxStep:4,zoomCurStep:1},JQVMap.xlink="http://www.w3.org/1999/xlink",JQVMap.mapIndex=1,JQVMap.maps={},function(){var t={color:1,colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,enableZoom:1,showTooltip:1,borderColor:1,borderWidth:1,borderOpacity:1,selectedRegions:1,multiSelectRegion:1},e={onLabelShow:"labelShow",onLoad:"load",onRegionOver:"regionMouseOver",onRegionOut:"regionMouseOut",onRegionClick:"regionClick",onRegionSelect:"regionSelect",onRegionDeselect:"regionDeselect",onResize:"resize"};jQuery.fn.vectorMap=function(i){var n={map:"world_en",backgroundColor:"#a5bfdd",color:"#f4f3f0",hoverColor:"#c9dfaf",hoverColors:{},selectedColor:"#c9dfaf",scaleColors:["#b6d6ff","#005ace"],normalizeFunction:"linear",enableZoom:!0,showTooltip:!0,borderColor:"#818181",borderWidth:1,borderOpacity:.25,selectedRegions:null,multiSelectRegion:!1},r=this.data("mapObject");if("addMap"===i)JQVMap.maps[arguments[1]]=arguments[2];else{if("set"!==i||!t[arguments[1]]){if("string"==typeof i&&"function"==typeof r[i])return r[i].apply(r,Array.prototype.slice.call(arguments,1));for(var o in jQuery.extend(n,i),(n.container=this).css({position:"relative",overflow:"hidden"}),r=new JQVMap(n),this.data("mapObject",r),this.unbind(".jqvmap"),e)n[o]&&this.bind(e[o]+".jqvmap",n[o]);var a=jQuery.Event("load.jqvmap");return jQuery(n.container).trigger(a,r),r}r["set"+arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1)].apply(r,Array.prototype.slice.call(arguments,2))}}}(jQuery),ColorScale.arrayToRgb=function(t){for(var e,i="#",n=0;ne?this.transY=e:this.transYt?this.transX=t:this.transXf[1].pageX?f[1].pageX+(f[0].pageX-f[1].pageX)/2:f[0].pageX+(f[1].pageX-f[0].pageX)/2,r=f[0].pageY>f[1].pageY?f[1].pageY+(f[0].pageY-f[1].pageY)/2:f[0].pageY+(f[1].pageY-f[0].pageY)/2,n-=e.left,r-=e.top,a=u.scale,o=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2))));i=f.length}),jQuery(this.container).bind("touchstart",function(){i=0}),jQuery(this.container).bind("touchend",function(){i=0})},JQVMap.prototype.placePins=function(t,e){var i=this;if((!e||"content"!==e&&"id"!==e)&&(e="content"),"content"===e?jQuery.each(t,function(t,e){if(0!==jQuery("#"+i.getCountryId(t)).length){var n=i.getPinId(t),r=jQuery("#"+n);0'+e+"
")}}):jQuery.each(t,function(t,e){if(0!==jQuery("#"+i.getCountryId(t)).length){var n=i.getPinId(t),r=jQuery("#"+n);0
'),r.append(jQuery("#"+e))}}),this.positionPins(),!this.pinHandlers){this.pinHandlers=!0;var n=function(){i.positionPins()};this.container.bind("zoomIn",n).bind("zoomOut",n).bind("drag",n)}},JQVMap.prototype.positionPins=function(){var t=this,e=this.container.find(".jqvmap-pin");jQuery.each(e,function(e,i){i=jQuery(i);var n=t.getCountryId(i.attr("for").toLowerCase()),r=jQuery("#"+n)[0].getBBox(),o=t.scale,a=t.canvas.rootGroup.getBoundingClientRect(),s=t.container[0].getBoundingClientRect(),l=r.x*o+r.width*o/2,c=r.y*o+r.height*o/2;i.css({left:a.left-s.left+l-i.width()/2,top:a.top-s.top+c-i.height()/2})})},JQVMap.prototype.removePin=function(t){t=t.toLowerCase(),jQuery("#"+this.getPinId(t)).remove()},JQVMap.prototype.removePins=function(){this.container.find(".jqvmap-pin").remove()},JQVMap.prototype.reset=function(){for(var t in this.countries)this.countries[t].setFill(this.color);this.scale=this.baseScale,this.transX=this.baseTransX,this.transY=this.baseTransY,this.applyTransform()},JQVMap.prototype.resize=function(){var t=this.baseScale;this.width/this.height>this.defaultWidth/this.defaultHeight?(this.baseScale=this.height/this.defaultHeight,this.baseTransX=Math.abs(this.width-this.defaultWidth*this.baseScale)/(2*this.baseScale)):(this.baseScale=this.width/this.defaultWidth,this.baseTransY=Math.abs(this.height-this.defaultHeight*this.baseScale)/(2*this.baseScale)),this.scale*=this.baseScale/t,this.transX*=this.baseScale/t,this.transY*=this.baseScale/t},JQVMap.prototype.select=function(t,e){t=t.toLowerCase(),e=e||jQuery("#"+this.getCountryId(t))[0],this.isSelected(t)||(this.multiSelectRegion?this.selectedRegions.push(t):this.selectedRegions=[t],jQuery(this.container).trigger("regionSelect.jqvmap",[t]),this.selectedColor&&e&&(e.currentFillColor=this.selectedColor,e.setFill(this.selectedColor)))},JQVMap.prototype.selectIndex=function(t){t=t.toLowerCase();for(var e=0;e").addClass(i.options.map.tooltip.cssClass).css("display","none"),i.$map.empty().append(i.$tooltip),t.mapael&&t.mapael.maps&&t.mapael.maps[i.options.map.name])i.mapConf=t.mapael.maps[i.options.map.name];else{if(!(t.fn.mapael&&t.fn.mapael.maps&&t.fn.mapael.maps[i.options.map.name]))throw new Error("Unknown map '"+i.options.map.name+"'");i.mapConf=t.fn.mapael.maps[i.options.map.name],window.console&&window.console.warn&&window.console.warn("Extending $.fn.mapael is deprecated (map '"+i.options.map.name+"')")}if(i.paper=new e(i.$map[0],i.mapConf.width,i.mapConf.height),!0===i.isRaphaelBBoxBugPresent())throw i.destroy(),new Error("Can't get boundary box for text (is your container hidden? See #135)");i.$container.addClass("mapael"),i.options.map.tooltip.css&&i.$tooltip.css(i.options.map.tooltip.css),i.setViewBox(0,0,i.mapConf.width,i.mapConf.height),i.options.map.width?i.paper.setSize(i.options.map.width,i.mapConf.height*(i.options.map.width/i.mapConf.width)):i.initResponsiveSize(),t.each(i.mapConf.elems,function(t){i.areas[t]={},i.areas[t].options=i.getElemOptions(i.options.map.defaultArea,i.options.areas[t]?i.options.areas[t]:{},i.options.legend.area),i.areas[t].mapElem=i.paper.path(i.mapConf.elems[t])}),i.options.map.beforeInit&&i.options.map.beforeInit(i.$container,i.paper,i.options),t.each(i.mapConf.elems,function(t){i.initElem(t,"area",i.areas[t])}),i.links=i.drawLinksCollection(i.options.links),t.each(i.options.plots,function(t){i.plots[t]=i.drawPlot(t)}),i.$container.on("zoom.mapael",function(t,e){i.onZoomEvent(t,e)}),i.options.map.zoom.enabled&&i.initZoom(i.mapConf.width,i.mapConf.height,i.options.map.zoom),i.options.map.zoom.init!==n&&(i.options.map.zoom.init.animDuration===n&&(i.options.map.zoom.init.animDuration=0),i.$container.trigger("zoom",i.options.map.zoom.init)),i.createLegends("area",i.areas,1),i.createLegends("plot",i.plots,i.paper.width/i.mapConf.width),i.$container.on("update.mapael",function(t,e){i.onUpdateEvent(t,e)}),i.$container.on("showElementsInRange.mapael",function(t,e){i.onShowElementsInRange(t,e)}),i.initDelegatedMapEvents(),i.initDelegatedCustomEvents(),i.options.map.afterInit&&i.options.map.afterInit(i.$container,i.paper,i.areas,i.plots,i.options),t(i.paper.desc).append(" and Mapael "+i.version+" (https://www.vincentbroute.fr/mapael/)")},destroy:function(){var e=this;e.$container.off(".mapael"),e.$map.off(".mapael"),e.onResizeEvent&&t(window).off("resize.mapael",e.onResizeEvent),e.$map.empty(),e.$map.html(e.initialMapHTMLContent),t.each(e.legends,function(i){t.each(e.legends[i],function(t){var n=e.legends[i][t];n.container.empty(),n.container.html(n.initialHTMLContent)})}),e.$container.removeClass("mapael"),e.$container.removeData("mapael"),e.container=n,e.$container=n,e.options=n,e.paper=n,e.$map=n,e.$tooltip=n,e.mapConf=n,e.areas=n,e.plots=n,e.links=n,e.customEventHandlers=n},initResponsiveSize:function(){var e=this,i=null,n=function(t){var i=e.$map.width();if(e.paper.width!==i){var n=i/e.mapConf.width;e.paper.setSize(i,e.mapConf.height*n),!0!==t&&e.options.legend.redrawOnResize&&e.createLegends("plot",e.plots,n)}};e.onResizeEvent=function(){clearTimeout(i),i=setTimeout(function(){n()},e.resizeFilteringTO)},t(window).on("resize.mapael",e.onResizeEvent),n(!0)},extendDefaultOptions:function(e){return e=t.extend(!0,{},r.prototype.defaultOptions,e),t.each(["area","plot"],function(i,n){if(t.isArray(e.legend[n]))for(var o=0;o").addClass(i.cssClass).html(i.content).attr("title",i.title);r.on("click.mapael",c[e]),o.$map.append(r)}),o.options.map.zoom.mousewheel&&o.$map.on("mousewheel.mapael",function(t){var e=t.deltaY>0?1:-1,i=o.mapPagePositionToXY(t.pageX,t.pageY);o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+e,x:i.x,y:i.y}),t.preventDefault()}),o.options.map.zoom.touch&&(o.$map.on("touchstart.mapael",function(t){2===t.originalEvent.touches.length&&(o.zoomCenterX=(t.originalEvent.touches[0].pageX+t.originalEvent.touches[1].pageX)/2,o.zoomCenterY=(t.originalEvent.touches[0].pageY+t.originalEvent.touches[1].pageY)/2,o.previousPinchDist=Math.sqrt(Math.pow(t.originalEvent.touches[1].pageX-t.originalEvent.touches[0].pageX,2)+Math.pow(t.originalEvent.touches[1].pageY-t.originalEvent.touches[0].pageY,2)))}),o.$map.on("touchmove.mapael",function(t){var e=0,i=0;if(2===t.originalEvent.touches.length){if(e=Math.sqrt(Math.pow(t.originalEvent.touches[1].pageX-t.originalEvent.touches[0].pageX,2)+Math.pow(t.originalEvent.touches[1].pageY-t.originalEvent.touches[0].pageY,2)),Math.abs(e-o.previousPinchDist)>15){var n=o.mapPagePositionToXY(o.zoomCenterX,o.zoomCenterY);i=(e-o.previousPinchDist)/Math.abs(e-o.previousPinchDist),o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+i,x:n.x,y:n.y}),o.previousPinchDist=e}return!1}})),o.$map.on("dragstart",function(){return!1});var u=null,h=null;t("body").on("mouseup.mapael"+(r.touch?" touchend.mapael":""),function(){a=!1,clearTimeout(u),clearTimeout(h),u=setTimeout(function(){o.panning=!1},o.panningEndFilteringTO)}),o.$map.on("mousedown.mapael"+(r.touch?" touchstart.mapael":""),function(t){clearTimeout(u),clearTimeout(h),t.pageX!==n?(a=!0,s=t.pageX,l=t.pageY):1===t.originalEvent.touches.length&&(a=!0,s=t.originalEvent.touches[0].pageX,l=t.originalEvent.touches[0].pageY)}).on("mousemove.mapael"+(r.touch?" touchmove.mapael":""),function(c){var d=o.zoomData.zoomLevel,f=0,p=0;if(clearTimeout(u),clearTimeout(h),c.pageX!==n?(f=c.pageX,p=c.pageY):1===c.originalEvent.touches.length?(f=c.originalEvent.touches[0].pageX,p=c.originalEvent.touches[0].pageY):a=!1,a&&0!==d){var g=(s-f)/(1+d*r.step)*(e/o.paper.width),m=(l-p)/(1+d*r.step)*(i/o.paper.height),v=Math.min(Math.max(0,o.currentViewBox.x+g),e-o.currentViewBox.w),y=Math.min(Math.max(0,o.currentViewBox.y+m),i-o.currentViewBox.h);return(Math.abs(g)>5||Math.abs(m)>5)&&(t.extend(o.zoomData,{panX:v,panY:y,zoomX:v+o.currentViewBox.w/2,zoomY:y+o.currentViewBox.h/2}),o.setViewBox(v,y,o.currentViewBox.w,o.currentViewBox.h),h=setTimeout(function(){o.$map.trigger("afterPanning",{x1:v,y1:y,x2:v+o.currentViewBox.w,y2:y+o.currentViewBox.h})},o.panningFilteringTO),s=f,l=p,o.panning=!0),!1}})},mapPagePositionToXY:function(t,e){var i=this,n=i.$map.offset(),r=i.options.map.width?i.mapConf.width/i.options.map.width:i.mapConf.width/i.$map.width(),o=1/(1+i.zoomData.zoomLevel*i.options.map.zoom.step);return{x:o*r*(t-n.left)+i.zoomData.panX,y:o*r*(e-n.top)+i.zoomData.panY}},onZoomEvent:function(e,i){var r,o,a,s,l,c=this,u=c.zoomData.zoomLevel,h=1+c.zoomData.zoomLevel*c.options.map.zoom.step,d=i.animDuration!==n?i.animDuration:c.options.map.zoom.animDuration;if(i.area!==n){if(c.areas[i.area]===n)throw new Error("Unknown area '"+i.area+"'");var f=i.areaMargin!==n?i.areaMargin:10,p=c.areas[i.area].mapElem.getBBox(),g=p.width+2*f,m=p.height+2*f;i.x=p.cx,i.y=p.cy,u=Math.min(Math.floor((c.mapConf.width/g-1)/c.options.map.zoom.step),Math.floor((c.mapConf.height/m-1)/c.options.map.zoom.step))}else if(i.level!==n&&(u="string"==typeof i.level?"+"===i.level.slice(0,1)||"-"===i.level.slice(0,1)?c.zoomData.zoomLevel+parseInt(i.level,10):parseInt(i.level,10):i.level<0?c.zoomData.zoomLevel+i.level:i.level),i.plot!==n){if(c.plots[i.plot]===n)throw new Error("Unknown plot '"+i.plot+"'");i.x=c.plots[i.plot].coords.x,i.y=c.plots[i.plot].coords.y}else{if(i.latitude!==n&&i.longitude!==n){var v=c.mapConf.getCoords(i.latitude,i.longitude);i.x=v.x,i.y=v.y}i.x===n&&(i.x=c.currentViewBox.x+c.currentViewBox.w/2),i.y===n&&(i.y=c.currentViewBox.y+c.currentViewBox.h/2)}l=1+(u=Math.min(Math.max(u,c.options.map.zoom.minLevel),c.options.map.zoom.maxLevel))*c.options.map.zoom.step,a=c.mapConf.width/l,s=c.mapConf.height/l,0===u?(r=0,o=0):(i.fixedCenter!==n&&!0===i.fixedCenter?(r=c.zoomData.panX+(i.x-c.zoomData.panX)*(l-h)/l,o=c.zoomData.panY+(i.y-c.zoomData.panY)*(l-h)/l):(r=i.x-a/2,o=i.y-s/2),r=Math.min(Math.max(0,r),c.mapConf.width-a),o=Math.min(Math.max(0,o),c.mapConf.height-s)),l===h&&r===c.zoomData.panX&&o===c.zoomData.panY||(d>0?c.animateViewBox(r,o,a,s,d,c.options.map.zoom.animEasing):(c.setViewBox(r,o,a,s),clearTimeout(c.zoomTO),c.zoomTO=setTimeout(function(){c.$map.trigger("afterZoom",{x1:r,y1:o,x2:r+a,y2:o+s})},c.zoomFilteringTO)),t.extend(c.zoomData,{zoomLevel:u,panX:r,panY:o,zoomX:r+a/2,zoomY:o+s/2}))},onShowElementsInRange:function(t,e){var i=this;e.animDuration===n&&(e.animDuration=0),e.hiddenOpacity===n&&(e.hiddenOpacity=.3),e.ranges&&e.ranges.area&&i.showElemByRange(e.ranges.area,i.areas,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.plot&&i.showElemByRange(e.ranges.plot,i.plots,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.link&&i.showElemByRange(e.ranges.link,i.links,e.hiddenOpacity,e.animDuration),e.afterShowRange&&e.afterShowRange()},showElemByRange:function(e,i,r,o){var a=this,s={};e.min===n&&e.max===n||(e={0:e}),t.each(e,function(o){var a=e[o];if(a.min===n&&a.max===n)return!0;t.each(i,function(t){var e=i[t].options.value;if("object"!=typeof e&&(e=[e]),e[o]===n)return!0;a.min!==n&&e[o]a.max?s[t]=r:s[t]=1})}),t.each(s,function(t){a.setElementOpacity(i[t],s[t],o)})},setElementOpacity:function(t,e,i){e>0&&(t.mapElem.show(),t.textElem&&t.textElem.show()),this.animate(t.mapElem,{opacity:e},i,function(){0===e&&t.mapElem.hide()}),this.animate(t.textElem,{opacity:e},i,function(){0===e&&t.textElem.hide()})},onUpdateEvent:function(e,i){var r=this;if("object"==typeof i){var o=0,a=i.animDuration?i.animDuration:0,s=function(t){r.animate(t.mapElem,{opacity:0},a,function(){t.mapElem.remove()}),r.animate(t.textElem,{opacity:0},a,function(){t.textElem.remove()})},l=function(t){t.mapElem.attr({opacity:0}),t.textElem&&t.textElem.attr({opacity:0}),r.setElementOpacity(t,t.mapElem.originalAttrs.opacity!==n?t.mapElem.originalAttrs.opacity:1,a)};if("object"==typeof i.mapOptions&&(!0===i.replaceOptions?r.options=r.extendDefaultOptions(i.mapOptions):t.extend(!0,r.options,i.mapOptions),i.mapOptions.areas===n&&i.mapOptions.plots===n&&i.mapOptions.legend===n||t("[data-type='legend-elem']",r.$container).each(function(e,i){"1"===t(i).attr("data-hidden")&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})})),"object"==typeof i.deletePlotKeys)for(;o0&&l(r.plots[t]))}),"object"==typeof i.newLinks){var c=r.drawLinksCollection(i.newLinks);t.extend(r.links,c),t.extend(r.options.links,i.newLinks),a>0&&t.each(c,function(t){l(c[t])})}if(t.each(r.areas,function(t){("object"==typeof i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultArea||"object"==typeof i.mapOptions.areas&&"object"==typeof i.mapOptions.areas[t]||"object"==typeof i.mapOptions.legend&&"object"==typeof i.mapOptions.legend.area)||!0===i.replaceOptions)&&(r.areas[t].options=r.getElemOptions(r.options.map.defaultArea,r.options.areas[t]?r.options.areas[t]:{},r.options.legend.area),r.updateElem(r.areas[t],a))}),t.each(r.plots,function(t){("object"==typeof i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultPlot||"object"==typeof i.mapOptions.plots&&"object"==typeof i.mapOptions.plots[t]||"object"==typeof i.mapOptions.legend&&"object"==typeof i.mapOptions.legend.plot)||!0===i.replaceOptions)&&(r.plots[t].options=r.getElemOptions(r.options.map.defaultPlot,r.options.plots[t]?r.options.plots[t]:{},r.options.legend.plot),r.setPlotCoords(r.plots[t]),r.setPlotAttributes(r.plots[t]),r.updateElem(r.plots[t],a))}),t.each(r.links,function(t){("object"==typeof i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultLink||"object"==typeof i.mapOptions.links&&"object"==typeof i.mapOptions.links[t])||!0===i.replaceOptions)&&(r.links[t].options=r.getElemOptions(r.options.map.defaultLink,r.options.links[t]?r.options.links[t]:{},{}),r.updateElem(r.links[t],a))}),i.mapOptions&&("object"==typeof i.mapOptions.legend||"object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultArea||"object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultPlot)&&(t("[data-type='legend-elem']",r.$container).each(function(e,i){"1"===t(i).attr("data-hidden")&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})}),r.createLegends("area",r.areas,1),r.options.map.width?r.createLegends("plot",r.plots,r.options.map.width/r.mapConf.width):r.createLegends("plot",r.plots,r.$map.width()/r.mapConf.width)),"object"==typeof i.setLegendElemsState)t.each(i.setLegendElemsState,function(e,i){var o=r.$container.find("."+e)[0];o!==n&&t("[data-type='legend-elem']",o).each(function(e,n){("0"===t(n).attr("data-hidden")&&"hide"===i||"1"===t(n).attr("data-hidden")&&"show"===i)&&t(n).trigger("click",{hideOtherElems:!1,animDuration:a})})});else{var u="hide"===i.setLegendElemsState?"hide":"show";t("[data-type='legend-elem']",r.$container).each(function(e,i){("0"===t(i).attr("data-hidden")&&"hide"===u||"1"===t(i).attr("data-hidden")&&"show"===u)&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})})}r.initDelegatedCustomEvents(),i.afterUpdate&&i.afterUpdate(r.$container,r.paper,r.areas,r.plots,r.options,r.links)}},setPlotCoords:function(t){var e=this;if(t.options.x!==n&&t.options.y!==n)t.coords={x:t.options.x,y:t.options.y};else if(t.options.plotsOn!==n&&e.areas[t.options.plotsOn]!==n){var i=e.areas[t.options.plotsOn].mapElem.getBBox();t.coords={x:i.cx,y:i.cy}}else t.coords=e.mapConf.getCoords(t.options.latitude,t.options.longitude)},setPlotAttributes:function(t){"square"===t.options.type?(t.options.attrs.width=t.options.size,t.options.attrs.height=t.options.size,t.options.attrs.x=t.coords.x-t.options.size/2,t.options.attrs.y=t.coords.y-t.options.size/2):"image"===t.options.type?(t.options.attrs.src=t.options.url,t.options.attrs.width=t.options.width,t.options.attrs.height=t.options.height,t.options.attrs.x=t.coords.x-t.options.width/2,t.options.attrs.y=t.coords.y-t.options.height/2):"svg"===t.options.type?(t.options.attrs.path=t.options.path,t.options.attrs.transform===n&&(t.options.attrs.transform=""),t.mapElem.originalBBox===n&&(t.mapElem.originalBBox=t.mapElem.getBBox()),t.mapElem.baseTransform="m"+t.options.width/t.mapElem.originalBBox.width+",0,0,"+t.options.height/t.mapElem.originalBBox.height+","+(t.coords.x-t.options.width/2)+","+(t.coords.y-t.options.height/2),t.options.attrs.transform=t.mapElem.baseTransform+t.options.attrs.transform):(t.options.attrs.x=t.coords.x,t.options.attrs.y=t.coords.y,t.options.attrs.r=t.options.size/2)},drawLinksCollection:function(e){var i=this,r={},o={},a={},s={},l={};return t.each(e,function(t){var c=i.getElemOptions(i.options.map.defaultLink,e[t],{});if(r="string"==typeof e[t].between[0]?i.options.plots[e[t].between[0]]:e[t].between[0],o="string"==typeof e[t].between[1]?i.options.plots[e[t].between[1]]:e[t].between[1],r.plotsOn!==n&&i.areas[r.plotsOn]!==n){var u=i.areas[r.plotsOn].mapElem.getBBox();a={x:u.cx,y:u.cy}}else r.latitude!==n&&r.longitude!==n?a=i.mapConf.getCoords(r.latitude,r.longitude):(a.x=r.x,a.y=r.y);if(o.plotsOn!==n&&i.areas[o.plotsOn]!==n){var h=i.areas[o.plotsOn].mapElem.getBBox();s={x:h.cx,y:h.cy}}else o.latitude!==n&&o.longitude!==n?s=i.mapConf.getCoords(o.latitude,o.longitude):(s.x=o.x,s.y=o.y);l[t]=i.drawLink(t,a.x,a.y,s.x,s.y,c)}),l},drawLink:function(t,e,i,n,r,o){var a={options:o},s=(e+n)/2,l=(i+r)/2,c=-1/((r-i)/(n-e)),u=l-c*s,h=Math.sqrt((n-e)*(n-e)+(r-i)*(r-i)),d=1+c*c,f=-2*s+2*c*u-2*c*l,p=f*f-4*d*(s*s+u*u-u*l-l*u+l*l-o.factor*h*(o.factor*h)),g=0,m=0;return o.factor>0?m=c*(g=(-f+Math.sqrt(p))/(2*d))+u:m=c*(g=(-f-Math.sqrt(p))/(2*d))+u,a.mapElem=this.paper.path("m "+e+","+i+" C "+g+","+m+" "+n+","+r+" "+n+","+r),this.initElem(t,"link",a),a},isAttrsChanged:function(t,e){for(var i in e)if(e.hasOwnProperty(i)&&void 0===t[i]||e[i]!==t[i])return!0;return!1},updateElem:function(e,i){var r,o,a,s=this;if(!0===e.options.toFront&&e.mapElem.toFront(),e.options.href!==n?(e.options.attrs.cursor="pointer",e.options.text&&(e.options.text.attrs.cursor="pointer")):"pointer"===e.mapElem.attrs.cursor&&(e.options.attrs.cursor="auto",e.options.text&&(e.options.text.attrs.cursor="auto")),e.textElem){e.options.text.attrs.text=e.options.text.content,r=e.mapElem.getBBox(),(e.options.size||e.options.width&&e.options.height)&&("image"===e.options.type||"svg"===e.options.type?(o=(e.options.width-r.width)/2,a=(e.options.height-r.height)/2):(o=(e.options.size-r.width)/2,a=(e.options.size-r.height)/2),r.x-=o,r.x2+=o,r.y-=a,r.y2+=a);var l=s.getTextPosition(r,e.options.text.position,e.options.text.margin);e.options.text.attrs.x=l.x,e.options.text.attrs.y=l.y,e.options.text.attrs["text-anchor"]=l.textAnchor,s.setHoverOptions(e.textElem,e.options.text.attrs,e.options.text.attrsHover),s.isAttrsChanged(e.textElem.attrs,e.options.text.attrs)&&s.animate(e.textElem,e.options.text.attrs,i)}s.setHoverOptions(e.mapElem,e.options.attrs,e.options.attrsHover),s.isAttrsChanged(e.mapElem.attrs,e.options.attrs)&&s.animate(e.mapElem,e.options.attrs,i),e.options.cssClass!==n&&t(e.mapElem.node).removeClass().addClass(e.options.cssClass)},drawPlot:function(t){var e=this,i={};return i.options=e.getElemOptions(e.options.map.defaultPlot,e.options.plots[t]?e.options.plots[t]:{},e.options.legend.plot),e.setPlotCoords(i),"svg"===i.options.type&&(i.mapElem=e.paper.path(i.options.path)),e.setPlotAttributes(i),"square"===i.options.type?i.mapElem=e.paper.rect(i.options.attrs.x,i.options.attrs.y,i.options.attrs.width,i.options.attrs.height):"image"===i.options.type?i.mapElem=e.paper.image(i.options.attrs.src,i.options.attrs.x,i.options.attrs.y,i.options.attrs.width,i.options.attrs.height):"svg"===i.options.type||(i.mapElem=e.paper.circle(i.options.attrs.x,i.options.attrs.y,i.options.attrs.r)),e.initElem(t,"plot",i),i},setEventHandlers:function(e,i,r){var o=this;t.each(r.options.eventHandlers,function(t){o.customEventHandlers[t]===n&&(o.customEventHandlers[t]={}),o.customEventHandlers[t][i]===n&&(o.customEventHandlers[t][i]={}),o.customEventHandlers[t][i][e]=r})},drawLegend:function(i,r,o,a,s){var l=this,c={},u={},h=0,d=0,f=null,p=null,g={},m=0,v=0,y=0,b=0,L=[],x=(c=t("."+i.cssClass,l.$container)).html();for(c.empty(),u=new e(c.get(0)),t(u.canvas).attr({"data-legend-type":r,"data-legend-id":s}),d=h=0,i.title&&""!==i.title&&(p=(f=u.text(i.marginLeftTitle,0,i.title).attr(i.titleAttrs)).getBBox(),f.attr({y:.5*p.height}),h=i.marginLeftTitle+p.width,d+=i.marginBottomTitle+p.height),m=0;m0&&""!==o[a].cssClass&&0!==t("."+o[a].cssClass,r.$container).length&&(r.legends[e][a]=r.drawLegend(o[a],e,i,n,a))},setHoverOptions:function(i,n,r){"SVG"!==e.type&&delete r.transform,i.attrsHover=r,i.attrsHover.transform?i.originalAttrs=t.extend({transform:"s1"},n):i.originalAttrs=n},elemEnter:function(t){var e=this;if(t!==n){if(t.mapElem!==n&&e.animate(t.mapElem,t.mapElem.attrsHover,t.mapElem.attrsHover.animDuration),t.textElem!==n&&e.animate(t.textElem,t.textElem.attrsHover,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==n){var i="";e.$tooltip.removeClass().addClass(e.options.map.tooltip.cssClass),t.options.tooltip.content!==n&&(i="function"==typeof t.options.tooltip.content?t.options.tooltip.content(t.mapElem):t.options.tooltip.content),t.options.tooltip.cssClass!==n&&e.$tooltip.addClass(t.options.tooltip.cssClass),e.$tooltip.html(i).css("display","block")}t.mapElem===n&&t.textElem===n||e.paper.safari&&e.paper.safari()}},elemHover:function(t,e){var i=this;if(t!==n&&t.options.tooltip!==n){var r=e.pageX,o=e.pageY,a=10,s=20;"object"==typeof t.options.tooltip.offset&&(void 0!==t.options.tooltip.offset.left&&(a=t.options.tooltip.offset.left),void 0!==t.options.tooltip.offset.top&&(s=t.options.tooltip.offset.top));var l={left:Math.min(i.$map.width()-i.$tooltip.outerWidth()-5,r-i.$map.offset().left+a),top:Math.min(i.$map.height()-i.$tooltip.outerHeight()-5,o-i.$map.offset().top+s)};"object"==typeof t.options.tooltip.overflow&&(!0===t.options.tooltip.overflow.right&&(l.left=r-i.$map.offset().left+10),!0===t.options.tooltip.overflow.bottom&&(l.top=o-i.$map.offset().top+20)),i.$tooltip.css(l)}},elemOut:function(t){var e=this;t!==n&&(t.mapElem!==n&&e.animate(t.mapElem,t.mapElem.originalAttrs,t.mapElem.attrsHover.animDuration),t.textElem!==n&&e.animate(t.textElem,t.textElem.originalAttrs,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==n&&e.$tooltip.css({display:"none",top:-1e3,left:-1e3}),t.mapElem===n&&t.textElem===n||e.paper.safari&&e.paper.safari())},elemClick:function(t){t!==n&&(this.panning||t.options.href===n||window.open(t.options.href,t.options.target))},getElemOptions:function(e,i,r){var o=t.extend(!0,{},e,i);if(o.value!==n)if(t.isArray(r))for(var a=0;a=e.slices[i].min)&&(e.slices[i].max===n||t<=e.slices[i].max))return e.slices[i];return{}},animateViewBox:function(t,i,n,r,o,a){var s=this,l=s.currentViewBox.x,c=t-l,u=s.currentViewBox.y,h=i-u,d=s.currentViewBox.w,f=n-d,p=s.currentViewBox.h,g=r-p;s.zoomAnimCVBTarget||(s.zoomAnimCVBTarget={x:t,y:i,w:n,h:r});var m=d>n?"in":"out",v=e.easing_formulas[a||"linear"],y=o-2*o/100,b=s.zoomAnimStartTime;s.zoomAnimStartTime=(new Date).getTime();var L=function(){s.cancelAnimationFrame(s.zoomAnimID);var e=(new Date).getTime()-s.zoomAnimStartTime;if(es.currentViewBox.w||wn)||s.setViewBox(a,x,w,_),s.zoomAnimID=s.requestAnimationFrame(L)}else s.zoomAnimStartTime=null,s.zoomAnimCVBTarget=null,s.currentViewBox.w!==n&&s.setViewBox(t,i,n,r),s.$map.trigger("afterZoom",{x1:t,y1:i,x2:t+n,y2:i+r})};L()},requestAnimationFrame:function(t){return this._requestAnimationFrameFn.call(window,t)},cancelAnimationFrame:function(t){this._cancelAnimationFrameFn.call(window,t)},_requestAnimationFrameFn:function(){var t,e=(t=(new Date).getTime(),function(i){var n=(new Date).getTime();if(!(n-t>16))return setTimeout(function(){e(i)},0);t=n,i(n)});return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||e}(),_cancelAnimationFrameFn:window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelAnimationFrame||window.mozCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.msCancelRequestAnimationFrame||window.oCancelAnimationFrame||window.oCancelRequestAnimationFrame||clearTimeout,setViewBox:function(t,e,i,n){var r=this;r.currentViewBox.x=t,r.currentViewBox.y=e,r.currentViewBox.w=i,r.currentViewBox.h=n,r.paper.setViewBox(t,e,i,n,!1)},_nonAnimatedAttrs:["arrow-end","arrow-start","gradient","class","cursor","text-anchor","font","font-family","font-style","font-weight","letter-spacing","src","href","target","title","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit"],animate:function(t,e,i,r){if(t)if(i>0){for(var o={},a=0;ai;i++)callback_params=n,callback_params.splice(0,0,t[i]),r.push(e.apply(this,callback_params));return r},o=function(t){var e,i=[];for(e=0;e0&&"object"==typeof t[i][0]?t[i]=s(t[i],e):t[i]=a(t[i],e));return t},l=function(t,e){t=t.replace("#","");return"jQuery"in window&&e?$("#"+t,e)[0]:document.getElementById(t)},c=function(t){var e=document,i=function(t){if("object"!=typeof window.google||!window.google.maps)return"object"==typeof window.console&&window.console.error&&console.error("Google Maps API is required. Please register the following JavaScript library https://maps.googleapis.com/maps/api/js."),function(){};if(!this)return new i(t);t.zoom=t.zoom||15,t.mapType=t.mapType||"roadmap";var r,o=function(t,e){return void 0===t?e:t},a=this,s=["bounds_changed","center_changed","click","dblclick","drag","dragend","dragstart","idle","maptypeid_changed","projection_changed","resize","tilesloaded","zoom_changed"],c=["mousemove","mouseout","mouseover"],u=["el","lat","lng","mapType","width","height","markerClusterer","enableNewStyle"],h=t.el||t.div,d=t.markerClusterer,f=google.maps.MapTypeId[t.mapType.toUpperCase()],p=new google.maps.LatLng(t.lat,t.lng),g=o(t.zoomControl,!0),m=t.zoomControlOpt||{style:"DEFAULT",position:"TOP_LEFT"},v=m.style||"DEFAULT",y=m.position||"TOP_LEFT",b=o(t.panControl,!0),L=o(t.mapTypeControl,!0),x=o(t.scaleControl,!0),w=o(t.streetViewControl,!0),_=o(_,!0),S={},C={zoom:this.zoom,center:p,mapTypeId:f},k={panControl:b,zoomControl:g,zoomControlOptions:{style:google.maps.ZoomControlStyle[v],position:google.maps.ControlPosition[y]},mapTypeControl:L,scaleControl:x,streetViewControl:w,overviewMapControl:_};if("string"==typeof t.el||"string"==typeof t.div?h.indexOf("#")>-1?this.el=l(h,t.context):this.el=function(t,e){var i=t.replace(".","");return"jQuery"in this&&e?$("."+i,e)[0]:document.getElementsByClassName(i)[0]}.apply(this,[h,t.context]):this.el=h,void 0===this.el||null===this.el)throw"No element defined.";for(window.context_menu=window.context_menu||{},window.context_menu[a.el.id]={},this.controls=[],this.overlays=[],this.layers=[],this.singleLayers={},this.markers=[],this.polylines=[],this.routes=[],this.polygons=[],this.infoWindow=null,this.overlay_el=null,this.zoom=t.zoom,this.registered_events={},this.el.style.width=t.width||this.el.scrollWidth||this.el.offsetWidth,this.el.style.height=t.height||this.el.scrollHeight||this.el.offsetHeight,google.maps.visualRefresh=t.enableNewStyle,r=0;r
'+o.title+""}if(l("gmaps_context_menu")){var s=l("gmaps_context_menu");s.innerHTML=i;var c=s.getElementsByTagName("a"),u=c.length;for(r=0;u>r;r++){var h=c[r];google.maps.event.clearListeners(h,"click"),google.maps.event.addDomListenerOnce(h,"click",function(i){i.preventDefault(),n[this.id.replace(t+"_","")].action.apply(a,[e]),a.hideContextMenu()},!1)}var d=function(t){var e=0,i=0;if(t.offsetParent)do{e+=t.offsetLeft,i+=t.offsetTop}while(t=t.offsetParent);return[e,i]}.apply(this,[a.el]),f=d[0]+e.pixel.x-15,p=d[1]+e.pixel.y-15;s.style.left=f+"px",s.style.top=p+"px"}};this.buildContextMenu=function(t,e){if("marker"===t){e.pixel={};var i=new google.maps.OverlayView;i.setMap(a.map),i.draw=function(){var n=i.getProjection(),r=e.marker.getPosition();e.pixel=n.fromLatLngToContainerPixel(r),T(t,e)}}else T(t,e);var n=l("gmaps_context_menu");setTimeout(function(){n.style.display="block"},0)},this.setContextMenu=function(t){window.context_menu[a.el.id][t.control]={};var i,n=e.createElement("ul");for(i in t.options)if(t.options.hasOwnProperty(i)){var r=t.options[i];window.context_menu[a.el.id][t.control][r.name]={title:r.title,action:r.action}}n.id="gmaps_context_menu",n.style.display="none",n.style.position="absolute",n.style.minWidth="100px",n.style.background="white",n.style.listStyle="none",n.style.padding="8px",n.style.boxShadow="2px 2px 6px #ccc",l("gmaps_context_menu")||e.body.appendChild(n);var o=l("gmaps_context_menu");google.maps.event.addDomListener(o,"mouseout",function(t){t.relatedTarget&&this.contains(t.relatedTarget)||window.setTimeout(function(){o.style.display="none"},400)},!1)},this.hideContextMenu=function(){var t=l("gmaps_context_menu");t&&(t.style.display="none")};var E=function(e,i){google.maps.event.addListener(e,i,function(e){null==e&&(e=this),t[i].apply(this,[e]),a.hideContextMenu()})};google.maps.event.addListener(this.map,"zoom_changed",this.hideContextMenu);for(var A=0;At;t++)"boolean"==typeof this.markers[t].visible&&this.markers[t].visible&&e.push(this.markers[t].getPosition());this.fitLatLngBounds(e)},this.fitLatLngBounds=function(t){var e,i=t.length,n=new google.maps.LatLngBounds;for(e=0;i>e;e++)n.extend(t[e]);this.map.fitBounds(n)},this.setCenter=function(t,e,i){this.map.panTo(new google.maps.LatLng(t,e)),i&&i()},this.getElement=function(){return this.el},this.zoomIn=function(t){t=t||1,this.zoom=this.map.getZoom()+t,this.map.setZoom(this.zoom)},this.zoomOut=function(t){t=t||1,this.zoom=this.map.getZoom()-t,this.map.setZoom(this.zoom)};var D,P=[];for(D in this.map)"function"!=typeof this.map[D]||this[D]||P.push(D);for(r=0;r-1)(r=this.markers[n]).setMap(null),this.markerClusterer&&this.markerClusterer.removeMarker(r),c.fire("marker_removed",r,this)}for(i=0;i0&&t.paths[0].length>0&&(t.paths=o(r(t.paths,s,e)));for(var i=new google.maps.Polygon(t),a=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],l=0;l0&&t.locations[0].length>0&&(t.locations=o(r([t.locations],s,!1)));var e=t.callback;delete t.callback;var i=new google.maps.ElevationService;if(t.path){var a={path:t.locations,samples:t.samples};i.getElevationAlongPath(a,function(t,i){e&&"function"==typeof e&&e(t,i)})}else delete t.path,delete t.samples,i.getElevationForLocations(t,function(t,i){e&&"function"==typeof e&&e(t,i)})},c.prototype.cleanRoute=c.prototype.removePolylines,c.prototype.renderRoute=function(t,e){var i,r="string"==typeof e.panel?document.getElementById(e.panel.replace("#","")):e.panel;e.panel=r,e=n({map:this.map},e),i=new google.maps.DirectionsRenderer(e),this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(t,e,n){n===google.maps.DirectionsStatus.OK&&i.setDirections(e)}})},c.prototype.drawRoute=function(t){var e=this;this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(i){if(i.length>0){var n={path:i[i.length-1].overview_path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(n.icons=t.icons),e.drawPolyline(n),t.callback&&t.callback(i[i.length-1])}}})},c.prototype.travelRoute=function(t){if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,callback:function(e){if(e.length>0&&t.start&&t.start(e[e.length-1]),e.length>0&&t.step){var i=e[e.length-1];if(i.legs.length>0)for(var n,r=i.legs[0].steps,o=0;n=r[o];o++)n.step_number=o,t.step(n,i.legs[0].steps.length-1)}e.length>0&&t.end&&t.end(e[e.length-1])}});else if(t.route&&t.route.legs.length>0)for(var e,i=t.route.legs[0].steps,n=0;e=i[n];n++)e.step_number=n,t.step(e)},c.prototype.drawSteppedRoute=function(t){var e=this;if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,error:t.error,callback:function(i){if(i.length>0&&t.start&&t.start(i[i.length-1]),i.length>0&&t.step){var n=i[i.length-1];if(n.legs.length>0)for(var r,o=n.legs[0].steps,a=0;r=o[a];a++){r.step_number=a;var s={path:r.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(s.icons=t.icons),e.drawPolyline(s),t.step(r,n.legs[0].steps.length-1)}}i.length>0&&t.end&&t.end(i[i.length-1])}});else if(t.route&&t.route.legs.length>0)for(var i,n=t.route.legs[0].steps,r=0;i=n[r];r++){i.step_number=r;var o={path:i.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(o.icons=t.icons),e.drawPolyline(o),t.step(i)}},c.Route=function(t){this.origin=t.origin,this.destination=t.destination,this.waypoints=t.waypoints,this.map=t.map,this.route=t.route,this.step_count=0,this.steps=this.route.legs[0].steps,this.steps_length=this.steps.length;var e={path:new google.maps.MVCArray,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(e.icons=t.icons),this.polyline=this.map.drawPolyline(e).getPath()},c.Route.prototype.getRoute=function(t){var i=this;this.map.getRoutes({origin:this.origin,destination:this.destination,travelMode:t.travelMode,waypoints:this.waypoints||[],error:t.error,callback:function(){i.route=e[0],t.callback&&t.callback.call(i)}})},c.Route.prototype.back=function(){if(this.step_count>0){this.step_count--;var t=this.route.legs[0].steps[this.step_count].path;for(var e in t)t.hasOwnProperty(e)&&this.polyline.pop()}},c.Route.prototype.forward=function(){if(this.step_count0){e.markers=[];for(var i=0;i0){var n=this.polylines[0];e.polyline={},e.polyline.path=google.maps.geometry.encoding.encodePath(n.getPath()),e.polyline.strokeColor=n.strokeColor,e.polyline.strokeOpacity=n.strokeOpacity,e.polyline.strokeWeight=n.strokeWeight}return c.staticMapURL(e)},c.staticMapURL=function(t){function e(t,e){if("#"===t[0]&&(t=t.replace("#","0x"),e)){if(e=parseFloat(e),0===(e=Math.min(1,Math.max(e,0))))return"0x00000000";1===(e=(255*e).toString(16)).length&&(e+=e),t=t.slice(0,8)+e}return t}var i,n=[],r=("file:"===location.protocol?"http:":location.protocol)+"//maps.googleapis.com/maps/api/staticmap";t.url&&(r=t.url,delete t.url),r+="?";var o=t.markers;delete t.markers,!o&&t.marker&&(o=[t.marker],delete t.marker);var a=t.styles;delete t.styles;var s=t.polyline;if(delete t.polyline,t.center)n.push("center="+t.center),delete t.center;else if(t.address)n.push("center="+t.address),delete t.address;else if(t.lat)n.push(["center=",t.lat,",",t.lng].join("")),delete t.lat,delete t.lng;else if(t.visible){var l=encodeURI(t.visible.join("|"));n.push("visible="+l)}var c=t.size;c?(c.join&&(c=c.join("x")),delete t.size):c="630x300",n.push("size="+c),t.zoom||!1===t.zoom||(t.zoom=15);var u=!t.hasOwnProperty("sensor")||!!t.sensor;for(var h in delete t.sensor,n.push("sensor="+u),t)t.hasOwnProperty(h)&&n.push(h+"="+t[h]);if(o)for(var d,f,p=0;i=o[p];p++){for(var h in d=[],i.size&&"normal"!==i.size?(d.push("size:"+i.size),delete i.size):i.icon&&(d.push("icon:"+encodeURI(i.icon)),delete i.icon),i.color&&(d.push("color:"+i.color.replace("#","0x")),delete i.color),i.label&&(d.push("label:"+i.label[0].toUpperCase()),delete i.label),f=i.address?i.address:i.lat+","+i.lng,delete i.address,delete i.lat,delete i.lng,i)i.hasOwnProperty(h)&&d.push(h+":"+i[h]);d.length||0===p?(d.push(f),d=d.join("|"),n.push("markers="+encodeURI(d))):(d=n.pop()+encodeURI("|"+f),n.push(d))}if(a)for(p=0;pr;r++)for(var o=this.getPaths().getAt(r),a=o.getLength(),s=a-1,l=0;a>l;l++){var c=o.getAt(l),u=o.getAt(s);(c.lng()=t.lng()||u.lng()=t.lng())&&c.lat()+(t.lng()-c.lng())/(u.lng()-c.lng())*(u.lat()-c.lat())>>0;if(0===i)return-1;var n=0;if(arguments.length>1&&((n=Number(arguments[1]))!=n?n=0:0!=n&&n!=1/0&&n!=-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(var r=n>=0?n:Math.max(i-Math.abs(n),0);i>r;r++)if(r in e&&e[r]===t)return r;return-1}),c}),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,i){return e||(e=window),i||(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i,e,e.document)}:t(jQuery,window,document)}(function(t,e,i,n){function r(e){var i,n,o={};t.each(e,function(t){(i=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(i[1]+" ")&&(n=t.replace(i[0],i[2].toLowerCase()),o[n]=t,"o"===i[1]&&r(e[t]))}),e._hungarianMap=o}function o(e,i,a){var s;e._hungarianMap||r(e),t.each(i,function(r){(s=e._hungarianMap[r])===n||!a&&i[s]!==n||("o"===s.charAt(0)?(i[s]||(i[s]={}),t.extend(!0,i[s],i[r]),o(e[s],i[s],a)):i[s]=i[r])})}function a(t){var e=Gt.defaults.oLanguage,i=e.sDecimal;if(i&&Ht(i),t){var n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&Dt(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&Dt(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&i!==t&&Ht(t)}}function s(t){if(ce(t,"ordering","bSort"),ce(t,"orderMulti","bSortMulti"),ce(t,"orderClasses","bSortClasses"),ce(t,"orderCellsTop","bSortCellsTop"),ce(t,"order","aaSorting"),ce(t,"orderFixed","aaSortingFixed"),ce(t,"paging","bPaginate"),ce(t,"pagingType","sPaginationType"),ce(t,"pageLength","iDisplayLength"),ce(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":""),t=t.aoSearchCols)for(var e=0,i=t.length;e").css({position:"fixed",top:0,left:-1*t(e).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(t("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("
").css({width:"100%",height:10}))).appendTo("body"),o=r.children(),a=o.children();n.barWidth=o[0].offsetWidth-o[0].clientWidth,n.bScrollOversize=100===a[0].offsetWidth&&100!==o[0].clientWidth,n.bScrollbarLeft=1!==Math.round(a.offset().left),n.bBounding=!!r[0].getBoundingClientRect().width,r.remove()}t.extend(i.oBrowser,Gt.__browser),i.oScroll.iBarWidth=Gt.__browser.barWidth}function u(t,e,i,r,o,a){var s,l=!1;for(i!==n&&(s=i,l=!0);r!==o;)t.hasOwnProperty(r)&&(s=l?e(s,t[r],r,t):t[r],l=!0,r+=a);return s}function h(e,n){var r=Gt.defaults.column,o=e.aoColumns.length;r=t.extend({},Gt.models.oColumn,r,{nTh:n||i.createElement("th"),sTitle:r.sTitle?r.sTitle:n?n.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[o],mData:r.mData?r.mData:o,idx:o});e.aoColumns.push(r),(r=e.aoPreSearchCols)[o]=t.extend({},Gt.models.oSearch,r[o]),d(e,o,t(n).data())}function d(e,i,r){i=e.aoColumns[i];var a=e.oClasses,s=t(i.nTh);if(!i.sWidthOrig){i.sWidthOrig=s.attr("width")||null;var c=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);c&&(i.sWidthOrig=c[1])}r!==n&&null!==r&&(l(r),o(Gt.defaults.column,r),r.mDataProp!==n&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(i._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),r.sClass&&s.addClass(r.sClass),t.extend(i,r),Dt(i,r,"sWidth","sWidthOrig"),r.iDataSort!==n&&(i.aDataSort=[r.iDataSort]),Dt(i,r,"aDataSort"));var u=i.mData,h=C(u),d=i.mRender?C(i.mRender):null;r=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};i._bAttrSrc=t.isPlainObject(u)&&(r(u.sort)||r(u.type)||r(u.filter)),i._setter=null,i.fnGetData=function(t,e,i){var r=h(t,e,n,i);return d&&e?d(r,e,t,i):r},i.fnSetData=function(t,e,i){return k(u)(t,e,i)},"number"!=typeof u&&(e._rowReadObject=!0),e.oFeatures.bSort||(i.bSortable=!1,s.addClass(a.sSortableNone)),e=-1!==t.inArray("asc",i.asSorting),r=-1!==t.inArray("desc",i.asSorting),i.bSortable&&(e||r)?e&&!r?(i.sSortingClass=a.sSortableAsc,i.sSortingClassJUI=a.sSortJUIAscAllowed):!e&&r?(i.sSortingClass=a.sSortableDesc,i.sSortingClassJUI=a.sSortJUIDescAllowed):(i.sSortingClass=a.sSortable,i.sSortingClassJUI=a.sSortJUI):(i.sSortingClass=a.sSortableNone,i.sSortingClassJUI="")}function f(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;gt(t);for(var i=0,n=e.length;ip[s])o(f.length+p[s],d);else if("string"==typeof p[s])for(c=0,u=f.length;ce&&t[o]--;-1!=r&&i===n&&t.splice(r,1)}function M(t,e,i,r){var o,a=t.aoData[e],s=function(i,n){for(;i.childNodes.length;)i.removeChild(i.firstChild);i.innerHTML=w(t,e,n,"display")};if("dom"!==i&&(i&&"auto"!==i||"dom"!==a.src)){var l=a.anCells;if(l)if(r!==n)s(l[r],r);else for(i=0,o=l.length;i").appendTo(s)),i=0,n=h.length;itr").attr("role","row"),t(s).find(">tr>th, >tr>td").addClass(u.sHeaderTH),t(l).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==l)for(i=0,n=(e=e.aoFooter[0]).length;i=e.fnRecordsDisplay()?0:l,e.iInitDisplayStart=-1);l=e._iDisplayStart;var h=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,ht(e,!1);else if(c){if(!e.bDestroying&&!j(e))return}else e.iDraw++;if(0!==u.length)for(s=c?e.aoData.length:h,c=c?0:l;c",{class:a?o[0]:""}).append(t("",{valign:"top",colSpan:m(e),class:e.oClasses.sRowEmpty}).html(r))[0];Nt(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],T(e),l,h,u]),Nt(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],T(e),l,h,u]),(o=t(e.nTBody)).children().detach(),o.append(t(i)),Nt(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function F(t,e){var i=t.oFeatures,n=i.bFilter;i.bSort&&xt(t),n?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,R(t),t._drawHold=!1}function B(e){var i=e.oClasses,n=t(e.nTable),r=(n=t("
").insertBefore(n),e.oFeatures),o=t("
",{id:e.sTableId+"_wrapper",class:i.sWrapper+(e.nTFoot?"":" "+i.sNoFooter)});e.nHolding=n[0],e.nTableWrapper=o[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var a,s,l,c,u,h,d=e.sDom.split(""),f=0;f")[0],"'"==(c=d[f+1])||'"'==c){for(u="",h=2;d[f+h]!=c;)u+=d[f+h],h++;"H"==u?u=i.sJUIHeader:"F"==u&&(u=i.sJUIFooter),-1!=u.indexOf(".")?(c=u.split("."),l.id=c[0].substr(1,c[0].length-1),l.className=c[1]):"#"==u.charAt(0)?l.id=u.substr(1,u.length-1):l.className=u,f+=h}o.append(l),o=t(l)}else if(">"==s)o=o.parent();else if("l"==s&&r.bPaginate&&r.bLengthChange)a=st(e);else if("f"==s&&r.bFilter)a=G(e);else if("r"==s&&r.bProcessing)a=ut(e);else if("t"==s)a=dt(e);else if("i"==s&&r.bInfo)a=et(e);else if("p"==s&&r.bPaginate)a=lt(e);else if(0!==Gt.ext.feature.length)for(h=0,c=(l=Gt.ext.feature).length;h',c=(c=o.sSearch).match(/_INPUT_/)?c.replace("_INPUT_",l):c+l,u=(n=t("
",{id:s.f?null:r+"_filter",class:n.sFilter}).append(t("
").addClass(i.sLength);return e.aanFeatures.l||(c[0].id=n+"_length"),c.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",a[0].outerHTML)),t("select",c).val(e._iDisplayLength).on("change.DT",function(){at(e,t(this).val()),R(e)}),t(e.nTable).on("length.dt.DT",function(i,n,r){e===n&&t("select",c).val(r)}),c[0]}function lt(e){var i=e.sPaginationType,n=Gt.ext.pager[i],r="function"==typeof n,o=function(t){R(t)},a=(i=t("
").addClass(e.oClasses.sPaging+i)[0],e.aanFeatures);return r||n.fnInit(e,i,o),a.p||(i.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(r){var e,i=t._iDisplayStart,s=t._iDisplayLength,l=t.fnRecordsDisplay(),c=(i=(c=-1===s)?0:Math.ceil(i/s),s=c?1:Math.ceil(l/s),l=n(i,s),0);for(e=a.p.length;co&&(n=0):"first"==e?n=0:"previous"==e?0>(n=0<=r?n-r:0)&&(n=0):"next"==e?n+r",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function ht(e,i){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",i?"block":"none"),Nt(e,null,"processing",[e,i])}function dt(e){(h=t(e.nTable)).attr("role","grid");var i=e.oScroll;if(""===i.sX&&""===i.sY)return e.nTable;var n=i.sX,r=i.sY,o=e.oClasses,a=h.children("caption"),s=a.length?a[0]._captionSide:null,l=t(h[0].cloneNode(!1)),c=t(h[0].cloneNode(!1)),u=h.children("tfoot");u.length||(u=null),l=t("
",{class:o.sScrollWrapper}).append(t("
",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:n?n?bt(n):null:"100%"}).append(t("
",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:i.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?a:null).append(h.children("thead"))))).append(t("
",{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:n?bt(n):null}).append(h)),u&&l.append(t("
",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:n?n?bt(n):null:"100%"}).append(t("
",{class:o.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===s?a:null).append(h.children("tfoot")))));var h,d=(h=l.children())[0],f=(o=h[1],u?h[2]:null);return n&&t(o).on("scroll.DT",function(){var t=this.scrollLeft;d.scrollLeft=t,u&&(f.scrollLeft=t)}),t(o).css(r&&i.bCollapse?"max-height":"height",r),e.nScrollHead=d,e.nScrollBody=o,e.nScrollFoot=f,e.aoDrawCallback.push({fn:ft,sName:"scrolling"}),l[0]}function ft(e){var i,r,o,a,s,l=(h=e.oScroll).sX,c=h.sXInner,u=h.sY,h=h.iBarWidth,d=t(e.nScrollHead),g=d[0].style,m=(y=d.children("div"))[0].style,v=y.children("table"),y=e.nScrollBody,b=t(y),L=y.style,x=t(e.nScrollFoot).children("div"),w=x.children("table"),_=t(e.nTHead),S=t(e.nTable),C=S[0],k=C.style,T=e.nTFoot?t(e.nTFoot):null,E=e.oBrowser,A=E.bScrollOversize,M=re(e.aoColumns,"nTh"),D=[],P=[],O=[],I=[],N=function(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0};r=y.scrollHeight>y.clientHeight,e.scrollBarVis!==r&&e.scrollBarVis!==n?(e.scrollBarVis=r,f(e)):(e.scrollBarVis=r,S.children("thead, tfoot").remove(),T&&(o=T.clone().prependTo(S),i=T.find("tr"),o=o.find("tr")),a=_.clone().prependTo(S),_=_.find("tr"),r=a.find("tr"),a.find("th, td").removeAttr("tabindex"),l||(L.width="100%",d[0].style.width="100%"),t.each(H(e,a),function(t,i){s=p(e,t),i.style.width=e.aoColumns[s].sWidth}),T&&pt(function(t){t.style.width=""},o),d=S.outerWidth(),""===l?(k.width="100%",A&&(S.find("tbody").height()>y.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=bt(S.outerWidth()-h)),d=S.outerWidth()):""!==c&&(k.width=bt(c),d=S.outerWidth()),pt(N,r),pt(function(e){O.push(e.innerHTML),D.push(bt(t(e).css("width")))},r),pt(function(e,i){-1!==t.inArray(e,M)&&(e.style.width=D[i])},_),t(r).height(0),T&&(pt(N,o),pt(function(e){I.push(e.innerHTML),P.push(bt(t(e).css("width")))},o),pt(function(t,e){t.style.width=P[e]},i),t(o).height(0)),pt(function(t,e){t.innerHTML='
'+O[e]+"
",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=D[e]},r),T&&pt(function(t,e){t.innerHTML='
'+I[e]+"
",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=P[e]},o),S.outerWidth()y.offsetHeight||"scroll"==b.css("overflow-y")?d+h:d,A&&(y.scrollHeight>y.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=bt(i-h)),(""===l||""!==c)&&Mt(e,1,"Possible column misalignment",6)):i="100%",L.width=bt(i),g.width=bt(i),T&&(e.nScrollFoot.style.width=bt(i)),!u&&A&&(L.height=bt(C.offsetHeight+h)),l=S.outerWidth(),v[0].style.width=bt(l),m.width=bt(l),c=S.height()>y.clientHeight||"scroll"==b.css("overflow-y"),m[u="padding"+(E.bScrollbarLeft?"Left":"Right")]=c?h+"px":"0px",T&&(w[0].style.width=bt(l),x[0].style.width=bt(l),x[0].style[u]=c?h+"px":"0px"),S.children("colgroup").insertBefore(S.children("thead")),b.scroll(),!e.bSorted&&!e.bFiltered||e._drawHold||(y.scrollTop=0))}function pt(t,e,i){for(var n,r,o=0,a=0,s=e.length;a").appendTo(u.find("tbody"));for(u.find("thead, tfoot").remove(),u.append(t(i.nTHead).clone()).append(t(i.nTFoot).clone()),u.find("tfoot th, tfoot td").css("width",""),d=H(i,u.find("thead")[0]),n=0;n").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(i.aoData.length)for(n=0;n").css(l||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(u).appendTo(y),l&&c?u.width(c):l?(u.css("width","auto"),u.removeAttr("width"),u.width()").css("width",bt(e)).appendTo(n||i.body),o=r[0].offsetWidth;return r.remove(),o}function vt(e,i){var n=yt(e,i);if(0>n)return null;var r=e.aoData[n];return r.nTr?r.anCells[i]:t("").html(w(e,n,i,"display"))[0]}function yt(t,e){for(var i,n=-1,r=-1,o=0,a=t.aoData.length;on&&(n=i.length,r=o);return r}function bt(t){return null===t?"0px":"number"==typeof t?0>t?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Lt(e){var i,r,o,a,s,l,c=[],u=e.aoColumns;i=e.aaSortingFixed,r=t.isPlainObject(i);var h=[];for(o=function(e){e.length&&!t.isArray(e[0])?h.push(e):t.merge(h,e)},t.isArray(i)&&o(i),r&&i.pre&&o(i.pre),o(e.aaSorting),r&&i.post&&o(i.post),e=0;en?1:0))return"asc"===l.dir?i:-i;return(i=o[t])<(n=o[e])?-1:i>n?1:0}):c.sort(function(t,e){var i,n,l,c,u=r.length,h=s[t]._aSortData,d=s[e]._aSortData;for(l=0;ln?1:0})}t.bSorted=!0}function wt(t){for(var e,i,n=t.aoColumns,r=Lt(t),o=(t=t.oLanguage.oAria,0),a=n.length;o/g,"");var l=i.nTh;l.removeAttribute("aria-sort"),i.bSortable&&(0s?s+1:3));for(s=0,i=a.length;ss?s+1:3))}e.aLastSort=a}function kt(t,e){var i,n=t.aoColumns[e],r=Gt.ext.order[n.sSortDataType];r&&(i=r.call(t.oInstance,t,e,g(t,e)));for(var o,a=Gt.ext.type.order[n.sType+"-pre"],s=0,l=t.aoData.length;s=s.length?[0,i[1]]:i)})),i.search!==n&&t.extend(e.oPreviousSearch,tt(i.search)),i.columns)for(o=0,a=i.columns.length;o=i&&(e=i-n),e-=e%n,(-1===n||0>e)&&(e=0),t._iDisplayStart=e}function Ft(e,i){var n=e.renderer,r=Gt.ext.renderer[i];return t.isPlainObject(n)&&n[i]?r[n[i]]||r._:"string"==typeof n&&r[n]||r._}function Bt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function zt(t,e){var i=[],n=(i=Ee.numbers_length,Math.floor(i/2));return e<=i?i=ae(0,e):t<=n?((i=ae(0,i-2)).push("ellipsis"),i.push(e-1)):(t>=e-1-n?i=ae(e-(i-2),e):((i=ae(t-n+2,t+n-1)).push("ellipsis"),i.push(e-1)),i.splice(0,0,"ellipsis"),i.splice(0,0,0)),i.DT_el="span",i}function Ht(e){t.each({num:function(t){return Ae(t,e)},"num-fmt":function(t){return Ae(t,e,Qt)},"html-num":function(t){return Ae(t,e,$t)},"html-num-fmt":function(t){return Ae(t,e,$t,Qt)}},function(t,i){jt.type.order[t+e+"-pre"]=i,t.match(/^html\-/)&&(jt.type.search[t+e]=jt.type.search.html)})}function Vt(t){return function(){var e=[At(this[Gt.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Gt.ext.internal[t].apply(this,e)}}var jt,Wt,Ut,Yt,Gt=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new Wt(t?At(this[jt.iApiIndex]):this)},this.fnAddData=function(e,i){var r=this.api(!0),o=t.isArray(e)&&(t.isArray(e[0])||t.isPlainObject(e[0]))?r.rows.add(e):r.row.add(e);return(i===n||i)&&r.draw(),o.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),i=e.settings()[0],r=i.oScroll;t===n||t?e.draw(!1):(""!==r.sX||""!==r.sY)&&ft(i)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===n||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,i){var r=this.api(!0),o=(t=r.rows(t)).settings()[0],a=o.aoData[t[0][0]];return t.remove(),e&&e.call(this,o,a),(i===n||i)&&r.draw(),a},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,i,r,o,a){o=this.api(!0),null===e||e===n?o.search(t,i,r,a):o.column(e).search(t,i,r,a),o.draw()},this.fnGetData=function(t,e){var i=this.api(!0);if(t!==n){var r=t.nodeName?t.nodeName.toLowerCase():"";return e!==n||"td"==r||"th"==r?i.cell(t,e).data():i.row(t).data()||null}return i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==n?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),i=t.nodeName.toUpperCase();return"TR"==i?e.row(t).index():"TD"==i||"TH"==i?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,i){return this.api(!0).row(t).child(e,i).show().child()[0]},this.fnPageChange=function(t,e){var i=this.api(!0).page(t);(e===n||e)&&i.draw(!1)},this.fnSetColumnVis=function(t,e,i){t=this.api(!0).column(t).visible(e),(i===n||i)&&t.columns.adjust().draw()},this.fnSettings=function(){return At(this[jt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,i){this.api(!0).order.listener(t,e,i)},this.fnUpdate=function(t,e,i,r,o){var a=this.api(!0);return i===n||null===i?a.row(e).data(t):a.cell(e,i).data(t),(o===n||o)&&a.columns.adjust(),(r===n||r)&&a.draw(),0},this.fnVersionCheck=jt.fnVersionCheck;var i=this,r=e===n,u=this.length;for(var f in r&&(e={}),this.oApi=this.internal=jt.internal,Gt.ext.internal)f&&(this[f]=Vt(f));return this.each(function(){var f,p={},g=1").appendTo(w)),T.nTHead=i[0],0===(i=w.children("tbody")).length&&(i=t("").appendTo(w)),T.nTBody=i[0],0===(i=w.children("tfoot")).length&&e.length>0&&(""!==T.oScroll.sX||""!==T.oScroll.sY)&&(i=t("").appendTo(w)),0===i.length||0===i.children().length?w.addClass(E.sNoFooter):i.length>0&&(T.nTFoot=i[0],z(T.aoFooter,T.nTFoot)),g.aaData)for(m=0;m/g,Zt=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Kt=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Qt=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Jt=function(t){return!t||!0===t||"-"===t},te=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},ee=function(t,e){return Xt[e]||(Xt[e]=RegExp(de(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(Xt[e],"."):t},ie=function(t,e,i){var n="string"==typeof t;return!!Jt(t)||(e&&n&&(t=ee(t,e)),i&&n&&(t=t.replace(Qt,"")),!isNaN(parseFloat(t))&&isFinite(t))},ne=function(t,e,i){return!!Jt(t)||((Jt(t)||"string"==typeof t)&&!!ie(t.replace($t,""),e,i)||null)},re=function(t,e,i){var r=[],o=0,a=t.length;if(i!==n)for(;ot.length))for(var i=(e=t.slice().sort())[0],n=1,r=e.length;n")[0],pe=fe.textContent!==n,ge=/<.*?>/g,me=Gt.util.throttle,ve=[],ye=Array.prototype;Wt=function(e,i){if(!(this instanceof Wt))return new Wt(e,i);var n=[],r=function(e){(e=function(e){var i,n,r=Gt.settings,o=t.map(r,function(t){return t.nTable});return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(i=t.inArray(e,o))?[r[i]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?n=t(e):e instanceof t&&(n=e),n?n.map(function(){return-1!==(i=t.inArray(this,o))?r[i]:null}).toArray():void 0):[]}(e))&&(n=n.concat(e))};if(t.isArray(e))for(var o=0,a=e.length;ot?new Wt(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.filter.call(this,t,this);else for(var i=0,n=this.length;i").addClass(i),t("td",n).addClass(i).html(e)[0].colSpan=m(o),a.push(n[0]))};s(e,i),r._details&&r._details.detach(),r._details=t(a),r._detailsShow&&r._details.insertAfter(r.nTr)}return this}),Ut(["row().child.show()","row().child().show()"],function(){return Ce(this,!0),this}),Ut(["row().child.hide()","row().child().hide()"],function(){return Ce(this,!1),this}),Ut(["row().child.remove()","row().child().remove()"],function(){return Se(this),this}),Ut("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});var ke=/^([^:]+):(name|visIdx|visible)$/,Te=function(t,e,i,n,r){i=[],n=0;for(var o=r.length;n=0?i:a.length+i];if("function"==typeof e){var r=_e(n,o);return t.map(a,function(t,i){return e(i,Te(n,i,0,0,r),l[i])?i:null})}var c="string"==typeof e?e.match(ke):"";if(c)switch(c[2]){case"visIdx":case"visible":if((i=parseInt(c[1],10))<0){var u=t.map(a,function(t,e){return t.bVisible?e:null});return[u[u.length+i]]}return[p(n,i)];case"name":return t.map(s,function(t,e){return t===c[1]?e:null});default:return[]}return e.nodeName&&e._DT_CellIndex?[e._DT_CellIndex.column]:(i=t(l).filter(e).map(function(){return t.inArray(this,l)}).toArray()).length||!e.nodeName?i:(i=t(e).closest("*[data-dt-column]")).length?[i.data("dt-column")]:[]},n,o)},1);return r.selector.cols=e,r.selector.opts=i,r}),Yt("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),Yt("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),Yt("columns().data()","column().data()",function(){return this.iterator("column-rows",Te,1)}),Yt("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),Yt("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,i,n,r,o){return oe(e.aoData,o,"search"===t?"_aFilterData":"_aSortData",i)},1)}),Yt("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,i,n,r){return oe(t.aoData,r,"anCells",e)},1)}),Yt("columns().visible()","column().visible()",function(e,i){var r=this.iterator("column",function(i,r){if(e===n)return i.aoColumns[r].bVisible;var o,a,s,l=i.aoColumns,c=l[r],u=i.aoData;if(e!==n&&c.bVisible!==e){if(e){var h=t.inArray(!0,re(l,"bVisible"),r+1);for(o=0,a=u.length;oi;return!0},Gt.isDataTable=Gt.fnIsDataTable=function(e){var i=t(e).get(0),n=!1;return e instanceof Gt.Api||(t.each(Gt.settings,function(e,r){var o=r.nScrollHead?t("table",r.nScrollHead)[0]:null,a=r.nScrollFoot?t("table",r.nScrollFoot)[0]:null;r.nTable!==i&&o!==i&&a!==i||(n=!0)}),n)},Gt.tables=Gt.fnTables=function(e){var i=!1;t.isPlainObject(e)&&(i=e.api,e=e.visible);var n=t.map(Gt.settings,function(i){if(!e||e&&t(i.nTable).is(":visible"))return i.nTable});return i?new Wt(n):n},Gt.camelToHungarian=o,Ut("$()",function(e,i){var n=this.rows(i).nodes();n=t(n);return t([].concat(n.filter(e).toArray(),n.find(e).toArray()))}),t.each(["on","one","off"],function(e,i){Ut(i+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=t.map(e[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" ");var n=t(this.tables().nodes());return n[i].apply(n,e),this})}),Ut("clear()",function(){return this.iterator("table",function(t){E(t)})}),Ut("settings()",function(){return new Wt(this.context,this.context)}),Ut("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),Ut("data()",function(){return this.iterator("table",function(t){return re(t.aoData,"_aData")}).flatten()}),Ut("destroy()",function(i){return i=i||!1,this.iterator("table",function(n){var r,o=n.nTableWrapper.parentNode,a=n.oClasses,s=n.nTable,l=n.nTBody,c=n.nTHead,u=n.nTFoot,h=t(s),d=(l=t(l),t(n.nTableWrapper)),f=t.map(n.aoData,function(t){return t.nTr});n.bDestroying=!0,Nt(n,"aoDestroyCallback","destroy",[n]),i||new Wt(n).columns().visible(!0),d.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+n.sInstance),s!=c.parentNode&&(h.children("thead").detach(),h.append(c)),u&&s!=u.parentNode&&(h.children("tfoot").detach(),h.append(u)),n.aaSorting=[],n.aaSortingFixed=[],Ct(n),t(f).removeClass(n.asStripeClasses.join(" ")),t("th, td",c).removeClass(a.sSortable+" "+a.sSortableAsc+" "+a.sSortableDesc+" "+a.sSortableNone),l.children().detach(),l.append(f),h[c=i?"remove":"detach"](),d[c](),!i&&o&&(o.insertBefore(s,n.nTableReinsertBefore),h.css("width",n.sDestroyWidth).removeClass(a.sTable),(r=n.asDestroyStripes.length)&&l.children().each(function(e){t(this).addClass(n.asDestroyStripes[e%r])})),-1!==(o=t.inArray(n,Gt.settings))&&Gt.settings.splice(o,1)})}),t.each(["column","row","cell"],function(t,e){Ut(e+"s().every()",function(t){var i=this.selector.opts,r=this;return this.iterator(e,function(o,a,s,l,c){t.call(r[e](a,"cell"===e?s:i,"cell"===e?i:n),a,s,l,c)})})}),Ut("i18n()",function(e,i,r){var o=this.context[0];return(e=C(e)(o.oLanguage))===n&&(e=i),r!==n&&t.isPlainObject(e)&&(e=e[r]!==n?e[r]:e._),e.replace("%d",r)}),Gt.version="1.10.19",Gt.settings=[],Gt.models={},Gt.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Gt.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Gt.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Gt.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},Gt.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(Gt.defaults),Gt.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},r(Gt.defaults.column),Gt.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:n,oAjaxData:n,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Bt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Bt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,i=e+t,n=this.aiDisplay.length,r=this.oFeatures,o=r.bPaginate;return r.bServerSide?!1===o||-1===t?e+n:Math.min(e+t,this._iRecordsDisplay):!o||i>n||-1===t?n:i},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Gt.ext=jt={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Gt.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Gt.version},t.extend(jt,{afnFiltering:jt.search,aTypes:jt.type.detect,ofnSearch:jt.type.search,oSort:jt.type.order,afnSortData:jt.order,aoFeatures:jt.feature,oApi:jt.internal,oStdClasses:jt.classes,oPagination:jt.pager}),t.extend(Gt.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ee=Gt.ext.pager;t.extend(Ee,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[zt(t,e)]},simple_numbers:function(t,e){return["previous",zt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",zt(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",zt(t,e),"last"]},_numbers:zt,numbers_length:7}),t.extend(!0,Gt.ext.renderer,{pageButton:{_:function(e,r,o,a,s,l){var c,u,h,d=e.oClasses,f=e.oLanguage.oPaginate,p=e.oLanguage.oAria.paginate||{},g=0,m=function(i,n){var r,a,h,v,y=function(t){ct(e,t.data.action,!0)};for(r=0,a=n.length;r").appendTo(i),m(h,v);else{switch(c=null,u="",v){case"ellipsis":i.append('');break;case"first":c=f.sFirst,u=v+(s>0?"":" "+d.sPageButtonDisabled);break;case"previous":c=f.sPrevious,u=v+(s>0?"":" "+d.sPageButtonDisabled);break;case"next":c=f.sNext,u=v+(s",{class:d.sPageButton+" "+u,"aria-controls":e.sTableId,"aria-label":p[v],"data-dt-idx":g,tabindex:e.iTabIndex,id:0===o&&"string"==typeof v?e.sTableId+"_"+v:null}).html(c).appendTo(i),{action:v},y),g++)}};try{h=t(r).find(i.activeElement).data("dt-idx")}catch(t){}m(t(r).empty(),a),h!==n&&t(r).find("[data-dt-idx="+h+"]").focus()}}}),t.extend(Gt.ext.type.detect,[function(t,e){var i=e.oLanguage.sDecimal;return ie(t,i)?"num"+i:null},function(t){if(t&&!(t instanceof Date)&&!Zt.test(t))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||Jt(t)?"date":null},function(t,e){var i=e.oLanguage.sDecimal;return ie(t,i,!0)?"num-fmt"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return ne(t,i)?"html-num"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return ne(t,i,!0)?"html-num-fmt"+i:null},function(t){return Jt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(Gt.ext.type.search,{html:function(t){return Jt(t)?t:"string"==typeof t?t.replace(qt," ").replace($t,""):""},string:function(t){return Jt(t)?t:"string"==typeof t?t.replace(qt," "):t}});var Ae=function(t,e,i,n){return 0===t||t&&"-"!==t?(e&&(t=ee(t,e)),t.replace&&(i&&(t=t.replace(i,"")),n&&(t=t.replace(n,""))),1*t):-1/0};t.extend(jt.type.order,{"date-pre":function(t){return t=Date.parse(t),isNaN(t)?-1/0:t},"html-pre":function(t){return Jt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return Jt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return te?1:0},"string-desc":function(t,e){return te?-1:0}}),Ht(""),t.extend(!0,Gt.ext.renderer,{header:{_:function(e,i,n,r){t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=n.idx,i.removeClass(n.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:n.sSortingClass))})},jqueryui:function(e,i,n,r){t("
").addClass(r.sSortJUIWrapper).append(i.contents()).append(t("").addClass(r.sSortIcon+" "+n.sSortingClassJUI)).appendTo(i),t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=n.idx,i.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:n.sSortingClass),i.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==s[t]?r.sSortJUIAsc:"desc"==s[t]?r.sSortJUIDesc:n.sSortingClassJUI))})}}});var Me=function(t){return"string"==typeof t?t.replace(//g,">").replace(/"/g,"""):t};return Gt.render={number:function(t,e,i,n,r){return{display:function(o){if("number"!=typeof o&&"string"!=typeof o)return o;var a=0>o?"-":"",s=parseFloat(o);return isNaN(s)?Me(o):(s=s.toFixed(i),o=Math.abs(s),s=parseInt(o,10),o=i?e+(o-s).toFixed(i).substring(2):"",a+(n||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+o+(r||""))}}},text:function(){return{display:Me,filter:Me}}},t.extend(Gt.ext.internal,{_fnExternApiFunc:Vt,_fnBuildAjax:V,_fnAjaxUpdate:j,_fnAjaxParameters:W,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:h,_fnColumnOptions:d,_fnAdjustColumnSizing:f,_fnVisibleToColumnIndex:p,_fnColumnIndexToVisible:g,_fnVisbleColumns:m,_fnGetColumns:v,_fnColumnTypes:y,_fnApplyColumnDefs:b,_fnHungarianMap:r,_fnCamelToHungarian:o,_fnLanguageCompat:a,_fnBrowserDetect:c,_fnAddData:L,_fnAddTr:x,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==n?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,i,n){return t.inArray(n,e.aoData[i].anCells)},_fnGetCellData:w,_fnSetCellData:_,_fnSplitObjNotation:S,_fnGetObjectDataFn:C,_fnSetObjectDataFn:k,_fnGetDataMaster:T,_fnClearTable:E,_fnDeleteIndex:A,_fnInvalidate:M,_fnGetRowElements:D,_fnCreateTr:P,_fnBuildHead:I,_fnDrawHead:N,_fnDraw:R,_fnReDraw:F,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:H,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:q,_fnFilterColumn:$,_fnFilter:Z,_fnFilterCreateSearch:K,_fnEscapeRegex:de,_fnFilterData:Q,_fnFeatureHtmlInfo:et,_fnUpdateInfo:it,_fnInfoMacros:nt,_fnInitialise:rt,_fnInitComplete:ot,_fnLengthChange:at,_fnFeatureHtmlLength:st,_fnFeatureHtmlPaginate:lt,_fnPageChange:ct,_fnFeatureHtmlProcessing:ut,_fnProcessingDisplay:ht,_fnFeatureHtmlTable:dt,_fnScrollDraw:ft,_fnApplyToChildren:pt,_fnCalculateColumnWidths:gt,_fnThrottle:me,_fnConvertToWidth:mt,_fnGetWidestNode:vt,_fnGetMaxLenString:yt,_fnStringToCss:bt,_fnSortFlatten:Lt,_fnSort:xt,_fnSortAria:wt,_fnSortListener:_t,_fnSortAttachListener:St,_fnSortingClasses:Ct,_fnSortData:kt,_fnSaveState:Tt,_fnLoadState:Et,_fnSettingsFromNode:At,_fnLog:Mt,_fnMap:Dt,_fnBindAction:Ot,_fnCallbackReg:It,_fnCallbackFire:Nt,_fnLengthOverflow:Rt,_fnRenderer:Ft,_fnDataSource:Bt,_fnRowAttributes:O,_fnExtend:Pt,_fnCalculateEnd:function(){}}),t.fn.dataTable=Gt,Gt.$=t,t.fn.dataTableSettings=Gt.settings,t.fn.dataTableExt=Gt.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(Gt,function(e,i){t.fn.DataTable[e]=i}),t.fn.dataTable}),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,i){return e||(e=window),i&&i.fn.dataTable||(i=require("datatables.net")(e,i).$),t(i,e,e.document)}:t(jQuery,window,document)}(function(t,e,i,n){var r=t.fn.dataTable;return t.extend(!0,r.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),t.extend(r.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),r.ext.renderer.pageButton.bootstrap=function(e,o,a,s,l,c){var u,h,d,f=new r.Api(e),p=e.oClasses,g=e.oLanguage.oPaginate,m=e.oLanguage.oAria.paginate||{},v=0,y=function(i,n){var r,o,s,d,b=function(e){e.preventDefault(),!t(e.currentTarget).hasClass("disabled")&&f.page()!=e.data.action&&f.page(e.data.action).draw("page")};for(r=0,o=n.length;r",{class:p.sPageButton+" "+h,id:0===a&&"string"==typeof d?e.sTableId+"_"+d:null}).append(t("",{href:"#","aria-controls":e.sTableId,"aria-label":m[d],"data-dt-idx":v,tabindex:e.iTabIndex,class:"page-link"}).html(u)).appendTo(i),e.oApi._fnBindAction(s,{action:d},b),v++)}};try{d=t(o).find(i.activeElement).data("dt-idx")}catch(t){}y(t(o).empty().html('
    ').children("ul"),s),d!==n&&t(o).find("[data-dt-idx="+d+"]").focus()},r}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.JSZip=t()}}(function(){return function t(e,i,n){function r(a,s){if(!i[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=i[a]={exports:{}};e[a][0].call(c.exports,function(t){var i=e[a][1][t];return r(i||t)},c,c.exports,t,e,i,n)}return i[a].exports}for(var o="function"==typeof require&&require,a=0;a>2,s=(3&i)<<4|(r=t.charCodeAt(h++))>>4,l=(15&r)<<2|(o=t.charCodeAt(h++))>>6,c=63&o,isNaN(r)?l=c=64:isNaN(o)&&(c=64),u=u+n.charAt(a)+n.charAt(s)+n.charAt(l)+n.charAt(c);return u},i.decode=function(t,e){var i,r,o,a,s,l,c="",u=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");u>4,r=(15&a)<<4|(s=n.indexOf(t.charAt(u++)))>>2,o=(3&s)<<6|(l=n.indexOf(t.charAt(u++))),c+=String.fromCharCode(i),64!=s&&(c+=String.fromCharCode(r)),64!=l&&(c+=String.fromCharCode(o));return c}},{}],2:[function(t,e,i){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=n},{}],3:[function(t,e,i){"use strict";i.STORE={magic:"\0\0",compress:function(t){return t},uncompress:function(t){return t},compressInputType:null,uncompressInputType:null},i.DEFLATE=t("./flate")},{"./flate":8}],4:[function(t,e,i){"use strict";var n=t("./utils"),r=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];e.exports=function(t,e){if(void 0===t||!t.length)return 0;var i="string"!==n.getTypeOf(t);void 0===e&&(e=0);var o=0;e^=-1;for(var a=0,s=t.length;a>>8^r[255&(e^o)];return-1^e}},{"./utils":21}],5:[function(t,e,i){"use strict";var n=t("./utils");function r(t){this.data=null,this.length=0,this.index=0}r.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length=this.index;e--)i=(i<<8)+this.byteAt(e);return this.index+=t,i},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},e.exports=r},{"./utils":21}],6:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!1,i.date=null,i.compression=null,i.comment=null},{}],7:[function(t,e,i){"use strict";var n=t("./utils");i.string2binary=function(t){return n.string2binary(t)},i.string2Uint8Array=function(t){return n.transformTo("uint8array",t)},i.uint8Array2String=function(t){return n.transformTo("string",t)},i.string2Blob=function(t){var e=n.transformTo("arraybuffer",t);return n.arrayBuffer2Blob(e)},i.arrayBuffer2Blob=function(t){return n.arrayBuffer2Blob(t)},i.transformTo=function(t,e){return n.transformTo(t,e)},i.getTypeOf=function(t){return n.getTypeOf(t)},i.checkSupport=function(t){return n.checkSupport(t)},i.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,i.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,i.pretty=function(t){return n.pretty(t)},i.findCompression=function(t){return n.findCompression(t)},i.isRegExp=function(t){return n.isRegExp(t)}},{"./utils":21}],8:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=t("pako");i.uncompressInputType=n?"uint8array":"array",i.compressInputType=n?"uint8array":"array",i.magic="\b\0",i.compress=function(t){return r.deflateRaw(t)},i.uncompress=function(t){return r.inflateRaw(t)}},{pako:24}],9:[function(t,e,i){"use strict";var n=t("./base64");function r(t,e){if(!(this instanceof r))return new r(t,e);this.files={},this.comment=null,this.root="",t&&this.load(t,e),this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}r.prototype=t("./object"),r.prototype.load=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.utils=t("./deprecatedPublicUtils"),r.base64={encode:function(t){return n.encode(t)},decode:function(t){return n.decode(t)}},r.compressions=t("./compressions"),e.exports=r},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(t,e,i){"use strict";var n=t("./base64"),r=t("./zipEntries");e.exports=function(t,e){var i,o,a,s;for((e=e||{}).base64&&(t=n.decode(t)),i=(o=new r(t,e)).files,a=0;a>>=8;return n},L=function(){var t,e,i={};for(t=0;t0?t.substring(0,e):""},_=function(t,e){return"/"!=t.slice(-1)&&(t+="/"),e=void 0!==e&&e,this.files[t]||x.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},S=function(t,e){var i,n=new u;return t._data instanceof u?(n.uncompressedSize=t._data.uncompressedSize,n.crc32=t._data.crc32,0===n.uncompressedSize||t.dir?(e=c.STORE,n.compressedContent="",n.crc32=0):t._data.compressionMethod===e.magic?n.compressedContent=t._data.getCompressedContent():(i=t._data.getContent(),n.compressedContent=e.compress(r.transformTo(e.compressInputType,i)))):((i=m(t))&&0!==i.length&&!t.dir||(e=c.STORE,i=""),n.uncompressedSize=i.length,n.crc32=o(i),n.compressedContent=e.compress(r.transformTo(e.compressInputType,i))),n.compressedSize=n.compressedContent.length,n.compressionMethod=e.magic,n},C=function(t,e,i,n){i.compressedContent;var s,l,c,u,h=r.transformTo("string",d.utf8encode(e.name)),f=e.comment||"",p=r.transformTo("string",d.utf8encode(f)),g=h.length!==e.name.length,m=p.length!==f.length,v=e.options,y="",L="",x="";c=e._initialMetadata.dir!==e.dir?e.dir:v.dir,s=(u=e._initialMetadata.date!==e.date?e.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),g&&(L=b(1,1)+b(o(h),4)+h,y+="up"+b(L.length,2)+L),m&&(x=b(1,1)+b(this.crc32(p),4)+p,y+="uc"+b(x.length,2)+x);var w="";return w+="\n\0",w+=g||m?"\0\b":"\0\0",w+=i.compressionMethod,w+=b(s,2),w+=b(l,2),w+=b(i.crc32,4),w+=b(i.compressedSize,4),w+=b(i.uncompressedSize,4),w+=b(h.length,2),w+=b(y.length,2),{fileRecord:a.LOCAL_FILE_HEADER+w+h+y,dirRecord:a.CENTRAL_FILE_HEADER+"\0"+w+b(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+b(n,4)+h+y+p,compressedObject:i}},k={load:function(t,e){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(t){var e,i,n,r,o=[];for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],r=new y(n.name,n._data,L(n.options)),i=e.slice(this.root.length,e.length),e.slice(0,this.root.length)===this.root&&t(i,r)&&o.push(r));return o},file:function(t,e,i){if(1===arguments.length){if(r.isRegExp(t)){var n=t;return this.filter(function(t,e){return!e.dir&&n.test(t)})}return this.filter(function(e,i){return!i.dir&&e===t})[0]||null}return t=this.root+t,x.call(this,t,e,i),this},folder:function(t){if(!t)return this;if(r.isRegExp(t))return this.filter(function(e,i){return i.dir&&t.test(e)});var e=this.root+t,i=_.call(this,e),n=this.clone();return n.root=i.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!=t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var i=this.filter(function(e,i){return i.name.slice(0,t.length)===t}),n=0;n=0;--o)if(this.data[o]===e&&this.data[o+1]===i&&this.data[o+2]===n&&this.data[o+3]===r)return o;return-1},r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.index,this.index+t);return this.index+=t,e},e.exports=r},{"./dataReader":5}],19:[function(t,e,i){"use strict";var n=t("./utils"),r=function(t){this.data=new Uint8Array(t),this.index=0};r.prototype={append:function(t){0!==t.length&&(t=n.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},e.exports=r},{"./utils":21}],20:[function(t,e,i){"use strict";for(var n=t("./utils"),r=t("./support"),o=t("./nodeBuffer"),a=new Array(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;a[254]=a[254]=1;var l=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0?e:0===i?e:i+a[t[i]]>e?i:e},c=function(t){var e,i,r,o,s=t.length,l=new Array(2*s);for(i=0,e=0;e4)l[i++]=65533,e+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&e1?l[i++]=65533:r<65536?l[i++]=r:(r-=65536,l[i++]=55296|r>>10&1023,l[i++]=56320|1023&r)}return l.length!==i&&(l.subarray?l=l.subarray(0,i):l.length=i),n.applyFromCharCode(l)};i.utf8encode=function(t){return r.nodebuffer?o(t,"utf-8"):function(t){var e,i,n,o,a,s=t.length,l=0;for(o=0;o>>6,e[a++]=128|63&i):i<65536?(e[a++]=224|i>>>12,e[a++]=128|i>>>6&63,e[a++]=128|63&i):(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63,e[a++]=128|i>>>6&63,e[a++]=128|63&i);return e}(t)},i.utf8decode=function(t){if(r.nodebuffer)return n.transformTo("nodebuffer",t).toString("utf-8");for(var e=[],i=0,o=(t=n.transformTo(r.uint8array?"uint8array":"array",t)).length;i1;)try{"array"===a||"nodebuffer"===a?n.push(String.fromCharCode.apply(null,t.slice(s,Math.min(s+e,r)))):n.push(String.fromCharCode.apply(null,t.subarray(s,Math.min(s+e,r)))),s+=e}catch(t){e=Math.floor(e/2)}return n.join("")}function c(t,e){for(var i=0;i1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==i)throw new Error(a[i]);e.header&&n.deflateSetHeader(this.strm,e.header)};function c(t,e){var i=new l(e);if(i.push(t,!0),i.err)throw i.msg;return i.result}l.prototype.push=function(t,e){var i,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,s.input="string"==typeof t?o.string2buf(t):t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(l),s.next_out=0,s.avail_out=l),1!==(i=n.deflate(s,a))&&0!==i)return this.onEnd(i),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===a)&&("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==i);return 4!==a||(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,0===i)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=l,i.deflate=c,i.deflateRaw=function(t,e){return(e=e||{}).raw=!0,c(t,e)},i.gzip=function(t,e){return(e=e||{}).gzip=!0,c(t,e)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(t,e,i){"use strict";var n=t("./zlib/inflate.js"),r=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),u=function(t){this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,e.windowBits);if(i!==a.Z_OK)throw new Error(s[i]);this.header=new c,n.inflateGetHeader(this.strm,this.header)};function h(t,e){var i=new u(e);if(i.push(t,!0),i.err)throw i.msg;return i.result}u.prototype.push=function(t,e){var i,s,l,c,u,h=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,h.input="string"==typeof t?o.binstring2buf(t):t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new r.Buf8(d),h.next_out=0,h.avail_out=d),(i=n.inflate(h,a.Z_NO_FLUSH))!==a.Z_STREAM_END&&i!==a.Z_OK)return this.onEnd(i),this.ended=!0,!1;h.next_out&&(0===h.avail_out||i===a.Z_STREAM_END||0===h.avail_in&&s===a.Z_FINISH)&&("string"===this.options.to?(l=o.utf8border(h.output,h.next_out),c=h.next_out-l,u=o.buf2string(h.output,l),h.next_out=c,h.avail_out=d-c,c&&r.arraySet(h.output,h.output,l,c,0),this.onData(u)):this.onData(r.shrinkBuf(h.output,h.next_out)))}while(h.avail_in>0&&i!==a.Z_STREAM_END);return i===a.Z_STREAM_END&&(s=a.Z_FINISH),s!==a.Z_FINISH||(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===a.Z_OK)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=u,i.inflate=h,i.inflateRaw=function(t,e){return(e=e||{}).raw=!0,h(t,e)},i.ungzip=h},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var o=0;o=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&r))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var i="",a=0;a>>6,e[a++]=128|63&i):i<65536?(e[a++]=224|i>>>12,e[a++]=128|i>>>6&63,e[a++]=128|63&i):(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63,e[a++]=128|i>>>6&63,e[a++]=128|63&i);return e},i.buf2binstring=function(t){return l(t,t.length)},i.binstring2buf=function(t){for(var e=new n.Buf8(t.length),i=0,r=e.length;i4)c[n++]=65533,i+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&i1?c[n++]=65533:r<65536?c[n++]=r:(r-=65536,c[n++]=55296|r>>10&1023,c[n++]=56320|1023&r)}return l(c,n)},i.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0?e:0===i?e:i+a[t[i]]>e?i:e}},{"./common":27}],29:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){for(var r=65535&t|0,o=t>>>16&65535|0,a=0;0!==i;){i-=a=i>2e3?2e3:i;do{o=o+(r=r+e[n++]|0)|0}while(--a);r%=65521,o%=65521}return r|o<<16|0}},{}],30:[function(t,e,i){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(t,e,i){"use strict";var n=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e,i,r){var o=n,a=r+i;t^=-1;for(var s=r;s>>8^o[255&(t^e[s])];return-1^t}},{}],32:[function(t,e,i){"use strict";var n=t("../utils/common"),r=t("./trees"),o=t("./adler32"),a=t("./crc32"),s=t("./messages"),l=0,c=1,u=3,h=4,d=5,f=0,p=1,g=-2,m=-3,v=-5,y=-1,b=1,L=2,x=3,w=4,_=0,S=2,C=8,k=9,T=15,E=8,A=286,M=30,D=19,P=2*A+1,O=15,I=3,N=258,R=N+I+1,F=32,B=42,z=69,H=73,V=91,j=103,W=113,U=666,Y=1,G=2,X=3,q=4,$=3;function Z(t,e){return t.msg=s[e],e}function K(t){return(t<<1)-(t>4?9:0)}function Q(t){for(var e=t.length;--e>=0;)t[e]=0}function J(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(n.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function tt(t,e){r._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,J(t.strm)}function et(t,e){t.pending_buf[t.pending++]=e}function it(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function nt(t,e){var i,n,r=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-R?t.strstart-(t.w_size-R):0,c=t.window,u=t.w_mask,h=t.prev,d=t.strstart+N,f=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(i=e)+a]===p&&c[i+a-1]===f&&c[i]===c[o]&&c[++i]===c[o+1]){o+=2,i++;do{}while(c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&oa){if(t.match_start=e,a=n,n>=s)break;f=c[o+a-1],p=c[o+a]}}}while((e=h[e&u])>l&&0!=--r);return a<=t.lookahead?a:t.lookahead}function rt(t){var e,i,r,s,l,c,u,h,d,f,p=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-R)){n.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=i=t.hash_size;do{r=t.head[--e],t.head[e]=r>=p?r-p:0}while(--i);e=i=p;do{r=t.prev[--e],t.prev[e]=r>=p?r-p:0}while(--i);s+=p}if(0===t.strm.avail_in)break;if(c=t.strm,u=t.window,h=t.strstart+t.lookahead,d=s,f=void 0,(f=c.avail_in)>d&&(f=d),i=0===f?0:(c.avail_in-=f,n.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=o(c.adler,u,f,h):2===c.state.wrap&&(c.adler=a(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),t.lookahead+=i,t.lookahead+t.insert>=I)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<=I&&(t.ins_h=(t.ins_h<=I)if(n=r._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=I&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-I,n=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<15&&(s=2,r-=16),o<1||o>k||i!==C||r<8||r>15||e<0||e>9||a<0||a>w)return Z(t,g);8===r&&(r=9);var l=new ct;return t.state=l,l.strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<>1,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=i,ht(t)}st=[new lt(0,0,0,0,function(t,e){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(rt(t),0===t.lookahead&&e===l)return Y;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,tt(t,!1),0===t.strm.avail_out))return Y;if(t.strstart-t.block_start>=t.w_size-R&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):(t.strstart>t.block_start&&(tt(t,!1),t.strm.avail_out),Y)}),new lt(4,4,8,4,ot),new lt(4,5,16,8,ot),new lt(4,6,32,32,ot),new lt(4,4,16,16,at),new lt(8,16,32,32,at),new lt(8,16,128,128,at),new lt(8,32,128,256,at),new lt(32,128,258,1024,at),new lt(32,258,258,4096,at)],i.deflateInit=function(t,e){return dt(t,e,C,T,E,_)},i.deflateInit2=dt,i.deflateReset=ht,i.deflateResetKeep=ut,i.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?g:(t.state.gzhead=e,f):g},i.deflate=function(t,e){var i,n,o,s;if(!t||!t.state||e>d||e<0)return t?Z(t,g):g;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===U&&e!==h)return Z(t,0===t.avail_out?v:g);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status===B)if(2===n.wrap)t.adler=0,et(n,31),et(n,139),et(n,8),n.gzhead?(et(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),et(n,255&n.gzhead.time),et(n,n.gzhead.time>>8&255),et(n,n.gzhead.time>>16&255),et(n,n.gzhead.time>>24&255),et(n,9===n.level?2:n.strategy>=L||n.level<2?4:0),et(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(et(n,255&n.gzhead.extra.length),et(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=a(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=z):(et(n,0),et(n,0),et(n,0),et(n,0),et(n,0),et(n,9===n.level?2:n.strategy>=L||n.level<2?4:0),et(n,$),n.status=W);else{var m=C+(n.w_bits-8<<4)<<8;m|=(n.strategy>=L||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(m|=F),m+=31-m%31,n.status=W,it(n,m),0!==n.strstart&&(it(n,t.adler>>>16),it(n,65535&t.adler)),t.adler=1}if(n.status===z)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending!==n.pending_buf_size));)et(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=H)}else n.status=H;if(n.status===H)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexo&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.gzindex=0,n.status=V)}else n.status=V;if(n.status===V)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexo&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.status=j)}else n.status=j;if(n.status===j&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&J(t),n.pending+2<=n.pending_buf_size&&(et(n,255&t.adler),et(n,t.adler>>8&255),t.adler=0,n.status=W)):n.status=W),0!==n.pending){if(J(t),0===t.avail_out)return n.last_flush=-1,f}else if(0===t.avail_in&&K(e)<=K(i)&&e!==h)return Z(t,v);if(n.status===U&&0!==t.avail_in)return Z(t,v);if(0!==t.avail_in||0!==n.lookahead||e!==l&&n.status!==U){var y=n.strategy===L?function(t,e){for(var i;;){if(0===t.lookahead&&(rt(t),0===t.lookahead)){if(e===l)return Y;break}if(t.match_length=0,i=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}(n,e):n.strategy===x?function(t,e){for(var i,n,o,a,s=t.window;;){if(t.lookahead<=N){if(rt(t),t.lookahead<=N&&e===l)return Y;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=I&&t.strstart>0&&(n=s[o=t.strstart-1])===s[++o]&&n===s[++o]&&n===s[++o]){a=t.strstart+N;do{}while(n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&ot.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=I?(i=r._tr_tally(t,1,t.match_length-I),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}(n,e):st[n.level].func(n,e);if(y!==X&&y!==q||(n.status=U),y===Y||y===X)return 0===t.avail_out&&(n.last_flush=-1),f;if(y===G&&(e===c?r._tr_align(n):e!==d&&(r._tr_stored_block(n,0,0,!1),e===u&&(Q(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),J(t),0===t.avail_out))return n.last_flush=-1,f}return e!==h?f:n.wrap<=0?p:(2===n.wrap?(et(n,255&t.adler),et(n,t.adler>>8&255),et(n,t.adler>>16&255),et(n,t.adler>>24&255),et(n,255&t.total_in),et(n,t.total_in>>8&255),et(n,t.total_in>>16&255),et(n,t.total_in>>24&255)):(it(n,t.adler>>>16),it(n,65535&t.adler)),J(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?f:p)},i.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==B&&e!==z&&e!==H&&e!==V&&e!==j&&e!==W&&e!==U?Z(t,g):(t.state=null,e===W?Z(t,m):f):g},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(t,e,i){"use strict";e.exports=function(t,e){var i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k;i=t.state,n=t.next_in,C=t.input,r=n+(t.avail_in-5),o=t.next_out,k=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=i.dmax,c=i.wsize,u=i.whave,h=i.wnext,d=i.window,f=i.hold,p=i.bits,g=i.lencode,m=i.distcode,v=(1<>>=L=b>>>24,p-=L,0===(L=b>>>16&255))k[o++]=65535&b;else{if(!(16&L)){if(0==(64&L)){b=g[(65535&b)+(f&(1<>>=L,p-=L),p<15&&(f+=C[n++]<>>=L=b>>>24,p-=L,!(16&(L=b>>>16&255))){if(0==(64&L)){b=m[(65535&b)+(f&(1<l){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=L,p-=L,w>(L=o-a)){if((L=w-L)>u&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(_=0,S=d,0===h){if(_+=c-L,L2;)k[o++]=S[_++],k[o++]=S[_++],k[o++]=S[_++],x-=3;x&&(k[o++]=S[_++],x>1&&(k[o++]=S[_++]))}else{_=o-w;do{k[o++]=k[_++],k[o++]=k[_++],k[o++]=k[_++],x-=3}while(x>2);x&&(k[o++]=k[_++],x>1&&(k[o++]=k[_++]))}break}}break}}while(n>3,f&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function rt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ot(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=w,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(tt),e.distcode=e.distdyn=new n.Buf32(et),e.sane=1,e.back=-1,p):v}function at(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,ot(t)):v}function st(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?v:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,at(t))):v}function lt(t,e){var i,n;return t?(n=new rt,t.state=n,n.window=null,(i=st(t,e))!==p&&(t.state=null),i):v}var ct,ut,ht=!0;function dt(t){if(ht){var e;for(ct=new n.Buf32(512),ut=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(c,t.lens,0,288,ct,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(u,t.lens,0,32,ut,0,t.work,{bits:5}),ht=!1}t.lencode=ct,t.lenbits=9,t.distcode=ut,t.distbits=5}i.inflateReset=at,i.inflateReset2=st,i.inflateResetKeep=ot,i.inflateInit=function(t){return lt(t,it)},i.inflateInit2=lt,i.inflate=function(t,e){var i,tt,et,it,rt,ot,at,st,lt,ct,ut,ht,ft,pt,gt,mt,vt,yt,bt,Lt,xt,wt,_t,St,Ct=0,kt=new n.Buf8(4),Tt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return v;(i=t.state).mode===O&&(i.mode=I),rt=t.next_out,et=t.output,at=t.avail_out,it=t.next_in,tt=t.input,ot=t.avail_in,st=i.hold,lt=i.bits,ct=ot,ut=at,wt=p;t:for(;;)switch(i.mode){case w:if(0===i.wrap){i.mode=I;break}for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<>>8&255,i.check=o(i.check,kt,2,0),st=0,lt=0,i.mode=_;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&st)<<8)+(st>>8))%31){t.msg="incorrect header check",i.mode=K;break}if((15&st)!==x){t.msg="unknown compression method",i.mode=K;break}if(lt-=4,xt=8+(15&(st>>>=4)),0===i.wbits)i.wbits=xt;else if(xt>i.wbits){t.msg="invalid window size",i.mode=K;break}i.dmax=1<>8&1),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0,i.mode=S;case S:for(;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<>>8&255,kt[2]=st>>>16&255,kt[3]=st>>>24&255,i.check=o(i.check,kt,4,0)),st=0,lt=0,i.mode=C;case C:for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<>8),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0,i.mode=k;case k:if(1024&i.flags){for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0}else i.head&&(i.head.extra=null);i.mode=T;case T:if(1024&i.flags&&((ht=i.length)>ot&&(ht=ot),ht&&(i.head&&(xt=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,tt,it,ht,xt)),512&i.flags&&(i.check=o(i.check,tt,ht,it)),ot-=ht,it+=ht,i.length-=ht),i.length))break t;i.length=0,i.mode=E;case E:if(2048&i.flags){if(0===ot)break t;ht=0;do{xt=tt[it+ht++],i.head&&xt&&i.length<65536&&(i.head.name+=String.fromCharCode(xt))}while(xt&&ht>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=O;break;case D:for(;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<>>=7<,lt-=7<,i.mode=q;break}for(;lt<3;){if(0===ot)break t;ot--,st+=tt[it++]<>>=1)){case 0:i.mode=N;break;case 1:if(dt(i),i.mode=V,e===f){st>>>=2,lt-=2;break t}break;case 2:i.mode=B;break;case 3:t.msg="invalid block type",i.mode=K}st>>>=2,lt-=2;break;case N:for(st>>>=7<,lt-=7<lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<>>16^65535)){t.msg="invalid stored block lengths",i.mode=K;break}if(i.length=65535&st,st=0,lt=0,i.mode=R,e===f)break t;case R:i.mode=F;case F:if(ht=i.length){if(ht>ot&&(ht=ot),ht>at&&(ht=at),0===ht)break t;n.arraySet(et,tt,it,ht,rt),ot-=ht,it+=ht,at-=ht,rt+=ht,i.length-=ht;break}i.mode=O;break;case B:for(;lt<14;){if(0===ot)break t;ot--,st+=tt[it++]<>>=5,lt-=5,i.ndist=1+(31&st),st>>>=5,lt-=5,i.ncode=4+(15&st),st>>>=4,lt-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=K;break}i.have=0,i.mode=z;case z:for(;i.have>>=3,lt-=3}for(;i.have<19;)i.lens[Tt[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,_t={bits:i.lenbits},wt=s(l,i.lens,0,19,i.lencode,0,i.work,_t),i.lenbits=_t.bits,wt){t.msg="invalid code lengths set",i.mode=K;break}i.have=0,i.mode=H;case H:for(;i.have>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<>>=gt,lt-=gt,i.lens[i.have++]=vt;else{if(16===vt){for(St=gt+2;lt>>=gt,lt-=gt,0===i.have){t.msg="invalid bit length repeat",i.mode=K;break}xt=i.lens[i.have-1],ht=3+(3&st),st>>>=2,lt-=2}else if(17===vt){for(St=gt+3;lt>>=gt)),st>>>=3,lt-=3}else{for(St=gt+7;lt>>=gt)),st>>>=7,lt-=7}if(i.have+ht>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=K;break}for(;ht--;)i.lens[i.have++]=xt}}if(i.mode===K)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=K;break}if(i.lenbits=9,_t={bits:i.lenbits},wt=s(c,i.lens,0,i.nlen,i.lencode,0,i.work,_t),i.lenbits=_t.bits,wt){t.msg="invalid literal/lengths set",i.mode=K;break}if(i.distbits=6,i.distcode=i.distdyn,_t={bits:i.distbits},wt=s(u,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,_t),i.distbits=_t.bits,wt){t.msg="invalid distances set",i.mode=K;break}if(i.mode=V,e===f)break t;case V:i.mode=j;case j:if(ot>=6&&at>=258){t.next_out=rt,t.avail_out=at,t.next_in=it,t.avail_in=ot,i.hold=st,i.bits=lt,a(t,ut),rt=t.next_out,et=t.output,at=t.avail_out,it=t.next_in,tt=t.input,ot=t.avail_in,st=i.hold,lt=i.bits,i.mode===O&&(i.back=-1);break}for(i.back=0;mt=(Ct=i.lencode[st&(1<>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<>yt)])>>>16&255,vt=65535&Ct,!(yt+(gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<>>=yt,lt-=yt,i.back+=yt}if(st>>>=gt,lt-=gt,i.back+=gt,i.length=vt,0===mt){i.mode=X;break}if(32&mt){i.back=-1,i.mode=O;break}if(64&mt){t.msg="invalid literal/length code",i.mode=K;break}i.extra=15&mt,i.mode=W;case W:if(i.extra){for(St=i.extra;lt>>=i.extra,lt-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=U;case U:for(;mt=(Ct=i.distcode[st&(1<>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<>yt)])>>>16&255,vt=65535&Ct,!(yt+(gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<>>=yt,lt-=yt,i.back+=yt}if(st>>>=gt,lt-=gt,i.back+=gt,64&mt){t.msg="invalid distance code",i.mode=K;break}i.offset=vt,i.extra=15&mt,i.mode=Y;case Y:if(i.extra){for(St=i.extra;lt>>=i.extra,lt-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=K;break}i.mode=G;case G:if(0===at)break t;if(ht=ut-at,i.offset>ht){if((ht=i.offset-ht)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=K;break}ht>i.wnext?(ht-=i.wnext,ft=i.wsize-ht):ft=i.wnext-ht,ht>i.length&&(ht=i.length),pt=i.window}else pt=et,ft=rt-i.offset,ht=i.length;ht>at&&(ht=at),at-=ht,i.length-=ht;do{et[rt++]=pt[ft++]}while(--ht);0===i.length&&(i.mode=j);break;case X:if(0===at)break t;et[rt++]=i.length,at--,i.mode=j;break;case q:if(i.wrap){for(;lt<32;){if(0===ot)break t;ot--,st|=tt[it++]<=a.wsize?(n.arraySet(a.window,e,i-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>r&&(o=r),n.arraySet(a.window,e,i-r,o,a.wnext),(r-=o)?(n.arraySet(a.window,e,i-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave=1&&0===N[k];k--);if(T>k&&(T=k),0===k)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(C=1;C0&&(0===t||1!==k))return-1;for(R[1]=0,_=1;_<15;_++)R[_+1]=R[_]+N[_];for(S=0;S852||2===t&&D>592)return 1;for(;;){0,b=_-A,h[S]y?(L=F[B+h[S]],x=O[I+h[S]]):(L=96,x=0),f=1<<_-A,C=p=1<>A)+(p-=f)]=b<<24|L<<16|x|0}while(0!==p);for(f=1<<_-1;P&f;)f>>=1;if(0!==f?(P&=f-1,P+=f):P=0,S++,0==--N[_]){if(_===k)break;_=e[i+h[S]]}if(_>T&&(P&m)!==g){for(0===A&&(A=T),v+=C,M=1<<(E=_-A);E+A852||2===t&&D>592)return 1;c[g=P&m]=T<<24|E<<16|v-u|0}}return 0!==P&&(c[v+P]=_-A<<24|64<<16|0),d.bits=T,0}},{"../utils/common":27}],37:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(t,e,i){"use strict";var n=t("../utils/common"),r=4,o=0,a=1,s=2;function l(t){for(var e=t.length;--e>=0;)t[e]=0}var c=0,u=1,h=2,d=29,f=256,p=f+1+d,g=30,m=19,v=2*p+1,y=15,b=16,L=7,x=256,w=16,_=17,S=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=new Array(2*(p+2));l(A);var M=new Array(2*g);l(M);var D=new Array(512);l(D);var P=new Array(256);l(P);var O=new Array(d);l(O);var I=new Array(g);l(I);var N,R,F,B=function(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length},z=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e};function H(t){return t<256?D[t]:D[256+(t>>>7)]}function V(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function j(t,e,i){t.bi_valid>b-i?(t.bi_buf|=e<>b-t.bi_valid,t.bi_valid+=i-b):(t.bi_buf|=e<>>=1,i<<=1}while(--e>0);return i>>>1}function Y(t,e,i){var n,r,o=new Array(y+1),a=0;for(n=1;n<=y;n++)o[n]=a=a+i[n-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=U(o[s]++,s))}}function G(t){var e;for(e=0;e8?V(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function q(t,e,i,n){var r=2*e,o=2*i;return t[r]>1;i>=1;i--)$(t,o,i);r=l;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],$(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,o[2*r]=o[2*i]+o[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,o[2*i+1]=o[2*n+1]=r,t.heap[1]=r++,$(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,o,a,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(o=0;o<=y;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;ip&&(o=p,g++),l[2*n+1]=o,n>c||(t.bl_count[o]++,a=0,n>=f&&(a=d[n-f]),s=l[2*n],t.opt_len+=s*(o+a),h&&(t.static_len+=s*(u[2*n+1]+a)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(r=t.heap[--i])>c||(l[2*r+1]!==o&&(t.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),n--)}}(t,e),Y(o,c,t.bl_count)}function Q(t,e,i){var n,r,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=a,a=e[2*(n+1)+1],++s>=7;n0?(t.strm.data_type===s&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return a;for(e=32;e=3&&0===t.bl_tree[2*E[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),l=t.opt_len+3+7>>>3,(c=t.static_len+3+7>>>3)<=l&&(l=c)):l=c=i+5,i+4<=l&&-1!==e?et(t,e,i,n):t.strategy===r||c===l?(j(t,(u<<1)+(n?1:0),3),Z(t,A,M)):(j(t,(h<<1)+(n?1:0),3),function(t,e,i,n){var r;for(j(t,e-257,5),j(t,i-1,5),j(t,n-4,4),r=0;r>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(P[i]+f+1)]++,t.dyn_dtree[2*H(e)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){j(t,u<<1,3),W(t,x,A),function(t){16===t.bi_valid?(V(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":27}],39:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[9])(9)});var XLSX={};!function(t){t.version="0.8.20";var e=1200;function i(){n(1200)}"undefined"!=typeof module&&"undefined"!=typeof require&&("undefined"==typeof cptable&&(cptable=require("./dist/cpexcel")),cptable[e]);var n=function(t){e=t};function r(t){for(var e=[],i=0,n=t.length;i>8])[0]});var s,l=(s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{encode:function(t,e){for(var i,n,r,o,a,l,c,u="",h=0;h>2,a=(3&i)<<4|(n=t.charCodeAt(h++))>>4,l=(15&n)<<2|(r=t.charCodeAt(h++))>>6,c=63&r,isNaN(n)?l=c=64:isNaN(r)&&(c=64),u+=s.charAt(o)+s.charAt(a)+s.charAt(l)+s.charAt(c);return u},decode:function(t,e){var i,n,r,o,a,l,c="";t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u>4,n=(15&o)<<4|(a=s.indexOf(t.charAt(u++)))>>2,r=(3&a)<<6|(l=s.indexOf(t.charAt(u++))),c+=String.fromCharCode(i),64!=a&&(c+=String.fromCharCode(n)),64!=l&&(c+=String.fromCharCode(r));return c}}),c="undefined"!=typeof Buffer;function u(t){return new(c?Buffer:Array)(t)}function h(t){return c?new Buffer(t,"binary"):t.split("").map(function(t){return 255&t.charCodeAt(0)})}var d=function(t){return[].concat.apply([],t)},f=/\u0000/g,p=/[\u0001-\u0006]/,g={},m=function(t){function e(t){for(var e="",i=t.length-1;i>=0;)e+=t.charAt(i--);return e}function i(t,e){for(var i="";i.length=e?n:i("0",e-n.length)+n}function r(t,e){var n=""+t;return n.length>=e?n:i(" ",e-n.length)+n}function o(t,e){var n=""+t;return n.length>=e?n:n+i(" ",e-n.length)}t.version="0.8.1";var a=Math.pow(2,32);function s(t,e){return t>a||t<-a?function(t,e){var n=""+Math.round(t);return n.length>=e?n:i("0",e-n.length)+n}(t,e):function(t,e){var n=""+t;return n.length>=e?n:i("0",e-n.length)+n}(Math.round(t),e)}function l(t,e){return t.length>=7+e&&103==(32|t.charCodeAt(e))&&101==(32|t.charCodeAt(e+1))&&110==(32|t.charCodeAt(e+2))&&101==(32|t.charCodeAt(e+3))&&114==(32|t.charCodeAt(e+4))&&97==(32|t.charCodeAt(e+5))&&108==(32|t.charCodeAt(e+6))}var c=[["date1904",0],["output",""],["WTF",!1]];function u(t){for(var e=0;e!=c.length;++e)void 0===t[c[e][0]]&&(t[c[e][0]]=c[e][1])}t.opts=c;var h={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "',65535:"General"},d=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],f=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function p(t,e,i){for(var n=t<0?-1:1,r=t*n,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(r);ce&&(u=c,s=a),u>e&&(u=l,s=o),!i)return[0,n*s,u];if(0===u)throw"Unexpected state: "+s+" "+a+" "+o+" "+u+" "+c+" "+l;var d=Math.floor(n*s/u);return[d,n*s-d*u,u]}function g(t,e){return""+t}t._general_int=g;var m=function(){var t=/\.(\d*[1-9])0+$/,e=/\.0*$/,i=/\.(\d*[1-9])0+/,n=/\.0*[Ee]/,r=/(E[+-])(\d)$/;function o(i){return i.indexOf(".")>-1?i.replace(e,"").replace(t,".$1"):i}return function(e,a){var s,l=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return s=l>=-4&&l<=-1?e.toPrecision(10+l):Math.abs(l)<=9?function(t){var e=t<0?12:11,i=o(t.toFixed(12));return i.length<=e?i:(i=t.toPrecision(10)).length<=e?i:t.toExponential(5)}(e):10===l?e.toFixed(10).substr(0,12):function(e){var i=e.toFixed(11).replace(t,".$1");return i.length>(e<0?12:11)&&(i=e.toPrecision(6)),i}(e),o(function(t){for(var e=0;e!=t.length;++e)if(101==(32|t.charCodeAt(e)))return t.replace(i,".$1").replace(n,"E").replace("e","E").replace(r,"$10$2");return t}(s))}}();function v(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?g(t):m(t,e)}throw new Error("unsupported value in General format: "+t)}function y(t,e,i){if(t>2958465||t<0)return null;var n=0|t,r=Math.floor(86400*(t-n)),o=0,a=[],s={D:n,T:r,u:86400*(t-n)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),u(null!=e?e:e=[]),e.date1904&&(n+=1462),s.u>.999&&(s.u=0,86400==++r&&(r=0,++n)),60===n)a=i?[1317,10,29]:[1900,2,29],o=3;else if(0===n)a=i?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),n<60&&(o=(o+6)%7),i&&(o=0)}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=r%60,r=Math.floor(r/60),s.M=r%60,r=Math.floor(r/60),s.H=r,s.q=o,s}function b(t,e,i,r){var o,a="",s=0,l=0,c=i.y,u=0;switch(t){case 98:c=i.y+543;case 121:switch(e.length){case 1:case 2:o=c%100,u=2;break;default:o=c%1e4,u=4}break;case 109:switch(e.length){case 1:case 2:o=i.m,u=e.length;break;case 3:return f[i.m-1][1];case 5:return f[i.m-1][0];default:return f[i.m-1][2]}break;case 100:switch(e.length){case 1:case 2:o=i.d,u=e.length;break;case 3:return d[i.q][0];default:return d[i.q][1]}break;case 104:switch(e.length){case 1:case 2:o=1+(i.H+11)%12,u=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:o=i.H,u=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:o=i.M,u=e.length;break;default:throw"bad minute format: "+e}break;case 115:if(0===i.u)switch(e){case"s":case"ss":return n(i.S,e.length)}switch(e){case"s":case"ss":case".0":case".00":case".000":return l=r>=2?3===r?1e3:100:1===r?10:1,(s=Math.round(l*(i.S+i.u)))>=60*l&&(s=0),"s"===e?0===s?"0":""+s/l:(a=n(s,2+r),"ss"===e?a.substr(0,2):"."+a.substr(2,e.length-1));default:throw"bad second format: "+e}case 90:switch(e){case"[h]":case"[hh]":o=24*i.D+i.H;break;case"[m]":case"[mm]":o=60*(24*i.D+i.H)+i.M;break;case"[s]":case"[ss]":o=60*(60*(24*i.D+i.H)+i.M)+Math.round(i.S+i.u);break;default:throw"bad abstime format: "+e}u=3===e.length?1:2;break;case 101:o=c,u=1}return u>0?n(o,u):""}function L(t){if(t.length<=3)return t;for(var e=t.length%3,i=t.substr(0,e);e!=t.length;e+=3)i+=(i.length>0?",":"")+t.substr(e,3);return i}t._general_num=m,t._general=v,t.parse_date_code=y;var x=function(){var t=/%/g;var a=/# (\?+)( ?)\/( ?)(\d+)/;var l=/^#*0*\.(0+)/,c=/\).*[0#]/,u=/\(###\) ###\\?-####/;function h(t){for(var e,i="",n=0;n!=t.length;++n)switch(e=t.charCodeAt(n)){case 35:break;case 63:i+=" ";break;case 48:i+="0";break;default:i+=String.fromCharCode(e)}return i}function d(t,e){var i=Math.pow(10,e);return""+Math.round(t*i)/i}function f(t,e){return Math.round((t-Math.floor(t))*Math.pow(10,e))}function g(m,v,y){if(40===m.charCodeAt(0)&&!v.match(c)){var b=v.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?g("n",b,y):"("+g("n",b,-y)+")"}if(44===v.charCodeAt(v.length-1))return function(t,e,i){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return x(t,e.substr(0,n),i/Math.pow(10,3*(e.length-n)))}(m,v,y);if(-1!==v.indexOf("%"))return function(e,n,r){var o=n.replace(t,""),a=n.length-o.length;return x(e,o,r*Math.pow(10,2*a))+i("%",a)}(m,v,y);if(-1!==v.indexOf("E"))return function(t,e){var i,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(Math.abs(e))*Math.LOG10E)%r;if(o<0&&(o+=r),-1===(i=(e/Math.pow(10,o)).toPrecision(n+1+(r+o)%r)).indexOf("e")){var a=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);for(-1===i.indexOf(".")?i=i[0]+"."+i.substr(1)+"E+"+(a-i.length+o):i+="E+"+(a-o);"0."===i.substr(0,2);)i=(i=i[0]+i.substr(2,r)+"."+i.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");i=i.replace(/\+-/,"-")}i=i.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(t,e,i,n){return e+i+n.substr(0,(r+o)%r)+"."+n.substr(o)+"E"})}else i=e.toExponential(n);return t.match(/E\+00$/)&&i.match(/e[+-]\d$/)&&(i=i.substr(0,i.length-1)+"0"+i[i.length-1]),t.match(/E\-/)&&i.match(/e\+/)&&(i=i.replace(/e\+/,"e")),i.replace("e","E")}(v,y);if(36===v.charCodeAt(0))return"$"+g(m,v.substr(" "==v[1]?2:1),y);var w,_,S,C,k=Math.abs(y),T=y<0?"-":"";if(v.match(/^00+$/))return T+s(k,v.length);if(v.match(/^[#?]+$/))return"0"===(w=s(y,0))&&(w=""),w.length>v.length?w:h(v.substr(0,v.length-w.length))+w;if(null!==(_=v.match(a)))return function(t,e,o){var a=parseInt(t[4]),s=Math.round(e*a),l=Math.floor(s/a),c=s-l*a,u=a;return o+(0===l?"":""+l)+" "+(0===c?i(" ",t[1].length+1+t[4].length):r(c,t[1].length)+t[2]+"/"+t[3]+n(u,t[4].length))}(_,k,T);if(null!==v.match(/^#+0+$/))return T+s(k,v.length-v.indexOf("0"));if(null!==(_=v.match(l)))return w=d(y,_[1].length).replace(/^([^\.]+)$/,"$1."+_[1]).replace(/\.$/,"."+_[1]).replace(/\.(\d*)$/,function(t,e){return"."+e+i("0",_[1].length-e.length)}),-1!==v.indexOf("0.")?w:w.replace(/^0\./,".");if(v=v.replace(/^#+([0.])/,"$1"),null!==(_=v.match(/^(0*)\.(#*)$/)))return T+d(k,_[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,_[1].length?"0.":".");if(null!==(_=v.match(/^#,##0(\.?)$/)))return T+L(s(k,0));if(null!==(_=v.match(/^#,##0\.([#0]*0)$/)))return y<0?"-"+g(m,v,-y):L(""+Math.floor(y))+"."+n(f(y,_[1].length),_[1].length);if(null!==(_=v.match(/^#,#*,#0/)))return g(m,v.replace(/^#,#*,/,""),y);if(null!==(_=v.match(/^([0#]+)(\\?-([0#]+))+$/)))return w=e(g(m,v.replace(/[\\-]/g,""),y)),S=0,e(e(v.replace(/\\/g,"")).replace(/[0#]/g,function(t){return S-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(t){return"00,"+(t.length<3?n(0,3-t.length):"")+t})+"."+n(S,_[1].length);switch(v){case"#,###":var D=L(s(k,0));return"0"!==D?T+D:""}throw new Error("unsupported format |"+v+"|")}function m(s,d,f){if(40===s.charCodeAt(0)&&!d.match(c)){var g=d.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return f>=0?m("n",g,f):"("+m("n",g,-f)+")"}if(44===d.charCodeAt(d.length-1))return function(t,e,i){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return x(t,e.substr(0,n),i/Math.pow(10,3*(e.length-n)))}(s,d,f);if(-1!==d.indexOf("%"))return function(e,n,r){var o=n.replace(t,""),a=n.length-o.length;return x(e,o,r*Math.pow(10,2*a))+i("%",a)}(s,d,f);if(-1!==d.indexOf("E"))return function(t,e){var i,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(Math.abs(e))*Math.LOG10E)%r;if(o<0&&(o+=r),!(i=(e/Math.pow(10,o)).toPrecision(n+1+(r+o)%r)).match(/[Ee]/)){var a=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);-1===i.indexOf(".")?i=i[0]+"."+i.substr(1)+"E+"+(a-i.length+o):i+="E+"+(a-o),i=i.replace(/\+-/,"-")}i=i.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(t,e,i,n){return e+i+n.substr(0,(r+o)%r)+"."+n.substr(o)+"E"})}else i=e.toExponential(n);return t.match(/E\+00$/)&&i.match(/e[+-]\d$/)&&(i=i.substr(0,i.length-1)+"0"+i[i.length-1]),t.match(/E\-/)&&i.match(/e\+/)&&(i=i.replace(/e\+/,"e")),i.replace("e","E")}(d,f);if(36===d.charCodeAt(0))return"$"+m(s,d.substr(" "==d[1]?2:1),f);var v,y,b,w,_=Math.abs(f),S=f<0?"-":"";if(d.match(/^00+$/))return S+n(_,d.length);if(d.match(/^[#?]+$/))return v=""+f,0===f&&(v=""),v.length>d.length?v:h(d.substr(0,d.length-v.length))+v;if(null!==(y=d.match(a)))return function(t,e,n){return n+(0===e?"":""+e)+i(" ",t[1].length+2+t[4].length)}(y,_,S);if(null!==d.match(/^#+0+$/))return S+n(_,d.length-d.indexOf("0"));if(null!==(y=d.match(l)))return v=(""+f).replace(/^([^\.]+)$/,"$1."+y[1]).replace(/\.$/,"."+y[1]).replace(/\.(\d*)$/,function(t,e){return"."+e+i("0",y[1].length-e.length)}),-1!==d.indexOf("0.")?v:v.replace(/^0\./,".");if(d=d.replace(/^#+([0.])/,"$1"),null!==(y=d.match(/^(0*)\.(#*)$/)))return S+(""+_).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,y[1].length?"0.":".");if(null!==(y=d.match(/^#,##0(\.?)$/)))return S+L(""+_);if(null!==(y=d.match(/^#,##0\.([#0]*0)$/)))return f<0?"-"+m(s,d,-f):L(""+f)+"."+i("0",y[1].length);if(null!==(y=d.match(/^#,#*,#0/)))return m(s,d.replace(/^#,#*,/,""),f);if(null!==(y=d.match(/^([0#]+)(\\?-([0#]+))+$/)))return v=e(m(s,d.replace(/[\\-]/g,""),f)),b=0,e(e(d.replace(/\\/g,"")).replace(/[0#]/g,function(t){return b=12?"P":"A"),r.t="T",p="h",h+=3):"AM/PM"===t.substr(h,5)?(null!=o&&(r.v=o.H>=12?"PM":"AM"),r.t="T",h+=5,p="h"):(r.t="t",++h),null==o&&"T"===r.t)return"";c[c.length]=r,f=d;break;case"[":for(u=d;"]"!==t[h++]&&h-1||"\\"==d&&"-"==t[h+1]&&"0#".indexOf(t[h+2])>-1;)u+=d;c[c.length]={t:"n",v:u};break;case"?":for(u=d;t[++h]===d;)u+=d;r={t:d,v:u},c[c.length]=r,f=d;break;case"*":" "!=t[++h]&&"*"!=t[h]||++h;break;case"(":case")":c[c.length]={t:1===n?"t":d,v:d},++h;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(u=d;"0123456789".indexOf(t[++h])>-1;)u+=t[h];c[c.length]={t:"D",v:u};break;case" ":c[c.length]={t:d,v:d},++h;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxz".indexOf(d))throw new Error("unrecognized character "+d+" in "+t);c[c.length]={t:"t",v:d},++h}var L,w=0,S=0;for(h=c.length-1,f="t";h>=0;--h)switch(c[h].t){case"h":case"H":c[h].t=p,f="h",w<1&&(w=1);break;case"s":(L=c[h].v.match(/\.0+$/))&&(S=Math.max(S,L[0].length-1)),w<3&&(w=3);case"d":case"y":case"M":case"e":f=c[h].t;break;case"m":"s"===f&&(c[h].t="M",w<2&&(w=2));break;case"X":c[h].v;break;case"Z":w<1&&c[h].v.match(/[Hh]/)&&(w=1),w<2&&c[h].v.match(/[Mm]/)&&(w=2),w<3&&c[h].v.match(/[Ss]/)&&(w=3)}switch(w){case 0:break;case 1:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M),o.M>=60&&(o.M=0,++o.H);break;case 2:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M)}var C,k="";for(h=0;h-1||" "===c[C].v&&null!=c[C+1]&&"?"==c[C+1].t));)c[h].v+=c[C].v,c[C]=void 0,++C;k+=c[h].v,h=C-1;break;case"G":c[h].t="t",c[h].v=v(e,i)}var T,E,A="";if(k.length>0){T=e<0&&45===k.charCodeAt(0)?-e:e,C=(E=x(40===k.charCodeAt(0)?"(":"n",k,T)).length-1;var M=c.length;for(h=0;h-1){M=h;break}var D=c.length;if(M===c.length&&-1===E.indexOf("E")){for(h=c.length-1;h>=0;--h)null!=c[h]&&-1!=="n?(".indexOf(c[h].t)&&(C>=c[h].v.length-1?(C-=c[h].v.length,c[h].v=E.substr(C+1,c[h].v.length)):C<0?c[h].v="":(c[h].v=E.substr(0,C+1),C=-1),c[h].t="t",D=h);C>=0&&D=0;--h)if(null!=c[h]&&-1!=="n?(".indexOf(c[h].t)){for(a=c[h].v.indexOf(".")>-1&&h===M?c[h].v.indexOf(".")-1:c[h].v.length-1,A=c[h].v.substr(a+1);a>=0;--a)C>=0&&("0"===c[h].v[a]||"#"===c[h].v[a])&&(A=E[C--]+A);c[h].v=A,c[h].t="t",D=h}for(C>=0&&D-1&&h===M?c[h].v.indexOf(".")+1:0,A=c[h].v.substr(0,a);a-1&&(T=n>1&&e<0&&h>0&&"-"===c[h-1].v?-e:e,c[h].v=x(c[h].t,c[h].v,T),c[h].t="t");var P="";for(h=0;h!==c.length;++h)null!=c[h]&&(P+=c[h].v);return P}t._eval=S;var C=/\[[=<>]/,k=/\[([=<>]*)(-?\d+\.?\d*)\]/;function T(t,e){if(null==e)return!1;var i=parseFloat(e[2]);switch(e[1]){case"=":if(t==i)return!0;break;case">":if(t>i)return!0;break;case"<":if(t":if(t!=i)return!0;break;case">=":if(t>=i)return!0;break;case"<=":if(t<=i)return!0}return!1}t._table=h,t.load=function(t,e){h[e]=t},t.format=function(t,e,i){u(null!=i?i:i=[]);var n="";switch(typeof t){case"string":n=t;break;case"number":n=(null!=i.table?i.table:h)[t]}if(l(n,0))return v(e,i);var r=function(t,e){var i=w(t),n=i.length,r=i[n-1].indexOf("@");if(n<4&&r>-1&&--n,i.length>4)throw"cannot find right format for |"+i+"|";if("number"!=typeof e)return[4,4===i.length||r>-1?i[i.length-1]:"@"];switch(i.length){case 1:i=r>-1?["General","General","General",i[0]]:[i[0],i[0],i[0],"@"];break;case 2:i=r>-1?[i[0],i[0],i[0],i[1]]:[i[0],i[1],i[0],"@"];break;case 3:i=r>-1?[i[0],i[1],i[0],i[2]]:[i[0],i[1],i[2],"@"]}var o=e>0?i[0]:e<0?i[1]:i[2];if(-1===i[0].indexOf("[")&&-1===i[1].indexOf("["))return[n,o];if(null!=i[0].match(C)||null!=i[1].match(C)){var a=i[0].match(k),s=i[1].match(k);return T(e,a)?[n,i[0]]:T(e,s)?[n,i[1]]:[n,i[null!=a&&null!=s?2:1]]}return[n,o]}(n,e);if(l(r[1]))return v(e,i);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return S(r[1],e,i,r[0])},t.get_table=function(){return h},t.load_table=function(e){for(var i=0;392!=i;++i)void 0!==e[i]&&t.load(e[i],i)}};m(g);var v,y,b={"General Number":"General","General Date":g._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":g._table[15],"Short Date":g._table[14],"Long Time":g._table[19],"Medium Time":g._table[18],"Short Time":g._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:g._table[2],Standard:g._table[4],Percent:g._table[10],Scientific:g._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},L=function(){var t,e={};function i(t){var e,i,l,u,h,d,g=512,m=[],v=t.slice(0,512);switch(Mt(v,0),e=function(t){t.chk(s,"Header Signature: "),t.chk(c,"CLSID: ");var e=t.read_shift(2,"u");return[t.read_shift(2,"u"),e]}(v)[0]){case 3:g=512;break;case 4:g=4096;break;default:throw"Major Version: Expected 3 or 4 saw "+e}512!==g&&Mt(v=t.slice(0,g),28);var y=t.slice(0,g);!function(t,e){var i=9;switch(t.chk("feff","Byte Order: "),i=t.read_shift(2)){case 9:if(3!==e)throw"MajorVersion/SectorShift Mismatch";break;case 12:if(4!==e)throw"MajorVersion/SectorShift Mismatch";break;default:throw"Sector Shift: Expected 9 or 12 saw "+i}t.chk("0600","Mini Sector Shift: "),t.chk("000000000000","Reserved: ")}(v,e);var b=v.read_shift(4,"i");if(3===e&&0!==b)throw"# Directory Sectors: Expected 0 saw "+b;v.l+=4,u=v.read_shift(4,"i"),v.l+=4,v.chk("00100000","Mini Stream Cutoff Size: "),h=v.read_shift(4,"i"),i=v.read_shift(4,"i"),d=v.read_shift(4,"i"),l=v.read_shift(4,"i");for(var L,x=0;x<109&&!((L=v.read_shift(4,"i"))<0);++x)m[x]=L;var w=function(t,e){for(var i=Math.ceil(t.length/e)-1,n=new Array(i),r=1;r>>2)-1,u=0;u=u&&(l-=u),!0!==d[l]){for(o=[],s=l;s>=0;){d[s]=!0,r[r.length]=s,o.push(t[s]);var p=i[Math.floor(4*s/n)];if(n<4+(c=4*s&f))throw"FAT boundary crossed: "+s+" 4 "+n;s=Ct(t[p],c)}h[l]={nodes:r,data:ot([o])}}return h}(w,u,m,g);_[u].name="!Directory",i>0&&h!==a&&(_[h].name="!MiniFAT"),_[m[0]].name="!FAT",_.fat_addrs=m,_.ssz=g;var S={},C=[],k=[],T=[],E={};!function(t,e,i,s,l,c,u){for(var h,d,f,p,g,m=0,v=s.length?2:0,y=e[t].data,b=0,L=0;b0&&m!==a&&(e[m].name="!StreamData")):f.size>=4096?(f.storage="fat",void 0===e[f.start]&&(e[f.start]=n(i,f.start,e.fat_addrs,e.ssz)),e[f.start].name=f.name,f.content=e[f.start].data.slice(0,f.size),Mt(f.content,0)):(f.storage="minifat",m!==a&&f.start!==a&&(f.content=e[m].data.slice(f.start*o,f.start*o+f.size),Mt(f.content,0))),c[d]=f,u.push(f))}(u,_,w,C,i,S,k),function(t,e,i,n){for(var r=0,o=0,a=0,s=0,l=0,c=n.length,u=new Array(c),h=new Array(c);r=0;){r[l]=!0,o[o.length]=l,a.push(t[l]);var h=i[Math.floor(4*l/n)];if(n<4+(c=4*l&u))throw"FAT boundary crossed: "+l+" 4 "+n;l=Ct(t[h],c)}return{nodes:o,data:ot([a])}}function r(t,e){return new Date(1e3*(St(t,e+4)/1e7*Math.pow(2,32)+St(t,e)/1e7-11644473600))}e.version="0.10.2";var o=64,a=-2,s="d0cf11e0a1b11ae1",c="00000000000000000000000000000000",u={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:a,FREESECT:-1,HEADER_SIGNATURE:s,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:c,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};return e.read=function(e,n){switch(void 0!==n&&void 0!==n.type?n.type:"base64"){case"file":return r=e,void 0===t&&(t=require("fs")),i(t.readFileSync(r));case"base64":return i(h(l.decode(e)));case"binary":return i(h(e))}var r;return i(e)},e.parse=i,e.utils={ReadShift:Tt,CheckField:At,prep_blob:Mt,bconcat:d,consts:u},e}();function x(t){return null!=t}function w(t){return Object.keys(t)}function _(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)e[t[i[n]]]=parseInt(i[n],10);return e}function S(t,e){return e&&(t+=1462),(Date.parse(t)+22091616e5)/864e5}function C(t){if(!t)return null;if(".bin"===t.name.substr(-4)){if(t.data)return r(t.data);if(t.asNodeBuffer&&c)return t.asNodeBuffer();if(t._data&&t._data.getContent)return Array.prototype.slice.call(t._data.getContent())}else{if(t.data)return".bin"!==t.name.substr(-4)?o(t.data):r(t.data);if(t.asNodeBuffer&&c)return o(t.asNodeBuffer().toString("binary"));if(t.asBinary)return o(t.asBinary());if(t._data&&t._data.getContent)return o(function(t){for(var e="",i=0;i!=t.length;++i)e+=String.fromCharCode(t[i]);return e}(Array.prototype.slice.call(t._data.getContent(),0)))}return null}function k(t,e){var i=e;if(t.files[i])return t.files[i];var n={};for(var r in t.files)n[r.toLowerCase()]=t.files[r];return n[i=e.toLowerCase()]?n[i]:n[i=i.replace(/\//g,"\\")]?n[i]:null}function T(t,e){var i=k(t,e);if(null==i)throw new Error("Cannot find file "+e+" in zip");return i}function E(t,e,i){if(!i)return C(T(t,e));if(!e)return null;try{return E(t,e)}catch(t){return null}}"undefined"!=typeof JSZip&&(y=JSZip),"undefined"!=typeof exports&&"undefined"!=typeof module&&module.exports&&(c&&void 0===y&&(y=require("jszip")),void 0===y&&(y=require("./jszip").JSZip),v=require("fs"));var A=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,M=/<[^>]*>/g,D=/<\w*:/,P=/<(\/?)\w+:/;function O(t,e){for(var i=[],n=0,r=0;n!==t.length&&(32!==(r=t.charCodeAt(n))&&10!==r&&13!==r);++n);if(e||(i[0]=t.substr(0,n)),n===t.length)return i;var o=t.match(A),a=0,s="",l=0,c="",u="";if(o)for(l=0;l!=o.length;++l){for(u=o[l],r=0;r!=u.length&&61!==u.charCodeAt(r);++r);for(c=u.substr(0,r),s=u.substring(r+2,u.length-1),a=0;a!=c.length&&58!==c.charCodeAt(a);++a);a===c.length?i[c]=s:i[(5===a&&"xmlns"===c.substr(0,5)?"xmlns":"")+c.substr(a+1)]=s}return i}var I,N,R={""":'"',"'":"'",">":">","<":"<","&":"&"},F=function(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)e[t[i[n]]]=i[n];return e}(R),B=("&<>'\"".split(""),I=/&[a-z]*;/g,N=/_x([\da-fA-F]+)_/g,function(t){return(t+"").replace(I,function(t){return R[t]}).replace(N,function(t,e){return String.fromCharCode(parseInt(e,16))})}),z=/[&<>'"]/g,H=/[\u0000-\u0008\u000b-\u001f]/g;function V(t){return(t+"").replace(z,function(t){return F[t]}).replace(H,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).substr(-4)+"_"})}var j=function(){var t=/&#(\d+);/g;function e(t,e){return String.fromCharCode(parseInt(e,10))}return function(i){return i.replace(t,e)}}();function W(t,e){switch(t){case"1":case"true":case"TRUE":return!0;default:return!1}}var U=function(t){for(var e="",i=0,n=0,r=0,o=0,a=0;i191&&n<224?e+=String.fromCharCode((31&n)<<6|63&r):(o=t.charCodeAt(i++),n<240?e+=String.fromCharCode((15&n)<<12|(63&r)<<6|63&o):(a=((7&n)<<18|(63&r)<<12|(63&o)<<6|63&t.charCodeAt(i++))-65536,e+=String.fromCharCode(55296+(a>>>10&1023)),e+=String.fromCharCode(56320+(1023&a)))));return e};if(c){var Y=function(t){var e,i,n,r=new Buffer(2*t.length),o=1,a=0,s=0;for(i=0;i>>10&1023),e=56320+(1023&e)),0!==s&&(r[a++]=255&s,r[a++]=s>>>8,s=0),r[a++]=e%256,r[a++]=e>>>8;return r.length=a,r.toString("ucs2")},G="foo bar baz☃🍣";U(G)==Y(G)&&(U=Y);var X=function(t){return Buffer(t,"binary").toString("utf8")};U(G)==X(G)&&(U=X)}var q,$,Z=(q={},function(t,e){var i=t+"|"+e;return void 0!==q[i]?q[i]:q[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([^☃]*)",e||"")}),K=($={},function(t){return void 0!==$[t]?$[t]:$[t]=new RegExp("(.*?)","g")}),Q=/<\/?vt:variant>/g,J=/]*)>(.*)"+e+""}function nt(t,e,i){return"<"+t+(x(i)?function(t){return w(t).map(function(e){return" "+e+'="'+t[e]+'"'}).join("")}(i):"")+(x(e)?(e.match(et)?' xml:space="preserve"':"")+">"+e+""}function rt(t,e){try{return t.toISOString().replace(/\.\d*/,"")}catch(t){if(e)throw t}}var ot,at,st,lt,ct,ut,ht,dt,ft,pt,gt,mt,vt,yt='\r\n',bt={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};bt.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],ot=at=function(t){for(var e=[],i=0;i0?ht(t,e+4,e+4+i-1):""},pt=gt=function(t,e){var i=2*St(t,e);return i>0?ht(t,e+4,e+4+i-1):""},mt=vt=function(t,e){return function(t,e,i,n,r){void 0===i&&(i=!0),n||(n=8),r||8!==n||(r=52);var o,a,s=8*n-r-1,l=(1<>1,u=-7,h=i?-1:1,d=i?n-1:0,f=t[e+d];for(d+=h,o=f&(1<<-u)-1,f>>>=-u,u+=s;u>0;o=256*o+t[e+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>>=-u,u+=r;u>0;a=256*a+t[e+d],d+=h,u-=8);return o===l?a?NaN:1/0*(f?-1:1):(0===o?o=1-c:(a+=Math.pow(2,r),o-=c),(f?-1:1)*a*Math.pow(2,o-r))}(t,e)};var Lt=function(t){return Array.isArray(t)};c&&(st=function(t,e,i){return Buffer.isBuffer(t)?t.toString("utf16le",e,i):lt(t,e,i)},ct=function(t,e,i){return Buffer.isBuffer(t)?t.toString("hex",e,e+i):ut(t,e,i)},dt=function(t,e){if(!Buffer.isBuffer(t))return ft(t,e);var i=t.readUInt32LE(e);return i>0?t.toString("utf8",e+4,e+4+i-1):""},pt=function(t,e){if(!Buffer.isBuffer(t))return gt(t,e);var i=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+i-1)},ht=function(t,e){return this.toString("utf8",t,e)},ot=function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0]):at(t)},d=function(t){return Buffer.isBuffer(t[0])?Buffer.concat(t):[].concat.apply([],t)},mt=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):vt(t,e)},Lt=function(t){return Buffer.isBuffer(t)||Array.isArray(t)}),"undefined"!=typeof cptable&&(st=function(t,e,i){return cptable.utils.decode(1200,t.slice(e,i))},ht=function(t,e,i){return cptable.utils.decode(65001,t.slice(e,i))},dt=function(t,i){var n=St(t,i);return n>0?cptable.utils.decode(e,t.slice(i+4,i+4+n-1)):""},pt=function(t,e){var i=2*St(t,e);return i>0?cptable.utils.decode(1200,t.slice(e+4,e+4+i-1)):""});var xt=function(t,e){return t[e]},wt=function(t,e){return 256*t[e+1]+t[e]},_t=function(t,e){var i=256*t[e+1]+t[e];return i<32768?i:-1*(65535-i+1)},St=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Ct=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},kt=function(t){return t.match(/../g).map(function(t){return parseInt(t,16)})};function Tt(t,e){var i,n,r,o,s,l,u="",h=[];switch(e){case"dbcs":if(l=this.l,c&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(s=0;s!=t;++s)u+=String.fromCharCode(wt(this,l)),l+=2;t*=2;break;case"utf8":u=ht(this,this.l,this.l+t);break;case"utf16le":t*=2,u=st(this,this.l,this.l+t);break;case"lpstr":t=5+(u=dt(this,this.l)).length;break;case"lpwstr":t=5+(u=pt(this,this.l)).length,"\0"==u[u.length-1]&&(t+=2);break;case"cstr":for(t=0,u="";0!==(r=xt(this,this.l+t++));)h.push(a(r));u=h.join("");break;case"wstr":for(t=0,u="";0!==(r=wt(this,this.l+t));)h.push(a(r)),t+=2;t+=2,u=h.join("");break;case"dbcs-cont":for(u="",l=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(l))return r=xt(this,l),this.l=l+1,o=Tt.call(this,t-s,r?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(a(wt(this,l))),l+=2}u=h.join(""),t*=2;break;case"sbcs-cont":for(u="",l=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(l))return r=xt(this,l),this.l=l+1,o=Tt.call(this,t-s,r?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(a(xt(this,l))),l+=1}u=h.join("");break;default:switch(t){case 1:return i=xt(this,this.l),this.l++,i;case 2:return i=("i"===e?_t:wt)(this,this.l),this.l+=2,i;case 4:return"i"===e||0==(128&this[this.l+3])?(i=Ct(this,this.l),this.l+=4,i):(n=St(this,this.l),this.l+=4,n);case 8:if("f"===e)return n=mt(this,this.l),this.l+=8,n;case 16:u=ct(this,this.l,t)}}return this.l+=t,u}function Et(t,e,i){var n,r;if("dbcs"===i){for(r=0;r!=e.length;++r)this.writeUInt16LE(e.charCodeAt(r),this.l+2*r);n=2*e.length}else switch(t){case 1:n=1,this[this.l]=255&e;break;case 3:n=3,this[this.l+2]=255&e,e>>>=8,this[this.l+1]=255&e,e>>>=8,this[this.l]=255&e;break;case 4:n=4,this.writeUInt32LE(e,this.l);break;case 8:if(n=8,"f"===i){this.writeDoubleLE(e,this.l);break}case 16:break;case-4:n=4,this.writeInt32LE(e,this.l)}return this.l+=n,this}function At(t,e){var i=ct(this,this.l,t.length>>1);if(i!==t)throw e+"Expected "+t+" saw "+i;this.l+=t.length>>1}function Mt(t,e){t.l=e,t.read_shift=Tt,t.chk=At,t.write_shift=Et}function Dt(t,e){t.l+=e}function Pt(t){var e=u(t);return Mt(e,0),e}function Ot(t,e,i){var n,r,o;for(Mt(t,t.l||0);t.l0&&t.push(i),i=null},r=function(t){return t=128?1:0)+1+n,n>=128&&++r,n>=16384&&++r,n>=2097152&&++r;var a=t.next(r);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){a.write_shift(1,n);break}a.write_shift(1,128+(127&n)),n>>=7}n>0&&Lt(i)&&t.push(i)}function Rt(t,e){for(e.s?(t.cRel&&(t.c+=e.s.c),t.rRel&&(t.r+=e.s.r)):(t.c+=e.c,t.r+=e.r),t.cRel=t.rRel=0;t.c>=256;)t.c-=256;for(;t.r>=65536;)t.r-=65536;return t}function Ft(t,e){return t.s=Rt(t.s,e.s),t.e=Rt(t.e,e.s),t}function Bt(t,e){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function zt(t,e){var i=t.l,n=t.read_shift(1),r=jt(t),o=[],a={t:r,h:r};if(0!=(1&n)){for(var s=t.read_shift(4),l=0;l!=s;++l)o.push(Bt(t));a.r=o}else a.r=""+V(r)+"";return t.l=i+e,a}function Ht(t){var e=t.read_shift(4),i=t.read_shift(2);i+=t.read_shift(1)<<16;t.read_shift(1);return{c:e,iStyleRef:i}}function Vt(t){var e=t.read_shift(4);return 0===e||4294967295===e?"":t.read_shift(e,"dbcs")}function jt(t){var e=t.read_shift(4);return 0===e?"":t.read_shift(e,"dbcs")}function Wt(t,e){return null==e&&(e=Pt(4+2*t.length)),e.write_shift(4,t.length),t.length>0&&e.write_shift(0,t,"dbcs"),e}!function(t,e){var i;if(void 0!==e)i=e;else if("undefined"!=typeof require)try{i=require("crypto")}catch(t){i=null}t.rc4=function(t,e){var i=new Array(256),n=0,r=0,o=0,a=0;for(r=0;256!=r;++r)i[r]=r;for(r=0;256!=r;++r)o=o+i[r]+t[r%t.length].charCodeAt(0)&255,a=i[r],i[r]=i[o],i[o]=a;for(r=o=0,out=Buffer(e.length),n=0;n!=e.length;++n)o=(o+i[r=r+1&255])%256,a=i[r],i[r]=i[o],i[o]=a,out[n]=e[n]^i[i[r]+i[o]&255];return out},t.md5=i?function(t){return i.createHash("md5").update(t).digest("hex")}:function(t){throw"unimplemented"}}({},"undefined"!=typeof crypto?crypto:void 0);var Ut=Vt,Yt=function(t,e){return e||(e=Pt(127)),e.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&e.write_shift(0,t,"dbcs"),e};function Gt(t){var e=t.slice(t.l,t.l+4),i=1&e[0],n=2&e[0];t.l+=4,e[0]&=252;var r=0===n?mt([0,0,0,0,e[0],e[1],e[2],e[3]],0):Ct(e,0)>>2;return i?r/100:r}function Xt(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}function qt(t,e){return t.read_shift(8,"f")}var $t={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Zt=_($t);var Kt=2,Qt=3,Jt=12,te=81,ee=[80,te],ie={1:{n:"CodePage",t:Kt},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Qt},5:{n:"LineCount",t:Qt},6:{n:"ParagraphCount",t:Qt},7:{n:"SlideCount",t:Qt},8:{n:"NoteCount",t:Qt},9:{n:"HiddenCount",t:Qt},10:{n:"MultimediaClipCount",t:Qt},11:{n:"Scale",t:11},12:{n:"HeadingPair",t:4096|Jt},13:{n:"DocParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksDirty",t:11},17:{n:"CharacterCount",t:Qt},19:{n:"SharedDoc",t:11},22:{n:"HLinksChanged",t:11},23:{n:"AppVersion",t:Qt,p:"version"},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},ne={1:{n:"CodePage",t:Kt},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Qt},15:{n:"WordCount",t:Qt},16:{n:"CharCount",t:Qt},17:{n:"Thumbnail",t:71},18:{n:"ApplicationName",t:30},19:{n:"DocumentSecurity",t:Qt},255:{}},re={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var t in re)re.hasOwnProperty(t)&&(ie[t]=ne[t]=re[t])}();var oe={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},ae=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var se,le=[0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0].map(function(t){return[t>>16&255,t>>8&255,255&t]}),ce={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.chartsheet":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"TODO","application/vnd.ms-excel.dialogsheet":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"TODO","application/vnd.ms-excel.macrosheet":"TODO","application/vnd.ms-excel.macrosheet+xml":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.ms-excel.comments":"comments","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"TODO","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO",sheet:"js"},ue=(w(se={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}}).forEach(function(t){se[t].xlsm||(se[t].xlsm=se[t].xlsx)}),w(se).forEach(function(t){w(se[t]).forEach(function(e){ce[se[t][e]]=t})}),se),he=function(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)null==e[t[i[n]]]&&(e[t[i[n]]]=[]),e[t[i[n]]].push(i[n]);return e}(ce);bt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var de=nt("Types",null,{xmlns:bt.CT,"xmlns:xsd":bt.xsd,"xmlns:xsi":bt.xsi}),fe=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["rels",he.rels[0]]].map(function(t){return nt("Default",null,{Extension:t[0],ContentType:t[1]})});var pe={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument"};function ge(t,e){if(!t)return t;"/"!==e.charAt(0)&&(e="/"+e);var i={},n={};return t.match(M).forEach(function(t){var r=O(t);if("2&&(e[e.length]="",e[1]=e[1].replace("/>",">")),e.join("")}var ye=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];bt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",pe.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var be=function(){for(var t=new Array(ye.length),e=0;e]*>(.*)")}return t}();var Le=nt("cp:coreProperties",null,{"xmlns:cp":bt.CORE_PROPS,"xmlns:dc":bt.dc,"xmlns:dcterms":bt.dcterms,"xmlns:dcmitype":bt.dcmitype,"xmlns:xsi":bt.xsi});function xe(t,e,i,n,r){null==r[t]&&null!=e&&""!==e&&(r[t]=e,n[n.length]=i?nt(t,e,i):it(t,e))}var we=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];bt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",pe.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var _e=nt("Properties",null,{xmlns:bt.EXT_PROPS,"xmlns:vt":bt.vt});bt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",pe.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Se=/<[^>]+>[^<]*/g;var Ce=nt("Properties",null,{xmlns:bt.CUST_PROPS,"xmlns:vt":bt.vt});function ke(t,e){var i=[yt,Ce];if(!t)return i.join("");var n=1;return w(t).forEach(function(e){++n,i[i.length]=nt("property",function(t){switch(typeof t){case"string":return nt("vt:lpwstr",t);case"number":return nt((0|t)==t?"vt:i4":"vt:r8",String(t));case"boolean":return nt("vt:bool",t?"true":"false")}if(t instanceof Date)return nt("vt:filetime",rt(t));throw new Error("Unable to serialize "+t)}(t[e]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:e})}),i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}function Te(t,e,i){switch(e){case"Description":e="Comments"}t[e]=i}function Ee(t){var e=t.read_shift(4),i=t.read_shift(4);return new Date(1e3*(i/1e7*Math.pow(2,32)+e/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Ae(t,e,i){var n=t.read_shift(0,"lpstr");return i&&(t.l+=4-(n.length+1&3)&3),n}function Me(t,e,i){var n=t.read_shift(0,"lpwstr");return i&&(t.l+=4-(n.length+1&3)&3),n}function De(t,e,i){return 31===e?Me(t):Ae(t,0,i)}function Pe(t,e,i){return De(t,e,!1===i?0:4)}function Oe(t){return[Fe(t,te),Fe(t,Qt)]}function Ie(t){return function(t){for(var e=t.read_shift(4),i=[],n=0;n!=e/2;++n)i.push(Oe(t));return i}(t)}function Ne(t,e){for(var i=t.read_shift(4),n={},r=0;r!=i;++r){var o=t.read_shift(4),a=t.read_shift(4);n[o]=t.read_shift(a,1200===e?"utf16le":"utf8").replace(f,"").replace(p,"!")}return 3&t.l&&(t.l=t.l>>3<<2),n}function Re(t){var e=t.read_shift(4),i=t.slice(t.l,t.l+e);return!0&e&&(t.l+=4-(3&e)&3),i}function Fe(t,e,i){var n,r=t.read_shift(2),o=i||{};if(t.l+=2,e!==Jt&&r!==e&&-1===ee.indexOf(e))throw new Error("Expected type "+e+" saw "+r);switch(e===Jt?r:e){case 2:return n=t.read_shift(2,"i"),o.raw||(t.l+=2),n;case 3:return n=t.read_shift(4,"i");case 11:return 0!==t.read_shift(4);case 19:return n=t.read_shift(4);case 30:return Ae(t,0,4).replace(f,"");case 31:return Me(t);case 64:return Ee(t);case 65:return Re(t);case 71:return function(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size,e}(t);case 80:return Pe(t,r,!o.raw&&4).replace(f,"");case 81:return function(t,e){if(!e)throw new Error("dafuq?");return De(t,e,0)}(t,r).replace(f,"");case 4108:return Ie(t);case 4126:return function(t){return function(t){for(var e=t.read_shift(4),i=[],n=0;n!=e;++n)i[n]=t.read_shift(0,"lpstr");return i}(t)}(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}}function Be(t,e){var i,r=t.l,o=t.read_shift(4),a=t.read_shift(4),s=[],l=0,c=0,u=-1;for(l=0;l!=a;++l){var h=t.read_shift(4),d=t.read_shift(4);s[l]=[h,d+r]}var f={};for(l=0;l!=a;++l){if(t.l!==s[l][1]){var p=!0;if(l>0&&e)switch(e[s[l-1][0]].t){case 2:t.l+2===s[l][1]&&(t.l+=2,p=!1);break;case 80:case 4108:t.l<=s[l][1]&&(t.l=s[l][1],p=!1)}if(!e&&t.l<=s[l][1]&&(p=!1,t.l=s[l][1]),p)throw new Error("Read Error: Expected address "+s[l][1]+" at "+t.l+" :"+l)}if(e){var g=e[s[l][0]];if(f[g.n]=Fe(t,g.t,{raw:!0}),"version"===g.p&&(f[g.n]=String(f[g.n]>>16)+"."+String(65535&f[g.n])),"CodePage"==g.n)switch(f[g.n]){case 0:f[g.n]=1252;case 1e4:case 1252:case 874:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 932:case 936:case 949:case 950:case 1200:case 1201:case 65e3:case-536:case 65001:case-535:n(c=f[g.n]);break;default:throw new Error("Unsupported CodePage: "+f[g.n])}}else if(1===s[l][0]){if(c=f.CodePage=Fe(t,Kt),n(c),-1!==u){var m=t.l;t.l=s[u][1],i=Ne(t,c),t.l=m}}else if(0===s[l][0]){if(0===c){u=l,t.l=s[l+1][1];continue}i=Ne(t,c)}else{var v,y=i[s[l][0]];switch(t[t.l]){case 65:t.l+=4,v=Re(t);break;case 30:case 31:t.l+=4,v=Pe(t,t[t.l-4]);break;case 3:t.l+=4,v=t.read_shift(4,"i");break;case 19:t.l+=4,v=t.read_shift(4);break;case 5:t.l+=4,v=t.read_shift(8,"f");break;case 11:t.l+=4,v=Ve(t,4);break;case 64:t.l+=4,v=new Date(Ee(t));break;default:throw new Error("unparsed value: "+t[t.l])}f[y]=v}}return t.l=r+o,f}function ze(t,e){var i,n,r,o,a,s=t.content;Mt(s,0),s.chk("feff","Byte Order: ");s.read_shift(2);var l=s.read_shift(4);if(s.chk(L.utils.consts.HEADER_CLSID,"CLSID: "),1!==(i=s.read_shift(4))&&2!==i)throw"Unrecognized #Sets: "+i;if(n=s.read_shift(16),o=s.read_shift(4),1===i&&o!==s.l)throw"Length mismatch";2===i&&(r=s.read_shift(16),a=s.read_shift(4));var c,u=Be(s,e),h={SystemIdentifier:l};for(var d in u)h[d]=u[d];if(h.FMTID=n,1===i)return h;if(s.l!==a)throw"Length mismatch 2: "+s.l+" !== "+a;try{c=Be(s,null)}catch(t){}for(d in c)h[d]=c[d];return h.FMTID=[n,r],h}function He(t,e){return t.read_shift(e),null}function Ve(t,e){return 1===t.read_shift(e)}function je(t){return t.read_shift(2,"u")}function We(t,e){return function(t,e,i){for(var n=[],r=t.l+e;t.l=8&&(e=1200),void 0===n||5!==n.biff)&&(t.read_shift(1)&&(2,o="dbcs-cont"));var s=r?t.read_shift(r,o):"";return e=a,s}function Ye(t){var i=e;e=1200;var n,r,o=t.read_shift(2),a=t.read_shift(1),s=4&a,l=8&a,c={};l&&(n=t.read_shift(2)),s&&(r=t.read_shift(4));var u=1&a?"dbcs-cont":"sbcs-cont",h=0===o?"":t.read_shift(o,u);return l&&(t.l+=4*n),s&&(t.l+=r),c.t=h,l||(c.raw=""+c.t+"",c.r=c.t),e=i,c}function Ge(t,e,i){return 0===t.read_shift(1)?t.read_shift(e,"sbcs-cont"):t.read_shift(e,"dbcs-cont")}function Xe(t,e,i){var n=t.read_shift(void 0!==i&&i.biff>0&&i.biff<8?1:2);return 0===n?(t.l++,""):Ge(t,n)}function qe(t,e,i){if(5!==i.biff&&2!==i.biff)return Xe(t,0,i);var n=t.read_shift(1);return 0===n?(t.l++,""):t.read_shift(n,"sbcs-cont")}var $e=Dt,Ze=function(t,e){var i=t.read_shift(16);switch(16,i){case"e0c9ea79f9bace118c8200aa004ba90b":return function(t,e){var i=t.read_shift(4),n=t.l,r=!1;i>24&&(t.l+=i-24,"795881f43b1d7f48af2c825dc4852763"===t.read_shift(16)&&(r=!0),t.l=n);var o=t.read_shift((r?i-24:i)>>1,"utf16le").replace(f,"");return r&&(t.l+=24),o}(t);case"0303000000000000c000000000000046":return function(t,e){t.read_shift(2);var i=t.read_shift(4),n=t.read_shift(i,"cstr");t.read_shift(2),t.read_shift(2);if(0===t.read_shift(4))return n.replace(/\\/g,"/");var r=t.read_shift(4);t.read_shift(2);return t.read_shift(r>>1,"utf16le").replace(f,"")}(t);default:throw"unsupported moniker "+i}},Ke=function(t,e){var i=t.read_shift(4);return t.read_shift(i,"utf16le").replace(f,"")};function Qe(t,e){return[t.read_shift(1),t.read_shift(1),t.read_shift(1),t.read_shift(1)]}function Je(t,e){var i=Qe(t);return i[3]=0,i}function ti(t,e){return{r:t.read_shift(2),c:t.read_shift(2),ixfe:t.read_shift(2)}}function ei(t,e){return[t.read_shift(2),t.read_shift(2,"i"),t.read_shift(2,"i")]}function ii(t,e){return[t.read_shift(2),Gt(t)]}function ni(t,e){var i=t.read_shift(2),n=t.read_shift(2);return{s:{c:t.read_shift(2),r:i},e:{c:t.read_shift(2),r:n}}}function ri(t,e){var i=t.read_shift(2),n=t.read_shift(2);return{s:{c:t.read_shift(1),r:i},e:{c:t.read_shift(1),r:n}}}var oi=ri;function ai(t,e){t.l+=4;var i=t.read_shift(2),n=t.read_shift(2),r=t.read_shift(2);return t.l+=12,[n,i,r]}var si={21:ai,19:Dt,18:function(t,e){t.l+=12},17:function(t,e){t.l+=8},16:Dt,15:Dt,13:function(t,e){var i={};return t.l+=4,t.l+=16,i.fSharedNote=t.read_shift(2),t.l+=4,i},12:function(t,e){t.l+=24},11:function(t,e){t.l+=10},10:function(t,e){t.l+=16},9:Dt,8:function(t,e){t.l+=6},7:function(t,e){return t.l+=4,t.cf=t.read_shift(2),{}},6:function(t,e){t.l+=6},4:Dt,0:function(t,e){t.l+=4}};var li=je;function ci(t,e){var i={};switch(i.BIFFVer=t.read_shift(2),e-=2,i.BIFFVer){case 1536:case 1280:case 2:case 7:break;default:throw"Unexpected BIFF Ver "+i.BIFFVer}return t.read_shift(e),i}var ui=He;function hi(t,e,i){var n=ti(t),r=Xe(t,0,i);return n.val=r,n}function di(t,e,i){var n={},r=(t.read_shift(4),t.read_shift(4),t.read_shift(4)),o=t.read_shift(2);return n.patternType=ae[r>>26],n.icvFore=127&o,n.icvBack=o>>7&127,n}var fi=function(t,e,i){return 0===e?"":qe(t,0,i)};function pi(t,e,i){var n,r=t.read_shift(2),o={fBuiltIn:1&r,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return 14849===i.sbcch&&(n=function(t,e){t.l+=4,e-=4;var i=t.l+e,n=Ue(t),r=t.read_shift(2);if(r!==(i-=t.l))throw"Malformed AddinUdf: padding = "+i+" != "+r;return t.l+=r,n}(t,e-2)),o.body=n||t.read_shift(e-2),o}var gi=Dt,mi=Dt,vi=Dt,yi=Dt,bi=Ve,Li=ti,xi=qt,wi=je,_i=je,Si=qt,Ci=Ve,ki=je,Ti=Ve,Ei=He,Ai=Ve,Mi=je,Di=Ve,Pi=Ve,Oi=je,Ii=He,Ni=He,Ri=He,Fi=He,Bi=He,zi=je,Hi=fi,Vi=je,ji=Ve,Wi=fi,Ui=je,Yi=He,Gi=qt,Xi=He,qi=Ve,$i=je,Zi=Ve,Ki=Ve,Qi=je,Ji=Ve,tn=je,en=Ve,nn=Ve,rn=qt,on=We,an=Ve,sn=We,ln=Xe,cn=Ve,un=qt,hn=Ve,dn=Ve,fn=Ve,pn=Dt,gn=Dt,mn=Dt,vn=Dt,yn=Dt,bn=Dt,Ln=Dt,xn=Dt,wn=Dt,_n=Dt,Sn=Dt,Cn=Dt,kn=Dt,Tn=Dt,En=Dt,An=Dt,Mn=Dt,Dn=Dt,Pn=Dt,On=Dt,In=Dt,Nn=Dt,Rn=Dt,Fn=Dt,Bn=Dt,zn=Dt,Hn=Dt,Vn=Dt,jn=Dt,Wn=Dt,Un=Dt,Yn=Dt,Gn=Dt,Xn=Dt,qn=Dt,$n=Dt,Zn=Dt,Kn=Dt,Qn=Dt,Jn=Dt,tr=Dt,er=Dt,ir=Dt,nr=Dt,rr=Dt,or=Dt,ar=Dt,sr=Dt,lr=Dt,cr=Dt,ur=Dt,hr=Dt,dr=Dt,fr=Dt,pr=Dt,gr=Dt,mr=Dt,vr=Dt,yr=Dt,br=Dt,Lr=Dt,xr=Dt,wr=Dt,_r=Dt,Sr=Dt,Cr=Dt,kr=Dt,Tr=Dt,Er=Dt,Ar=Dt,Mr=Dt,Dr=Dt,Pr=Dt,Or=Dt,Ir=Dt,Nr=Dt,Rr=Dt,Fr=Dt,Br=Dt,zr=Dt,Hr=Dt,Vr=Dt,jr=Dt,Wr=Dt,Ur=Dt,Yr=Dt,Gr=Dt,Xr=Dt,qr=Dt,$r=Dt,Zr=Dt,Kr=Dt,Qr=Dt,Jr=Dt,to=Dt,eo=Dt,io=Dt,no=Dt,ro=Dt,oo=Dt,ao=Dt,so=Dt,lo=Dt,co=Dt,uo=Dt,ho=Dt,fo=Dt,po=Dt,go=Dt,mo=Dt,vo=Dt,yo=Dt,bo=Xe,Lo=Dt,xo=Dt,wo=Dt,_o=Dt,So=Dt,Co=Dt,ko=Dt,To=Dt,Eo=Dt,Ao=Dt,Mo=Dt,Do=Dt,Po=Dt,Oo=Dt,Io=Dt,No=Dt,Ro=Dt,Fo=Dt,Bo=Dt,zo=Dt,Ho=Dt,Vo=Dt,jo=Dt,Wo=Dt,Uo=Dt,Yo=Dt,Go=Dt,Xo=Dt,qo=Dt,$o=Dt,Zo=Dt,Ko=Dt,Qo=Dt,Jo=Dt,ta=Dt,ea=Dt,ia=Dt,na=Dt,ra=Dt,oa=Dt,aa=Dt,sa=Dt,la=Dt,ca=Dt,ua=Dt,ha=Dt,da=Dt,fa=Dt,pa=Dt,ga=Dt,ma=Dt,va=Dt,ya=Dt,ba=Dt,La=Dt,xa=Dt,wa=Dt,_a=Dt,Sa=Dt,Ca=Dt,ka=Dt,Ta=Dt,Ea=Dt,Aa=Dt,Ma=Dt,Da=Dt,Pa=Dt,Oa=Dt,Ia=Dt,Na=Dt,Ra=Dt,Fa=Dt,Ba=Dt,za=Dt,Ha=Dt,Va=Dt,ja=Dt,Wa=Dt,Ua=Dt,Ya=Dt,Ga=Dt,Xa=Dt,qa=Dt,$a=Dt,Za=Dt,Ka=Dt,Qa=Dt,Ja=Dt,ts=Dt,es=Dt,is=Dt,ns=Dt,rs=Dt,os=Dt,as=Dt,ss=Dt,ls=Dt,cs=Dt,us=Dt,hs=Dt,ds=Dt,fs=Dt,ps=Dt,gs=Dt,ms=Dt,vs=Dt,ys=Dt,bs=Dt,Ls=Dt,xs=Dt,ws=Dt,_s=Dt,Ss=Dt,Cs=Dt,ks=Dt,Ts=Dt,Es=Dt,As=Dt,Ms=Dt,Ds=Dt,Ps=Dt,Os=Dt,Is=Dt,Ns=Dt,Rs=Dt,Fs=Dt,Bs=Dt,zs=Dt,Hs=Dt,Vs=Dt,js=Dt,Ws=Dt,Us=Dt,Ys=Dt,Gs=Dt,Xs=Dt,qs=Dt,$s=Dt,Zs=Dt,Ks=Dt,Qs=Dt,Js=Dt,tl=Dt,el=Dt;var il={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},nl=function(){var t=Z("t"),e=Z("rPr"),i=//g,n=/<\/r>/,r=/\r\n/g,o=function(t,e,i){var n={},r=65001,o=t.match(M),a=0;if(o)for(;a!=o.length;++a){var s=O(o[a]);switch(s[0]){case"":break;case"":break;case"":n.strike=1;break;case"":break;case"":n.u=1;break;case"":break;case"":n.b=1;break;case"":break;case"":n.i=1;break;case"":break;case"'),i.push(""),r};function a(i){var n=[[],"",[]],a=i.match(t);if(!x(a))return"";n[1]=a[1];var s=i.match(e);return x(s)&&o(s[1],n[0],n[2]),n[0].join("")+n[1].replace(r,"
    ")+n[2].join("")}return function(t){return t.replace(i,"").split(n).map(a).join("")}}(),rl=/]*>([^<]*)<\/t>/g,ol=//;function al(t,e){var i=!e||e.cellHTML,n={};return t?(116===t.charCodeAt(1)?(n.t=U(B(t.substr(t.indexOf(">")+1).split(/<\/t>/)[0])),n.r=t,i&&(n.h=n.t)):t.match(ol)&&(n.r=t,n.t=U(B(t.match(rl).join("").replace(M,""))),i&&(n.h=nl(t))),n):null}var sl=/]*)>([\s\S]*)<\/sst>/,ll=/<(?:si|sstItem)>/g,cl=/<\/(?:si|sstItem)>/;pe.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var ul=/^\s|\s$|[\t\n\r]/;var hl=function(t,e){return null==e&&(e=Pt(5+2*t.t.length)),e.write_shift(1,0),Wt(t.t,e),e};function dl(t,e){var i=It();Nt(i,"BrtBeginSst",function(t,e){return e||(e=Pt(8)),e.write_shift(4,t.Count),e.write_shift(4,t.Unique),e}(t));for(var n=0;n4||n.Major<2)throw"unrecognized major version code: "+n.Major;i.Flags=t.read_shift(4),e-=4;var r=t.read_shift(4);return e-=4,i.EncryptionHeader=function(t,e){var i={};i.Flags=t.read_shift(4);var n=t.read_shift(4);if(0!==n)throw"Unrecognized SizeExtra: "+n;switch(i.AlgID=t.read_shift(4),i.AlgID){case 0:case 26625:case 26126:case 26127:case 26128:break;default:throw"Unrecognized encryption algorithm: "+i.AlgID}return Dt(t,e-12),i}(t,r),e-=r,i.EncryptionVerifier=function(t,e){return Dt(t,e)}(t,e),i}var ml,vl,yl,bl,Ll=(ml=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],vl=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],yl=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],bl=function(t,e){return 255&((i=t^e)/2|128*i);var i},function(t){for(var e,i,n,r=fl(t),o=function(t){for(var e=vl[t.length-1],i=104,n=t.length-1;n>=0;--n)for(var r=t[n],o=0;7!=o;++o)64&r&&(e^=yl[i]),r*=2,--i;return e}(r),a=r.length,s=u(16),l=0;16!=l;++l)s[l]=0;for(1==(1&a)&&(e=o>>8,s[a]=bl(ml[0],e),--a,e=255&o,i=r[r.length-1],s[a]=bl(i,e));a>0;)e=o>>8,s[--a]=bl(r[a],e),e=255&o,s[--a]=bl(r[a],e);for(a=15,n=15-r.length;n>0;)e=o>>8,s[a]=bl(ml[n],e),--n,e=255&o,s[--a]=bl(r[a],e),--a,--n;return s}),xl=function(t){var e=0,i=Ll(t);return function(t){var n=function(t,e,i,n,r){var o,a;for(r||(r=e),n||(n=Ll(t)),o=0;o!=e.length;++o)a=e[o],a=255&((a^=n[i])>>5|a<<3),r[o]=a,++i;return[r,i,n]}(null,t,e,i);return e=n[1],n[0]}};function wl(t,e,i,n){var r={key:je(t),verificationBytes:je(t)};return i.password&&(r.verifier=function(t){var e,i,n=0,r=fl(t),o=r.length+1;for((e=u(o))[0]=r.length,i=1;i!=o;++i)e[i]=r[i-1];for(i=o-1;i>=0;--i)n=((0==(16384&n)?0:1)|n<<1&32767)^e[i];return 52811^n}(i.password)),n.valid=r.verificationBytes===r.verifier,n.valid&&(n.insitu_decrypt=xl(i.password)),r}function _l(t,e,i){var n=i||{};return n.Info=t.read_shift(2),t.l-=2,1===n.Info?n.Data=function(t,e){var i={},n=i.EncryptionVersionInfo=pl(t);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return i.Salt=t.read_shift(16),i.EncryptedVerifier=t.read_shift(16),i.EncryptedVerifierHash=t.read_shift(16),i}(t):n.Data=gl(t,e),n}function Sl(t){for(var e=0,i=1;3!=e;++e)i=256*i+(t[e]>255?255:t[e]<0?0:t[e]);return i.toString(16).toUpperCase().substr(1)}function Cl(t,e){if(0==e)return t;var i,n,r=function(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=r-o;if(0===a)return[0,0,e];var s,l=0,c=r+o;switch(s=a/(c>1?2-c:c),r){case e:l=((i-n)/a+6)%6;break;case i:l=(n-e)/a+2;break;case n:l=(e-i)/a+4}return[l/6,s,c/2]}((n=(i=t).substr("#"===i[0]?1:0,6),[parseInt(n.substr(0,2),16),parseInt(n.substr(2,2),16),parseInt(n.substr(4,2),16)]));return r[2]=e<0?r[2]*(1+e):1-(1-r[2])*(1-e),Sl(function(t){var e,i=t[0],n=t[1],r=t[2],o=2*n*(r<.5?r:1-r),a=r-o/2,s=[a,a,a],l=6*i;if(0!==n)switch(0|l){case 0:case 6:e=o*l,s[0]+=o,s[1]+=e;break;case 1:e=o*(2-l),s[0]+=e,s[1]+=o;break;case 2:e=o*(l-2),s[1]+=o,s[2]+=e;break;case 3:e=o*(4-l),s[1]+=e,s[2]+=o;break;case 4:e=o*(l-4),s[2]+=o,s[0]+=e;break;case 5:e=o*(6-l),s[2]+=e,s[0]+=o}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}(r))}var kl=7,Tl=15,El=1,Al=kl;function Ml(t){return(t+(128/Al|0)/256)*Al|0}function Dl(t){return((t-5)/Al*100+.5|0)/100}function Pl(t){return((t*Al+5)/Al*256|0)/256}function Ol(t){return Pl(Dl(Ml(t)))}function Il(t,e){if(Ol(t)!=t){for(Al=kl;Al>El&&Ol(t)!==t;--Al);if(Al===El)for(Al=kl+1;Al]*)>.*<\/numFmts>/,zl=/]*)>.*<\/cellXfs>/,Hl=/]*)>.*<\/fills>/,Vl=/]*)>.*<\/borders>/,function(t,e){var i;return(i=t.match(Bl))&&function(t,e){Rl.NumberFmt=[];for(var i=w(g._table),n=0;n":case"":case"":break;case"0&&g.load(a,s);break;default:if(e.WTF)throw"unrecognized "+o[0]+" in numFmts"}}}(i,e),(i=t.match(/]*)>.*<\/fonts>/))&&function(t,e){Rl.Fonts=[];var i={};t[0].match(M).forEach(function(t){var e=O(t);switch(e[0]){case"":case"":case"":Rl.Fonts.push(i),i={};break;case"":case"":break;case"":i.bold=!0;break;case"":i.underline=!0;break;case"":i.italic=!0;break;case"":i.strike=!0;break;case"":i.outline=!0;break;case"":i.shadow=!0;break;case"":case"":break;case"":case"":break;case"":case"":case"":break;case"":Rl.Fills.push(i),i={};break;case"":case"":break;case"":case"":break;case"":case"":break;default:if(e.WTF)throw"unrecognized "+n[0]+" in fills"}})}(i,e),(i=t.match(Vl))&&function(t,e){Rl.Borders=[];var i={},n={};t[0].match(M).forEach(function(t){var e=O(t);switch(e[0]){case"":case"":break;case"":i={},e.diagonalUp&&(i.diagonalUp=e.diagonalUp),e.diagonalDown&&(i.diagonalDown=e.diagonalDown),Rl.Borders.push(i);break;case"":break;case"":case"":case"":break;case"":break;case"":var r={};n.vertical&&(r.vertical=n.vertical),n.horizontal&&(r.horizontal=n.horizontal),null!=n.textRotation&&(r.textRotation=n.textRotation),n.indent&&(r.indent=n.indent),n.wrapText&&(r.wrapText=n.wrapText),i.alignment=r;break;case"":case"":break;case"":case""];return[[5,8],[23,26],[41,44],[63,66],[164,392]].forEach(function(e){for(var n=e[0];n<=e[1];++n)void 0!==t[n]&&(i[i.length]=nt("numFmt",null,{numFmtId:n,formatCode:V(t[n])}))}),1===i.length?"":(i[i.length]="",i[0]=nt("numFmts",null,{count:i.length-2}).replace("/>",">"),i.join(""))}(t.SSF))&&(n[n.length]=i),n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',(i=function(t){var e=[];return e[e.length]=nt("cellXfs",null),t.forEach(function(t){e[e.length]=nt("xf",null,t)}),e[e.length]="",2===e.length?"":(e[0]=nt("cellXfs",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(e.cellXfs))&&(n[n.length]=i),n[n.length]='',n[n.length]='',n[n.length]='',n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Yl(t,e){Fl.themeElements.clrScheme=[];var i={};t[0].match(M).forEach(function(t){var n=O(t);switch(n[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===n[0][1]?(Fl.themeElements.clrScheme.push(i),i={}):i.name=n[0].substring(3,n[0].length-1);break;default:if(e.WTF)throw"unrecognized "+n[0]+" in clrScheme"}})}function Gl(t,e){}function Xl(t,e){}pe.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",pe.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var ql=/]*)>[^\u2603]*<\/a:clrScheme>/,$l=/]*)>[^\u2603]*<\/a:fontScheme>/,Zl=/]*)>[^\u2603]*<\/a:fmtScheme>/;var Kl=/]*)>[^\u2603]*<\/a:themeElements>/;function Ql(t,e){if(!t||0===t.length)return Fl;var i;if(!(i=t.match(Kl)))throw"themeElements not found in theme";return function(t,e){var i;Fl.themeElements={},[["clrScheme",ql,Yl],["fontScheme",$l,Gl],["fmtScheme",Zl,Xl]].forEach(function(n){if(!(i=t.match(n[1])))throw n[0]+" not found in themeElements";n[2](i,e)})}(i[0],e),Fl}function Jl(t,e){var i={};switch(i.xclrType=t.read_shift(2),i.nTintShade=t.read_shift(2),i.xclrType){case 0:t.l+=4;break;case 1:i.xclrValue=function(t,e){return Dt(t,e)}(t,4);break;case 2:i.xclrValue=Qe(t);break;case 3:i.xclrValue=function(t,e){return t.read_shift(4)}(t);break;case 4:t.l+=4}return t.l+=8,i}function tc(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=[i];switch(i){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=Jl(t);break;case 6:r[1]=function(t,e){return Dt(t,e)}(t,n);break;case 14:case 15:r[1]=t.read_shift(5===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+i+" "+n)}return r}function ec(t,e,i){i.forEach(function(t){var i=e[t.ref];if(!i){i={},e[t.ref]=i;var n=mh(e["!ref"]||"BDWGO1000001:A1"),r=fh(t.ref);n.s.r>r.r&&(n.s.r=r.r),n.e.rr.c&&(n.s.c=r.c),n.e.c0?0|parseInt(r,10):0,l=a.length>0?0|parseInt(a,10):0;return l<0&&0===o.length&&(l=0),o.length>0&&(l+=t.c),n.length>0&&(s+=t.r),i+uh(l)+sh(s)}return function(n,r){return t=r,n.replace(e,i)}}();function oc(t,e){t.l+=1}function ac(t,e){var i=t.read_shift(2);return[16383&i,i>>14&1,i>>15&1]}function sc(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ac(t),o=ac(t);return{s:{r:i,c:r[0],cRel:r[1],rRel:r[2]},e:{r:n,c:o[0],cRel:o[1],rRel:o[2]}}}function lc(t,e){var i=t.read_shift(2),n=ac(t);return{r:i,c:n[0],cRel:n[1],rRel:n[2]}}function cc(t,e){return[t.read_shift(1),t.read_shift(1)]}var uc,hc=(uc=4,function(t,e){t.l+=uc});function dc(t){var e=[];switch(e[0]=t.read_shift(1)){case 4:e[1]=Ve(t,1)?"TRUE":"FALSE",t.l+=7;break;case 16:e[1]=$t[t[t.l]],t.l+=8;break;case 0:t.l+=8;break;case 1:e[1]=qt(t);break;case 2:e[1]=Xe(t)}return e}function fc(t,e){for(var i=t.read_shift(2),n=[],r=0;r!=i;++r)n.push(ni(t));return n}function pc(t){for(var e=1+t.read_shift(1),i=1+t.read_shift(2),n=0,r=[];n!=i&&(r[n]=[]);++n)for(var o=0;o!=e;++o)r[n][o]=dc(t);return r}var gc={1:{n:"PtgExp",f:function(t,e){return t.l++,[t.read_shift(2),t.read_shift(2)]}},2:{n:"PtgTbl",f:Dt},3:{n:"PtgAdd",f:oc},4:{n:"PtgSub",f:oc},5:{n:"PtgMul",f:oc},6:{n:"PtgDiv",f:oc},7:{n:"PtgPower",f:oc},8:{n:"PtgConcat",f:oc},9:{n:"PtgLt",f:oc},10:{n:"PtgLe",f:oc},11:{n:"PtgEq",f:oc},12:{n:"PtgGe",f:oc},13:{n:"PtgGt",f:oc},14:{n:"PtgNe",f:oc},15:{n:"PtgIsect",f:oc},16:{n:"PtgUnion",f:oc},17:{n:"PtgRange",f:oc},18:{n:"PtgUplus",f:oc},19:{n:"PtgUminus",f:oc},20:{n:"PtgPercent",f:oc},21:{n:"PtgParen",f:oc},22:{n:"PtgMissArg",f:oc},23:{n:"PtgStr",f:function(t,e){return t.l++,Ue(t)}},28:{n:"PtgErr",f:function(t,e){return t.l++,$t[t.read_shift(1)]}},29:{n:"PtgBool",f:function(t,e){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function(t,e){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function(t,e){return t.l++,qt(t)}},32:{n:"PtgArray",f:function(t,e){var i=(96&t[t.l++])>>5;return t.l+=7,[i]}},33:{n:"PtgFunc",f:function(t,e){t[t.l],t[t.l],t.l+=1;var i=t.read_shift(2);return[Ac[i],Ec[i]]}},34:{n:"PtgFuncVar",f:function(t,e){t.l++;var i=t.read_shift(1),n=function(t,e){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[i,(0===n[0]?Ec:Tc)[n[1]]]}},35:{n:"PtgName",f:function(t,e){return[t.read_shift(1)>>>5&3,0,t.read_shift(4)]}},36:{n:"PtgRef",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,lc(t)]}},37:{n:"PtgArea",f:function(t,e){return[(96&t[t.l++])>>5,sc(t)]}},38:{n:"PtgMemArea",f:function(t,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,[i,t.read_shift(2)]}},39:{n:"PtgMemErr",f:Dt},40:{n:"PtgMemNoMem",f:Dt},41:{n:"PtgMemFunc",f:function(t,e){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},42:{n:"PtgRefErr",f:function(t,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,[i]}},43:{n:"PtgAreaErr",f:function(t,e){var i=(96&t[t.l++])>>5;return t.l+=8,[i]}},44:{n:"PtgRefN",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=(32768&n)>>15,o=(16384&n)>>14;if(n&=16383,0!==r)for(;n>=256;)n-=256;return{r:i,c:n,cRel:r,rRel:o}}(t)]}},45:{n:"PtgAreaN",f:function(t,e){return[(96&t[t.l++])>>5,function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ac(t),o=ac(t);return{s:{r:i,c:r[0],cRel:r[1],rRel:r[2]},e:{r:n,c:o[0],cRel:o[1],rRel:o[2]}}}(t)]}},57:{n:"PtgNameX",f:function(t,e){return[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,t.read_shift(2),lc(t)]}},59:{n:"PtgArea3d",f:function(t,e){return[(96&t[t.l++])>>5,t.read_shift(2),sc(t)]}},60:{n:"PtgRefErr3d",f:Dt},61:{n:"PtgAreaErr3d",f:function(t,e){var i=(96&t[t.l++])>>5,n=t.read_shift(2);return t.l+=8,[i,n]}},255:{}},mc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var t in mc)gc[t]=gc[mc[t]]}();var vc={},yc={1:{n:"PtgAttrSemi",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=4,[i]}},2:{n:"PtgAttrIf",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(2)]}},4:{n:"PtgAttrChoose",f:function(t,e){t.l+=2;for(var i=t.read_shift(2),n=[],r=0;r<=i;++r)n.push(t.read_shift(2));return n}},8:{n:"PtgAttrGoto",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(2)]}},16:{n:"PtgAttrSum",f:hc},32:{n:"PtgAttrBaxcel",f:function(t,e){var i=1&t[t.l+1];return t.l+=4,[i,1]}},64:{n:"PtgAttrSpace",f:function(t,e){return t.read_shift(2),cc(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t,e){return t.read_shift(2),cc(t)}},255:{}};function bc(t,e,i){var n=ti(t),r=function(t){var e;if(65535!==wt(t,t.l+6))return[qt(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=1===t[t.l+2],t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}}(t),o=t.read_shift(1);t.read_shift(1);t.read_shift(4);var a="";return 5===i.biff?t.l+=e-20:a=function(t,e,i){t.l;var n,r=t.read_shift(2);if(65535==r)return[[],Dt(t,e-2)];var o=_c(t,r);e!==r+2&&(n=Lc(t,e-r-2,o,i));return[o,n]}(t,e-20,i),{cell:n,val:r[0],formula:a,shared:o>>3&1,tt:r[1]}}function Lc(t,e,i,n){if(n.biff<8)return Dt(t,e);for(var r=t.l+e,o=[],a=0;a!==i.length;++a)switch(i[a][0]){case"PtgArray":i[a][1]=pc(t),o.push(i[a][1]);break;case"PtgMemArea":i[a][2]=fc(t,i[a][1]),o.push(i[a][2])}return 0!==(e=r-t.l)&&o.push(Dt(t,e)),o}function xc(t,e,i){var n,r=t.l+e,o=t.read_shift(2),a=_c(t,o);return 65535==o?[[],Dt(t,e-2)]:(e!==o+2&&(n=Lc(t,r-o-2,a,i)),[a,n])}function wc(t,e,i,n){var r,o=t.l+e,a=t.read_shift(2);if(65535==a)return[[],Dt(t,e-2)];var s=_c(t,a);return e!==a+2&&(r=Lc(t,o-a-2,s,i)),[s,r]}function _c(t,e){for(var i,n,r=t.l+e,o=[];r!=t.l;)e=r-t.l,n=t[t.l],i=gc[n],24!==n&&25!==n||(i=(24===(n=t[t.l+1])?vc:yc)[n]),i&&i.f?o.push([i.n,i.f(t,e)]):o.push(Dt(t,e));return o}function Sc(t){return t.map(function(t){return t[1]}).join(",")}function Cc(t,e,i,n,r){if(void 0!==r&&5===r.biff)return"BIFF5??";var o,a,s,l,c,u,h=void 0!==e?e:{s:{c:0,r:0}},d=[];if(!t[0]||!t[0][0])return"";for(var f=0,p=t[0].length;f="+o);break;case"PtgGt":o=d.pop(),a=d.pop(),d.push(a+">"+o);break;case"PtgNe":o=d.pop(),a=d.pop(),d.push(a+"<>"+o);break;case"PtgIsect":o=d.pop(),a=d.pop(),d.push(a+" "+o);break;case"PtgUnion":o=d.pop(),a=d.pop(),d.push(a+","+o);break;case"PtgRange":case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":break;case"PtgRef":g[1][0],s=Rt(fh(ph(g[1][1])),h),d.push(ph(s));break;case"PtgRefN":g[1][0],s=Rt(fh(ph(g[1][1])),i),d.push(ph(s));break;case"PtgRef3d":g[1][0],l=g[1][1],s=Rt(g[1][2],h),d.push(n[1][l+1]+"!"+ph(s));break;case"PtgFunc":case"PtgFuncVar":var m=g[1][0],v=g[1][1];m||(m=0);var y=d.slice(-m);d.length-=m,"User"===v&&(v=y.shift()),d.push(v+"("+y.join(",")+")");break;case"PtgBool":d.push(g[1]?"TRUE":"FALSE");break;case"PtgInt":d.push(g[1]);break;case"PtgNum":d.push(String(g[1]));break;case"PtgStr":d.push('"'+g[1]+'"');break;case"PtgErr":d.push(g[1]);break;case"PtgArea":g[1][0],u=Ft(g[1][1],h),d.push(gh(u));break;case"PtgArea3d":g[1][0],l=g[1][1],u=g[1][2],d.push(n[1][l+1]+"!"+gh(u));break;case"PtgAttrSum":d.push("SUM("+d.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":c=g[1][2];var b=n[0][c].Name;b in Mc&&(b=Mc[b]),d.push(b);break;case"PtgNameX":var L,x=g[1][1];c=g[1][2],n[x+1]?L=n[x+1][c]:n[x-1]&&(L=n[x-1][c]),L||(L={body:"??NAMEX??"}),d.push(L.body);break;case"PtgParen":d.push("("+d.pop()+")");break;case"PtgRefErr":d.push("#REF!");break;case"PtgExp":s={c:g[1][1],r:g[1][0]};var w={c:i.c,r:i.r};if(n.sharedf[ph(s)]){var _=n.sharedf[ph(s)];d.push(Cc(_,h,w,n,r))}else{for(o=0;o!=n.arrayf.length;++o)a=n.arrayf[o],s.ca[0].e.c||s.ra[0].e.r||d.push(Cc(a[1],h,w,n,r));d.push(g[1])}break;case"PtgArray":d.push("{"+g[1].map(Sc).join(";")+"}");break;case"PtgMemArea":case"PtgAttrSpace":case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":d.push("");break;case"PtgAreaErr":break;case"PtgAreaN":d.push("");break;case"PtgRefErr3d":case"PtgMemFunc":break;default:throw"Unrecognized Formula Token: "+g}}return d[0]}function kc(t,e){t.read_shift(4);return Dt(t,e-4)}var Tc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Ec={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD"},Ac={2:1,3:1,15:1,16:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,65:3,66:3,67:1,68:1,69:1,71:1,72:1,73:1,75:1,76:1,77:1,79:2,80:2,83:1,86:1,90:1,97:2,98:1,99:1,105:1,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,189:3,190:1,195:3,196:3,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,65535:0},Mc={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFNA":"IFNA","_xlfn.IFERROR":"IFERROR","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"},Dc={},Pc={};function Oc(t,e){for(var i=0,n=t.length;i/g,Bc=/<(?:\w+:)?sheetData>([^\u2603]*)<\/(?:\w+:)?sheetData>/,zc=/]*\/>/g,Hc=/"(\w*:\w*)"/,Vc=/]*\/>/g;function jc(t,e,i){if(!t)return t;var n={},r=t.indexOf("0){var o=t.substr(r,50).match(Hc);null!=o&&function(t,e){var i=mh(e);i.s.r<=i.e.r&&i.s.c<=i.e.c&&i.s.r>=0&&i.s.c>=0&&(t["!ref"]=gh(i))}(n,o[1])}var a=[];if(-1!==t.indexOf("")){var s=t.match(Fc);for(r=0;r!=s.length;++r)a[r]=mh(s[r].substr(s[r].indexOf('"')+1))}var l=[];e.cellStyles&&-1!==t.indexOf("")&&function(t,e){for(var i=!1,n=0;n!=e.length;++n){var r=O(e[n],!0),o=parseInt(r.min,10)-1,a=parseInt(r.max,10)-1;for(delete r.min,delete r.max,!i&&r.width&&(i=!0,Il(+r.width)),r.width&&(r.wpx=Ml(+r.width),r.wch=Dl(r.wpx),r.MDW=Al);o<=a;)t[o++]=r}}(l,t.match(Vc));var c={s:{r:1e6,c:1e6},e:{r:0,c:0}},u=t.match(Bc);if(u&&Zc(u[1],n,e,c),-1!==t.indexOf("")&&function(t,e,i){for(var n=0;n!=e.length;++n){var r=O(e[n],!0);if(!r.ref)return;var o=i?i["!id"][r.id]:null;o?(r.Target=o.Target,r.location&&(r.Target+="#"+r.location),r.Rel=o):(r.Target=r.location,o={Target:r.location,TargetMode:"Internal"},r.Rel=o);for(var a=mh(r.ref),s=a.s.r;s<=a.e.r;++s)for(var l=a.s.c;l<=a.e.c;++l){var c=ph({c:l,r:s});t[c]||(t[c]={t:"stub",v:void 0}),t[c].l=r}}}(n,t.match(zc),i),!n["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(n["!ref"]=gh(c)),e.sheetRows>0&&n["!ref"]){var h=mh(n["!ref"]);e.sheetRows<+h.e.r&&(h.e.r=e.sheetRows-1,h.e.r>c.e.r&&(h.e.r=c.e.r),h.e.rc.e.c&&(h.e.c=c.e.c),h.e.c0&&(n["!merges"]=a),l.length>0&&(n["!cols"]=l),n}function Wc(t,e,i,n,r,o){if(void 0===t.v&&void 0===t.s)return"";var a="",s=t.t,l=t.v;switch(t.t){case"b":a=t.v?"1":"0";break;case"n":a=""+t.v;break;case"e":a=$t[t.v];break;case"d":n.cellDates?a=new Date(t.v).toISOString():(t.t="n",a=""+(t.v=S(t.v)),void 0===t.z&&(t.z=g._table[14]));break;default:a=t.v}var c=it("v",V(a)),u={r:e},h=Ic(n.cellXfs,t,n);switch(0!==h&&(u.s=h),t.t){case"n":break;case"d":u.t="d";break;case"b":u.t="b";break;case"e":u.t="e";break;default:if(n.bookSST){c=it("v",""+Oc(n.Strings,t.v)),u.t="s";break}u.t="str"}return t.t!=s&&(t.t=s,t.v=l),nt("c",c,u)}var Uc,Yc,Gc,Xc,qc,$c,Zc=(Uc=/<(?:\w+:)?c[ >]/,Yc=/<\/(?:\w+:)?row>/,Gc=/r=["']([^"']*)["']/,Xc=/([\S\s]*?)<\/is>/,qc=Z("v"),$c=Z("f"),function(t,e,i,n){for(var r,o,a,s,l=0,c="",u=[],h=[],d=0,f=0,p=0,g="",m=0,v=0,y=0,b=Array.isArray(Rl.CellXf),L=t.split(Yc),x=0,w=L.length;x!=w;++x){var _=(c=L[x].trim()).length;if(0!==_){for(l=0;l<_&&62!==c.charCodeAt(l);++l);if(++l,m=void 0!==(o=O(c.substr(0,l),!0)).r?parseInt(o.r,10):m+1,v=-1,!(i.sheetRows&&i.sheetRowsm-1&&(n.s.r=m-1),n.e.r":"")+c,null!==h&&2===h.length){for(d=0,g=h[1],f=0;f!=g.length&&!((p=g.charCodeAt(f)-64)<1||p>26);++f)d=26*d+p;v=--d}else++v;for(f=0;f!=c.length&&62!==c.charCodeAt(f);++f);if(++f,(o=O(c.substr(0,f),!0)).r||(o.r=wh.encode_cell({r:m-1,c:v})),r={t:""},null!==(h=(g=c.substr(f)).match(qc))&&""!==h[1]&&(r.v=B(h[1])),i.cellFormula&&null!==(h=g.match($c))&&(r.f=B(h[1])),void 0===o.t&&void 0===o.s&&void 0===r.v){if(!i.sheetStubs)continue;r.t="stub"}else r.t=o.t||"n";switch(n.s.c>d&&(n.s.c=d),n.e.c0&&(r[r.length]=function(t,e){for(var i,n,r=[""],o=0;o!=e.length;++o)if(i=e[o]){var a={min:o+1,max:o+1};n=-1,i.wpx?n=Dl(i.wpx):i.wch&&(n=i.wch),n>-1&&(a.width=Pl(n),a.customWidth=1),r[r.length]=nt("col",null,a)}return r[r.length]="",r.join("")}(0,s["!cols"])),r[n=r.length]="",void 0!==s["!ref"]&&(a=function(t,e,i,n){var r,o,a,s,l=[],c=[],u=mh(t["!ref"]),h="",d=[];for(s=u.s.c;s<=u.e.c;++s)d[s]=uh(s);for(a=u.s.r;a<=u.e.r;++a){for(c=[],h=sh(a),s=u.s.c;s<=u.e.c;++s)void 0!==t[o=d[s]+h]&&null!=(r=Wc(t[o],o,0,e))&&c.push(r);c.length>0&&(l[l.length]=nt("row",c.join(""),{r:h}))}return l.join("")}(s,e)).length>0&&(r[r.length]=a),r.length>n+1&&(r[r.length]="",r[n]=r[n].replace("/>",">")),void 0!==s["!merges"]&&s["!merges"].length>0&&(r[r.length]=function(t){if(0==t.length)return"";for(var e='',i=0;i!=t.length;++i)e+='';return e+""}(s["!merges"])),void 0!==s["!pageSetup"]&&(r[r.length]=nt("pageSetup",null,{scale:(d=s["!pageSetup"]).scale||"100",orientation:d.orientation||"portrait",horizontalDpi:d.horizontalDpi||"4294967292",verticalDpi:d.verticalDpi||"4294967292"})),void 0!==s["!rowBreaks"]&&(r[r.length]=function(t){for(var e=[],i=0;i2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var Jc=Xt,tu=function(t,e){return e||(e=Pt(16)),e.write_shift(4,t.s.r),e.write_shift(4,t.e.r),e.write_shift(4,t.s.c),e.write_shift(4,t.e.c),e};function eu(t,e,i){return null==i&&(i=Pt(8)),function(t,e){return null==e&&(e=Pt(8)),e.write_shift(-4,t.c),e.write_shift(3,void 0===t.iStyleRef?t.iStyleRef:t.s),e.write_shift(1,0),e}(e,i)}var iu=Xt;function nu(t,e,i,n,r){if(void 0===e.v)return"";switch(e.t){case"b":e.v?"1":"0";break;case"n":case"e":""+e.v;break;default:e.v}var o={r:i,c:n};switch(o.s=Ic(r.cellXfs,e,r),e.t){case"s":case"str":if(r.bookSST){Oc(r.Strings,e.v),o.t="s";break}o.t="str";break;case"n":break;case"b":o.t="b";break;case"e":o.t="e"}Nt(t,"BrtCellBlank",eu(0,o))}function ru(t,e,i){var n=It(),r=i.SheetNames[t],o=i.Sheets[r]||{},a=mh(o["!ref"]||"A1");return Nt(n,"BrtBeginSheet"),Nt(n,"BrtWsDim",tu(a)),function(t,e,i,n,r){var o,a=mh(e["!ref"]||"A1"),s="",l=[];Nt(t,"BrtBeginSheetData");for(var c=a.s.r;c<=a.e.r;++c){s=sh(c);for(var u=a.s.c;u<=a.e.c;++u)c===a.s.r&&(l[u]=uh(u)),e[o=l[u]+s]&&nu(t,e[o],c,u,n)}Nt(t,"BrtEndSheetData")}(n,o,0,e),Nt(n,"BrtEndSheet"),n.end()}var ou=[["allowRefreshQuery","0"],["autoCompressPictures","1"],["backupFile","0"],["checkCompatibility","0"],["codeName",""],["date1904","0"],["dateCompatibility","1"],["filterPrivacy","0"],["hidePivotFieldList","0"],["promptedSolutions","0"],["publishItems","0"],["refreshAllConnections",!1],["saveExternalLinkValues","1"],["showBorderUnselectedTables","1"],["showInkAnnotation","1"],["showObjects","all"],["showPivotChartFilter","0"]],au=[["activeTab","0"],["autoFilterDateGrouping","1"],["firstSheet","0"],["minimized","0"],["showHorizontalScroll","1"],["showSheetTabs","1"],["showVerticalScroll","1"],["tabRatio","600"],["visibility","visible"]],su=[["state","visible"]],lu=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function cu(t,e){for(var i=0;i!=t.length;++i)for(var n=t[i],r=0;r!=e.length;++r){var o=e[r];null==n[o[0]]&&(n[o[0]]=o[1])}}function uu(t,e){for(var i=0;i!=e.length;++i){var n=e[i];null==t[n[0]]&&(t[n[0]]=n[1])}}function hu(t){uu(t.WBProps,ou),uu(t.CalcPr,lu),cu(t.WBView,au),cu(t.Sheets,su),Pc.date1904=W(t.WBProps.date1904)}var du=/<\w+:workbook/;function fu(t,e){var i={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=!1,r="xmlns";if(t.match(M).forEach(function(t){var o=O(t);switch(function(t){return t.replace(P,"<$1")}(o[0])){case"":break;case"":break;case"":break;case"":delete o[0],i.WBProps=o;break;case"":break;case"":case"":break;case"":case"":break;case"":case"":case"":case"":break;case"":case"":n=!1;break;case"":case"":break;case"":delete o[0],i.CalcPr=o;break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":case"":case"":case"":break;case"":n=!1;break;case"":n=!1;break;default:if(!n&&e.WTF)throw"unrecognized "+o[0]+" in workbook"}}),-1===bt.main.indexOf(i.xmlns))throw new Error("Unknown Namespace: "+i.xmlns);return hu(i),i}var pu=nt("workbook",null,{xmlns:bt.main[0],"xmlns:r":bt.r});function gu(t){try{return W(t.Workbook.WBProps.date1904)?"true":"false"}catch(t){return"false"}}function mu(t,e){return e||(e=Pt(26)),e.write_shift(4,0),e.write_shift(4,1),e.write_shift(4,0),function(t,e){(e||Pt(8)).write_shift(8,"f",t)}(0,e),e.write_shift(-4,1023),e.write_shift(1,51),e.write_shift(1,0),e}function vu(e,i){var n,r=It();return Nt(r,"BrtBeginBook"),Nt(r,"BrtFileVersion",function(e,i){i||(i=Pt(127));for(var n=0;4!=n;++n)i.write_shift(4,0);return Wt("SheetJS",i),Wt(t.version,i),Wt(t.version,i),Wt("7262",i),i.length=i.l,i}()),Nt(r,"BrtWbProp",(n||(n=Pt(8)),n.write_shift(4,0),n.write_shift(4,0),n)),function(t,e,i){Nt(t,"BrtBeginBookViews"),Nt(t,"BrtEndBookViews")}(r),function(t,e,i){Nt(t,"BrtBeginBundleShs");for(var n=0;n!=e.SheetNames.length;++n){var r={hsState:0,iTabID:n+1,strRelID:"rId"+(n+1),name:e.SheetNames[n]};Nt(t,"BrtBundleSh",(o=r,(a=void 0)||(a=Pt(127)),a.write_shift(4,o.hsState),a.write_shift(4,o.iTabID),Yt(o.strRelID,a),Wt(o.name.substr(0,31),a),a))}var o,a;Nt(t,"BrtEndBundleShs")}(r,e),Nt(r,"BrtCalcProp",mu()),Nt(r,"BrtFileRecover",function(t,e){return e||(e=Pt(1)),e.write_shift(1,0),e}()),Nt(r,"BrtEndBook"),r.end()}function yu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=!1;return Ot(t,function(t,r){switch(r.n){case"BrtBundleSh":i.Sheets.push(t);break;case"BrtBeginBook":case"BrtFileVersion":case"BrtWbProp":case"BrtACBegin":case"BrtAbsPath15":case"BrtACEnd":case"BrtWbFactoid":case"BrtBookProtection":case"BrtBeginBookViews":case"BrtBookView":case"BrtEndBookViews":case"BrtBeginBundleShs":case"BrtEndBundleShs":case"BrtBeginFnGroup":case"BrtEndFnGroup":case"BrtBeginExternals":case"BrtSupSelf":case"BrtSupBookSrc":case"BrtExternSheet":case"BrtEndExternals":case"BrtName":case"BrtCalcProp":case"BrtUserBookView":case"BrtBeginPivotCacheIDs":case"BrtBeginPivotCacheID":case"BrtEndPivotCacheID":case"BrtEndPivotCacheIDs":case"BrtWebOpt":case"BrtFileRecover":case"BrtFileSharing":case"BrtBeginSmartTagTypes":case"BrtSmartTagType":case"BrtEndSmartTagTypes":break;case"BrtFRTBegin":n=!0;break;case"BrtFRTArchID$":case"BrtWorkBookPr15":break;case"BrtFRTEnd":n=!1;break;case"BrtEndBook":break;default:if(!n||e.WTF)throw new Error("Unexpected record "+r.n)}}),hu(i),i}:fu)(t,i)}function bu(t,e,i,n){return(".bin"===e.substr(-4)?function(t,e,i){if(!t)return t;i||(i={"!id":{}});var n,r,o,a,s,l,c,u,h={},d={s:{r:1e6,c:1e6},e:{r:0,c:0}},f=!1,p=!1,g=[];if(Ot(t,function(t,m){if(!p)switch(m.n){case"BrtWsDim":n=t;break;case"BrtRowHdr":r=t,e.sheetRows&&e.sheetRows<=r.r&&(p=!0),u=sh(r.r);break;case"BrtFmlaBool":case"BrtFmlaError":case"BrtFmlaNum":case"BrtFmlaString":case"BrtCellBool":case"BrtCellError":case"BrtCellIsst":case"BrtCellReal":case"BrtCellRk":case"BrtCellSt":switch(o={t:t[2]},t[2]){case"n":o.v=t[1];break;case"s":c=Dc[t[1]],o.v=c.t,o.r=c.r;break;case"b":o.v=!!t[1];break;case"e":o.v=t[1],o.w=$t[o.v];break;case"str":o.t="s",o.v=U(t[1])}e.cellFormula&&t.length>3&&(o.f=t[3]),(a=Rl.CellXf[t[0].iStyleRef])&&Rc(o,a.ifmt,0,e),h[uh(s=t[0].c)+u]=o,d.s.r>r.r&&(d.s.r=r.r),d.s.c>s&&(d.s.c=s),d.e.rr.r&&(d.s.r=r.r),d.s.c>s&&(d.s.c=s),d.e.r0||n.e.c>0||n.s.r>0||n.s.c>0)&&(h["!ref"]=gh(n)),e.sheetRows&&h["!ref"]){var m=mh(h["!ref"]);e.sheetRows<+m.e.r&&(m.e.r=e.sheetRows-1,m.e.r>d.e.r&&(m.e.r=d.e.r),m.e.rd.e.c&&(m.e.c=d.e.c),m.e.c0&&(h["!merges"]=g),h}:jc)(t,i,n)}function Lu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){for(var i in Rl.NumberFmt=[],g._table)Rl.NumberFmt[i]=g._table[i];Rl.CellXf=[];var n="",r=!1;return Ot(t,function(t,i,o){switch(i.n){case"BrtFmt":Rl.NumberFmt[t[0]]=t[1],g.load(t[1],t[0]);break;case"BrtFont":case"BrtKnownFonts":case"BrtFill":case"BrtBorder":break;case"BrtXF":"CELLXFS"===n&&Rl.CellXf.push(t);break;case"BrtStyle":case"BrtDXF":case"BrtMRUColor":case"BrtIndexedColor":case"BrtBeginStyleSheet":case"BrtEndStyleSheet":case"BrtBeginTableStyle":case"BrtTableStyleElement":case"BrtEndTableStyle":break;case"BrtBeginFmts":n="FMTS";break;case"BrtEndFmts":n="";break;case"BrtBeginFonts":n="FONTS";break;case"BrtEndFonts":n="";break;case"BrtACBegin":n="ACFONTS";break;case"BrtACEnd":n="";break;case"BrtBeginFills":n="FILLS";break;case"BrtEndFills":n="";break;case"BrtBeginBorders":n="BORDERS";break;case"BrtEndBorders":n="";break;case"BrtBeginCellStyleXFs":n="CELLSTYLEXFS";break;case"BrtEndCellStyleXFs":n="";break;case"BrtBeginCellXFs":n="CELLXFS";break;case"BrtEndCellXFs":n="";break;case"BrtBeginStyles":n="STYLES";break;case"BrtEndStyles":n="";break;case"BrtBeginDXFs":n="DXFS";break;case"BrtEndDXFs":n="";break;case"BrtBeginTableStyles":n="TABLESTYLES";break;case"BrtEndTableStyles":n="";break;case"BrtBeginColorPalette":n="COLORPALETTE";break;case"BrtEndColorPalette":n="";break;case"BrtBeginIndexedColors":n="INDEXEDCOLORS";break;case"BrtEndIndexedColors":n="";break;case"BrtBeginMRUColors":n="MRUCOLORS";break;case"BrtEndMRUColors":n="";break;case"BrtFRTBegin":r=!0;break;case"BrtFRTEnd":r=!1;break;case"BrtBeginStyleSheetExt14":case"BrtBeginSlicerStyles":case"BrtEndSlicerStyles":case"BrtBeginTimelineStylesheetExt15":case"BrtEndTimelineStylesheetExt15":case"BrtBeginTimelineStyles":case"BrtEndTimelineStyles":case"BrtEndStyleSheetExt14":break;default:if(!r||e.WTF)throw new Error("Unexpected record "+o+" "+i.n)}}),Rl}:jl)(t,i)}function xu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[],n=!1;return Ot(t,function(t,r,o){switch(r.n){case"BrtBeginSst":i.Count=t[0],i.Unique=t[1];break;case"BrtSSTItem":i.push(t);break;case"BrtEndSst":return!0;case"BrtFRTBegin":n=!0;break;case"BrtFRTEnd":n=!1;break;default:if(!n||e.WTF)throw new Error("Unexpected record "+o+" "+r.n)}}),i}:function(t,e){var i,n=[],r=t.match(sl);if(x(r)){i=r[2].replace(ll,"").split(cl);for(var o=0;o!=i.length;++o){var a=al(i[o],e);null!=a&&(n[n.length]=a)}r=O(r[1]),n.Count=r.count,n.Unique=r.uniqueCount}return n})(t,i)}function wu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[],n=[],r={};return Ot(t,function(t,o,a){switch(o.n){case"BrtCommentAuthor":n.push(t);break;case"BrtBeginComment":r=t;break;case"BrtCommentText":r.t=t.t,r.h=t.h,r.r=t.r;break;case"BrtEndComment":if(r.author=n[r.iauthor],delete r.iauthor,e.sheetRows&&e.sheetRows<=r.rfx.r)break;delete r.rfx,i.push(r);break;case"BrtBeginComments":case"BrtEndComments":case"BrtBeginCommentAuthors":case"BrtEndCommentAuthors":case"BrtBeginCommentList":case"BrtEndCommentList":break;default:throw new Error("Unexpected record "+a+" "+o.n)}}),i}:function(t,e){if(t.match(/<(?:\w+:)?comments *\/>/))return[];var i=[],n=[];return t.match(/<(?:\w+:)?authors>([^\u2603]*)<\/(?:\w+:)?authors>/)[1].split(/<\/\w*:?author>/).forEach(function(t){""!==t&&""!==t.trim()&&i.push(t.match(/<(?:\w+:)?author[^>]*>(.*)/)[1])}),(t.match(/<(?:\w+:)?commentList>([^\u2603]*)<\/(?:\w+:)?commentList>/)||["",""])[1].split(/<\/\w*:?comment>/).forEach(function(t,r){if(""!==t&&""!==t.trim()){var o=O(t.match(/<(?:\w+:)?comment[^>]*>/)[0]),a={author:o.authorId&&i[o.authorId]?i[o.authorId]:void 0,ref:o.ref,guid:o.guid},s=fh(o.ref);if(!(e.sheetRows&&e.sheetRows<=s.r)){var l=t.match(/([^\u2603]*)<\/text>/);if(l&&l[1]){var c=al(l[1]);a.r=c.r,a.t=c.t,e.cellHTML&&(a.h=c.h),n.push(a)}}}}),n})(t,i)}function _u(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[];return Ot(t,function(t,e,n){switch(e.n){case"BrtCalcChainItem$":i.push(t);break;case"BrtBeginCalcChain$":case"BrtEndCalcChain$":break;default:throw new Error("Unexpected record "+n+" "+e.n)}}),i}:function(t,e){var i=[],n=1;return(t.match(M)||[]).forEach(function(t){var e=O(t);switch(e[0]){case"":case"":break;case"";for(var n=0;n!=t.SheetNames.length;++n)i[i.length]=nt("sheet",null,{name:t.SheetNames[n].substr(0,31),sheetId:""+(n+1),"r:id":"rId"+(n+1)});i[i.length]="";var r=!1;for(n=0;n!=t.SheetNames.length;++n){var o=t.SheetNames[n];if((a=t.Sheets[o])["!printHeader"]){if(2!==a["!printHeader"].length)throw"!printHeaders must be an array of length 2: "+a["!printHeader"];r=!0}}if(r){for(i[i.length]="",n=0;n!=t.SheetNames.length;++n){var a;if(o=t.SheetNames[n],(a=t.Sheets[o])["!printHeader"]||a["!printColumns"]){var s=a["!printHeader"],l=a["!printColumns"],c="";l&&(c+="'"+o+"'!$"+l[0]+":$"+l[1]),l&&s&&(c+=","),s&&(c+="'"+o+"'!$"+s[0]+":$"+s[1]),console.log("-----------------------------"),console.log(c),i[i.length]=nt("definedName",c,{name:"_xlnm.Print_Titles",localSheetId:""+n})}}i[i.length]=""}return i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")})(t,i)}function Cu(t,e,i,n){return(".bin"===e.substr(-4)?ru:Qc)(t,i,n)}function ku(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=It();return Nt(i,"BrtBeginStyleSheet"),Nt(i,"BrtEndStyleSheet"),i.end()}:Ul)(t,i)}function Tu(t,e,i){return(".bin"===e.substr(-4)?dl:function(t,e){if(!e.bookSST)return"";var i=[yt];i[i.length]=nt("sst",null,{xmlns:bt.main[0],count:t.Count,uniqueCount:t.Unique});for(var n=0;n!=t.length;++n)if(null!=t[n]){var r=t[n],o="";r.r?o+=r.r:(o+=""),o+="",i[i.length]=o}return i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")})(t,i)}var Eu=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Au=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/,Mu=function(t){return String.fromCharCode(t)};function Du(t,e){var i=t.split(/\s+/),n=[];if(e||(n[0]=i[0]),1===i.length)return n;var r,o,a,s=t.match(Eu);if(s)for(a=0;a!=s.length;++a)-1===(o=(r=s[a].match(Au))[1].indexOf(":"))?n[r[1]]=r[2].substr(1,r[2].length-2):n["xmlns:"===r[1].substr(0,6)?"xmlns"+r[1].substr(6):r[1].substr(o+1)]=r[2].substr(1,r[2].length-2);return n}function Pu(t){var e={};if(1===t.split(/\s+/).length)return e;var i,n,r,o=t.match(Eu);if(o)for(r=0;r!=o.length;++r)-1===(n=(i=o[r].match(Au))[1].indexOf(":"))?e[i[1]]=i[2].substr(1,i[2].length-2):e["xmlns:"===i[1].substr(0,6)?"xmlns"+i[1].substr(6):i[1].substr(n+1)]=i[2].substr(1,i[2].length-2);return e}function Ou(t,e,i,n){switch((i[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=W(n);break;case"i2":case"int":n=parseInt(n,10);break;case"r4":case"float":n=parseFloat(n);break;case"date":case"dateTime.tz":n=new Date(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw"bad custprop:"+i[0]}t[B(e[3])]=n}function Iu(t,e,i){try{"e"===t.t?t.w=t.w||$t[t.v]:"General"===e?"n"===t.t?(0|t.v)===t.v?t.w=g._general_int(t.v):t.w=g._general_num(t.v):t.w=g._general(t.v):t.w=(n=e||"General",r=t.v,"General"===(o=b[n]||B(n))?g._general(r):g.format(o,r)),i.cellNF&&(t.z=b[e]||e||"General")}catch(t){if(i.WTF)throw t}var n,r,o}function Nu(t,e,i){if(i.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=Nl[n.Pattern]||n.Pattern)}t[e.ID]=e}function Ru(t,e,i,n,r,o,a,s,l){var c="General",u=n.StyleID,h={};l=l||{};var d=[];for(void 0===u&&s&&(u=s.StyleID),void 0===u&&a&&(u=a.StyleID);void 0!==o[u]&&(o[u].nf&&(c=o[u].nf),o[u].Interior&&d.push(o[u].Interior),o[u].Parent);)u=o[u].Parent;switch(i.Type){case"Boolean":n.t="b",n.v=W(t);break;case"String":n.t="s",n.r=j(B(t)),n.v=t.indexOf("<")>-1?e:n.r;break;case"DateTime":n.v=(Date.parse(t)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=B(t):n.v>=1&&n.v<60&&(n.v=n.v-1),c&&"General"!=c||(c="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Zt[t],n.w=t;break;default:n.t="s",n.v=j(e)}Iu(n,c,l),null!=l.cellFormula&&n.Formula&&(n.f=rc(B(n.Formula),r),n.Formula=void 0),l.cellStyles&&(d.forEach(function(t){!h.patternType&&t.patternType&&(h.patternType=t.patternType)}),n.s=h),n.ixfe=void 0!==n.StyleID?n.StyleID:"Default"}function Fu(t){t.t=t.v,t.v=t.w=t.ixfe=void 0}var Bu=/<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/gm;function zu(t,e){var i,n,r,o,a,s=function(t){if(c&&Buffer.isBuffer(t))return t.toString("utf8");if("string"==typeof t)return t;throw"badf"}(t),l=[],u={},h=[],d={},f="",p={},m={},v=0,y=0,b={s:{r:1e6,c:1e6},e:{r:0,c:0}},L={},x={},w="",_=0,S=[],C={},k={},T=0,E={},A=[],M={},D=[];for(Bu.lastIndex=0;i=Bu.exec(s);)switch(i[3]){case"Data":if(l[l.length-1][1])break;"/"===i[1]?Ru(s.slice(o,i.index),w,r,"Comment"==l[l.length-1][0]?M:p,{c:v,r:y},L,D[v],m,e):(w="",r=Du(i[0]),o=i.index+i[0].length);break;case"Cell":if("/"===i[1]){if(A.length>0&&(p.c=A),(!e.sheetRows||e.sheetRows>y)&&void 0!==p.v&&(d[uh(v)+sh(y)]=p),p.HRef&&(p.l={Target:p.HRef,tooltip:p.HRefScreenTip},p.HRef=p.HRefScreenTip=void 0),p.MergeAcross||p.MergeDown){var P=v+(0|parseInt(p.MergeAcross,10)),O=y+(0|parseInt(p.MergeDown,10));S.push({s:{c:v,r:y},e:{c:P,r:O}})}++v,p.MergeAcross&&(v+=+p.MergeAcross)}else(p=Pu(i[0])).Index&&(v=+p.Index-1),vb.e.c&&(b.e.c=v),"/>"===i[0].substr(-2)&&++v,A=[];break;case"Row":"/"===i[1]||"/>"===i[0].substr(-2)?(yb.e.r&&(b.e.r=y),"/>"===i[0].substr(-2)&&(m=Du(i[0])).Index&&(y=+m.Index-1),v=0,++y):(m=Du(i[0])).Index&&(y=+m.Index-1);break;case"Worksheet":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n;h.push(f),b.s.r<=b.e.r&&b.s.c<=b.e.c&&(d["!ref"]=gh(b)),S.length&&(d["!merges"]=S),u[f]=d}else b={s:{r:1e6,c:1e6},e:{r:0,c:0}},y=v=0,l.push([i[3],!1]),f=(n=Du(i[0])).Name,d={},S=[];break;case"Table":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else{if("/>"==i[0].slice(-2))break;Du(i[0]),l.push([i[3],!1]),D=[]}break;case"Style":"/"===i[1]?Nu(L,x,e):x=Du(i[0]);break;case"NumberFormat":x.nf=Du(i[0]).Format||"General";break;case"Column":if("Table"!==l[l.length-1][0])break;D[(a=Du(i[0])).Index-1||D.length]=a;for(var I=0;I<+a.Span;++I)D[D.length]=a;break;case"NamedRange":case"NamedCell":case"B":case"I":case"U":case"S":case"Sub":case"Sup":case"Span":case"Border":case"Alignment":case"Borders":break;case"Font":if("/>"===i[0].substr(-2))break;"/"===i[1]?w+=s.slice(_,i.index):_=i.index+i[0].length;break;case"Interior":if(!e.cellStyles)break;x.Interior=Du(i[0]);break;case"Protection":break;case"Author":case"Title":case"Description":case"Created":case"Keywords":case"Subject":case"Category":case"Company":case"LastAuthor":case"LastSaved":case"LastPrinted":case"Version":case"Revision":case"TotalTime":case"HyperlinkBase":case"Manager":if("/>"===i[0].substr(-2))break;"/"===i[1]?Te(C,i[3],s.slice(T,i.index)):T=i.index+i[0].length;break;case"Paragraphs":break;case"Styles":case"Workbook":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else l.push([i[3],!1]);break;case"Comment":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n;Fu(M),A.push(M)}else l.push([i[3],!1]),M={a:(n=Du(i[0])).Author};break;case"Name":break;case"ComponentOptions":case"DocumentProperties":case"CustomDocumentProperties":case"OfficeDocumentSettings":case"PivotTable":case"PivotCache":case"Names":case"MapInfo":case"PageBreaks":case"QueryTable":case"DataValidation":case"AutoFilter":case"Sorting":case"Schema":case"data":case"ConditionalFormatting":case"SmartTagType":case"SmartTags":case"ExcelWorkbook":case"WorkbookOptions":case"WorksheetOptions":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else"/"!==i[0].charAt(i[0].length-2)&&l.push([i[3],!0]);break;default:var N=!0;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(i[3]){case"AllowPNG":case"RemovePersonalInformation":case"DownloadComponents":case"LocationOfComponents":case"Colors":case"Color":case"Index":case"RGB":case"PixelsPerInch":case"TargetScreenSize":case"ReadOnlyRecommended":break;default:N=!1}break;case"ComponentOptions":switch(i[3]){case"Toolbar":case"HideOfficeLogo":case"SpreadsheetAutoFit":case"Label":case"Caption":case"MaxHeight":case"MaxWidth":case"NextSheetNumber":break;default:N=!1}break;case"ExcelWorkbook":switch(i[3]){case"WindowHeight":case"WindowWidth":case"WindowTopX":case"WindowTopY":case"TabRatio":case"ProtectStructure":case"ProtectWindows":case"ActiveSheet":case"DisplayInkNotes":case"FirstVisibleSheet":case"SupBook":case"SheetName":case"SheetIndex":case"SheetIndexFirst":case"SheetIndexLast":case"Dll":case"AcceptLabelsInFormulas":case"DoNotSaveLinkValues":case"Date1904":case"Iteration":case"MaxIterations":case"MaxChange":case"Path":case"Xct":case"Count":case"SelectedSheets":case"Calculation":case"Uncalced":case"StartupPrompt":case"Crn":case"ExternName":case"Formula":case"ColFirst":case"ColLast":case"WantAdvise":case"Boolean":case"Error":case"Text":case"OLE":case"NoAutoRecover":case"PublishObjects":case"DoNotCalculateBeforeSave":case"Number":case"RefModeR1C1":case"EmbedSaveSmartTags":break;default:N=!1}break;case"WorkbookOptions":switch(i[3]){case"OWCVersion":case"Height":case"Width":break;default:N=!1}break;case"WorksheetOptions":switch(i[3]){case"Unsynced":case"Visible":case"Print":case"Panes":case"Scale":case"Pane":case"Number":case"Layout":case"Header":case"Footer":case"PageSetup":case"PageMargins":case"Selected":case"ProtectObjects":case"EnableSelection":case"ProtectScenarios":case"ValidPrinterInfo":case"HorizontalResolution":case"VerticalResolution":case"NumberofCopies":case"ActiveRow":case"ActiveCol":case"ActivePane":case"TopRowVisible":case"TopRowBottomPane":case"LeftColumnVisible":case"LeftColumnRightPane":case"FitToPage":case"RangeSelection":case"PaperSizeIndex":case"PageLayoutZoom":case"PageBreakZoom":case"FilterOn":case"DoNotDisplayGridlines":case"SplitHorizontal":case"SplitVertical":case"FreezePanes":case"FrozenNoSplit":case"FitWidth":case"FitHeight":case"CommentsLayout":case"Zoom":case"LeftToRight":case"Gridlines":case"AllowSort":case"AllowFilter":case"AllowInsertRows":case"AllowDeleteRows":case"AllowInsertCols":case"AllowDeleteCols":case"AllowInsertHyperlinks":case"AllowFormatCells":case"AllowSizeCols":case"AllowSizeRows":case"NoSummaryRowsBelowDetail":case"TabColorIndex":case"DoNotDisplayHeadings":case"ShowPageLayoutZoom":case"NoSummaryColumnsRightDetail":case"BlackAndWhite":case"DoNotDisplayZeros":case"DisplayPageBreak":case"RowColHeadings":case"DoNotDisplayOutline":case"NoOrientation":case"AllowUsePivotTables":case"ZeroHeight":case"ViewableRange":case"Selection":case"ProtectContents":break;default:N=!1}break;case"PivotTable":case"PivotCache":switch(i[3]){case"ImmediateItemsOnDrop":case"ShowPageMultipleItemLabel":case"CompactRowIndent":case"Location":case"PivotField":case"Orientation":case"LayoutForm":case"LayoutSubtotalLocation":case"LayoutCompactRow":case"Position":case"PivotItem":case"DataType":case"DataField":case"SourceName":case"ParentField":case"PTLineItems":case"PTLineItem":case"CountOfSameItems":case"Item":case"ItemType":case"PTSource":case"CacheIndex":case"ConsolidationReference":case"FileName":case"Reference":case"NoColumnGrand":case"NoRowGrand":case"BlankLineAfterItems":case"Hidden":case"Subtotal":case"BaseField":case"MapChildItems":case"Function":case"RefreshOnFileOpen":case"PrintSetTitles":case"MergeLabels":case"DefaultVersion":case"RefreshName":case"RefreshDate":case"RefreshDateCopy":case"VersionLastRefresh":case"VersionLastUpdate":case"VersionUpdateableMin":case"VersionRefreshableMin":case"Calculation":break;default:N=!1}break;case"PageBreaks":switch(i[3]){case"ColBreaks":case"ColBreak":case"RowBreaks":case"RowBreak":case"ColStart":case"ColEnd":case"RowEnd":break;default:N=!1}break;case"AutoFilter":switch(i[3]){case"AutoFilterColumn":case"AutoFilterCondition":case"AutoFilterAnd":case"AutoFilterOr":break;default:N=!1}break;case"QueryTable":switch(i[3]){case"Id":case"AutoFormatFont":case"AutoFormatPattern":case"QuerySource":case"QueryType":case"EnableRedirections":case"RefreshedInXl9":case"URLString":case"HTMLTables":case"Connection":case"CommandText":case"RefreshInfo":case"NoTitles":case"NextId":case"ColumnInfo":case"OverwriteCells":case"DoNotPromptForFile":case"TextWizardSettings":case"Source":case"Number":case"Decimal":case"ThousandSeparator":case"TrailingMinusNumbers":case"FormatSettings":case"FieldType":case"Delimiters":case"Tab":case"Comma":case"AutoFormatName":case"VersionLastEdit":case"VersionLastRefresh":break;default:N=!1}break;case"Sorting":case"ConditionalFormatting":case"DataValidation":switch(i[3]){case"Range":case"Type":case"Min":case"Max":case"Sort":case"Descending":case"Order":case"CaseSensitive":case"Value":case"ErrorStyle":case"ErrorMessage":case"ErrorTitle":case"CellRangeList":case"InputMessage":case"InputTitle":case"ComboHide":case"InputHide":case"Condition":case"Qualifier":case"UseBlank":case"Value1":case"Value2":case"Format":break;default:N=!1}break;case"MapInfo":case"Schema":case"data":switch(i[3]){case"Map":case"Entry":case"Range":case"XPath":case"Field":case"XSDType":case"FilterOn":case"Aggregate":case"ElementType":case"AttributeType":break;case"schema":case"element":case"complexType":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:N=!1}break;case"SmartTags":break;default:N=!1}if(N)break;if(!l[l.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+l.join("|");if("CustomDocumentProperties"===l[l.length-1][0]){if("/>"===i[0].substr(-2))break;"/"===i[1]?Ou(k,i,E,s.slice(T,i.index)):(E=i,T=i.index+i[0].length);break}if(e.WTF)throw"Unrecognized tag: "+i[3]+"|"+l.join("|")}var R={};return e.bookSheets||e.bookProps||(R.Sheets=u),R.SheetNames=h,R.SSF=g.get_table(),R.Props=C,R.Custprops=k,R}function Hu(t,e,i,n){var r=i,o=[],a=e.slice(e.l,e.l+r);if(n&&n.enc&&n.enc.insitu_decrypt)switch(t.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(0===a.length)break;n.enc.insitu_decrypt(a)}o.push(a),e.l+=r;for(var s=Xu[wt(e,e.l)];null!=s&&"Continue"===s.n;)r=wt(e,e.l+2),o.push(e.slice(e.l+4,e.l+4+r)),e.l+=4+r,s=Xu[wt(e,e.l)];var l=d(o);Mt(l,0);var c=0;l.lens=[];for(var u=0;um.e.r&&(m.e.r=t.r+1),t.c+1>m.e.c&&(m.e.c=t.c+1)),n.sheetRows&&i.r>=n.sheetRows?_=!1:f[r]=e)},E={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:w,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,wtf:!1};e.password&&(E.password=e.password);var A=[],M=[],D=[[]],P=0,O=0,I=0;D.SheetNames=E.snames,D.sharedf=E.sharedf,D.arrayf=E.arrayf;var N="",R=0;for(E.codepage=1200,n(1200);t.l0&&m.e.c>0&&(m.e.r--,m.e.c--,f["!ref"]=gh(m),m.e.r++,m.e.c++),A.length>0&&(f["!merges"]=A),M.length>0&&(f["!objects"]=M)),""===b?L=f:d[b]=f,f={};break;case"BOF":if(8!==E.biff||(1280===j.BIFFVer?E.biff=5:2===j.BIFFVer?E.biff=2:7===j.BIFFVer&&(E.biff=2)),R++)break;_=!0,f={},2===E.biff?(""===b&&(b="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}}):b=(p[F]||{name:""}).name,A=[],M=[];break;case"Number":case"BIFF2NUM":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.val,t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"BoolErr":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.val,t:j.t}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"RK":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.rknum,t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"MulRk":for(var U=j.c;U<=j.C;++U){var Y=j.rkrec[U-j.c][0];(c={ixfe:Y,XF:S[Y],v:j.rkrec[U-j.c][1],t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:U,r:j.r},c,e)}break;case"Formula":switch(j.val){case"String":v=j;break;case"Array Formula":throw"Array Formula unsupported";default:(c={v:j.val,ixfe:j.cell.ixfe,t:j.tt}).XF=S[c.ixfe],e.cellFormula&&(c.f="="+Cc(j.formula,m,j.cell,D,E)),c.XF&&Vu(c,e,h.opts.Date1904),T(j.cell,c,e),v=j}break;case"String":v&&(v.val=j,(c={v:v.val,ixfe:v.cell.ixfe,t:"s"}).XF=S[c.ixfe],e.cellFormula&&(c.f="="+Cc(v.formula,m,v.cell,D,E)),c.XF&&Vu(c,e,h.opts.Date1904),T(v.cell,c,e),v=null);break;case"Array":w.push(j);break;case"ShrFmla":if(!_)break;x[ph(v.cell)]=j[0];break;case"LabelSst":(c=ju(y[j.isst].t,j.ixfe,"s")).XF=S[c.ixfe],c.XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"Label":case"BIFF2STR":(c=ju(j.val,j.ixfe,"s")).XF=S[c.ixfe],c.XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"Dimensions":1===R&&(m=j);break;case"SST":y=j;break;case"Format":g.load(j[1],j[0]);break;case"MergeCells":A=A.concat(j);break;case"Obj":M[j.cmo[0]]=E.lastobj=j;break;case"TxO":E.lastobj.TxO=j;break;case"HLink":for(l=j[0].s.r;l<=j[0].e.r;++l)for(s=j[0].s.c;s<=j[0].e.c;++s)f[ph({c:s,r:l})]&&(f[ph({c:s,r:l})].l=j[1]);break;case"HLinkTooltip":for(l=j[0].s.r;l<=j[0].e.r;++l)for(s=j[0].s.c;s<=j[0].e.c;++s)f[ph({c:s,r:l})]&&(f[ph({c:s,r:l})].l.tooltip=j[1]);break;case"Note":if(E.biff<=5&&E.biff>=2)break;o=f[ph(j[0])];var G=M[j[2]];if(!o)break;o.c||(o.c=[]),a={a:j[1],t:G.TxO.t},o.c.push(a);break;default:switch(H.n){case"ClrtClient":break;case"XFExt":S[j.ixfe],j.ext.forEach(function(t){switch(t[0]){case 4:case 5:break;case 7:case 8:case 9:case 10:case 13:case 14:break;default:throw"bafuq"+t[0].toString(16)}});break;case"NameCmt":case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"Setup":case"DefColWidth":case"GCW":case"LHRecord":case"ColInfo":case"Row":case"DBCell":case"MulBlank":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Selection":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":case"Blank":break;case"Country":u=j;break;case"RecalcId":break;case"DefaultRowHeight":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":C=j;break;case"Theme":case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":case"CodeName":case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":case"Window1":case"Window2":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(H.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":case"ImData":break;case"WebPub":case"AutoWebPub":case"RightMargin":case"LeftMargin":case"TopMargin":case"BottomMargin":case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":case"ExternCount":case"RString":break;case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;default:switch(H.n){case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;default:if(e.WTF)throw"Unrecognized Record "+H.n}}}}}else t.l+=z}var X=2===E.biff?["Sheet1"]:Object.keys(p).sort(function(t,e){return Number(t)-Number(e)}).map(function(t){return p[t].name});X.slice();return h.Directory=X,h.SheetNames=X,e.bookSheets||(h.Sheets=d),h.Preamble=L,h.Strings=y,h.SSF=g.get_table(),E.enc&&(h.Encryption=E.enc),h.Metadata={},void 0!==u&&(h.Metadata.Country=u),h}function Uu(t,e){var n,r,o,a;if(e||(e={}),$u(e),i(),t.find?(n=t.find("!CompObj"),t.find("!SummaryInformation"),r=t.find("/Workbook")):(Mt(t,0),r={content:t}),r||(r=t.find("/Book")),n&&(o=function(t){var e,i={},n=t.content,r=28;switch(e=dt(n,r),r+=4+St(n,r),i.UserType=e,e=St(n,r),r+=4,e){case 0:break;case 4294967295:case 4294967294:r+=4;break;default:if(e>400)throw new Error("Unsupported Clipboard: "+e.toString(16));r+=e}if(r+=0===(e=dt(n,r)).length?0:5+e.length,i.Reserved1=e,1907550708!==(e=St(n,r)))return i;throw"Unsupported Unicode Extension"}(n)),e.bookProps&&!e.bookSheets)a={};else{if(!r)throw new Error("Cannot find Workbook stream");a=Wu(r.content,e,r.find)}t.find&&function(t){var e=t.find("!DocumentSummaryInformation");if(e)try{t.DocSummary=ze(e,ie)}catch(t){}var i=t.find("!SummaryInformation");if(i)try{t.Summary=ze(i,ne)}catch(t){}}(t);var s={};for(var l in t.Summary)s[l]=t.Summary[l];for(l in t.DocSummary)s[l]=t.DocSummary[l];return a.Props=a.Custprops=s,e.bookFiles&&(a.cfb=t),a.CompObjP=o,a}var Yu={0:{n:"BrtRowHdr",f:function(t,e){var i=[];return i.r=t.read_shift(4),t.l+=e-4,i}},1:{n:"BrtCellBlank",f:function(t,e){return[Ht(t)]}},2:{n:"BrtCellRk",f:function(t,e){return[Ht(t),Gt(t),"n"]}},3:{n:"BrtCellError",f:function(t,e){return[Ht(t),t.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(t,e){return[Ht(t),t.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(t,e){return[Ht(t),qt(t),"n"]}},6:{n:"BrtCellSt",f:function(t,e){return[Ht(t),jt(t),"str"]}},7:{n:"BrtCellIsst",f:function(t,e){return[Ht(t),t.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(t,e,i){var n=t.l,r=[Ht(t),jt(t),"str"];i.cellFormula?kc(t,n+e-t.l):t.l=n+e;return r}},9:{n:"BrtFmlaNum",f:function(t,e,i){var n=[Ht(t),qt(t),"n"];i.cellFormula?(kc(t,e-16),n[3]=""):t.l+=e-16;return n}},10:{n:"BrtFmlaBool",f:function(t,e,i){var n=[Ht(t),t.read_shift(1),"b"];i.cellFormula?(kc(t,e-9),n[3]=""):t.l+=e-9;return n}},11:{n:"BrtFmlaError",f:function(t,e,i){var n=[Ht(t),t.read_shift(1),"e"];i.cellFormula?(kc(t,e-9),n[3]=""):t.l+=e-9;return n}},16:{n:"BrtFRTArchID$",f:function(t,e){var i={};return t.read_shift(4),i.ArchID=t.read_shift(4),t.l+=e-8,i}},19:{n:"BrtSSTItem",f:zt},20:{n:"BrtPCDIMissing",f:Dt},21:{n:"BrtPCDINumber",f:Dt},22:{n:"BrtPCDIBoolean",f:Dt},23:{n:"BrtPCDIError",f:Dt},24:{n:"BrtPCDIString",f:Dt},25:{n:"BrtPCDIDatetime",f:Dt},26:{n:"BrtPCDIIndex",f:Dt},27:{n:"BrtPCDIAMissing",f:Dt},28:{n:"BrtPCDIANumber",f:Dt},29:{n:"BrtPCDIABoolean",f:Dt},30:{n:"BrtPCDIAError",f:Dt},31:{n:"BrtPCDIAString",f:Dt},32:{n:"BrtPCDIADatetime",f:Dt},33:{n:"BrtPCRRecord",f:Dt},34:{n:"BrtPCRRecordDt",f:Dt},35:{n:"BrtFRTBegin",f:Dt},36:{n:"BrtFRTEnd",f:Dt},37:{n:"BrtACBegin",f:Dt},38:{n:"BrtACEnd",f:Dt},39:{n:"BrtName",f:Dt},40:{n:"BrtIndexRowBlock",f:Dt},42:{n:"BrtIndexBlock",f:Dt},43:{n:"BrtFont",f:function(t,e){var i={flags:{}};return i.dyHeight=t.read_shift(2),i.grbit=function(t,e){var i=t.read_shift(1);return t.l++,{fItalic:2&i,fStrikeout:8&i,fOutline:16&i,fShadow:32&i,fCondense:64&i,fExtend:128&i}}(t),i.bls=t.read_shift(2),i.sss=t.read_shift(2),i.uls=t.read_shift(1),i.bFamily=t.read_shift(1),i.bCharSet=t.read_shift(1),t.l++,i.brtColor=function(t,e){var i={},n=t.read_shift(1);i.fValidRGB=1&n,i.xColorType=n>>>1,i.index=t.read_shift(1),i.nTintAndShade=t.read_shift(2,"i"),i.bRed=t.read_shift(1),i.bGreen=t.read_shift(1),i.bBlue=t.read_shift(1),i.bAlpha=t.read_shift(1)}(t),i.bFontScheme=t.read_shift(1),i.name=jt(t),i.flags.Bold=700===i.bls,i.flags.Italic=i.grbit.fItalic,i.flags.Strikeout=i.grbit.fStrikeout,i.flags.Outline=i.grbit.fOutline,i.flags.Shadow=i.grbit.fShadow,i.flags.Condense=i.grbit.fCondense,i.flags.Extend=i.grbit.fExtend,i.flags.Sub=2&i.sss,i.flags.Sup=1&i.sss,i}},44:{n:"BrtFmt",f:function(t,e){return[t.read_shift(2),jt(t)]}},45:{n:"BrtFill",f:Dt},46:{n:"BrtBorder",f:Dt},47:{n:"BrtXF",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2);return Dt(t,e-4),{ixfe:i,ifmt:n}}},48:{n:"BrtStyle",f:Dt},49:{n:"BrtCellMeta",f:Dt},50:{n:"BrtValueMeta",f:Dt},51:{n:"BrtMdb",f:Dt},52:{n:"BrtBeginFmd",f:Dt},53:{n:"BrtEndFmd",f:Dt},54:{n:"BrtBeginMdx",f:Dt},55:{n:"BrtEndMdx",f:Dt},56:{n:"BrtBeginMdxTuple",f:Dt},57:{n:"BrtEndMdxTuple",f:Dt},58:{n:"BrtMdxMbrIstr",f:Dt},59:{n:"BrtStr",f:Dt},60:{n:"BrtColInfo",f:Dt},62:{n:"BrtCellRString",f:Dt},63:{n:"BrtCalcChainItem$",f:function(t,e){var i={};i.i=t.read_shift(4);var n={};n.r=t.read_shift(4),n.c=t.read_shift(4),i.r=ph(n);var r=t.read_shift(1);return 2&r&&(i.l="1"),8&r&&(i.a="1"),i}},64:{n:"BrtDVal",f:Dt},65:{n:"BrtSxvcellNum",f:Dt},66:{n:"BrtSxvcellStr",f:Dt},67:{n:"BrtSxvcellBool",f:Dt},68:{n:"BrtSxvcellErr",f:Dt},69:{n:"BrtSxvcellDate",f:Dt},70:{n:"BrtSxvcellNil",f:Dt},128:{n:"BrtFileVersion",f:Dt},129:{n:"BrtBeginSheet",f:Dt},130:{n:"BrtEndSheet",f:Dt},131:{n:"BrtBeginBook",f:Dt,p:0},132:{n:"BrtEndBook",f:Dt},133:{n:"BrtBeginWsViews",f:Dt},134:{n:"BrtEndWsViews",f:Dt},135:{n:"BrtBeginBookViews",f:Dt},136:{n:"BrtEndBookViews",f:Dt},137:{n:"BrtBeginWsView",f:Dt},138:{n:"BrtEndWsView",f:Dt},139:{n:"BrtBeginCsViews",f:Dt},140:{n:"BrtEndCsViews",f:Dt},141:{n:"BrtBeginCsView",f:Dt},142:{n:"BrtEndCsView",f:Dt},143:{n:"BrtBeginBundleShs",f:Dt},144:{n:"BrtEndBundleShs",f:Dt},145:{n:"BrtBeginSheetData",f:Dt},146:{n:"BrtEndSheetData",f:Dt},147:{n:"BrtWsProp",f:function(t,e){var i={};return t.l+=19,i.name=function(t,e){return jt(t)}(t),i}},148:{n:"BrtWsDim",f:Jc,p:16},151:{n:"BrtPane",f:Dt},152:{n:"BrtSel",f:Dt},153:{n:"BrtWbProp",f:function(t,e){return t.read_shift(4),[t.read_shift(4),e>8?jt(t):""]}},154:{n:"BrtWbFactoid",f:Dt},155:{n:"BrtFileRecover",f:Dt},156:{n:"BrtBundleSh",f:function(t,e){var i={};return i.hsState=t.read_shift(4),i.iTabID=t.read_shift(4),i.strRelID=Ut(t,e-8),i.name=jt(t),i}},157:{n:"BrtCalcProp",f:Dt},158:{n:"BrtBookView",f:Dt},159:{n:"BrtBeginSst",f:function(t,e){return[t.read_shift(4),t.read_shift(4)]}},160:{n:"BrtEndSst",f:Dt},161:{n:"BrtBeginAFilter",f:Dt},162:{n:"BrtEndAFilter",f:Dt},163:{n:"BrtBeginFilterColumn",f:Dt},164:{n:"BrtEndFilterColumn",f:Dt},165:{n:"BrtBeginFilters",f:Dt},166:{n:"BrtEndFilters",f:Dt},167:{n:"BrtFilter",f:Dt},168:{n:"BrtColorFilter",f:Dt},169:{n:"BrtIconFilter",f:Dt},170:{n:"BrtTop10Filter",f:Dt},171:{n:"BrtDynamicFilter",f:Dt},172:{n:"BrtBeginCustomFilters",f:Dt},173:{n:"BrtEndCustomFilters",f:Dt},174:{n:"BrtCustomFilter",f:Dt},175:{n:"BrtAFilterDateGroupItem",f:Dt},176:{n:"BrtMergeCell",f:iu},177:{n:"BrtBeginMergeCells",f:Dt},178:{n:"BrtEndMergeCells",f:Dt},179:{n:"BrtBeginPivotCacheDef",f:Dt},180:{n:"BrtEndPivotCacheDef",f:Dt},181:{n:"BrtBeginPCDFields",f:Dt},182:{n:"BrtEndPCDFields",f:Dt},183:{n:"BrtBeginPCDField",f:Dt},184:{n:"BrtEndPCDField",f:Dt},185:{n:"BrtBeginPCDSource",f:Dt},186:{n:"BrtEndPCDSource",f:Dt},187:{n:"BrtBeginPCDSRange",f:Dt},188:{n:"BrtEndPCDSRange",f:Dt},189:{n:"BrtBeginPCDFAtbl",f:Dt},190:{n:"BrtEndPCDFAtbl",f:Dt},191:{n:"BrtBeginPCDIRun",f:Dt},192:{n:"BrtEndPCDIRun",f:Dt},193:{n:"BrtBeginPivotCacheRecords",f:Dt},194:{n:"BrtEndPivotCacheRecords",f:Dt},195:{n:"BrtBeginPCDHierarchies",f:Dt},196:{n:"BrtEndPCDHierarchies",f:Dt},197:{n:"BrtBeginPCDHierarchy",f:Dt},198:{n:"BrtEndPCDHierarchy",f:Dt},199:{n:"BrtBeginPCDHFieldsUsage",f:Dt},200:{n:"BrtEndPCDHFieldsUsage",f:Dt},201:{n:"BrtBeginExtConnection",f:Dt},202:{n:"BrtEndExtConnection",f:Dt},203:{n:"BrtBeginECDbProps",f:Dt},204:{n:"BrtEndECDbProps",f:Dt},205:{n:"BrtBeginECOlapProps",f:Dt},206:{n:"BrtEndECOlapProps",f:Dt},207:{n:"BrtBeginPCDSConsol",f:Dt},208:{n:"BrtEndPCDSConsol",f:Dt},209:{n:"BrtBeginPCDSCPages",f:Dt},210:{n:"BrtEndPCDSCPages",f:Dt},211:{n:"BrtBeginPCDSCPage",f:Dt},212:{n:"BrtEndPCDSCPage",f:Dt},213:{n:"BrtBeginPCDSCPItem",f:Dt},214:{n:"BrtEndPCDSCPItem",f:Dt},215:{n:"BrtBeginPCDSCSets",f:Dt},216:{n:"BrtEndPCDSCSets",f:Dt},217:{n:"BrtBeginPCDSCSet",f:Dt},218:{n:"BrtEndPCDSCSet",f:Dt},219:{n:"BrtBeginPCDFGroup",f:Dt},220:{n:"BrtEndPCDFGroup",f:Dt},221:{n:"BrtBeginPCDFGItems",f:Dt},222:{n:"BrtEndPCDFGItems",f:Dt},223:{n:"BrtBeginPCDFGRange",f:Dt},224:{n:"BrtEndPCDFGRange",f:Dt},225:{n:"BrtBeginPCDFGDiscrete",f:Dt},226:{n:"BrtEndPCDFGDiscrete",f:Dt},227:{n:"BrtBeginPCDSDTupleCache",f:Dt},228:{n:"BrtEndPCDSDTupleCache",f:Dt},229:{n:"BrtBeginPCDSDTCEntries",f:Dt},230:{n:"BrtEndPCDSDTCEntries",f:Dt},231:{n:"BrtBeginPCDSDTCEMembers",f:Dt},232:{n:"BrtEndPCDSDTCEMembers",f:Dt},233:{n:"BrtBeginPCDSDTCEMember",f:Dt},234:{n:"BrtEndPCDSDTCEMember",f:Dt},235:{n:"BrtBeginPCDSDTCQueries",f:Dt},236:{n:"BrtEndPCDSDTCQueries",f:Dt},237:{n:"BrtBeginPCDSDTCQuery",f:Dt},238:{n:"BrtEndPCDSDTCQuery",f:Dt},239:{n:"BrtBeginPCDSDTCSets",f:Dt},240:{n:"BrtEndPCDSDTCSets",f:Dt},241:{n:"BrtBeginPCDSDTCSet",f:Dt},242:{n:"BrtEndPCDSDTCSet",f:Dt},243:{n:"BrtBeginPCDCalcItems",f:Dt},244:{n:"BrtEndPCDCalcItems",f:Dt},245:{n:"BrtBeginPCDCalcItem",f:Dt},246:{n:"BrtEndPCDCalcItem",f:Dt},247:{n:"BrtBeginPRule",f:Dt},248:{n:"BrtEndPRule",f:Dt},249:{n:"BrtBeginPRFilters",f:Dt},250:{n:"BrtEndPRFilters",f:Dt},251:{n:"BrtBeginPRFilter",f:Dt},252:{n:"BrtEndPRFilter",f:Dt},253:{n:"BrtBeginPNames",f:Dt},254:{n:"BrtEndPNames",f:Dt},255:{n:"BrtBeginPName",f:Dt},256:{n:"BrtEndPName",f:Dt},257:{n:"BrtBeginPNPairs",f:Dt},258:{n:"BrtEndPNPairs",f:Dt},259:{n:"BrtBeginPNPair",f:Dt},260:{n:"BrtEndPNPair",f:Dt},261:{n:"BrtBeginECWebProps",f:Dt},262:{n:"BrtEndECWebProps",f:Dt},263:{n:"BrtBeginEcWpTables",f:Dt},264:{n:"BrtEndECWPTables",f:Dt},265:{n:"BrtBeginECParams",f:Dt},266:{n:"BrtEndECParams",f:Dt},267:{n:"BrtBeginECParam",f:Dt},268:{n:"BrtEndECParam",f:Dt},269:{n:"BrtBeginPCDKPIs",f:Dt},270:{n:"BrtEndPCDKPIs",f:Dt},271:{n:"BrtBeginPCDKPI",f:Dt},272:{n:"BrtEndPCDKPI",f:Dt},273:{n:"BrtBeginDims",f:Dt},274:{n:"BrtEndDims",f:Dt},275:{n:"BrtBeginDim",f:Dt},276:{n:"BrtEndDim",f:Dt},277:{n:"BrtIndexPartEnd",f:Dt},278:{n:"BrtBeginStyleSheet",f:Dt},279:{n:"BrtEndStyleSheet",f:Dt},280:{n:"BrtBeginSXView",f:Dt},281:{n:"BrtEndSXVI",f:Dt},282:{n:"BrtBeginSXVI",f:Dt},283:{n:"BrtBeginSXVIs",f:Dt},284:{n:"BrtEndSXVIs",f:Dt},285:{n:"BrtBeginSXVD",f:Dt},286:{n:"BrtEndSXVD",f:Dt},287:{n:"BrtBeginSXVDs",f:Dt},288:{n:"BrtEndSXVDs",f:Dt},289:{n:"BrtBeginSXPI",f:Dt},290:{n:"BrtEndSXPI",f:Dt},291:{n:"BrtBeginSXPIs",f:Dt},292:{n:"BrtEndSXPIs",f:Dt},293:{n:"BrtBeginSXDI",f:Dt},294:{n:"BrtEndSXDI",f:Dt},295:{n:"BrtBeginSXDIs",f:Dt},296:{n:"BrtEndSXDIs",f:Dt},297:{n:"BrtBeginSXLI",f:Dt},298:{n:"BrtEndSXLI",f:Dt},299:{n:"BrtBeginSXLIRws",f:Dt},300:{n:"BrtEndSXLIRws",f:Dt},301:{n:"BrtBeginSXLICols",f:Dt},302:{n:"BrtEndSXLICols",f:Dt},303:{n:"BrtBeginSXFormat",f:Dt},304:{n:"BrtEndSXFormat",f:Dt},305:{n:"BrtBeginSXFormats",f:Dt},306:{n:"BrtEndSxFormats",f:Dt},307:{n:"BrtBeginSxSelect",f:Dt},308:{n:"BrtEndSxSelect",f:Dt},309:{n:"BrtBeginISXVDRws",f:Dt},310:{n:"BrtEndISXVDRws",f:Dt},311:{n:"BrtBeginISXVDCols",f:Dt},312:{n:"BrtEndISXVDCols",f:Dt},313:{n:"BrtEndSXLocation",f:Dt},314:{n:"BrtBeginSXLocation",f:Dt},315:{n:"BrtEndSXView",f:Dt},316:{n:"BrtBeginSXTHs",f:Dt},317:{n:"BrtEndSXTHs",f:Dt},318:{n:"BrtBeginSXTH",f:Dt},319:{n:"BrtEndSXTH",f:Dt},320:{n:"BrtBeginISXTHRws",f:Dt},321:{n:"BrtEndISXTHRws",f:Dt},322:{n:"BrtBeginISXTHCols",f:Dt},323:{n:"BrtEndISXTHCols",f:Dt},324:{n:"BrtBeginSXTDMPS",f:Dt},325:{n:"BrtEndSXTDMPs",f:Dt},326:{n:"BrtBeginSXTDMP",f:Dt},327:{n:"BrtEndSXTDMP",f:Dt},328:{n:"BrtBeginSXTHItems",f:Dt},329:{n:"BrtEndSXTHItems",f:Dt},330:{n:"BrtBeginSXTHItem",f:Dt},331:{n:"BrtEndSXTHItem",f:Dt},332:{n:"BrtBeginMetadata",f:Dt},333:{n:"BrtEndMetadata",f:Dt},334:{n:"BrtBeginEsmdtinfo",f:Dt},335:{n:"BrtMdtinfo",f:Dt},336:{n:"BrtEndEsmdtinfo",f:Dt},337:{n:"BrtBeginEsmdb",f:Dt},338:{n:"BrtEndEsmdb",f:Dt},339:{n:"BrtBeginEsfmd",f:Dt},340:{n:"BrtEndEsfmd",f:Dt},341:{n:"BrtBeginSingleCells",f:Dt},342:{n:"BrtEndSingleCells",f:Dt},343:{n:"BrtBeginList",f:Dt},344:{n:"BrtEndList",f:Dt},345:{n:"BrtBeginListCols",f:Dt},346:{n:"BrtEndListCols",f:Dt},347:{n:"BrtBeginListCol",f:Dt},348:{n:"BrtEndListCol",f:Dt},349:{n:"BrtBeginListXmlCPr",f:Dt},350:{n:"BrtEndListXmlCPr",f:Dt},351:{n:"BrtListCCFmla",f:Dt},352:{n:"BrtListTrFmla",f:Dt},353:{n:"BrtBeginExternals",f:Dt},354:{n:"BrtEndExternals",f:Dt},355:{n:"BrtSupBookSrc",f:Dt},357:{n:"BrtSupSelf",f:Dt},358:{n:"BrtSupSame",f:Dt},359:{n:"BrtSupTabs",f:Dt},360:{n:"BrtBeginSupBook",f:Dt},361:{n:"BrtPlaceholderName",f:Dt},362:{n:"BrtExternSheet",f:Dt},363:{n:"BrtExternTableStart",f:Dt},364:{n:"BrtExternTableEnd",f:Dt},366:{n:"BrtExternRowHdr",f:Dt},367:{n:"BrtExternCellBlank",f:Dt},368:{n:"BrtExternCellReal",f:Dt},369:{n:"BrtExternCellBool",f:Dt},370:{n:"BrtExternCellError",f:Dt},371:{n:"BrtExternCellString",f:Dt},372:{n:"BrtBeginEsmdx",f:Dt},373:{n:"BrtEndEsmdx",f:Dt},374:{n:"BrtBeginMdxSet",f:Dt},375:{n:"BrtEndMdxSet",f:Dt},376:{n:"BrtBeginMdxMbrProp",f:Dt},377:{n:"BrtEndMdxMbrProp",f:Dt},378:{n:"BrtBeginMdxKPI",f:Dt},379:{n:"BrtEndMdxKPI",f:Dt},380:{n:"BrtBeginEsstr",f:Dt},381:{n:"BrtEndEsstr",f:Dt},382:{n:"BrtBeginPRFItem",f:Dt},383:{n:"BrtEndPRFItem",f:Dt},384:{n:"BrtBeginPivotCacheIDs",f:Dt},385:{n:"BrtEndPivotCacheIDs",f:Dt},386:{n:"BrtBeginPivotCacheID",f:Dt},387:{n:"BrtEndPivotCacheID",f:Dt},388:{n:"BrtBeginISXVIs",f:Dt},389:{n:"BrtEndISXVIs",f:Dt},390:{n:"BrtBeginColInfos",f:Dt},391:{n:"BrtEndColInfos",f:Dt},392:{n:"BrtBeginRwBrk",f:Dt},393:{n:"BrtEndRwBrk",f:Dt},394:{n:"BrtBeginColBrk",f:Dt},395:{n:"BrtEndColBrk",f:Dt},396:{n:"BrtBrk",f:Dt},397:{n:"BrtUserBookView",f:Dt},398:{n:"BrtInfo",f:Dt},399:{n:"BrtCUsr",f:Dt},400:{n:"BrtUsr",f:Dt},401:{n:"BrtBeginUsers",f:Dt},403:{n:"BrtEOF",f:Dt},404:{n:"BrtUCR",f:Dt},405:{n:"BrtRRInsDel",f:Dt},406:{n:"BrtRREndInsDel",f:Dt},407:{n:"BrtRRMove",f:Dt},408:{n:"BrtRREndMove",f:Dt},409:{n:"BrtRRChgCell",f:Dt},410:{n:"BrtRREndChgCell",f:Dt},411:{n:"BrtRRHeader",f:Dt},412:{n:"BrtRRUserView",f:Dt},413:{n:"BrtRRRenSheet",f:Dt},414:{n:"BrtRRInsertSh",f:Dt},415:{n:"BrtRRDefName",f:Dt},416:{n:"BrtRRNote",f:Dt},417:{n:"BrtRRConflict",f:Dt},418:{n:"BrtRRTQSIF",f:Dt},419:{n:"BrtRRFormat",f:Dt},420:{n:"BrtRREndFormat",f:Dt},421:{n:"BrtRRAutoFmt",f:Dt},422:{n:"BrtBeginUserShViews",f:Dt},423:{n:"BrtBeginUserShView",f:Dt},424:{n:"BrtEndUserShView",f:Dt},425:{n:"BrtEndUserShViews",f:Dt},426:{n:"BrtArrFmla",f:Dt},427:{n:"BrtShrFmla",f:Dt},428:{n:"BrtTable",f:Dt},429:{n:"BrtBeginExtConnections",f:Dt},430:{n:"BrtEndExtConnections",f:Dt},431:{n:"BrtBeginPCDCalcMems",f:Dt},432:{n:"BrtEndPCDCalcMems",f:Dt},433:{n:"BrtBeginPCDCalcMem",f:Dt},434:{n:"BrtEndPCDCalcMem",f:Dt},435:{n:"BrtBeginPCDHGLevels",f:Dt},436:{n:"BrtEndPCDHGLevels",f:Dt},437:{n:"BrtBeginPCDHGLevel",f:Dt},438:{n:"BrtEndPCDHGLevel",f:Dt},439:{n:"BrtBeginPCDHGLGroups",f:Dt},440:{n:"BrtEndPCDHGLGroups",f:Dt},441:{n:"BrtBeginPCDHGLGroup",f:Dt},442:{n:"BrtEndPCDHGLGroup",f:Dt},443:{n:"BrtBeginPCDHGLGMembers",f:Dt},444:{n:"BrtEndPCDHGLGMembers",f:Dt},445:{n:"BrtBeginPCDHGLGMember",f:Dt},446:{n:"BrtEndPCDHGLGMember",f:Dt},447:{n:"BrtBeginQSI",f:Dt},448:{n:"BrtEndQSI",f:Dt},449:{n:"BrtBeginQSIR",f:Dt},450:{n:"BrtEndQSIR",f:Dt},451:{n:"BrtBeginDeletedNames",f:Dt},452:{n:"BrtEndDeletedNames",f:Dt},453:{n:"BrtBeginDeletedName",f:Dt},454:{n:"BrtEndDeletedName",f:Dt},455:{n:"BrtBeginQSIFs",f:Dt},456:{n:"BrtEndQSIFs",f:Dt},457:{n:"BrtBeginQSIF",f:Dt},458:{n:"BrtEndQSIF",f:Dt},459:{n:"BrtBeginAutoSortScope",f:Dt},460:{n:"BrtEndAutoSortScope",f:Dt},461:{n:"BrtBeginConditionalFormatting",f:Dt},462:{n:"BrtEndConditionalFormatting",f:Dt},463:{n:"BrtBeginCFRule",f:Dt},464:{n:"BrtEndCFRule",f:Dt},465:{n:"BrtBeginIconSet",f:Dt},466:{n:"BrtEndIconSet",f:Dt},467:{n:"BrtBeginDatabar",f:Dt},468:{n:"BrtEndDatabar",f:Dt},469:{n:"BrtBeginColorScale",f:Dt},470:{n:"BrtEndColorScale",f:Dt},471:{n:"BrtCFVO",f:Dt},472:{n:"BrtExternValueMeta",f:Dt},473:{n:"BrtBeginColorPalette",f:Dt},474:{n:"BrtEndColorPalette",f:Dt},475:{n:"BrtIndexedColor",f:Dt},476:{n:"BrtMargins",f:Dt},477:{n:"BrtPrintOptions",f:Dt},478:{n:"BrtPageSetup",f:Dt},479:{n:"BrtBeginHeaderFooter",f:Dt},480:{n:"BrtEndHeaderFooter",f:Dt},481:{n:"BrtBeginSXCrtFormat",f:Dt},482:{n:"BrtEndSXCrtFormat",f:Dt},483:{n:"BrtBeginSXCrtFormats",f:Dt},484:{n:"BrtEndSXCrtFormats",f:Dt},485:{n:"BrtWsFmtInfo",f:Dt},486:{n:"BrtBeginMgs",f:Dt},487:{n:"BrtEndMGs",f:Dt},488:{n:"BrtBeginMGMaps",f:Dt},489:{n:"BrtEndMGMaps",f:Dt},490:{n:"BrtBeginMG",f:Dt},491:{n:"BrtEndMG",f:Dt},492:{n:"BrtBeginMap",f:Dt},493:{n:"BrtEndMap",f:Dt},494:{n:"BrtHLink",f:function(t,e,i){var n=t.l+e,r=Xt(t),o=Vt(t),a=jt(t),s=jt(t),l=jt(t);return t.l=n,{rfx:r,relId:o,loc:a,tooltip:s,display:l}}},495:{n:"BrtBeginDCon",f:Dt},496:{n:"BrtEndDCon",f:Dt},497:{n:"BrtBeginDRefs",f:Dt},498:{n:"BrtEndDRefs",f:Dt},499:{n:"BrtDRef",f:Dt},500:{n:"BrtBeginScenMan",f:Dt},501:{n:"BrtEndScenMan",f:Dt},502:{n:"BrtBeginSct",f:Dt},503:{n:"BrtEndSct",f:Dt},504:{n:"BrtSlc",f:Dt},505:{n:"BrtBeginDXFs",f:Dt},506:{n:"BrtEndDXFs",f:Dt},507:{n:"BrtDXF",f:Dt},508:{n:"BrtBeginTableStyles",f:Dt},509:{n:"BrtEndTableStyles",f:Dt},510:{n:"BrtBeginTableStyle",f:Dt},511:{n:"BrtEndTableStyle",f:Dt},512:{n:"BrtTableStyleElement",f:Dt},513:{n:"BrtTableStyleClient",f:Dt},514:{n:"BrtBeginVolDeps",f:Dt},515:{n:"BrtEndVolDeps",f:Dt},516:{n:"BrtBeginVolType",f:Dt},517:{n:"BrtEndVolType",f:Dt},518:{n:"BrtBeginVolMain",f:Dt},519:{n:"BrtEndVolMain",f:Dt},520:{n:"BrtBeginVolTopic",f:Dt},521:{n:"BrtEndVolTopic",f:Dt},522:{n:"BrtVolSubtopic",f:Dt},523:{n:"BrtVolRef",f:Dt},524:{n:"BrtVolNum",f:Dt},525:{n:"BrtVolErr",f:Dt},526:{n:"BrtVolStr",f:Dt},527:{n:"BrtVolBool",f:Dt},528:{n:"BrtBeginCalcChain$",f:Dt},529:{n:"BrtEndCalcChain$",f:Dt},530:{n:"BrtBeginSortState",f:Dt},531:{n:"BrtEndSortState",f:Dt},532:{n:"BrtBeginSortCond",f:Dt},533:{n:"BrtEndSortCond",f:Dt},534:{n:"BrtBookProtection",f:Dt},535:{n:"BrtSheetProtection",f:Dt},536:{n:"BrtRangeProtection",f:Dt},537:{n:"BrtPhoneticInfo",f:Dt},538:{n:"BrtBeginECTxtWiz",f:Dt},539:{n:"BrtEndECTxtWiz",f:Dt},540:{n:"BrtBeginECTWFldInfoLst",f:Dt},541:{n:"BrtEndECTWFldInfoLst",f:Dt},542:{n:"BrtBeginECTwFldInfo",f:Dt},548:{n:"BrtFileSharing",f:Dt},549:{n:"BrtOleSize",f:Dt},550:{n:"BrtDrawing",f:Dt},551:{n:"BrtLegacyDrawing",f:Dt},552:{n:"BrtLegacyDrawingHF",f:Dt},553:{n:"BrtWebOpt",f:Dt},554:{n:"BrtBeginWebPubItems",f:Dt},555:{n:"BrtEndWebPubItems",f:Dt},556:{n:"BrtBeginWebPubItem",f:Dt},557:{n:"BrtEndWebPubItem",f:Dt},558:{n:"BrtBeginSXCondFmt",f:Dt},559:{n:"BrtEndSXCondFmt",f:Dt},560:{n:"BrtBeginSXCondFmts",f:Dt},561:{n:"BrtEndSXCondFmts",f:Dt},562:{n:"BrtBkHim",f:Dt},564:{n:"BrtColor",f:Dt},565:{n:"BrtBeginIndexedColors",f:Dt},566:{n:"BrtEndIndexedColors",f:Dt},569:{n:"BrtBeginMRUColors",f:Dt},570:{n:"BrtEndMRUColors",f:Dt},572:{n:"BrtMRUColor",f:Dt},573:{n:"BrtBeginDVals",f:Dt},574:{n:"BrtEndDVals",f:Dt},577:{n:"BrtSupNameStart",f:Dt},578:{n:"BrtSupNameValueStart",f:Dt},579:{n:"BrtSupNameValueEnd",f:Dt},580:{n:"BrtSupNameNum",f:Dt},581:{n:"BrtSupNameErr",f:Dt},582:{n:"BrtSupNameSt",f:Dt},583:{n:"BrtSupNameNil",f:Dt},584:{n:"BrtSupNameBool",f:Dt},585:{n:"BrtSupNameFmla",f:Dt},586:{n:"BrtSupNameBits",f:Dt},587:{n:"BrtSupNameEnd",f:Dt},588:{n:"BrtEndSupBook",f:Dt},589:{n:"BrtCellSmartTagProperty",f:Dt},590:{n:"BrtBeginCellSmartTag",f:Dt},591:{n:"BrtEndCellSmartTag",f:Dt},592:{n:"BrtBeginCellSmartTags",f:Dt},593:{n:"BrtEndCellSmartTags",f:Dt},594:{n:"BrtBeginSmartTags",f:Dt},595:{n:"BrtEndSmartTags",f:Dt},596:{n:"BrtSmartTagType",f:Dt},597:{n:"BrtBeginSmartTagTypes",f:Dt},598:{n:"BrtEndSmartTagTypes",f:Dt},599:{n:"BrtBeginSXFilters",f:Dt},600:{n:"BrtEndSXFilters",f:Dt},601:{n:"BrtBeginSXFILTER",f:Dt},602:{n:"BrtEndSXFilter",f:Dt},603:{n:"BrtBeginFills",f:Dt},604:{n:"BrtEndFills",f:Dt},605:{n:"BrtBeginCellWatches",f:Dt},606:{n:"BrtEndCellWatches",f:Dt},607:{n:"BrtCellWatch",f:Dt},608:{n:"BrtBeginCRErrs",f:Dt},609:{n:"BrtEndCRErrs",f:Dt},610:{n:"BrtCrashRecErr",f:Dt},611:{n:"BrtBeginFonts",f:Dt},612:{n:"BrtEndFonts",f:Dt},613:{n:"BrtBeginBorders",f:Dt},614:{n:"BrtEndBorders",f:Dt},615:{n:"BrtBeginFmts",f:Dt},616:{n:"BrtEndFmts",f:Dt},617:{n:"BrtBeginCellXFs",f:Dt},618:{n:"BrtEndCellXFs",f:Dt},619:{n:"BrtBeginStyles",f:Dt},620:{n:"BrtEndStyles",f:Dt},625:{n:"BrtBigName",f:Dt},626:{n:"BrtBeginCellStyleXFs",f:Dt},627:{n:"BrtEndCellStyleXFs",f:Dt},628:{n:"BrtBeginComments",f:Dt},629:{n:"BrtEndComments",f:Dt},630:{n:"BrtBeginCommentAuthors",f:Dt},631:{n:"BrtEndCommentAuthors",f:Dt},632:{n:"BrtCommentAuthor",f:ic},633:{n:"BrtBeginCommentList",f:Dt},634:{n:"BrtEndCommentList",f:Dt},635:{n:"BrtBeginComment",f:function(t,e){var i={};i.iauthor=t.read_shift(4);var n=Xt(t);return i.rfx=n.s,i.ref=ph(n.s),t.l+=16,i}},636:{n:"BrtEndComment",f:Dt},637:{n:"BrtCommentText",f:nc},638:{n:"BrtBeginOleObjects",f:Dt},639:{n:"BrtOleObject",f:Dt},640:{n:"BrtEndOleObjects",f:Dt},641:{n:"BrtBeginSxrules",f:Dt},642:{n:"BrtEndSxRules",f:Dt},643:{n:"BrtBeginActiveXControls",f:Dt},644:{n:"BrtActiveX",f:Dt},645:{n:"BrtEndActiveXControls",f:Dt},646:{n:"BrtBeginPCDSDTCEMembersSortBy",f:Dt},648:{n:"BrtBeginCellIgnoreECs",f:Dt},649:{n:"BrtCellIgnoreEC",f:Dt},650:{n:"BrtEndCellIgnoreECs",f:Dt},651:{n:"BrtCsProp",f:Dt},652:{n:"BrtCsPageSetup",f:Dt},653:{n:"BrtBeginUserCsViews",f:Dt},654:{n:"BrtEndUserCsViews",f:Dt},655:{n:"BrtBeginUserCsView",f:Dt},656:{n:"BrtEndUserCsView",f:Dt},657:{n:"BrtBeginPcdSFCIEntries",f:Dt},658:{n:"BrtEndPCDSFCIEntries",f:Dt},659:{n:"BrtPCDSFCIEntry",f:Dt},660:{n:"BrtBeginListParts",f:Dt},661:{n:"BrtListPart",f:Dt},662:{n:"BrtEndListParts",f:Dt},663:{n:"BrtSheetCalcProp",f:Dt},664:{n:"BrtBeginFnGroup",f:Dt},665:{n:"BrtFnGroup",f:Dt},666:{n:"BrtEndFnGroup",f:Dt},667:{n:"BrtSupAddin",f:Dt},668:{n:"BrtSXTDMPOrder",f:Dt},669:{n:"BrtCsProtection",f:Dt},671:{n:"BrtBeginWsSortMap",f:Dt},672:{n:"BrtEndWsSortMap",f:Dt},673:{n:"BrtBeginRRSort",f:Dt},674:{n:"BrtEndRRSort",f:Dt},675:{n:"BrtRRSortItem",f:Dt},676:{n:"BrtFileSharingIso",f:Dt},677:{n:"BrtBookProtectionIso",f:Dt},678:{n:"BrtSheetProtectionIso",f:Dt},679:{n:"BrtCsProtectionIso",f:Dt},680:{n:"BrtRangeProtectionIso",f:Dt},1024:{n:"BrtRwDescent",f:Dt},1025:{n:"BrtKnownFonts",f:Dt},1026:{n:"BrtBeginSXTupleSet",f:Dt},1027:{n:"BrtEndSXTupleSet",f:Dt},1028:{n:"BrtBeginSXTupleSetHeader",f:Dt},1029:{n:"BrtEndSXTupleSetHeader",f:Dt},1030:{n:"BrtSXTupleSetHeaderItem",f:Dt},1031:{n:"BrtBeginSXTupleSetData",f:Dt},1032:{n:"BrtEndSXTupleSetData",f:Dt},1033:{n:"BrtBeginSXTupleSetRow",f:Dt},1034:{n:"BrtEndSXTupleSetRow",f:Dt},1035:{n:"BrtSXTupleSetRowItem",f:Dt},1036:{n:"BrtNameExt",f:Dt},1037:{n:"BrtPCDH14",f:Dt},1038:{n:"BrtBeginPCDCalcMem14",f:Dt},1039:{n:"BrtEndPCDCalcMem14",f:Dt},1040:{n:"BrtSXTH14",f:Dt},1041:{n:"BrtBeginSparklineGroup",f:Dt},1042:{n:"BrtEndSparklineGroup",f:Dt},1043:{n:"BrtSparkline",f:Dt},1044:{n:"BrtSXDI14",f:Dt},1045:{n:"BrtWsFmtInfoEx14",f:Dt},1046:{n:"BrtBeginConditionalFormatting14",f:Dt},1047:{n:"BrtEndConditionalFormatting14",f:Dt},1048:{n:"BrtBeginCFRule14",f:Dt},1049:{n:"BrtEndCFRule14",f:Dt},1050:{n:"BrtCFVO14",f:Dt},1051:{n:"BrtBeginDatabar14",f:Dt},1052:{n:"BrtBeginIconSet14",f:Dt},1053:{n:"BrtDVal14",f:Dt},1054:{n:"BrtBeginDVals14",f:Dt},1055:{n:"BrtColor14",f:Dt},1056:{n:"BrtBeginSparklines",f:Dt},1057:{n:"BrtEndSparklines",f:Dt},1058:{n:"BrtBeginSparklineGroups",f:Dt},1059:{n:"BrtEndSparklineGroups",f:Dt},1061:{n:"BrtSXVD14",f:Dt},1062:{n:"BrtBeginSxview14",f:Dt},1063:{n:"BrtEndSxview14",f:Dt},1066:{n:"BrtBeginPCD14",f:Dt},1067:{n:"BrtEndPCD14",f:Dt},1068:{n:"BrtBeginExtConn14",f:Dt},1069:{n:"BrtEndExtConn14",f:Dt},1070:{n:"BrtBeginSlicerCacheIDs",f:Dt},1071:{n:"BrtEndSlicerCacheIDs",f:Dt},1072:{n:"BrtBeginSlicerCacheID",f:Dt},1073:{n:"BrtEndSlicerCacheID",f:Dt},1075:{n:"BrtBeginSlicerCache",f:Dt},1076:{n:"BrtEndSlicerCache",f:Dt},1077:{n:"BrtBeginSlicerCacheDef",f:Dt},1078:{n:"BrtEndSlicerCacheDef",f:Dt},1079:{n:"BrtBeginSlicersEx",f:Dt},1080:{n:"BrtEndSlicersEx",f:Dt},1081:{n:"BrtBeginSlicerEx",f:Dt},1082:{n:"BrtEndSlicerEx",f:Dt},1083:{n:"BrtBeginSlicer",f:Dt},1084:{n:"BrtEndSlicer",f:Dt},1085:{n:"BrtSlicerCachePivotTables",f:Dt},1086:{n:"BrtBeginSlicerCacheOlapImpl",f:Dt},1087:{n:"BrtEndSlicerCacheOlapImpl",f:Dt},1088:{n:"BrtBeginSlicerCacheLevelsData",f:Dt},1089:{n:"BrtEndSlicerCacheLevelsData",f:Dt},1090:{n:"BrtBeginSlicerCacheLevelData",f:Dt},1091:{n:"BrtEndSlicerCacheLevelData",f:Dt},1092:{n:"BrtBeginSlicerCacheSiRanges",f:Dt},1093:{n:"BrtEndSlicerCacheSiRanges",f:Dt},1094:{n:"BrtBeginSlicerCacheSiRange",f:Dt},1095:{n:"BrtEndSlicerCacheSiRange",f:Dt},1096:{n:"BrtSlicerCacheOlapItem",f:Dt},1097:{n:"BrtBeginSlicerCacheSelections",f:Dt},1098:{n:"BrtSlicerCacheSelection",f:Dt},1099:{n:"BrtEndSlicerCacheSelections",f:Dt},1100:{n:"BrtBeginSlicerCacheNative",f:Dt},1101:{n:"BrtEndSlicerCacheNative",f:Dt},1102:{n:"BrtSlicerCacheNativeItem",f:Dt},1103:{n:"BrtRangeProtection14",f:Dt},1104:{n:"BrtRangeProtectionIso14",f:Dt},1105:{n:"BrtCellIgnoreEC14",f:Dt},1111:{n:"BrtList14",f:Dt},1112:{n:"BrtCFIcon",f:Dt},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs",f:Dt},1114:{n:"BrtEndSlicerCachesPivotCacheIDs",f:Dt},1115:{n:"BrtBeginSlicers",f:Dt},1116:{n:"BrtEndSlicers",f:Dt},1117:{n:"BrtWbProp14",f:Dt},1118:{n:"BrtBeginSXEdit",f:Dt},1119:{n:"BrtEndSXEdit",f:Dt},1120:{n:"BrtBeginSXEdits",f:Dt},1121:{n:"BrtEndSXEdits",f:Dt},1122:{n:"BrtBeginSXChange",f:Dt},1123:{n:"BrtEndSXChange",f:Dt},1124:{n:"BrtBeginSXChanges",f:Dt},1125:{n:"BrtEndSXChanges",f:Dt},1126:{n:"BrtSXTupleItems",f:Dt},1128:{n:"BrtBeginSlicerStyle",f:Dt},1129:{n:"BrtEndSlicerStyle",f:Dt},1130:{n:"BrtSlicerStyleElement",f:Dt},1131:{n:"BrtBeginStyleSheetExt14",f:Dt},1132:{n:"BrtEndStyleSheetExt14",f:Dt},1133:{n:"BrtBeginSlicerCachesPivotCacheID",f:Dt},1134:{n:"BrtEndSlicerCachesPivotCacheID",f:Dt},1135:{n:"BrtBeginConditionalFormattings",f:Dt},1136:{n:"BrtEndConditionalFormattings",f:Dt},1137:{n:"BrtBeginPCDCalcMemExt",f:Dt},1138:{n:"BrtEndPCDCalcMemExt",f:Dt},1139:{n:"BrtBeginPCDCalcMemsExt",f:Dt},1140:{n:"BrtEndPCDCalcMemsExt",f:Dt},1141:{n:"BrtPCDField14",f:Dt},1142:{n:"BrtBeginSlicerStyles",f:Dt},1143:{n:"BrtEndSlicerStyles",f:Dt},1144:{n:"BrtBeginSlicerStyleElements",f:Dt},1145:{n:"BrtEndSlicerStyleElements",f:Dt},1146:{n:"BrtCFRuleExt",f:Dt},1147:{n:"BrtBeginSXCondFmt14",f:Dt},1148:{n:"BrtEndSXCondFmt14",f:Dt},1149:{n:"BrtBeginSXCondFmts14",f:Dt},1150:{n:"BrtEndSXCondFmts14",f:Dt},1152:{n:"BrtBeginSortCond14",f:Dt},1153:{n:"BrtEndSortCond14",f:Dt},1154:{n:"BrtEndDVals14",f:Dt},1155:{n:"BrtEndIconSet14",f:Dt},1156:{n:"BrtEndDatabar14",f:Dt},1157:{n:"BrtBeginColorScale14",f:Dt},1158:{n:"BrtEndColorScale14",f:Dt},1159:{n:"BrtBeginSxrules14",f:Dt},1160:{n:"BrtEndSxrules14",f:Dt},1161:{n:"BrtBeginPRule14",f:Dt},1162:{n:"BrtEndPRule14",f:Dt},1163:{n:"BrtBeginPRFilters14",f:Dt},1164:{n:"BrtEndPRFilters14",f:Dt},1165:{n:"BrtBeginPRFilter14",f:Dt},1166:{n:"BrtEndPRFilter14",f:Dt},1167:{n:"BrtBeginPRFItem14",f:Dt},1168:{n:"BrtEndPRFItem14",f:Dt},1169:{n:"BrtBeginCellIgnoreECs14",f:Dt},1170:{n:"BrtEndCellIgnoreECs14",f:Dt},1171:{n:"BrtDxf14",f:Dt},1172:{n:"BrtBeginDxF14s",f:Dt},1173:{n:"BrtEndDxf14s",f:Dt},1177:{n:"BrtFilter14",f:Dt},1178:{n:"BrtBeginCustomFilters14",f:Dt},1180:{n:"BrtCustomFilter14",f:Dt},1181:{n:"BrtIconFilter14",f:Dt},1182:{n:"BrtPivotCacheConnectionName",f:Dt},2048:{n:"BrtBeginDecoupledPivotCacheIDs",f:Dt},2049:{n:"BrtEndDecoupledPivotCacheIDs",f:Dt},2050:{n:"BrtDecoupledPivotCacheID",f:Dt},2051:{n:"BrtBeginPivotTableRefs",f:Dt},2052:{n:"BrtEndPivotTableRefs",f:Dt},2053:{n:"BrtPivotTableRef",f:Dt},2054:{n:"BrtSlicerCacheBookPivotTables",f:Dt},2055:{n:"BrtBeginSxvcells",f:Dt},2056:{n:"BrtEndSxvcells",f:Dt},2057:{n:"BrtBeginSxRow",f:Dt},2058:{n:"BrtEndSxRow",f:Dt},2060:{n:"BrtPcdCalcMem15",f:Dt},2067:{n:"BrtQsi15",f:Dt},2068:{n:"BrtBeginWebExtensions",f:Dt},2069:{n:"BrtEndWebExtensions",f:Dt},2070:{n:"BrtWebExtension",f:Dt},2071:{n:"BrtAbsPath15",f:Dt},2072:{n:"BrtBeginPivotTableUISettings",f:Dt},2073:{n:"BrtEndPivotTableUISettings",f:Dt},2075:{n:"BrtTableSlicerCacheIDs",f:Dt},2076:{n:"BrtTableSlicerCacheID",f:Dt},2077:{n:"BrtBeginTableSlicerCache",f:Dt},2078:{n:"BrtEndTableSlicerCache",f:Dt},2079:{n:"BrtSxFilter15",f:Dt},2080:{n:"BrtBeginTimelineCachePivotCacheIDs",f:Dt},2081:{n:"BrtEndTimelineCachePivotCacheIDs",f:Dt},2082:{n:"BrtTimelineCachePivotCacheID",f:Dt},2083:{n:"BrtBeginTimelineCacheIDs",f:Dt},2084:{n:"BrtEndTimelineCacheIDs",f:Dt},2085:{n:"BrtBeginTimelineCacheID",f:Dt},2086:{n:"BrtEndTimelineCacheID",f:Dt},2087:{n:"BrtBeginTimelinesEx",f:Dt},2088:{n:"BrtEndTimelinesEx",f:Dt},2089:{n:"BrtBeginTimelineEx",f:Dt},2090:{n:"BrtEndTimelineEx",f:Dt},2091:{n:"BrtWorkBookPr15",f:Dt},2092:{n:"BrtPCDH15",f:Dt},2093:{n:"BrtBeginTimelineStyle",f:Dt},2094:{n:"BrtEndTimelineStyle",f:Dt},2095:{n:"BrtTimelineStyleElement",f:Dt},2096:{n:"BrtBeginTimelineStylesheetExt15",f:Dt},2097:{n:"BrtEndTimelineStylesheetExt15",f:Dt},2098:{n:"BrtBeginTimelineStyles",f:Dt},2099:{n:"BrtEndTimelineStyles",f:Dt},2100:{n:"BrtBeginTimelineStyleElements",f:Dt},2101:{n:"BrtEndTimelineStyleElements",f:Dt},2102:{n:"BrtDxf15",f:Dt},2103:{n:"BrtBeginDxfs15",f:Dt},2104:{n:"brtEndDxfs15",f:Dt},2105:{n:"BrtSlicerCacheHideItemsWithNoData",f:Dt},2106:{n:"BrtBeginItemUniqueNames",f:Dt},2107:{n:"BrtEndItemUniqueNames",f:Dt},2108:{n:"BrtItemUniqueName",f:Dt},2109:{n:"BrtBeginExtConn15",f:Dt},2110:{n:"BrtEndExtConn15",f:Dt},2111:{n:"BrtBeginOledbPr15",f:Dt},2112:{n:"BrtEndOledbPr15",f:Dt},2113:{n:"BrtBeginDataFeedPr15",f:Dt},2114:{n:"BrtEndDataFeedPr15",f:Dt},2115:{n:"BrtTextPr15",f:Dt},2116:{n:"BrtRangePr15",f:Dt},2117:{n:"BrtDbCommand15",f:Dt},2118:{n:"BrtBeginDbTables15",f:Dt},2119:{n:"BrtEndDbTables15",f:Dt},2120:{n:"BrtDbTable15",f:Dt},2121:{n:"BrtBeginDataModel",f:Dt},2122:{n:"BrtEndDataModel",f:Dt},2123:{n:"BrtBeginModelTables",f:Dt},2124:{n:"BrtEndModelTables",f:Dt},2125:{n:"BrtModelTable",f:Dt},2126:{n:"BrtBeginModelRelationships",f:Dt},2127:{n:"BrtEndModelRelationships",f:Dt},2128:{n:"BrtModelRelationship",f:Dt},2129:{n:"BrtBeginECTxtWiz15",f:Dt},2130:{n:"BrtEndECTxtWiz15",f:Dt},2131:{n:"BrtBeginECTWFldInfoLst15",f:Dt},2132:{n:"BrtEndECTWFldInfoLst15",f:Dt},2133:{n:"BrtBeginECTWFldInfo15",f:Dt},2134:{n:"BrtFieldListActiveItem",f:Dt},2135:{n:"BrtPivotCacheIdVersion",f:Dt},2136:{n:"BrtSXDI15",f:Dt},65535:{n:"",f:Dt}},Gu=function(t,e){for(var i=[],n=w(t),r=0;r!==n.length;++r)i[t[n[r]][e]]=n[r];return i}(Yu,"n"),Xu={3:{n:"BIFF2NUM",f:function(t,e,i){var n=ti(t);++t.l;var r=qt(t);return n.val=r,n}},4:{n:"BIFF2STR",f:function(t,e,i){var n=ti(t);++t.l;var r=qe(t,0,i);return n.val=r,n}},6:{n:"Formula",f:bc},9:{n:"BOF",f:ci},10:{n:"EOF",f:Ri},12:{n:"CalcCount",f:_i},13:{n:"CalcMode",f:ki},14:{n:"CalcPrecision",f:Ti},15:{n:"CalcRefMode",f:Ei},16:{n:"CalcDelta",f:Si},17:{n:"CalcIter",f:Ci},18:{n:"Protect",f:en},19:{n:"Password",f:$i},20:{n:"Header",f:Wi},21:{n:"Footer",f:Hi},23:{n:"ExternSheet",f:function(t,e,i){if(i.biff<8)return Ue(t,0,i);var n=function(t,e,i){for(var n=[],r=t.l+e,o=t.read_shift(2);0!=o--;)n.push(i(t,r-t.l));if(r!==t.l)throw new Error("Slurp error");return n}(t,e,ei),r=[];if(1025===i.sbcch){for(var o=0;o!=n.length;++o)r.push(i.snames[n[o][1]]);return r}return n}},24:{n:"Lbl",f:function(t,e,i){if(i.biff<8)return hi(t,0,i);var n=t.l+e,r=(t.read_shift(2),t.read_shift(1)),o=t.read_shift(1),a=t.read_shift(2);return t.l+=2,t.read_shift(2),t.l+=4,{chKey:r,Name:Ge(t,o),rgce:function(t,e,i,n){var r,o=t.l+e,a=_c(t,n);return o!==t.l&&(r=Lc(t,o-t.l,a,i)),[a,r]}(t,n-t.l,i,a)}}},25:{n:"WinProtect",f:fn},26:{n:"VerticalPageBreaks",f:gn},27:{n:"HorizontalPageBreaks",f:mn},28:{n:"Note",f:function(t,e,i){return function(t,e,i){if(!(i.biff<8)){var n=t.read_shift(2),r=t.read_shift(2),o=t.read_shift(2),a=t.read_shift(2),s=qe(t,0,i);return i.biff<8&&t.read_shift(1),[{r:n,c:r},s,a,o]}}(t,0,i)}},29:{n:"Selection",f:vn},34:{n:"Date1904",f:Pi},35:{n:"ExternName",f:pi},38:{n:"LeftMargin",f:Gi},39:{n:"RightMargin",f:rn},40:{n:"TopMargin",f:un},41:{n:"BottomMargin",f:xi},42:{n:"PrintRowCol",f:Ki},43:{n:"PrintGrid",f:Zi},47:{n:"FilePass",f:function(t,e,i){var n={Type:t.read_shift(2)};return n.Type?_l(t,e-2,n):wl(t,0,i,n),n}},49:{n:"Font",f:function(t,e,i){return t.l+=14,Ue(t,0,i)}},51:{n:"PrintSize",f:Qi},60:{n:"Continue",f:yn},61:{n:"Window1",f:function(t,e){return{Pos:[t.read_shift(2),t.read_shift(2)],Dim:[t.read_shift(2),t.read_shift(2)],Flags:t.read_shift(2),CurTab:t.read_shift(2),FirstTab:t.read_shift(2),Selected:t.read_shift(2),TabRatio:t.read_shift(2)}}},64:{n:"Backup",f:bi},65:{n:"Pane",f:bn},66:{n:"CodePage",f:Mi},77:{n:"Pls",f:Ln},80:{n:"DCon",f:xn},81:{n:"DConRef",f:wn},82:{n:"DConName",f:_n},85:{n:"DefColWidth",f:Oi},89:{n:"XCT",f:Sn},90:{n:"CRN",f:Cn},91:{n:"FileSharing",f:kn},92:{n:"WriteAccess",f:function(t,e,i){if(i.enc)return t.l+=e,"";var n=t.l,r=Xe(t,0,i);return t.read_shift(e+n-t.l),r}},93:{n:"Obj",f:function(t,e){var i=ai(t);return{cmo:i,ft:function(t,e,i){for(var n=t.l,r=[];t.l7||i[1]>7)throw"Bad Gutters: "+i;return i}},129:{n:"WsBool",f:Mn},130:{n:"GridSet",f:Vi},131:{n:"HCenter",f:ji},132:{n:"VCenter",f:dn},133:{n:"BoundSheet8",f:function(t,e,i){var n=t.read_shift(4),r=t.read_shift(1)>>6,o=t.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=Ue(t,0,i);return 0===a.length&&(a="Sheet1"),{pos:n,hs:r,dt:o,name:a}}},134:{n:"WriteProtect",f:pn},140:{n:"Country",f:function(t,e){var i,n=[];return i=t.read_shift(2),n[0]=oe[i]||i,i=t.read_shift(2),n[1]=oe[i]||i,n}},141:{n:"HideObj",f:Ui},144:{n:"Sort",f:Dn},146:{n:"Palette",f:function(t,e){for(var i=t.read_shift(2),n=[];i-- >0;)n.push(Je(t));return n}},151:{n:"Sync",f:Pn},152:{n:"LPr",f:On},153:{n:"DxGCol",f:In},154:{n:"FnGroupName",f:Nn},155:{n:"FilterMode",f:Rn},156:{n:"BuiltInFnGroupCount",f:wi},157:{n:"AutoFilterInfo",f:Fn},158:{n:"AutoFilter",f:Bn},160:{n:"Scl",f:sn},161:{n:"Setup",f:zn},174:{n:"ScenMan",f:Hn},175:{n:"SCENARIO",f:Vn},176:{n:"SxView",f:jn},177:{n:"Sxvd",f:Wn},178:{n:"SXVI",f:Un},180:{n:"SxIvd",f:Yn},181:{n:"SXLI",f:Gn},182:{n:"SXPI",f:Xn},184:{n:"DocRoute",f:qn},185:{n:"RecipName",f:$n},189:{n:"MulRk",f:function(t,e){for(var i=t.l+e-2,n=t.read_shift(2),r=t.read_shift(2),o=[];t.l>2&1,i.data=di(t,0,i.fStyle),i}},225:{n:"InterfaceHdr",f:function(t,e){if(0===e)return 1200;var i;if(1200!==(i=t.read_shift(2)))throw"InterfaceHdr codePage "+i;return 1200}},226:{n:"InterfaceEnd",f:Yi},227:{n:"SXVS",f:yr},229:{n:"MergeCells",f:function(t,e){for(var i=[],n=t.read_shift(2);n--;)i.push(ni(t));return i}},233:{n:"BkHim",f:br},235:{n:"MsoDrawingGroup",f:Lr},236:{n:"MsoDrawing",f:xr},237:{n:"MsoDrawingSelection",f:wr},239:{n:"PhoneticInfo",f:_r},240:{n:"SxRule",f:Sr},241:{n:"SXEx",f:Cr},242:{n:"SxFilt",f:kr},244:{n:"SxDXF",f:Tr},245:{n:"SxItm",f:Er},246:{n:"SxName",f:Ar},247:{n:"SxSelect",f:Mr},248:{n:"SXPair",f:Dr},249:{n:"SxFmla",f:Pr},251:{n:"SxFormat",f:Or},252:{n:"SST",f:function(t,e){for(var i=t.read_shift(4),n=t.read_shift(4),r=[],o=0;o!=n;++o)r.push(Ye(t));return r.Count=i,r.Unique=n,r}},253:{n:"LabelSst",f:function(t,e){var i=ti(t);return i.isst=t.read_shift(4),i}},255:{n:"ExtSST",f:function(t,e){var i={};return i.dsst=t.read_shift(2),t.l+=e-2,i}},256:{n:"SXVDEx",f:Ir},259:{n:"SXFormula",f:Nr},290:{n:"SXDBEx",f:Rr},311:{n:"RRDInsDel",f:Fr},312:{n:"RRDHead",f:Br},315:{n:"RRDChgCell",f:zr},317:{n:"RRTabId",f:on},318:{n:"RRDRenSheet",f:Hr},319:{n:"RRSort",f:Vr},320:{n:"RRDMove",f:jr},330:{n:"RRFormat",f:Wr},331:{n:"RRAutoFmt",f:Ur},333:{n:"RRInsertSh",f:Yr},334:{n:"RRDMoveBegin",f:Gr},335:{n:"RRDMoveEnd",f:Xr},336:{n:"RRDInsDelBegin",f:qr},337:{n:"RRDInsDelEnd",f:$r},338:{n:"RRDConflict",f:Zr},339:{n:"RRDDefName",f:Kr},340:{n:"RRDRstEtxp",f:Qr},351:{n:"LRng",f:Jr},352:{n:"UsesELFs",f:hn},353:{n:"DSF",f:Ii},401:{n:"CUsr",f:to},402:{n:"CbUsr",f:eo},403:{n:"UsrInfo",f:io},404:{n:"UsrExcl",f:no},405:{n:"FileLock",f:ro},406:{n:"RRDInfo",f:oo},407:{n:"BCUsrs",f:ao},408:{n:"UsrChk",f:so},425:{n:"UserBView",f:lo},426:{n:"UserSViewBegin",f:co},427:{n:"UserSViewEnd",f:uo},428:{n:"RRDUserView",f:ho},429:{n:"Qsi",f:fo},430:{n:"SupBook",f:function(t,e,i){var n,r=t.l+e,o=t.read_shift(2),a=t.read_shift(2);a>=1&&a<=255&&(n=Ge(t,a));var s=t.read_shift(r-t.l);return i.sbcch=a,[a,o,n,s]}},431:{n:"Prot4Rev",f:Ji},432:{n:"CondFmt",f:po},433:{n:"CF",f:go},434:{n:"DVal",f:mo},437:{n:"DConBin",f:vo},438:{n:"TxO",f:function(t,e,i){var n=t.l;try{t.l+=4;var r=(i.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(r)?t.l+=6:$e(t,6,i);var o=t.read_shift(2),a=(t.read_shift(2),li(t,2),t.read_shift(2));t.l+=a;for(var s="",l=1;l=(c?o:2*o))break}if(s.length!==o&&s.length!==2*o)throw"cchText: "+o+" != "+s.length;return t.l=n+e,{t:s}}catch(i){return t.l=n+e,{t:s||""}}}},439:{n:"RefreshAll",f:nn},440:{n:"HLink",f:function(t,e){var i=ni(t);return t.l+=16,[i,function(t,e){var i=t.l+e,n=t.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var r,o,a,s,l=t.read_shift(2);t.l+=2,16&l&&Ke(t,t.l),128&l&&(r=Ke(t,t.l)),257==(257&l)&&(o=Ke(t,t.l)),1==(257&l)&&(a=Ze(t,t.l)),8&l&&(s=Ke(t,t.l)),32&l&&t.read_shift(16),64&l&&Ee(t),t.l=i;var c=r||o||a;return s&&(c+="#"+s),{Target:c}}(t,e-24)]}},441:{n:"Lel",f:yo},442:{n:"CodeName",f:bo},443:{n:"SXFDBType",f:Lo},444:{n:"Prot4RevPass",f:tn},445:{n:"ObNoMacros",f:xo},446:{n:"Dv",f:wo},448:{n:"Excel9File",f:Fi},449:{n:"RecalcId",f:function(t,e){return t.read_shift(2),t.read_shift(4)},r:2},450:{n:"EntExU2",f:Ni},512:{n:"Dimensions",f:function(t,e){var i=10===e?2:4,n=t.read_shift(i),r=t.read_shift(i),o=t.read_shift(2),a=t.read_shift(2);return t.l+=2,{s:{r:n,c:o},e:{r:r,c:a}}}},513:{n:"Blank",f:Li},515:{n:"Number",f:function(t,e){var i=ti(t),n=qt(t);return i.val=n,i}},516:{n:"Label",f:hi},517:{n:"BoolErr",f:function(t,e){var i=ti(t),n=function(t){var e=t.read_shift(1);return 1===t.read_shift(1)?e:1===e}(t);return i.val=n,i.t=!0===n||!1===n?"b":"e",i}},519:{n:"String",f:ln},520:{n:"Row",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=t.read_shift(2);return t.read_shift(2),t.read_shift(4),t.read_shift(1),t.read_shift(1),t.read_shift(2),{r:i,c:n,cnt:r-n}}},523:{n:"Index",f:_o},545:{n:"Array",f:function(t,e,i){var n=oi(t,6);return t.l+=6,[n,wc(t,e-=12,i)]}},549:{n:"DefaultRowHeight",f:function(t,e){var i=t.read_shift(2);return[{Unsynced:1&i,DyZero:(2&i)>>1,ExAsc:(4&i)>>2,ExDsc:(8&i)>>3},t.read_shift(2)]}},566:{n:"Table",f:So},574:{n:"Window2",f:yi},638:{n:"RK",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ii(t);return{r:i,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style",f:gi},1048:{n:"BigName",f:Co},1054:{n:"Format",f:function(t,e,i){return[t.read_shift(2),qe(t,0,i)]}},1084:{n:"ContinueBigName",f:ko},1212:{n:"ShrFmla",f:function(t,e,i){ri(t),t.l++;var n=t.read_shift(1);return[xc(t,e-=8,i),n]}},2048:{n:"HLinkTooltip",f:function(t,e){t.l;t.read_shift(2);var i=ni(t),n=t.read_shift((e-10)/2,"dbcs-cont");return[i,n=n.replace(f,"")]}},2049:{n:"WebPub",f:To},2050:{n:"QsiSXTag",f:Eo},2051:{n:"DBQueryExt",f:Ao},2052:{n:"ExtString",f:Mo},2053:{n:"TxtQry",f:Do},2054:{n:"Qsir",f:Po},2055:{n:"Qsif",f:Oo},2056:{n:"RRDTQSIF",f:Io},2057:{n:"BOF",f:ci},2058:{n:"OleDbConn",f:No},2059:{n:"WOpt",f:Ro},2060:{n:"SXViewEx",f:Fo},2061:{n:"SXTH",f:Bo},2062:{n:"SXPIEx",f:zo},2063:{n:"SXVDTEx",f:Ho},2064:{n:"SXViewEx9",f:Vo},2066:{n:"ContinueFrt",f:jo},2067:{n:"RealTimeData",f:Wo},2128:{n:"ChartFrtInfo",f:Uo},2129:{n:"FrtWrapper",f:Yo},2130:{n:"StartBlock",f:Go},2131:{n:"EndBlock",f:Xo},2132:{n:"StartObject",f:qo},2133:{n:"EndObject",f:$o},2134:{n:"CatLab",f:Zo},2135:{n:"YMult",f:Ko},2136:{n:"SXViewLink",f:Qo},2137:{n:"PivotChartBits",f:Jo},2138:{n:"FrtFontList",f:ta},2146:{n:"SheetExt",f:ea},2147:{n:"BookExt",f:ia,r:12},2148:{n:"SXAddl",f:na},2149:{n:"CrErr",f:ra},2150:{n:"HFPicture",f:oa},2151:{n:"FeatHdr",f:Bi},2152:{n:"Feat",f:aa},2154:{n:"DataLabExt",f:sa},2155:{n:"DataLabExtContents",f:la},2156:{n:"CellWatch",f:ca},2161:{n:"FeatHdr11",f:ua},2162:{n:"Feature11",f:ha},2164:{n:"DropDownObjIds",f:da},2165:{n:"ContinueFrt11",f:fa},2166:{n:"DConn",f:pa},2167:{n:"List12",f:ga},2168:{n:"Feature12",f:ma},2169:{n:"CondFmt12",f:va},2170:{n:"CF12",f:ya},2171:{n:"CFEx",f:ba},2172:{n:"XFCRC",f:function(t,e){t.l+=2;var i={cxfs:0,crc:0};return i.cxfs=t.read_shift(2),i.crc=t.read_shift(4),i},r:12},2173:{n:"XFExt",f:function(t,e){t.l,t.l+=2;var i=t.read_shift(2);t.l+=2;for(var n=t.read_shift(2),r=[];n-- >0;)r.push(tc(t,t.l));return{ixfe:i,ext:r}},r:12},2174:{n:"AutoFilter12",f:La},2175:{n:"ContinueFrt12",f:xa},2180:{n:"MDTInfo",f:wa},2181:{n:"MDXStr",f:_a},2182:{n:"MDXTuple",f:Sa},2183:{n:"MDXSet",f:Ca},2184:{n:"MDXProp",f:ka},2185:{n:"MDXKPI",f:Ta},2186:{n:"MDB",f:Ea},2187:{n:"PLV",f:Aa},2188:{n:"Compat12",f:Di,r:12},2189:{n:"DXF",f:Ma},2190:{n:"TableStyles",f:Da,r:12},2191:{n:"TableStyle",f:Pa},2192:{n:"TableStyleElement",f:Oa},2194:{n:"StyleExt",f:mi},2195:{n:"NamePublish",f:Ia},2196:{n:"NameCmt",f:Na},2197:{n:"SortData",f:Ra},2198:{n:"Theme",f:function(t,e){124226!==t.read_shift(4)&&(t.l+=e-4)},r:12},2199:{n:"GUIDTypeLib",f:Fa},2200:{n:"FnGrp12",f:Ba},2201:{n:"NameFnGrp12",f:za},2202:{n:"MTRSettings",f:function(t,e){return[0!==t.read_shift(4),0!==t.read_shift(4),t.read_shift(4)]},r:12},2203:{n:"CompressPictures",f:ui},2204:{n:"HeaderFooter",f:Ha},2205:{n:"CrtLayout12",f:Va},2206:{n:"CrtMlFrt",f:ja},2207:{n:"CrtMlFrtContinue",f:Wa},2211:{n:"ForceFullCalculation",f:function(t,e){var i=function(t){var e=t.read_shift(2),i=t.read_shift(2);return t.l+=8,{type:e,flags:i}}(t);if(2211!=i.type)throw"Invalid Future Record "+i.type;return 0!==t.read_shift(4)}},2212:{n:"ShapePropsStream",f:Ua},2213:{n:"TextPropsStream",f:Ya},2214:{n:"RichTextStream",f:Ga},2215:{n:"CrtLayout12A",f:Xa},4097:{n:"Units",f:qa},4098:{n:"Chart",f:$a},4099:{n:"Series",f:Za},4102:{n:"DataFormat",f:Ka},4103:{n:"LineFormat",f:Qa},4105:{n:"MarkerFormat",f:Ja},4106:{n:"AreaFormat",f:ts},4107:{n:"PieFormat",f:es},4108:{n:"AttachedLabel",f:is},4109:{n:"SeriesText",f:ns},4116:{n:"ChartFormat",f:rs},4117:{n:"Legend",f:os},4118:{n:"SeriesList",f:as},4119:{n:"Bar",f:ss},4120:{n:"Line",f:ls},4121:{n:"Pie",f:cs},4122:{n:"Area",f:us},4123:{n:"Scatter",f:hs},4124:{n:"CrtLine",f:ds},4125:{n:"Axis",f:fs},4126:{n:"Tick",f:ps},4127:{n:"ValueRange",f:gs},4128:{n:"CatSerRange",f:ms},4129:{n:"AxisLine",f:vs},4130:{n:"CrtLink",f:ys},4132:{n:"DefaultText",f:bs},4133:{n:"Text",f:Ls},4134:{n:"FontX",f:zi},4135:{n:"ObjectLink",f:xs},4146:{n:"Frame",f:ws},4147:{n:"Begin",f:_s},4148:{n:"End",f:Ss},4149:{n:"PlotArea",f:Cs},4154:{n:"Chart3d",f:ks},4156:{n:"PicF",f:Ts},4157:{n:"DropBar",f:Es},4158:{n:"Radar",f:As},4159:{n:"Surf",f:Ms},4160:{n:"RadarArea",f:Ds},4161:{n:"AxisParent",f:Ps},4163:{n:"LegendException",f:Os},4164:{n:"ShtProps",f:Is},4165:{n:"SerToCrt",f:Ns},4166:{n:"AxesUsed",f:Rs},4168:{n:"SBaseRef",f:Fs},4170:{n:"SerParent",f:Bs},4171:{n:"SerAuxTrend",f:zs},4174:{n:"IFmtRecord",f:Hs},4175:{n:"Pos",f:Vs},4176:{n:"AlRuns",f:js},4177:{n:"BRAI",f:Ws},4187:{n:"SerAuxErrBar",f:Us},4188:{n:"ClrtClient",f:function(t,e){for(var i=t.read_shift(2),n=[];i-- >0;)n.push(Je(t));return n}},4189:{n:"SerFmt",f:Ys},4191:{n:"Chart3DBarShape",f:Gs},4192:{n:"Fbi",f:Xs},4193:{n:"BopPop",f:qs},4194:{n:"AxcExt",f:$s},4195:{n:"Dat",f:Zs},4196:{n:"PlotGrowth",f:Ks},4197:{n:"SIIndex",f:Qs},4198:{n:"GelFrame",f:Js},4199:{n:"BopPopCustom",f:tl},4200:{n:"Fbi2",f:el},22:{n:"ExternCount",f:Dt},126:{n:"RK",f:Dt},127:{n:"ImData",f:Dt},135:{n:"Addin",f:Dt},136:{n:"Edg",f:Dt},137:{n:"Pub",f:Dt},145:{n:"Sub",f:Dt},148:{n:"LHRecord",f:Dt},149:{n:"LHNGraph",f:Dt},150:{n:"Sound",f:Dt},169:{n:"CoordList",f:Dt},171:{n:"GCW",f:Dt},188:{n:"ShrFmla",f:Dt},194:{n:"AddMenu",f:Dt},195:{n:"DelMenu",f:Dt},214:{n:"RString",f:Dt},223:{n:"UDDesc",f:Dt},234:{n:"TabIdConf",f:Dt},354:{n:"XL5Modify",f:Dt},421:{n:"FileSharing2",f:Dt},536:{n:"Name",f:Dt},547:{n:"ExternName",f:pi},561:{n:"Font",f:Dt},1030:{n:"Formula",f:bc},2157:{n:"FeatInfo",f:Dt},2163:{n:"FeatInfo11",f:Dt},2177:{n:"SXAddl12",f:Dt},2240:{n:"AutoWebPub",f:Dt},2241:{n:"ListObj",f:Dt},2242:{n:"ListField",f:Dt},2243:{n:"ListDV",f:Dt},2244:{n:"ListCondFmt",f:Dt},2245:{n:"ListCF",f:Dt},2246:{n:"FMQry",f:Dt},2247:{n:"FMSQry",f:Dt},2248:{n:"PLV",f:Dt},2249:{n:"LnExt",f:Dt},2250:{n:"MkrExt",f:Dt},2251:{n:"CrtCoopt",f:Dt},0:{}};function qu(t){return function(e){for(var i=0;i!=t.length;++i){var n=t[i];void 0===e[n[0]]&&(e[n[0]]=n[1]),"n"===n[2]&&(e[n[0]]=Number(e[n[0]]))}}}var $u=qu([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]]),Zu=qu([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["WTF",!1]]);function Ku(t,e,i,n,r,o,a){try{r[n]=ge(E(t,i,!0),e),o[n]=bu(E(t,e),e,a,r[n])}catch(t){if(a.WTF)throw t}}var Qu=function(t){return"/"!=t.substr(-1)};function Ju(t,e){if(m(g),$u(e=e||{}),i(),k(t,"META-INF/manifest.xml"))return function(t,e){if("undefined"!=typeof module&&"undefined"!=typeof require&&"undefined"==typeof ODS&&(ODS=require("./ods")),"undefined"==typeof ODS||!ODS.parse_ods)throw new Error("Unsupported ODS");return ODS.parse_ods(t,e)}(t,e);var r,o,a=w(t.files).filter(Qu).sort(),s=function(t,e){var i={};if(!t||!t.match)return t;var n={workbooks:[],sheets:[],calcchains:[],themes:[],styles:[],coreprops:[],extprops:[],custprops:[],strs:[],comments:[],vba:[],TODO:[],rels:[],xmlns:""};if((t.match(M)||[]).forEach(function(t){var r=O(t);switch(r[0].replace(D,"<")){case"0?n.calcchains[0]:"",n.sst=n.strs.length>0?n.strs[0]:"",n.style=n.styles.length>0?n.styles[0]:"",n.defaults=i,delete n.calcchains,n}(E(t,"[Content_Types].xml"),e),l=!1;if(0===s.workbooks.length&&E(t,o="xl/workbook.xml",!0)&&s.workbooks.push(o),0===s.workbooks.length){if(!T(t,o="xl/workbook.bin"))throw new Error("Could not find workbook");s.workbooks.push(o),l=!0}"bin"==s.workbooks[0].substr(-3)&&(l=!0),l&&n(1200),e.bookSheets||e.bookProps||(Dc=[],s.sst&&(Dc=xu(E(t,s.sst.replace(/^\//,"")),s.sst,e)),Fl={},e.cellStyles&&s.themes.length&&(Fl=function(t,e,i){return Ql(t,i)}(E(t,s.themes[0].replace(/^\//,""),!0),s.themes[0],e)),Rl={},s.style&&(Rl=Lu(E(t,s.style.replace(/^\//,"")),s.style,e)));var c=yu(E(t,s.workbooks[0].replace(/^\//,"")),s.workbooks[0],e),u={},h="";0!==s.coreprops.length&&((h=E(t,s.coreprops[0].replace(/^\//,""),!0))&&(u=function(t){for(var e={},i=0;i0&&(e[n[1]]=r[1]),"date"===n[2]&&e[n[1]]&&(e[n[1]]=new Date(e[n[1]]))}return e}(h)),0!==s.extprops.length&&(h=E(t,s.extprops[0].replace(/^\//,""),!0))&&function(t,e){var i={};if(e||(e={}),we.forEach(function(n){switch(n[2]){case"string":e[n[1]]=(t.match(Z(n[0]))||[])[1];break;case"bool":e[n[1]]="true"===(t.match(Z(n[0]))||[])[1];break;case"raw":var r=t.match(new RegExp("<"+n[0]+"[^>]*>(.*)"));r&&r.length>0&&(i[n[1]]=r[1])}}),i.HeadingPairs&&i.TitlesOfParts){for(var n=tt(i.HeadingPairs),r=0,o=0;o!==n.length;++o)switch(n[o].v){case"Worksheets":r=0,e.Worksheets=+n[++o].v;break;case"Named Ranges":++o}var a=tt(i.TitlesOfParts).map(function(t){return U(t.v)});e.SheetNames=a.slice(r,r+e.Worksheets)}}(h,u));var d={};e.bookSheets&&!e.bookProps||0!==s.custprops.length&&(h=E(t,s.custprops[0].replace(/^\//,""),!0))&&(d=function(t,e){var i,n={},r=t.match(Se);if(r)for(var o=0;o!=r.length;++o){var a=r[o],s=O(a);switch(s[0]){case"":i=null;break;default:if(0===a.indexOf(""),c=l[0].substring(4),u=l[1];switch(c){case"lpstr":case"lpwstr":case"bstr":case"lpwstr":n[i]=B(u);break;case"bool":n[i]=W(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[i]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[i]=parseFloat(u);break;case"filetime":case"date":n[i]=new Date(u);break;case"cy":case"error":n[i]=B(u);break;default:"undefined"!=typeof console&&console.warn("Unexpected",a,c,l)}}else if("0?r=u.SheetNames:c.Sheets&&(r=c.Sheets.map(function(t){return t.name})),e.bookProps&&(f.Props=u,f.Custprops=d),void 0!==r&&(f.SheetNames=r),e.bookSheets?f.SheetNames:e.bookProps))return f;r={};var p={};e.bookDeps&&s.calcchain&&(p=_u(E(t,s.calcchain.replace(/^\//,"")),s.calcchain,e));var v,y,b=0,L={};if(!u.Worksheets){var x=c.Sheets;u.Worksheets=x.length,u.SheetNames=[];for(var _=0;_!=x.length;++_)u.SheetNames[_]=x[_].name}var S=l?"bin":"xml",C="xl/_rels/workbook."+S+".rels",A=ge(E(t,C,!0),C);A&&(A=function(t,e){if(!t)return 0;try{t=e.map(function(e){return[e.name,t["!id"][e.id].Target]})}catch(t){return null}return t&&0!==t.length?t:null}(A,c.Sheets));var P=E(t,"xl/worksheets/sheet.xml",!0)?1:0;for(b=0;b!=u.Worksheets;++b)y=(v=A?"xl/"+A[b][1].replace(/[\/]?xl\//,""):(v="xl/worksheets/sheet"+(b+1-P)+"."+S).replace(/sheet0\./,"sheet.")).replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),Ku(t,v,y,u.SheetNames[b],L,r,e);return s.comments&&function(t,e,i,n,r){for(var o=0;o!=e.length;++o){var a=e[o],s=wu(E(t,a.replace(/^\//,""),!0),a,r);if(s&&s.length)for(var l=w(i),c=0;c!=l.length;++c){var u=l[c],h=n[u];h&&h[a]&&ec(0,i[u],s)}}}(t,s.comments,r,L,e),f={Directory:s,Workbook:c,Props:u,Custprops:d,Deps:p,Sheets:r,SheetNames:u.SheetNames,Strings:Dc,Styles:Rl,Themes:Fl,SSF:g.get_table()},e.bookFiles&&(f.keys=a,f.files=t.files),e.bookVBA&&(s.vba.length>0?f.vbaraw=E(t,s.vba[0],!0):"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(f.vbaraw=E(t,"xl/vbaProject.bin",!0))),f}function th(t,e,i,n,r){if(r||(r={}),t["!id"]||(t["!id"]={}),r.Id="rId"+e,r.Type=n,r.Target=i,t["!id"][r.Id])throw new Error("Cannot rewrite rId "+e);t["!id"][r.Id]=r,t[("/"+r.Target).replace("//","/")]=r}function eh(t,e){t&&!t.SSF&&(t.SSF=g.get_table()),t&&t.SSF&&(m(g),g.load_table(t.SSF),e.revssf=_(t.SSF),e.revssf[t.SSF[65535]]=0),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0;var i="xlsb"==e.bookType?"bin":"xml",n={workbooks:[],sheets:[],calcchains:[],themes:[],styles:[],coreprops:[],extprops:[],custprops:[],strs:[],comments:[],vba:[],TODO:[],rels:[],xmlns:""};Zu(e=e||{});var r,o,a,s=new y,l="",c=0;for(e.cellXfs=[],Ic(e.cellXfs,{},{revssf:{General:0}}),l="docProps/core.xml",s.file(l,function(t,e){var i=[yt,Le],n={};if(e&&e.Props&&(e.Props.title&&(i[i.length]=""+e.Props.title+""),e.Props.subject&&(i[i.length]=""+e.Props.subject+""),e.Props.creator&&(i[i.length]=""+e.Props.creator+""),e.Props.keywords&&(i[i.length]=""+e.Props.keywords+""),e.Props.description&&(i[i.length]=""+e.Props.description+"")),t){null!=t.CreatedDate&&xe("dcterms:created","string"==typeof t.CreatedDate?t.CreatedDate:rt(t.CreatedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,n),null!=t.ModifiedDate&&xe("dcterms:modified","string"==typeof t.ModifiedDate?t.ModifiedDate:rt(t.ModifiedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,n);for(var r=0;r!=ye.length;++r){var o=ye[r];xe(o[0],t[o[1]],null,i,n)}}return i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}(t.Props,e)),n.coreprops.push(l),th(e.rels,2,l,pe.CORE_PROPS),l="docProps/app.xml",t.Props||(t.Props={}),t.Props.SheetNames=t.SheetNames,t.Props.Worksheets=t.SheetNames.length,s.file(l,(r=t.Props,o=[],a=nt,r||(r={}),r.Application="SheetJS",o[o.length]=yt,o[o.length]=_e,we.forEach(function(t){if(void 0!==r[t[1]]){var e;switch(t[2]){case"string":e=r[t[1]];break;case"bool":e=r[t[1]]?"true":"false"}void 0!==e&&(o[o.length]=a(t[0],e))}}),o[o.length]=a("HeadingPairs",a("vt:vector",a("vt:variant","Worksheets")+a("vt:variant",a("vt:i4",String(r.Worksheets))),{size:2,baseType:"variant"})),o[o.length]=a("TitlesOfParts",a("vt:vector",r.SheetNames.map(function(t){return""+t+""}).join(""),{size:r.Worksheets,baseType:"lpstr"})),o.length>2&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join(""))),n.extprops.push(l),th(e.rels,3,l,pe.EXT_PROPS),t.Custprops!==t.Props&&w(t.Custprops||{}).length>0&&(l="docProps/custom.xml",s.file(l,ke(t.Custprops)),n.custprops.push(l),th(e.rels,4,l,pe.CUST_PROPS)),l="xl/workbook."+i,s.file(l,Su(t,l,e)),n.workbooks.push(l),th(e.rels,1,l,pe.WB),c=1;c<=t.SheetNames.length;++c)l="xl/worksheets/sheet"+c+"."+i,s.file(l,Cu(c-1,l,e,t)),n.sheets.push(l),th(e.wbrels,c,"worksheets/sheet"+c+"."+i,pe.WS);return null!=e.Strings&&e.Strings.length>0&&(l="xl/sharedStrings."+i,s.file(l,Tu(e.Strings,l,e)),n.strs.push(l),th(e.wbrels,++c,"sharedStrings."+i,pe.SST)),l="xl/theme/theme1.xml",s.file(l,function(t){return t.themeXml?t.themeXml:'\n'}(e)),n.themes.push(l),th(e.wbrels,++c,"theme/theme1.xml",pe.THEME),l="xl/styles."+i,s.file(l,ku(t,l,e)),n.styles.push(l),th(e.wbrels,++c,"styles."+i,pe.STY),s.file("[Content_Types].xml",function(t,e){var i,n=[];n[n.length]=yt,n[n.length]=de,n=n.concat(fe);var r,o=function(r){t[r]&&t[r].length>0&&(i=t[r][0],n[n.length]=nt("Override",null,{PartName:("/"==i[0]?"":"/")+i,ContentType:ue[r][e.bookType||"xlsx"]}))},a=function(e){(t[e]||[]).forEach(function(t){n[n.length]=nt("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:he[e][0]})})};return o("workbooks"),t[r="sheets"].forEach(function(t){n[n.length]=nt("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:ue[r][e.bookType||"xlsx"]})}),a("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(a),n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}(n,e)),s.file("_rels/.rels",ve(e.rels)),s.file("xl/_rels/workbook."+i+".rels",ve(e.wbrels)),s}function ih(t,e){var i,n=t,r=!1,o=e||{};switch(o.type||(o.type=c&&Buffer.isBuffer(t)?"buffer":"base64"),"file"==o.type&&(r=!0,o.type="buffer",n=v.readFileSync(t)),i=function(t,e){switch((e||{}).type||"base64"){case"buffer":return t[0];case"base64":return l.decode(t.substr(0,12)).charCodeAt(0);case"binary":return t.charCodeAt(0);case"array":return t[0];default:throw new Error("Unrecognized type "+e.type)}}(n,o)){case 208:return r&&(o.type="file"),Uu(L.read(t,o),o);case 9:return Uu(h("base64"===o.type?l.decode(t):t),o);case 60:return function(t,e){switch($u(e=e||{}),e.type||"base64"){case"base64":return zu(l.decode(t),e);case"binary":case"buffer":case"file":return zu(t,e);case"array":return zu(t.map(Mu).join(""),e)}}(n,o);case 80:return r&&(o.type="file"),function(t,e){var i,n=t,r=e||{};switch(r.type||(r.type=c&&Buffer.isBuffer(t)?"buffer":"base64"),r.type){case"base64":i=new y(n,{base64:!0});break;case"binary":case"array":i=new y(n,{base64:!1});break;case"buffer":i=new y(n);break;case"file":i=new y(n=v.readFileSync(t));break;default:throw new Error("Unrecognized type "+r.type)}return Ju(i,r)}(t,e);default:throw new Error("Unsupported file "+i)}}function nh(t,e){var i=e||{};i.type="file";var n=ih(t,i);return n.FILENAME=t,n}function rh(t,e){var i=e||{};switch(i.bookType){case"xml":return;default:return function(t,e){var i=e||{};style_builder=new Sh(e);var n=eh(t,i);switch(i.type){case"base64":return n.generate({type:"base64"});case"binary":return n.generate({type:"string"});case"buffer":return n.generate({type:"nodebuffer"});case"file":return v.writeFileSync(i.file,n.generate({type:"nodebuffer"}));default:throw new Error("Unrecognized type "+i.type)}}(t,i)}}function oh(t,e,i){var n=i||{};switch(n.type="file",n.file=e,n.file.substr(-5).toLowerCase()){case".xlsx":n.bookType="xlsx";break;case".xlsm":n.bookType="xlsm";break;case".xlsb":n.bookType="xlsb";break;default:switch(n.file.substr(-4).toLowerCase()){case".xls":n.bookType="xls";break;case".xml":n.bookType="xml"}}return rh(t,n)}function ah(t){return parseInt(lh(t),10)-1}function sh(t){return""+(t+1)}function lh(t){return t.replace(/\$(\d+)$/,"$1")}function ch(t){for(var e=hh(t),i=0,n=0;n!==e.length;++n)i=26*i+e.charCodeAt(n)-64;return i-1}function uh(t){var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function hh(t){return t.replace(/^\$([A-Z])/,"$1")}function dh(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function fh(t){var e=dh(t);return{c:ch(e[0]),r:ah(e[1])}}function ph(t){return uh(t.c)+sh(t.r)}function gh(t,e){return void 0===e||"number"==typeof e?gh(t.s,t.e):("string"!=typeof t&&(t=ph(t)),"string"!=typeof e&&(e=ph(e)),t==e?t:t+":"+e)}function mh(t){var e={s:{c:0,r:0},e:{c:0,r:0}},i=0,n=0,r=0,o=t.length;for(i=0;n26);++n)i=26*i+r;for(e.s.c=--i,i=0;n9);++n)i=10*i+r;if(e.s.r=--i,n===o||58===t.charCodeAt(++n))return e.e.c=e.s.c,e.e.r=e.s.r,e;for(i=0;n!=o&&!((r=t.charCodeAt(n)-64)<1||r>26);++n)i=26*i+r;for(e.e.c=--i,i=0;n!=o&&!((r=t.charCodeAt(n)-48)<0||r>9);++n)i=10*i+r;return e.e.r=--i,e}function vh(t,e){if(void 0!==t.z)try{return t.w=g.format(t.z,e)}catch(t){}if(!t.XF)return e;try{return t.w=g.format(t.XF.ifmt||0,e)}catch(t){return""+e}}function yh(t,e){return null==t||null==t.t?"":void 0!==t.w?t.w:vh(t,void 0===e?t.v:e)}function bh(t,e){var i,n,r,o,a,s,l,c,u=0,h=1,d=[],f=null!=e?e:{},p=f.raw;if(null==t||null==t["!ref"])return[];switch(r=void 0!==f.range?f.range:t["!ref"],1===f.header?u=1:"A"===f.header?u=2:Array.isArray(f.header)&&(u=3),typeof r){case"string":o=mh(r);break;case"number":(o=mh(t["!ref"])).s.r=r;break;default:o=r}u>0&&(h=0);var g=sh(o.s.r),m=new Array(o.e.c-o.s.c+1),v=new Array(o.e.r-o.s.r-h+1),y=0;for(l=o.s.c;l<=o.e.c;++l)switch(m[l]=uh(l),i=t[m[l]+g],u){case 1:d[l]=l;break;case 2:d[l]=m[l];break;case 3:d[l]=f.header[l-o.s.c];break;default:if(void 0===i)continue;d[l]=yh(i)}for(s=o.s.r+h;s<=o.e.r;++s){for(g=sh(s),a=!0,1===u?n=[]:(n={},Object.defineProperty?Object.defineProperty(n,"__rowNum__",{value:s,enumerable:!1}):n.__rowNum__=s),l=o.s.c;l<=o.e.c;++l)if(void 0!==(i=t[m[l]+g])&&void 0!==i.t){switch(c=i.v,i.t){case"e":continue;case"s":break;case"b":case"n":break;default:throw"unrecognized type "+i.t}void 0!==c&&(n[d[l]]=p?c:yh(i,c),a=!1)}!1!==a&&1!==u||(v[y++]=n)}return v.length=y,v}function Lh(t,e){var i="",n="",r=/"/g,o=null==e?{}:e;if(null==t||null==t["!ref"])return"";var a,s=mh(t["!ref"]),l=void 0!==o.FS?o.FS:",",c=l.charCodeAt(0),u=void 0!==o.RS?o.RS:"\n",h=u.charCodeAt(0),d="",f="",p=[],g=0,m=0,v=0,y=0;for(y=s.s.c;y<=s.e.c;++y)p[y]=uh(y);for(v=s.s.r;v<=s.e.r;++v){for(d="",f=sh(v),y=s.s.c;y<=s.e.c;++y){for(n=void 0!==(a=t[p[y]+f])?""+yh(a):"",g=0,m=0;g!==n.length;++g)if((m=n.charCodeAt(g))===c||m===h||34===m){n='"'+n.replace(r,'""')+'"';break}d+=(y===s.s.c?"":l)+n}i+=d+u}return i}function xh(t){var e,i,n="",r="";if(null==t||null==t["!ref"])return"";var o,a=mh(t["!ref"]),s="",l=[];e=new Array((a.e.r-a.s.r+1)*(a.e.c-a.s.c+1));var c=0;for(o=a.s.c;o<=a.e.c;++o)l[o]=uh(o);for(var u=a.s.r;u<=a.e.r;++u)for(s=sh(u),o=a.s.c;o<=a.e.c;++o)if(r="",void 0!==(i=t[n=l[o]+s])){if(null!=i.f)r=i.f;else if(void 0!==i.w)r="'"+i.w;else{if(void 0===i.v)continue;r=""+i.v}e[c++]=n+"="+r}return e.length=c,e}var wh={encode_col:uh,encode_row:sh,encode_cell:ph,encode_range:gh,decode_col:ch,decode_row:ah,split_cell:dh,decode_cell:fh,decode_range:function(t){var e=t.split(":").map(fh);return{s:e[0],e:e[e.length-1]}},format_cell:yh,get_formulae:xh,make_csv:Lh,make_json:bh,make_formulae:xh,sheet_to_csv:Lh,sheet_to_json:bh,sheet_to_formulae:xh,sheet_to_row_object_array:function(t,e){return bh(t,null!=e?e:{})}},_h=function(){function t(e,i,n){return this instanceof t?(this.tagName=e,this._attributes=i||{},this._children=n||[],this._prefix="",this):new t(e,i,n)}t.prototype.createElement=function(){return new t(arguments)},t.prototype.children=function(){return this._children},t.prototype.append=function(t){return this._children.push(t),this},t.prototype.prefix=function(t){return 0==arguments.length?this._prefix:(this._prefix=t,this)},t.prototype.attr=function(t,e){if(null==e)return delete this._attributes[t],this;if(0==arguments.length)return this._attributes;if("string"==typeof t&&1==arguments.length)return this._attributes.attr[t];if("object"==typeof t&&1==arguments.length)for(var i in t)this._attributes[i]=t[i];else 2==arguments.length&&"string"==typeof t&&(this._attributes[t]=e);return this};QUOTE='"';var e={};return e[QUOTE]=""",e["'"]="'",t.prototype.escapeAttributeValue=function(t){return'"'+t.replace(/\"/g,""")+'"'},t.prototype.toXml=function(t){t||(t=this);var e=t._prefix;if(e+="<"+t.tagName,t._attributes)for(var i in t._attributes)e+=" "+i+"="+this.escapeAttributeValue(""+t._attributes[i]);if(t._children&&t._children.length>0){e+=">";for(var n=0;n"}else e+="/>";return e},t}(),Sh=function(t){var e=164,i={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},n={};for(var r in i)n[i[r]]=r;return _hashIndex={},_listIndex=[],{initialize:function(t){this.$fonts=_h("fonts").attr("count",0).attr("x14ac:knownFonts","1"),this.$fills=_h("fills").attr("count",0),this.$borders=_h("borders").attr("count",0),this.$numFmts=_h("numFmts").attr("count",0),this.$cellStyleXfs=_h("cellStyleXfs"),this.$xf=_h("xf").attr("numFmtId",0).attr("fontId",0).attr("fillId",0).attr("borderId",0),this.$cellXfs=_h("cellXfs").attr("count",0),this.$cellStyles=_h("cellStyles").append(_h("cellStyle").attr("name","Normal").attr("xfId",0).attr("builtinId",0)),this.$dxfs=_h("dxfs").attr("count","0"),this.$tableStyles=_h("tableStyles").attr("count","0").attr("defaultTableStyle","TableStyleMedium9").attr("defaultPivotStyle","PivotStyleMedium4"),this.$styles=_h("styleSheet").attr("xmlns:mc","http://schemas.openxmlformats.org/markup-compatibility/2006").attr("xmlns:x14ac","http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac").attr("xmlns","http://schemas.openxmlformats.org/spreadsheetml/2006/main").attr("mc:Ignorable","x14ac").prefix('').append(this.$numFmts).append(this.$fonts).append(this.$fills).append(this.$borders).append(this.$cellStyleXfs.append(this.$xf)).append(this.$cellXfs).append(this.$cellStyles).append(this.$dxfs).append(this.$tableStyles);var e=t.defaultCellStyle||{};e.font||(e.font={name:"Calibri",sz:"12"}),e.font.name||(e.font.name="Calibri"),e.font.sz||(e.font.sz=11),e.fill||(e.fill={patternType:"none",fgColor:{}}),e.border||(e.border={}),e.numFmt||(e.numFmt=0),this.defaultStyle=e;var i=JSON.parse(JSON.stringify(e));return i.fill={patternType:"gray125",fgColor:{}},this.addStyles([e,i]),this},addStyle:function(t){var e=JSON.stringify(t),i=_hashIndex[e];return null==i?(i=this._addXf(t),_hashIndex[e]=i):i=_hashIndex[e],i},addStyles:function(t){var e=this;return t.map(function(t){return e.addStyle(t)})},_duckTypeStyle:function(t){return"object"==typeof t&&(t.patternFill||t.fgColor)?{fill:t}:t.font||t.numFmt||t.border||t.fill?t:this._getStyleCSS(t)},_getStyleCSS:function(t){return t},_addXf:function(t){var e=this._addFont(t.font),i=this._addFill(t.fill),n=this._addBorder(t.border),r=this._addNumFmt(t.numFmt),o=_h("xf").attr("numFmtId",r).attr("fontId",e).attr("fillId",i).attr("borderId",n).attr("xfId","0");if(e>0&&o.attr("applyFont","1"),i>0&&o.attr("applyFill","1"),n>0&&o.attr("applyBorder","1"),r>0&&o.attr("applyNumberFormat","1"),t.alignment){var a=_h("alignment");t.alignment.horizontal&&a.attr("horizontal",t.alignment.horizontal),t.alignment.vertical&&a.attr("vertical",t.alignment.vertical),t.alignment.indent&&a.attr("indent",t.alignment.indent),t.alignment.readingOrder&&a.attr("readingOrder",t.alignment.readingOrder),t.alignment.wrapText&&a.attr("wrapText",t.alignment.wrapText),null!=t.alignment.textRotation&&a.attr("textRotation",t.alignment.textRotation),o.append(a).attr("applyAlignment",1)}this.$cellXfs.append(o);var s=+this.$cellXfs.children().length;return this.$cellXfs.attr("count",s),s-1},_addFont:function(t){if(!t)return 0;var e=_h("font").append(_h("sz").attr("val",t.sz||this.defaultStyle.font.sz)).append(_h("name").attr("val",t.name||this.defaultStyle.font.name));t.bold&&e.append(_h("b")),t.underline&&e.append(_h("u")),t.italic&&e.append(_h("i")),t.strike&&e.append(_h("strike")),t.outline&&e.append(_h("outline")),t.shadow&&e.append(_h("shadow")),t.vertAlign&&e.append(_h("vertAlign").attr("val",t.vertAlign)),t.color&&(t.color.theme?(e.append(_h("color").attr("theme",t.color.theme)),t.color.tint&&e.append(_h("tint").attr("theme",t.color.tint))):t.color.rgb&&e.append(_h("color").attr("rgb",t.color.rgb))),this.$fonts.append(e);var i=this.$fonts.children().length;return this.$fonts.attr("count",i),i-1},_addNumFmt:function(t){if(!t)return 0;if("string"==typeof t){var i=n[t];if(i>=0)return i}if(/^[0-9]+$/.exec(t))return t;t=t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");var r=_h("numFmt").attr("numFmtId",++e).attr("formatCode",t);this.$numFmts.append(r);var o=this.$numFmts.children().length;return this.$numFmts.attr("count",o),e},_addFill:function(t){if(!t)return 0;var e=_h("patternFill").attr("patternType",t.patternType||"solid");if(t.fgColor){var i=_h("fgColor");t.fgColor.rgb?(6==t.fgColor.rgb.length&&(t.fgColor.rgb="FF"+t.fgColor.rgb),i.attr("rgb",t.fgColor.rgb),e.append(i)):t.fgColor.theme&&(i.attr("theme",t.fgColor.theme),t.fgColor.tint&&i.attr("tint",t.fgColor.tint),e.append(i)),t.bgColor||(t.bgColor={indexed:"64"})}if(t.bgColor){var n=_h("bgColor").attr(t.bgColor);e.append(n)}var r=_h("fill").append(e);this.$fills.append(r);var o=this.$fills.children().length;return this.$fills.attr("count",o),o-1},_getSubBorder:function(t,e){var i=_h(t);if(e&&(e.style&&i.attr("style",e.style),e.color)){var n=_h("color");e.color.auto?n.attr("auto",e.color.auto):e.color.rgb?n.attr("rgb",e.color.rgb):(e.color.theme||e.color.tint)&&(n.attr("theme",e.color.theme||"1"),n.attr("tint",e.color.tint||"0")),i.append(n)}return i},_addBorder:function(t){if(!t)return 0;var e=this,i=_h("border").attr("diagonalUp",t.diagonalUp).attr("diagonalDown",t.diagonalDown);["left","right","top","bottom","diagonal"].forEach(function(n){i.append(e._getSubBorder(n,t[n]))}),this.$borders.append(i);var n=this.$borders.children().length;return this.$borders.attr("count",n),n-1},toXml:function(){return this.$styles.toXml()}}.initialize(t||{})};t.parse_xlscfb=Uu,t.parse_zip=Ju,t.read=ih,t.readFile=nh,t.readFileSync=nh,t.write=rh,t.writeFile=oh,t.writeFileSync=oh,t.utils=wh,t.CFB=L,t.SSF=g}("undefined"!=typeof exports?exports:XLSX);var XLS=XLSX;if(function(t,e){"object"==typeof exports&&"string"!=typeof exports.nodeName?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("blobjs requires a window with a document");return e(t)}:e(t)}(window||this,function(t,e){"use strict";var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL&&!i)try{return new t.Blob,"function"==typeof define&&define.amd&&define("blobjs",[],function(){return t.Blob}),t.Blob}catch(t){}var n=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},i=function(){this.data=[]},n=function(t,e,i){this.data=t,this.size=t.length,this.type=e,this.encoding=i},r=i.prototype,o=n.prototype,a=t.FileReaderSync,s=function(t){this.code=this[this.name=t]},l="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=l.length,u=t.URL||t.webkitURL||t,h=u.createObjectURL,d=u.revokeObjectURL,f=u,p=t.btoa,g=t.atob,m=t.ArrayBuffer,v=t.Uint8Array,y=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(n.fake=o.fake=!0;c--;)s.prototype[l[c]]=c+1;return u.createObjectURL||(f=t.URL=function(t){var e,i=document.createElementNS("http://www.w3.org/1999/xhtml","a");return i.href=t,"origin"in i||("data:"===i.protocol.toLowerCase()?i.origin=null:(e=t.match(y),i.origin=e&&e[1])),i}),f.createObjectURL=function(t){var e,i=t.type;return null===i&&(i="application/octet-stream"),t instanceof n?(e="data:"+i,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):p?e+";base64,"+p(t.data):e+","+encodeURIComponent(t.data)):h?h.call(u,t):void 0},f.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&d&&d.call(u,t)},r.append=function(t){var i=this.data;if(v&&(t instanceof m||t instanceof v)){for(var r="",o=new v(t),l=0,c=o.length;l1?e:this.data.length),i,this.encoding)},o.toString=function(){return"[object Blob]"},o.close=function(){this.size=0,delete this.data},i}(t),r=function(t,e){var i=e&&e.type||"",r=new n;if(t)for(var o=0,a=t.length;o',action:"edit"},delete:{class:"btn btn-sm btn-default",html:'',action:"delete"},save:{class:"btn btn-sm btn-success",html:"Save"},restore:{class:"btn btn-sm btn-warning",html:"Restore",action:"restore"},confirm:{class:"btn btn-sm btn-danger",html:"Confirm"}},onDraw:function(){},onSuccess:function(){},onFail:function(){},onAlways:function(){},onAjax:function(){}},r=t.extend(!0,n,e),o="undefined",a="undefined",s={identifier:function(){r.hideIdentifier&&i.find("th:nth-child("+parseInt(r.columns.identifier[0])+"1), tbody td:nth-child("+parseInt(r.columns.identifier[0])+"1)").hide(),i.find("tbody td:nth-child("+(parseInt(r.columns.identifier[0])+1)+")").each(function(){var e=''+t(this).text()+"",i='';t(this).html(e+i),t(this).parent("tr").attr(r.rowIdentifier,t(this).text())})},editable:function(){for(var e=0;e";if(void 0!==r.columns.editable[e][2]){var o='"}else o='';t(this).html(n+o),t(this).addClass("tabledit-view-mode")})}},toolbar:function(){if(r.editButton||r.deleteButton){var t="",e="",n="",o="",a="";0===i.find("th.tabledit-toolbar-column").length&&i.find("tr:first").append(''),r.editButton&&(t='"),r.deleteButton&&(e='",a='"),r.editButton&&r.saveButton&&(n='"),r.deleteButton&&r.restoreButton&&(o='");var s='
    \n
    '+t+e+"
    \n "+n+"\n "+a+"\n "+o+"\n
";i.find("tbody>tr").append(''+s+"")}}},l=function(e){var i=t(e).parent("tr");t(e).parent("tr").find(".tabledit-input.tabledit-identifier").prop("disabled",!0),t(e).find(".tabledit-input").blur().hide().prop("disabled",!0),t(e).find(".tabledit-span").show(),t(e).addClass("tabledit-view-mode").removeClass("tabledit-edit-mode"),r.editButton&&(i.find("button.tabledit-save-button").hide(),i.find("button.tabledit-edit-button").removeClass("active").blur())},c=function(e){d.reset(e);var i=t(e).parent("tr");i.find(".tabledit-input.tabledit-identifier").prop("disabled",!1),t(e).find(".tabledit-span").hide();var n=t(e).find(".tabledit-input");n.prop("disabled",!1).show(),r.autoFocus&&n.focus(),t(e).addClass("tabledit-edit-mode").removeClass("tabledit-view-mode"),r.editButton&&(i.find("button.tabledit-edit-button").addClass("active"),i.find("button.tabledit-save-button").show())},u=function(e){t(e).each(function(){var e=t(this).find(".tabledit-input"),i=t(this).find(".tabledit-span").text();e.is("select")?e.find("option").filter(function(){return t.trim(t(this).text())===i}).attr("selected",!0):e.val(i),l(this)})},h=function(e){!1!==f(r.buttons.edit.action)&&(t(e).each(function(){var e=t(this).find(".tabledit-input");e.is("select")?t(this).find(".tabledit-span").text(e.find("option:selected").text()):t(this).find(".tabledit-span").text(e.val()),l(this)}),o=t(e).parent("tr"))},d={reset:function(t){i.find(".tabledit-confirm-button").hide(),i.find(".tabledit-delete-button").removeClass("active").blur()},submit:function(e){d.reset(e),t(e).parent("tr").find("input.tabledit-identifier").attr("disabled",!1);var i=f(r.buttons.delete.action);t(e).parents("tr").find("input.tabledit-identifier").attr("disabled",!0),!1!==i&&(t(e).parent("tr").addClass("tabledit-deleted-row"),t(e).parent("tr").addClass(r.mutedClass).find(".tabledit-toolbar button:not(.tabledit-restore-button)").attr("disabled",!0),t(e).find(".tabledit-restore-button").show(),a=t(e).parent("tr"))},confirm:function(e){i.find("td.tabledit-edit-mode").each(function(){u(this)}),t(e).find(".tabledit-delete-button").addClass("active"),t(e).find(".tabledit-confirm-button").show()},restore:function(e){t(e).parent("tr").find("input.tabledit-identifier").attr("disabled",!1);var i=f(r.buttons.restore.action);t(e).parents("tr").find("input.tabledit-identifier").attr("disabled",!0),!1!==i&&(t(e).parent("tr").removeClass("tabledit-deleted-row"),t(e).parent("tr").removeClass(r.mutedClass).find(".tabledit-toolbar button").attr("disabled",!1),t(e).find(".tabledit-restore-button").hide(),t(e).parent("tr"))}};function f(e){var n=i.find(".tabledit-input").serialize()+"&action="+e;if(!1===r.onAjax(e,n))return!1;var s=t.post(r.url,n,function(t,n,a){e===r.buttons.edit.action&&(o.removeClass(r.dangerClass).addClass(r.warningClass),setTimeout(function(){i.find("tr."+r.warningClass).removeClass(r.warningClass)},1400)),r.onSuccess(t,n,a)},"json");return s.fail(function(t,i,n){e===r.buttons.delete.action?(a.removeClass(r.mutedClass).addClass(r.dangerClass),a.find(".tabledit-toolbar button").attr("disabled",!1),a.find(".tabledit-toolbar .tabledit-restore-button").hide()):e===r.buttons.edit.action&&o.addClass(r.dangerClass),r.onFail(t,i,n)}),s.always(function(){r.onAlways()}),s}return s.identifier(),s.editable(),s.toolbar(),r.onDraw(),r.deleteButton&&(i.on("click","button.tabledit-delete-button",function(e){if(!0!==e.handled){e.preventDefault();var i=t(this).hasClass("active"),n=t(this).parents("td");d.reset(n),i||d.confirm(n),e.handled=!0}}),i.on("click","button.tabledit-confirm-button",function(e){if(!0!==e.handled){e.preventDefault();var i=t(this).parents("td");d.submit(i),e.handled=!0}})),r.restoreButton&&i.on("click","button.tabledit-restore-button",function(e){!0!==e.handled&&(e.preventDefault(),d.restore(t(this).parents("td")),e.handled=!0)}),r.editButton?(i.on("click","button.tabledit-edit-button",function(e){if(!0!==e.handled){e.preventDefault();var n=t(this),r=n.hasClass("active");u(i.find("td.tabledit-edit-mode")),r||t(n.parents("tr").find("td.tabledit-view-mode").get().reverse()).each(function(){c(this)}),e.handled=!0}}),i.on("click","button.tabledit-save-button",function(e){!0!==e.handled&&(e.preventDefault(),h(t(this).parents("tr").find("td.tabledit-edit-mode")),e.handled=!0)})):(i.on(r.eventType,"tr:not(.tabledit-deleted-row) td.tabledit-view-mode",function(t){!0!==t.handled&&(t.preventDefault(),u(i.find("td.tabledit-edit-mode")),c(this),t.handled=!0)}),i.on("change","select.tabledit-input:visible",function(){!0!==event.handled&&(h(t(this).parent("td")),event.handled=!0)}),t(document).on("click",function(t){var e=i.find(".tabledit-edit-mode");e.is(t.target)||0!==e.has(t.target).length||u(i.find(".tabledit-input:visible").parent("td"))})),t(document).on("keyup",function(t){var e=i.find(".tabledit-input:visible"),n=i.find(".tabledit-confirm-button");if(e.length>0)var o=e.parents("td");else{if(!(n.length>0))return;o=n.parents("td")}switch(t.keyCode){case 9:r.editButton||(h(o),c(o.closest("td").next()));break;case 13:h(o);break;case 27:u(o),d.reset(o)}}),this}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var t,e;function i(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i>>0,n=0;n_t(t)?(o=t+1,s-_t(t)):(o=t,s),{year:o,dayOfYear:a}}function jt(t,e,i){var n,r,o=Ht(t.year(),e,i),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Wt(r=t.year()-1,e,i):a>Wt(t.year(),e,i)?(n=a-Wt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function Wt(t,e,i){var n=Ht(t,e,i),r=Ht(t+1,e,i);return(_t(t)-n+r)/7}function Ut(t,e){return t.slice(e,7).concat(t.slice(0,e))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),lt("w",Z),lt("ww",Z,G),lt("W",Z),lt("WW",Z,G),ft(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=x(t)}),j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),lt("d",Z),lt("e",Z),lt("E",Z),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:d(i).invalidWeekday=t}),ft(["d","e","E"],function(t,e,i,n){e[n]=x(t)});var Yt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qt=at,$t=at,Zt=at;function Kt(){function t(t,e){return e.length-t.length}var e,i,n,r,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=h([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),o=this.weekdays(i,""),a.push(n),s.push(r),l.push(o),c.push(n),c.push(r),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ut(s[e]),l[e]=ut(l[e]),c[e]=ut(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function te(t,e){return e._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Qt),j("k",["kk",2],0,function(){return this.hours()||24}),j("hmm",0,0,function(){return""+Qt.apply(this)+F(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Qt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),Jt("a",!0),Jt("A",!1),P("hour","h"),R("hour",13),lt("a",te),lt("A",te),lt("H",Z),lt("h",Z),lt("k",Z),lt("HH",Z,G),lt("hh",Z,G),lt("kk",Z,G),lt("hmm",K),lt("hmmss",Q),lt("Hmm",K),lt("Hmmss",Q),dt(["H","HH"],vt),dt(["k","kk"],function(t,e,i){var n=x(t);e[vt]=24===n?0:n}),dt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),dt(["h","hh"],function(t,e,i){e[vt]=x(t),d(i).bigHour=!0}),dt("hmm",function(t,e,i){var n=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n)),d(i).bigHour=!0}),dt("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n,2)),e[bt]=x(t.substr(r)),d(i).bigHour=!0}),dt("Hmm",function(t,e,i){var n=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n))}),dt("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n,2)),e[bt]=x(t.substr(r))});var ee,ie=Tt("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pt,monthsShort:Ot,week:{dow:0,doy:6},weekdays:Yt,weekdaysMin:Xt,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},re={},oe={};function ae(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!re[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=ee._abbr,require("./locale/"+t),le(e)}catch(t){}return re[t]}function le(t,e){var i;return t&&((i=o(e)?ue(t):ce(t,e))?ee=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function ce(t,e){if(null===e)return delete re[t],null;var i,n=ne;if(e.abbr=t,null!=re[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=re[t]._config;else if(null!=e.parentLocale)if(null!=re[e.parentLocale])n=re[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return oe[e.parentLocale]||(oe[e.parentLocale]=[]),oe[e.parentLocale].push({name:t,config:e}),null;n=i._config}return re[t]=new M(A(n,e)),oe[t]&&oe[t].forEach(function(t){ce(t.name,t.config)}),le(t),re[t]}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ee;if(!n(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,r,o=0;o=e&&w(r,i,!0)>=e-1)break;e--}o++}return ee}(t)}function he(t){var e,i=t._a;return i&&-2===d(t).overflow&&(e=i[gt]<0||11Mt(i[pt],i[gt])?mt:i[vt]<0||24Wt(i,o,a)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(s=Vt(i,n,r,o,a),t._a[pt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=de(t._a[pt],r[pt]),(t._dayOfYear>_t(a)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=zt(a,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[mt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[vt]&&0===t._a[yt]&&0===t._a[bt]&&0===t._a[Lt]&&(t._nextDay=!0,t._a[vt]=0),t._d=(t._useUTC?zt:function(t,e,i,n,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[vt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(d(t).weekdayMismatch=!0)}}var pe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,ve=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],be=/^\/?Date\((\-?\d+)/i;function Le(t){var e,i,n,r,o,a,s=t._i,l=pe.exec(s)||ge.exec(s);if(l){for(d(t).iso=!0,e=0,i=ve.length;ei.valueOf():i.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},di.isLocal=function(){return!!this.isValid()&&!this._isUTC},di.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},di.isUtc=He,di.isUTC=He,di.zoneAbbr=function(){return this._isUTC?"UTC":""},di.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},di.dates=S("dates accessor is deprecated. Use date instead.",ai),di.months=S("months accessor is deprecated. Use month instead",Nt),di.years=S("years accessor is deprecated. Use year instead",kt),di.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),di.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),(t=Ce(t))._a){var e=t._isUTC?h(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&0
").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),e=t.children().offset().left>t.offset().left,t.remove(),b=e),b;var t,e}()&&"rtl"===t.css("direction")?e.left=i:e.right=i,e}function o(t){return t=Math.max(0,t),Math.round(t)}function a(t,e){return parseFloat(t.css(e))||0}function s(t){t.preventDefault()}function l(t,e,i,n,r){if(i.func)return i.func(t,e);var o=t[i.field],a=e[i.field];return null==o&&n&&(o=n[i.field]),null==a&&r&&(a=r[i.field]),c(o,a)*(i.order||1)}function c(t,e){return t||e?null==e?-1:null==t?1:"string"===y.type(t)||"string"===y.type(e)?String(t).localeCompare(String(e)):t-e:0}function u(t,i){var n,r,o;for(n=0;n=1&&m(o));n++);return r}function h(t,e,i){return null!=i?i.diff(e,t,!0):v.isDuration(e)?e.as(t):e.end.diff(e.start,t,!0)}function d(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function f(){for(var t=[],e=0;e/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"
")}function m(t){return t%1==0}Object.defineProperty(e,"__esModule",{value:!0});var v=i(0),y=i(3);e.compensateScroll=function(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})},e.uncompensateScroll=function(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})},e.disableCursor=function(){y("body").addClass("fc-not-allowed")},e.enableCursor=function(){y("body").removeClass("fc-not-allowed")},e.distributeHeight=function(t,e,i){var r=Math.floor(e/t.length),o=Math.floor(e-r*(t.length-1)),a=[],s=[],l=[],c=0;n(t),t.each(function(e,i){var n=e===t.length-1?o:r,u=y(i).outerHeight(!0);u *").each(function(t,i){var n=y(i).outerWidth();n>e&&(e=n)}),e++,t.width(e),e},e.subtractInnerElHeight=function(t,e){var i,n=t.add(e);return n.css({position:"relative",left:-1}),i=t.outerHeight()-e.outerHeight(),n.css({position:"",left:""}),i},e.getScrollParent=function(t){var e=t.css("position"),i=t.parents().filter(function(){var t=y(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&i.length?i:y(t[0].ownerDocument||document)},e.getOuterRect=function(t,e){var i=t.offset(),n=i.left-(e?e.left:0),r=i.top-(e?e.top:0);return{left:n,right:n+t.outerWidth(),top:r,bottom:r+t.outerHeight()}},e.getClientRect=function(t,e){var i=t.offset(),n=r(t),o=i.left+a(t,"border-left-width")+n.left-(e?e.left:0),s=i.top+a(t,"border-top-width")+n.top-(e?e.top:0);return{left:o,right:o+t[0].clientWidth,top:s,bottom:s+t[0].clientHeight}},e.getContentRect=function(t,e){var i=t.offset(),n=i.left+a(t,"border-left-width")+a(t,"padding-left")-(e?e.left:0),r=i.top+a(t,"border-top-width")+a(t,"padding-top")-(e?e.top:0);return{left:n,right:n+t.width(),top:r,bottom:r+t.height()}},e.getScrollbarWidths=r;var b=null;e.isPrimaryMouseButton=function(t){return 1===t.which&&!t.ctrlKey},e.getEvX=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageX:t.pageX},e.getEvY=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageY:t.pageY},e.getEvIsTouch=function(t){return/^touch/.test(t.type)},e.preventSelection=function(t){t.addClass("fc-unselectable").on("selectstart",s)},e.allowSelection=function(t){t.removeClass("fc-unselectable").off("selectstart",s)},e.preventDefault=s,e.intersectRects=function(t,e){var i={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return i.left=1&&m(n)?e.diff(t,"months",!0)/n:e.diff(t,"days",!0)/i.asDays())},e.divideDurationByDuration=function(t,e){var i,n;return d(t)||d(e)?t/e:(i=t.asMonths(),n=e.asMonths(),Math.abs(i)>=1&&m(i)&&Math.abs(n)>=1&&m(n)?i/n:t.asDays()/e.asDays())},e.multiplyDuration=function(t,e){var i;return d(t)?v.duration(t*e):(i=t.asMonths(),Math.abs(i)>=1&&m(i)?v.duration({months:i*e}):v.duration({days:t.asDays()*e}))},e.durationHasTime=d,e.isNativeDate=function(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date},e.isTimeString=function(t){return"string"==typeof t&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)},e.log=f,e.warn=function(){for(var t=[],e=0;e=0;a--)if("object"==typeof(s=e[a][r]))o.unshift(s);else if(void 0!==s){c[r]=s;break}o.length&&(c[r]=t(o))}for(n=e.length-1;n>=0;n--)for(r in l=e[n])r in c||(c[r]=l[r]);return c},e.copyOwnProps=function(t,e){for(var i in t)p(t,i)&&(e[i]=t[i])},e.hasOwnProp=p,e.applyAll=function(t,e,i){if(y.isFunction(t)&&(t=[t]),t){var n=void 0,r=void 0;for(n=0;ns&&a.push(new t(s,o.startMs)),o.endMs>s&&(s=o.endMs);return st.startMs)&&(null==this.startMs||null==t.endMs||this.startMs=this.startMs)&&(null==this.endMs||null!=t.endMs&&t.endMs<=this.endMs)},t.prototype.containsDate=function(t){var e=t.valueOf();return(null==this.startMs||e>=this.startMs)&&(null==this.endMs||e=this.endMs&&(e=this.endMs-1),e},t.prototype.equals=function(t){return this.startMs===t.startMs&&this.endMs===t.endMs},t.prototype.clone=function(){var e=new t(this.startMs,this.endMs);return e.isStart=this.isStart,e.isEnd=this.isEnd,e},t.prototype.getStart=function(){return null!=this.startMs?o.default.utc(this.startMs).stripZone():null},t.prototype.getEnd=function(){return null!=this.endMs?o.default.utc(this.endMs).stripZone():null},t.prototype.as=function(t){return r.utc(this.endMs).diff(r.utc(this.startMs),t,!0)},t}();e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(52),a=i(35),s=i(36),l=function(t){function e(i){var n=t.call(this)||this;return n.calendar=i,n.className=[],n.uid=String(e.uuid++),n}return n.__extends(e,t),e.parse=function(t,e){var i=new this(e);return!("object"!=typeof t||!i.applyProps(t))&&i},e.normalizeId=function(t){return t?String(t):null},e.prototype.fetch=function(t,e,i){},e.prototype.removeEventDefsById=function(t){},e.prototype.removeAllEventDefs=function(){},e.prototype.getPrimitive=function(t){},e.prototype.parseEventDefs=function(t){var e,i,n=[];for(e=0;e0},e}(i(15).default);e.default=o},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.view=t._getView(),this.component=t}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.end=function(){},t}();e.default=i},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.mixInto=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]||(t.prototype[i]=e.prototype[i])})},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]=e.prototype[i]})},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=function(){function t(t,e,i){this.start=t,this.end=e||null,this.unzonedRange=this.buildUnzonedRange(i)}return t.parse=function(e,i){var n=e.start||e.date,r=e.end;if(!n)return!1;var o=i.calendar,a=o.moment(n),s=r?o.moment(r):null,l=e.allDay,c=o.opt("forceEventDuration");return!!a.isValid()&&(null==l&&null==(l=i.allDayDefault)&&(l=o.opt("allDayDefault")),!0===l?(a.stripTime(),s&&s.stripTime()):!1===l&&(a.hasTime()||a.time(0),s&&!s.hasTime()&&s.time(0)),!s||s.isValid()&&s.isAfter(a)||(s=null),!s&&c&&(s=o.getDefaultEventEnd(!a.hasTime(),a)),new t(a,s,o))},t.isStandardProp=function(t){return"start"===t||"date"===t||"end"===t||"allDay"===t},t.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},t.prototype.buildUnzonedRange=function(t){var e=this.start.clone().stripZone().valueOf(),i=this.getEnd(t).stripZone().valueOf();return new n.default(e,i)},t.prototype.getEnd=function(t){return this.end?this.end.clone():t.getDefaultEventEnd(this.isAllDay(),this.start)},t}();e.default=r},function(t,e,i){function n(t,e){return!t&&!e||!(!t||!e)&&t.component===e.component&&r(t,e)&&r(e,t)}function r(t,e){for(var i in t)if(!/^(component|left|right|top|bottom)$/.test(i)&&t[i]!==e[i])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0});var o=i(2),a=i(4),s=function(t){function e(e,i){var n=t.call(this,i)||this;return n.component=e,n}return o.__extends(e,t),e.prototype.handleInteractionStart=function(e){var i,n,r,o=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(r=n={left:a.getEvX(e),top:a.getEvY(e)},o&&(i=a.getOuterRect(o),r=a.constrainPoint(r,i)),this.origHit=this.queryHit(r.left,r.top),o&&this.options.subjectCenter&&(this.origHit&&(i=a.intersectRects(this.origHit,i)||i),r=a.getRectCenter(i)),this.coordAdjust=a.diffPoints(r,n)):(this.origHit=null,this.coordAdjust=null),t.prototype.handleInteractionStart.call(this,e)},e.prototype.handleDragStart=function(e){var i;t.prototype.handleDragStart.call(this,e),(i=this.queryHit(a.getEvX(e),a.getEvY(e)))&&this.handleHitOver(i)},e.prototype.handleDrag=function(e,i,r){var o;t.prototype.handleDrag.call(this,e,i,r),n(o=this.queryHit(a.getEvX(r),a.getEvY(r)),this.hit)||(this.hit&&this.handleHitOut(),o&&this.handleHitOver(o))},e.prototype.handleDragEnd=function(e){this.handleHitDone(),t.prototype.handleDragEnd.call(this,e)},e.prototype.handleHitOver=function(t){var e=n(t,this.origHit);this.hit=t,this.trigger("hitOver",this.hit,e,this.origHit)},e.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},e.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},e.prototype.handleInteractionEnd=function(e,i){t.prototype.handleInteractionEnd.call(this,e,i),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},e.prototype.handleScrollEnd=function(){t.prototype.handleScrollEnd.call(this),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},e.prototype.queryHit=function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.component.queryHit(t,e)},e}(i(59).default);e.default=s},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.version="3.10.0",e.internalApiVersion=12;var n=i(4);e.applyAll=n.applyAll,e.debounce=n.debounce,e.isInt=n.isInt,e.htmlEscape=n.htmlEscape,e.cssToStr=n.cssToStr,e.proxy=n.proxy,e.capitaliseFirstLetter=n.capitaliseFirstLetter,e.getOuterRect=n.getOuterRect,e.getClientRect=n.getClientRect,e.getContentRect=n.getContentRect,e.getScrollbarWidths=n.getScrollbarWidths,e.preventDefault=n.preventDefault,e.parseFieldSpecs=n.parseFieldSpecs,e.compareByFieldSpecs=n.compareByFieldSpecs,e.compareByFieldSpec=n.compareByFieldSpec,e.flexibleCompare=n.flexibleCompare,e.computeGreatestUnit=n.computeGreatestUnit,e.divideRangeByDuration=n.divideRangeByDuration,e.divideDurationByDuration=n.divideDurationByDuration,e.multiplyDuration=n.multiplyDuration,e.durationHasTime=n.durationHasTime,e.log=n.log,e.warn=n.warn,e.removeExact=n.removeExact,e.intersectRects=n.intersectRects,e.allowSelection=n.allowSelection,e.attrsToStr=n.attrsToStr,e.compareNumbers=n.compareNumbers,e.compensateScroll=n.compensateScroll,e.computeDurationGreatestUnit=n.computeDurationGreatestUnit,e.constrainPoint=n.constrainPoint,e.copyOwnProps=n.copyOwnProps,e.diffByUnit=n.diffByUnit,e.diffDay=n.diffDay,e.diffDayTime=n.diffDayTime,e.diffPoints=n.diffPoints,e.disableCursor=n.disableCursor,e.distributeHeight=n.distributeHeight,e.enableCursor=n.enableCursor,e.firstDefined=n.firstDefined,e.getEvIsTouch=n.getEvIsTouch,e.getEvX=n.getEvX,e.getEvY=n.getEvY,e.getRectCenter=n.getRectCenter,e.getScrollParent=n.getScrollParent,e.hasOwnProp=n.hasOwnProp,e.isArraysEqual=n.isArraysEqual,e.isNativeDate=n.isNativeDate,e.isPrimaryMouseButton=n.isPrimaryMouseButton,e.isTimeString=n.isTimeString,e.matchCellWidths=n.matchCellWidths,e.mergeProps=n.mergeProps,e.preventSelection=n.preventSelection,e.removeMatching=n.removeMatching,e.stripHtmlEntities=n.stripHtmlEntities,e.subtractInnerElHeight=n.subtractInnerElHeight,e.uncompensateScroll=n.uncompensateScroll,e.undistributeHeight=n.undistributeHeight,e.dayIDs=n.dayIDs,e.unitsDesc=n.unitsDesc;var r=i(49);e.formatDate=r.formatDate,e.formatRange=r.formatRange,e.queryMostGranularFormatUnit=r.queryMostGranularFormatUnit;var o=i(32);e.datepickerLocale=o.datepickerLocale,e.locale=o.locale,e.getMomentLocaleData=o.getMomentLocaleData,e.populateInstanceComputableOptions=o.populateInstanceComputableOptions;var a=i(19);e.eventDefsToEventInstances=a.eventDefsToEventInstances,e.eventFootprintToComponentFootprint=a.eventFootprintToComponentFootprint,e.eventInstanceToEventRange=a.eventInstanceToEventRange,e.eventInstanceToUnzonedRange=a.eventInstanceToUnzonedRange,e.eventRangeToEventFootprint=a.eventRangeToEventFootprint;var s=i(11);e.moment=s.default;var l=i(13);e.EmitterMixin=l.default;var c=i(7);e.ListenerMixin=c.default;var u=i(51);e.Model=u.default;var h=i(217);e.Constraints=h.default;var d=i(55);e.DateProfileGenerator=d.default;var f=i(5);e.UnzonedRange=f.default;var p=i(12);e.ComponentFootprint=p.default;var g=i(218);e.BusinessHourGenerator=g.default;var m=i(219);e.EventPeriod=m.default;var v=i(220);e.EventManager=v.default;var y=i(37);e.EventDef=y.default;var b=i(39);e.EventDefMutation=b.default;var L=i(36);e.EventDefParser=L.default;var x=i(53);e.EventInstance=x.default;var w=i(50);e.EventRange=w.default;var _=i(54);e.RecurringEventDef=_.default;var S=i(9);e.SingleEventDef=S.default;var C=i(40);e.EventDefDateMutation=C.default;var k=i(16);e.EventDateProfile=k.default;var T=i(38);e.EventSourceParser=T.default;var E=i(6);e.EventSource=E.default;var A=i(57);e.defineThemeSystem=A.defineThemeSystem,e.getThemeSystemClass=A.getThemeSystemClass;var M=i(20);e.EventInstanceGroup=M.default;var D=i(56);e.ArrayEventSource=D.default;var P=i(223);e.FuncEventSource=P.default;var O=i(224);e.JsonFeedEventSource=O.default;var I=i(34);e.EventFootprint=I.default;var N=i(35);e.Class=N.default;var R=i(15);e.Mixin=R.default;var F=i(58);e.CoordCache=F.default;var B=i(225);e.Iterator=B.default;var z=i(59);e.DragListener=z.default;var H=i(17);e.HitDragListener=H.default;var V=i(226);e.MouseFollower=V.default;var j=i(52);e.ParsableModelMixin=j.default;var W=i(227);e.Popover=W.default;var U=i(21);e.Promise=U.default;var Y=i(228);e.TaskQueue=Y.default;var G=i(229);e.RenderQueue=G.default;var X=i(41);e.Scroller=X.default;var q=i(22);e.Theme=q.default;var $=i(230);e.Component=$.default;var Z=i(231);e.DateComponent=Z.default;var K=i(42);e.InteractiveDateComponent=K.default;var Q=i(232);e.Calendar=Q.default;var J=i(43);e.View=J.default;var tt=i(24);e.defineView=tt.defineView,e.getViewConfig=tt.getViewConfig;var et=i(60);e.DayTableMixin=et.default;var it=i(61);e.BusinessHourRenderer=it.default;var nt=i(44);e.EventRenderer=nt.default;var rt=i(62);e.FillRenderer=rt.default;var ot=i(63);e.HelperRenderer=ot.default;var at=i(233);e.ExternalDropping=at.default;var st=i(234);e.EventResizing=st.default;var lt=i(64);e.EventPointing=lt.default;var ct=i(235);e.EventDragging=ct.default;var ut=i(236);e.DateSelecting=ut.default;var ht=i(237);e.DateClicking=ht.default;var dt=i(14);e.Interaction=dt.default;var ft=i(65);e.StandardInteractionsMixin=ft.default;var pt=i(238);e.AgendaView=pt.default;var gt=i(239);e.TimeGrid=gt.default;var mt=i(240);e.TimeGridEventRenderer=mt.default;var vt=i(242);e.TimeGridFillRenderer=vt.default;var yt=i(241);e.TimeGridHelperRenderer=yt.default;var bt=i(66);e.DayGrid=bt.default;var Lt=i(243);e.DayGridEventRenderer=Lt.default;var xt=i(245);e.DayGridFillRenderer=xt.default;var wt=i(244);e.DayGridHelperRenderer=wt.default;var _t=i(67);e.BasicView=_t.default;var St=i(68);e.BasicViewDateProfileGenerator=St.default;var Ct=i(246);e.MonthView=Ct.default;var kt=i(247);e.MonthViewDateProfileGenerator=kt.default;var Tt=i(248);e.ListView=Tt.default;var Et=i(250);e.ListEventPointing=Et.default;var At=i(249);e.ListEventRenderer=At.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(50),r=i(34),o=i(12);e.eventDefsToEventInstances=function(t,e){var i,n=[];for(i=0;i
')},e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){this.el.remove()},e.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,i=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.top||t.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===i&&(i=t.left||t.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":e,"overflow-y":i})},e.prototype.setHeight=function(t){this.scrollEl.height(t)},e.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},e.prototype.setScrollTop=function(t){this.scrollEl.scrollTop(t)},e.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},e.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},e.prototype.getScrollbarWidths=function(){return o.getScrollbarWidths(this.scrollEl)},e}(i(35).default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(231),s=i(23),l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-event-container > *",n.dateSelectingClass&&(n.dateClicking=new n.dateClickingClass(n)),n.dateSelectingClass&&(n.dateSelecting=new n.dateSelectingClass(n)),n.eventPointingClass&&(n.eventPointing=new n.eventPointingClass(n)),n.eventDraggingClass&&n.eventPointing&&(n.eventDragging=new n.eventDraggingClass(n,n.eventPointing)),n.eventResizingClass&&n.eventPointing&&(n.eventResizing=new n.eventResizingClass(n,n.eventPointing)),n.externalDroppingClass&&(n.externalDropping=new n.externalDroppingClass(n)),n}return n.__extends(e,t),e.prototype.setElement=function(e){t.prototype.setElement.call(this,e),this.dateClicking&&this.dateClicking.bindToEl(e),this.dateSelecting&&this.dateSelecting.bindToEl(e),this.bindAllSegHandlersToEl(e)},e.prototype.removeElement=function(){this.endInteractions(),t.prototype.removeElement.call(this)},e.prototype.executeEventUnrender=function(){this.endInteractions(),t.prototype.executeEventUnrender.call(this)},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.bindToDocument()},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.unbindFromDocument()},e.prototype.bindDateHandlerToEl=function(t,e,i){var n=this;this.el.on(e,function(t){if(!r(t.target).is(n.segSelector+":not(.fc-helper),"+n.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return i.call(n,t)})},e.prototype.bindAllSegHandlersToEl=function(t){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(e){e&&e.bindToEl(t)})},e.prototype.bindSegHandlerToEl=function(t,e,i){var n=this;t.on(e,this.segSelector,function(t){var e=r(t.currentTarget);if(!e.is(".fc-helper")){var o=e.data("fc-seg");if(o&&!n.shouldIgnoreEventPointing())return i.call(n,o,t)}})},e.prototype.shouldIgnoreMouse=function(){return s.default.get().shouldIgnoreMouse()},e.prototype.shouldIgnoreTouch=function(){var t=this._getView();return t.isSelected||t.selectedEvent},e.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},e.prototype.canStartSelection=function(t,e){return o.getEvIsTouch(e)&&!this.canStartResize(t,e)&&(this.isEventDefDraggable(t.footprint.eventDef)||this.isEventDefResizable(t.footprint.eventDef))},e.prototype.canStartDrag=function(t,e){return!this.canStartResize(t,e)&&this.isEventDefDraggable(t.footprint.eventDef)},e.prototype.canStartResize=function(t,e){var i=this._getView(),n=t.footprint.eventDef;return(!o.getEvIsTouch(e)||i.isEventDefSelected(n))&&this.isEventDefResizable(n)&&r(e.target).is(".fc-resizer")},e.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.end()})},e.prototype.isEventDefDraggable=function(t){return this.isEventDefStartEditable(t)},e.prototype.isEventDefStartEditable=function(t){var e=t.isStartExplicitlyEditable();return null==e&&null==(e=this.opt("eventStartEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.isEventDefGenerallyEditable=function(t){var e=t.isExplicitlyEditable();return null==e&&(e=this.opt("editable")),e},e.prototype.isEventDefResizableFromStart=function(t){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(t)},e.prototype.isEventDefResizableFromEnd=function(t){return this.isEventDefResizable(t)},e.prototype.isEventDefResizable=function(t){var e=t.isDurationExplicitlyEditable();return null==e&&null==(e=this.opt("eventDurationEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.diffDates=function(t,e){return this.largeUnit?o.diffByUnit(t,e,this.largeUnit):o.diffDayTime(t,e)},e.prototype.isEventInstanceGroupAllowed=function(t){var e,i=this._getView(),n=this.dateProfile,r=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e1?"ll":"LL"},e.prototype.setDate=function(t){var e=this.get("dateProfile"),i=this.dateProfileGenerator.build(t,void 0,!0);e&&e.activeUnzonedRange.equals(i.activeUnzonedRange)||this.set("dateProfile",i)},e.prototype.unsetDate=function(){this.unset("dateProfile")},e.prototype.fetchInitialEvents=function(t){var e=this.calendar,i=t.isRangeAllDay&&!this.usesMinMaxTime;return e.requestEvents(e.msToMoment(t.activeUnzonedRange.startMs,i),e.msToMoment(t.activeUnzonedRange.endMs,i))},e.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},e.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},e.prototype.setEvents=function(t){this.set("currentEvents",t),this.set("hasEvents",!0)},e.prototype.unsetEvents=function(){this.unset("currentEvents"),this.unset("hasEvents")},e.prototype.resetEvents=function(t){this.startBatchRender(),this.unsetEvents(),this.setEvents(t),this.stopBatchRender()},e.prototype.requestDateRender=function(t){var e=this;this.requestRender(function(){e.executeDateRender(t)},"date","init")},e.prototype.requestDateUnrender=function(){var t=this;this.requestRender(function(){t.executeDateUnrender()},"date","destroy")},e.prototype.executeDateRender=function(e){t.prototype.executeDateRender.call(this,e),this.render&&this.render(),this.trigger("datesRendered"),this.addScroll({isDateInit:!0}),this.startNowIndicator()},e.prototype.executeDateUnrender=function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.destroy&&this.destroy(),t.prototype.executeDateUnrender.call(this)},e.prototype.bindBaseRenderHandlers=function(){var t=this;this.on("datesRendered",function(){t.whenSizeUpdated(t.triggerViewRender)}),this.on("before:datesUnrendered",function(){t.triggerViewDestroy()})},e.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.requestEventsRender=function(t){var e=this;this.requestRender(function(){e.executeEventRender(t),e.whenSizeUpdated(e.triggerAfterEventsRendered)},"event","init")},e.prototype.requestEventsUnrender=function(){var t=this;this.requestRender(function(){t.triggerBeforeEventsDestroyed(),t.executeEventUnrender()},"event","destroy")},e.prototype.requestBusinessHoursRender=function(t){var e=this;this.requestRender(function(){e.renderBusinessHours(t)},"businessHours","init")},e.prototype.requestBusinessHoursUnrender=function(){var t=this;this.requestRender(function(){t.unrenderBusinessHours()},"businessHours","destroy")},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.listenTo(u.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.stopListeningTo(u.default.get())},e.prototype.startNowIndicator=function(){var t,e,i,n=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(e=a.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),i=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){n.nowIndicatorTimeoutID=null,e(),i=+o.duration(1,t),i=Math.max(100,i),n.nowIndicatorIntervalID=setInterval(e,i)},i))},e.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.updateSize=function(e,i,n){this.setHeight?this.setHeight(e,i):t.prototype.updateSize.call(this,e,i,n),this.updateNowIndicator()},e.prototype.addScroll=function(t){var e=this.queuedScroll||(this.queuedScroll={});r.extend(e,t)},e.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},e.prototype.queryScroll=function(){var t={};return this.isDatesRendered&&r.extend(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t){t.isDateInit&&this.isDatesRendered&&r.extend(t,this.computeInitialDateScroll()),this.isDatesRendered&&this.applyDateScroll(t)},e.prototype.computeInitialDateScroll=function(){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.reportEventDrop=function(t,e,i,n){var r=this.calendar.eventManager.mutateEventsWithId(t.def.id,e),a=e.dateMutation;a&&(t.dateProfile=a.buildNewDateProfile(t.dateProfile,this.calendar)),this.triggerEventDrop(t,a&&a.dateDelta||o.duration(),r,i,n)},e.prototype.triggerEventDrop=function(t,e,i,n,r){this.publiclyTrigger("eventDrop",{context:n[0],args:[t.toLegacy(),e,i,r,{},this]})},e.prototype.reportExternalDrop=function(t,e,i,n,r,o){e&&this.calendar.eventManager.addEventDef(t,i),this.triggerExternalDrop(t,e,n,r,o)},e.prototype.triggerExternalDrop=function(t,e,i,n,r){this.publiclyTrigger("drop",{context:i[0],args:[t.dateProfile.start.clone(),n,r,this]}),e&&this.publiclyTrigger("eventReceive",{context:this,args:[t.buildInstance().toLegacy(),this]})},e.prototype.reportEventResize=function(t,e,i,n){var r=this.calendar.eventManager.mutateEventsWithId(t.def.id,e);t.dateProfile=e.dateMutation.buildNewDateProfile(t.dateProfile,this.calendar);var o=e.dateMutation.endDelta||e.dateMutation.startDelta;this.triggerEventResize(t,o,r,i,n)},e.prototype.triggerEventResize=function(t,e,i,n,r){this.publiclyTrigger("eventResize",{context:n[0],args:[t.toLegacy(),e,i,r,{},this]})},e.prototype.select=function(t,e){this.unselect(e),this.renderSelectionFootprint(t),this.reportSelection(t,e)},e.prototype.renderSelectionFootprint=function(e){this.renderSelection?this.renderSelection(e.toLegacy(this.calendar)):t.prototype.renderSelectionFootprint.call(this,e)},e.prototype.reportSelection=function(t,e){this.isSelected=!0,this.triggerSelect(t,e)},e.prototype.triggerSelect=function(t,e){var i=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("select",{context:this,args:[i.start,i.end,e,this]})},e.prototype.unselect=function(t){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[t,this]}))},e.prototype.selectEventInstance=function(t){this.selectedEventInstance&&this.selectedEventInstance===t||(this.unselectEventInstance(),this.getEventSegs().forEach(function(e){e.footprint.eventInstance===t&&e.el&&e.el.addClass("fc-selected")}),this.selectedEventInstance=t)},e.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(t){t.el&&t.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},e.prototype.isEventDefSelected=function(t){return this.selectedEventInstance&&this.selectedEventInstance.def.id===t.id},e.prototype.handleDocumentMousedown=function(t){a.isPrimaryMouseButton(t)&&this.processUnselect(t)},e.prototype.processUnselect=function(t){this.processRangeUnselect(t),this.processEventUnselect(t)},e.prototype.processRangeUnselect=function(t){var e;this.isSelected&&this.opt("unselectAuto")&&((e=this.opt("unselectCancel"))&&r(t.target).closest(e).length||this.unselect(t))},e.prototype.processEventUnselect=function(t){this.selectedEventInstance&&(r(t.target).closest(".fc-selected").length||this.unselectEventInstance())},e.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.triggerDayClick=function(t,e,i){var n=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("dayClick",{context:e,args:[n.start,i,this]})},e.prototype.isDateInOtherMonth=function(t,e){return!1},e.prototype.getUnzonedRangeOption=function(t){var e=this.opt(t);if("function"==typeof e&&(e=e.apply(null,Array.prototype.slice.call(arguments,1))),e)return this.calendar.parseUnzonedRange(e)},e.prototype.initHiddenDays=function(){var t,e=this.opt("hiddenDays")||[],i=[],n=0;for(!1===this.opt("weekends")&&e.push(0,6),t=0;t<7;t++)(i[t]=-1!==r.inArray(t,e))||n++;if(!n)throw new Error("invalid hiddenDays");this.isHiddenDayHash=i},e.prototype.trimHiddenDays=function(t){var e=t.getStart(),i=t.getEnd();return e&&(e=this.skipHiddenDays(e)),i&&(i=this.skipHiddenDays(i,-1,!0)),null===e||null===i||eo&&(!l[a]||c.isSame(d,l[a]))&&(a-1!==o||"."!==f[a]);a--)m=f[a]+m;for(s=o;s<=a;s++)v+=f[s],y+=p[s];return(v||y)&&(b=r?y+n+v:v+n+y),h(g+b+m)}(o(i=t.localeData().longDateFormat(i)||i),t,e,n||" - ",r)};var b={};e.queryMostGranularFormatUnit=function(t){var e,i,n,r,o=a(t);for(e=0;er.value)&&(r=n);return r?r.unit:null}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){return function(t,e,i){this.unzonedRange=t,this.eventDef=e,i&&(this.eventInstance=i)}}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(35),o=i(13),a=i(7),s=function(t){function e(){var e=t.call(this)||this;return e._watchers={},e._props={},e.applyGlobalWatchers(),e.constructed(),e}return n.__extends(e,t),e.watch=function(t){for(var e=[],i=1;i864e5&&r.time(i-864e5)),new o.default(n,r)},t.prototype.buildRangeFromDuration=function(t,e,i,a){function s(){u=t.clone().startOf(f),h=u.clone().add(i),d=new o.default(u,h)}var l,c,u,h,d,f=this.opt("dateAlignment");return f||((l=this.opt("dateIncrement"))?(c=n.duration(l),f=c0&&(t=this.els.eq(0).offsetParent()),this.origin=t?t.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},t.prototype.clear=function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},t.prototype.ensureBuilt=function(){this.origin||this.build()},t.prototype.buildElHorizontals=function(){var t=[],e=[];this.els.each(function(i,r){var o=n(r),a=o.offset().left,s=o.outerWidth();t.push(a),e.push(a+s)}),this.lefts=t,this.rights=e},t.prototype.buildElVerticals=function(){var t=[],e=[];this.els.each(function(i,r){var o=n(r),a=o.offset().top,s=o.outerHeight();t.push(a),e.push(a+s)}),this.tops=t,this.bottoms=e},t.prototype.getHorizontalIndex=function(t){this.ensureBuilt();var e,i=this.lefts,n=this.rights,r=i.length;for(e=0;e=i[e]&&t=i[e]&&t0&&(!(t=r.getScrollParent(this.els.eq(0))).is(document)&&!t.is("html,body"))?r.getClientRect(t):null},t.prototype.isPointInBounds=function(t,e){return this.isLeftInBounds(t)&&this.isTopInBounds(e)},t.prototype.isLeftInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.left&&t=this.boundingRect.top&&t=n*n&&this.handleDistanceSurpassed(t),this.isDragging&&this.handleDrag(e,i,t)},t.prototype.handleDrag=function(t,e,i){this.trigger("drag",t,e,i),this.updateAutoScroll(i)},t.prototype.endDrag=function(t){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(t))},t.prototype.handleDragEnd=function(t){this.trigger("dragEnd",t)},t.prototype.startDelay=function(t){var e=this;this.delay?this.delayTimeoutId=setTimeout(function(){e.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)},t.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(t)},t.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(t)},t.prototype.handleTouchMove=function(t){this.isDragging&&this.shouldCancelTouchScroll&&t.preventDefault(),this.handleMove(t)},t.prototype.handleMouseMove=function(t){this.handleMove(t)},t.prototype.handleTouchScroll=function(t){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(t,!0)},t.prototype.trigger=function(t){for(var e=[],i=1;i=0&&e<=1?l=e*this.scrollSpeed*-1:i>=0&&i<=1&&(l=i*this.scrollSpeed),n>=0&&n<=1?c=n*this.scrollSpeed*-1:o>=0&&o<=1&&(c=o*this.scrollSpeed)),this.setScrollVel(l,c)},t.prototype.setScrollVel=function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(r.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},t.prototype.constrainScrollVel=function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},t.prototype.scrollIntervalFunc=function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},t.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},t.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},t.prototype.handleScrollEnd=function(){},t}();e.default=s,o.default.mixInto(s)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.updateDayTable=function(){for(var t,e,i,n=this,r=n.view,o=r.calendar,a=o.msToUtcMoment(n.dateProfile.renderUnzonedRange.startMs,!0),s=o.msToUtcMoment(n.dateProfile.renderUnzonedRange.endMs,!0),l=-1,c=[],u=[];a.isBefore(s);)r.isHiddenDay(a)?c.push(l+.5):(l++,c.push(l),u.push(a.clone())),a.add(1,"days");if(this.breakOnWeeks){for(e=u[0].day(),t=1;t=e.length?e[e.length-1]+1:e[i]},e.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},e.prototype.sliceRangeByRow=function(t){var e,i,n,r,o,a=this.daysPerRow,s=this.view.computeDayRange(t),l=this.getDateDayIndex(s.start),c=this.getDateDayIndex(s.end.clone().subtract(1,"days")),u=[];for(e=0;e'+this.renderHeadTrHtml()+"
"},e.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},e.prototype.renderHeadTrHtml=function(){return""+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+""},e.prototype.renderHeadDateCellsHtml=function(){var t,e,i=[];for(t=0;t1?' colspan="'+e+'"':"")+(i?" "+i:"")+">"+(s?a.buildGotoAnchorHtml({date:t,forceOff:o.rowCnt>1||1===o.colCnt},n):n)+""},e.prototype.renderBgTrHtml=function(t){return""+(this.isRTL?"":this.renderBgIntroHtml(t))+this.renderBgCellsHtml(t)+(this.isRTL?this.renderBgIntroHtml(t):"")+""},e.prototype.renderBgIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderBgCellsHtml=function(t){var e,i,n=[];for(e=0;e"},e.prototype.renderIntroHtml=function(){},e.prototype.bookendCells=function(t){var e=this.renderIntroHtml();e&&(this.isRTL?t.append(e):t.prepend(e))},e}(i(15).default);e.default=o},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.component=t,this.fillRenderer=e}return t.prototype.render=function(t){var e=this.component,i=e._getDateProfile().activeUnzonedRange,n=t.buildEventInstanceGroup(e.hasAllDayBusinessHours,i),r=n?e.eventRangesToEventFootprints(n.sliceRenderRanges(i)):[];this.renderEventFootprints(r)},t.prototype.renderEventFootprints=function(t){var e=this.component.eventFootprintsToSegs(t);this.renderSegs(e),this.segs=e},t.prototype.renderSegs=function(t){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",t,{getClasses:function(t){return["fc-nonbusiness","fc-bgevent"]}})},t.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours"),this.segs=null},t.prototype.getSegs=function(){return this.segs||[]},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t){this.fillSegTag="div",this.component=t,this.elsByFill={}}return t.prototype.renderFootprint=function(t,e,i){this.renderSegs(t,this.component.componentFootprintToSegs(e),i)},t.prototype.renderSegs=function(t,e,i){var n;return e=this.buildSegEls(t,e,i),(n=this.attachSegEls(t,e))&&this.reportEls(t,n),e},t.prototype.unrender=function(t){var e=this.elsByFill[t];e&&(e.remove(),delete this.elsByFill[t])},t.prototype.buildSegEls=function(t,e,i){var r,o=this,a="",s=[];if(e.length){for(r=0;r"},t.prototype.attachSegEls=function(t,e){},t.prototype.reportEls=function(t,e){this.elsByFill[t]?this.elsByFill[t]=this.elsByFill[t].add(e):this.elsByFill[t]=n(e)},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),r=i(34),o=i(6),a=function(){function t(t,e){this.view=t._getView(),this.component=t,this.eventRenderer=e}return t.prototype.renderComponentFootprint=function(t){this.renderEventFootprints([this.fabricateEventFootprint(t)])},t.prototype.renderEventDraggingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-dragging",i?null:this.view.opt("dragOpacity"))},t.prototype.renderEventResizingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-resizing")},t.prototype.renderEventFootprints=function(t,e,i,n){var r,o=this.component.eventFootprintsToSegs(t),a="fc-helper "+(i||"");for(o=this.eventRenderer.renderFgSegEls(o),r=0;r
'+this.renderBgTrHtml(t)+'
'+(this.getIsNumbersVisible()?""+this.renderNumberTrHtml(t)+"":"")+"
"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){return""+(this.isRTL?"":this.renderNumberIntroHtml(t))+this.renderNumberCellsHtml(t)+(this.isRTL?this.renderNumberIntroHtml(t):"")+""},e.prototype.renderNumberIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderNumberCellsHtml=function(t){var e,i,n=[];for(e=0;e",this.cellWeekNumbersVisible&&t.day()===i&&(r+=n.buildGotoAnchorHtml({date:t,type:"week"},{class:"fc-week-number"},t.format("w"))),a&&(r+=n.buildGotoAnchorHtml(t,{class:"fc-day-number"},t.format("D"))),r+=""):""},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.releaseHits=function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},e.prototype.queryHit=function(t,e){if(this.colCoordCache.isLeftInBounds(t)&&this.rowCoordCache.isTopInBounds(e)){var i=this.colCoordCache.getHorizontalIndex(t),n=this.rowCoordCache.getVerticalIndex(e);if(null!=n&&null!=i)return this.getCellHit(n,i)}},e.prototype.getHitFootprint=function(t){var e=this.getCellRange(t.row,t.col);return new c.default(new l.default(e.start,e.end),!0)},e.prototype.getHitEl=function(t){return this.getCellEl(t.row,t.col)},e.prototype.getCellHit=function(t,e){return{row:t,col:e,component:this,left:this.colCoordCache.getLeftOffset(e),right:this.colCoordCache.getRightOffset(e),top:this.rowCoordCache.getTopOffset(t),bottom:this.rowCoordCache.getBottomOffset(t)}},e.prototype.getCellEl=function(t,e){return this.cellEls.eq(t*this.colCnt+e)},e.prototype.executeEventUnrender=function(){this.removeSegPopover(),t.prototype.executeEventUnrender.call(this)},e.prototype.getOwnEventSegs=function(){return t.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},e.prototype.renderDrag=function(t,e,i){var n;for(n=0;n td > :first-child").each(e),n.position().top+o>a)return i;return!1},e.prototype.limitRow=function(t,e){var i,n,o,a,s,l,c,u,h,d,f,p,g,m,v,y=this,b=this.eventRenderer.rowStructs[t],L=[],x=0,w=function(i){for(;x").append(v),h.append(m),L.push(m[0])),x++};if(e&&e').attr("rowspan",d),l=u[p],v=this.renderMoreLink(t,s.leftCol+p,[s].concat(l)),m=r("
").append(v),g.append(m),f.push(g[0]),L.push(g[0]);h.addClass("fc-limited").after(r(f)),o.push(h[0])}}w(this.colCnt),b.moreEls=r(L),b.limitedEls=r(o)}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.remove(),e.moreEls=null),e.limitedEls&&(e.limitedEls.removeClass("fc-limited"),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,i){var n=this,o=this.view;return r('').text(this.getMoreLinkText(i.length)).on("click",function(a){var s=n.opt("eventLimitClick"),l=n.getCellDate(t,e),c=r(a.currentTarget),u=n.getCellEl(t,e),h=n.getCellSegs(t,e),d=n.resliceDaySegs(h,l),f=n.resliceDaySegs(i,l);"function"==typeof s&&(s=n.publiclyTrigger("eventLimitClick",{context:o,args:[{date:l.clone(),dayEl:u,moreEl:c,segs:d,hiddenSegs:f},a,o]})),"popover"===s?n.showSegPopover(t,e,c,d):"string"==typeof s&&o.calendar.zoomTo(l,s)})},e.prototype.showSegPopover=function(t,e,i,n){var r,o,a=this,l=this.view,c=i.parent();r=1===this.rowCnt?l.el:this.rowEls.eq(t),o={className:"fc-more-popover "+l.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(t,e,n),parentEl:l.el,top:r.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){a.popoverSegs&&a.triggerBeforeEventSegsDestroyed(a.popoverSegs),a.segPopover.removeElement(),a.segPopover=null,a.popoverSegs=null}},this.isRTL?o.right=c.offset().left+c.outerWidth()+1:o.left=c.offset().left-1,this.segPopover=new s.default(o),this.segPopover.show(),this.bindAllSegHandlersToEl(this.segPopover.el),this.triggerAfterEventSegsRendered(n)},e.prototype.renderSegPopoverContent=function(t,e,i){var n,a=this.view.calendar.theme,s=this.getCellDate(t,e).format(this.opt("dayPopoverFormat")),l=r('
'+o.htmlEscape(s)+'
'),c=l.find(".fc-event-container");for(i=this.eventRenderer.renderFgSegEls(i,!0),this.popoverSegs=i,n=0;n"+o.htmlEscape(this.opt("weekNumberTitle"))+"":""},e.prototype.renderNumberIntroHtml=function(t){var e=this.view,i=this.getCellDate(t,0);return this.colWeekNumbersVisible?'"+e.buildGotoAnchorHtml({date:i,type:"week",forceOff:1===this.colCnt},i.format("w"))+"":""},e.prototype.renderBgIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'":""},e.prototype.renderIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'":""},e.prototype.getIsNumbersVisible=function(){return c.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},e}(this.dayGridClass))(this)},e.prototype.executeDateRender=function(e){this.dayGrid.breakOnWeeks=/year|month|week/.test(e.currentRangeUnit),t.prototype.executeDateRender.call(this,e)},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-day-grid-container"),e=r('
').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(e)},e.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return''+(this.opt("columnHeader")?'':"")+'
 
'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.opt("eventLimit");return t&&"number"!=typeof t},e.prototype.updateSize=function(e,i,n){var r,a,s=this.opt("eventLimit"),l=this.dayGrid.headContainerEl.find(".fc-row");this.dayGrid.rowEls?(t.prototype.updateSize.call(this,e,i,n),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=o.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),o.uncompensateScroll(l),this.dayGrid.removeSegPopover(),s&&"number"==typeof s&&this.dayGrid.limitRows(s),r=this.computeScrollerHeight(e),this.setGridHeight(r,i),s&&"number"!=typeof s&&this.dayGrid.limitRows(s),i||(this.scroller.setHeight(r),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(o.compensateScroll(l,a),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(a))):i||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r))},e.prototype.computeScrollerHeight=function(t){return t-o.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){e?o.undistributeHeight(this.dayGrid.rowEls):o.distributeHeight(this.dayGrid.rowEls,t,!0)},e.prototype.computeInitialDateScroll=function(){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(s.default);e.default=u,u.prototype.dateProfileGeneratorClass=l.default,u.prototype.dayGridClass=c.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(5),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var o=t.prototype.buildRenderRange.call(this,e,i,n),a=this.msToUtcMoment(o.startMs,n),s=this.msToUtcMoment(o.endMs,n);return/^(year|month)$/.test(i)&&(a.startOf("week"),s.weekday()&&s.add(1,"week").startOf("week")),new r.default(a,s)},e}(i(55).default);e.default=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=i(12),o=i(36),a=i(6),s=i(19),l=function(){function t(t,e){this.eventManager=t,this._calendar=e}return t.prototype.opt=function(t){return this._calendar.opt(t)},t.prototype.isEventInstanceGroupAllowed=function(t){var e,i=t.getEventDef(),n=this.eventRangesToEventFootprints(t.getAllEventRanges()),r=this.getPeerEventInstances(i).map(s.eventInstanceToEventRange),o=this.eventRangesToEventFootprints(r),a=i.getConstraint(),l=i.getOverlap(),c=this.opt("eventAllow");for(e=0;e').addClass(e.className||"").css({top:0,left:0}).append(e.content).appendTo(e.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),e.autoHide&&this.listenTo(n(document),"mousedown",this.documentMousedown)},t.prototype.documentMousedown=function(t){this.el&&!n(t.target).closest(this.el).length&&this.hide()},t.prototype.removeElement=function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(n(document),"mousedown")},t.prototype.position=function(){var t,e,i,o,a,s=this.options,l=this.el.offsetParent().offset(),c=this.el.outerWidth(),u=this.el.outerHeight(),h=n(window),d=r.getScrollParent(this.el);o=s.top||0,a=void 0!==s.left?s.left:void 0!==s.right?s.right-c:0,d.is(window)||d.is(document)?(d=h,t=0,e=0):(t=(i=d.offset()).top,e=i.left),t+=h.scrollTop(),e+=h.scrollLeft(),!1!==s.viewportConstrain&&(o=Math.min(o,t+d.outerHeight()-u-this.margin),o=Math.max(o,t+this.margin),a=Math.min(a,e+d.outerWidth()-c-this.margin),a=Math.max(a,e+this.margin)),this.el.css({top:o-l.top,left:a-l.left})},t.prototype.trigger=function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},t}();e.default=a,o.default.mixInto(a)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(13),r=function(){function t(){this.q=[],this.isPaused=!1,this.isRunning=!1}return t.prototype.queue=function(){for(var t=[],e=0;e=0;e--)if((i=n[e]).namespace===t.namespace)switch(i.type){case"init":r=!1;case"add":case"remove":n.splice(e,1)}return r&&n.push(t),r},e}(i(228).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setElement=function(t){this.el=t,this.bindGlobalHandlers(),this.renderSkeleton(),this.set("isInDom",!0)},e.prototype.removeElement=function(){this.unset("isInDom"),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.el.remove()},e.prototype.bindGlobalHandlers=function(){},e.prototype.unbindGlobalHandlers=function(){},e.prototype.renderSkeleton=function(){},e.prototype.unrenderSkeleton=function(){},e}(i(51).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(4),s=i(11),l=i(49),c=i(230),u=i(19),h=function(t){function e(i,n){var r=t.call(this)||this;return r.isRTL=!1,r.hitsNeededDepth=0,r.hasAllDayBusinessHours=!1,r.isDatesRendered=!1,i&&(r.view=i),n&&(r.options=n),r.uid=String(e.guid++),r.childrenByUid={},r.nextDayThreshold=o.duration(r.opt("nextDayThreshold")),r.isRTL=r.opt("isRTL"),r.fillRendererClass&&(r.fillRenderer=new r.fillRendererClass(r)),r.eventRendererClass&&(r.eventRenderer=new r.eventRendererClass(r,r.fillRenderer)),r.helperRendererClass&&r.eventRenderer&&(r.helperRenderer=new r.helperRendererClass(r,r.eventRenderer)),r.businessHourRendererClass&&r.fillRenderer&&(r.businessHourRenderer=new r.businessHourRendererClass(r,r.fillRenderer)),r}return n.__extends(e,t),e.prototype.addChild=function(t){return!this.childrenByUid[t.uid]&&(this.childrenByUid[t.uid]=t,!0)},e.prototype.removeChild=function(t){return!!this.childrenByUid[t.uid]&&(delete this.childrenByUid[t.uid],!0)},e.prototype.updateSize=function(t,e,i){this.callChildren("updateSize",arguments)},e.prototype.opt=function(t){return this._getView().opt(t)},e.prototype.publiclyTrigger=function(){for(var t=[],e=0;e'+i+"
":""+i+""},e.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||a.htmlEscape(this.opt("allDayText"))},e.prototype.getDayClasses=function(t,e){var i,n=this._getView(),r=[];return this.dateProfile.activeUnzonedRange.containsDate(t)?(r.push("fc-"+a.dayIDs[t.day()]),n.isDateInOtherMonth(t,this.dateProfile)&&r.push("fc-other-month"),i=n.calendar.getNow(),t.isSame(i,"day")?(r.push("fc-today"),!0!==e&&r.push(n.calendar.theme.getClass("today"))):t=this.nextDayThreshold&&o.add(1,"days"),o<=i&&(o=i.clone().add(1,"days")),{start:i,end:o}},e.prototype.isMultiDayRange=function(t){var e=this.computeDayRange(t);return e.end.diff(e.start,"days")>1},e.guid=0,e}(c.default);e.default=h},function(t,e,i){function n(t,e){return null==e?t:r.isFunction(e)?t.filter(e):(e+="",t.filter(function(t){return t.id==e||t._id===e}))}Object.defineProperty(e,"__esModule",{value:!0});var r=i(3),o=i(0),a=i(4),s=i(33),l=i(225),c=i(23),u=i(13),h=i(7),d=i(257),f=i(258),p=i(259),g=i(217),m=i(32),v=i(11),y=i(5),b=i(12),L=i(16),x=i(220),w=i(218),_=i(38),S=i(36),C=i(9),k=i(39),T=i(6),E=i(57),A=function(){function t(t,e){this.loadingLevel=0,this.ignoreUpdateViewSize=0,this.freezeContentHeightDepth=0,c.default.needed(),this.el=t,this.viewsByType={},this.optionsManager=new f.default(this,e),this.viewSpecManager=new p.default(this.optionsManager,this),this.initMomentInternals(),this.initCurrentDate(),this.initEventManager(),this.constraints=new g.default(this.eventManager,this),this.constructed()}return t.prototype.constructed=function(){},t.prototype.getView=function(){return this.view},t.prototype.publiclyTrigger=function(t,e){var i,n,o=this.opt(t);if(r.isPlainObject(e)?(i=e.context,n=e.args):r.isArray(e)&&(n=e),null==i&&(i=this.el[0]),n||(n=[]),this.triggerWith(t,i,n),o)return o.apply(i,n)},t.prototype.hasPublicHandlers=function(t){return this.hasHandlers(t)||this.opt(t)},t.prototype.option=function(t,e){var i;if("string"==typeof t){if(void 0===e)return this.optionsManager.get(t);(i={})[t]=e,this.optionsManager.add(i)}else"object"==typeof t&&this.optionsManager.add(t)},t.prototype.opt=function(t){return this.optionsManager.get(t)},t.prototype.instantiateView=function(t){var e=this.viewSpecManager.getViewSpec(t);if(!e)throw new Error('View type "'+t+'" is not valid');return new e.class(this,e)},t.prototype.isValidViewType=function(t){return Boolean(this.viewSpecManager.getViewSpec(t))},t.prototype.changeView=function(t,e){e&&(e.start&&e.end?this.optionsManager.recordOverrides({visibleRange:e}):this.currentDate=this.moment(e).stripZone()),this.renderView(t)},t.prototype.zoomTo=function(t,e){var i;e=e||"day",i=this.viewSpecManager.getViewSpec(e)||this.viewSpecManager.getUnitViewSpec(e),this.currentDate=t.clone(),this.renderView(i?i.type:null)},t.prototype.initCurrentDate=function(){var t=this.opt("defaultDate");this.currentDate=null!=t?this.moment(t).stripZone():this.getNow()},t.prototype.prev=function(){var t=this.view,e=t.dateProfileGenerator.buildPrev(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.next=function(){var t=this.view,e=t.dateProfileGenerator.buildNext(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.prevYear=function(){this.currentDate.add(-1,"years"),this.renderView()},t.prototype.nextYear=function(){this.currentDate.add(1,"years"),this.renderView()},t.prototype.today=function(){this.currentDate=this.getNow(),this.renderView()},t.prototype.gotoDate=function(t){this.currentDate=this.moment(t).stripZone(),this.renderView()},t.prototype.incrementDate=function(t){this.currentDate.add(o.duration(t)),this.renderView()},t.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},t.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},t.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},t.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},t.prototype.initialRender=function(){var t=this,e=this.el;e.addClass("fc"),e.on("click.fc","a[data-goto]",function(e){var i=r(e.currentTarget).data("goto"),n=t.moment(i.date),o=i.type,s=t.view.opt("navLink"+a.capitaliseFirstLetter(o)+"Click");"function"==typeof s?s(n,e):("string"==typeof s&&(o=s),t.zoomTo(n,o))}),this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(i){var n=new(E.getThemeSystemClass(i.themeSystem||i.theme))(t.optionsManager),r=n.getClass("widget");t.theme=n,r&&e.addClass(r)},function(){var i=t.theme.getClass("widget");t.theme=null,i&&e.removeClass(i)}),this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(e){t.businessHourGenerator=new w.default(e.businessHours,t),t.view&&t.view.set("businessHourGenerator",t.businessHourGenerator)},function(){t.businessHourGenerator=null}),this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(t){e.toggleClass("fc-ltr",!t.isRTL),e.toggleClass("fc-rtl",t.isRTL)}),this.contentEl=r("
").prependTo(e),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&r(window).resize(this.windowResizeProxy=a.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},t.prototype.destroy=function(){this.view&&this.clearView(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl"),this.optionsManager.unwatch("settingTheme"),this.optionsManager.unwatch("settingBusinessHourGenerator"),this.el.off(".fc"),this.windowResizeProxy&&(r(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),c.default.unneeded()},t.prototype.elementVisible=function(){return this.el.is(":visible")},t.prototype.bindViewHandlers=function(t){var e=this;t.watch("titleForCalendar",["title"],function(i){t===e.view&&e.setToolbarsTitle(i.title)}),t.watch("dateProfileForCalendar",["dateProfile"],function(i){t===e.view&&(e.currentDate=i.dateProfile.date,e.updateToolbarButtons(i.dateProfile))})},t.prototype.unbindViewHandlers=function(t){t.unwatch("titleForCalendar"),t.unwatch("dateProfileForCalendar")},t.prototype.renderView=function(t){var e,i=this.view;this.freezeContentHeight(),i&&t&&i.type!==t&&this.clearView(),!this.view&&t&&(e=this.view=this.viewsByType[t]||(this.viewsByType[t]=this.instantiateView(t)),this.bindViewHandlers(e),e.startBatchRender(),e.setElement(r("
").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",t)),this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),e&&e.stopBatchRender()),this.thawContentHeight()},t.prototype.clearView=function(){var t=this.view;this.toolbarsManager.proxyCall("deactivateButton",t.type),this.unbindViewHandlers(t),t.removeElement(),t.unsetDate(),this.view=null},t.prototype.reinitView=function(){var t=this.view,e=t.queryScroll();this.freezeContentHeight(),this.clearView(),this.calcSize(),this.renderView(t.type),this.view.applyScroll(e),this.thawContentHeight()},t.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},t.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},t.prototype.updateViewSize=function(t){void 0===t&&(t=!1);var e,i=this.view;if(!this.ignoreUpdateViewSize&&i)return t&&(this.calcSize(),e=i.queryScroll()),this.ignoreUpdateViewSize++,i.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),t),this.ignoreUpdateViewSize--,t&&i.applyScroll(e),!0},t.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},t.prototype._calcSize=function(){var t=this.opt("contentHeight"),e=this.opt("height");this.suggestedViewHeight="number"==typeof t?t:"function"==typeof t?t():"number"==typeof e?e-this.queryToolbarsHeight():"function"==typeof e?e()-this.queryToolbarsHeight():"parent"===e?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},t.prototype.windowResize=function(t){t.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},t.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},t.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},t.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--,this.contentEl.css({width:"",height:"",overflow:""}),this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},t.prototype.initToolbars=function(){this.header=new d.default(this,this.computeHeaderOptions()),this.footer=new d.default(this,this.computeFooterOptions()),this.toolbarsManager=new l.default([this.header,this.footer])},t.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},t.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},t.prototype.renderHeader=function(){var t=this.header;t.setToolbarOptions(this.computeHeaderOptions()),t.render(),t.el&&this.el.prepend(t.el)},t.prototype.renderFooter=function(){var t=this.footer;t.setToolbarOptions(this.computeFooterOptions()),t.render(),t.el&&this.el.append(t.el)},t.prototype.setToolbarsTitle=function(t){this.toolbarsManager.proxyCall("updateTitle",t)},t.prototype.updateToolbarButtons=function(t){var e=this.getNow(),i=this.view,n=i.dateProfileGenerator.build(e),r=i.dateProfileGenerator.buildPrev(i.get("dateProfile")),o=i.dateProfileGenerator.buildNext(i.get("dateProfile"));this.toolbarsManager.proxyCall(n.isValid&&!t.currentUnzonedRange.containsDate(e)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(r.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(o.isValid?"enableButton":"disableButton","next")},t.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(t,e){return t+(e.el?e.el.outerHeight(!0):0)},0)},t.prototype.select=function(t,e){this.view.select(this.buildSelectFootprint.apply(this,arguments))},t.prototype.unselect=function(){this.view&&this.view.unselect()},t.prototype.buildSelectFootprint=function(t,e){var i,n=this.moment(t).stripZone();return i=e?this.moment(e).stripZone():n.hasTime()?n.clone().add(this.defaultTimedEventDuration):n.clone().add(this.defaultAllDayEventDuration),new b.default(new y.default(n,i),!n.hasTime())},t.prototype.initMomentInternals=function(){var t=this;this.defaultAllDayEventDuration=o.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=o.duration(this.opt("defaultTimedEventDuration")),this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(e){var i,n=e.weekNumberCalculation,r=e.firstDay;"iso"===n&&(n="ISO");var o=Object.create(m.getMomentLocaleData(e.locale));e.monthNames&&(o._months=e.monthNames),e.monthNamesShort&&(o._monthsShort=e.monthNamesShort),e.dayNames&&(o._weekdays=e.dayNames),e.dayNamesShort&&(o._weekdaysShort=e.dayNamesShort),null==r&&"ISO"===n&&(r=1),null!=r&&((i=Object.create(o._week)).dow=r,o._week=i),"ISO"!==n&&"local"!==n&&"function"!=typeof n||(o._fullCalendar_weekCalc=n),t.localeData=o,t.currentDate&&t.localizeMoment(t.currentDate)})},t.prototype.moment=function(){for(var t=[],e=0;eo.getStart()&&((n=new s.default).setEndDelta(l),(r=new a.default).setDateMutation(n),r)},e}(i(14).default);e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=i(39),a=i(40),s=i(59),l=i(17),c=i(226),u=function(t){function e(e,i){var n=t.call(this,e)||this;return n.isDragging=!1,n.eventPointing=i,n}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.getSelectionDelay=function(){var t=this.opt("eventLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMousedown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMousedown=function(t,e){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(t,e)&&this.buildDragListener(t).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){var i=this.component,n={delay:this.view.isEventDefSelected(t.footprint.eventDef)?0:this.getSelectionDelay()};i.canStartDrag(t,e)?this.buildDragListener(t).startInteraction(e,n):i.canStartSelection(t,e)&&this.buildSelectListener(t).startInteraction(e,n)},e.prototype.buildSelectListener=function(t){var e=this,i=this.view,n=t.footprint.eventDef,r=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var o=this.dragListener=new s.default({dragStart:function(t){o.isTouch&&!i.isEventDefSelected(n)&&r&&i.selectEventInstance(r)},interactionEnd:function(t){e.dragListener=null}});return o},e.prototype.buildDragListener=function(t){var e,i,n,o=this,a=this.component,s=this.view,u=s.calendar,h=u.eventManager,d=t.el,f=t.footprint.eventDef,p=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var g=this.dragListener=new l.default(s,{scroll:this.opt("dragScroll"),subjectEl:d,subjectCenter:!0,interactionStart:function(n){t.component=a,e=!1,(i=new c.default(t.el,{additionalClass:"fc-dragging",parentEl:s.el,opacity:g.isTouch?null:o.opt("dragOpacity"),revertDuration:o.opt("dragRevertDuration"),zIndex:2})).hide(),i.start(n)},dragStart:function(i){g.isTouch&&!s.isEventDefSelected(f)&&p&&s.selectEventInstance(p),e=!0,o.eventPointing.handleMouseout(t,i),o.segDragStart(t,i),s.hideEventsWithId(t.footprint.eventDef.id)},hitOver:function(e,l,c){var d,p,m,v=!0;t.hit&&(c=t.hit),d=c.component.getSafeHitFootprint(c),p=e.component.getSafeHitFootprint(e),d&&p?(n=o.computeEventDropMutation(d,p,f))?(m=h.buildMutatedEventInstanceGroup(f.id,n),v=a.isEventInstanceGroupAllowed(m)):v=!1:v=!1,v||(n=null,r.disableCursor()),n&&s.renderDrag(a.eventRangesToEventFootprints(m.sliceRenderRanges(a.dateProfile.renderUnzonedRange,u)),t,g.isTouch)?i.hide():i.show(),l&&(n=null)},hitOut:function(){s.unrenderDrag(t),i.show(),n=null},hitDone:function(){r.enableCursor()},interactionEnd:function(r){delete t.component,i.stop(!n,function(){e&&(s.unrenderDrag(t),o.segDragStop(t,r)),s.showEventsWithId(t.footprint.eventDef.id),n&&s.reportEventDrop(p,n,d,r)}),o.dragListener=null}});return g},e.prototype.segDragStart=function(t,e){this.isDragging=!0,this.component.publiclyTrigger("eventDragStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segDragStop=function(t,e){this.isDragging=!1,this.component.publiclyTrigger("eventDragStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventDropMutation=function(t,e,i){var n=new o.default;return n.setDateMutation(this.computeEventDateMutation(t,e)),n},e.prototype.computeEventDateMutation=function(t,e){var i,n,r=t.unzonedRange.getStart(),o=e.unzonedRange.getStart(),s=!1,l=!1,c=!1;return t.isAllDay!==e.isAllDay&&(s=!0,e.isAllDay?(c=!0,r.stripTime()):l=!0),i=this.component.diffDates(o,r),(n=new a.default).clearEnd=s,n.forceTimed=l,n.forceAllDay=c,n.setDateDelta(i),n},e}(i(14).default);e.default=u},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=i(17),a=i(12),s=i(5),l=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.getDelay=function(){var t=this.opt("selectLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this,i=this.component,n=this.dragListener;i.bindDateHandlerToEl(t,"mousedown",function(t){e.opt("selectable")&&!i.shouldIgnoreMouse()&&n.startInteraction(t,{distance:e.opt("selectMinDistance")})}),i.bindDateHandlerToEl(t,"touchstart",function(t){e.opt("selectable")&&!i.shouldIgnoreTouch()&&n.startInteraction(t,{delay:e.getDelay()})}),r.preventSelection(t)},e.prototype.buildDragListener=function(){var t,e=this,i=this.component;return new o.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=null},dragStart:function(t){e.view.unselect(t)},hitOver:function(n,o,a){var s,l;a&&(s=i.getSafeHitFootprint(a),l=i.getSafeHitFootprint(n),(t=s&&l?e.computeSelection(s,l):null)?i.renderSelectionFootprint(t):!1===t&&r.disableCursor())},hitOut:function(){t=null,i.unrenderSelection()},hitDone:function(){r.enableCursor()},interactionEnd:function(i,n){!n&&t&&e.view.reportSelection(t,i)}})},e.prototype.computeSelection=function(t,e){var i=this.computeSelectionFootprint(t,e);return!(i&&!this.isSelectionFootprintAllowed(i))&&i},e.prototype.computeSelectionFootprint=function(t,e){var i=[t.unzonedRange.startMs,t.unzonedRange.endMs,e.unzonedRange.startMs,e.unzonedRange.endMs];return i.sort(r.compareNumbers),new a.default(new s.default(i[0],i[3]),t.isAllDay)},e.prototype.isSelectionFootprintAllowed=function(t){return this.component.dateProfile.validUnzonedRange.containsRange(t.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(t)},e}(i(14).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(17),o=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component,i=this.dragListener;e.bindDateHandlerToEl(t,"mousedown",function(t){e.shouldIgnoreMouse()||i.startInteraction(t)}),e.bindDateHandlerToEl(t,"touchstart",function(t){e.shouldIgnoreTouch()||i.startInteraction(t)})},e.prototype.buildDragListener=function(){var t,e=this,i=this.component,n=new r.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=n.origHit},hitOver:function(e,i,n){i||(t=null)},hitOut:function(){t=null},interactionEnd:function(n,r){var o;!r&&t&&(o=i.getSafeHitFootprint(t))&&e.view.triggerDayClick(o,i.getHitEl(t),n)}});return n.shouldCancelTouchScroll=!1,n.scrollAlwaysKills=!0,n},e}(i(14).default);e.default=o},function(t,e,i){function n(t){var e,i=[],n=[];for(e=0;e').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.timeGrid.headContainerEl=this.el.find(".fc-head-container"),this.timeGrid.setElement(e),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},e.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return''+(this.opt("columnHeader")?'':"")+'
 
'+(this.dayGrid?'

':"")+"
"},e.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},e.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},e.prototype.updateSize=function(e,i,n){var r,o,a;if(t.prototype.updateSize.call(this,e,i,n),this.axisWidth=c.matchCellWidths(this.el.find(".fc-axis")),this.timeGrid.colEls){var s=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),c.uncompensateScroll(s),this.dayGrid&&(this.dayGrid.removeSegPopover(),(r=this.opt("eventLimit"))&&"number"!=typeof r&&(r=5),r&&this.dayGrid.limitRows(r)),i||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(c.compensateScroll(s,a),o=this.computeScrollerHeight(e),this.scroller.setHeight(o)),this.scroller.lockOverflow(a),this.timeGrid.getTotalSlatHeight()"+e.buildGotoAnchorHtml({date:n,type:"week",forceOff:this.colCnt>1},c.htmlEscape(t))+""):'"},renderBgIntroHtml:function(){var t=this.view;return'"},renderIntroHtml:function(){return'"}},o={renderBgIntroHtml:function(){var t=this.view;return'"+t.getAllDayHtml()+""},renderIntroHtml:function(){return'"}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(4),s=i(42),l=i(61),c=i(65),u=i(60),h=i(58),d=i(5),f=i(12),p=i(240),g=i(241),m=i(242),v=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],y=function(t){function e(e){var i=t.call(this,e)||this;return i.processOptions(),i}return n.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,i=this.sliceRangeByTimes(t.unzonedRange);for(e=0;e=0;e--)if(i=o.duration(v[e]),n=a.divideDurationByDuration(i,t),a.isInt(n)&&n>1)return i;return o.duration(t)},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderSlats(),this.renderColumns()},e.prototype.unrenderDates=function(){this.unrenderColumns()},e.prototype.renderSkeleton=function(){var t=this.view.calendar.theme;this.el.html('
'),this.bottomRuleEl=this.el.find("hr")},e.prototype.renderSlats=function(){var t=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html(''+this.renderSlatRowHtml()+"
"),this.slatEls=this.slatContainerEl.find("tr"),this.slatCoordCache=new h.default({els:this.slatEls,isVertical:!0})},e.prototype.renderSlatRowHtml=function(){for(var t,e,i,n=this.view,r=n.calendar,s=r.theme,l=this.isRTL,c=this.dateProfile,u="",h=o.duration(+c.minTime),d=o.duration(0);h"+(e?""+a.htmlEscape(t.format(this.labelFormat))+"":"")+"",u+='"+(l?"":i)+''+(l?i:"")+"",h.add(this.slotDuration),d.add(this.slotDuration);return u},e.prototype.renderColumns=function(){var t=this.dateProfile,e=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(e){return new d.default(e.clone().add(t.minTime),e.clone().add(t.maxTime))}),this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),this.el.find("> .fc-bg").html(''+this.renderBgTrHtml(0)+"
"),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.colCoordCache=new h.default({els:this.colEls,isHorizontal:!0}),this.renderContentSkeleton()},e.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},e.prototype.renderContentSkeleton=function(){var t,e,i="";for(t=0;t
';e=this.contentSkeletonEl=r('
'+i+"
"),this.colContainerEls=e.find(".fc-content-col"),this.helperContainerEls=e.find(".fc-helper-container"),this.fgContainerEls=e.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=e.find(".fc-bgevent-container"),this.highlightContainerEls=e.find(".fc-highlight-container"),this.businessContainerEls=e.find(".fc-business-container"),this.bookendCells(e.find("tr")),this.el.append(e)},e.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},e.prototype.groupSegsByCol=function(t){var e,i=[];for(e=0;e
').css("top",n).appendTo(this.colContainerEls.eq(i[e].col))[0]);i.length>0&&o.push(r('
').css("top",n).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=r(o)}},e.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.slatCoordCache.build(),n&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},e.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},e.prototype.computeDateTop=function(t,e){return this.computeTimeTop(o.duration(t-e.clone().stripTime()))},e.prototype.computeTimeTop=function(t){var e,i,n=this.slatEls.length,r=(t-this.dateProfile.minTime)/this.slotDuration;return r=Math.max(0,r),r=Math.min(n,r),e=Math.floor(r),i=r-(e=Math.min(e,n-1)),this.slatCoordCache.getTopPosition(e)+this.slatCoordCache.getHeight(e)*i},e.prototype.updateSegVerticals=function(t){this.computeSegVerticals(t),this.assignSegVerticals(t)},e.prototype.computeSegVerticals=function(t){var e,i,n,r=this.opt("agendaEventMinHeight");for(e=0;ee.top&&t.top
'+(i?'
'+c.htmlEscape(i)+"
":"")+(u.title?'
'+c.htmlEscape(u.title)+"
":"")+'
'+(f?'
':"")+""},e.prototype.updateFgSegCoords=function(t){this.timeGrid.computeSegVerticals(t),this.computeFgSegHorizontals(t),this.timeGrid.assignSegVerticals(t),this.assignFgSegHorizontals(t)},e.prototype.computeFgSegHorizontals=function(t){var e,i,a;if(this.sortEventSegs(t),r(e=n(t)),i=e[0]){for(a=0;a=t.leftCol)return!0;return!1}function r(t,e){return t.leftCol-e.leftCol}Object.defineProperty(e,"__esModule",{value:!0});var o=i(2),a=i(3),s=i(4),l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.dayGrid=e,n}return o.__extends(e,t),e.prototype.renderBgRanges=function(e){e=a.grep(e,function(t){return t.eventDef.isAllDay()}),t.prototype.renderBgRanges.call(this,e)},e.prototype.renderFgSegs=function(t){var e=this.rowStructs=this.renderSegRows(t);this.dayGrid.rowEls.each(function(t,i){a(i).find(".fc-content-skeleton > table").append(e[t].tbodyEl)})},e.prototype.unrenderFgSegs=function(){for(var t,e=this.rowStructs||[];t=e.pop();)t.tbodyEl.remove();this.rowStructs=null},e.prototype.renderSegRows=function(t){var e,i,n=[];for(e=this.groupSegRows(t),i=0;i"),s.append(u)),m[n][o]=u,v[n][o]=u,o++}var n,r,o,s,l,c,u,h=this.dayGrid.colCnt,d=this.buildSegLevels(e),f=Math.max(1,d.length),p=a(""),g=[],m=[],v=[];for(n=0;n"),g.push([]),m.push([]),v.push([]),r)for(l=0;l').append(c.el),c.leftCol!==c.rightCol?u.attr("colspan",c.rightCol-c.leftCol+1):v[n][o]=u;o<=c.rightCol;)m[n][o]=u,g[n][o]=c,o++;s.append(u)}i(h),this.dayGrid.bookendCells(s),p.append(s)}return{row:t,tbodyEl:p,cellMatrix:m,segMatrix:g,segLevels:d,segs:e}},e.prototype.buildSegLevels=function(t){var e,i,o,a=[];for(this.sortEventSegs(t),e=0;e'+s.htmlEscape(i)+""),n=''+(s.htmlEscape(o.title||"")||" ")+"",'
'+(this.dayGrid.isRTL?n+" "+f:f+" "+n)+"
"+(c?'
':"")+(u?'
':"")+""},e}(i(44).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderSegs=function(t,e){var i,n=[];return i=this.eventRenderer.renderSegRows(t),this.component.rowEls.each(function(t,o){var a,s,l=r(o),c=r('
');e&&e.row===t?s=e.el.position().top:((a=l.find(".fc-content-skeleton tbody")).length||(a=l.find(".fc-content-skeleton table")),s=a.position().top),c.css("top",s).find("table").append(i[t].tbodyEl),l.append(c),n.push(c[0])}),r(n)},e}(i(63).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fillSegTag="td",e}return n.__extends(e,t),e.prototype.attachSegEls=function(t,e){var i,n,r,o=[];for(i=0;i
')).find("tr"),s>0&&o.append(new Array(s+1).join("")),o.append(e.el.attr("colspan",l-s)),l")),this.component.bookendCells(o),n},e}(i(62).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(0),o=i(4),a=i(67),s=i(247),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setGridHeight=function(t,e){e&&(t*=this.dayGrid.rowCnt/6),o.distributeHeight(this.dayGrid.rowEls,t,!e)},e.prototype.isDateInOtherMonth=function(t,e){return t.month()!==r.utc(e.currentUnzonedRange.startMs).month()},e}(a.default);e.default=l,l.prototype.dateProfileGeneratorClass=s.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(68),o=i(5),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var r,a=t.prototype.buildRenderRange.call(this,e,i,n),s=this.msToUtcMoment(a.startMs,n),l=this.msToUtcMoment(a.endMs,n);return this.opt("fixedWeekCount")&&(r=Math.ceil(l.diff(s,"weeks",!0)),l.add(6-r,"weeks")),new o.default(s,l)},e}(r.default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(5),s=i(43),l=i(41),c=i(249),u=i(250),h=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-list-item",n.scroller=new l.default({overflowX:"hidden",overflowY:"auto"}),n}return n.__extends(e,t),e.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView")),this.scroller.render(),this.scroller.el.appendTo(this.el),this.contentEl=this.scroller.scrollEl},e.prototype.unrenderSkeleton=function(){this.scroller.destroy()},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.scroller.clear(),i||this.scroller.setHeight(this.computeScrollerHeight(e))},e.prototype.computeScrollerHeight=function(t){return t-o.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.renderDates=function(t){for(var e=this.calendar,i=e.msToUtcMoment(t.renderUnzonedRange.startMs,!0),n=e.msToUtcMoment(t.renderUnzonedRange.endMs,!0),r=[],o=[];i
'+o.htmlEscape(this.opt("noEventsMessage"))+"
")},e.prototype.renderSegList=function(t){var e,i,n,o=this.groupSegsByDay(t),a=r('
'),s=a.find("tbody");for(e=0;e'+(e?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-main"},o.htmlEscape(t.format(e))):"")+(i?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-alt"},o.htmlEscape(t.format(i))):"")+""},e}(s.default);e.default=h,h.prototype.eventRendererClass=c.default,h.prototype.eventPointingClass=u.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderFgSegs=function(t){t.length?this.component.renderSegList(t):this.component.renderEmptyMessage()},e.prototype.fgSegHtml=function(t){var e,i=this.view,n=i.calendar,o=n.theme,a=t.footprint,s=a.eventDef,l=a.componentFootprint,c=s.url,u=["fc-list-item"].concat(this.getClasses(s)),h=this.getBgColor(s);return e=l.isAllDay?i.getAllDayHtml():i.isMultiDayRange(l.unzonedRange)?t.isStart||t.isEnd?r.htmlEscape(this._getTimeText(n.msToMoment(t.startMs),n.msToMoment(t.endMs),l.isAllDay)):i.getAllDayHtml():r.htmlEscape(this.getTimeText(a)),c&&u.push("fc-has-url"),''+(this.displayEventTime?''+(e||"")+"":"")+'"+r.htmlEscape(s.title||"")+""},e.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},e}(i(44).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.handleClick=function(e,i){var n;t.prototype.handleClick.call(this,e,i),r(i.target).closest("a[href]").length||(n=e.footprint.eventDef.url)&&!i.isDefaultPrevented()&&(window.location.href=n)},e}(i(64).default);e.default=o},,,,,,function(t,e,i){var n=i(3),r=i(18),o=i(4),a=i(232);i(11),i(49),i(260),i(261),i(264),i(265),i(266),i(267),n.fullCalendar=r,n.fn.fullCalendar=function(t){var e=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,s){var l,c=n(s),u=c.data("fullCalendar");"string"==typeof t?"getCalendar"===t?r||(i=u):"destroy"===t?u&&(u.destroy(),c.removeData("fullCalendar")):u?n.isFunction(u[t])?(l=u[t].apply(u,e),r||(i=l),"destroy"===t&&c.removeData("fullCalendar")):o.warn("'"+t+"' is an unknown FullCalendar method."):o.warn("Attempting to call a FullCalendar method on an element with no calendar."):u||(u=new a.default(c,t),c.data("fullCalendar",u),u.render())}),i},t.exports=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t,e){this.el=null,this.viewsWithButtons=[],this.calendar=t,this.toolbarOptions=e}return t.prototype.setToolbarOptions=function(t){this.toolbarOptions=t},t.prototype.render=function(){var t=this.toolbarOptions.layout,e=this.el;t?(e?e.empty():e=this.el=n("
"),e.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('
')):this.removeElement()},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.renderSection=function(t){var e=this,i=this.calendar,o=i.theme,a=i.optionsManager,s=i.viewSpecManager,l=n('
'),c=this.toolbarOptions.layout[t],u=a.get("customButtons")||{},h=a.overrides.buttonText||{},d=a.get("buttonText")||{};return c&&n.each(c.split(" "),function(t,a){var c,f=n(),p=!0;n.each(a.split(","),function(t,a){var l,c,g,m,v,y,b,L,x;"title"===a?(f=f.add(n("

 

")),p=!1):((l=u[a])?(g=function(t){l.click&&l.click.call(L[0],t)},(m=o.getCustomButtonIconClass(l))||(m=o.getIconClass(a))||(v=l.text)):(c=s.getViewSpec(a))?(e.viewsWithButtons.push(a),g=function(){i.changeView(a)},(v=c.buttonTextOverride)||(m=o.getIconClass(a))||(v=c.buttonTextDefault)):i[a]&&(g=function(){i[a]()},(v=h[a])||(m=o.getIconClass(a))||(v=d[a])),g&&(b=["fc-"+a+"-button",o.getClass("button"),o.getClass("stateDefault")],v?(y=r.htmlEscape(v),x=""):m&&(y="",x=' aria-label="'+a+'"'),L=n('").click(function(t){L.hasClass(o.getClass("stateDisabled"))||(g(t),(L.hasClass(o.getClass("stateActive"))||L.hasClass(o.getClass("stateDisabled")))&&L.removeClass(o.getClass("stateHover")))}).mousedown(function(){L.not("."+o.getClass("stateActive")).not("."+o.getClass("stateDisabled")).addClass(o.getClass("stateDown"))}).mouseup(function(){L.removeClass(o.getClass("stateDown"))}).hover(function(){L.not("."+o.getClass("stateActive")).not("."+o.getClass("stateDisabled")).addClass(o.getClass("stateHover"))},function(){L.removeClass(o.getClass("stateHover")).removeClass(o.getClass("stateDown"))}),f=f.add(L)))}),p&&f.first().addClass(o.getClass("cornerLeft")).end().last().addClass(o.getClass("cornerRight")).end(),f.length>1?(c=n("
"),p&&c.addClass(o.getClass("buttonGroup")),c.append(f),l.append(c)):l.append(f)}),l},t.prototype.updateTitle=function(t){this.el&&this.el.find("h2").text(t)},t.prototype.activateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").addClass(this.calendar.theme.getClass("stateActive"))},t.prototype.deactivateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},t.prototype.disableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.enableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(33),s=i(32),l=function(t){function e(e,i){var n=t.call(this)||this;return n._calendar=e,n.overrides=r.extend({},i),n.dynamicOverrides={},n.compute(),n}return n.__extends(e,t),e.prototype.add=function(t){var e,i=0;for(e in this.recordOverrides(t),t)i++;if(1===i){if("height"===e||"contentHeight"===e||"aspectRatio"===e)return void this._calendar.updateViewSize(!0);if("defaultDate"===e)return;if("businessHours"===e)return;if(/^(event|select)(Overlap|Constraint|Allow)$/.test(e))return;if("timezone"===e)return void this._calendar.view.flash("initialEvents")}this._calendar.renderHeader(),this._calendar.renderFooter(),this._calendar.viewsByType={},this._calendar.reinitView()},e.prototype.compute=function(){var t,e,i,n;t=o.firstDefined(this.dynamicOverrides.locale,this.overrides.locale),(e=s.localeOptionHash[t])||(t=a.globalDefaults.locale,e=s.localeOptionHash[t]||{}),i=o.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,e.isRTL,a.globalDefaults.isRTL)?a.rtlDefaults:{},this.dirDefaults=i,this.localeDefaults=e,n=a.mergeOptions([a.globalDefaults,i,e,this.overrides,this.dynamicOverrides]),s.populateInstanceComputableOptions(n),this.reset(n)},e.prototype.recordOverrides=function(t){var e;for(e in t)this.dynamicOverrides[e]=t[e];this._calendar.viewSpecManager.clearCache(),this.compute()},e}(i(51).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),r=i(3),o=i(24),a=i(4),s=i(33),l=i(32),c=function(){function t(t,e){this.optionsManager=t,this._calendar=e,this.clearCache()}return t.prototype.clearCache=function(){this.viewSpecCache={}},t.prototype.getViewSpec=function(t){var e=this.viewSpecCache;return e[t]||(e[t]=this.buildViewSpec(t))},t.prototype.getUnitViewSpec=function(t){var e,i,n;if(-1!==r.inArray(t,a.unitsDesc))for(e=this._calendar.header.getViewsWithButtons(),r.each(o.viewHash,function(t){e.push(t)}),i=0;if)&&(o=f,n(a,f)&&(o/=40)),n(a,f)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),d=Math[d>=1?"floor":"ceil"](d/o),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=e.clientX-y.left,g=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=o,e.offsetX=p,e.offsetY=g,e.deltaMode=0,s.unshift(e,c,h,d),r&&clearTimeout(r),r=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){o=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var r,o,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var a=e||window.event,s=l.call(arguments,1),c=0,h=0,d=0,f=0,p=0,g=0;if((e=t.event.fix(a)).type="mousewheel","detail"in a&&(d=-1*a.detail),"wheelDelta"in a&&(d=a.wheelDelta),"wheelDeltaY"in a&&(d=a.wheelDeltaY),"wheelDeltaX"in a&&(h=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in a&&(c=d=-1*a.deltaY),"deltaX"in a&&(h=a.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===a.deltaMode){var m=t.data(this,"mousewheel-line-height");c*=m,d*=m,h*=m}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,d*=v,h*=v}if(f=Math.max(Math.abs(d),Math.abs(h)),(!o||o>f)&&(o=f,n(a,f)&&(o/=40)),n(a,f)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),d=Math[d>=1?"floor":"ceil"](d/o),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=e.clientX-y.left,g=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=o,e.offsetX=p,e.offsetY=g,e.deltaMode=0,s.unshift(e,c,h,d),r&&clearTimeout(r),r=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){o=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var r,o,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t:t(jQuery,window,document)}(function(t){var e,i,n;e="function"==typeof define&&define.amd,i="undefined"!=typeof module&&module.exports,n="https:"==document.location.protocol?"https:":"http:",e||(i?require("jquery-mousewheel")(t):t.event.special.mousewheel||t("head").append(decodeURI("%3Cscript src="+n+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),function(){var e,i="mCustomScrollbar",n="mCS",r=".mCustomScrollbar",o={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},a=0,s={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,u=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],h={init:function(e){var e=t.extend(!0,{},o,e),i=d.call(this);if(e.live){var l=e.liveSelector||this.selector||r,c=t(l);if("off"===e.live)return void p(l);s[l]=setTimeout(function(){c.mCustomScrollbar(e),"once"===e.live&&c.length&&p(l)},500)}else p(l);return e.setWidth=e.set_width?e.set_width:e.setWidth,e.setHeight=e.set_height?e.set_height:e.setHeight,e.axis=e.horizontalScroll?"x":g(e.axis),e.scrollInertia=e.scrollInertia>0&&e.scrollInertia<17?17:e.scrollInertia,"object"!=typeof e.mouseWheel&&1==e.mouseWheel&&(e.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),e.mouseWheel.scrollAmount=e.mouseWheelPixels?e.mouseWheelPixels:e.mouseWheel.scrollAmount,e.mouseWheel.normalizeDelta=e.advanced.normalizeMouseWheelDelta?e.advanced.normalizeMouseWheelDelta:e.mouseWheel.normalizeDelta,e.scrollButtons.scrollType=m(e.scrollButtons.scrollType),f(e),t(i).each(function(){var i=t(this);if(!i.data(n)){i.data(n,{idx:++a,opt:e,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:i.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var r=i.data(n),o=r.opt,s=i.data("mcs-axis"),l=i.data("mcs-scrollbar-position"),c=i.data("mcs-theme");s&&(o.axis=s),l&&(o.scrollbarPosition=l),c&&(o.theme=c,f(o)),v.call(this),r&&o.callbacks.onCreate&&"function"==typeof o.callbacks.onCreate&&o.callbacks.onCreate.call(this),t("#mCSB_"+r.idx+"_container img:not(."+u[2]+")").addClass(u[2]),h.update.call(null,i)}})},update:function(e,i){var r=e||d.call(this);return t(r).each(function(){var e=t(this);if(e.data(n)){var r=e.data(n),o=r.opt,a=t("#mCSB_"+r.idx+"_container"),s=t("#mCSB_"+r.idx),l=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")];if(!a.length)return;r.tweenRunning&&X(e),i&&r&&o.callbacks.onBeforeUpdate&&"function"==typeof o.callbacks.onBeforeUpdate&&o.callbacks.onBeforeUpdate.call(this),e.hasClass(u[3])&&e.removeClass(u[3]),e.hasClass(u[4])&&e.removeClass(u[4]),s.css("max-height","none"),s.height()!==e.height()&&s.css("max-height",e.height()),b.call(this),"y"===o.axis||o.advanced.autoExpandHorizontalScroll||a.css("width",y(a)),r.overflowed=S.call(this),E.call(this),o.autoDraggerLength&&x.call(this),w.call(this),k.call(this);var c=[Math.abs(a[0].offsetTop),Math.abs(a[0].offsetLeft)];"x"!==o.axis&&(r.overflowed[0]?l[0].height()>l[0].parent().height()?C.call(this):(q(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),r.contentReset.y=null):(C.call(this),"y"===o.axis?T.call(this):"yx"===o.axis&&r.overflowed[1]&&q(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==o.axis&&(r.overflowed[1]?l[1].width()>l[1].parent().width()?C.call(this):(q(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),r.contentReset.x=null):(C.call(this),"x"===o.axis?T.call(this):"yx"===o.axis&&r.overflowed[0]&&q(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),i&&r&&(2===i&&o.callbacks.onImageLoad&&"function"==typeof o.callbacks.onImageLoad?o.callbacks.onImageLoad.call(this):3===i&&o.callbacks.onSelectorChange&&"function"==typeof o.callbacks.onSelectorChange?o.callbacks.onSelectorChange.call(this):o.callbacks.onUpdate&&"function"==typeof o.callbacks.onUpdate&&o.callbacks.onUpdate.call(this)),G.call(this)}})},scrollTo:function(e,i){if(void 0!==e&&null!=e){var r=d.call(this);return t(r).each(function(){var r=t(this);if(r.data(n)){var o=r.data(n),a=o.opt,s={trigger:"external",scrollInertia:a.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=t.extend(!0,{},s,i),c=U.call(this,e),u=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=Y.call(this,c[0],"y"),c[1]=Y.call(this,c[1],"x"),l.moveDragger&&(c[0]*=o.scrollRatio.y,c[1]*=o.scrollRatio.x),l.dur=nt()?0:u,setTimeout(function(){null!==c[0]&&void 0!==c[0]&&"x"!==a.axis&&o.overflowed[0]&&(l.dir="y",l.overwrite="all",q(r,c[0].toString(),l)),null!==c[1]&&void 0!==c[1]&&"y"!==a.axis&&o.overflowed[1]&&(l.dir="x",l.overwrite="none",q(r,c[1].toString(),l))},l.timeout)}})}},stop:function(){var e=d.call(this);return t(e).each(function(){var e=t(this);e.data(n)&&X(e)})},disable:function(e){var i=d.call(this);return t(i).each(function(){var i=t(this);i.data(n)&&(i.data(n),G.call(this,"remove"),T.call(this),e&&C.call(this),E.call(this,!0),i.addClass(u[3]))})},destroy:function(){var e=d.call(this);return t(e).each(function(){var r=t(this);if(r.data(n)){var o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx),l=t("#mCSB_"+o.idx+"_container"),c=t(".mCSB_"+o.idx+"_scrollbar");a.live&&p(a.liveSelector||t(e).selector),G.call(this,"remove"),T.call(this),C.call(this),r.removeData(n),Q(this,"mcs"),c.remove(),l.find("img."+u[2]).removeClass(u[2]),s.replaceWith(l.contents()),r.removeClass(i+" _"+n+"_"+o.idx+" "+u[6]+" "+u[7]+" "+u[5]+" "+u[3]).addClass(u[4])}})}},d=function(){return"object"!=typeof t(this)||t(this).length<1?r:this},f=function(e){e.autoDraggerLength=!(t.inArray(e.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])>-1)&&e.autoDraggerLength,e.autoExpandScrollbar=!(t.inArray(e.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"])>-1)&&e.autoExpandScrollbar,e.scrollButtons.enable=!(t.inArray(e.theme,["minimal","minimal-dark"])>-1)&&e.scrollButtons.enable,e.autoHideScrollbar=t.inArray(e.theme,["minimal","minimal-dark"])>-1||e.autoHideScrollbar,e.scrollbarPosition=t.inArray(e.theme,["minimal","minimal-dark"])>-1?"outside":e.scrollbarPosition},p=function(t){s[t]&&(clearTimeout(s[t]),Q(s,t))},g=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},m=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},v=function(){var e=t(this),r=e.data(n),o=r.opt,a=o.autoExpandScrollbar?" "+u[1]+"_expand":"",s=["
","
"],l="yx"===o.axis?"mCSB_vertical_horizontal":"x"===o.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===o.axis?s[0]+s[1]:"x"===o.axis?s[1]:s[0],h="yx"===o.axis?"
":"",d=o.autoHideScrollbar?" "+u[6]:"",f="x"!==o.axis&&"rtl"===r.langDir?" "+u[7]:"";o.setWidth&&e.css("width",o.setWidth),o.setHeight&&e.css("height",o.setHeight),o.setLeft="y"!==o.axis&&"rtl"===r.langDir?"989999px":o.setLeft,e.addClass(i+" _"+n+"_"+r.idx+d+f).wrapInner("
");var p=t("#mCSB_"+r.idx),g=t("#mCSB_"+r.idx+"_container");"y"===o.axis||o.advanced.autoExpandHorizontalScroll||g.css("width",y(g)),"outside"===o.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),p.addClass("mCSB_outside").after(c)):(p.addClass("mCSB_inside").append(c),g.wrap(h)),L.call(this);var m=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")];m[0].css("min-height",m[0].height()),m[1].css("min-width",m[1].width())},y=function(e){var i=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return t(this).outerWidth(!0)}).get())],n=e.parent().width();return i[0]>n?i[0]:i[1]>n?i[1]:"100%"},b=function(){var e=t(this),i=e.data(n),r=i.opt,o=t("#mCSB_"+i.idx+"_container");if(r.advanced.autoExpandHorizontalScroll&&"y"!==r.axis){o.css({width:"auto","min-width":0,"overflow-x":"scroll"});var a=Math.ceil(o[0].scrollWidth);3===r.advanced.autoExpandHorizontalScroll||2!==r.advanced.autoExpandHorizontalScroll&&a>o.parent().width()?o.css({width:a,"min-width":"100%","overflow-x":"inherit"}):o.css({"overflow-x":"inherit",position:"absolute"}).wrap("
").css({width:Math.ceil(o[0].getBoundingClientRect().right+.4)-Math.floor(o[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},L=function(){var e=t(this),i=e.data(n),r=i.opt,o=t(".mCSB_"+i.idx+"_scrollbar:first"),a=et(r.scrollButtons.tabindex)?"tabindex='"+r.scrollButtons.tabindex+"'":"",s=["","","",""],l=["x"===r.axis?s[2]:s[0],"x"===r.axis?s[3]:s[1],s[2],s[3]];r.scrollButtons.enable&&o.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},x=function(){var e=t(this),i=e.data(n),r=t("#mCSB_"+i.idx),o=t("#mCSB_"+i.idx+"_container"),a=[t("#mCSB_"+i.idx+"_dragger_vertical"),t("#mCSB_"+i.idx+"_dragger_horizontal")],s=[r.height()/o.outerHeight(!1),r.width()/o.outerWidth(!1)],c=[parseInt(a[0].css("min-height")),Math.round(s[0]*a[0].parent().height()),parseInt(a[1].css("min-width")),Math.round(s[1]*a[1].parent().width())],u=l&&c[1]a&&(a=l),c>s&&(s=c),[a>r.height(),s>r.width()]},C=function(){var e=t(this),i=e.data(n),r=i.opt,o=t("#mCSB_"+i.idx),a=t("#mCSB_"+i.idx+"_container"),s=[t("#mCSB_"+i.idx+"_dragger_vertical"),t("#mCSB_"+i.idx+"_dragger_horizontal")];if(X(e),("x"!==r.axis&&!i.overflowed[0]||"y"===r.axis&&i.overflowed[0])&&(s[0].add(a).css("top",0),q(e,"_resetY")),"y"!==r.axis&&!i.overflowed[1]||"x"===r.axis&&i.overflowed[1]){var l=dx=0;"rtl"===i.langDir&&(l=o.width()-a.outerWidth(!1),dx=Math.abs(l/i.scrollRatio.x)),a.css("left",l),s[1].css("left",dx),q(e,"_resetX")}},k=function(){var e,i=t(this),r=i.data(n),o=r.opt;r.bindEvents||(M.call(this),o.contentTouchScroll&&D.call(this),P.call(this),o.mouseWheel.enable&&function n(){e=setTimeout(function(){t.event.special.mousewheel?(clearTimeout(e),O.call(i[0])):n()},100)}(),B.call(this),H.call(this),o.advanced.autoScrollOnFocus&&z.call(this),o.scrollButtons.enable&&V.call(this),o.keyboard.enable&&j.call(this),r.bindEvents=!0)},T=function(){var e=t(this),i=e.data(n),r=i.opt,o=n+"_"+i.idx,a=".mCSB_"+i.idx+"_scrollbar",s=t("#mCSB_"+i.idx+",#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,"+a+" ."+u[12]+",#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal,"+a+">a"),l=t("#mCSB_"+i.idx+"_container");r.advanced.releaseDraggableSelectors&&s.add(t(r.advanced.releaseDraggableSelectors)),r.advanced.extraDraggableSelectors&&s.add(t(r.advanced.extraDraggableSelectors)),i.bindEvents&&(t(document).add(t(!N()||top.document)).unbind("."+o),s.each(function(){t(this).unbind("."+o)}),clearTimeout(e[0]._focusTimeout),Q(e[0],"_focusTimeout"),clearTimeout(i.sequential.step),Q(i.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),Q(l[0],"onCompleteTimeout"),i.bindEvents=!1)},E=function(e){var i=t(this),r=i.data(n),o=r.opt,a=t("#mCSB_"+r.idx+"_container_wrapper"),s=a.length?a:t("#mCSB_"+r.idx+"_container"),l=[t("#mCSB_"+r.idx+"_scrollbar_vertical"),t("#mCSB_"+r.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==o.axis&&(r.overflowed[0]&&!e?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),s.removeClass(u[8]+" "+u[10])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[0].css("display","none"),s.removeClass(u[10])):(l[0].css("display","none"),s.addClass(u[10])),s.addClass(u[8]))),"y"!==o.axis&&(r.overflowed[1]&&!e?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),s.removeClass(u[9]+" "+u[11])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[1].css("display","none"),s.removeClass(u[11])):(l[1].css("display","none"),s.addClass(u[11])),s.addClass(u[9]))),r.overflowed[0]||r.overflowed[1]?i.removeClass(u[5]):i.addClass(u[5])},A=function(e){var i=e.type,n=e.target.ownerDocument!==document&&null!==frameElement?[t(frameElement).offset().top,t(frameElement).offset().left]:null,r=N()&&e.target.ownerDocument!==top.document&&null!==frameElement?[t(e.view.frameElement).offset().top,t(e.view.frameElement).offset().left]:[0,0];switch(i){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return n?[e.originalEvent.pageY-n[0]+r[0],e.originalEvent.pageX-n[1]+r[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var o=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],a=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[o.screenY,o.screenX,a>1]:[o.pageY,o.pageX,a>1];default:return n?[e.pageY-n[0]+r[0],e.pageX-n[1]+r[1],!1]:[e.pageY,e.pageX,!1]}},M=function(){function e(t,e,n,r){if(f[0].idleTimer=u.scrollInertia<233?250:0,i.attr("id")===d[1])var o="x",l=(i[0].offsetLeft-e+r)*s.scrollRatio.x;else var o="y",l=(i[0].offsetTop-t+n)*s.scrollRatio.y;q(a,l.toString(),{dir:o,drag:!0})}var i,r,o,a=t(this),s=a.data(n),u=s.opt,h=n+"_"+s.idx,d=["mCSB_"+s.idx+"_dragger_vertical","mCSB_"+s.idx+"_dragger_horizontal"],f=t("#mCSB_"+s.idx+"_container"),p=t("#"+d[0]+",#"+d[1]),g=u.advanced.releaseDraggableSelectors?p.add(t(u.advanced.releaseDraggableSelectors)):p,m=u.advanced.extraDraggableSelectors?t(!N()||top.document).add(t(u.advanced.extraDraggableSelectors)):t(!N()||top.document);p.bind("contextmenu."+h,function(t){t.preventDefault()}).bind("mousedown."+h+" touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(e){if(e.stopImmediatePropagation(),e.preventDefault(),J(e)){c=!0,l&&(document.onselectstart=function(){return!1}),R.call(f,!1),X(a);var n=(i=t(this)).offset(),s=A(e)[0]-n.top,h=A(e)[1]-n.left,d=i.height()+n.top,p=i.width()+n.left;d>s&&s>0&&p>h&&h>0&&(r=s,o=h),_(i,"active",u.autoExpandScrollbar)}}).bind("touchmove."+h,function(t){t.stopImmediatePropagation(),t.preventDefault();var n=i.offset(),a=A(t)[0]-n.top,s=A(t)[1]-n.left;e(r,o,a,s)}),t(document).add(m).bind("mousemove."+h+" pointermove."+h+" MSPointerMove."+h,function(t){if(i){var n=i.offset(),a=A(t)[0]-n.top,s=A(t)[1]-n.left;if(r===a&&o===s)return;e(r,o,a,s)}}).add(g).bind("mouseup."+h+" touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(){i&&(_(i,"active",u.autoExpandScrollbar),i=null),c=!1,l&&(document.onselectstart=null),R.call(f,!0)})},D=function(){function i(t){if(!tt(t)||c||A(t)[2])e=0;else{e=1,w=0,_=0,u=1,S.removeClass("mCS_touch_action");var i=M.offset();h=A(t)[0]-i.top,d=A(t)[1]-i.left,F=[A(t)[0],A(t)[1]]}}function r(t){if(tt(t)&&!c&&!A(t)[2]&&(k.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),(!_||w)&&u)){m=Z();var e=E.offset(),i=A(t)[0]-e.top,n=A(t)[1]-e.left,r="mcsLinearOut";if(P.push(i),O.push(n),F[2]=Math.abs(A(t)[0]-F[0]),F[3]=Math.abs(A(t)[1]-F[1]),C.overflowed[0])var o=D[0].parent().height()-D[0].height(),a=h-i>0&&i-h>-o*C.scrollRatio.y&&(2*F[3]0&&n-d>-s*C.scrollRatio.x&&(2*F[2]30)){var r="mcsEaseOut",o=2.5>(b=1e3/(v-g)),a=o?[P[P.length-2],O[O.length-2]]:[0,0];y=o?[i-a[0],n-a[1]]:[i-f,n-p];var h=[Math.abs(y[0]),Math.abs(y[1])];b=o?[Math.abs(y[0]/4),Math.abs(y[1]/4)]:[b,b];var d=[Math.abs(M[0].offsetTop)-y[0]*s(h[0]/b[0],b[0]),Math.abs(M[0].offsetLeft)-y[1]*s(h[1]/b[1],b[1])];L="yx"===k.axis?[d[0],d[1]]:"x"===k.axis?[null,d[1]]:[d[0],null],x=[4*h[0]+k.scrollInertia,4*h[1]+k.scrollInertia];var S=parseInt(k.contentTouchScroll)||0;L[0]=h[0]>S?L[0]:0,L[1]=h[1]>S?L[1]:0,C.overflowed[0]&&l(L[0],x[0],r,"y",R,!1),C.overflowed[1]&&l(L[1],x[1],r,"x",R,!1)}}}function s(t,e){var i=[1.5*e,2*e,e/1.5,e/2];return t>90?e>4?i[0]:i[3]:t>60?e>3?i[3]:i[2]:t>30?e>8?i[1]:e>6?i[0]:e>4?e:i[2]:e>8?e:i[3]}function l(t,e,i,n,r,o){t&&q(S,t.toString(),{dur:e,scrollEasing:i,dir:n,overwrite:r,drag:o})}var u,h,d,f,p,g,m,v,y,b,L,x,w,_,S=t(this),C=S.data(n),k=C.opt,T=n+"_"+C.idx,E=t("#mCSB_"+C.idx),M=t("#mCSB_"+C.idx+"_container"),D=[t("#mCSB_"+C.idx+"_dragger_vertical"),t("#mCSB_"+C.idx+"_dragger_horizontal")],P=[],O=[],I=0,R="yx"===k.axis?"none":"all",F=[],B=M.find("iframe"),z=["touchstart."+T+" pointerdown."+T+" MSPointerDown."+T,"touchmove."+T+" pointermove."+T+" MSPointerMove."+T,"touchend."+T+" pointerup."+T+" MSPointerUp."+T],H=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;M.bind(z[0],function(t){i(t)}).bind(z[1],function(t){r(t)}),E.bind(z[0],function(t){o(t)}).bind(z[2],function(t){a(t)}),B.length&&B.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind(z[0],function(t){i(t),o(t)}).bind(z[1],function(t){r(t)}).bind(z[2],function(t){a(t)})})})},P=function(){function i(t,e,i){l.type=i&&r?"stepped":"stepless",l.scrollAmount=10,W(o,t,e,"mcsLinearOut",i?60:null)}var r,o=t(this),a=o.data(n),s=a.opt,l=a.sequential,u=n+"_"+a.idx,h=t("#mCSB_"+a.idx+"_container"),d=h.parent();h.bind("mousedown."+u,function(){e||r||(r=1,c=!0)}).add(document).bind("mousemove."+u,function(t){if(!e&&r&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)){var n=h.offset(),o=A(t)[0]-n.top+h[0].offsetTop,c=A(t)[1]-n.left+h[0].offsetLeft;o>0&&o0&&co?i("on",38):o>d.height()&&i("on",40)),"y"!==s.axis&&a.overflowed[1]&&(0>c?i("on",37):c>d.width()&&i("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(){e||(r&&(r=0,i("off",null)),c=!1)})},O=function(){function e(e,n){if(X(i),!F(i,e.target)){var a="auto"!==o.mouseWheel.deltaFactor?parseInt(o.mouseWheel.deltaFactor):l&&e.deltaFactor<100?100:e.deltaFactor||100,u=o.scrollInertia;if("x"===o.axis||"x"===o.mouseWheel.axis)var h="x",d=[Math.round(a*r.scrollRatio.x),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?d[1]:d[0]>=s.width()?.9*s.width():d[0],p=Math.abs(t("#mCSB_"+r.idx+"_container")[0].offsetLeft),g=c[1][0].offsetLeft,m=c[1].parent().width()-c[1].width(),v="y"===o.mouseWheel.axis?e.deltaY||n:e.deltaX;else var h="y",d=[Math.round(a*r.scrollRatio.y),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?d[1]:d[0]>=s.height()?.9*s.height():d[0],p=Math.abs(t("#mCSB_"+r.idx+"_container")[0].offsetTop),g=c[0][0].offsetTop,m=c[0].parent().height()-c[0].height(),v=e.deltaY||n;"y"===h&&!r.overflowed[0]||"x"===h&&!r.overflowed[1]||((o.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(v=-v),o.mouseWheel.normalizeDelta&&(v=0>v?-1:1),(v>0&&0!==g||0>v&&g!==m||o.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!o.mouseWheel.normalizeDelta&&(f=e.deltaFactor,u=17),q(i,(p-v*f).toString(),{dir:h,dur:u}))}}if(t(this).data(n)){var i=t(this),r=i.data(n),o=r.opt,a=n+"_"+r.idx,s=t("#mCSB_"+r.idx),c=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")],u=t("#mCSB_"+r.idx+"_container").find("iframe");u.length&&u.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind("mousewheel."+a,function(t,i){e(t,i)})})}),s.bind("mousewheel."+a,function(t,i){e(t,i)})}},I=new Object,N=function(e){var i=!1,n=!1,r=null;if(void 0===e?n="#empty":void 0!==t(e).attr("id")&&(n=t(e).attr("id")),!1!==n&&void 0!==I[n])return I[n];if(e){try{var o=e.contentDocument||e.contentWindow.document;r=o.body.innerHTML}catch(t){}i=null!==r}else{try{var o=top.document;r=o.body.innerHTML}catch(t){}i=null!==r}return!1!==n&&(I[n]=i),i},R=function(t){var e=this.find("iframe");if(e.length){var i=t?"auto":"none";e.css("pointer-events",i)}},F=function(e,i){var r=i.nodeName.toLowerCase(),o=e.data(n).opt.mouseWheel.disableOver;return t.inArray(r,o)>-1&&!(t.inArray(r,["select","textarea"])>-1&&!t(i).is(":focus"))},B=function(){var e,i=t(this),r=i.data(n),o=n+"_"+r.idx,a=t("#mCSB_"+r.idx+"_container"),s=a.parent(),l=t(".mCSB_"+r.idx+"_scrollbar ."+u[12]);l.bind("mousedown."+o+" touchstart."+o+" pointerdown."+o+" MSPointerDown."+o,function(i){c=!0,t(i.target).hasClass("mCSB_dragger")||(e=1)}).bind("touchend."+o+" pointerup."+o+" MSPointerUp."+o,function(){c=!1}).bind("click."+o,function(n){if(e&&(e=0,t(n.target).hasClass(u[12])||t(n.target).hasClass("mCSB_draggerRail"))){X(i);var o=t(this),l=o.find(".mCSB_dragger");if(o.parent(".mCSB_scrollTools_horizontal").length>0){if(!r.overflowed[1])return;var c="x",h=n.pageX>l.offset().left?-1:1,d=Math.abs(a[0].offsetLeft)-h*(.9*s.width())}else{if(!r.overflowed[0])return;var c="y",h=n.pageY>l.offset().top?-1:1,d=Math.abs(a[0].offsetTop)-h*(.9*s.height())}q(i,d.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},z=function(){var e=t(this),i=e.data(n),r=i.opt,o=n+"_"+i.idx,a=t("#mCSB_"+i.idx+"_container"),s=a.parent();a.bind("focusin."+o,function(){var i=t(document.activeElement),n=a.find(".mCustomScrollBox").length;i.is(r.advanced.autoScrollOnFocus)&&(X(e),clearTimeout(e[0]._focusTimeout),e[0]._focusTimer=n?17*n:0,e[0]._focusTimeout=setTimeout(function(){var t=[it(i)[0],it(i)[1]],n=[a[0].offsetTop,a[0].offsetLeft],o=[n[0]+t[0]>=0&&n[0]+t[0]=0&&n[0]+t[1]a");l.bind("contextmenu."+a,function(t){t.preventDefault()}).bind("mousedown."+a+" touchstart."+a+" pointerdown."+a+" MSPointerDown."+a+" mouseup."+a+" touchend."+a+" pointerup."+a+" MSPointerUp."+a+" mouseout."+a+" pointerout."+a+" MSPointerOut."+a+" click."+a,function(n){function a(t,i){o.scrollAmount=r.scrollButtons.scrollAmount,W(e,t,i)}if(n.preventDefault(),J(n)){var s=t(this).attr("class");switch(o.type=r.scrollButtons.scrollType,n.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===o.type)return;c=!0,i.tweenRunning=!1,a("on",s);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===o.type)return;c=!1,o.dir&&a("off",s);break;case"click":if("stepped"!==o.type||i.tweenRunning)return;a("on",s)}}})},j=function(){function e(e){function n(t,e){a.type=o.keyboard.scrollType,a.scrollAmount=o.keyboard.scrollAmount,"stepped"===a.type&&r.tweenRunning||W(i,t,e)}switch(e.type){case"blur":r.tweenRunning&&a.dir&&n("off",null);break;case"keydown":case"keyup":var s=e.keyCode?e.keyCode:e.which,l="on";if("x"!==o.axis&&(38===s||40===s)||"y"!==o.axis&&(37===s||39===s)){if((38===s||40===s)&&!r.overflowed[0]||(37===s||39===s)&&!r.overflowed[1])return;"keyup"===e.type&&(l="off"),t(document.activeElement).is(h)||(e.preventDefault(),e.stopImmediatePropagation(),n(l,s))}else if(33===s||34===s){if((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type){X(i);var d=34===s?-1:1;if("x"===o.axis||"yx"===o.axis&&r.overflowed[1]&&!r.overflowed[0])var f="x",p=Math.abs(c[0].offsetLeft)-d*(.9*u.width());else var f="y",p=Math.abs(c[0].offsetTop)-d*(.9*u.height());q(i,p.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===s||36===s)&&!t(document.activeElement).is(h)&&((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type)){if("x"===o.axis||"yx"===o.axis&&r.overflowed[1]&&!r.overflowed[0])var f="x",p=35===s?Math.abs(u.width()-c.outerWidth(!1)):0;else var f="y",p=35===s?Math.abs(u.height()-c.outerHeight(!1)):0;q(i,p.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var i=t(this),r=i.data(n),o=r.opt,a=r.sequential,s=n+"_"+r.idx,l=t("#mCSB_"+r.idx),c=t("#mCSB_"+r.idx+"_container"),u=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",d=c.find("iframe"),f=["blur."+s+" keydown."+s+" keyup."+s];d.length&&d.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind(f[0],function(t){e(t)})})}),l.attr("tabindex","0").bind(f[0],function(t){e(t)})},W=function(e,i,r,o,a){function s(t){c.snapAmount&&(h.scrollAmount=c.snapAmount instanceof Array?"x"===h.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var i="stepped"!==h.type,n=a||(t?i?p/1.5:g:1e3/60),r=t?i?7.5:40:2.5,u=[Math.abs(d[0].offsetTop),Math.abs(d[0].offsetLeft)],f=[l.scrollRatio.y>10?10:l.scrollRatio.y,l.scrollRatio.x>10?10:l.scrollRatio.x],m="x"===h.dir[0]?u[1]+h.dir[1]*(f[1]*r):u[0]+h.dir[1]*(f[0]*r),v="x"===h.dir[0]?u[1]+h.dir[1]*parseInt(h.scrollAmount):u[0]+h.dir[1]*parseInt(h.scrollAmount),y="auto"!==h.scrollAmount?v:m,b=o||(t?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),L=!!t;return t&&17>n&&(y="x"===h.dir[0]?u[1]:u[0]),q(e,y.toString(),{dir:h.dir[0],scrollEasing:b,dur:n,onComplete:L}),t?void(h.dir=!1):(clearTimeout(h.step),void(h.step=setTimeout(function(){s()},n)))}var l=e.data(n),c=l.opt,h=l.sequential,d=t("#mCSB_"+l.idx+"_container"),f="stepped"===h.type,p=c.scrollInertia<26?26:c.scrollInertia,g=c.scrollInertia<1?17:c.scrollInertia;switch(i){case"on":if(h.dir=[r===u[16]||r===u[15]||39===r||37===r?"x":"y",r===u[13]||r===u[15]||38===r||37===r?-1:1],X(e),et(r)&&"stepped"===h.type)return;s(f);break;case"off":clearTimeout(h.step),Q(h,"step"),X(e),(f||l.tweenRunning&&h.dir)&&s(!0)}},U=function(e){var i=t(this).data(n).opt,r=[];return"function"==typeof e&&(e=e()),e instanceof Array?r=e.length>1?[e[0],e[1]]:"x"===i.axis?[null,e[0]]:[e[0],null]:(r[0]=e.y?e.y:e.x||"x"===i.axis?null:e,r[1]=e.x?e.x:e.y||"y"===i.axis?null:e),"function"==typeof r[0]&&(r[0]=r[0]()),"function"==typeof r[1]&&(r[1]=r[1]()),r},Y=function(e,i){if(null!=e&&void 0!==e){var r=t(this),o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx+"_container"),l=s.parent(),c=typeof e;i||(i="x"===a.axis?"x":"y");var u="x"===i?s.outerWidth(!1)-l.width():s.outerHeight(!1)-l.height(),d="x"===i?s[0].offsetLeft:s[0].offsetTop,f="x"===i?"left":"top";switch(c){case"function":return e();case"object":var p=e.jquery?e:t(e);if(!p.length)return;return"x"===i?it(p)[1]:it(p)[0];case"string":case"number":if(et(e))return Math.abs(e);if(-1!==e.indexOf("%"))return Math.abs(u*parseInt(e)/100);if(-1!==e.indexOf("-="))return Math.abs(d-parseInt(e.split("-=")[1]));if(-1!==e.indexOf("+=")){var g=d+parseInt(e.split("+=")[1]);return g>=0?0:Math.abs(g)}if(-1!==e.indexOf("px")&&et(e.split("px")[0]))return Math.abs(e.split("px")[0]);if("top"===e||"left"===e)return 0;if("bottom"===e)return Math.abs(l.height()-s.outerHeight(!1));if("right"===e)return Math.abs(l.width()-s.outerWidth(!1));if("first"===e||"last"===e){var p=s.find(":"+e);return"x"===i?it(p)[1]:it(p)[0]}return t(e).length?"x"===i?it(t(e))[1]:it(t(e))[0]:(s.css(f,e),void h.update.call(null,r[0]))}}},G=function(e){function i(t){clearTimeout(s[0].autoUpdate),h.update.call(null,r[0],t)}var r=t(this),o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx+"_container");return e?(clearTimeout(s[0].autoUpdate),void Q(s[0],"autoUpdate")):void function e(){return clearTimeout(s[0].autoUpdate),0===r.parents("html").length?void(r=null):void(s[0].autoUpdate=setTimeout(function(){return a.advanced.updateOnSelectorChange&&(o.poll.change.n=function(){!0===a.advanced.updateOnSelectorChange&&(a.advanced.updateOnSelectorChange="*");var t=0,e=s.find(a.advanced.updateOnSelectorChange);return a.advanced.updateOnSelectorChange&&e.length>0&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}(),o.poll.change.n!==o.poll.change.o)?(o.poll.change.o=o.poll.change.n,void i(3)):a.advanced.updateOnContentResize&&(o.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+s[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,o.poll.size.n!==o.poll.size.o)?(o.poll.size.o=o.poll.size.n,void i(1)):!a.advanced.updateOnImageLoad||"auto"===a.advanced.updateOnImageLoad&&"y"===a.axis||(o.poll.img.n=s.find("img").length,o.poll.img.n===o.poll.img.o)?void((a.advanced.updateOnSelectorChange||a.advanced.updateOnContentResize||a.advanced.updateOnImageLoad)&&e()):(o.poll.img.o=o.poll.img.n,void s.find("img").each(function(){!function(e){if(t(e).hasClass(u[2]))i();else{var n=new Image;n.onload=function(t,e){return function(){return e.apply(t,arguments)}}(n,function(){this.onload=null,t(e).addClass(u[2]),i(2)}),n.src=e.src}}(this)}))},a.advanced.autoUpdateTimeout))}()},X=function(e){var i=e.data(n),r=t("#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal");r.each(function(){K.call(this)})},q=function(e,i,r){function o(t){return s&&l.callbacks[t]&&"function"==typeof l.callbacks[t]}function a(){var t=[d[0].offsetTop,d[0].offsetLeft],i=[v[0].offsetTop,v[0].offsetLeft],n=[d.outerHeight(!1),d.outerWidth(!1)],o=[h.height(),h.width()];e[0].mcs={content:d,top:t[0],left:t[1],draggerTop:i[0],draggerLeft:i[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(n[0])-o[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(n[1])-o[1])),direction:r.dir}}var s=e.data(n),l=s.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},r=t.extend(c,r),u=[r.dur,r.drag?0:r.dur],h=t("#mCSB_"+s.idx),d=t("#mCSB_"+s.idx+"_container"),f=d.parent(),p=l.callbacks.onTotalScrollOffset?U.call(e,l.callbacks.onTotalScrollOffset):[0,0],g=l.callbacks.onTotalScrollBackOffset?U.call(e,l.callbacks.onTotalScrollBackOffset):[0,0];if(s.trigger=r.trigger,0===f.scrollTop()&&0===f.scrollLeft()||(t(".mCSB_"+s.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==i||s.contentReset.y||(o("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(e[0]),s.contentReset.y=1),"_resetX"!==i||s.contentReset.x||(o("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(e[0]),s.contentReset.x=1),"_resetY"!==i&&"_resetX"!==i){if(!s.contentReset.y&&e[0].mcs||!s.overflowed[0]||(o("onOverflowY")&&l.callbacks.onOverflowY.call(e[0]),s.contentReset.x=null),!s.contentReset.x&&e[0].mcs||!s.overflowed[1]||(o("onOverflowX")&&l.callbacks.onOverflowX.call(e[0]),s.contentReset.x=null),l.snapAmount){var m=l.snapAmount instanceof Array?"x"===r.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount;i=function(t,e,i){return Math.round(t/e)*e-i}(i,m,l.snapOffset)}switch(r.dir){case"x":var v=t("#mCSB_"+s.idx+"_dragger_horizontal"),y="left",b=d[0].offsetLeft,L=[h.width()-d.outerWidth(!1),v.parent().width()-v.width()],x=[i,0===i?0:i/s.scrollRatio.x],w=p[1],S=g[1],C=w>0?w/s.scrollRatio.x:0,k=S>0?S/s.scrollRatio.x:0;break;case"y":var v=t("#mCSB_"+s.idx+"_dragger_vertical"),y="top",b=d[0].offsetTop,L=[h.height()-d.outerHeight(!1),v.parent().height()-v.height()],x=[i,0===i?0:i/s.scrollRatio.y],w=p[0],S=g[0],C=w>0?w/s.scrollRatio.y:0,k=S>0?S/s.scrollRatio.y:0}x[1]<0||0===x[0]&&0===x[1]?x=[0,0]:x[1]>=L[1]?x=[L[0],L[1]]:x[0]=-x[0],e[0].mcs||(a(),o("onInit")&&l.callbacks.onInit.call(e[0])),clearTimeout(d[0].onCompleteTimeout),$(v[0],y,Math.round(x[1]),u[1],r.scrollEasing),!s.tweenRunning&&(0===b&&x[0]>=0||b===L[0]&&x[0]<=L[0])||$(d[0],y,Math.round(x[0]),u[0],r.scrollEasing,r.overwrite,{onStart:function(){r.callbacks&&r.onStart&&!s.tweenRunning&&(o("onScrollStart")&&(a(),l.callbacks.onScrollStart.call(e[0])),s.tweenRunning=!0,_(v),s.cbOffsets=[l.callbacks.alwaysTriggerOffsets||b>=L[0]+w,l.callbacks.alwaysTriggerOffsets||-S>=b])},onUpdate:function(){r.callbacks&&r.onUpdate&&o("whileScrolling")&&(a(),l.callbacks.whileScrolling.call(e[0]))},onComplete:function(){if(r.callbacks&&r.onComplete){"yx"===l.axis&&clearTimeout(d[0].onCompleteTimeout);var t=d[0].idleTimer||0;d[0].onCompleteTimeout=setTimeout(function(){o("onScroll")&&(a(),l.callbacks.onScroll.call(e[0])),o("onTotalScroll")&&x[1]>=L[1]-C&&s.cbOffsets[0]&&(a(),l.callbacks.onTotalScroll.call(e[0])),o("onTotalScrollBack")&&x[1]<=k&&s.cbOffsets[1]&&(a(),l.callbacks.onTotalScrollBack.call(e[0])),s.tweenRunning=!1,d[0].idleTimer=0,_(v,"hide")},t)}}})}},$=function(t,e,i,n,r,o,a){function s(){y.stop||(g||h.call(),g=Z()-p,l(),g>=y.time&&(y.time=g>y.time?g+c-(g-y.time):g+c-1,y.time0?(y.currVal=function(t,e,i,n,r){switch(r){case"linear":case"mcsLinear":return i*t/n+e;case"mcsLinearOut":return t/=n,t--,i*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return 1>(t/=n/2)?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e;case"easeInOutStrong":return 1>(t/=n/2)?i/2*Math.pow(2,10*(t-1))+e:(t--,i/2*(2-Math.pow(2,-10*t))+e);case"easeInOut":case"mcsEaseInOut":return 1>(t/=n/2)?i/2*t*t*t+e:i/2*((t-=2)*t*t+2)+e;case"easeOutSmooth":return t/=n,-i*(--t*t*t*t-1)+e;case"easeOutStrong":return i*(1-Math.pow(2,-10*t/n))+e;case"easeOut":case"mcsEaseOut":default:var o=(t/=n)*t,a=o*t;return e+i*(.499999999999997*a*o+-2.5*o*o+5.5*a+-6.5*o+4*t)}}(y.time,m,b,n,r),v[e]=Math.round(y.currVal)+"px"):v[e]=i+"px",d.call()}t._mTween||(t._mTween={top:{},left:{}});var c,u,a=a||{},h=a.onStart||function(){},d=a.onUpdate||function(){},f=a.onComplete||function(){},p=Z(),g=0,m=t.offsetTop,v=t.style,y=t._mTween[e];"left"===e&&(m=t.offsetLeft);var b=i-m;y.stop=0,"none"!==o&&null!=y.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(y.id):clearTimeout(y.id),y.id=null),c=1e3/60,y.time=g+c,u=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},y.id=u(s)},Z=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},K=function(){var t=this;t._mTween||(t._mTween={top:{},left:{}});for(var e=["top","left"],i=0;i=0&&n[0]+it(r)[0]=0&&n[1]+it(r)[1]=0&&a[1]-o[1]*s[1][0]<0&&a[1]+r[1]-o[1]*s[1][1]>=0},mcsOverflow:t.expr[":"].mcsOverflow||function(e){var i=t(e).data(n);if(i)return i.overflowed[0]||i.overflowed[1]}})})}()}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AutoNumeric=e():t.AutoNumeric=e()}(window,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="./src/main.js")}({"./src/AutoNumeric.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=t._setArgumentsValues(e,n,r),a=o.domElement,l=o.initialValue,c=o.userOptions;if(this.domElement=a,this.defaultRawValue="",this._setSettings(c,!1),this._checkElement(),this.savedCancellableValue=null,this.historyTable=[],this.historyTableIndex=-1,this.onGoingRedo=!1,this.parentForm=this._getParentForm(),!this.runOnce&&this.settings.formatOnPageLoad)this._formatDefaultValueOnPageLoad(l);else{var u=void 0;if(s.default.isNull(l))switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.min:u=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:u=this.settings.maximumValue;break;case t.options.emptyInputBehavior.zero:u="0";break;case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.press:case t.options.emptyInputBehavior.always:case t.options.emptyInputBehavior.null:u="";break;default:u=this.settings.emptyInputBehavior}else u=l;this._setElementAndRawValue(u)}this.runOnce=!0,this.hasEventListeners=!1,(this.isInputElement||this.isContentEditable)&&(this.settings.noEventListeners||this._createEventListeners(),this._setWritePermissions(!0)),this._saveInitialValues(l),this.sessionStorageAvailable=this.constructor._storageTest(),this.storageNamePrefix="AUTO_",this._setPersistentStorageName(),this.isFocused=!1,this.isWheelEvent=!1,this.isDropEvent=!1,this.isEditing=!1,this.rawValueOnFocus=void 0,this.internalModification=!1,this.attributeToWatch=this._getAttributeToWatch(),this.getterSetter=Object.getOwnPropertyDescriptor(this.domElement.__proto__,this.attributeToWatch),this._addWatcher(),this.settings.createLocalList&&this._createLocalList(),this.constructor._addToGlobalList(this),this.global={set:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i.autoNumericLocalList.forEach(function(i){i.set(t,e)})},setUnformatted:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i.autoNumericLocalList.forEach(function(i){i.setUnformatted(t,e)})},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.get())}),i._executeCallback(e,t),e},getNumericString:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getNumericString())}),i._executeCallback(e,t),e},getFormatted:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getFormatted())}),i._executeCallback(e,t),e},getNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getNumber())}),i._executeCallback(e,t),e},getLocalized:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getLocalized())}),i._executeCallback(e,t),e},reformat:function(){i.autoNumericLocalList.forEach(function(t){t.reformat()})},unformat:function(){i.autoNumericLocalList.forEach(function(t){t.unformat()})},unformatLocalized:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i.autoNumericLocalList.forEach(function(e){e.unformatLocalized(t)})},update:function(){for(var t=arguments.length,e=Array(t),n=0;n0&&void 0!==arguments[0])||arguments[0],e=!0;return i.autoNumericLocalList.forEach(function(i){e&&!i.isPristine(t)&&(e=!1)}),e},clear:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i.autoNumericLocalList.forEach(function(e){e.clear(t)})},remove:function(){i.autoNumericLocalList.forEach(function(t){t.remove()})},wipe:function(){i.autoNumericLocalList.forEach(function(t){t.wipe()})},nuke:function(){i.autoNumericLocalList.forEach(function(t){t.nuke()})},has:function(e){return e instanceof t?i.autoNumericLocalList.has(e.node()):i.autoNumericLocalList.has(e)},addObject:function(e){var n=void 0,r=void 0;e instanceof t?(n=e.node(),r=e):(n=e,r=t.getAutoNumericElement(n)),i._hasLocalList()||i._createLocalList();var o=r._getLocalList();0===o.size&&(r._createLocalList(),o=r._getLocalList());var a=void 0;o instanceof Map?a=s.default.mergeMaps(i._getLocalList(),o):(i._addToLocalList(n,r),a=i._getLocalList()),a.forEach(function(t){t._setLocalList(a)})},removeObject:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=void 0,o=void 0;e instanceof t?(r=e.node(),o=e):(r=e,o=t.getAutoNumericElement(r));var a=i.autoNumericLocalList;i.autoNumericLocalList.delete(r),a.forEach(function(t){t._setLocalList(i.autoNumericLocalList)}),n||r!==i.node()?o._createLocalList():o._setLocalList(new Map)},empty:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i.autoNumericLocalList.forEach(function(e){t?e._createLocalList():e._setLocalList(new Map)})},elements:function(){var t=[];return i.autoNumericLocalList.forEach(function(e){t.push(e.node())}),t},getList:function(){return i.autoNumericLocalList},size:function(){return i.autoNumericLocalList.size}},this.options={reset:function(){return i.settings={rawValue:i.defaultRawValue},i.update(t.defaultSettings),i},allowDecimalPadding:function(t){return i.update({allowDecimalPadding:t}),i},alwaysAllowDecimalCharacter:function(t){return i.update({alwaysAllowDecimalCharacter:t}),i},caretPositionOnFocus:function(t){return i.settings.caretPositionOnFocus=t,i},createLocalList:function(t){return i.settings.createLocalList=t,i.settings.createLocalList?i._hasLocalList()||i._createLocalList():i._deleteLocalList(),i},currencySymbol:function(t){return i.update({currencySymbol:t}),i},currencySymbolPlacement:function(t){return i.update({currencySymbolPlacement:t}),i},decimalCharacter:function(t){return i.update({decimalCharacter:t}),i},decimalCharacterAlternative:function(t){return i.settings.decimalCharacterAlternative=t,i},decimalPlaces:function(t){return s.default.warning("Using `options.decimalPlaces()` instead of calling the specific `options.decimalPlacesRawValue()`, `options.decimalPlacesShownOnFocus()` and `options.decimalPlacesShownOnBlur()` methods will reset those options.\nPlease call the specific methods if you do not want to reset those.",i.settings.showWarnings),i.update({decimalPlaces:t}),i},decimalPlacesRawValue:function(t){return i.update({decimalPlacesRawValue:t}),i},decimalPlacesShownOnBlur:function(t){return i.update({decimalPlacesShownOnBlur:t}),i},decimalPlacesShownOnFocus:function(t){return i.update({decimalPlacesShownOnFocus:t}),i},defaultValueOverride:function(t){return i.update({defaultValueOverride:t}),i},digitalGroupSpacing:function(t){return i.update({digitalGroupSpacing:t}),i},digitGroupSeparator:function(t){return i.update({digitGroupSeparator:t}),i},divisorWhenUnfocused:function(t){return i.update({divisorWhenUnfocused:t}),i},emptyInputBehavior:function(e){return null===i.rawValue&&e!==t.options.emptyInputBehavior.null&&(s.default.warning("You are trying to modify the `emptyInputBehavior` option to something different than `'null'` ("+e+"), but the element raw value is currently set to `null`. This would result in an invalid `rawValue`. In order to fix that, the element value has been changed to the empty string `''`.",i.settings.showWarnings),i.rawValue=""),i.update({emptyInputBehavior:e}),i},eventBubbles:function(t){return i.settings.eventBubbles=t,i},eventIsCancelable:function(t){return i.settings.eventIsCancelable=t,i},failOnUnknownOption:function(t){return i.settings.failOnUnknownOption=t,i},formatOnPageLoad:function(t){return i.settings.formatOnPageLoad=t,i},formulaMode:function(t){return i.settings.formulaMode=t,i},historySize:function(t){return i.settings.historySize=t,i},isCancellable:function(t){return i.settings.isCancellable=t,i},leadingZero:function(t){return i.update({leadingZero:t}),i},maximumValue:function(t){return i.update({maximumValue:t}),i},minimumValue:function(t){return i.update({minimumValue:t}),i},modifyValueOnWheel:function(t){return i.settings.modifyValueOnWheel=t,i},negativeBracketsTypeOnBlur:function(t){return i.update({negativeBracketsTypeOnBlur:t}),i},negativePositiveSignPlacement:function(t){return i.update({negativePositiveSignPlacement:t}),i},negativeSignCharacter:function(t){return i.update({negativeSignCharacter:t}),i},noEventListeners:function(e){return e===t.options.noEventListeners.noEvents&&i.settings.noEventListeners===t.options.noEventListeners.addEvents&&i._removeEventListeners(),i.update({noEventListeners:e}),i},onInvalidPaste:function(t){return i.settings.onInvalidPaste=t,i},outputFormat:function(t){return i.settings.outputFormat=t,i},overrideMinMaxLimits:function(t){return i.update({overrideMinMaxLimits:t}),i},positiveSignCharacter:function(t){return i.update({positiveSignCharacter:t}),i},rawValueDivisor:function(t){return i.update({rawValueDivisor:t}),i},readOnly:function(t){return i.settings.readOnly=t,i._setWritePermissions(),i},roundingMethod:function(t){return i.update({roundingMethod:t}),i},saveValueToSessionStorage:function(t){return i.update({saveValueToSessionStorage:t}),i},symbolWhenUnfocused:function(t){return i.update({symbolWhenUnfocused:t}),i},selectNumberOnly:function(t){return i.settings.selectNumberOnly=t,i},selectOnFocus:function(t){return i.settings.selectOnFocus=t,i},serializeSpaces:function(t){return i.settings.serializeSpaces=t,i},showOnlyNumbersOnFocus:function(t){return i.update({showOnlyNumbersOnFocus:t}),i},showPositiveSign:function(t){return i.update({showPositiveSign:t}),i},showWarnings:function(t){return i.settings.showWarnings=t,i},styleRules:function(t){return i.update({styleRules:t}),i},suffixText:function(t){return i.update({suffixText:t}),i},unformatOnHover:function(t){return i.settings.unformatOnHover=t,i},unformatOnSubmit:function(t){return i.settings.unformatOnSubmit=t,i},valuesToStrings:function(t){return i.update({valuesToStrings:t}),i},watchExternalChanges:function(t){return i.update({watchExternalChanges:t}),i},wheelOn:function(t){return i.settings.wheelOn=t,i},wheelStep:function(t){return i.settings.wheelStep=t,i}},this._triggerEvent(t.events.initialized,this.domElement,{newValue:s.default.getElementValue(this.domElement),newRawValue:this.rawValue,error:null,aNElement:this})}return a(t,[{key:"_saveInitialValues",value:function(t){this.initialValueHtmlAttribute=s.default.scientificToDecimal(this.domElement.getAttribute("value")),s.default.isNull(this.initialValueHtmlAttribute)&&(this.initialValueHtmlAttribute=""),this.initialValue=t,s.default.isNull(this.initialValue)&&(this.initialValue="")}},{key:"_createEventListeners",value:function(){var e=this;this.formulaMode=!1,this._onFocusInFunc=function(t){e._onFocusIn(t)},this._onFocusInAndMouseEnterFunc=function(t){e._onFocusInAndMouseEnter(t)},this._onFocusFunc=function(){e._onFocus()},this._onKeydownFunc=function(t){e._onKeydown(t)},this._onKeypressFunc=function(t){e._onKeypress(t)},this._onKeyupFunc=function(t){e._onKeyup(t)},this._onFocusOutAndMouseLeaveFunc=function(t){e._onFocusOutAndMouseLeave(t)},this._onPasteFunc=function(t){e._onPaste(t)},this._onWheelFunc=function(t){e._onWheel(t)},this._onDropFunc=function(t){e._onDrop(t)},this._onKeydownGlobalFunc=function(t){e._onKeydownGlobal(t)},this._onKeyupGlobalFunc=function(t){e._onKeyupGlobal(t)},this.domElement.addEventListener("focusin",this._onFocusInFunc,!1),this.domElement.addEventListener("focus",this._onFocusInAndMouseEnterFunc,!1),this.domElement.addEventListener("focus",this._onFocusFunc,!1),this.domElement.addEventListener("mouseenter",this._onFocusInAndMouseEnterFunc,!1),this.domElement.addEventListener("keydown",this._onKeydownFunc,!1),this.domElement.addEventListener("keypress",this._onKeypressFunc,!1),this.domElement.addEventListener("keyup",this._onKeyupFunc,!1),this.domElement.addEventListener("blur",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.addEventListener("mouseleave",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.addEventListener("paste",this._onPasteFunc,!1),this.domElement.addEventListener("wheel",this._onWheelFunc,!1),this.domElement.addEventListener("drop",this._onDropFunc,!1),this._setupFormListener(),this.hasEventListeners=!0,t._doesGlobalListExists()||(document.addEventListener("keydown",this._onKeydownGlobalFunc,!1),document.addEventListener("keyup",this._onKeyupGlobalFunc,!1))}},{key:"_removeEventListeners",value:function(){this.domElement.removeEventListener("focusin",this._onFocusInFunc,!1),this.domElement.removeEventListener("focus",this._onFocusInAndMouseEnterFunc,!1),this.domElement.removeEventListener("focus",this._onFocusFunc,!1),this.domElement.removeEventListener("mouseenter",this._onFocusInAndMouseEnterFunc,!1),this.domElement.removeEventListener("blur",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.removeEventListener("mouseleave",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.removeEventListener("keydown",this._onKeydownFunc,!1),this.domElement.removeEventListener("keypress",this._onKeypressFunc,!1),this.domElement.removeEventListener("keyup",this._onKeyupFunc,!1),this.domElement.removeEventListener("paste",this._onPasteFunc,!1),this.domElement.removeEventListener("wheel",this._onWheelFunc,!1),this.domElement.removeEventListener("drop",this._onDropFunc,!1),this._removeFormListener(),this.hasEventListeners=!1,document.removeEventListener("keydown",this._onKeydownGlobalFunc,!1),document.removeEventListener("keyup",this._onKeyupGlobalFunc,!1)}},{key:"_updateEventListeners",value:function(){this.settings.noEventListeners||this.hasEventListeners||this._createEventListeners(),this.settings.noEventListeners&&this.hasEventListeners&&this._removeEventListeners()}},{key:"_setupFormListener",value:function(){var t=this;s.default.isNull(this.parentForm)||(this._onFormSubmitFunc=function(){t._onFormSubmit()},this._onFormResetFunc=function(){t._onFormReset()},this._hasParentFormCounter()?this._incrementParentFormCounter():(this._initializeFormCounterToOne(),this.parentForm.addEventListener("submit",this._onFormSubmitFunc,!1),this.parentForm.addEventListener("reset",this._onFormResetFunc,!1),this._storeFormHandlerFunction()))}},{key:"_removeFormListener",value:function(){if(!s.default.isNull(this.parentForm)){var t=this._getParentFormCounter();1===t?(this.parentForm.removeEventListener("submit",this._getFormHandlerFunction().submitFn,!1),this.parentForm.removeEventListener("reset",this._getFormHandlerFunction().resetFn,!1),this._removeFormDataSetInfo()):t>1?this._decrementParentFormCounter():s.default.throwError("The AutoNumeric object count on the form is incoherent.")}}},{key:"_hasParentFormCounter",value:function(){return"anCount"in this.parentForm.dataset}},{key:"_getParentFormCounter",value:function(){return Number(this.parentForm.dataset.anCount)}},{key:"_initializeFormCounterToOne",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._getFormElement(t).dataset.anCount=1}},{key:"_incrementParentFormCounter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._getFormElement(t).dataset.anCount++}},{key:"_decrementParentFormCounter",value:function(){this.parentForm.dataset.anCount--}},{key:"_hasFormHandlerFunction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"anFormHandler"in this._getFormElement(t).dataset}},{key:"_getFormElement",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?this.parentForm:t}},{key:"_storeFormHandlerFunction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.constructor._doesFormHandlerListExists()||this.constructor._createFormHandlerList();var e=s.default.randomString();this._getFormElement(t).dataset.anFormHandler=e,window.aNFormHandlerMap.set(e,{submitFn:this._onFormSubmitFunc,resetFn:this._onFormResetFunc})}},{key:"_getFormHandlerKey",value:function(){this._hasFormHandlerFunction()||s.default.throwError("Unable to retrieve the form handler name");var t=this.parentForm.dataset.anFormHandler;return""===t&&s.default.throwError("The form handler name is invalid"),t}},{key:"_getFormHandlerFunction",value:function(){var t=this._getFormHandlerKey();return window.aNFormHandlerMap.get(t)}},{key:"_removeFormDataSetInfo",value:function(){this._decrementParentFormCounter(),window.aNFormHandlerMap.delete(this._getFormHandlerKey()),this.parentForm.removeAttribute("data-an-count"),this.parentForm.removeAttribute("data-an-form-handler")}},{key:"_setWritePermissions",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.domElement.readOnly||this.settings.readOnly?this._setReadOnly():this._setReadWrite()}},{key:"_setReadOnly",value:function(){this.isInputElement?this.domElement.readOnly=!0:this.domElement.setAttribute("contenteditable",!1)}},{key:"_setReadWrite",value:function(){this.isInputElement?this.domElement.readOnly=!1:this.domElement.setAttribute("contenteditable",!0)}},{key:"_addWatcher",value:function(){var t=this;if(!s.default.isUndefined(this.getterSetter)){var e=this.getterSetter,i=e.set,n=e.get;Object.defineProperty(this.domElement,this.attributeToWatch,{configurable:!0,get:function(){return n.call(t.domElement)},set:function(e){i.call(t.domElement,e),t.settings.watchExternalChanges&&!t.internalModification&&t.set(e)}})}}},{key:"_removeWatcher",value:function(){var t=this;if(!s.default.isUndefined(this.getterSetter)){var e=this.getterSetter,i=e.set,n=e.get;Object.defineProperty(this.domElement,this.attributeToWatch,{configurable:!0,get:function(){return n.call(t.domElement)},set:function(e){i.call(t.domElement,e)}})}}},{key:"_getAttributeToWatch",value:function(){var t=void 0;if(this.isInputElement)t="value";else{var e=this.domElement.nodeType;e===Node.ELEMENT_NODE||e===Node.DOCUMENT_NODE||e===Node.DOCUMENT_FRAGMENT_NODE?t="textContent":e===Node.TEXT_NODE&&(t="nodeValue")}return t}},{key:"_historyTableAdd",value:function(){var t=0===this.historyTable.length;if(t||this.rawValue!==this._historyTableCurrentValueUsed()){var e=!0;if(!t){var i=this.historyTableIndex+1;i1&&(this.historyTable[this.historyTableIndex-1].start=this.selectionStart,this.historyTable[this.historyTableIndex-1].end=this.selectionEnd)}this.historyTable.length>this.settings.historySize&&this._historyTableForget()}}},{key:"_historyTableUndoOrRedo",value:function(){var t=void 0;if(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?(t=this.historyTableIndex>0)&&this.historyTableIndex--:(t=this.historyTableIndex+10&&void 0!==arguments[0]?arguments[0]:1,e=[],i=0;i=0?this._addCSSClass(this.settings.styleRules.positive):this._removeCSSClass(this.settings.styleRules.positive)),s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.negative)||(this.rawValue<0?this._addCSSClass(this.settings.styleRules.negative):this._removeCSSClass(this.settings.styleRules.negative)),s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.ranges)||0===this.settings.styleRules.ranges.length||this.settings.styleRules.ranges.forEach(function(e){t.rawValue>=e.min&&t.rawValue2){var i=e.callback(t.rawValue);s.default.isArray(i)?e.classes.forEach(function(e,n){s.default.isInArray(n,i)?t._addCSSClass(e):t._removeCSSClass(e)}):s.default.isInt(i)?e.classes.forEach(function(e,n){n===i?t._addCSSClass(e):t._removeCSSClass(e)}):s.default.isNull(i)?e.classes.forEach(function(e){t._removeCSSClass(e)}):s.default.throwError("The callback result is not an array nor a valid array index, "+(void 0===i?"undefined":o(i))+" given.")}else s.default.throwError("The classes attribute is not valid for the `styleRules` option.");else s.default.isUndefinedOrNullOrEmpty(e.classes)?e.callback(t):s.default.throwError("The callback/classes structure is not valid for the `styleRules` option.");else s.default.warning("The given `styleRules` callback is not a function, "+("undefined"==typeof callback?"undefined":o(callback))+" given.",t.settings.showWarnings)}))}},{key:"_addCSSClass",value:function(t){this.domElement.classList.add(t)}},{key:"_removeCSSClass",value:function(t){this.domElement.classList.remove(t)}},{key:"update",value:function(){for(var t=this,e=arguments.length,i=Array(e),n=0;n=1&&i.forEach(function(e){t.constructor._isPreDefinedOptionValid(e)&&(e=t.constructor._getOptionObject(e)),r(l,e)});try{this._setSettings(l,!0),this._setWritePermissions(),this._updateEventListeners(),this.set(a)}catch(t){return this._setSettings(o,!0),s.default.throwError("Unable to update the settings, those are invalid: ["+t+"]"),this}return this}},{key:"getSettings",value:function(){return this.settings}},{key:"set",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(s.default.isUndefined(e))return s.default.warning("You are trying to set an 'undefined' value ; an error could have occurred.",this.settings.showWarnings),this;if(s.default.isNull(i)||this._setSettings(i,!0),null===e&&this.settings.emptyInputBehavior!==t.options.emptyInputBehavior.null)return s.default.warning("You are trying to set the `null` value while the `emptyInputBehavior` option is set to "+this.settings.emptyInputBehavior+". If you want to be able to set the `null` value, you need to change the 'emptyInputBehavior' option to `'null'`.",this.settings.showWarnings),this;var o=void 0;if(null===e)return this._setElementAndRawValue(null,null,r),this._saveValueToPersistentStorage(),this;if(o=this.constructor._toNumericValue(e,this.settings),isNaN(Number(o)))return s.default.warning("The value you are trying to set results in `NaN`. The element value is set to the empty string instead.",this.settings.showWarnings),this.setValue("",r),this;if(""===o)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.zero:o=0;break;case t.options.emptyInputBehavior.min:o=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:o=this.settings.maximumValue;break;default:s.default.isNumber(this.settings.emptyInputBehavior)&&(o=Number(this.settings.emptyInputBehavior))}if(""!==o){var a=this.constructor._checkIfInRangeWithOverrideOption(o,this.settings),l=n(a,2),c=l[0],u=l[1];if(c&&u&&this.settings.valuesToStrings&&this._checkValuesToStrings(o))return this._setElementAndRawValue(this.settings.valuesToStrings[o],o,r),this._saveValueToPersistentStorage(),this;if(s.default.isZeroOrHasNoValue(o)&&(o="0"),c&&u){var h=this.constructor._roundRawValue(o,this.settings);return h=this._trimLeadingAndTrailingZeros(h.replace(this.settings.decimalCharacter,".")),o=this._getRawValueToFormat(o),this.isFocused?o=this.constructor._roundFormattedValueShownOnFocus(o,this.settings):(this.settings.divisorWhenUnfocused&&(o=(o/=this.settings.divisorWhenUnfocused).toString()),o=this.constructor._roundFormattedValueShownOnBlur(o,this.settings)),o=this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(o,this.settings),o=this.constructor._addGroupSeparators(o,this.settings,this.isFocused,this.rawValue,h),!this.isFocused&&this.settings.symbolWhenUnfocused&&(o=""+o+this.settings.symbolWhenUnfocused),(this.settings.decimalPlacesShownOnFocus||this.settings.divisorWhenUnfocused)&&this._saveValueToPersistentStorage(),this._setElementAndRawValue(o,h,r),this}return c||this._triggerEvent(t.events.minRangeExceeded,this.domElement),u||this._triggerEvent(t.events.maxRangeExceeded,this.domElement),s.default.throwError("The value ["+o+"] being set falls outside of the minimumValue ["+this.settings.minimumValue+"] and maximumValue ["+this.settings.maximumValue+"] range set for this element"),this._removeValueFromPersistentStorage(),this.setValue("",r),this}var d=void 0;return d=this.settings.emptyInputBehavior===t.options.emptyInputBehavior.always?this.settings.currencySymbol:"",this._setElementAndRawValue(d,"",r),this}},{key:"setUnformatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null===t||s.default.isUndefined(t))return this;s.default.isNull(e)||this._setSettings(e,!0);var i=this.constructor._removeBrackets(t,this.settings),r=this.constructor._stripAllNonNumberCharacters(i,this.settings,!0,this.isFocused);s.default.isNumber(r)||s.default.throwError("The value is not a valid one, it's not a numeric string nor a recognized currency.");var o=this.constructor._checkIfInRangeWithOverrideOption(r,this.settings),a=n(o,2),l=a[0],c=a[1];return l&&c?this.setValue(t):s.default.throwError("The value is out of the range limits ["+this.settings.minimumValue+", "+this.settings.maximumValue+"]."),this}},{key:"setValue",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._setElementAndRawValue(t,e),this}},{key:"_setRawValue",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.rawValue!==e){var n=this.rawValue;this.rawValue=e,!s.default.isNull(this.settings.rawValueDivisor)&&0!==this.settings.rawValueDivisor&&""!==e&&null!==e&&this._isUserManuallyEditingTheValue()&&(this.rawValue/=this.settings.rawValueDivisor),this._triggerEvent(t.events.rawValueModified,this.domElement,{oldRawValue:n,newRawValue:this.rawValue,isPristine:this.isPristine(!0),error:null,aNElement:this}),this._parseStyleRules(),i&&this._historyTableAdd()}}},{key:"_setElementValue",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=s.default.getElementValue(this.domElement);return e!==n&&(this.internalModification=!0,s.default.setElementValue(this.domElement,e),this.internalModification=!1,i&&this._triggerEvent(t.events.formatted,this.domElement,{oldValue:n,newValue:e,oldRawValue:this.rawValue,newRawValue:this.rawValue,isPristine:this.isPristine(!1),error:null,aNElement:this})),this}},{key:"_setElementAndRawValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return s.default.isNull(e)?e=t:s.default.isBoolean(e)&&(i=e,e=t),this._setElementValue(t),this._setRawValue(e,i),this}},{key:"_getRawValueToFormat",value:function(t){return s.default.isNull(this.settings.rawValueDivisor)||0===this.settings.rawValueDivisor||""===t||null===t?t:t*this.settings.rawValueDivisor}},{key:"_checkValuesToStrings",value:function(t){return this.constructor._checkValuesToStringsArray(t,this.valuesToStringsKeys)}},{key:"_isUserManuallyEditingTheValue",value:function(){return this.isFocused&&this.isEditing||this.isDropEvent}},{key:"_executeCallback",value:function(t,e){!s.default.isNull(e)&&s.default.isFunction(e)&&e(t,this)}},{key:"_triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;s.default.triggerEvent(t,e,i,this.settings.eventBubbles,this.settings.eventIsCancelable)}},{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.getNumericString(t)}},{key:"getNumericString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(this.rawValue)?null:s.default.trimPaddedZerosFromDecimalPlaces(this.rawValue),this._executeCallback(e,t),e}},{key:"getFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;"value"in this.domElement||"textContent"in this.domElement||s.default.throwError("Unable to get the formatted string from the element.");var e=s.default.getElementValue(this.domElement);return this._executeCallback(e,t),e}},{key:"getNumber",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=null===this.rawValue?null:this.constructor._toLocale(this.getNumericString(),"number",this.settings),this._executeCallback(e,t),e}},{key:"getLocalized",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.isFunction(e)&&s.default.isNull(i)&&(i=e,e=null);var n=void 0;""!==(n=s.default.isEmptyString(this.rawValue)?"":""+Number(this.rawValue))&&0===Number(n)&&this.settings.leadingZero!==t.options.leadingZero.keep&&(n="0");var r=void 0;r=s.default.isNull(e)?this.settings.outputFormat:e;var o=this.constructor._toLocale(n,r,this.settings);return this._executeCallback(o,i),o}},{key:"reformat",value:function(){return this.set(this.rawValue),this}},{key:"unformat",value:function(){return this._setElementValue(this.getNumericString()),this}},{key:"unformatLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._setElementValue(this.getLocalized(t)),this}},{key:"isPristine",value:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.initialValue===this.getNumericString():this.initialValueHtmlAttribute===this.getFormatted()}},{key:"select",value:function(){return this.settings.selectNumberOnly?this.selectNumber():this._defaultSelectAll(),this}},{key:"_defaultSelectAll",value:function(){s.default.setElementSelection(this.domElement,0,s.default.getElementValue(this.domElement).length)}},{key:"selectNumber",value:function(){var e=s.default.getElementValue(this.domElement),i=e.length,n=this.settings.currencySymbol.length,r=this.settings.currencySymbolPlacement,o=s.default.isNegative(e,this.settings.negativeSignCharacter)?1:0,a=this.settings.suffixText.length,l=void 0;l=r===t.options.currencySymbolPlacement.suffix?0:this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left&&1===o&&n>0?n+1:n;var c=void 0;if(r===t.options.currencySymbolPlacement.prefix)c=i-a;else switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:c=i-(a+n);break;case t.options.negativePositiveSignPlacement.right:c=n>0?i-(n+o+a):i-(n+a);break;default:c=i-(n+a)}return s.default.setElementSelection(this.domElement,l,c),this}},{key:"selectInteger",value:function(){var e=0,i=this.rawValue>=0;this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.prefix&&(this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none)||(this.settings.showPositiveSign&&i||!i&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left)&&(e+=1),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&(e+=this.settings.currencySymbol.length);var n=s.default.getElementValue(this.domElement),r=n.indexOf(this.settings.decimalCharacter);return-1===r&&(r=this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix?n.length-this.settings.currencySymbol.length:n.length,i||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.suffix&&this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.suffix||(r-=1),r-=this.settings.suffixText.length),s.default.setElementSelection(this.domElement,e,r),this}},{key:"selectDecimal",value:function(){var t=s.default.getElementValue(this.domElement).indexOf(this.settings.decimalCharacter),e=void 0;if(-1===t)t=0,e=0;else{t+=1;var i=void 0;i=this.isFocused?this.settings.decimalPlacesShownOnFocus:this.settings.decimalPlacesShownOnBlur,e=t+Number(i)}return s.default.setElementSelection(this.domElement,t,e),this}},{key:"node",value:function(){return this.domElement}},{key:"parent",value:function(){return this.domElement.parentNode}},{key:"detach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.domElement:t.node(),this._removeFromLocalList(e),this}},{key:"attach",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._addToLocalList(t.node()),e&&t.update(this.settings),this}},{key:"formatOther",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._formatOrUnformatOther(!0,t,e)}},{key:"unformatOther",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._formatOrUnformatOther(!1,t,e)}},{key:"_formatOrUnformatOther",value:function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=void 0;r=s.default.isNull(n)?this.settings:this._cloneAndMergeSettings(n);var o=void 0;if(s.default.isElement(i)){var a=s.default.getElementValue(i);return o=e?t.format(a,r):t.unformat(a,r),s.default.setElementValue(i,o),null}return o=e?t.format(i,r):t.unformat(i,r)}},{key:"init",value:function(e){var i=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!1,o=[];if(s.default.isString(e)?o=[].concat(d(document.querySelectorAll(e))):s.default.isElement(e)?(o.push(e),r=!0):s.default.isArray(e)?o=e:s.default.throwError("The given parameters to the 'init' function are invalid."),0===o.length)return s.default.warning("No valid DOM elements were given hence no AutoNumeric object were instantiated.",!0),[];var a=this._getLocalList(),l=[];return o.forEach(function(e){var r=i.settings.createLocalList;n&&(i.settings.createLocalList=!1);var o=new t(e,s.default.getElementValue(e),i.settings);n&&(o._setLocalList(a),i._addToLocalList(e,o),i.settings.createLocalList=r),l.push(o)}),r?l[0]:l}},{key:"clear",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]){var e={emptyInputBehavior:t.options.emptyInputBehavior.focus};this.set("",e)}else this.set("");return this}},{key:"remove",value:function(){this._removeValueFromPersistentStorage(),this._removeEventListeners(),this._removeWatcher(),this._removeFromLocalList(this.domElement),this.constructor._removeFromGlobalList(this)}},{key:"wipe",value:function(){this._setElementValue("",!1),this.remove()}},{key:"nuke",value:function(){this.remove(),this.domElement.parentNode.removeChild(this.domElement)}},{key:"form",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||s.default.isUndefinedOrNullOrEmpty(this.parentForm)){var t=this._getParentForm();if(!s.default.isNull(t)&&t!==this.parentForm){var e=this._getFormAutoNumericChildren(this.parentForm);this.parentForm.dataset.anCount=e.length,this._hasFormHandlerFunction(t)?this._incrementParentFormCounter(t):(this._storeFormHandlerFunction(t),this._initializeFormCounterToOne(t))}this.parentForm=t}return this.parentForm}},{key:"_getFormAutoNumericChildren",value:function(t){var e=this;return[].concat(d(t.querySelectorAll("input"))).filter(function(t){return e.constructor.isManagedByAutoNumeric(t)})}},{key:"_getParentForm",value:function(){if("body"===this.domElement.tagName.toLowerCase())return null;var t=this.domElement,e=void 0;do{if(t=t.parentNode,s.default.isNull(t))return null;if("body"===(e=t.tagName?t.tagName.toLowerCase():""))break}while("form"!==e);return"form"===e?t:null}},{key:"formNumericString",value:function(){return this.constructor._serializeNumericString(this.form(),this.settings.serializeSpaces)}},{key:"formFormatted",value:function(){return this.constructor._serializeFormatted(this.form(),this.settings.serializeSpaces)}},{key:"formLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.settings.outputFormat:t,this.constructor._serializeLocalized(this.form(),this.settings.serializeSpaces,e)}},{key:"formArrayNumericString",value:function(){return this.constructor._serializeNumericStringArray(this.form(),this.settings.serializeSpaces)}},{key:"formArrayFormatted",value:function(){return this.constructor._serializeFormattedArray(this.form(),this.settings.serializeSpaces)}},{key:"formArrayLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.settings.outputFormat:t,this.constructor._serializeLocalizedArray(this.form(),this.settings.serializeSpaces,e)}},{key:"formJsonNumericString",value:function(){return JSON.stringify(this.formArrayNumericString())}},{key:"formJsonFormatted",value:function(){return JSON.stringify(this.formArrayFormatted())}},{key:"formJsonLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return JSON.stringify(this.formArrayLocalized(t))}},{key:"formUnformat",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).unformat()}),this}},{key:"formUnformatLocalized",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).unformatLocalized()}),this}},{key:"formReformat",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).reformat()}),this}},{key:"formSubmitNumericString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?(this.formUnformat(),this.form().submit(),this.formReformat()):s.default.isFunction(t)?t(this.formNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?this.form().submit():s.default.isFunction(t)?t(this.formFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isNull(e)?(this.formUnformatLocalized(),this.form().submit(),this.formReformat()):s.default.isFunction(e)?e(this.formLocalized(t)):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayNumericString",value:function(t){return s.default.isFunction(t)?t(this.formArrayNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayFormatted",value:function(t){return s.default.isFunction(t)?t(this.formArrayFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isFunction(t)?t(this.formArrayLocalized(e)):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonNumericString",value:function(t){return s.default.isFunction(t)?t(this.formJsonNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonFormatted",value:function(t){return s.default.isFunction(t)?t(this.formJsonFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isFunction(t)?t(this.formJsonLocalized(e)):s.default.throwError("The given callback is not a function."),this}},{key:"_createLocalList",value:function(){this.autoNumericLocalList=new Map,this._addToLocalList(this.domElement)}},{key:"_deleteLocalList",value:function(){delete this.autoNumericLocalList}},{key:"_setLocalList",value:function(t){this.autoNumericLocalList=t}},{key:"_getLocalList",value:function(){return this.autoNumericLocalList}},{key:"_hasLocalList",value:function(){return this.autoNumericLocalList instanceof Map&&0!==this.autoNumericLocalList.size}},{key:"_addToLocalList",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.isNull(e)&&(e=this),s.default.isUndefined(this.autoNumericLocalList)?s.default.throwError("The local list provided does not exists when trying to add an element. ["+this.autoNumericLocalList+"] given."):this.autoNumericLocalList.set(t,e)}},{key:"_removeFromLocalList",value:function(t){s.default.isUndefined(this.autoNumericLocalList)?this.settings.createLocalList&&s.default.throwError("The local list provided does not exists when trying to remove an element. ["+this.autoNumericLocalList+"] given."):this.autoNumericLocalList.delete(t)}},{key:"_mergeSettings",value:function(){for(var t=arguments.length,e=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isNull(e)?this.update(t):(this._mergeSettings(t,e),this.update(this.settings)),this}},{key:"french",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().French,e),this}},{key:"northAmerican",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().NorthAmerican,e),this}},{key:"british",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().British,e),this}},{key:"swiss",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Swiss,e),this}},{key:"japanese",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Japanese,e),this}},{key:"spanish",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Spanish,e),this}},{key:"chinese",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Chinese,e),this}},{key:"brazilian",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Brazilian,e),this}},{key:"_runCallbacksFoundInTheSettingsObject",value:function(){for(var t in this.settings)if(this.settings.hasOwnProperty(t)){var e=this.settings[t];if("function"==typeof e)this.settings[t]=e(this,t);else{var i=this.domElement.getAttribute(t);i=s.default.camelize(i),"function"==typeof this.settings[i]&&(this.settings[t]=i(this,t))}}}},{key:"_setTrailingNegativeSignInfo",value:function(){this.isTrailingNegative=this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&(this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left||this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.right)}},{key:"_modifyNegativeSignAndDecimalCharacterForRawValue",value:function(t){return"."!==this.settings.decimalCharacter&&(t=t.replace(this.settings.decimalCharacter,".")),"-"!==this.settings.negativeSignCharacter&&this.settings.isNegativeSignAllowed&&(t=t.replace(this.settings.negativeSignCharacter,"-")),t.match(/\d/)||(t+="0"),t}},{key:"_initialCaretPosition",value:function(e){s.default.isNull(this.settings.caretPositionOnFocus)&&this.settings.selectOnFocus===t.options.selectOnFocus.doNotSelect&&s.default.throwError("`_initialCaretPosition()` should never be called when the `caretPositionOnFocus` option is `null`.");var i=this.rawValue<0,n=s.default.isZeroOrHasNoValue(e),r=e.length,o=0,a=0,l=!1,c=0;this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.start&&(o=(e=(e=(e=e.replace(this.settings.negativeSignCharacter,"")).replace(this.settings.positiveSignCharacter,"")).replace(this.settings.currencySymbol,"")).length,l=s.default.contains(e,this.settings.decimalCharacter),this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.decimalLeft&&this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.decimalRight||(l?(a=e.indexOf(this.settings.decimalCharacter),c=this.settings.decimalCharacter.length):(a=o,c=0)));var u="";i?u=this.settings.negativeSignCharacter:this.settings.showPositiveSign&&!n&&(u=this.settings.positiveSignCharacter);var h=u.length,d=this.settings.currencySymbol.length,f=void 0;if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix){if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.start)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d;break;case t.options.negativePositiveSignPlacement.suffix:f=d}else f=d;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.end)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=r;break;case t.options.negativePositiveSignPlacement.suffix:f=d+o}else f=r;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalLeft)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d+a;break;case t.options.negativePositiveSignPlacement.suffix:f=d+a}else f=d+a;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalRight)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d+a+c;break;case t.options.negativePositiveSignPlacement.suffix:f=d+a+c}else f=d+a+c}else if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.start)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=0;break;case t.options.negativePositiveSignPlacement.prefix:f=h}else f=0;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.end)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=o;break;case t.options.negativePositiveSignPlacement.prefix:f=h+o}else f=o;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalLeft)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=a;break;case t.options.negativePositiveSignPlacement.prefix:f=h+a}else f=a;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalRight)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=a+c;break;case t.options.negativePositiveSignPlacement.prefix:f=h+a+c}else f=a+c;return f}},{key:"_keepAnOriginalSettingsCopy",value:function(){this.originalDigitGroupSeparator=this.settings.digitGroupSeparator,this.originalCurrencySymbol=this.settings.currencySymbol,this.originalSuffixText=this.settings.suffixText}},{key:"_trimLeadingAndTrailingZeros",value:function(e){if(""===e||null===e)return e;if(this.settings.leadingZero!==t.options.leadingZero.keep){if(0===Number(e))return"0";e=e.replace(/^(-)?0+(?=\d)/g,"$1")}return s.default.contains(e,".")&&(e=e.replace(/(\.[0-9]*?)0+$/,"$1")),e=e.replace(/\.$/,"")}},{key:"_setPersistentStorageName",value:function(){this.settings.saveValueToSessionStorage&&(""===this.domElement.name||s.default.isUndefined(this.domElement.name)?this.rawValueStorageName=""+this.storageNamePrefix+this.domElement.id:this.rawValueStorageName=""+this.storageNamePrefix+decodeURIComponent(this.domElement.name))}},{key:"_saveValueToPersistentStorage",value:function(){this.settings.saveValueToSessionStorage&&(this.sessionStorageAvailable?sessionStorage.setItem(this.rawValueStorageName,this.rawValue):document.cookie=this.rawValueStorageName+"="+this.rawValue+"; expires= ; path=/")}},{key:"_getValueFromPersistentStorage",value:function(){if(this.settings.saveValueToSessionStorage){return this.sessionStorageAvailable?sessionStorage.getItem(this.rawValueStorageName):this.constructor._readCookie(this.rawValueStorageName)}return s.default.warning("`_getValueFromPersistentStorage()` is called but `settings.saveValueToSessionStorage` is false. There must be an error that needs fixing.",this.settings.showWarnings),null}},{key:"_removeValueFromPersistentStorage",value:function(){if(this.settings.saveValueToSessionStorage)if(this.sessionStorageAvailable)sessionStorage.removeItem(this.rawValueStorageName);else{var t=new Date;t.setTime(t.getTime()-864e5);var e="; expires="+t.toUTCString();document.cookie=this.rawValueStorageName+"='' ;"+e+"; path=/"}}},{key:"_getDefaultValue",value:function(t){var e=t.getAttribute("value");return s.default.isNull(e)?"":e}},{key:"_onFocusInAndMouseEnter",value:function(e){if(this.isEditing=!1,!this.formulaMode&&this.settings.unformatOnHover&&"mouseenter"===e.type&&e.altKey)this.constructor._unformatAltHovered(this);else if("focus"===e.type&&(this.isFocused=!0,this.rawValueOnFocus=this.rawValue),"focus"===e.type&&this.settings.unformatOnHover&&this.hoveredWithAlt&&this.constructor._reformatAltHovered(this),"focus"===e.type||"mouseenter"===e.type&&!this.isFocused){var i=null;this.settings.emptyInputBehavior===t.options.emptyInputBehavior.focus&&this.rawValue<0&&null!==this.settings.negativeBracketsTypeOnBlur&&this.settings.isNegativeSignAllowed&&(i=this.constructor._removeBrackets(s.default.getElementValue(this.domElement),this.settings));var n=this._getRawValueToFormat(this.rawValue);if(""!==n){var r=this.constructor._roundFormattedValueShownOnFocusOrBlur(n,this.settings,this.isFocused);if(this.settings.showOnlyNumbersOnFocus===t.options.showOnlyNumbersOnFocus.onlyNumbers)this.settings.digitGroupSeparator="",this.settings.currencySymbol="",this.settings.suffixText="",i=r.replace(".",this.settings.decimalCharacter);else{i=s.default.isNull(r)?"":this.constructor._addGroupSeparators(r.replace(".",this.settings.decimalCharacter),this.settings,this.isFocused,n)}}s.default.isNull(i)?this.valueOnFocus="":this.valueOnFocus=i,this.lastVal=this.valueOnFocus;var o=this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(this.valueOnFocus,this.settings),a=this.constructor._orderValueCurrencySymbolAndSuffixText(this.valueOnFocus,this.settings,!0),l=o&&""!==a&&this.settings.emptyInputBehavior===t.options.emptyInputBehavior.focus;l&&(i=a),s.default.isNull(i)||this._setElementValue(i),l&&a===this.settings.currencySymbol&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&s.default.setElementSelection(e.target,0)}}},{key:"_onFocus",value:function(){this.settings.isCancellable&&this._saveCancellableValue()}},{key:"_onFocusIn",value:function(t){this.settings.selectOnFocus?this.select():s.default.isNull(this.settings.caretPositionOnFocus)||s.default.setElementSelection(t.target,this._initialCaretPosition(s.default.getElementValue(this.domElement)))}},{key:"_enterFormulaMode",value:function(){this.settings.formulaMode&&(this.formulaMode=!0,s.default.setElementValue(this.domElement,"="),s.default.setElementSelection(this.domElement,1))}},{key:"_exitFormulaMode",value:function(){var e=s.default.getElementValue(this.domElement);e=e.replace(/^\s*=/,"");var i=void 0;try{var n=new u.default(e,this.settings.decimalCharacter);i=(new c.default).evaluate(n)}catch(i){return this._triggerEvent(t.events.invalidFormula,this.domElement,{formula:e,aNElement:this}),this.reformat(),void(this.formulaMode=!1)}this._triggerEvent(t.events.validFormula,this.domElement,{formula:e,result:i,aNElement:this}),this.set(i),this.formulaMode=!1}},{key:"_acceptNonPrintableKeysInFormulaMode",value:function(){return this.eventKey===l.default.keyName.Backspace||this.eventKey===l.default.keyName.Delete||this.eventKey===l.default.keyName.LeftArrow||this.eventKey===l.default.keyName.RightArrow||this.eventKey===l.default.keyName.Home||this.eventKey===l.default.keyName.End}},{key:"_onKeydown",value:function(e){if(this.formatted=!1,this.isEditing=!0,this.formulaMode||this.isFocused||!this.settings.unformatOnHover||!e.altKey||this.domElement!==s.default.getHoveredElement()){if(this._updateEventKeyInfo(e),this.initialValueOnKeydown=s.default.getElementValue(e.target),this.initialRawValueOnKeydown=this.rawValue,this.keydownEventCounter+=1,1===this.keydownEventCounter&&(this.initialRawValueOnFirstKeydown=this.rawValue),this.formulaMode){if(this.eventKey===l.default.keyName.Esc)return this.formulaMode=!1,void this.reformat();if(this.eventKey===l.default.keyName.Enter)return void this._exitFormulaMode();if(this._acceptNonPrintableKeysInFormulaMode())return}else if(this.eventKey===l.default.keyName.Equal)return void this._enterFormulaMode();if(this.domElement.readOnly||this.settings.readOnly||this.domElement.disabled)this.processed=!0;else{this.eventKey===l.default.keyName.Esc&&(e.preventDefault(),this.settings.isCancellable&&this.rawValue!==this.savedCancellableValue&&(this.set(this.savedCancellableValue),this._triggerEvent(t.events.native.input,e.target)),this.select());var i=s.default.getElementValue(e.target);this.eventKey===l.default.keyName.Enter&&this.rawValue!==this.rawValueOnFocus&&(this._triggerEvent(t.events.native.change,e.target),this.valueOnFocus=i,this.rawValueOnFocus=this.rawValue,this.settings.isCancellable&&this._saveCancellableValue()),this._updateInternalProperties(e),this._processNonPrintableKeysAndShortcuts(e)?this.processed=!0:this.eventKey!==l.default.keyName.Backspace&&this.eventKey!==l.default.keyName.Delete||(this._processCharacterDeletion(),this.processed=!0,this._formatValue(e),(i=s.default.getElementValue(e.target))!==this.lastVal&&this.throwInput&&(this._triggerEvent(t.events.native.input,e.target),e.preventDefault()),this.lastVal=i,this.throwInput=!0)}}else this.constructor._unformatAltHovered(this)}},{key:"_onKeypress",value:function(e){if(this.formulaMode){if(this._acceptNonPrintableKeysInFormulaMode())return;if(this.settings.formulaChars.test(this.eventKey))return;e.preventDefault()}else if(this.eventKey!==l.default.keyName.Insert){var i=this.processed;if(this._updateInternalProperties(e),!this._processNonPrintableKeysAndShortcuts(e))if(i)e.preventDefault();else{if(this._processCharacterInsertion()){this._formatValue(e);var n=s.default.getElementValue(e.target);if(n!==this.lastVal&&this.throwInput)this._triggerEvent(t.events.native.input,e.target),e.preventDefault();else{if((this.eventKey===this.settings.decimalCharacter||this.eventKey===this.settings.decimalCharacterAlternative)&&s.default.getElementSelection(e.target).start===s.default.getElementSelection(e.target).end&&s.default.getElementSelection(e.target).start===n.indexOf(this.settings.decimalCharacter)){var r=s.default.getElementSelection(e.target).start+1;s.default.setElementSelection(e.target,r)}e.preventDefault()}return this.lastVal=s.default.getElementValue(e.target),void(this.throwInput=!0)}e.preventDefault()}}}},{key:"_onKeyup",value:function(e){this.isEditing=!1;var i=this.keydownEventCounter>1;if(this.keydownEventCounter=0,!this.formulaMode)if(this.settings.isCancellable&&this.eventKey===l.default.keyName.Esc)e.preventDefault();else{if(this.eventKey===l.default.keyName.Z||this.eventKey===l.default.keyName.z){if(e.ctrlKey&&e.shiftKey)return e.preventDefault(),this._historyTableRedo(),void(this.onGoingRedo=!0);if(e.ctrlKey&&!e.shiftKey){if(!this.onGoingRedo)return e.preventDefault(),void this._historyTableUndo();this.onGoingRedo=!1}}if(this.onGoingRedo&&(e.ctrlKey||e.shiftKey)&&(this.onGoingRedo=!1),(e.ctrlKey||e.metaKey)&&this.eventKey===l.default.keyName.x){var n=s.default.getElementSelection(this.domElement).start,r=this.constructor._toNumericValue(s.default.getElementValue(e.target),this.settings);this.set(r),this._setCaretPosition(n)}if(this.eventKey===l.default.keyName.Alt&&this.settings.unformatOnHover&&this.hoveredWithAlt)this.constructor._reformatAltHovered(this);else{this._updateInternalProperties(e);var o=this._processNonPrintableKeysAndShortcuts(e);delete this.valuePartsBeforePaste;var a=s.default.getElementValue(e.target);if(!o&&(i||""!==a)&&(a===this.settings.currencySymbol?this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix?s.default.setElementSelection(e.target,0):s.default.setElementSelection(e.target,this.settings.currencySymbol.length):this.eventKey===l.default.keyName.Tab&&s.default.setElementSelection(e.target,0,a.length),(a===this.settings.suffixText||""===this.rawValue&&""!==this.settings.currencySymbol&&""!==this.settings.suffixText)&&s.default.setElementSelection(e.target,0),null!==this.settings.decimalPlacesShownOnFocus&&this._saveValueToPersistentStorage(),this.formatted||this._formatValue(e),this._saveRawValueForAndroid(),(i&&a!==this.initialRawValueOnFirstKeydown||a!==this.initialValueOnKeydown)&&this._triggerEvent(t.events.formatted,e.target,{oldValue:this.initialValueOnKeydown,newValue:a,oldRawValue:this.initialRawValueOnKeydown,newRawValue:this.rawValue,isPristine:this.isPristine(!1),error:null,aNElement:this}),this.historyTable.length>1)){var c=s.default.getElementSelection(this.domElement);this.selectionStart=c.start,this.selectionEnd=c.end,this.historyTable[this.historyTableIndex].start=this.selectionStart,this.historyTable[this.historyTableIndex].end=this.selectionEnd}}}}},{key:"_saveRawValueForAndroid",value:function(){if(this.eventKey===l.default.keyName.AndroidDefault){var t=this.constructor._stripAllNonNumberCharactersExceptCustomDecimalChar(this.getFormatted(),this.settings,!0,this.isFocused);t=this.constructor._convertToNumericString(t,this.settings),this._setRawValue(t)}}},{key:"_onFocusOutAndMouseLeave",value:function(e){if(this.isEditing=!1,"mouseleave"!==e.type||!this.formulaMode)if(this.settings.unformatOnHover&&"mouseleave"===e.type&&this.hoveredWithAlt)this.constructor._reformatAltHovered(this);else if("mouseleave"===e.type&&!this.isFocused||"blur"===e.type){"blur"===e.type&&this.formulaMode&&this._exitFormulaMode(),this._saveValueToPersistentStorage(),this.settings.showOnlyNumbersOnFocus===t.options.showOnlyNumbersOnFocus.onlyNumbers&&(this.settings.digitGroupSeparator=this.originalDigitGroupSeparator,this.settings.currencySymbol=this.originalCurrencySymbol,this.settings.suffixText=this.originalSuffixText);var i=this._getRawValueToFormat(this.rawValue),r=s.default.isNull(i),o=this.constructor._checkIfInRangeWithOverrideOption(i,this.settings),a=n(o,2),l=a[0],c=a[1],u=!1;if(""===i||r||(l||this._triggerEvent(t.events.minRangeExceeded,this.domElement),c||this._triggerEvent(t.events.maxRangeExceeded,this.domElement),this.settings.valuesToStrings&&this._checkValuesToStrings(i)&&(this._setElementValue(this.settings.valuesToStrings[i]),u=!0)),!u){var h=void 0;if(h=r||""===i?i:String(i),""===i||r){if(""===i)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.zero:this._setRawValue("0"),h=this.constructor._roundValue("0",this.settings,0);break;case t.options.emptyInputBehavior.min:this._setRawValue(this.settings.minimumValue),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.minimumValue,this.settings,this.isFocused);break;case t.options.emptyInputBehavior.max:this._setRawValue(this.settings.maximumValue),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.maximumValue,this.settings,this.isFocused);break;default:s.default.isNumber(this.settings.emptyInputBehavior)&&(this._setRawValue(this.settings.emptyInputBehavior),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.emptyInputBehavior,this.settings,this.isFocused))}}else l&&c&&!this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(i,this.settings)?(h=this._modifyNegativeSignAndDecimalCharacterForRawValue(h),this.settings.divisorWhenUnfocused&&!s.default.isNull(h)&&(h=(h/=this.settings.divisorWhenUnfocused).toString()),h=this.constructor._roundFormattedValueShownOnBlur(h,this.settings),h=this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(h,this.settings)):(l||this._triggerEvent(t.events.minRangeExceeded,this.domElement),c||this._triggerEvent(t.events.maxRangeExceeded,this.domElement));var d=this.constructor._orderValueCurrencySymbolAndSuffixText(h,this.settings,!1);this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(h,this.settings)||r&&this.settings.emptyInputBehavior===t.options.emptyInputBehavior.null||(d=this.constructor._addGroupSeparators(h,this.settings,!1,i)),d===i&&""!==i&&this.settings.allowDecimalPadding!==t.options.allowDecimalPadding.never&&this.settings.allowDecimalPadding!==t.options.allowDecimalPadding.floats||(this.settings.symbolWhenUnfocused&&""!==i&&null!==i&&(d=""+d+this.settings.symbolWhenUnfocused),this._setElementValue(d))}"blur"===e.type&&this._onBlur(e)}}},{key:"_onPaste",value:function(e){if(e.preventDefault(),!(this.settings.readOnly||this.domElement.readOnly||this.domElement.disabled)){var i=void 0;window.clipboardData&&window.clipboardData.getData?i=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?i=e.clipboardData.getData("text/plain"):s.default.throwError("Unable to retrieve the pasted value. Please use a modern browser (ie. Firefox or Chromium).");var n=void 0;n=e.target.tagName?e.target:e.explicitOriginalTarget;var r=s.default.getElementValue(n),o=n.selectionStart||0,a=n.selectionEnd||0,l=a-o;if(l===r.length){var c=this._preparePastedText(i),u=s.default.arabicToLatinNumbers(c,!1,!1,!1);return"."===u||""===u||"."!==u&&!s.default.isNumber(u)?(this.formatted=!0,void(this.settings.onInvalidPaste===t.options.onInvalidPaste.error&&s.default.throwError("The pasted value '"+i+"' is not a valid paste content."))):(this.set(u),this.formatted=!0,void this._triggerEvent(t.events.native.input,n))}var h=s.default.isNegativeStrict(i,this.settings.negativeSignCharacter);h&&(i=i.slice(1,i.length));var d=this._preparePastedText(i),f=void 0;if("."!==(f="."===d?".":s.default.arabicToLatinNumbers(d,!1,!1,!1))&&(!s.default.isNumber(f)||""===f))return this.formatted=!0,void(this.settings.onInvalidPaste===t.options.onInvalidPaste.error&&s.default.throwError("The pasted value '"+i+"' is not a valid paste content."));var p=void 0,g=s.default.isNegativeStrict(this.getNumericString(),this.settings.negativeSignCharacter),m=void 0,v=void 0;h&&!g?(g=!0,m=!0):m=!1;var y=r.slice(0,o),b=r.slice(a,r.length);v=o!==a?this._preparePastedText(y+b):this._preparePastedText(r),g&&(v=s.default.setRawNegativeSign(v)),p=s.default.convertCharacterCountToIndexPosition(s.default.countNumberCharactersOnTheCaretLeftSide(r,o,this.settings.decimalCharacter)),m&&p++;var L=v.slice(0,p),x=v.slice(p,v.length),w=!1;"."===f&&(s.default.contains(L,".")&&(w=!0,L=L.replace(".","")),x=x.replace(".",""));var _=!1;switch(""===L&&"-"===x&&(L="-",x="",_=!0),this.settings.onInvalidPaste){case t.options.onInvalidPaste.truncate:case t.options.onInvalidPaste.replace:for(var S=s.default.parseStr(this.settings.minimumValue),C=s.default.parseStr(this.settings.maximumValue),k=v,T=0,E=L;T0||this.settings.maximumValue<0?s.default.isWheelUpEvent(e)?o=this.settings.minimumValue:s.default.isWheelDownEvent(e)?o=this.settings.maximumValue:s.default.throwError("The event is not a 'wheel' event."):o=0:o=r,o=+o,s.default.isNumber(this.settings.wheelStep)){var a=+this.settings.wheelStep;s.default.isWheelUpEvent(e)?o+=a:s.default.isWheelDownEvent(e)&&(o-=a)}else s.default.isWheelUpEvent(e)?o=s.default.addAndRoundToNearestAuto(o,this.settings.decimalPlacesRawValue):s.default.isWheelDownEvent(e)&&(o=s.default.subtractAndRoundToNearestAuto(o,this.settings.decimalPlacesRawValue));(o=s.default.clampToRangeLimits(o,this.settings))!==+r&&(this.set(o),this._triggerEvent(t.events.native.input,e.target)),e.preventDefault(),this._setSelection(i,n),this.isWheelEvent=!1}},{key:"_onDrop",value:function(t){if(!this.formulaMode){this.isDropEvent=!0,t.preventDefault();var e=void 0;e=s.default.isIE11()?"text":"text/plain";var i=t.dataTransfer.getData(e),n=this.unformatOther(i);this.set(n),this.isDropEvent=!1}}},{key:"_onFormSubmit",value:function(){var t=this;return this._getFormAutoNumericChildren(this.parentForm).map(function(e){return t.constructor.getAutoNumericElement(e)}).forEach(function(t){return t._unformatOnSubmit()}),!0}},{key:"_onFormReset",value:function(){var t=this;this._getFormAutoNumericChildren(this.parentForm).map(function(e){return t.constructor.getAutoNumericElement(e)}).forEach(function(e){var i=t._getDefaultValue(e.node());setTimeout(function(){return e.set(i)},0)})}},{key:"_unformatOnSubmit",value:function(){this.settings.unformatOnSubmit&&this._setElementValue(this.rawValue)}},{key:"_onKeydownGlobal",value:function(e){if(s.default.character(e)===l.default.keyName.Alt){var i=s.default.getHoveredElement();if(t.isManagedByAutoNumeric(i)){var n=t.getAutoNumericElement(i);!n.formulaMode&&n.settings.unformatOnHover&&this.constructor._unformatAltHovered(n)}}}},{key:"_onKeyupGlobal",value:function(e){if(s.default.character(e)===l.default.keyName.Alt){var i=s.default.getHoveredElement();if(t.isManagedByAutoNumeric(i)){var n=t.getAutoNumericElement(i);if(n.formulaMode||!n.settings.unformatOnHover)return;this.constructor._reformatAltHovered(n)}}}},{key:"_isElementTagSupported",value:function(){return s.default.isElement(this.domElement)||s.default.throwError("The DOM element is not valid, "+this.domElement+" given."),s.default.isInArray(this.domElement.tagName.toLowerCase(),this.allowedTagList)}},{key:"_isInputElement",value:function(){return"input"===this.domElement.tagName.toLowerCase()}},{key:"_isInputTypeSupported",value:function(){return"text"===this.domElement.type||"hidden"===this.domElement.type||"tel"===this.domElement.type||s.default.isUndefinedOrNullOrEmpty(this.domElement.type)}},{key:"_checkElement",value:function(){var t=this.domElement.tagName.toLowerCase();this._isElementTagSupported()||s.default.throwError("The <"+t+"> tag is not supported by autoNumeric"),this._isInputElement()?(this._isInputTypeSupported()||s.default.throwError('The input type "'+this.domElement.type+'" is not supported by autoNumeric'),this.isInputElement=!0):(this.isInputElement=!1,this.isContentEditable=this.domElement.hasAttribute("contenteditable")&&"true"===this.domElement.getAttribute("contenteditable"))}},{key:"_formatDefaultValueOnPageLoad",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=!0,n=void 0;if(s.default.isNull(e)?(n=s.default.getElementValue(this.domElement).trim(),this.domElement.setAttribute("value",n)):n=e,this.isInputElement||this.isContentEditable){var r=this.constructor._toNumericValue(n,this.settings);if(this.domElement.hasAttribute("value")&&""!==this.domElement.getAttribute("value")){if(null!==this.settings.defaultValueOverride&&this.settings.defaultValueOverride.toString()!==n||null===this.settings.defaultValueOverride&&""!==n&&n!==this.domElement.getAttribute("value")||""!==n&&"hidden"===this.domElement.getAttribute("type")&&!s.default.isNumber(r)){if(this.settings.saveValueToSessionStorage&&(null!==this.settings.decimalPlacesShownOnFocus||this.settings.divisorWhenUnfocused)&&this._setRawValue(this._getValueFromPersistentStorage()),!this.settings.saveValueToSessionStorage){var o=this.constructor._removeBrackets(n,this.settings);(this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)&&""!==this.settings.negativeSignCharacter&&s.default.isNegative(n,this.settings.negativeSignCharacter)?this._setRawValue("-"+this.constructor._stripAllNonNumberCharacters(o,this.settings,!0,this.isFocused)):this._setRawValue(this.constructor._stripAllNonNumberCharacters(o,this.settings,!0,this.isFocused))}i=!1}}else isNaN(Number(r))||1/0===r?s.default.throwError("The value ["+n+"] used in the input is not a valid value autoNumeric can work with."):(this.set(r),i=!1);if(""===n)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.null:case t.options.emptyInputBehavior.press:break;case t.options.emptyInputBehavior.always:this._setElementValue(this.settings.currencySymbol);break;case t.options.emptyInputBehavior.min:this.set(this.settings.minimumValue);break;case t.options.emptyInputBehavior.max:this.set(this.settings.maximumValue);break;case t.options.emptyInputBehavior.zero:this.set("0");break;default:this.set(this.settings.emptyInputBehavior)}else i&&n===this.domElement.getAttribute("value")&&this.set(n)}else null!==this.settings.defaultValueOverride&&this.settings.defaultValueOverride!==n||this.set(n)}},{key:"_calculateVMinAndVMaxIntegerSizes",value:function(){var t=this.settings.maximumValue.toString().split("."),e=n(t,1)[0],i=this.settings.minimumValue||0===this.settings.minimumValue?this.settings.minimumValue.toString().split("."):[],r=n(i,1)[0];e=e.replace(this.settings.negativeSignCharacter,""),r=r.replace(this.settings.negativeSignCharacter,""),this.settings.mIntPos=Math.max(e.length,1),this.settings.mIntNeg=Math.max(r.length,1)}},{key:"_calculateValuesToStringsKeys",value:function(){this.settings.valuesToStrings?this.valuesToStringsKeys=Object.keys(this.settings.valuesToStrings):this.valuesToStringsKeys=[]}},{key:"_transformOptionsValuesToDefaultTypes",value:function(){for(var t in this.settings)if(this.settings.hasOwnProperty(t)){var e=this.settings[t];"true"!==e&&"false"!==e||(this.settings[t]="true"===e),"number"==typeof e&&(this.settings[t]=e.toString())}}},{key:"_setSettings",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!e&&s.default.isNull(t)||this.constructor._convertOldOptionsToNewOnes(t),e)?("decimalPlacesRawValue"in t&&(this.settings.originalDecimalPlacesRawValue=t.decimalPlacesRawValue),"decimalPlaces"in t&&(this.settings.originalDecimalPlaces=t.decimalPlaces),this.constructor._calculateDecimalPlacesOnUpdate(t,this.settings),this._mergeSettings(t)):(this.settings={},this._mergeSettings(this.constructor.getDefaultConfig(),this.domElement.dataset,t,{rawValue:this.defaultRawValue}),this.caretFix=!1,this.throwInput=!0,this.allowedTagList=l.default.allowedTagList,this.runOnce=!1,this.hoveredWithAlt=!1);this._transformOptionsValuesToDefaultTypes(),this._runCallbacksFoundInTheSettingsObject(),this.constructor._correctNegativePositiveSignPlacementOption(this.settings),this.constructor._correctCaretPositionOnFocusAndSelectOnFocusOptions(this.settings),this.constructor._setNegativePositiveSignPermissions(this.settings),e||(s.default.isNull(t)||!t.decimalPlaces?this.settings.originalDecimalPlaces=null:this.settings.originalDecimalPlaces=t.decimalPlaces,this.settings.originalDecimalPlacesRawValue=this.settings.decimalPlacesRawValue,this.constructor._calculateDecimalPlacesOnInit(this.settings)),this._calculateVMinAndVMaxIntegerSizes(),this._setTrailingNegativeSignInfo(),this.regex={},this.constructor._cachesUsualRegularExpressions(this.settings,this.regex),this.constructor._setBrackets(this.settings),this._calculateValuesToStringsKeys(),s.default.isEmptyObj(this.settings)&&s.default.throwError("Unable to set the settings, those are invalid ; an empty object was given."),this.constructor.validate(this.settings,!1,t),this._keepAnOriginalSettingsCopy()}},{key:"_preparePastedText",value:function(t){return this.constructor._stripAllNonNumberCharacters(t,this.settings,!0,this.isFocused)}},{key:"_updateInternalProperties",value:function(){this.selection=s.default.getElementSelection(this.domElement),this.processed=!1}},{key:"_updateEventKeyInfo",value:function(t){this.eventKey=s.default.character(t)}},{key:"_saveCancellableValue",value:function(){this.savedCancellableValue=this.rawValue}},{key:"_setSelection",value:function(t,e){t=Math.max(t,0),e=Math.min(e,s.default.getElementValue(this.domElement).length),this.selection={start:t,end:e,length:e-t},s.default.setElementSelection(this.domElement,t,e)}},{key:"_setCaretPosition",value:function(t){this._setSelection(t,t)}},{key:"_getLeftAndRightPartAroundTheSelection",value:function(){var t=s.default.getElementValue(this.domElement);return[t.substring(0,this.selection.start),t.substring(this.selection.end,t.length)]}},{key:"_getUnformattedLeftAndRightPartAroundTheSelection",value:function(){var e=this._getLeftAndRightPartAroundTheSelection(),i=n(e,2),r=i[0],o=i[1];if(""===r&&""===o)return["",""];var a=!0;return this.eventKey!==l.default.keyName.Hyphen&&this.eventKey!==l.default.keyName.Minus||0!==Number(r)||(a=!1),this.isTrailingNegative&&(s.default.isNegative(o,this.settings.negativeSignCharacter)&&!s.default.isNegative(r,this.settings.negativeSignCharacter)||""===o&&s.default.isNegative(r,this.settings.negativeSignCharacter,!0))&&(r=r.replace(this.settings.negativeSignCharacter,""),o=o.replace(this.settings.negativeSignCharacter,""),r=r.replace("-",""),o=o.replace("-",""),r="-"+r),[r=t._stripAllNonNumberCharactersExceptCustomDecimalChar(r,this.settings,a,this.isFocused),o=t._stripAllNonNumberCharactersExceptCustomDecimalChar(o,this.settings,!1,this.isFocused)]}},{key:"_normalizeParts",value:function(e,i){var n=!0;this.eventKey!==l.default.keyName.Hyphen&&this.eventKey!==l.default.keyName.Minus||0!==Number(e)||(n=!1),this.isTrailingNegative&&s.default.isNegative(i,this.settings.negativeSignCharacter)&&!s.default.isNegative(e,this.settings.negativeSignCharacter)&&(e="-"+e,i=i.replace(this.settings.negativeSignCharacter,"")),e=t._stripAllNonNumberCharactersExceptCustomDecimalChar(e,this.settings,n,this.isFocused),i=t._stripAllNonNumberCharactersExceptCustomDecimalChar(i,this.settings,!1,this.isFocused),this.settings.leadingZero!==t.options.leadingZero.deny||this.eventKey!==l.default.keyName.num0&&this.eventKey!==l.default.keyName.numpad0||0!==Number(e)||s.default.contains(e,this.settings.decimalCharacter)||""===i||(e=e.substring(0,e.length-1));var r=e+i;if(this.settings.decimalCharacter){var o=r.match(new RegExp("^"+this.regex.aNegRegAutoStrip+"\\"+this.settings.decimalCharacter));o&&(r=(e=e.replace(o[1],o[1]+"0"))+i)}return[e,i,r]}},{key:"_setValueParts",value:function(e,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this._normalizeParts(e,i),a=n(o,3),s=a[0],l=a[1],c=a[2],u=t._checkIfInRangeWithOverrideOption(c,this.settings),h=n(u,2),d=h[0],f=h[1];if(d&&f){var p=t._truncateDecimalPlaces(c,this.settings,r,this.settings.decimalPlacesRawValue).replace(this.settings.decimalCharacter,".");if(""===p||p===this.settings.negativeSignCharacter){var g=void 0;switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.press:case t.options.emptyInputBehavior.always:g="";break;case t.options.emptyInputBehavior.min:g=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:g=this.settings.maximumValue;break;case t.options.emptyInputBehavior.zero:g="0";break;case t.options.emptyInputBehavior.null:g=null;break;default:g=this.settings.emptyInputBehavior}this._setRawValue(g)}else this._setRawValue(this._trimLeadingAndTrailingZeros(p));var m=t._truncateDecimalPlaces(c,this.settings,r,this.settings.decimalPlacesShownOnFocus),v=s.length;return v>m.length&&(v=m.length),1===v&&"0"===s&&this.settings.leadingZero===t.options.leadingZero.deny&&(v=""===l||"0"===s&&""!==l?1:0),this._setElementValue(m,!1),this._setCaretPosition(v),!0}return d?f||this._triggerEvent(t.events.maxRangeExceeded,this.domElement):this._triggerEvent(t.events.minRangeExceeded,this.domElement),!1}},{key:"_getSignPosition",value:function(){var e=void 0;if(this.settings.currencySymbol){var i=this.settings.currencySymbol.length,n=s.default.getElementValue(this.domElement);if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix){e=this.settings.negativeSignCharacter&&n&&n.charAt(0)===this.settings.negativeSignCharacter?[1,i+1]:[0,i]}else{var r=n.length;e=[r-i,r]}}else e=[1e3,-1];return e}},{key:"_expandSelectionOnSign",value:function(){var t=this._getSignPosition(),e=n(t,2),i=e[0],r=e[1],o=this.selection;o.starti&&((o.startr)&&s.default.getElementValue(this.domElement).substring(Math.max(o.start,i),Math.min(o.end,r)).match(/^\s*$/)?o.start=a.indexOf(this.settings.suffixText)&&""!==this.settings.suffixText,"-"===a.charAt(this.selection.start-1)?r=r.substring(1):this.selection.start<=a.length-this.settings.suffixText.length&&(r=r.substring(0,r.length-1))):(this.caretFix=this.selection.start>=a.indexOf(this.settings.suffixText)&&""!==this.settings.suffixText,this.selection.start>=a.indexOf(this.settings.currencySymbol)+this.settings.currencySymbol.length&&(o=o.substring(1,o.length)),s.default.isNegative(r,this.settings.negativeSignCharacter)&&"-"===a.charAt(this.selection.start)&&(r=r.substring(1)))),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:this.caretFix=this.selection.start>=a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length,this.eventKey===l.default.keyName.Backspace?this.selection.start===a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length&&c?r=r.substring(1):"-"!==r&&(this.selection.start<=a.indexOf(this.settings.negativeSignCharacter)||!c)&&(r=r.substring(0,r.length-1)):("-"===r[0]&&(o=o.substring(1)),this.selection.start===a.indexOf(this.settings.negativeSignCharacter)&&c&&(r=r.substring(1)));break;case t.options.negativePositiveSignPlacement.right:this.caretFix=this.selection.start>=a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length,this.eventKey===l.default.keyName.Backspace?this.selection.start===a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length?r=r.substring(1):"-"!==r&&this.selection.start<=a.indexOf(this.settings.negativeSignCharacter)-this.settings.currencySymbol.length?r=r.substring(0,r.length-1):""===r||c||(r=r.substring(0,r.length-1)):(this.caretFix=this.selection.start>=a.indexOf(this.settings.currencySymbol)&&""!==this.settings.currencySymbol,this.selection.start===a.indexOf(this.settings.negativeSignCharacter)&&(r=r.substring(1)),o=o.substring(1))}return[r,o]}},{key:"_processCharacterDeletion",value:function(){var t=void 0,e=void 0;if(this.selection.length){this._expandSelectionOnSign();var i=this._getUnformattedLeftAndRightPartAroundTheSelection(),r=n(i,2);t=r[0],e=r[1]}else{var o=this._getUnformattedLeftAndRightPartAroundTheSelection(),a=n(o,2);if(t=a[0],e=a[1],""===t&&""===e&&(this.throwInput=!1),this.isTrailingNegative&&s.default.isNegative(s.default.getElementValue(this.domElement),this.settings.negativeSignCharacter)){var c=this._processCharacterDeletionIfTrailingNegativeSign([t,e]),u=n(c,2);t=u[0],e=u[1]}else this.eventKey===l.default.keyName.Backspace?t=t.substring(0,t.length-1):e=e.substring(1,e.length)}this._setValueParts(t,e)}},{key:"_isDecimalCharacterInsertionAllowed",value:function(){return String(this.settings.decimalPlacesShownOnFocus)!==String(t.options.decimalPlacesShownOnFocus.none)&&String(this.settings.decimalPlaces)!==String(t.options.decimalPlaces.none)}},{key:"_processCharacterInsertion",value:function(){var t=this._getUnformattedLeftAndRightPartAroundTheSelection(),e=n(t,2),i=e[0],r=e[1];if(this.eventKey!==l.default.keyName.AndroidDefault&&(this.throwInput=!0),this.eventKey===this.settings.decimalCharacter||this.settings.decimalCharacterAlternative&&this.eventKey===this.settings.decimalCharacterAlternative){if(!this._isDecimalCharacterInsertionAllowed()||!this.settings.decimalCharacter)return!1;if(this.settings.alwaysAllowDecimalCharacter)i=i.replace(this.settings.decimalCharacter,""),r=r.replace(this.settings.decimalCharacter,"");else{if(s.default.contains(i,this.settings.decimalCharacter))return!0;if(r.indexOf(this.settings.decimalCharacter)>0)return!0;0===r.indexOf(this.settings.decimalCharacter)&&(r=r.substr(1))}return this.settings.negativeSignCharacter&&s.default.contains(r,this.settings.negativeSignCharacter)&&(i=""+this.settings.negativeSignCharacter+i,r=r.replace(this.settings.negativeSignCharacter,"")),this._setValueParts(i+this.settings.decimalCharacter,r),!0}if(("-"===this.eventKey||"+"===this.eventKey)&&this.settings.isNegativeSignAllowed)return""===i&&s.default.contains(r,"-")?r=r.replace("-",""):i=s.default.isNegativeStrict(i,"-")?i.replace("-",""):""+this.settings.negativeSignCharacter+i,this._setValueParts(i,r),!0;var o=Number(this.eventKey);return o>=0&&o<=9?(this.settings.isNegativeSignAllowed&&""===i&&s.default.contains(r,"-")&&(i="-",r=r.substring(1,r.length)),this.settings.maximumValue<=0&&this.settings.minimumValuethis.settings.mIntPos&&"0"===o.charAt(0)&&(o=o.slice(1)),u===this.settings.negativeSignCharacter&&c.length>this.settings.mIntNeg&&"0"===o.charAt(0)&&(o=o.slice(1)),this.isTrailingNegative||(o=""+u+o)}var h=this.constructor._addGroupSeparators(i,this.settings,this.isFocused,this.rawValue),d=h.length;if(h){var f=o.split("");if((this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)&&f[0]===this.settings.negativeSignCharacter&&!this.settings.isNegativeSignAllowed&&(f.shift(),(this.eventKey===l.default.keyName.Backspace||this.eventKey===l.default.keyName.Delete)&&this.caretFix&&((this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left||this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix)&&(f.push(this.settings.negativeSignCharacter),this.caretFix="keydown"===e.type),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.right))){var p=this.settings.currencySymbol.split(""),g=["\\","^","$",".","|","?","*","+","(",")","["],m=[];p.forEach(function(t,e){e=p[t],s.default.isInArray(e,g)?m.push("\\"+e):m.push(e)}),this.eventKey===l.default.keyName.Backspace&&"-"===this.settings.negativeSignCharacter&&m.push("-"),f.push(m.join("")),this.caretFix="keydown"===e.type}for(var v=0;v0,l=s.default.isNumberOrArabic(e)||""===e,c=this._isPreDefinedOptionValid(e),u=s.default.isNull(e),h=s.default.isEmptyString(e),d=s.default.isObject(i),f=Array.isArray(i)&&i.length>0,p=s.default.isNull(i),g=this._isPreDefinedOptionValid(i),m=void 0,v=void 0,y=void 0;return n&&u&&p?(m=t,y=null,v=null):n&&l&&p?(m=t,y=e,v=null):n&&o&&p?(m=t,y=null,v=e):n&&c&&p?(m=t,y=null,v=this._getOptionObject(e)):n&&a&&p?(m=t,y=null,v=this.mergeOptions(e)):n&&(u||h)&&d?(m=t,y=null,v=i):n&&(u||h)&&f?(m=t,y=null,v=this.mergeOptions(i)):r&&u&&p?(m=document.querySelector(t),y=null,v=null):r&&o&&p?(m=document.querySelector(t),y=null,v=e):r&&c&&p?(m=document.querySelector(t),y=null,v=this._getOptionObject(e)):r&&a&&p?(m=document.querySelector(t),y=null,v=this.mergeOptions(e)):r&&(u||h)&&d?(m=document.querySelector(t),y=null,v=i):r&&(u||h)&&f?(m=document.querySelector(t),y=null,v=this.mergeOptions(i)):r&&l&&p?(m=document.querySelector(t),y=e,v=null):r&&l&&d?(m=document.querySelector(t),y=e,v=i):r&&l&&g?(m=document.querySelector(t),y=e,v=this._getOptionObject(i)):r&&l&&f?(m=document.querySelector(t),y=e,v=this.mergeOptions(i)):n&&l&&d?(m=t,y=e,v=i):n&&l&&g?(m=t,y=e,v=this._getOptionObject(i)):n&&l&&f?(m=t,y=e,v=this.mergeOptions(i)):s.default.throwError("The parameters given to the AutoNumeric object are not valid, '"+t+"', '"+e+"' and '"+i+"' given."),s.default.isNull(m)&&s.default.throwError("The selector '"+t+"' did not select any valid DOM element. Please check on which element you called AutoNumeric."),{domElement:m,initialValue:y,userOptions:v}}},{key:"mergeOptions",value:function(t){var e=this,i={};return t.forEach(function(t){r(i,e._getOptionObject(t))}),i}},{key:"_isPreDefinedOptionValid",value:function(e){return t.predefinedOptions.hasOwnProperty(e)}},{key:"_getOptionObject",value:function(e){var i=void 0;return s.default.isString(e)?null==(i=t.getPredefinedOptions()[e])&&s.default.warning("The given pre-defined option ["+e+"] is not recognized by autoNumeric. Please check that pre-defined option name.",!0):i=e,i}},{key:"_doesFormHandlerListExists",value:function(){var t=o(window.aNFormHandlerMap);return"undefined"!==t&&"object"===t}},{key:"_createFormHandlerList",value:function(){window.aNFormHandlerMap=new Map}},{key:"_checkValuesToStringsArray",value:function(t,e){return s.default.isInArray(String(t),e)}},{key:"_checkValuesToStringsSettings",value:function(t,e){return this._checkValuesToStringsArray(t,Object.keys(e.valuesToStrings))}},{key:"_checkStringsToValuesSettings",value:function(t,e){return this._checkValuesToStringsArray(t,Object.values(e.valuesToStrings))}},{key:"_unformatAltHovered",value:function(t){t.hoveredWithAlt=!0,t.unformat()}},{key:"_reformatAltHovered",value:function(t){t.hoveredWithAlt=!1,t.reformat()}},{key:"_getChildANInputElement",value:function(t){var e=this,i=t.getElementsByTagName("input"),n=[];return Array.prototype.slice.call(i,0).forEach(function(t){e.test(t)&&n.push(t)}),n}},{key:"test",value:function(t){return this._isInGlobalList(s.default.domElement(t))}},{key:"_createWeakMap",value:function(t){window[t]=new WeakMap}},{key:"_createGlobalList",value:function(){this.autoNumericGlobalListName="autoNumericGlobalList",this._createWeakMap(this.autoNumericGlobalListName)}},{key:"_doesGlobalListExists",value:function(){var t=o(window[this.autoNumericGlobalListName]);return"undefined"!==t&&"object"===t}},{key:"_addToGlobalList",value:function(t){this._doesGlobalListExists()||this._createGlobalList();var e=t.node();if(this._isInGlobalList(e)){if(this._getFromGlobalList(e)===this)return;s.default.warning("A reference to the DOM element you just initialized already exists in the global AutoNumeric element list. Please make sure to not initialize the same DOM element multiple times.",t.getSettings().showWarnings)}window[this.autoNumericGlobalListName].set(e,t)}},{key:"_removeFromGlobalList",value:function(t){this._doesGlobalListExists()&&window[this.autoNumericGlobalListName].delete(t.node())}},{key:"_getFromGlobalList",value:function(t){return this._doesGlobalListExists()?window[this.autoNumericGlobalListName].get(t):null}},{key:"_isInGlobalList",value:function(t){return!!this._doesGlobalListExists()&&window[this.autoNumericGlobalListName].has(t)}},{key:"validate",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!s.default.isUndefinedOrNullOrEmpty(e)&&s.default.isObject(e)||s.default.throwError("The userOptions are invalid ; it should be a valid object, ["+e+"] given.");var l=s.default.isObject(a);l||s.default.isNull(a)||s.default.throwError("The 'originalOptions' parameter is invalid ; it should either be a valid option object or `null`, ["+e+"] given."),s.default.isNull(e)||this._convertOldOptionsToNewOnes(e);var c=void 0;c=i?r({},this.getDefaultConfig(),e):e,s.default.isTrueOrFalseString(c.showWarnings)||s.default.isBoolean(c.showWarnings)||s.default.throwError("The debug option 'showWarnings' is invalid ; it should be either 'true' or 'false', ["+c.showWarnings+"] given.");var u=/^[0-9]+$/,h=/[0-9]+/,d=/^-?[0-9]+(\.?[0-9]+)?$/,f=/^[0-9]+(\.?[0-9]+)?$/;s.default.isTrueOrFalseString(c.allowDecimalPadding)||s.default.isBoolean(c.allowDecimalPadding)||c.allowDecimalPadding===t.options.allowDecimalPadding.floats||s.default.throwError("The decimal padding option 'allowDecimalPadding' is invalid ; it should either be `false`, `true` or `'floats'`, ["+c.allowDecimalPadding+"] given."),c.allowDecimalPadding!==t.options.allowDecimalPadding.never&&"false"!==c.allowDecimalPadding||c.decimalPlaces===t.options.decimalPlaces.none&&c.decimalPlacesShownOnBlur===t.options.decimalPlacesShownOnBlur.none&&c.decimalPlacesShownOnFocus===t.options.decimalPlacesShownOnFocus.none||s.default.warning("Setting 'allowDecimalPadding' to ["+c.allowDecimalPadding+"] will override the current 'decimalPlaces*' settings ["+c.decimalPlaces+", "+c.decimalPlacesShownOnBlur+" and "+c.decimalPlacesShownOnFocus+"].",c.showWarnings),s.default.isTrueOrFalseString(c.alwaysAllowDecimalCharacter)||s.default.isBoolean(c.alwaysAllowDecimalCharacter)||s.default.throwError("The option 'alwaysAllowDecimalCharacter' is invalid ; it should either be `true` or `false`, ["+c.alwaysAllowDecimalCharacter+"] given."),s.default.isNull(c.caretPositionOnFocus)||s.default.isInArray(c.caretPositionOnFocus,[t.options.caretPositionOnFocus.start,t.options.caretPositionOnFocus.end,t.options.caretPositionOnFocus.decimalLeft,t.options.caretPositionOnFocus.decimalRight])||s.default.throwError("The display on empty string option 'caretPositionOnFocus' is invalid ; it should either be `null`, 'focus', 'press', 'always' or 'zero', ["+c.caretPositionOnFocus+"] given.");var p=void 0;p=l?a:this._correctCaretPositionOnFocusAndSelectOnFocusOptions(e),s.default.isNull(p)||p.caretPositionOnFocus===t.options.caretPositionOnFocus.doNoForceCaretPosition||p.selectOnFocus!==t.options.selectOnFocus.select||s.default.warning("The 'selectOnFocus' option is set to 'select', which is in conflict with the 'caretPositionOnFocus' which is set to '"+p.caretPositionOnFocus+"'. As a result, if this has been called when instantiating an AutoNumeric object, the 'selectOnFocus' option is forced to 'doNotSelect'.",c.showWarnings),s.default.isInArray(c.digitGroupSeparator,[t.options.digitGroupSeparator.comma,t.options.digitGroupSeparator.dot,t.options.digitGroupSeparator.normalSpace,t.options.digitGroupSeparator.thinSpace,t.options.digitGroupSeparator.narrowNoBreakSpace,t.options.digitGroupSeparator.noBreakSpace,t.options.digitGroupSeparator.noSeparator,t.options.digitGroupSeparator.apostrophe,t.options.digitGroupSeparator.arabicThousandsSeparator,t.options.digitGroupSeparator.dotAbove,t.options.digitGroupSeparator.privateUseTwo])||s.default.throwError("The thousand separator character option 'digitGroupSeparator' is invalid ; it should be ',', '.', '٬', '˙', \"'\", '’', ' ', ' ', ' ', ' ' or empty (''), ["+c.digitGroupSeparator+"] given."),s.default.isTrueOrFalseString(c.showOnlyNumbersOnFocus)||s.default.isBoolean(c.showOnlyNumbersOnFocus)||s.default.throwError("The 'showOnlyNumbersOnFocus' option is invalid ; it should be either 'true' or 'false', ["+c.showOnlyNumbersOnFocus+"] given."),s.default.isInArray(c.digitalGroupSpacing,[t.options.digitalGroupSpacing.two,t.options.digitalGroupSpacing.twoScaled,t.options.digitalGroupSpacing.three,t.options.digitalGroupSpacing.four])||c.digitalGroupSpacing>=2&&c.digitalGroupSpacing<=4||s.default.throwError("The grouping separator option for thousands 'digitalGroupSpacing' is invalid ; it should be '2', '2s', '3', or '4', ["+c.digitalGroupSpacing+"] given."),s.default.isInArray(c.decimalCharacter,[t.options.decimalCharacter.comma,t.options.decimalCharacter.dot,t.options.decimalCharacter.middleDot,t.options.decimalCharacter.arabicDecimalSeparator,t.options.decimalCharacter.decimalSeparatorKeySymbol])||s.default.throwError("The decimal separator character option 'decimalCharacter' is invalid ; it should be '.', ',', '·', '⎖' or '٫', ["+c.decimalCharacter+"] given."),c.decimalCharacter===c.digitGroupSeparator&&s.default.throwError("autoNumeric will not function properly when the decimal character 'decimalCharacter' ["+c.decimalCharacter+"] and the thousand separator 'digitGroupSeparator' ["+c.digitGroupSeparator+"] are the same character."),s.default.isNull(c.decimalCharacterAlternative)||s.default.isString(c.decimalCharacterAlternative)||s.default.throwError("The alternate decimal separator character option 'decimalCharacterAlternative' is invalid ; it should be a string, ["+c.decimalCharacterAlternative+"] given."),""===c.currencySymbol||s.default.isString(c.currencySymbol)||s.default.throwError("The currency symbol option 'currencySymbol' is invalid ; it should be a string, ["+c.currencySymbol+"] given."),s.default.isInArray(c.currencySymbolPlacement,[t.options.currencySymbolPlacement.prefix,t.options.currencySymbolPlacement.suffix])||s.default.throwError("The placement of the currency sign option 'currencySymbolPlacement' is invalid ; it should either be 'p' (prefix) or 's' (suffix), ["+c.currencySymbolPlacement+"] given."),s.default.isInArray(c.negativePositiveSignPlacement,[t.options.negativePositiveSignPlacement.prefix,t.options.negativePositiveSignPlacement.suffix,t.options.negativePositiveSignPlacement.left,t.options.negativePositiveSignPlacement.right,t.options.negativePositiveSignPlacement.none])||s.default.throwError("The placement of the negative sign option 'negativePositiveSignPlacement' is invalid ; it should either be 'p' (prefix), 's' (suffix), 'l' (left), 'r' (right) or 'null', ["+c.negativePositiveSignPlacement+"] given."),s.default.isTrueOrFalseString(c.showPositiveSign)||s.default.isBoolean(c.showPositiveSign)||s.default.throwError("The show positive sign option 'showPositiveSign' is invalid ; it should be either 'true' or 'false', ["+c.showPositiveSign+"] given."),(!s.default.isString(c.suffixText)||""!==c.suffixText&&(s.default.isNegative(c.suffixText,c.negativeSignCharacter)||h.test(c.suffixText)))&&s.default.throwError("The additional suffix option 'suffixText' is invalid ; it should not contains the negative sign '"+c.negativeSignCharacter+"' nor any numerical characters, ["+c.suffixText+"] given."),(!s.default.isString(c.negativeSignCharacter)||1!==c.negativeSignCharacter.length||s.default.isUndefinedOrNullOrEmpty(c.negativeSignCharacter)||h.test(c.negativeSignCharacter))&&s.default.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, ["+c.negativeSignCharacter+"] given."),(!s.default.isString(c.positiveSignCharacter)||1!==c.positiveSignCharacter.length||s.default.isUndefinedOrNullOrEmpty(c.positiveSignCharacter)||h.test(c.positiveSignCharacter))&&s.default.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, ["+c.positiveSignCharacter+"] given.\nIf you want to hide the positive sign character, you need to set the `showPositiveSign` option to `true`."),c.negativeSignCharacter===c.positiveSignCharacter&&s.default.throwError("The positive 'positiveSignCharacter' and negative 'negativeSignCharacter' sign characters cannot be identical ; ["+c.negativeSignCharacter+"] given.");var g=s.default.isNull(c.negativeBracketsTypeOnBlur)?["",""]:c.negativeBracketsTypeOnBlur.split(","),m=n(g,2),v=m[0],y=m[1];if((s.default.contains(c.digitGroupSeparator,c.negativeSignCharacter)||s.default.contains(c.decimalCharacter,c.negativeSignCharacter)||s.default.contains(c.decimalCharacterAlternative,c.negativeSignCharacter)||s.default.contains(v,c.negativeSignCharacter)||s.default.contains(y,c.negativeSignCharacter)||s.default.contains(c.suffixText,c.negativeSignCharacter))&&s.default.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, ["+c.negativeSignCharacter+"] given."),(s.default.contains(c.digitGroupSeparator,c.positiveSignCharacter)||s.default.contains(c.decimalCharacter,c.positiveSignCharacter)||s.default.contains(c.decimalCharacterAlternative,c.positiveSignCharacter)||s.default.contains(v,c.positiveSignCharacter)||s.default.contains(y,c.positiveSignCharacter)||s.default.contains(c.suffixText,c.positiveSignCharacter))&&s.default.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, ["+c.positiveSignCharacter+"] given."),s.default.isNull(c.overrideMinMaxLimits)||s.default.isInArray(c.overrideMinMaxLimits,[t.options.overrideMinMaxLimits.ceiling,t.options.overrideMinMaxLimits.floor,t.options.overrideMinMaxLimits.ignore])||s.default.throwError("The override min & max limits option 'overrideMinMaxLimits' is invalid ; it should either be 'ceiling', 'floor' or 'ignore', ["+c.overrideMinMaxLimits+"] given."),s.default.isString(c.maximumValue)&&d.test(c.maximumValue)||s.default.throwError("The maximum possible value option 'maximumValue' is invalid ; it should be a string that represents a positive or negative number, ["+c.maximumValue+"] given."),s.default.isString(c.minimumValue)&&d.test(c.minimumValue)||s.default.throwError("The minimum possible value option 'minimumValue' is invalid ; it should be a string that represents a positive or negative number, ["+c.minimumValue+"] given."),parseFloat(c.minimumValue)>parseFloat(c.maximumValue)&&s.default.throwError("The minimum possible value option is greater than the maximum possible value option ; 'minimumValue' ["+c.minimumValue+"] should be smaller than 'maximumValue' ["+c.maximumValue+"]."),s.default.isInt(c.decimalPlaces)&&c.decimalPlaces>=0||s.default.isString(c.decimalPlaces)&&u.test(c.decimalPlaces)||s.default.throwError("The number of decimal places option 'decimalPlaces' is invalid ; it should be a positive integer, ["+c.decimalPlaces+"] given."),s.default.isNull(c.decimalPlacesRawValue)||s.default.isInt(c.decimalPlacesRawValue)&&c.decimalPlacesRawValue>=0||s.default.isString(c.decimalPlacesRawValue)&&u.test(c.decimalPlacesRawValue)||s.default.throwError("The number of decimal places for the raw value option 'decimalPlacesRawValue' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesRawValue+"] given."),this._validateDecimalPlacesRawValue(c),s.default.isNull(c.decimalPlacesShownOnFocus)||u.test(String(c.decimalPlacesShownOnFocus))||s.default.throwError("The number of expanded decimal places option 'decimalPlacesShownOnFocus' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesShownOnFocus+"] given."),!s.default.isNull(c.decimalPlacesShownOnFocus)&&Number(c.decimalPlaces)>Number(c.decimalPlacesShownOnFocus)&&s.default.warning("The extended decimal places 'decimalPlacesShownOnFocus' ["+c.decimalPlacesShownOnFocus+"] should be greater than the 'decimalPlaces' ["+c.decimalPlaces+"] value. Currently, this will limit the ability of your user to manually change some of the decimal places. Do you really want to do that?",c.showWarnings),(s.default.isNull(c.divisorWhenUnfocused)||f.test(c.divisorWhenUnfocused))&&0!==c.divisorWhenUnfocused&&"0"!==c.divisorWhenUnfocused&&1!==c.divisorWhenUnfocused&&"1"!==c.divisorWhenUnfocused||s.default.throwError("The divisor option 'divisorWhenUnfocused' is invalid ; it should be a positive number higher than one, preferably an integer, ["+c.divisorWhenUnfocused+"] given."),s.default.isNull(c.decimalPlacesShownOnBlur)||u.test(c.decimalPlacesShownOnBlur)||s.default.throwError("The number of decimals shown when unfocused option 'decimalPlacesShownOnBlur' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesShownOnBlur+"] given."),s.default.isNull(c.symbolWhenUnfocused)||s.default.isString(c.symbolWhenUnfocused)||s.default.throwError("The symbol to show when unfocused option 'symbolWhenUnfocused' is invalid ; it should be a string, ["+c.symbolWhenUnfocused+"] given."),s.default.isTrueOrFalseString(c.saveValueToSessionStorage)||s.default.isBoolean(c.saveValueToSessionStorage)||s.default.throwError("The save to session storage option 'saveValueToSessionStorage' is invalid ; it should be either 'true' or 'false', ["+c.saveValueToSessionStorage+"] given."),s.default.isInArray(c.onInvalidPaste,[t.options.onInvalidPaste.error,t.options.onInvalidPaste.ignore,t.options.onInvalidPaste.clamp,t.options.onInvalidPaste.truncate,t.options.onInvalidPaste.replace])||s.default.throwError("The paste behavior option 'onInvalidPaste' is invalid ; it should either be 'error', 'ignore', 'clamp', 'truncate' or 'replace' (cf. documentation), ["+c.onInvalidPaste+"] given."),s.default.isInArray(c.roundingMethod,[t.options.roundingMethod.halfUpSymmetric,t.options.roundingMethod.halfUpAsymmetric,t.options.roundingMethod.halfDownSymmetric,t.options.roundingMethod.halfDownAsymmetric,t.options.roundingMethod.halfEvenBankersRounding,t.options.roundingMethod.upRoundAwayFromZero,t.options.roundingMethod.downRoundTowardZero,t.options.roundingMethod.toCeilingTowardPositiveInfinity,t.options.roundingMethod.toFloorTowardNegativeInfinity,t.options.roundingMethod.toNearest05,t.options.roundingMethod.toNearest05Alt,t.options.roundingMethod.upToNext05,t.options.roundingMethod.downToNext05])||s.default.throwError("The rounding method option 'roundingMethod' is invalid ; it should either be 'S', 'A', 's', 'a', 'B', 'U', 'D', 'C', 'F', 'N05', 'CHF', 'U05' or 'D05' (cf. documentation), ["+c.roundingMethod+"] given."),s.default.isNull(c.negativeBracketsTypeOnBlur)||s.default.isInArray(c.negativeBracketsTypeOnBlur,[t.options.negativeBracketsTypeOnBlur.parentheses,t.options.negativeBracketsTypeOnBlur.brackets,t.options.negativeBracketsTypeOnBlur.chevrons,t.options.negativeBracketsTypeOnBlur.curlyBraces,t.options.negativeBracketsTypeOnBlur.angleBrackets,t.options.negativeBracketsTypeOnBlur.japaneseQuotationMarks,t.options.negativeBracketsTypeOnBlur.halfBrackets,t.options.negativeBracketsTypeOnBlur.whiteSquareBrackets,t.options.negativeBracketsTypeOnBlur.quotationMarks,t.options.negativeBracketsTypeOnBlur.guillemets])||s.default.throwError("The brackets for negative values option 'negativeBracketsTypeOnBlur' is invalid ; it should either be '(,)', '[,]', '<,>', '{,}', '〈,〉', '「,」', '⸤,⸥', '⟦,⟧', '‹,›' or '«,»', ["+c.negativeBracketsTypeOnBlur+"] given."),(s.default.isString(c.emptyInputBehavior)||s.default.isNumber(c.emptyInputBehavior))&&(s.default.isInArray(c.emptyInputBehavior,[t.options.emptyInputBehavior.focus,t.options.emptyInputBehavior.press,t.options.emptyInputBehavior.always,t.options.emptyInputBehavior.min,t.options.emptyInputBehavior.max,t.options.emptyInputBehavior.zero,t.options.emptyInputBehavior.null])||d.test(c.emptyInputBehavior))||s.default.throwError("The display on empty string option 'emptyInputBehavior' is invalid ; it should either be 'focus', 'press', 'always', 'min', 'max', 'zero', 'null', a number, or a string that represents a number, ["+c.emptyInputBehavior+"] given."),c.emptyInputBehavior===t.options.emptyInputBehavior.zero&&(c.minimumValue>0||c.maximumValue<0)&&s.default.throwError("The 'emptyInputBehavior' option is set to 'zero', but this value is outside of the range defined by 'minimumValue' and 'maximumValue' ["+c.minimumValue+", "+c.maximumValue+"]."),d.test(String(c.emptyInputBehavior))){var b=this._checkIfInRangeWithOverrideOption(c.emptyInputBehavior,c),L=n(b,2),x=L[0],w=L[1];x&&w||s.default.throwError("The 'emptyInputBehavior' option is set to a number or a string that represents a number, but its value ["+c.emptyInputBehavior+"] is outside of the range defined by the 'minimumValue' and 'maximumValue' options ["+c.minimumValue+", "+c.maximumValue+"].")}s.default.isTrueOrFalseString(c.eventBubbles)||s.default.isBoolean(c.eventBubbles)||s.default.throwError("The event bubbles option 'eventBubbles' is invalid ; it should be either 'true' or 'false', ["+c.eventBubbles+"] given."),s.default.isTrueOrFalseString(c.eventIsCancelable)||s.default.isBoolean(c.eventIsCancelable)||s.default.throwError("The event is cancelable option 'eventIsCancelable' is invalid ; it should be either 'true' or 'false', ["+c.eventIsCancelable+"] given."),s.default.isInArray(c.leadingZero,[t.options.leadingZero.allow,t.options.leadingZero.deny,t.options.leadingZero.keep])||s.default.throwError("The leading zero behavior option 'leadingZero' is invalid ; it should either be 'allow', 'deny' or 'keep', ["+c.leadingZero+"] given."),s.default.isTrueOrFalseString(c.formatOnPageLoad)||s.default.isBoolean(c.formatOnPageLoad)||s.default.throwError("The format on initialization option 'formatOnPageLoad' is invalid ; it should be either 'true' or 'false', ["+c.formatOnPageLoad+"] given."),s.default.isTrueOrFalseString(c.formulaMode)||s.default.isBoolean(c.formulaMode)||s.default.throwError("The formula mode option 'formulaMode' is invalid ; it should be either 'true' or 'false', ["+c.formulaMode+"] given."),u.test(c.historySize)&&0!==c.historySize||s.default.throwError("The history size option 'historySize' is invalid ; it should be a positive integer, ["+c.historySize+"] given."),s.default.isTrueOrFalseString(c.selectNumberOnly)||s.default.isBoolean(c.selectNumberOnly)||s.default.throwError("The select number only option 'selectNumberOnly' is invalid ; it should be either 'true' or 'false', ["+c.selectNumberOnly+"] given."),s.default.isTrueOrFalseString(c.selectOnFocus)||s.default.isBoolean(c.selectOnFocus)||s.default.throwError("The select on focus option 'selectOnFocus' is invalid ; it should be either 'true' or 'false', ["+c.selectOnFocus+"] given."),s.default.isNull(c.defaultValueOverride)||""===c.defaultValueOverride||d.test(c.defaultValueOverride)||s.default.throwError("The unformatted default value option 'defaultValueOverride' is invalid ; it should be a string that represents a positive or negative number, ["+c.defaultValueOverride+"] given."),s.default.isTrueOrFalseString(c.unformatOnSubmit)||s.default.isBoolean(c.unformatOnSubmit)||s.default.throwError("The remove formatting on submit option 'unformatOnSubmit' is invalid ; it should be either 'true' or 'false', ["+c.unformatOnSubmit+"] given."),s.default.isNull(c.valuesToStrings)||s.default.isObject(c.valuesToStrings)||s.default.throwError("The option 'valuesToStrings' is invalid ; it should be an object, ideally with 'key -> value' entries, ["+c.valuesToStrings+"] given."),s.default.isNull(c.outputFormat)||s.default.isInArray(c.outputFormat,[t.options.outputFormat.string,t.options.outputFormat.number,t.options.outputFormat.dot,t.options.outputFormat.negativeDot,t.options.outputFormat.comma,t.options.outputFormat.negativeComma,t.options.outputFormat.dotNegative,t.options.outputFormat.commaNegative])||s.default.throwError("The custom locale format option 'outputFormat' is invalid ; it should either be null, 'string', 'number', '.', '-.', ',', '-,', '.-' or ',-', ["+c.outputFormat+"] given."),s.default.isTrueOrFalseString(c.isCancellable)||s.default.isBoolean(c.isCancellable)||s.default.throwError("The cancellable behavior option 'isCancellable' is invalid ; it should be either 'true' or 'false', ["+c.isCancellable+"] given."),s.default.isTrueOrFalseString(c.modifyValueOnWheel)||s.default.isBoolean(c.modifyValueOnWheel)||s.default.throwError("The increment/decrement on mouse wheel option 'modifyValueOnWheel' is invalid ; it should be either 'true' or 'false', ["+c.modifyValueOnWheel+"] given."),s.default.isTrueOrFalseString(c.watchExternalChanges)||s.default.isBoolean(c.watchExternalChanges)||s.default.throwError("The option 'watchExternalChanges' is invalid ; it should be either 'true' or 'false', ["+c.watchExternalChanges+"] given."),s.default.isInArray(c.wheelOn,[t.options.wheelOn.focus,t.options.wheelOn.hover])||s.default.throwError("The wheel behavior option 'wheelOn' is invalid ; it should either be 'focus' or 'hover', ["+c.wheelOn+"] given."),(!s.default.isString(c.wheelStep)&&!s.default.isNumber(c.wheelStep)||"progressive"!==c.wheelStep&&!f.test(c.wheelStep)||0===Number(c.wheelStep))&&s.default.throwError("The wheel step value option 'wheelStep' is invalid ; it should either be the string 'progressive', or a number or a string that represents a positive number (excluding zero), ["+c.wheelStep+"] given."),s.default.isInArray(c.serializeSpaces,[t.options.serializeSpaces.plus,t.options.serializeSpaces.percent])||s.default.throwError("The space replacement character option 'serializeSpaces' is invalid ; it should either be '+' or '%20', ["+c.serializeSpaces+"] given."),s.default.isTrueOrFalseString(c.noEventListeners)||s.default.isBoolean(c.noEventListeners)||s.default.throwError("The option 'noEventListeners' that prevent the creation of event listeners is invalid ; it should be either 'true' or 'false', ["+c.noEventListeners+"] given."),s.default.isNull(c.styleRules)||s.default.isObject(c.styleRules)&&(c.styleRules.hasOwnProperty("positive")||c.styleRules.hasOwnProperty("negative")||c.styleRules.hasOwnProperty("ranges")||c.styleRules.hasOwnProperty("userDefined"))||s.default.throwError("The option 'styleRules' is invalid ; it should be a correctly structured object, with one or more 'positive', 'negative', 'ranges' or 'userDefined' attributes, ["+c.styleRules+"] given."),s.default.isNull(c.styleRules)||!c.styleRules.hasOwnProperty("userDefined")||s.default.isNull(c.styleRules.userDefined)||c.styleRules.userDefined.forEach(function(t){t.hasOwnProperty("callback")&&!s.default.isFunction(t.callback)&&s.default.throwError("The callback defined in the `userDefined` attribute is not a function, "+o(t.callback)+" given.")}),(s.default.isNull(c.rawValueDivisor)||f.test(c.rawValueDivisor))&&0!==c.rawValueDivisor&&"0"!==c.rawValueDivisor&&1!==c.rawValueDivisor&&"1"!==c.rawValueDivisor||s.default.throwError("The raw value divisor option 'rawValueDivisor' is invalid ; it should be a positive number higher than one, preferably an integer, ["+c.rawValueDivisor+"] given."),s.default.isTrueOrFalseString(c.readOnly)||s.default.isBoolean(c.readOnly)||s.default.throwError("The option 'readOnly' is invalid ; it should be either 'true' or 'false', ["+c.readOnly+"] given."),s.default.isTrueOrFalseString(c.unformatOnHover)||s.default.isBoolean(c.unformatOnHover)||s.default.throwError("The option 'unformatOnHover' is invalid ; it should be either 'true' or 'false', ["+c.unformatOnHover+"] given."),s.default.isTrueOrFalseString(c.failOnUnknownOption)||s.default.isBoolean(c.failOnUnknownOption)||s.default.throwError("The debug option 'failOnUnknownOption' is invalid ; it should be either 'true' or 'false', ["+c.failOnUnknownOption+"] given."),s.default.isTrueOrFalseString(c.createLocalList)||s.default.isBoolean(c.createLocalList)||s.default.throwError("The debug option 'createLocalList' is invalid ; it should be either 'true' or 'false', ["+c.createLocalList+"] given.")}},{key:"_validateDecimalPlacesRawValue",value:function(t){s.default.isNull(t.decimalPlacesRawValue)||(t.decimalPlacesRawValue=1&&t.forEach(function(t){r(i,e._getOptionObject(t))})),i}},{key:"format",value:function(e){if(s.default.isUndefined(e)||null===e)return null;var i=void 0;i=s.default.isElement(e)?s.default.getElementValue(e):e,s.default.isString(i)||s.default.isNumber(i)||s.default.throwError('The value "'+i+'" being "set" is not numeric and therefore cannot be used appropriately.');for(var o=arguments.length,a=Array(o>1?o-1:0),l=1;l=0,this._setBrackets(u);this._cachesUsualRegularExpressions(u,{});var h=this._toNumericValue(i,u);isNaN(Number(h))&&s.default.throwError("The value ["+h+"] that you are trying to format is not a recognized number.");var d=this._checkIfInRangeWithOverrideOption(h,u),f=n(d,2),p=f[0],g=f[1];return p&&g||(s.default.triggerEvent(t.events.formatted,document,{oldValue:null,newValue:null,oldRawValue:null,newRawValue:null,isPristine:null,error:"Range test failed",aNElement:null},!0,!0),s.default.throwError("The value ["+h+"] being set falls outside of the minimumValue ["+u.minimumValue+"] and maximumValue ["+u.maximumValue+"] range set for this element")),u.valuesToStrings&&this._checkValuesToStringsSettings(i,u)?u.valuesToStrings[i]:(this._correctNegativePositiveSignPlacementOption(u),this._calculateDecimalPlacesOnInit(u),s.default.isUndefinedOrNullOrEmpty(u.rawValueDivisor)||0===u.rawValueDivisor||""===h||null===h||(h*=u.rawValueDivisor),h=this._roundFormattedValueShownOnFocus(h,u),h=this._modifyNegativeSignAndDecimalCharacterForFormattedValue(h,u),h=this._addGroupSeparators(h,u,!1,h))}},{key:"formatAndSet",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.format(t,e);return s.default.setElementValue(t,i),i}},{key:"unformat",value:function(t){if(s.default.isNumberStrict(t))return t;var e=void 0;if(""===(e=s.default.isElement(t)?s.default.getElementValue(t):t))return"";if(s.default.isUndefined(e)||null===e)return null;(s.default.isArray(e)||s.default.isObject(e))&&s.default.throwError("A number or a string representing a number is needed to be able to unformat it, ["+e+"] given.");for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:null,i=this.unformat(t,e);return s.default.setElementValue(t,i),i}},{key:"localize",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=void 0;if(""===(n=s.default.isElement(e)?s.default.getElementValue(e):e))return"";s.default.isNull(i)&&(i=t.defaultSettings),n=this.unformat(n,i),0===Number(n)&&i.leadingZero!==t.options.leadingZero.keep&&(n="0");var r=void 0;return r=s.default.isNull(i)?i.outputFormat:t.defaultSettings.outputFormat,this._toLocale(n,r,i)}},{key:"localizeAndSet",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.localize(t,e);return s.default.setElementValue(t,i),i}},{key:"isManagedByAutoNumeric",value:function(t){return this._isInGlobalList(s.default.domElement(t))}},{key:"getAutoNumericElement",value:function(t){var e=s.default.domElement(t);return this.isManagedByAutoNumeric(e)?this._getFromGlobalList(e):null}},{key:"set",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=s.default.domElement(t);if(!this.isManagedByAutoNumeric(r)){var o=void 0;return o=!(!s.default.isNull(i)&&i.hasOwnProperty("showWarnings"))||i.showWarnings,s.default.warning("Impossible to find an AutoNumeric object for the given DOM element or selector.",o),null}return this.getAutoNumericElement(r).set(e,i,n)}},{key:"getNumericString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getNumericString",e)}},{key:"getFormatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getFormatted",e)}},{key:"getNumber",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getNumber",e)}},{key:"_get",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.default.domElement(t);return this.isManagedByAutoNumeric(n)||s.default.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."),this.getAutoNumericElement(n)[e](i)}},{key:"getLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.default.domElement(t);return this.isManagedByAutoNumeric(n)||s.default.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."),this.getAutoNumericElement(n).getLocalized(e,i)}},{key:"_stripAllNonNumberCharacters",value:function(t,e,i,n){return this._stripAllNonNumberCharactersExceptCustomDecimalChar(t,e,i,n).replace(e.decimalCharacter,".")}},{key:"_stripAllNonNumberCharactersExceptCustomDecimalChar",value:function(e,i,r,o){var a=(e=(e=this._normalizeCurrencySuffixAndNegativeSignCharacters(e,i)).replace(i.allowedAutoStrip,"")).match(i.numRegAutoStrip);if(e=a?[a[1],a[2],a[3]].join(""):"",i.leadingZero===t.options.leadingZero.allow||i.leadingZero===t.options.leadingZero.keep){var l="",c=e.split(i.decimalCharacter),u=n(c,2),h=u[0],d=u[1],f=h;s.default.contains(f,i.negativeSignCharacter)&&(l=i.negativeSignCharacter,f=f.replace(i.negativeSignCharacter,"")),""===l&&f.length>i.mIntPos&&"0"===f.charAt(0)&&(f=f.slice(1)),""!==l&&f.length>i.mIntNeg&&"0"===f.charAt(0)&&(f=f.slice(1)),e=""+l+f+(s.default.isUndefined(d)?"":i.decimalCharacter+d)}return(r&&i.leadingZero===t.options.leadingZero.deny||!o&&i.leadingZero===t.options.leadingZero.allow)&&(e=e.replace(i.stripReg,"$1$2")),e}},{key:"_toggleNegativeBracket",value:function(t,e,i){return i?this._removeBrackets(t,e):this._addBrackets(t,e)}},{key:"_addBrackets",value:function(t,e){return s.default.isNull(e.negativeBracketsTypeOnBlur)?t:""+e.firstBracket+t.replace(e.negativeSignCharacter,"")+e.lastBracket}},{key:"_removeBrackets",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=void 0;return s.default.isNull(e.negativeBracketsTypeOnBlur)||t.charAt(0)!==e.firstBracket?n=t:(n=(n=t.replace(e.firstBracket,"")).replace(e.lastBracket,""),i?(n=n.replace(e.currencySymbol,""),n=this._mergeCurrencySignNegativePositiveSignAndValue(n,e,!0,!1)):n=""+e.negativeSignCharacter+n),n}},{key:"_setBrackets",value:function(t){if(s.default.isNull(t.negativeBracketsTypeOnBlur))t.firstBracket="",t.lastBracket="";else{var e=t.negativeBracketsTypeOnBlur.split(","),i=n(e,2),r=i[0],o=i[1];t.firstBracket=r,t.lastBracket=o}}},{key:"_convertToNumericString",value:function(e,i){e=this._removeBrackets(e,i,!1),e=(e=this._normalizeCurrencySuffixAndNegativeSignCharacters(e,i)).replace(new RegExp("["+i.digitGroupSeparator+"]","g"),""),"."!==i.decimalCharacter&&(e=e.replace(i.decimalCharacter,".")),s.default.isNegative(e)&&e.lastIndexOf("-")===e.length-1&&(e="-"+(e=e.replace("-",""))),i.showPositiveSign&&(e=e.replace(i.positiveSignCharacter,""));var n=i.leadingZero!==t.options.leadingZero.keep,r=s.default.arabicToLatinNumbers(e,n,!1,!1);return isNaN(r)||(e=r.toString()),e}},{key:"_normalizeCurrencySuffixAndNegativeSignCharacters",value:function(e,i){return e=String(e),i.currencySymbol!==t.options.currencySymbol.none&&(e=e.replace(i.currencySymbol,"")),i.suffixText!==t.options.suffixText.none&&(e=e.replace(i.suffixText,"")),i.negativeSignCharacter!==t.options.negativeSignCharacter.hyphen&&(e=e.replace(i.negativeSignCharacter,"-")),e}},{key:"_toLocale",value:function(e,i,n){if(s.default.isNull(i)||i===t.options.outputFormat.string)return e;var r=void 0;switch(i){case t.options.outputFormat.number:r=Number(e);break;case t.options.outputFormat.dotNegative:r=s.default.isNegative(e)?e.replace("-","")+"-":e;break;case t.options.outputFormat.comma:case t.options.outputFormat.negativeComma:r=e.replace(".",",");break;case t.options.outputFormat.commaNegative:r=e.replace(".",","),r=s.default.isNegative(r)?r.replace("-","")+"-":r;break;case t.options.outputFormat.dot:case t.options.outputFormat.negativeDot:r=e;break;default:s.default.throwError("The given outputFormat ["+i+"] option is not recognized.")}return i!==t.options.outputFormat.number&&"-"!==n.negativeSignCharacter&&(r=r.replace("-",n.negativeSignCharacter)),r}},{key:"_modifyNegativeSignAndDecimalCharacterForFormattedValue",value:function(t,e){return"-"!==e.negativeSignCharacter&&(t=t.replace("-",e.negativeSignCharacter)),"."!==e.decimalCharacter&&(t=t.replace(".",e.decimalCharacter)),t}},{key:"_isElementValueEmptyOrOnlyTheNegativeSign",value:function(t,e){return""===t||t===e.negativeSignCharacter}},{key:"_orderValueCurrencySymbolAndSuffixText",value:function(e,i,n){var r=void 0;if(i.emptyInputBehavior===t.options.emptyInputBehavior.always||n)switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.none:r=e+i.currencySymbol+i.suffixText;break;default:r=i.currencySymbol+e+i.suffixText}else r=e;return r}},{key:"_addGroupSeparators",value:function(e,i,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=void 0;if(l=s.default.isNull(a)?s.default.isNegative(e,i.negativeSignCharacter)||s.default.isNegativeWithBrackets(e,i.firstBracket,i.lastBracket):a<0,e=this._stripAllNonNumberCharactersExceptCustomDecimalChar(e,i,!1,r),this._isElementValueEmptyOrOnlyTheNegativeSign(e,i))return this._orderValueCurrencySymbolAndSuffixText(e,i,!0);var c=s.default.isZeroOrHasNoValue(e);l&&(e=e.replace("-","")),i.digitalGroupSpacing=i.digitalGroupSpacing.toString();var u=void 0;switch(i.digitalGroupSpacing){case t.options.digitalGroupSpacing.two:u=/(\d)((\d)(\d{2}?)+)$/;break;case t.options.digitalGroupSpacing.twoScaled:u=/(\d)((?:\d{2}){0,2}\d{3}(?:(?:\d{2}){2}\d{3})*?)$/;break;case t.options.digitalGroupSpacing.four:u=/(\d)((\d{4}?)+)$/;break;case t.options.digitalGroupSpacing.three:default:u=/(\d)((\d{3}?)+)$/}var h=e.split(i.decimalCharacter),d=n(h,2),f=d[0],p=d[1];if(i.decimalCharacterAlternative&&s.default.isUndefined(p)){var g=e.split(i.decimalCharacterAlternative),m=n(g,2);f=m[0],p=m[1]}if(""!==i.digitGroupSeparator)for(;u.test(f);)f=f.replace(u,"$1"+i.digitGroupSeparator+"$2");var v=void 0;0===(v=r?i.decimalPlacesShownOnFocus:i.decimalPlacesShownOnBlur)||s.default.isUndefined(p)?e=f:(p.length>v&&(p=p.substring(0,v)),e=""+f+i.decimalCharacter+p),e=t._mergeCurrencySignNegativePositiveSignAndValue(e,i,l,c),s.default.isNull(a)&&(a=o),null!==i.negativeBracketsTypeOnBlur&&(a<0||s.default.isNegativeStrict(e,i.negativeSignCharacter))&&(e=this._toggleNegativeBracket(e,i,r));return i.suffixText?""+e+i.suffixText:e}},{key:"_mergeCurrencySignNegativePositiveSignAndValue",value:function(e,i,n,r){var o="";n?o=i.negativeSignCharacter:i.showPositiveSign&&!r&&(o=i.positiveSignCharacter);var a=void 0;if(i.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix)if(i.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(n||!n&&i.showPositiveSign&&!r))switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:a=""+o+i.currencySymbol+e;break;case t.options.negativePositiveSignPlacement.right:a=""+i.currencySymbol+o+e;break;case t.options.negativePositiveSignPlacement.suffix:a=""+i.currencySymbol+e+o}else a=i.currencySymbol+e;else if(i.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)if(i.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(n||!n&&i.showPositiveSign&&!r))switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:a=""+e+i.currencySymbol+o;break;case t.options.negativePositiveSignPlacement.left:a=""+e+o+i.currencySymbol;break;case t.options.negativePositiveSignPlacement.prefix:a=""+o+e+i.currencySymbol}else a=e+i.currencySymbol;return a}},{key:"_truncateZeros",value:function(t,e){var i=void 0;switch(e){case 0:i=/(\.(?:\d*[1-9])?)0*$/;break;case 1:i=/(\.\d(?:\d*[1-9])?)0*$/;break;default:i=new RegExp("(\\.\\d{"+e+"}(?:\\d*[1-9])?)0*")}return t=t.replace(i,"$1"),0===e&&(t=t.replace(/\.$/,"")),t}},{key:"_roundRawValue",value:function(t,e){return this._roundValue(t,e,e.decimalPlacesRawValue)}},{key:"_roundFormattedValueShownOnFocus",value:function(t,e){return this._roundValue(t,e,Number(e.decimalPlacesShownOnFocus))}},{key:"_roundFormattedValueShownOnBlur",value:function(t,e){return this._roundValue(t,e,Number(e.decimalPlacesShownOnBlur))}},{key:"_roundFormattedValueShownOnFocusOrBlur",value:function(t,e,i){return i?this._roundFormattedValueShownOnFocus(t,e):this._roundFormattedValueShownOnBlur(t,e)}},{key:"_roundValue",value:function(e,i,r){if(s.default.isNull(e))return e;if(e=""===e?"0":e.toString(),i.roundingMethod===t.options.roundingMethod.toNearest05||i.roundingMethod===t.options.roundingMethod.toNearest05Alt||i.roundingMethod===t.options.roundingMethod.upToNext05||i.roundingMethod===t.options.roundingMethod.downToNext05)return this._roundCloseTo05(e,i);var o=t._prepareValueForRounding(e,i),a=n(o,2),l=a[0],c=(e=a[1]).lastIndexOf("."),u=-1===c,h=e.split(".");if(!(n(h,2)[1]>0)&&(i.allowDecimalPadding===t.options.allowDecimalPadding.never||i.allowDecimalPadding===t.options.allowDecimalPadding.floats))return 0===Number(e)?e:""+l+e;var d=void 0;d=i.allowDecimalPadding===t.options.allowDecimalPadding.always||i.allowDecimalPadding===t.options.allowDecimalPadding.floats?r:0;var f=u?e.length-1:c,p=e.length-1-f,g="";if(p<=r){if(g=e,pd?g=this._truncateZeros(g,d):0===p&&0===d&&(g=g.replace(/\.$/,""));return 0===Number(g)?g:""+l+g}var v=void 0;v=u?r-1:Number(r)+Number(c);var y=Number(e.charAt(v+1)),b=e.substring(0,v+1).split(""),L=void 0;if(L="."===e.charAt(v)?e.charAt(v-1)%2:e.charAt(v)%2,this._shouldRoundUp(y,i,l,L))for(var x=b.length-1;x>=0;x-=1)if("."!==b[x]){if(b[x]=+b[x]+1,b[x]<10)break;x>0&&(b[x]="0")}return b=b.slice(0,v+1),g=this._truncateZeros(b.join(""),d),0===Number(g)?g:""+l+g}},{key:"_roundCloseTo05",value:function(e,i){switch(i.roundingMethod){case t.options.roundingMethod.toNearest05:case t.options.roundingMethod.toNearest05Alt:e=(Math.round(20*e)/20).toString();break;case t.options.roundingMethod.upToNext05:e=(Math.ceil(20*e)/20).toString();break;default:e=(Math.floor(20*e)/20).toString()}return s.default.contains(e,".")?e.length-e.indexOf(".")<3?e+"0":e:e+".00"}},{key:"_prepareValueForRounding",value:function(e,i){var n="";return s.default.isNegativeStrict(e,"-")&&(n="-",e=e.replace("-","")),e.match(/^\d/)||(e="0"+e),0===Number(e)&&(n=""),(Number(e)>0&&i.leadingZero!==t.options.leadingZero.keep||e.length>0&&i.leadingZero===t.options.leadingZero.allow)&&(e=e.replace(/^0*(\d)/,"$1")),[n,e]}},{key:"_shouldRoundUp",value:function(e,i,n,r){return e>4&&i.roundingMethod===t.options.roundingMethod.halfUpSymmetric||e>4&&i.roundingMethod===t.options.roundingMethod.halfUpAsymmetric&&""===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfUpAsymmetric&&"-"===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfDownSymmetric||e>5&&i.roundingMethod===t.options.roundingMethod.halfDownAsymmetric&&""===n||e>4&&i.roundingMethod===t.options.roundingMethod.halfDownAsymmetric&&"-"===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfEvenBankersRounding||5===e&&i.roundingMethod===t.options.roundingMethod.halfEvenBankersRounding&&1===r||e>0&&i.roundingMethod===t.options.roundingMethod.toCeilingTowardPositiveInfinity&&""===n||e>0&&i.roundingMethod===t.options.roundingMethod.toFloorTowardNegativeInfinity&&"-"===n||e>0&&i.roundingMethod===t.options.roundingMethod.upRoundAwayFromZero}},{key:"_truncateDecimalPlaces",value:function(t,e,i,r){i&&(t=this._roundFormattedValueShownOnFocus(t,e));var o=t.split(e.decimalCharacter),a=n(o,2),s=a[0],l=a[1];if(l&&l.length>r)if(r>0){var c=l.substring(0,r);t=""+s+e.decimalCharacter+c}else t=s;return t}},{key:"_checkIfInRangeWithOverrideOption",value:function(e,i){if(s.default.isNull(e)&&i.emptyInputBehavior===t.options.emptyInputBehavior.null)return[!0,!0];e=(e=e.toString()).replace(",",".");var n=s.default.parseStr(i.minimumValue),r=s.default.parseStr(i.maximumValue),o=s.default.parseStr(e),a=void 0;switch(i.overrideMinMaxLimits){case t.options.overrideMinMaxLimits.floor:a=[s.default.testMinMax(n,o)>-1,!0];break;case t.options.overrideMinMaxLimits.ceiling:a=[!0,s.default.testMinMax(r,o)<1];break;case t.options.overrideMinMaxLimits.ignore:a=[!0,!0];break;default:a=[s.default.testMinMax(n,o)>-1,s.default.testMinMax(r,o)<1]}return a}},{key:"_readCookie",value:function(t){for(var e=t+"=",i=document.cookie.split(";"),n="",r=0;r1&&void 0!==arguments[1]?arguments[1]:null;this._validateDecimalPlacesRawValue(e),s.default.isNull(i)&&s.default.throwError("When updating the settings, the previous ones should be passed as an argument.");var n="decimalPlaces"in e;if(n||"decimalPlacesRawValue"in e||"decimalPlacesShownOnFocus"in e||"decimalPlacesShownOnBlur"in e||"rawValueDivisor"in e){n?("decimalPlacesShownOnFocus"in e&&e.decimalPlacesShownOnFocus!==t.options.decimalPlacesShownOnFocus.useDefault||(e.decimalPlacesShownOnFocus=e.decimalPlaces),"decimalPlacesShownOnBlur"in e&&e.decimalPlacesShownOnBlur!==t.options.decimalPlacesShownOnBlur.useDefault||(e.decimalPlacesShownOnBlur=e.decimalPlaces),"decimalPlacesRawValue"in e&&e.decimalPlacesRawValue!==t.options.decimalPlacesRawValue.useDefault||(e.decimalPlacesRawValue=e.decimalPlaces)):(s.default.isUndefined(e.decimalPlacesShownOnFocus)&&(e.decimalPlacesShownOnFocus=i.decimalPlacesShownOnFocus),s.default.isUndefined(e.decimalPlacesShownOnBlur)&&(e.decimalPlacesShownOnBlur=i.decimalPlacesShownOnBlur));var r=0;e.rawValueDivisor&&e.rawValueDivisor!==t.options.rawValueDivisor.none&&(r=String(e.rawValueDivisor).length-1)<0&&(r=0),e.decimalPlaces||e.decimalPlacesRawValue?e.decimalPlacesRawValue=Math.max(Math.max(e.decimalPlacesShownOnBlur,e.decimalPlacesShownOnFocus)+r,Number(e.decimalPlacesRawValue)+r):e.decimalPlacesRawValue=Math.max(Math.max(e.decimalPlacesShownOnBlur,e.decimalPlacesShownOnFocus)+r,Number(i.originalDecimalPlacesRawValue)+r)}}},{key:"_cachesUsualRegularExpressions",value:function(e,i){var n=void 0;n=e.negativeSignCharacter!==t.options.negativeSignCharacter.hyphen?"([-\\"+e.negativeSignCharacter+"]?)":"(-?)",i.aNegRegAutoStrip=n,e.allowedAutoStrip=new RegExp("[^-0123456789\\"+e.decimalCharacter+"]","g"),e.numRegAutoStrip=new RegExp(n+"(?:\\"+e.decimalCharacter+"?([0-9]+\\"+e.decimalCharacter+"[0-9]+)|([0-9]*(?:\\"+e.decimalCharacter+"[0-9]*)?))"),e.stripReg=new RegExp("^"+i.aNegRegAutoStrip+"0*([0-9])"),e.formulaChars=new RegExp("[0-9"+e.decimalCharacter+"+\\-*/() ]")}},{key:"_convertOldOptionsToNewOnes",value:function(t){var e={aSep:"digitGroupSeparator",nSep:"showOnlyNumbersOnFocus",dGroup:"digitalGroupSpacing",aDec:"decimalCharacter",altDec:"decimalCharacterAlternative",aSign:"currencySymbol",pSign:"currencySymbolPlacement",pNeg:"negativePositiveSignPlacement",aSuffix:"suffixText",oLimits:"overrideMinMaxLimits",vMax:"maximumValue",vMin:"minimumValue",mDec:"decimalPlacesOverride",eDec:"decimalPlacesShownOnFocus",scaleDecimal:"decimalPlacesShownOnBlur",aStor:"saveValueToSessionStorage",mRound:"roundingMethod",aPad:"allowDecimalPadding",nBracket:"negativeBracketsTypeOnBlur",wEmpty:"emptyInputBehavior",lZero:"leadingZero",aForm:"formatOnPageLoad",sNumber:"selectNumberOnly",anDefault:"defaultValueOverride",unSetOnSubmit:"unformatOnSubmit",outputType:"outputFormat",debug:"showWarnings",allowDecimalPadding:!0,alwaysAllowDecimalCharacter:!0,caretPositionOnFocus:!0,createLocalList:!0,currencySymbol:!0,currencySymbolPlacement:!0,decimalCharacter:!0,decimalCharacterAlternative:!0,decimalPlaces:!0,decimalPlacesRawValue:!0,decimalPlacesShownOnBlur:!0,decimalPlacesShownOnFocus:!0,defaultValueOverride:!0,digitalGroupSpacing:!0,digitGroupSeparator:!0,divisorWhenUnfocused:!0,emptyInputBehavior:!0,eventBubbles:!0,eventIsCancelable:!0,failOnUnknownOption:!0,formatOnPageLoad:!0,formulaMode:!0,historySize:!0,isCancellable:!0,leadingZero:!0,maximumValue:!0,minimumValue:!0,modifyValueOnWheel:!0,negativeBracketsTypeOnBlur:!0,negativePositiveSignPlacement:!0,negativeSignCharacter:!0,noEventListeners:!0,onInvalidPaste:!0,outputFormat:!0,overrideMinMaxLimits:!0,positiveSignCharacter:!0,rawValueDivisor:!0,readOnly:!0,roundingMethod:!0,saveValueToSessionStorage:!0,selectNumberOnly:!0,selectOnFocus:!0,serializeSpaces:!0,showOnlyNumbersOnFocus:!0,showPositiveSign:!0,showWarnings:!0,styleRules:!0,suffixText:!0,symbolWhenUnfocused:!0,unformatOnHover:!0,unformatOnSubmit:!0,valuesToStrings:!0,watchExternalChanges:!0,wheelOn:!0,wheelStep:!0,allowedAutoStrip:!0,formulaChars:!0,isNegativeSignAllowed:!0,isPositiveSignAllowed:!0,mIntNeg:!0,mIntPos:!0,numRegAutoStrip:!0,originalDecimalPlaces:!0,originalDecimalPlacesRawValue:!0,stripReg:!0};for(var i in t)if(t.hasOwnProperty(i)){if(!0===e[i])continue;e.hasOwnProperty(i)?(s.default.warning("You are using the deprecated option name '"+i+"'. Please use '"+e[i]+"' instead from now on. The old option name will be dropped very soon™.",!0),t[e[i]]=t[i],delete t[i]):t.failOnUnknownOption&&s.default.throwError("Option name '"+i+"' is unknown. Please fix the options passed to autoNumeric")}"mDec"in t&&s.default.warning("The old `mDec` option has been deprecated in favor of more accurate options ; `decimalPlaces`, `decimalPlacesRawValue`, `decimalPlacesShownOnFocus` and `decimalPlacesShownOnBlur`.",!0)}},{key:"_setNegativePositiveSignPermissions",value:function(t){t.isNegativeSignAllowed=t.minimumValue<0,t.isPositiveSignAllowed=t.maximumValue>=0}},{key:"_toNumericValue",value:function(t,e){var i=void 0;return s.default.isNumber(Number(t))?i=s.default.scientificToDecimal(t):(i=this._convertToNumericString(t.toString(),e),s.default.isNumber(Number(i))||(s.default.warning('The given value "'+t+'" cannot be converted to a numeric one and therefore cannot be used appropriately.',e.showWarnings),i=NaN)),i}},{key:"_checkIfInRange",value:function(t,e,i){var n=s.default.parseStr(t);return s.default.testMinMax(e,n)>-1&&s.default.testMinMax(i,n)<1}},{key:"_shouldSkipEventKey",value:function(t){var e=s.default.isInArray(t,l.default.keyName._allFnKeys),i=t===l.default.keyName.OSLeft||t===l.default.keyName.OSRight,n=t===l.default.keyName.ContextMenu,r=s.default.isInArray(t,l.default.keyName._someNonPrintableKeys),o=t===l.default.keyName.NumLock||t===l.default.keyName.ScrollLock||t===l.default.keyName.Insert||t===l.default.keyName.Command,a=t===l.default.keyName.Unidentified;return e||i||n||r||a||o}},{key:"_serialize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unformatted",n=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"+",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=[];"object"===(void 0===t?"undefined":o(t))&&"form"===t.nodeName.toLowerCase()&&Array.prototype.slice.call(t.elements).forEach(function(t){if(t.name&&!t.disabled&&-1===["file","reset","submit","button"].indexOf(t.type))if("select-multiple"===t.type)Array.prototype.slice.call(t.options).forEach(function(i){i.selected&&(e?l.push({name:t.name,value:i.value}):l.push(encodeURIComponent(t.name)+"="+encodeURIComponent(i.value)))});else if(-1===["checkbox","radio"].indexOf(t.type)||t.checked){var r=void 0;if(n.isManagedByAutoNumeric(t)){var o=void 0;switch(i){case"unformatted":o=n.getAutoNumericElement(t),s.default.isNull(o)||(r=n.unformat(t,o.getSettings()));break;case"localized":if(o=n.getAutoNumericElement(t),!s.default.isNull(o)){var c=s.default.cloneObject(o.getSettings());s.default.isNull(a)||(c.outputFormat=a),r=n.localize(t,c)}break;case"formatted":default:r=t.value}}else r=t.value;s.default.isUndefined(r)&&s.default.throwError("This error should never be hit. If it has, something really wrong happened!"),e?l.push({name:t.name,value:r}):l.push(encodeURIComponent(t.name)+"="+encodeURIComponent(r))}});var c=void 0;return e?c=l:(c=l.join("&"),"+"===r&&(c=c.replace(/%20/g,"+"))),c}},{key:"_serializeNumericString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!1,"unformatted",e)}},{key:"_serializeFormatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!1,"formatted",e)}},{key:"_serializeLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this._serialize(t,!1,"localized",e,i)}},{key:"_serializeNumericStringArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!0,"unformatted",e)}},{key:"_serializeFormattedArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!0,"formatted",e)}},{key:"_serializeLocalizedArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this._serialize(t,!0,"localized",e,i)}}]),t}();e.default=f,f.multiple=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[];if(s.default.isObject(e)&&(i=e,e=null),s.default.isString(t))t=[].concat(d(document.querySelectorAll(t)));else if(s.default.isObject(t)){t.hasOwnProperty("rootElement")||s.default.throwError("The object passed to the 'multiple' function is invalid ; no 'rootElement' attribute found.");var r=[].concat(d(t.rootElement.querySelectorAll("input")));t.hasOwnProperty("exclude")?(Array.isArray(t.exclude)||s.default.throwError("The 'exclude' array passed to the 'multiple' function is invalid."),t=s.default.filterOut(r,t.exclude)):t=r}else s.default.isArray(t)||s.default.throwError("The given parameters to the 'multiple' function are invalid.");if(0===t.length){var a=!0;return!s.default.isNull(i)&&s.default.isBoolean(i.showWarnings)&&(a=i.showWarnings),s.default.warning("No valid DOM elements were given hence no AutoNumeric object were instantiated.",a),[]}var l=s.default.isArray(e)&&e.length>=1,c=!1,u=!1;if(l){var h=o(Number(e[0]));(c="number"===h&&!isNaN(Number(e[0])))||("string"===h||isNaN(h)||"object"===h)&&(u=!0)}var p=!1;if(s.default.isArray(i)&&i.length>=1){var g=o(i[0]);"string"!==g&&"object"!==g||(p=!0)}var m=void 0;m=u?f.mergeOptions(e):p?f.mergeOptions(i):i;var v=s.default.isNumber(e),y=void 0;return c&&(y=e.length),t.forEach(function(t,i){v?n.push(new f(t,e,m)):c&&i<=y?n.push(new f(t,e[i],m)):n.push(new f(t,null,m))}),n},function(){if(Array.from||(Array.from=function(t){return[].slice.call(t)}),"undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}t.prototype=window.Event.prototype,window.CustomEvent=t}(),t.exports=e.default},"./src/AutoNumericDefaultSettings.js":function(t,e,i){"use strict";var n=r(i("./src/AutoNumeric.js"));r(i("./src/AutoNumericOptions.js"));function r(t){return t&&t.__esModule?t:{default:t}}n.default.defaultSettings={allowDecimalPadding:n.default.options.allowDecimalPadding.always,alwaysAllowDecimalCharacter:n.default.options.alwaysAllowDecimalCharacter.doNotAllow,caretPositionOnFocus:n.default.options.caretPositionOnFocus.doNoForceCaretPosition,createLocalList:n.default.options.createLocalList.createList,currencySymbol:n.default.options.currencySymbol.none,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,decimalCharacter:n.default.options.decimalCharacter.dot,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.none,decimalPlaces:n.default.options.decimalPlaces.two,decimalPlacesRawValue:n.default.options.decimalPlacesRawValue.useDefault,decimalPlacesShownOnBlur:n.default.options.decimalPlacesShownOnBlur.useDefault,decimalPlacesShownOnFocus:n.default.options.decimalPlacesShownOnFocus.useDefault,defaultValueOverride:n.default.options.defaultValueOverride.doNotOverride,digitalGroupSpacing:n.default.options.digitalGroupSpacing.three,digitGroupSeparator:n.default.options.digitGroupSeparator.comma,divisorWhenUnfocused:n.default.options.divisorWhenUnfocused.none,emptyInputBehavior:n.default.options.emptyInputBehavior.focus,eventBubbles:n.default.options.eventBubbles.bubbles,eventIsCancelable:n.default.options.eventIsCancelable.isCancelable,failOnUnknownOption:n.default.options.failOnUnknownOption.ignore,formatOnPageLoad:n.default.options.formatOnPageLoad.format,formulaMode:n.default.options.formulaMode.disabled,historySize:n.default.options.historySize.medium,isCancellable:n.default.options.isCancellable.cancellable,leadingZero:n.default.options.leadingZero.deny,maximumValue:n.default.options.maximumValue.tenTrillions,minimumValue:n.default.options.minimumValue.tenTrillions,modifyValueOnWheel:n.default.options.modifyValueOnWheel.modifyValue,negativeBracketsTypeOnBlur:n.default.options.negativeBracketsTypeOnBlur.none,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.none,negativeSignCharacter:n.default.options.negativeSignCharacter.hyphen,noEventListeners:n.default.options.noEventListeners.addEvents,onInvalidPaste:n.default.options.onInvalidPaste.error,outputFormat:n.default.options.outputFormat.none,overrideMinMaxLimits:n.default.options.overrideMinMaxLimits.doNotOverride,positiveSignCharacter:n.default.options.positiveSignCharacter.plus,rawValueDivisor:n.default.options.rawValueDivisor.none,readOnly:n.default.options.readOnly.readWrite,roundingMethod:n.default.options.roundingMethod.halfUpSymmetric,saveValueToSessionStorage:n.default.options.saveValueToSessionStorage.doNotSave,selectNumberOnly:n.default.options.selectNumberOnly.selectNumbersOnly,selectOnFocus:n.default.options.selectOnFocus.select,serializeSpaces:n.default.options.serializeSpaces.plus,showOnlyNumbersOnFocus:n.default.options.showOnlyNumbersOnFocus.showAll,showPositiveSign:n.default.options.showPositiveSign.hide,showWarnings:n.default.options.showWarnings.show,styleRules:n.default.options.styleRules.none,suffixText:n.default.options.suffixText.none,symbolWhenUnfocused:n.default.options.symbolWhenUnfocused.none,unformatOnHover:n.default.options.unformatOnHover.unformat,unformatOnSubmit:n.default.options.unformatOnSubmit.keepCurrentValue,valuesToStrings:n.default.options.valuesToStrings.none,watchExternalChanges:n.default.options.watchExternalChanges.doNotWatch,wheelOn:n.default.options.wheelOn.focus,wheelStep:n.default.options.wheelStep.progressive},Object.freeze(n.default.defaultSettings),Object.defineProperty(n.default,"defaultSettings",{configurable:!1,writable:!1})},"./src/AutoNumericEnum.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={allowedTagList:["b","caption","cite","code","const","dd","del","div","dfn","dt","em","h1","h2","h3","h4","h5","h6","input","ins","kdb","label","li","option","output","p","q","s","sample","span","strong","td","th","u"]};Object.freeze(n.allowedTagList),Object.defineProperty(n,"allowedTagList",{configurable:!1,writable:!1}),n.keyCode={Backspace:8,Tab:9,Enter:13,Shift:16,Ctrl:17,Alt:18,Pause:19,CapsLock:20,Esc:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,LeftArrow:37,UpArrow:38,RightArrow:39,DownArrow:40,Insert:45,Delete:46,num0:48,num1:49,num2:50,num3:51,num4:52,num5:53,num6:54,num7:55,num8:56,num9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,OSLeft:91,OSRight:92,ContextMenu:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,MultiplyNumpad:106,PlusNumpad:107,MinusNumpad:109,DotNumpad:110,SlashNumpad:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NumLock:144,ScrollLock:145,HyphenFirefox:173,MyComputer:182,MyCalculator:183,Semicolon:186,Equal:187,Comma:188,Hyphen:189,Dot:190,Slash:191,Backquote:192,LeftBracket:219,Backslash:220,RightBracket:221,Quote:222,Command:224,AltGraph:225,AndroidDefault:229},Object.freeze(n.keyCode),Object.defineProperty(n,"keyCode",{configurable:!1,writable:!1}),n.fromCharCodeKeyCode={0:"LaunchCalculator",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",91:"OS",92:"OSRight",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",173:"-",182:"MyComputer",183:"MyCalculator",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta",225:"AltGraph"},Object.freeze(n.fromCharCodeKeyCode),Object.defineProperty(n,"fromCharCodeKeyCode",{configurable:!1,writable:!1}),n.keyName={Unidentified:"Unidentified",AndroidDefault:"AndroidDefault",Alt:"Alt",AltGr:"AltGraph",CapsLock:"CapsLock",Ctrl:"Control",Fn:"Fn",FnLock:"FnLock",Hyper:"Hyper",Meta:"Meta",OSLeft:"OS",OSRight:"OS",Command:"OS",NumLock:"NumLock",ScrollLock:"ScrollLock",Shift:"Shift",Super:"Super",Symbol:"Symbol",SymbolLock:"SymbolLock",Enter:"Enter",Tab:"Tab",Space:" ",LeftArrow:"ArrowLeft",UpArrow:"ArrowUp",RightArrow:"ArrowRight",DownArrow:"ArrowDown",End:"End",Home:"Home",PageUp:"PageUp",PageDown:"PageDown",Backspace:"Backspace",Clear:"Clear",Copy:"Copy",CrSel:"CrSel",Cut:"Cut",Delete:"Delete",EraseEof:"EraseEof",ExSel:"ExSel",Insert:"Insert",Paste:"Paste",Redo:"Redo",Undo:"Undo",Accept:"Accept",Again:"Again",Attn:"Attn",Cancel:"Cancel",ContextMenu:"ContextMenu",Esc:"Escape",Execute:"Execute",Find:"Find",Finish:"Finish",Help:"Help",Pause:"Pause",Play:"Play",Props:"Props",Select:"Select",ZoomIn:"ZoomIn",ZoomOut:"ZoomOut",BrightnessDown:"BrightnessDown",BrightnessUp:"BrightnessUp",Eject:"Eject",LogOff:"LogOff",Power:"Power",PowerOff:"PowerOff",PrintScreen:"PrintScreen",Hibernate:"Hibernate",Standby:"Standby",WakeUp:"WakeUp",Compose:"Compose",Dead:"Dead",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",Print:"Print",num0:"0",num1:"1",num2:"2",num3:"3",num4:"4",num5:"5",num6:"6",num7:"7",num8:"8",num9:"9",a:"a",b:"b",c:"c",d:"d",e:"e",f:"f",g:"g",h:"h",i:"i",j:"j",k:"k",l:"l",m:"m",n:"n",o:"o",p:"p",q:"q",r:"r",s:"s",t:"t",u:"u",v:"v",w:"w",x:"x",y:"y",z:"z",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",Semicolon:";",Equal:"=",Comma:",",Hyphen:"-",Minus:"-",Plus:"+",Dot:".",Slash:"/",Backquote:"`",LeftParenthesis:"(",RightParenthesis:")",LeftBracket:"[",RightBracket:"]",Backslash:"\\",Quote:"'",numpad0:"0",numpad1:"1",numpad2:"2",numpad3:"3",numpad4:"4",numpad5:"5",numpad6:"6",numpad7:"7",numpad8:"8",numpad9:"9",NumpadDot:".",NumpadDotAlt:",",NumpadMultiply:"*",NumpadPlus:"+",NumpadMinus:"-",NumpadSubtract:"-",NumpadSlash:"/",NumpadDotObsoleteBrowsers:"Decimal",NumpadMultiplyObsoleteBrowsers:"Multiply",NumpadPlusObsoleteBrowsers:"Add",NumpadMinusObsoleteBrowsers:"Subtract",NumpadSlashObsoleteBrowsers:"Divide",_allFnKeys:["F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"],_someNonPrintableKeys:["Tab","Enter","Shift","ShiftLeft","ShiftRight","Control","ControlLeft","ControlRight","Alt","AltLeft","AltRight","Pause","CapsLock","Escape"],_directionKeys:["PageUp","PageDown","End","Home","ArrowDown","ArrowLeft","ArrowRight","ArrowUp"]},Object.freeze(n.keyName._allFnKeys),Object.freeze(n.keyName._someNonPrintableKeys),Object.freeze(n.keyName._directionKeys),Object.freeze(n.keyName),Object.defineProperty(n,"keyName",{configurable:!1,writable:!1}),Object.freeze(n),e.default=n,t.exports=e.default},"./src/AutoNumericEvents.js":function(t,e,i){"use strict";var n,r=i("./src/AutoNumeric.js"),o=(n=r)&&n.__esModule?n:{default:n};o.default.events={initialized:"autoNumeric:initialized",invalidFormula:"autoNumeric:invalidFormula",formatted:"autoNumeric:formatted",rawValueModified:"autoNumeric:rawValueModified",minRangeExceeded:"autoNumeric:minExceeded",maxRangeExceeded:"autoNumeric:maxExceeded",native:{input:"input",change:"change"},validFormula:"autoNumeric:validFormula"},Object.freeze(o.default.events.native),Object.freeze(o.default.events),Object.defineProperty(o.default,"events",{configurable:!1,writable:!1})},"./src/AutoNumericHelper.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"-",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e===i||""!==e&&(t.isNumber(e)?e<0:n?this.contains(e,i):this.isNegativeStrict(e,i))}},{key:"isNegativeStrict",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.charAt(0)===e}},{key:"isNegativeWithBrackets",value:function(t,e,i){return t.charAt(0)===e&&this.contains(t,i)}},{key:"isZeroOrHasNoValue",value:function(t){return!/[1-9]/g.test(t)}},{key:"setRawNegativeSign",value:function(t){return this.isNegativeStrict(t,"-")?t:"-"+t}},{key:"replaceCharAt",value:function(t,e,i){return""+t.substr(0,e)+i+t.substr(e+i.length)}},{key:"clampToRangeLimits",value:function(t,e){return Math.max(e.minimumValue,Math.min(e.maximumValue,t))}},{key:"countNumberCharactersOnTheCaretLeftSide",value:function(t,e,i){for(var n=new RegExp("[0-9"+i+"-]"),r=0,o=0;o2&&void 0!==arguments[2]?arguments[2]:null;if(this.isUndefinedOrNullOrEmpty(n)&&(n=i),this.isInputElement(e))e.setSelectionRange(i,n);else if(!t.isNull(e.firstChild)){var r=document.createRange();r.setStart(e.firstChild,i),r.setEnd(e.firstChild,n);var o=window.getSelection();o.removeAllRanges(),o.addRange(r)}}},{key:"throwError",value:function(t){throw new Error(t)}},{key:"warning",value:function(t){(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&console.warn("Warning: "+t)}},{key:"isWheelUpEvent",value:function(t){return t.deltaY||this.throwError("The event passed as a parameter is not a valid wheel event, '"+t.type+"' given."),t.deltaY<0}},{key:"isWheelDownEvent",value:function(t){return t.deltaY||this.throwError("The event passed as a parameter is not a valid wheel event, '"+t.type+"' given."),t.deltaY>0}},{key:"forceDecimalPlaces",value:function(t,e){var i=String(t).split("."),n=o(i,2),r=n[0],a=n[1];return a?r+"."+a.substr(0,e):t}},{key:"roundToNearest",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;return 0===t?0:(0===e&&this.throwError("The `stepPlace` used to round is equal to `0`. This value must not be equal to zero."),Math.round(t/e)*e)}},{key:"modifyAndRoundToNearestAuto",value:function(t,e,i){t=Number(this.forceDecimalPlaces(t,i));var n=Math.abs(t);if(n>=0&&n<1){var r=Math.pow(10,-i);if(0===t)return e?r:-r;var o=void 0,a=i,s=this.indexFirstNonZeroDecimalPlace(t);o=s>=a-1?r:Math.pow(10,-(s+1));var l=void 0;return l=e?t+o:t-o,this.roundToNearest(l,o)}t=parseInt(t,10);var c=Math.abs(t).toString().length,u=void 0;switch(c){case 1:u=0;break;case 2:case 3:u=1;break;case 4:case 5:u=2;break;default:u=c-3}var h=Math.pow(10,u),d=void 0;return(d=e?t+h:t-h)<=10&&d>=-10?d:this.roundToNearest(d,h)}},{key:"addAndRoundToNearestAuto",value:function(t,e){return this.modifyAndRoundToNearestAuto(t,!0,e)}},{key:"subtractAndRoundToNearestAuto",value:function(t,e){return this.modifyAndRoundToNearestAuto(t,!1,e)}},{key:"arabicToLatinNumbers",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.isNull(t))return t;var r=t.toString();if(""===r)return t;if(null===r.match(/[٠١٢٣٤٥٦٧٨٩۴۵۶]/g))return e&&(r=Number(r)),r;i&&(r=r.replace(/٫/,".")),n&&(r=r.replace(/٬/g,"")),r=r.replace(/[٠١٢٣٤٥٦٧٨٩]/g,function(t){return t.charCodeAt(0)-1632}).replace(/[۰۱۲۳۴۵۶۷۸۹]/g,function(t){return t.charCodeAt(0)-1776});var o=Number(r);return isNaN(o)?o:(e&&(r=o),r)}},{key:"triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=void 0;window.CustomEvent?o=new CustomEvent(t,{detail:i,bubbles:n,cancelable:r}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,n,r,{detail:i}),e.dispatchEvent(o)}},{key:"parseStr",value:function(t){var e={},i=void 0,n=void 0,r=void 0,o=void 0;if(0===t&&1/t<0&&(t="-0"),t=t.toString(),this.isNegativeStrict(t,"-")?(t=t.slice(1),e.s=-1):e.s=1,(i=t.indexOf("."))>-1&&(t=t.replace(".","")),i<0&&(i=t.length),(n=-1===t.search(/[1-9]/i)?t.length:t.search(/[1-9]/i))===(r=t.length))e.e=0,e.c=[0];else{for(o=r-1;"0"===t.charAt(o);o-=1)r-=1;for(r-=1,e.e=i-n-1,e.c=[],i=0;n<=r;n+=1)e.c[i]=+t.charAt(n),i+=1}return e}},{key:"testMinMax",value:function(t,e){var i=e.c,n=t.c,r=e.s,o=t.s,a=e.e,s=t.e;if(!i[0]||!n[0]){return i[0]?r:n[0]?-o:0}if(r!==o)return r;var l=r<0;if(a!==s)return a>s^l?1:-1;for(r=-1,o=(a=i.length)<(s=n.length)?a:s,r+=1;rn[r]^l?1:-1;return a===s?0:a>s^l?1:-1}},{key:"randomString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return Math.random().toString(36).substr(2,t)}},{key:"domElement",value:function(e){var i=void 0;return i=t.isString(e)?document.querySelector(e):e,i}},{key:"getElementValue",value:function(t){return"input"===t.tagName.toLowerCase()?t.value:this.text(t)}},{key:"setElementValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;"input"===t.tagName.toLowerCase()?t.value=e:t.textContent=e}},{key:"cloneObject",value:function(t){return r({},t)}},{key:"camelize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(this.isNull(t))return null;i&&(t=t.replace(/^data-/,""));var r=t.split(e).map(function(t){return""+t.charAt(0).toUpperCase()+t.slice(1)});return r=r.join(""),n&&(r=""+r.charAt(0).toLowerCase()+r.slice(1)),r}},{key:"text",value:function(t){var e=t.nodeType;return e===Node.ELEMENT_NODE||e===Node.DOCUMENT_NODE||e===Node.DOCUMENT_FRAGMENT_NODE?t.textContent:e===Node.TEXT_NODE?t.nodeValue:""}},{key:"setText",value:function(t,e){var i=t.nodeType;i!==Node.ELEMENT_NODE&&i!==Node.DOCUMENT_NODE&&i!==Node.DOCUMENT_FRAGMENT_NODE||(t.textContent=e)}},{key:"filterOut",value:function(t,e){var i=this;return t.filter(function(t){return!i.isInArray(t,e)})}},{key:"trimPaddedZerosFromDecimalPlaces",value:function(t){if(""===(t=String(t)))return"";var e=t.split("."),i=o(e,2),n=i[0],r=i[1];if(this.isUndefinedOrNullOrEmpty(r))return n;var a=r.replace(/0+$/g,"");return""===a?n:n+"."+a}},{key:"getHoveredElement",value:function(){var t=[].concat(u(document.querySelectorAll(":hover")));return t[t.length-1]}},{key:"arrayTrim",value:function(t,e){var i=t.length;return 0===i||e>i?t:e<0?[]:(t.length=parseInt(e,10),t)}},{key:"arrayUnique",value:function(){var t;return[].concat(u(new Set((t=[]).concat.apply(t,arguments))))}},{key:"mergeMaps",value:function(){for(var t=arguments.length,e=Array(t),i=0;i(t=String(t)).length)throw new Error("The given index is out of the string range.");if(1!==e.length)throw new Error("The given string `char` should be only one character long.");return""===t&&0===i?e:""+t.slice(0,i)+e+t.slice(i)}},{key:"scientificToDecimal",value:function(t){var e=Number(t);if(isNaN(e))return NaN;if(t=String(t),!(this.contains(t,"e")||this.contains(t,"E")))return t;var i=t.split(/e/i),n=o(i,2),r=n[0],a=n[1],s=r<0;s&&(r=r.replace("-",""));var l=+a<0;l&&(a=a.replace("-",""));var c=r.split(/\./),u=o(c,2),h=u[0],d=u[1],f=void 0;return l?f=""+(f=h.length>a?this.insertAt(h,".",h.length-a):"0."+"0".repeat(a-h.length)+h)+(d||""):d?(r=""+h+d,f=a",curlyBraces:"{,}",angleBrackets:"〈,〉",japaneseQuotationMarks:"「,」",halfBrackets:"⸤,⸥",whiteSquareBrackets:"⟦,⟧",quotationMarks:"‹,›",guillemets:"«,»",none:null},negativePositiveSignPlacement:{prefix:"p",suffix:"s",left:"l",right:"r",none:null},negativeSignCharacter:{hyphen:"-",minus:"−",heavyMinus:"➖",fullWidthHyphen:"-",circledMinus:"⊖",squaredMinus:"⊟",triangleMinus:"⨺",plusMinus:"±",minusPlus:"∓",dotMinus:"∸",minusTilde:"≂",not:"¬"},noEventListeners:{noEvents:!0,addEvents:!1},onInvalidPaste:{error:"error",ignore:"ignore",clamp:"clamp",truncate:"truncate",replace:"replace"},outputFormat:{string:"string",number:"number",dot:".",negativeDot:"-.",comma:",",negativeComma:"-,",dotNegative:".-",commaNegative:",-",none:null},overrideMinMaxLimits:{ceiling:"ceiling",floor:"floor",ignore:"ignore",doNotOverride:null},positiveSignCharacter:{plus:"+",fullWidthPlus:"+",heavyPlus:"➕",doublePlus:"⧺",triplePlus:"⧻",circledPlus:"⊕",squaredPlus:"⊞",trianglePlus:"⨹",plusMinus:"±",minusPlus:"∓",dotPlus:"∔",altHebrewPlus:"﬩",normalSpace:" ",thinSpace:" ",narrowNoBreakSpace:" ",noBreakSpace:" "},rawValueDivisor:{none:null,percentage:100,permille:1e3,basisPoint:1e4},readOnly:{readOnly:!0,readWrite:!1},roundingMethod:{halfUpSymmetric:"S",halfUpAsymmetric:"A",halfDownSymmetric:"s",halfDownAsymmetric:"a",halfEvenBankersRounding:"B",upRoundAwayFromZero:"U",downRoundTowardZero:"D",toCeilingTowardPositiveInfinity:"C",toFloorTowardNegativeInfinity:"F",toNearest05:"N05",toNearest05Alt:"CHF",upToNext05:"U05",downToNext05:"D05"},saveValueToSessionStorage:{save:!0,doNotSave:!1},selectNumberOnly:{selectNumbersOnly:!0,selectAll:!1},selectOnFocus:{select:!0,doNotSelect:!1},serializeSpaces:{plus:"+",percent:"%20"},showOnlyNumbersOnFocus:{onlyNumbers:!0,showAll:!1},showPositiveSign:{show:!0,hide:!1},showWarnings:{show:!0,hide:!1},styleRules:{none:null,positiveNegative:{positive:"autoNumeric-positive",negative:"autoNumeric-negative"},range0To100With4Steps:{ranges:[{min:0,max:25,class:"autoNumeric-red"},{min:25,max:50,class:"autoNumeric-orange"},{min:50,max:75,class:"autoNumeric-yellow"},{min:75,max:100,class:"autoNumeric-green"}]},evenOdd:{userDefined:[{callback:function(t){return t%2==0},classes:["autoNumeric-even","autoNumeric-odd"]}]},rangeSmallAndZero:{userDefined:[{callback:function(t){return t>=-1&&t<0?0:0===Number(t)?1:t>0&&t<=1?2:null},classes:["autoNumeric-small-negative","autoNumeric-zero","autoNumeric-small-positive"]}]}},suffixText:{none:"",percentage:"%",permille:"‰",basisPoint:"‱"},symbolWhenUnfocused:{none:null,percentage:"%",permille:"‰",basisPoint:"‱"},unformatOnHover:{unformat:!0,doNotUnformat:!1},unformatOnSubmit:{unformat:!0,keepCurrentValue:!1},valuesToStrings:{none:null,zeroDash:{0:"-"},oneAroundZero:{"-1":"Min",1:"Max"}},watchExternalChanges:{watch:!0,doNotWatch:!1},wheelOn:{focus:"focus",hover:"hover"},wheelStep:{progressive:"progressive"}},n=r.default.options,Object.getOwnPropertyNames(n).forEach(function(t){"valuesToStrings"===t?Object.getOwnPropertyNames(n.valuesToStrings).forEach(function(t){o.default.isIE11()||null===n.valuesToStrings[t]||Object.freeze(n.valuesToStrings[t])}):"styleRules"!==t&&(o.default.isIE11()||null===n[t]||Object.freeze(n[t]))}),Object.freeze(n),Object.defineProperty(r.default,"options",{configurable:!1,writable:!1})},"./src/AutoNumericPredefinedOptions.js":function(t,e,i){"use strict";var n=o(i("./src/AutoNumeric.js")),r=o(i("./src/AutoNumericHelper.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a={digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.dot,currencySymbol:" €",currencySymbolPlacement:n.default.options.currencySymbolPlacement.suffix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.prefix},s={digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.dollar,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},l={digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.yen,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right};r.default.cloneObject(a).formulaMode=n.default.options.formulaMode.enabled;var c=r.default.cloneObject(a);c.minimumValue=0;var u=r.default.cloneObject(a);u.maximumValue=0,u.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var h=r.default.cloneObject(a);h.digitGroupSeparator=n.default.options.digitGroupSeparator.normalSpace;var d=r.default.cloneObject(h);d.minimumValue=0;var f=r.default.cloneObject(h);f.maximumValue=0,f.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var p=r.default.cloneObject(a);p.currencySymbol=n.default.options.currencySymbol.none,p.suffixText=" "+n.default.options.suffixText.percentage,p.wheelStep=1e-4,p.rawValueDivisor=n.default.options.rawValueDivisor.percentage;var g=r.default.cloneObject(p);g.minimumValue=0;var m=r.default.cloneObject(p);m.maximumValue=0,m.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var v=r.default.cloneObject(p);v.decimalPlaces=3;var y=r.default.cloneObject(g);y.decimalPlaces=3;var b=r.default.cloneObject(m);b.decimalPlaces=3,r.default.cloneObject(s).formulaMode=n.default.options.formulaMode.enabled;var L=r.default.cloneObject(s);L.minimumValue=0;var x=r.default.cloneObject(s);x.maximumValue=0,x.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var w=r.default.cloneObject(x);w.negativeBracketsTypeOnBlur=n.default.options.negativeBracketsTypeOnBlur.parentheses;var _=r.default.cloneObject(s);_.currencySymbol=n.default.options.currencySymbol.none,_.suffixText=n.default.options.suffixText.percentage,_.wheelStep=1e-4,_.rawValueDivisor=n.default.options.rawValueDivisor.percentage;var S=r.default.cloneObject(_);S.minimumValue=0;var C=r.default.cloneObject(_);C.maximumValue=0,C.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var k=r.default.cloneObject(_);k.decimalPlaces=3;var T=r.default.cloneObject(S);T.decimalPlaces=3;var E=r.default.cloneObject(C);E.decimalPlaces=3;var A=r.default.cloneObject(a);A.currencySymbol=n.default.options.currencySymbol.lira,n.default.predefinedOptions={euro:a,euroPos:c,euroNeg:u,euroSpace:h,euroSpacePos:d,euroSpaceNeg:f,percentageEU2dec:p,percentageEU2decPos:g,percentageEU2decNeg:m,percentageEU3dec:v,percentageEU3decPos:y,percentageEU3decNeg:b,dollar:s,dollarPos:L,dollarNeg:x,dollarNegBrackets:w,percentageUS2dec:_,percentageUS2decPos:S,percentageUS2decNeg:C,percentageUS3dec:k,percentageUS3decPos:T,percentageUS3decNeg:E,French:a,Spanish:a,NorthAmerican:s,British:{digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.pound,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},Swiss:{digitGroupSeparator:n.default.options.digitGroupSeparator.apostrophe,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:" CHF",currencySymbolPlacement:n.default.options.currencySymbolPlacement.suffix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.prefix},Japanese:l,Chinese:l,Brazilian:{digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,currencySymbol:n.default.options.currencySymbol.real,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},Turkish:A,dotDecimalCharCommaSeparator:{digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot},commaDecimalCharDotSeparator:{digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.dot},integer:{decimalPlaces:0},integerPos:{minimumValue:n.default.options.minimumValue.zero,decimalPlaces:0},integerNeg:{maximumValue:n.default.options.maximumValue.zero,decimalPlaces:0},float:{allowDecimalPadding:n.default.options.allowDecimalPadding.never},floatPos:{allowDecimalPadding:n.default.options.allowDecimalPadding.never,minimumValue:n.default.options.minimumValue.zero,maximumValue:n.default.options.maximumValue.tenTrillions},floatNeg:{allowDecimalPadding:n.default.options.allowDecimalPadding.never,minimumValue:n.default.options.minimumValue.tenTrillions,maximumValue:n.default.options.maximumValue.zero},numeric:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none},numericPos:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none,minimumValue:n.default.options.minimumValue.zero,maximumValue:n.default.options.maximumValue.tenTrillions},numericNeg:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none,minimumValue:n.default.options.minimumValue.tenTrillions,maximumValue:n.default.options.maximumValue.zero}},Object.getOwnPropertyNames(n.default.predefinedOptions).forEach(function(t){Object.freeze(n.default.predefinedOptions[t])}),Object.freeze(n.default.predefinedOptions),Object.defineProperty(n.default,"predefinedOptions",{configurable:!1,writable:!1})},"./src/main.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(i("./src/AutoNumeric.js"));r(i("./src/AutoNumericEvents.js")),r(i("./src/AutoNumericOptions.js")),r(i("./src/AutoNumericDefaultSettings.js")),r(i("./src/AutoNumericPredefinedOptions.js"));function r(t){return t&&t.__esModule?t:{default:t}}e.default=n.default,t.exports=e.default},"./src/maths/ASTNode.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:".";if(this._skipSpaces(),this.textLength===this.index)return this.token.type="EOT",this.token;if(r.default.isDigit(this.text[this.index]))return this.token.type="num",this.token.value=this._getNumber(t),this.token;switch(this.token.type="Error",this.text[this.index]){case"+":this.token.type="+";break;case"-":this.token.type="-";break;case"*":this.token.type="*";break;case"/":this.token.type="/";break;case"(":this.token.type="(";break;case")":this.token.type=")"}if("Error"===this.token.type)throw new Error("Unexpected token '"+this.token.symbol+"' at position '"+this.token.index+"' in the token function");return this.token.symbol=this.text[this.index],this.index++,this.token}},{key:"_getNumber",value:function(t){this._skipSpaces();for(var e=this.index;this.index<=this.textLength&&r.default.isDigit(this.text[this.index]);)this.index++;for(this.text[this.index]===t&&this.index++;this.index<=this.textLength&&r.default.isDigit(this.text[this.index]);)this.index++;if(this.index===e)throw new Error("No number has been found while it was expected");return this.text.substring(e,this.index).replace(t,".")}}]),t}();e.default=s,t.exports=e.default},"./src/maths/Parser.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:".";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.text=e,this.decimalCharacter=i,this.lexer=new o.default(e),this.token=this.lexer.getNextToken(this.decimalCharacter),this._exp()}return n(t,[{key:"_exp",value:function(){var t=this._term(),e=this._moreExp();return r.default.createNode("op_+",t,e)}},{key:"_moreExp",value:function(){var t=void 0,e=void 0;switch(this.token.type){case"+":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._term(),e=this._moreExp(),r.default.createNode("op_+",e,t);case"-":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._term(),e=this._moreExp(),r.default.createNode("op_-",e,t)}return r.default.createLeaf(0)}},{key:"_term",value:function(){var t=this._factor(),e=this._moreTerms();return r.default.createNode("op_*",t,e)}},{key:"_moreTerms",value:function(){var t=void 0,e=void 0;switch(this.token.type){case"*":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._factor(),e=this._moreTerms(),r.default.createNode("op_*",e,t);case"/":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._factor(),e=this._moreTerms(),r.default.createNode("op_/",e,t)}return r.default.createLeaf(1)}},{key:"_factor",value:function(){var t=void 0,e=void 0,i=void 0;switch(this.token.type){case"num":return i=this.token.value,this.token=this.lexer.getNextToken(this.decimalCharacter),r.default.createLeaf(i);case"-":return this.token=this.lexer.getNextToken(this.decimalCharacter),e=this._factor(),r.default.createUnaryNode(e);case"(":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._exp(),this._match(")"),t;default:throw new Error("Unexpected token '"+this.token.symbol+"' with type '"+this.token.type+"' at position '"+this.token.index+"' in the factor function")}}},{key:"_match",value:function(t){var e=this.lexer.getIndex()-1;if(this.text[e]!==t)throw new Error("Unexpected token '"+this.token.symbol+"' at position '"+e+"' in the match function");this.token=this.lexer.getNextToken(this.decimalCharacter)}}]),t}();e.default=s,t.exports=e.default},"./src/maths/Token.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function t(e,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.type=e,this.value=i,this.symbol=n},t.exports=e.default}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t=t||self).jQuery)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e=function(){function e(t,e,i,n){this.markup=t,this.children=e,this.options=i,this.callback=n}return e.prototype.render=function(e){var i=t(this.markup);if(this.options&&this.options.contents&&i.html(this.options.contents),this.options&&this.options.className&&i.addClass(this.options.className),this.options&&this.options.data&&t.each(this.options.data,function(t,e){i.attr("data-"+t,e)}),this.options&&this.options.click&&i.on("click",this.options.click),this.children){var n=i.find(".note-children-container");this.children.forEach(function(t){t.render(n.length?n:i)})}return this.callback&&this.callback(i,this.options),this.options&&this.options.callback&&this.options.callback(i),e&&e.append(i),i},e}(),i=function(t,i){return function(){var n="object"==typeof arguments[1]?arguments[1]:arguments[0],r=Array.isArray(arguments[0])?arguments[0]:[];return n&&n.children&&(r=n.children),new e(t,r,n,i)}},n=i('
'),r=i(''),o=i('
'),a=i('\n
\n
\n
\n \n \n
\n
\n
\n
\n').replace(/(^|\n)\s*/g,""),Q=function(t){var e=O();if(e&&(e.parentNode.removeChild(e),E([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]])),!Z()){var i=document.createElement("div");i.className=x.container,i.innerHTML=K;var n="string"==typeof t.target?document.querySelector(t.target):t.target;n.appendChild(i);var r,o=N(),a=B(),s=A(a,x.input),l=A(a,x.file),c=a.querySelector(".".concat(x.range," input")),u=a.querySelector(".".concat(x.range," output")),h=A(a,x.select),d=a.querySelector(".".concat(x.checkbox," input")),f=A(a,x.textarea);o.setAttribute("role",t.toast?"alert":"dialog"),o.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||o.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(n).direction&&T(O(),x.rtl);var g=function(t){zt.isVisible()&&r!==t.target.value&&zt.resetValidationMessage(),r=t.target.value};return s.oninput=g,l.onchange=g,h.onchange=g,d.onchange=g,f.oninput=g,c.oninput=function(t){g(t),u.value=c.value},c.onchange=function(t){g(t),c.nextSibling.value=c.value},o}p("SweetAlert2 requires document to initialize")},J=function(e,i){if(!e)return D(i);if(e instanceof HTMLElement)i.appendChild(e);else if("object"===t(e))if(i.innerHTML="",0 in e)for(var n=0;n in e;n++)i.appendChild(e[n].cloneNode(!0));else i.appendChild(e.cloneNode(!0));else e&&(i.innerHTML=e);M(i)},tt=function(){if(Z())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(e.hasOwnProperty(i)&&void 0!==t.style[i])return e[i];return!1}(),et=function(t){var e=U(),i=j(),n=W();if(t.showConfirmButton||t.showCancelButton?M(e):D(e),t.showCancelButton?n.style.display="inline-block":D(n),t.showConfirmButton?i.style.removeProperty("display"):D(i),i.innerHTML=t.confirmButtonText,n.innerHTML=t.cancelButtonText,i.setAttribute("aria-label",t.confirmButtonAriaLabel),n.setAttribute("aria-label",t.cancelButtonAriaLabel),i.className=x.confirm,T(i,t.confirmButtonClass),n.className=x.cancel,T(n,t.cancelButtonClass),t.buttonsStyling){T([i,n],x.styled),t.confirmButtonColor&&(i.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(n.style.backgroundColor=t.cancelButtonColor);var r=window.getComputedStyle(i).getPropertyValue("background-color");i.style.borderLeftColor=r,i.style.borderRightColor=r}else E([i,n],x.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor=""},it=function(t){var e=B().querySelector("#"+x.content);t.html?J(t.html,e):t.text?(e.textContent=t.text,M(e)):D(e)},nt=function(t){for(var e=R(),i=0;i=t.progressSteps.length&&f("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(n,r){var o=document.createElement("li");if(T(o,x.progresscircle),o.innerHTML=n,r===i&&T(o,x.activeprogressstep),e.appendChild(o),r!==t.progressSteps.length-1){var a=document.createElement("li");T(a,x.progressline),t.progressStepsDistance&&(a.style.width=t.progressStepsDistance),e.appendChild(a)}})):D(e)},at=function(t){var e=F();t.titleText?e.innerText=t.titleText:t.title&&("string"==typeof t.title&&(t.title=t.title.split("\n").join("
")),J(t.title,e))},st=function(){null===_.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(_.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=_.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},lt=function(){return!!window.MSInputMethodContext&&!!document.documentMode},ct=function(){var t=O(),e=N();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},ut={},ht=function(t,e){var i=O(),n=N();if(n){null!==t&&"function"==typeof t&&t(n),E(n,x.show),T(n,x.hide);var r=function(){$()?dt(e):(new Promise(function(t){var e=window.scrollX,i=window.scrollY;ut.restoreFocusTimeout=setTimeout(function(){ut.previousActiveElement&&ut.previousActiveElement.focus?(ut.previousActiveElement.focus(),ut.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==i&&window.scrollTo(e,i)}).then(function(){return dt(e)}),ut.keydownTarget.removeEventListener("keydown",ut.keydownHandler,{capture:ut.keydownListenerCapture}),ut.keydownHandlerAdded=!1),i.parentNode&&i.parentNode.removeChild(i),E([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]]),q()&&(null!==_.previousBodyPadding&&(document.body.style.paddingRight=_.previousBodyPadding,_.previousBodyPadding=null),function(){if(S(document.body,x.iosfix)){var t=parseInt(document.body.style.top,10);E(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&<()&&window.removeEventListener("resize",ct),h(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))};tt&&!S(n,x.noanimation)?n.addEventListener(tt,function t(){n.removeEventListener(tt,t),S(n,x.hide)&&r()}):r()}},dt=function(t){null!==t&&"function"==typeof t&&setTimeout(function(){t()})};function ft(t){var e=function t(){for(var e=arguments.length,i=new Array(e),n=0;n.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}"),("function"==typeof define&&define.amd?define:function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):window.toastr=e(window.jQuery)})(["jquery"],function(t){return function(){function e(e,i){return e||(e=a()),(l=t("#"+e.containerId)).length?l:(i&&(l=function(e){return(l=t("
").attr("id",e.containerId).addClass(e.positionClass)).appendTo(t(e.target)),l}(e)),l)}function i(e){for(var i=l.children(),r=i.length-1;r>=0;r--)n(t(i[r]),e)}function n(e,i,n){var r=!(!n||!n.force)&&n.force;return!(!e||!r&&0!==t(":focus",e).length||(e[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){s(e)}}),0))}function r(t){c&&c(t)}function o(i){function n(t){return null==t&&(t=""),t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function o(e){var i=e&&!1!==p.closeMethod?p.closeMethod:p.hideMethod,n=e&&!1!==p.closeDuration?p.closeDuration:p.hideDuration,o=e&&!1!==p.closeEasing?p.closeEasing:p.hideEasing;if(!t(":focus",v).length||e)return clearTimeout(w.intervalId),v[i]({duration:n,easing:o,complete:function(){s(v),clearTimeout(m),p.onHidden&&"hidden"!==_.state&&p.onHidden(),_.state="hidden",_.endTime=new Date,r(_)}})}function c(){(p.timeOut>0||p.extendedTimeOut>0)&&(m=setTimeout(o,p.extendedTimeOut),w.maxHideTime=parseFloat(p.extendedTimeOut),w.hideEta=(new Date).getTime()+w.maxHideTime)}function d(){clearTimeout(m),w.hideEta=0,v.stop(!0,!0)[p.showMethod]({duration:p.showDuration,easing:p.showEasing})}function f(){var t=(w.hideEta-(new Date).getTime())/w.maxHideTime*100;L.width(t+"%")}var p=a(),g=i.iconClass||p.iconClass;if(void 0!==i.optionsOverride&&(p=t.extend(p,i.optionsOverride),g=i.optionsOverride.iconClass||g),!function(t,e){if(t.preventDuplicates){if(e.message===u)return!0;u=e.message}return!1}(p,i)){h++,l=e(p,!0);var m=null,v=t("
"),y=t("
"),b=t("
"),L=t("
"),x=t(p.closeHtml),w={intervalId:null,hideEta:null,maxHideTime:null},_={toastId:h,state:"visible",startTime:new Date,options:p,map:i};return i.iconClass&&v.addClass(p.toastClass).addClass(g),function(){if(i.title){var t=i.title;p.escapeHtml&&(t=n(i.title)),y.append(t).addClass(p.titleClass),v.append(y)}}(),function(){if(i.message){var t=i.message;p.escapeHtml&&(t=n(i.message)),b.append(t).addClass(p.messageClass),v.append(b)}}(),p.closeButton&&(x.addClass(p.closeClass).attr("role","button"),v.prepend(x)),p.progressBar&&(L.addClass(p.progressClass),v.prepend(L)),p.rtl&&v.addClass("rtl"),p.newestOnTop?l.prepend(v):l.append(v),function(){var t="";switch(i.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}v.attr("aria-live",t)}(),v.hide(),v[p.showMethod]({duration:p.showDuration,easing:p.showEasing,complete:p.onShown}),p.timeOut>0&&(m=setTimeout(o,p.timeOut),w.maxHideTime=parseFloat(p.timeOut),w.hideEta=(new Date).getTime()+w.maxHideTime,p.progressBar&&(w.intervalId=setInterval(f,10))),p.closeOnHover&&v.hover(d,c),!p.onclick&&p.tapToDismiss&&v.click(o),p.closeButton&&x&&x.click(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),p.onCloseClick&&p.onCloseClick(t),o(!0)}),p.onclick&&v.click(function(t){p.onclick(t),o()}),r(_),p.debug&&console&&console.log(_),v}}function a(){return t.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},f.options)}function s(t){l||(l=e()),t.is(":visible")||(t.remove(),t=null,0===l.children().length&&(l.remove(),u=void 0))}var l,c,u,h=0,d={error:"error",info:"info",success:"success",warning:"warning"},f={clear:function(t,r){var o=a();l||e(o),n(t,o,r)||i(o)},remove:function(i){var n=a();return l||e(n),i&&0===t(":focus",i).length?void s(i):void(l.children().length&&l.remove())},error:function(t,e,i){return o({type:d.error,iconClass:a().iconClasses.error,message:t,optionsOverride:i,title:e})},getContainer:e,info:function(t,e,i){return o({type:d.info,iconClass:a().iconClasses.info,message:t,optionsOverride:i,title:e})},options:{},subscribe:function(t){c=t},success:function(t,e,i){return o({type:d.success,iconClass:a().iconClasses.success,message:t,optionsOverride:i,title:e})},version:"2.1.4",warning:function(t,e,i){return o({type:d.warning,iconClass:a().iconClasses.warning,message:t,optionsOverride:i,title:e})}};return f}()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t,e){function i(){return new Date(Date.UTC.apply(Date,arguments))}function n(){var t=new Date;return i(t.getFullYear(),t.getMonth(),t.getDate())}function r(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function o(i,n){return function(){return n!==e&&t.fn.datepicker.deprecated(n),this[i].apply(this,arguments)}}var a,s=(a={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,n=this.length;i]/g)||[]).length<=0||t(i).length>0)}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var r=this.o=t.extend({},this._o),o=r.language;p[o]||(o=o.split("-")[0],p[o]||(o=d.language)),r.language=o,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var a=g.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=g.parseDate(r.startDate,a,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=g.parseDate(r.endDate,a,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],t.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=t.map(r.datesDisabled,function(t){return g.parseDate(t,a,r.language,r.assumeNearbyYear)});var s=String(r.orientation).toLowerCase().split(/\s+/g),l=r.orientation.toLowerCase();if(s=t.grep(s,function(t){return/^auto|left|right|top|bottom$/.test(t)}),r.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":r.orientation.y=s[0];break;case"left":case"right":r.orientation.x=s[0]}else l=t.grep(s,function(t){return/^left|right$/.test(t)}),r.orientation.x=l[0]||"auto",l=t.grep(s,function(t){return/^top|bottom$/.test(t)}),r.orientation.y=l[0]||"auto";else;if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=g.parseDate(r.defaultViewDate,a,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var c=r.defaultViewDate.year||(new Date).getFullYear(),u=r.defaultViewDate.month||0,h=r.defaultViewDate.day||1;r.defaultViewDate=i(c,u,h)}else r.defaultViewDate=n()},_applyEvents:function(t){for(var i,n,r,o=0;or?(this.picker.addClass("datepicker-orient-right"),d+=h-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p=this.o.orientation.y;if("auto"===p&&(p=-o+f-i<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?f-=i+parseInt(this.picker.css("padding-top")):f+=u,this.o.rtl){var g=r-(d+h);this.picker.css({top:f,right:g,zIndex:l})}else this.picker.css({top:f,left:d,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),i=[],n=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),i.push(e)},this)),n=!0):(i=(i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?i.split(this.o.multidateSeparator):[i],delete this.element.data().date),i=t.map(i,t.proxy(function(t){return g.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),i=t.grep(i,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(i),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),n?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&n&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,i="";for(this.o.calendarWeeks&&(i+=' ');e";i+="",this.picker.find(".datepicker-days thead").append(i)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e="",i=0;i<12;i++)e+=''+p[this.o.language].monthsShort[i]+"";this.picker.find(".datepicker-months td").html(e)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var i=[],o=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),s=n();return e.getUTCFullYear()o||e.getUTCFullYear()===o&&e.getUTCMonth()>a)&&i.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&r(e,s)&&i.push("today"),-1!==this.dates.contains(e)&&i.push("active"),this.dateWithinRange(e)||i.push("disabled"),this.dateIsDisabled(e)&&i.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&i.push("highlighted"),this.range&&(e>this.range[0]&&es)&&c.push("disabled"),b===v&&c.push("focused"),l!==t.noop&&((h=l(new Date(b,0,1)))===e?h={}:"boolean"==typeof h?h={enabled:h}:"string"==typeof h&&(h={classes:h}),!1===h.enabled&&c.push("disabled"),h.classes&&(c=c.concat(h.classes.split(/\s+/))),h.tooltip&&(u=h.tooltip)),d+='"+b+"";p.find(".datepicker-switch").text(g+"-"+m),p.find("td").html(d)},fill:function(){var r,o,a=new Date(this.viewDate),s=a.getUTCFullYear(),l=a.getUTCMonth(),c=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=p[this.o.language].today||p.en.today||"",m=p[this.o.language].clear||p.en.clear||"",v=p[this.o.language].titleFormat||p.en.titleFormat,y=n(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(s)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(g.formatDate(a,v,this.o.language)),this.picker.find("tfoot .today").text(f).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(m).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var L=i(s,l,0),x=L.getUTCDate();L.setUTCDate(x-(L.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(L);L.getUTCFullYear()<100&&w.setUTCFullYear(L.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var _,S,C=[];L.valueOf()"),this.o.calendarWeeks)){var k=new Date(+L+(this.o.weekStart-_-7)%7*864e5),T=new Date(Number(k)+(11-k.getUTCDay())%7*864e5),E=new Date(Number(E=i(T.getUTCFullYear(),0,1))+(11-E.getUTCDay())%7*864e5),A=(T-E)/864e5/7+1;C.push(''+A+"")}(S=this.getClassNames(L)).push("day");var M=L.getUTCDate();this.o.beforeShowDay!==t.noop&&((o=this.o.beforeShowDay(this._utc_to_local(L)))===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&S.push("disabled"),o.classes&&(S=S.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(M=o.content)),S=t.isFunction(t.uniqueSort)?t.uniqueSort(S):t.unique(S),C.push(''+M+""),r=null,_===this.o.weekEnd&&C.push(""),L.setUTCDate(L.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(C.join(""));var D=p[this.o.language].monthsTitle||p.en.monthsTitle||"Months",P=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?D:s).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===s&&P.eq(e.getUTCMonth()).addClass("active")}),(sh)&&P.addClass("disabled"),s===c&&P.slice(0,u).addClass("disabled"),s===h&&P.slice(d+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var O=this;t.each(P,function(i,n){var r=new Date(s,i,1),o=O.o.beforeShowMonth(r);o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1!==o.enabled||t(n).hasClass("disabled")||t(n).addClass("disabled"),o.classes&&t(n).addClass(o.classes),o.tooltip&&t(n).prop("title",o.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,s,c,h,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,s,c,h,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,s,c,h,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,i=new Date(this.viewDate),n=i.getUTCFullYear(),r=i.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:t=Math.floor(n/c)*c<=o,e=Math.floor(n/c)*c+c>s;break;case 0:t=n<=o&&r<=a,e=n>=s&&r>=l}this.picker.find(".prev").toggleClass("disabled",t),this.picker.find(".next").toggleClass("disabled",e)}},click:function(e){var r,o,a;e.preventDefault(),e.stopPropagation(),(r=t(e.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(n(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),1,1===this.viewMode?(a=r.parent().find("span").index(r),o=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(a)):(a=0,o=Number(r.text()),this.viewDate.setUTCFullYear(o)),this._trigger(g.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(i(o,a,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){var i=t(e.currentTarget).data("date"),n=new Date(i);this.o.updateViewDate&&(n.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),n.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(n)},navArrowsClick:function(e){var i=t(e.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*g.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(g.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):!1===this.o.multidate?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!(i=t)||isNaN(i.getTime()))return this.o.defaultViewDate;var i;if(!e)return t;var n,r,o=new Date(t.valueOf()),a=o.getUTCDate(),s=o.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)r=-1===e?function(){return o.getUTCMonth()===s}:function(){return o.getUTCMonth()!==n},n=s+e,o.setUTCMonth(n),n=(n+12)%12;else{for(var c=0;c0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(this.picker.is(":visible")){var e,i,n=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(i=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(i=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?i=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(i=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),n=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}n&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation())},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+g.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var c=function(e,i){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(i.inputs,function(t){return t.jquery?t[0]:t}),delete i.inputs,this.keepEmptyValues=i.keepEmptyValues,delete i.keepEmptyValues,h.call(t(this.inputs),i).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t.data(e,"datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,i){i.setRange(e)})},clearDates:function(){t.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(i){if(!this.updating){this.updating=!0;var n=t.data(i.target,"datepicker");if(n!==e){var r=n.getUTCDate(),o=this.keepEmptyValues,a=t.inArray(i.target,this.inputs),s=a-1,l=a+1,c=this.inputs.length;if(-1!==a){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e!==n&&o||e.setUTCDate(r)}),r=0&&rthis.dates[l])for(;lthis.dates[l];)this.pickers[l++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,function(t){t.destroy()}),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var u=t.fn.datepicker,h=function(i){var n,r=Array.apply(null,arguments);if(r.shift(),this.each(function(){var e=t(this),o=e.data("datepicker"),a="object"==typeof i&&i;if(!o){var s=function(e,i){var n=t(e).data(),r={},o=new RegExp("^"+i.toLowerCase()+"([A-Z])");function a(t,e){return e.toLowerCase()}for(var s in i=new RegExp("^"+i.toLowerCase()),n)i.test(s)&&(r[s.replace(o,a)]=n[s]);return r}(this,"date"),u=function(e){var i={};if(p[e]||(e=e.split("-")[0],p[e])){var n=p[e];return t.each(f,function(t,e){e in n&&(i[e]=n[e])}),i}}(t.extend({},d,s,a).language),h=t.extend({},d,u,s,a);e.hasClass("input-daterange")||h.inputs?(t.extend(h,{inputs:h.inputs||e.find("input").toArray()}),o=new c(this,h)):o=new l(this,h),e.data("datepicker",o)}"string"==typeof i&&"function"==typeof o[i]&&(n=o[i].apply(o,r))}),n===e||n instanceof l||n instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return n};t.fn.datepicker=h;var d=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},f=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=l;var p=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},g={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(i,r,o,a){if(!i)return e;if(i instanceof Date)return i;if("string"==typeof r&&(r=g.parseFormat(r)),r.toValue)return r.toValue(i,r,o);var s,c,u,h,d,f={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},m={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(i in m&&(i=m[i]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(i)){for(s=i.match(/([\-+]\d+)([dmwy])/gi),i=new Date,h=0;h(new Date).getFullYear()+n&&(i-=100),i):e);var i,n},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};x.yy=x.yyyy,x.M=x.MM=x.mm=x.m,x.dd=x.d,i=n();var w=r.parts.slice();function _(){var t=this.slice(0,s[h].length),e=s[h].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(s.length!==w.length&&(w=t(w).filter(function(e,i){return-1!==t.inArray(i,L)}).toArray()),s.length===w.length){var S,C,k;for(h=0,S=w.length;h'+d.templates.leftArrow+''+d.templates.rightArrow+"",contTemplate:'',footTemplate:''};g.template='
'+g.headTemplate+""+g.footTemplate+'
'+g.headTemplate+g.contTemplate+g.footTemplate+'
'+g.headTemplate+g.contTemplate+g.footTemplate+'
'+g.headTemplate+g.contTemplate+g.footTemplate+'
'+g.headTemplate+g.contTemplate+g.footTemplate+"
",t.fn.datepicker.DPGlobal=g,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=u,this},t.fn.datepicker.version="1.9.0",t.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var i=t(this);i.data("datepicker")||(e.preventDefault(),h.call(i,"show"))}),t(function(){h.call(t('[data-provide="datepicker-inline"]'))})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i,n,r,o;return e&&e.requirejs||(e?n=e:e={},function(t){var e,o,a,s,l={},c={},u={},h={},d=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function g(t,e){return d.call(t,e)}function m(t,e){var i,n,r,o,a,s,l,c,h,d,f,g=e&&e.split("/"),m=u.map,v=m&&m["*"]||{};if(t){for(a=(t=t.split("/")).length-1,u.nodeIdCompat&&p.test(t[a])&&(t[a]=t[a].replace(p,"")),"."===t[0].charAt(0)&&g&&(t=g.slice(0,g.length-1).concat(t)),h=0;h0&&(t.splice(h-1,2),h-=2)}t=t.join("/")}if((g||v)&&m){for(h=(i=t.split("/")).length;h>0;h-=1){if(n=i.slice(0,h).join("/"),g)for(d=g.length;d>0;d-=1)if((r=m[g.slice(0,d).join("/")])&&(r=r[n])){o=r,s=h;break}if(o)break;!l&&v&&v[n]&&(l=v[n],c=h)}!o&&l&&(o=l,s=c),o&&(i.splice(0,s,o),t=i.join("/"))}return t}function v(e,i){return function(){var n=f.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),o.apply(t,n.concat([e,i]))}}function y(t){return function(e){l[t]=e}}function b(i){if(g(c,i)){var n=c[i];delete c[i],h[i]=!0,e.apply(t,n)}if(!g(l,i)&&!g(h,i))throw new Error("No "+i);return l[i]}function L(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function x(t){return t?L(t):[]}function w(t){return function(){return u&&u.config&&u.config[t]||{}}}a=function(t,e){var i,n,r=L(t),o=r[0],a=e[1];return t=r[1],o&&(i=b(o=m(o,a))),o?t=i&&i.normalize?i.normalize(t,(n=a,function(t){return m(t,n)})):m(t,a):(o=(r=L(t=m(t,a)))[0],t=r[1],o&&(i=b(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},s={require:function(t){return v(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:w(t)}}},e=function(e,i,n,r){var o,u,d,f,p,m,L,w=[],_=typeof n;if(m=x(r=r||e),"undefined"===_||"function"===_){for(i=!i.length&&n.length?["require","exports","module"]:i,p=0;p0&&(i.call(arguments,t.prototype.constructor),r=e.prototype.constructor),r.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},e.__cache={};var r=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++r),e=r.toString())),e},e.StoreData=function(t,i,n){var r=e.GetUniqueElementId(t);e.__cache[r]||(e.__cache[r]={}),e.__cache[r][i]=n},e.GetData=function(i,n){var r=e.GetUniqueElementId(i);return n?e.__cache[r]&&null!=e.__cache[r][n]?e.__cache[r][n]:t(i).data(n):e.__cache[r]},e.RemoveData=function(t){var i=e.GetUniqueElementId(t);null!=e.__cache[i]&&delete e.__cache[i]},e}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('
    ');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('
  • '),r=this.options.get("translations").get(e.message);n.append(i(r(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(n){var r=t.map(n,function(t){return t.id.toString()});i.$results.find(".select2-results__option[aria-selected]").each(function(){var i=t(this),n=e.GetData(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&t.inArray(o,r)>-1?i.attr("aria-selected","true"):i.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var r={role:"treeitem","aria-selected":"false"};for(var o in i.disabled&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==i.id&&delete r["aria-selected"],null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(r.role="group",r["aria-label"]=i.text,delete r["aria-selected"]),r){var a=r[o];n.setAttribute(o,a)}if(i.children){var s=t(n),l=document.createElement("strong");l.className="select2-results__group";t(l);this.template(i,l);for(var c=[],u=0;u",{class:"select2-results__options select2-results__options--nested"});f.append(c),s.append(l),s.append(f)}else this.template(i,n);return e.StoreData(n,"data",i),n},i.prototype.bind=function(i,n){var r=this,o=i.id+"-results";this.$results.attr("id",o),i.on("results:all",function(t){r.clear(),r.append(t.data),i.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),i.on("results:append",function(t){r.append(t.data),i.isOpen()&&r.setClasses()}),i.on("query",function(t){r.hideMessages(),r.showLoading(t)}),i.on("select",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),i.on("unselect",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),i.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),i.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),i.on("results:select",function(){var t=r.getHighlightedResults();if(0!==t.length){var i=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:i})}}),i.on("results:previous",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t);if(!(i<=0)){var n=i-1;0===t.length&&(n=0);var o=e.eq(n);o.trigger("mouseenter");var a=r.$results.offset().top,s=o.offset().top,l=r.$results.scrollTop()+(s-a);0===n?r.$results.scrollTop(0):s-a<0&&r.$results.scrollTop(l)}}),i.on("results:next",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var n=e.eq(i);n.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),a=n.offset().top+n.outerHeight(!1),s=r.$results.scrollTop()+a-o;0===i?r.$results.scrollTop(0):a>o&&r.$results.scrollTop(s)}}),i.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),i.on("results:message",function(t){r.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),i=r.$results.get(0).scrollHeight-e+t.deltaY,n=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&i<=r.$results.height();n?(r.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var n=t(this),o=e.GetData(this,"data");"true"!==n.attr("aria-selected")?r.trigger("select",{originalEvent:i,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:i,data:o}):r.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(i){var n=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:n,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,r=this.$results.scrollTop()+(n-i),o=n-i;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=n(e,i);null==o?i.style.display="none":"string"==typeof o?i.innerHTML=r(o):t(i).append(o)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var i=t('');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),this.$selection=i,i},n.prototype.bind=function(t,e){var n=this,r=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",r),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),window.setTimeout(function(){n.$selection.focus()},0),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(e){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)||i.trigger("blur",e)},1)},n.prototype._attachCloseHandler=function(i){t(document.body).on("mousedown.select2."+i.id,function(i){var n=t(i.target).closest(".select2");t(".select2.select2-container--open").each(function(){t(this);this!=n[0]&&e.GetData(this,"element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function r(){r.__super__.constructor.apply(this,arguments)}return i.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},r.prototype.bind=function(t,e){var i=this;r.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||i.$selection.focus()})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},r.prototype.selectionContainer=function(){return t("")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n),i.attr("title",e.title||e.text)}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
      '),t},n.prototype.bind=function(e,r){var o=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.options.get("disabled")){var n=t(this).parent(),r=i.GetData(n[0],"data");o.trigger("unselect",{originalEvent:e,data:r})}})},n.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},n.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},n.prototype.selectionContainer=function(){return t('
    • ×
    • ')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,i){function n(){}return n.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();var r=i.GetData(n[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:r};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s0||0===n.length)){var r=this.options.get("translations").get("removeAllItems"),o=t('×');i.StoreData(o[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(o)}},n}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,n,r){var o=this;t.call(this,n,r),n.on("open",function(){o.$search.trigger("focus")}),n.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),n.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),n.on("disable",function(){o.$search.prop("disabled",!0)}),n.on("focus",function(t){o.$search.trigger("focus")}),n.on("results:focus",function(t){o.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var n=o.$searchContainer.prev(".select2-selection__choice");if(n.length>0){var r=e.GetData(n[0],"data");o.searchRemoveChoice(r),t.preventDefault()}}});var a=document.documentMode,s=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){s?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(s&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&o.handleSearch(t)}})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;(this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i)&&(this.$element.find("[data-select2-tag]").length?this.$element.focus():this.$search.focus())},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,o)){i=i||{};var n=t.Event("select2:"+e,{params:i});r.$element.trigger(n),-1!==t.inArray(e,a)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,i){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return n+=t.generateChars(4),null!=i.id?n+="-"+i.id.toString():n+="-"+t.generateChars(4),n},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),r=n.item(t);e.push(r)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var r=[];(t=[t]).push.apply(t,n);for(var o=0;o=0){var u=r.filter(s(c)),h=this.item(u),d=i.extend(!0,{},c,h),f=this.option(d);u.replaceWith(f)}else{var p=this.option(c);if(c.children){var g=this.convertToOptions(c.children);e.appendMany(p,g)}a.push(p)}}return a},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var r=i.ajax(t);return r.then(e),r.fail(n),r}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){var n=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=i.extend({type:"GET"},this.ajaxOptions);function o(){var o=r.transport(r,function(r){var o=n.processResults(r,t);n.options.get("debug")&&window.console&&console.error&&(o&&o.results&&i.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in o&&(0===o.status||"0"===o.status)||n.trigger("results:message",{message:"errorLoading"})});n._request=o}"function"==typeof r.url&&(r.url=r.url.call(this.$element,t)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var r=n.get("tags"),o=n.get("createTag");void 0!==o&&(this.createTag=o);var a=n.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,i,n),t.isArray(r))for(var s=0;s0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(r){var o=null!=r?r.length:0;n.maximumSelectionLength>0&&o>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.prototype.render=function(e){var i=e.call(this),n=t('');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var r=this;e.call(this,i,n),this.$search.on("keydown",function(t){r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){r.handleSearch(t)}),i.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),i.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val(""),r.$search.blur()}),i.on("focus",function(){i.isOpen()||r.$search.focus()}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(r.showSearch(t)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var r=e[n];this.placeholder.id===r.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var r=this;e.call(this,i,n),i.on("query",function(t){r.lastParams=t,r.loading=!0}),i.on("query:append",function(t){r.lastParams=t,r.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,r.$loadingMore[0]);!r.loading&&e&&(r.$results.offset().top+r.$results.outerHeight(!1)+50>=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)&&r.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('
    • '),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=n.get("dropdownParent")||t(document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this,r=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t(""),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var r=this,o="scroll.select2."+n.id,a="resize.select2."+n.id,s="orientationchange.select2."+n.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(i){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(o+" "+a+" "+s,function(t){r._positionDropdown(),r._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var r="scroll.select2."+n.id,o="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(r),t(window).off(r+" "+o+" "+a)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=lo.bottom+s,d={left:o.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p=f.offset();d.top-=p.top,d.left-=p.left,i||n||(r="below"),h||!u||i?!u&&h&&i&&(r="below"):r="above",("above"==r||i&&"below"!==r)&&(d.top=a.top-p.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(d)},i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,b)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null==h.tokenSeparators&&null==h.tokenizer||(h.dataAdapter=c.Decorate(h.dataAdapter,m)),null!=h.query){var E=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,E)}if(null!=h.initSelection){var A=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,A)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,_)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,w)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=L;else{var M=c.Decorate(L,x);h.dropdownAdapter=M}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,T)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var D=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,D)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=r:h.selectionAdapter=n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,o)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var P=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,P)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var O=h.language.split("-")[0];h.language=[h.language,O]}else h.language=[h.language];if(t.isArray(h.language)){var I=new u;h.language.push("en");for(var N=h.language,R=0;R0){for(var o=t.extend(!0,{},r),a=r.children.length-1;a>=0;a--)null==i(n,r.children[a])&&o.children.splice(a,1);return o.children.length>0?o:i(n,o)}var s=e(r.text).toUpperCase(),l=e(n.term).toUpperCase();return s.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},A.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var r=c._convertData(n);t.extend(!0,this.defaults,r)},new A}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function r(e,r){if(this.options=e,null!=r&&this.fromElement(r),this.options=i.apply(this.options),r&&r.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),n.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl")));var r={};function o(t,e){return e.toUpperCase()}for(var a=0;a-1||(e.isPlainObject(this.options[h])?e.extend(this.options[h],u[h]):this.options[h]=u[h]);return this},r.prototype.get=function(t){return this.options[t]},r.prototype.set=function(t,e){this.options[t]=e},r}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var r=function(t,n){null!=i.GetData(t[0],"select2")&&i.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),n=n||{},this.options=new e(n,t),r.__super__.constructor.call(this);var o=t.attr("tabindex")||0;i.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var h=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){h.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(t[0],"select2",this),t.data("select2",this)};return i.Extend(r,i.Observable),r.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},r.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s=1)return c[1]}return null}return e},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._syncA),t.each(i,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},r.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerSelectionEvents=function(){var e=this,i=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(n,r){-1===t.inArray(n,i)&&e.trigger(n,r)})},r.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&e.altKey?(t.close(),e.preventDefault()):i===n.ENTER?(t.trigger("results:select",{}),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):i===n.UP?(t.trigger("results:previous",{}),e.preventDefault()):i===n.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var r=0;r0&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},r.prototype.trigger=function(t,e){var i=r.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in n){var o=n[t],a={prevented:!1,name:t,args:e};if(i.call(this,o,a),a.prevented)return void(e.prevented=!0)}i.call(this,t,e)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),i.StoreData(e[0],"element",this.$element),e},r}),e.define("select2/compat/utils",["jquery"],function(t){return{syncCssClasses:function(e,i,n){var r,o,a=[];(r=t.trim(e.attr("class")))&&t((r=""+r).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&a.push(this)}),(r=t.trim(i.attr("class")))&&t((r=""+r).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(o=n(this))&&a.push(o)}),e.attr("class",a.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var r=n.call(this),o=this.options.get("containerCssClass")||"";t.isFunction(o)&&(o=o(this.$element));var a=this.options.get("adaptContainerCssClass");if(a=a||i,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var s=a;a=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("containerCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(r,this.$element,a),r.css(l),r.addClass(o),r},n}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var r=n.call(this),o=this.options.get("dropdownCssClass")||"";t.isFunction(o)&&(o=o(this.$element));var a=this.options.get("adaptDropdownCssClass");if(a=a||i,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var s=a;a=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("dropdownCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(r,this.$element,a),r.css(l),r.addClass(o),r},n}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return e.prototype.current=function(e,i){var n=this;this._isInitialized?e.call(this,i):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,t.isArray(e)||(e=[e]),i(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(t,e){function i(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `').appendTo(this.$container),this.$element.before(this.$container),this.build(i),this.isInit=!1}function n(t,e){if("function"!=typeof t[e]){var i=t[e];t[e]=function(t){return t[i]}}}function r(t,e){if("function"!=typeof t[e]){var i=t[e];t[e]=function(){return i}}}i.prototype={constructor:i,add:function(e,i,n){var r=this;if(!(r.options.maxTags&&r.itemsArray.length>=r.options.maxTags)&&(!1===e||e)){if("string"==typeof e&&r.options.trimValue&&(e=t.trim(e)),"object"==typeof e&&!r.objectItems)throw"Can't add objects when itemValue option is not set";if(!e.toString().match(/^\s*$/)){if(r.isSelect&&!r.multiple&&r.itemsArray.length>0&&r.remove(r.itemsArray[0]),"string"==typeof e&&"INPUT"===this.$element[0].tagName){var o=r.options.delimiterRegex?r.options.delimiterRegex:r.options.delimiter,s=e.split(o);if(s.length>1){for(var l=0;lr.options.maxInputLength)){var p=t.Event("beforeItemAdd",{item:e,cancel:!1,options:n});if(r.$element.trigger(p),!p.cancel){r.itemsArray.push(e);var g=t(''+a(u)+'');g.data("item",e),r.findInputWrapper().before(g),g.after(" ");var m=t('option[value="'+encodeURIComponent(c)+'"]',r.$element).length||t('option[value="'+a(c)+'"]',r.$element).length;if(r.isSelect&&!m){var v=t("");v.data("item",e),v.attr("value",c),r.$element.append(v)}i||r.pushVal(r.options.triggerChange),r.options.maxTags!==r.itemsArray.length&&r.items().toString().length!==r.options.maxInputLength||r.$container.addClass("bootstrap-tagsinput-max"),t(".typeahead, .twitter-typeahead",r.$container).length&&r.$input.typeahead("val",""),this.isInit?r.$element.trigger(t.Event("itemAddedOnInit",{item:e,options:n})):r.$element.trigger(t.Event("itemAdded",{item:e,options:n}))}}}else if(r.options.onTagExists){var y=t(".badge",r.$container).filter(function(){return t(this).data("item")===f});r.options.onTagExists(e,y)}}}},remove:function(e,i,n){var r=this;if(r.objectItems&&(e=(e="object"==typeof e?t.grep(r.itemsArray,function(t){return r.options.itemValue(t)==r.options.itemValue(e)}):t.grep(r.itemsArray,function(t){return r.options.itemValue(t)==e}))[e.length-1]),e){var o=t.Event("beforeItemRemove",{item:e,cancel:!1,options:n});if(r.$element.trigger(o),o.cancel)return;t(".badge",r.$container).filter(function(){return t(this).data("item")===e}).remove(),t("option",r.$element).filter(function(){return t(this).data("item")===e}).remove(),-1!==t.inArray(e,r.itemsArray)&&r.itemsArray.splice(t.inArray(e,r.itemsArray),1)}i||r.pushVal(r.options.triggerChange),r.options.maxTags>r.itemsArray.length&&r.$container.removeClass("bootstrap-tagsinput-max"),r.$element.trigger(t.Event("itemRemoved",{item:e,options:n}))},removeAll:function(){for(t(".badge",this.$container).remove(),t("option",this.$element).remove();this.itemsArray.length>0;)this.itemsArray.pop();this.pushVal(this.options.triggerChange)},refresh:function(){var e=this;t(".badge",e.$container).each(function(){var i=t(this),n=i.data("item"),r=e.options.itemValue(n),o=e.options.itemText(n),s=e.options.tagClass(n);(i.attr("class",null),i.addClass("badge "+a(s)),i.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=a(o),e.isSelect)&&t("option",e.$element).filter(function(){return t(this).data("item")===n}).attr("value",r)})},items:function(){return this.itemsArray},pushVal:function(){var e=this,i=t.map(e.items(),function(t){return e.options.itemValue(t).toString()});e.$element.val(i.join(e.options.delimiter)),e.options.triggerChange&&e.$element.trigger("change")},build:function(i){var o=this;if(o.options=t.extend({},e,i),o.objectItems&&(o.options.freeInput=!1),n(o.options,"itemValue"),n(o.options,"itemText"),r(o.options,"tagClass"),o.options.typeahead){var a=o.options.typeahead||{};r(a,"source"),o.$input.typeahead(t.extend({},a,{source:function(e,i){function n(t){for(var e=[],n=0;n$1")}}))}if(o.options.typeaheadjs){var l=o.options.typeaheadjs;t.isArray(l)||(l=[null,l]),t.fn.typeahead.apply(o.$input,l).on("typeahead:selected",t.proxy(function(t,e,i){var n=0;l.some(function(t,e){return t.name===i&&(n=e,!0)}),l[n].valueKey?o.add(e[l[n].valueKey]):o.add(e),o.$input.typeahead("val","")},o))}o.$container.on("click",t.proxy(function(t){o.$element.attr("disabled")||o.$input.removeAttr("disabled"),o.$input.focus()},o)),o.options.addOnBlur&&o.options.freeInput&&o.$input.on("focusout",t.proxy(function(e){0===t(".typeahead, .twitter-typeahead",o.$container).length&&(o.add(o.$input.val()),o.$input.val(""))},o)),o.$container.on({focusin:function(){o.$container.addClass(o.options.focusClass)},focusout:function(){o.$container.removeClass(o.options.focusClass)}}),o.$container.on("keydown","input",t.proxy(function(e){var i=t(e.target),n=o.findInputWrapper();if(o.$element.attr("disabled"))o.$input.attr("disabled","disabled");else{switch(e.which){case 8:if(0===s(i[0])){var r=n.prev();r.length&&o.remove(r.data("item"))}break;case 46:if(0===s(i[0])){var a=n.next();a.length&&o.remove(a.data("item"))}break;case 37:var l=n.prev();0===i.val().length&&l[0]&&(l.before(n),i.focus());break;case 39:var c=n.next();0===i.val().length&&c[0]&&(c.after(n),i.focus())}var u=i.val().length,h=u+Math.ceil(u/5)+1;i.attr("size",Math.max(this.inputSize,h))}},o)),o.$container.on("keypress","input",t.proxy(function(e){var i=t(e.target);if(o.$element.attr("disabled"))o.$input.attr("disabled","disabled");else{var n,r,a,s=i.val(),l=o.options.maxChars&&s.length>=o.options.maxChars;o.options.freeInput&&(n=e,r=o.options.confirmKeys,a=!1,t.each(r,function(t,e){if("number"==typeof e&&n.which===e)return a=!0,!1;if(n.which===e.which){var i=!e.hasOwnProperty("altKey")||n.altKey===e.altKey,r=!e.hasOwnProperty("shiftKey")||n.shiftKey===e.shiftKey,o=!e.hasOwnProperty("ctrlKey")||n.ctrlKey===e.ctrlKey;if(i&&r&&o)return a=!0,!1}}),a||l)&&(0!==s.length&&(o.add(l?s.substr(0,o.options.maxChars):s),i.val("")),!1===o.options.cancelConfirmKeysOnEmpty&&e.preventDefault());var c=i.val().length,u=c+Math.ceil(c/5)+1;i.attr("size",Math.max(this.inputSize,u))}},o)),o.$container.on("click","[data-role=remove]",t.proxy(function(e){o.$element.attr("disabled")||o.remove(t(e.target).closest(".badge").data("item"))},o)),o.options.itemValue===e.itemValue&&("INPUT"===o.$element[0].tagName?o.add(o.$element.val()):t("option",o.$element).each(function(){o.add(t(this).attr("value"),!0)}))},destroy:function(){this.$container.off("keypress","input"),this.$container.off("click","[role=remove]"),this.$container.remove(),this.$element.removeData("tagsinput"),this.$element.show()},focus:function(){this.$input.focus()},input:function(){return this.$input},findInputWrapper:function(){for(var e=this.$input[0],i=this.$container[0];e&&e.parentNode!==i;)e=e.parentNode;return t(e)}},t.fn.tagsinput=function(e,n,r){var o=[];return this.each(function(){var a=t(this).data("tagsinput");if(a)if(e||n){if(void 0!==a[e]){if(3===a[e].length&&void 0!==r)var s=a[e](n,null,r);else s=a[e](n);void 0!==s&&o.push(s)}}else o.push(a);else a=new i(this,e),t(this).data("tagsinput",a),o.push(a),"SELECT"===this.tagName&&t("option",t(this)).attr("selected","selected"),t(this).val(t(this).val())}),"string"==typeof e?o.length>1?o:o[0]:o},t.fn.tagsinput.Constructor=i;var o=t("
      ");function a(t){return t?o.text(t).html():""}function s(t){var e=0;if(document.selection){t.focus();var i=document.selection.createRange();i.moveStart("character",-t.value.length),e=i.text.length}else(t.selectionStart||"0"==t.selectionStart)&&(e=t.selectionStart);return e}t(function(){t("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery); \ No newline at end of file diff --git a/public/asset/js/vendors.js b/public/asset/js/vendors.js new file mode 100644 index 0000000..f5565d7 --- /dev/null +++ b/public/asset/js/vendors.js @@ -0,0 +1,62936 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
      ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0>label: Widget +//>>group: Core +//>>description: Provides a factory for creating stateful widgets with a common API. +//>>docs: http://api.jqueryui.com/jQuery.widget/ +//>>demos: http://jqueryui.com/widget/ + + + +var widgetUuid = 0; +var widgetSlice = Array.prototype.slice; + +$.cleanData = ( function( orig ) { + return function( elems ) { + var events, elem, i; + for ( i = 0; ( elem = elems[ i ] ) != null; i++ ) { + try { + + // Only trigger remove when necessary to save time + events = $._data( elem, "events" ); + if ( events && events.remove ) { + $( elem ).triggerHandler( "remove" ); + } + + // Http://bugs.jquery.com/ticket/8235 + } catch ( e ) {} + } + orig( elems ); + }; +} )( $.cleanData ); + +$.widget = function( name, base, prototype ) { + var existingConstructor, constructor, basePrototype; + + // ProxiedPrototype allows the provided prototype to remain unmodified + // so that it can be used as a mixin for multiple widgets (#8876) + var proxiedPrototype = {}; + + var namespace = name.split( "." )[ 0 ]; + name = name.split( "." )[ 1 ]; + var fullName = namespace + "-" + name; + + if ( !prototype ) { + prototype = base; + base = $.Widget; + } + + if ( $.isArray( prototype ) ) { + prototype = $.extend.apply( null, [ {} ].concat( prototype ) ); + } + + // Create selector for plugin + $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) { + return !!$.data( elem, fullName ); + }; + + $[ namespace ] = $[ namespace ] || {}; + existingConstructor = $[ namespace ][ name ]; + constructor = $[ namespace ][ name ] = function( options, element ) { + + // Allow instantiation without "new" keyword + if ( !this._createWidget ) { + return new constructor( options, element ); + } + + // Allow instantiation without initializing for simple inheritance + // must use "new" keyword (the code above always passes args) + if ( arguments.length ) { + this._createWidget( options, element ); + } + }; + + // Extend with the existing constructor to carry over any static properties + $.extend( constructor, existingConstructor, { + version: prototype.version, + + // Copy the object used to create the prototype in case we need to + // redefine the widget later + _proto: $.extend( {}, prototype ), + + // Track widgets that inherit from this widget in case this widget is + // redefined after a widget inherits from it + _childConstructors: [] + } ); + + basePrototype = new base(); + + // We need to make the options hash a property directly on the new instance + // otherwise we'll modify the options hash on the prototype that we're + // inheriting from + basePrototype.options = $.widget.extend( {}, basePrototype.options ); + $.each( prototype, function( prop, value ) { + if ( !$.isFunction( value ) ) { + proxiedPrototype[ prop ] = value; + return; + } + proxiedPrototype[ prop ] = ( function() { + function _super() { + return base.prototype[ prop ].apply( this, arguments ); + } + + function _superApply( args ) { + return base.prototype[ prop ].apply( this, args ); + } + + return function() { + var __super = this._super; + var __superApply = this._superApply; + var returnValue; + + this._super = _super; + this._superApply = _superApply; + + returnValue = value.apply( this, arguments ); + + this._super = __super; + this._superApply = __superApply; + + return returnValue; + }; + } )(); + } ); + constructor.prototype = $.widget.extend( basePrototype, { + + // TODO: remove support for widgetEventPrefix + // always use the name + a colon as the prefix, e.g., draggable:start + // don't prefix for widgets that aren't DOM-based + widgetEventPrefix: existingConstructor ? ( basePrototype.widgetEventPrefix || name ) : name + }, proxiedPrototype, { + constructor: constructor, + namespace: namespace, + widgetName: name, + widgetFullName: fullName + } ); + + // If this widget is being redefined then we need to find all widgets that + // are inheriting from it and redefine all of them so that they inherit from + // the new version of this widget. We're essentially trying to replace one + // level in the prototype chain. + if ( existingConstructor ) { + $.each( existingConstructor._childConstructors, function( i, child ) { + var childPrototype = child.prototype; + + // Redefine the child widget using the same prototype that was + // originally used, but inherit from the new version of the base + $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, + child._proto ); + } ); + + // Remove the list of existing child constructors from the old constructor + // so the old child constructors can be garbage collected + delete existingConstructor._childConstructors; + } else { + base._childConstructors.push( constructor ); + } + + $.widget.bridge( name, constructor ); + + return constructor; +}; + +$.widget.extend = function( target ) { + var input = widgetSlice.call( arguments, 1 ); + var inputIndex = 0; + var inputLength = input.length; + var key; + var value; + + for ( ; inputIndex < inputLength; inputIndex++ ) { + for ( key in input[ inputIndex ] ) { + value = input[ inputIndex ][ key ]; + if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) { + + // Clone objects + if ( $.isPlainObject( value ) ) { + target[ key ] = $.isPlainObject( target[ key ] ) ? + $.widget.extend( {}, target[ key ], value ) : + + // Don't extend strings, arrays, etc. with objects + $.widget.extend( {}, value ); + + // Copy everything else by reference + } else { + target[ key ] = value; + } + } + } + } + return target; +}; + +$.widget.bridge = function( name, object ) { + var fullName = object.prototype.widgetFullName || name; + $.fn[ name ] = function( options ) { + var isMethodCall = typeof options === "string"; + var args = widgetSlice.call( arguments, 1 ); + var returnValue = this; + + if ( isMethodCall ) { + + // If this is an empty collection, we need to have the instance method + // return undefined instead of the jQuery instance + if ( !this.length && options === "instance" ) { + returnValue = undefined; + } else { + this.each( function() { + var methodValue; + var instance = $.data( this, fullName ); + + if ( options === "instance" ) { + returnValue = instance; + return false; + } + + if ( !instance ) { + return $.error( "cannot call methods on " + name + + " prior to initialization; " + + "attempted to call method '" + options + "'" ); + } + + if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) { + return $.error( "no such method '" + options + "' for " + name + + " widget instance" ); + } + + methodValue = instance[ options ].apply( instance, args ); + + if ( methodValue !== instance && methodValue !== undefined ) { + returnValue = methodValue && methodValue.jquery ? + returnValue.pushStack( methodValue.get() ) : + methodValue; + return false; + } + } ); + } + } else { + + // Allow multiple hashes to be passed on init + if ( args.length ) { + options = $.widget.extend.apply( null, [ options ].concat( args ) ); + } + + this.each( function() { + var instance = $.data( this, fullName ); + if ( instance ) { + instance.option( options || {} ); + if ( instance._init ) { + instance._init(); + } + } else { + $.data( this, fullName, new object( options, this ) ); + } + } ); + } + + return returnValue; + }; +}; + +$.Widget = function( /* options, element */ ) {}; +$.Widget._childConstructors = []; + +$.Widget.prototype = { + widgetName: "widget", + widgetEventPrefix: "", + defaultElement: "
      ", + + options: { + classes: {}, + disabled: false, + + // Callbacks + create: null + }, + + _createWidget: function( options, element ) { + element = $( element || this.defaultElement || this )[ 0 ]; + this.element = $( element ); + this.uuid = widgetUuid++; + this.eventNamespace = "." + this.widgetName + this.uuid; + + this.bindings = $(); + this.hoverable = $(); + this.focusable = $(); + this.classesElementLookup = {}; + + if ( element !== this ) { + $.data( element, this.widgetFullName, this ); + this._on( true, this.element, { + remove: function( event ) { + if ( event.target === element ) { + this.destroy(); + } + } + } ); + this.document = $( element.style ? + + // Element within the document + element.ownerDocument : + + // Element is window or document + element.document || element ); + this.window = $( this.document[ 0 ].defaultView || this.document[ 0 ].parentWindow ); + } + + this.options = $.widget.extend( {}, + this.options, + this._getCreateOptions(), + options ); + + this._create(); + + if ( this.options.disabled ) { + this._setOptionDisabled( this.options.disabled ); + } + + this._trigger( "create", null, this._getCreateEventData() ); + this._init(); + }, + + _getCreateOptions: function() { + return {}; + }, + + _getCreateEventData: $.noop, + + _create: $.noop, + + _init: $.noop, + + destroy: function() { + var that = this; + + this._destroy(); + $.each( this.classesElementLookup, function( key, value ) { + that._removeClass( value, key ); + } ); + + // We can probably remove the unbind calls in 2.0 + // all event bindings should go through this._on() + this.element + .off( this.eventNamespace ) + .removeData( this.widgetFullName ); + this.widget() + .off( this.eventNamespace ) + .removeAttr( "aria-disabled" ); + + // Clean up events and states + this.bindings.off( this.eventNamespace ); + }, + + _destroy: $.noop, + + widget: function() { + return this.element; + }, + + option: function( key, value ) { + var options = key; + var parts; + var curOption; + var i; + + if ( arguments.length === 0 ) { + + // Don't return a reference to the internal hash + return $.widget.extend( {}, this.options ); + } + + if ( typeof key === "string" ) { + + // Handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } } + options = {}; + parts = key.split( "." ); + key = parts.shift(); + if ( parts.length ) { + curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] ); + for ( i = 0; i < parts.length - 1; i++ ) { + curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {}; + curOption = curOption[ parts[ i ] ]; + } + key = parts.pop(); + if ( arguments.length === 1 ) { + return curOption[ key ] === undefined ? null : curOption[ key ]; + } + curOption[ key ] = value; + } else { + if ( arguments.length === 1 ) { + return this.options[ key ] === undefined ? null : this.options[ key ]; + } + options[ key ] = value; + } + } + + this._setOptions( options ); + + return this; + }, + + _setOptions: function( options ) { + var key; + + for ( key in options ) { + this._setOption( key, options[ key ] ); + } + + return this; + }, + + _setOption: function( key, value ) { + if ( key === "classes" ) { + this._setOptionClasses( value ); + } + + this.options[ key ] = value; + + if ( key === "disabled" ) { + this._setOptionDisabled( value ); + } + + return this; + }, + + _setOptionClasses: function( value ) { + var classKey, elements, currentElements; + + for ( classKey in value ) { + currentElements = this.classesElementLookup[ classKey ]; + if ( value[ classKey ] === this.options.classes[ classKey ] || + !currentElements || + !currentElements.length ) { + continue; + } + + // We are doing this to create a new jQuery object because the _removeClass() call + // on the next line is going to destroy the reference to the current elements being + // tracked. We need to save a copy of this collection so that we can add the new classes + // below. + elements = $( currentElements.get() ); + this._removeClass( currentElements, classKey ); + + // We don't use _addClass() here, because that uses this.options.classes + // for generating the string of classes. We want to use the value passed in from + // _setOption(), this is the new value of the classes option which was passed to + // _setOption(). We pass this value directly to _classes(). + elements.addClass( this._classes( { + element: elements, + keys: classKey, + classes: value, + add: true + } ) ); + } + }, + + _setOptionDisabled: function( value ) { + this._toggleClass( this.widget(), this.widgetFullName + "-disabled", null, !!value ); + + // If the widget is becoming disabled, then nothing is interactive + if ( value ) { + this._removeClass( this.hoverable, null, "ui-state-hover" ); + this._removeClass( this.focusable, null, "ui-state-focus" ); + } + }, + + enable: function() { + return this._setOptions( { disabled: false } ); + }, + + disable: function() { + return this._setOptions( { disabled: true } ); + }, + + _classes: function( options ) { + var full = []; + var that = this; + + options = $.extend( { + element: this.element, + classes: this.options.classes || {} + }, options ); + + function processClassString( classes, checkOption ) { + var current, i; + for ( i = 0; i < classes.length; i++ ) { + current = that.classesElementLookup[ classes[ i ] ] || $(); + if ( options.add ) { + current = $( $.unique( current.get().concat( options.element.get() ) ) ); + } else { + current = $( current.not( options.element ).get() ); + } + that.classesElementLookup[ classes[ i ] ] = current; + full.push( classes[ i ] ); + if ( checkOption && options.classes[ classes[ i ] ] ) { + full.push( options.classes[ classes[ i ] ] ); + } + } + } + + this._on( options.element, { + "remove": "_untrackClassesElement" + } ); + + if ( options.keys ) { + processClassString( options.keys.match( /\S+/g ) || [], true ); + } + if ( options.extra ) { + processClassString( options.extra.match( /\S+/g ) || [] ); + } + + return full.join( " " ); + }, + + _untrackClassesElement: function( event ) { + var that = this; + $.each( that.classesElementLookup, function( key, value ) { + if ( $.inArray( event.target, value ) !== -1 ) { + that.classesElementLookup[ key ] = $( value.not( event.target ).get() ); + } + } ); + }, + + _removeClass: function( element, keys, extra ) { + return this._toggleClass( element, keys, extra, false ); + }, + + _addClass: function( element, keys, extra ) { + return this._toggleClass( element, keys, extra, true ); + }, + + _toggleClass: function( element, keys, extra, add ) { + add = ( typeof add === "boolean" ) ? add : extra; + var shift = ( typeof element === "string" || element === null ), + options = { + extra: shift ? keys : extra, + keys: shift ? element : keys, + element: shift ? this.element : element, + add: add + }; + options.element.toggleClass( this._classes( options ), add ); + return this; + }, + + _on: function( suppressDisabledCheck, element, handlers ) { + var delegateElement; + var instance = this; + + // No suppressDisabledCheck flag, shuffle arguments + if ( typeof suppressDisabledCheck !== "boolean" ) { + handlers = element; + element = suppressDisabledCheck; + suppressDisabledCheck = false; + } + + // No element argument, shuffle and use this.element + if ( !handlers ) { + handlers = element; + element = this.element; + delegateElement = this.widget(); + } else { + element = delegateElement = $( element ); + this.bindings = this.bindings.add( element ); + } + + $.each( handlers, function( event, handler ) { + function handlerProxy() { + + // Allow widgets to customize the disabled handling + // - disabled as an array instead of boolean + // - disabled class as method for disabling individual parts + if ( !suppressDisabledCheck && + ( instance.options.disabled === true || + $( this ).hasClass( "ui-state-disabled" ) ) ) { + return; + } + return ( typeof handler === "string" ? instance[ handler ] : handler ) + .apply( instance, arguments ); + } + + // Copy the guid so direct unbinding works + if ( typeof handler !== "string" ) { + handlerProxy.guid = handler.guid = + handler.guid || handlerProxy.guid || $.guid++; + } + + var match = event.match( /^([\w:-]*)\s*(.*)$/ ); + var eventName = match[ 1 ] + instance.eventNamespace; + var selector = match[ 2 ]; + + if ( selector ) { + delegateElement.on( eventName, selector, handlerProxy ); + } else { + element.on( eventName, handlerProxy ); + } + } ); + }, + + _off: function( element, eventName ) { + eventName = ( eventName || "" ).split( " " ).join( this.eventNamespace + " " ) + + this.eventNamespace; + element.off( eventName ).off( eventName ); + + // Clear the stack to avoid memory leaks (#10056) + this.bindings = $( this.bindings.not( element ).get() ); + this.focusable = $( this.focusable.not( element ).get() ); + this.hoverable = $( this.hoverable.not( element ).get() ); + }, + + _delay: function( handler, delay ) { + function handlerProxy() { + return ( typeof handler === "string" ? instance[ handler ] : handler ) + .apply( instance, arguments ); + } + var instance = this; + return setTimeout( handlerProxy, delay || 0 ); + }, + + _hoverable: function( element ) { + this.hoverable = this.hoverable.add( element ); + this._on( element, { + mouseenter: function( event ) { + this._addClass( $( event.currentTarget ), null, "ui-state-hover" ); + }, + mouseleave: function( event ) { + this._removeClass( $( event.currentTarget ), null, "ui-state-hover" ); + } + } ); + }, + + _focusable: function( element ) { + this.focusable = this.focusable.add( element ); + this._on( element, { + focusin: function( event ) { + this._addClass( $( event.currentTarget ), null, "ui-state-focus" ); + }, + focusout: function( event ) { + this._removeClass( $( event.currentTarget ), null, "ui-state-focus" ); + } + } ); + }, + + _trigger: function( type, event, data ) { + var prop, orig; + var callback = this.options[ type ]; + + data = data || {}; + event = $.Event( event ); + event.type = ( type === this.widgetEventPrefix ? + type : + this.widgetEventPrefix + type ).toLowerCase(); + + // The original event may come from any element + // so we need to reset the target on the new event + event.target = this.element[ 0 ]; + + // Copy original event properties over to the new event + orig = event.originalEvent; + if ( orig ) { + for ( prop in orig ) { + if ( !( prop in event ) ) { + event[ prop ] = orig[ prop ]; + } + } + } + + this.element.trigger( event, data ); + return !( $.isFunction( callback ) && + callback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false || + event.isDefaultPrevented() ); + } +}; + +$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { + $.Widget.prototype[ "_" + method ] = function( element, options, callback ) { + if ( typeof options === "string" ) { + options = { effect: options }; + } + + var hasOptions; + var effectName = !options ? + method : + options === true || typeof options === "number" ? + defaultEffect : + options.effect || defaultEffect; + + options = options || {}; + if ( typeof options === "number" ) { + options = { duration: options }; + } + + hasOptions = !$.isEmptyObject( options ); + options.complete = callback; + + if ( options.delay ) { + element.delay( options.delay ); + } + + if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) { + element[ method ]( options ); + } else if ( effectName !== method && element[ effectName ] ) { + element[ effectName ]( options.duration, options.easing, callback ); + } else { + element.queue( function( next ) { + $( this )[ method ](); + if ( callback ) { + callback.call( element[ 0 ] ); + } + next(); + } ); + } + }; +} ); + +var widget = $.widget; + + +/*! + * jQuery UI Position 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://api.jqueryui.com/position/ + */ + +//>>label: Position +//>>group: Core +//>>description: Positions elements relative to other elements. +//>>docs: http://api.jqueryui.com/position/ +//>>demos: http://jqueryui.com/position/ + + +( function() { +var cachedScrollbarWidth, + max = Math.max, + abs = Math.abs, + rhorizontal = /left|center|right/, + rvertical = /top|center|bottom/, + roffset = /[\+\-]\d+(\.[\d]+)?%?/, + rposition = /^\w+/, + rpercent = /%$/, + _position = $.fn.position; + +function getOffsets( offsets, width, height ) { + return [ + parseFloat( offsets[ 0 ] ) * ( rpercent.test( offsets[ 0 ] ) ? width / 100 : 1 ), + parseFloat( offsets[ 1 ] ) * ( rpercent.test( offsets[ 1 ] ) ? height / 100 : 1 ) + ]; +} + +function parseCss( element, property ) { + return parseInt( $.css( element, property ), 10 ) || 0; +} + +function getDimensions( elem ) { + var raw = elem[ 0 ]; + if ( raw.nodeType === 9 ) { + return { + width: elem.width(), + height: elem.height(), + offset: { top: 0, left: 0 } + }; + } + if ( $.isWindow( raw ) ) { + return { + width: elem.width(), + height: elem.height(), + offset: { top: elem.scrollTop(), left: elem.scrollLeft() } + }; + } + if ( raw.preventDefault ) { + return { + width: 0, + height: 0, + offset: { top: raw.pageY, left: raw.pageX } + }; + } + return { + width: elem.outerWidth(), + height: elem.outerHeight(), + offset: elem.offset() + }; +} + +$.position = { + scrollbarWidth: function() { + if ( cachedScrollbarWidth !== undefined ) { + return cachedScrollbarWidth; + } + var w1, w2, + div = $( "
      " + + "
      " ), + innerDiv = div.children()[ 0 ]; + + $( "body" ).append( div ); + w1 = innerDiv.offsetWidth; + div.css( "overflow", "scroll" ); + + w2 = innerDiv.offsetWidth; + + if ( w1 === w2 ) { + w2 = div[ 0 ].clientWidth; + } + + div.remove(); + + return ( cachedScrollbarWidth = w1 - w2 ); + }, + getScrollInfo: function( within ) { + var overflowX = within.isWindow || within.isDocument ? "" : + within.element.css( "overflow-x" ), + overflowY = within.isWindow || within.isDocument ? "" : + within.element.css( "overflow-y" ), + hasOverflowX = overflowX === "scroll" || + ( overflowX === "auto" && within.width < within.element[ 0 ].scrollWidth ), + hasOverflowY = overflowY === "scroll" || + ( overflowY === "auto" && within.height < within.element[ 0 ].scrollHeight ); + return { + width: hasOverflowY ? $.position.scrollbarWidth() : 0, + height: hasOverflowX ? $.position.scrollbarWidth() : 0 + }; + }, + getWithinInfo: function( element ) { + var withinElement = $( element || window ), + isWindow = $.isWindow( withinElement[ 0 ] ), + isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9, + hasOffset = !isWindow && !isDocument; + return { + element: withinElement, + isWindow: isWindow, + isDocument: isDocument, + offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 }, + scrollLeft: withinElement.scrollLeft(), + scrollTop: withinElement.scrollTop(), + width: withinElement.outerWidth(), + height: withinElement.outerHeight() + }; + } +}; + +$.fn.position = function( options ) { + if ( !options || !options.of ) { + return _position.apply( this, arguments ); + } + + // Make a copy, we don't want to modify arguments + options = $.extend( {}, options ); + + var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions, + target = $( options.of ), + within = $.position.getWithinInfo( options.within ), + scrollInfo = $.position.getScrollInfo( within ), + collision = ( options.collision || "flip" ).split( " " ), + offsets = {}; + + dimensions = getDimensions( target ); + if ( target[ 0 ].preventDefault ) { + + // Force left top to allow flipping + options.at = "left top"; + } + targetWidth = dimensions.width; + targetHeight = dimensions.height; + targetOffset = dimensions.offset; + + // Clone to reuse original targetOffset later + basePosition = $.extend( {}, targetOffset ); + + // Force my and at to have valid horizontal and vertical positions + // if a value is missing or invalid, it will be converted to center + $.each( [ "my", "at" ], function() { + var pos = ( options[ this ] || "" ).split( " " ), + horizontalOffset, + verticalOffset; + + if ( pos.length === 1 ) { + pos = rhorizontal.test( pos[ 0 ] ) ? + pos.concat( [ "center" ] ) : + rvertical.test( pos[ 0 ] ) ? + [ "center" ].concat( pos ) : + [ "center", "center" ]; + } + pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center"; + pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center"; + + // Calculate offsets + horizontalOffset = roffset.exec( pos[ 0 ] ); + verticalOffset = roffset.exec( pos[ 1 ] ); + offsets[ this ] = [ + horizontalOffset ? horizontalOffset[ 0 ] : 0, + verticalOffset ? verticalOffset[ 0 ] : 0 + ]; + + // Reduce to just the positions without the offsets + options[ this ] = [ + rposition.exec( pos[ 0 ] )[ 0 ], + rposition.exec( pos[ 1 ] )[ 0 ] + ]; + } ); + + // Normalize collision option + if ( collision.length === 1 ) { + collision[ 1 ] = collision[ 0 ]; + } + + if ( options.at[ 0 ] === "right" ) { + basePosition.left += targetWidth; + } else if ( options.at[ 0 ] === "center" ) { + basePosition.left += targetWidth / 2; + } + + if ( options.at[ 1 ] === "bottom" ) { + basePosition.top += targetHeight; + } else if ( options.at[ 1 ] === "center" ) { + basePosition.top += targetHeight / 2; + } + + atOffset = getOffsets( offsets.at, targetWidth, targetHeight ); + basePosition.left += atOffset[ 0 ]; + basePosition.top += atOffset[ 1 ]; + + return this.each( function() { + var collisionPosition, using, + elem = $( this ), + elemWidth = elem.outerWidth(), + elemHeight = elem.outerHeight(), + marginLeft = parseCss( this, "marginLeft" ), + marginTop = parseCss( this, "marginTop" ), + collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) + + scrollInfo.width, + collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) + + scrollInfo.height, + position = $.extend( {}, basePosition ), + myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() ); + + if ( options.my[ 0 ] === "right" ) { + position.left -= elemWidth; + } else if ( options.my[ 0 ] === "center" ) { + position.left -= elemWidth / 2; + } + + if ( options.my[ 1 ] === "bottom" ) { + position.top -= elemHeight; + } else if ( options.my[ 1 ] === "center" ) { + position.top -= elemHeight / 2; + } + + position.left += myOffset[ 0 ]; + position.top += myOffset[ 1 ]; + + collisionPosition = { + marginLeft: marginLeft, + marginTop: marginTop + }; + + $.each( [ "left", "top" ], function( i, dir ) { + if ( $.ui.position[ collision[ i ] ] ) { + $.ui.position[ collision[ i ] ][ dir ]( position, { + targetWidth: targetWidth, + targetHeight: targetHeight, + elemWidth: elemWidth, + elemHeight: elemHeight, + collisionPosition: collisionPosition, + collisionWidth: collisionWidth, + collisionHeight: collisionHeight, + offset: [ atOffset[ 0 ] + myOffset[ 0 ], atOffset [ 1 ] + myOffset[ 1 ] ], + my: options.my, + at: options.at, + within: within, + elem: elem + } ); + } + } ); + + if ( options.using ) { + + // Adds feedback as second argument to using callback, if present + using = function( props ) { + var left = targetOffset.left - position.left, + right = left + targetWidth - elemWidth, + top = targetOffset.top - position.top, + bottom = top + targetHeight - elemHeight, + feedback = { + target: { + element: target, + left: targetOffset.left, + top: targetOffset.top, + width: targetWidth, + height: targetHeight + }, + element: { + element: elem, + left: position.left, + top: position.top, + width: elemWidth, + height: elemHeight + }, + horizontal: right < 0 ? "left" : left > 0 ? "right" : "center", + vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle" + }; + if ( targetWidth < elemWidth && abs( left + right ) < targetWidth ) { + feedback.horizontal = "center"; + } + if ( targetHeight < elemHeight && abs( top + bottom ) < targetHeight ) { + feedback.vertical = "middle"; + } + if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) { + feedback.important = "horizontal"; + } else { + feedback.important = "vertical"; + } + options.using.call( this, props, feedback ); + }; + } + + elem.offset( $.extend( position, { using: using } ) ); + } ); +}; + +$.ui.position = { + fit: { + left: function( position, data ) { + var within = data.within, + withinOffset = within.isWindow ? within.scrollLeft : within.offset.left, + outerWidth = within.width, + collisionPosLeft = position.left - data.collisionPosition.marginLeft, + overLeft = withinOffset - collisionPosLeft, + overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset, + newOverRight; + + // Element is wider than within + if ( data.collisionWidth > outerWidth ) { + + // Element is initially over the left side of within + if ( overLeft > 0 && overRight <= 0 ) { + newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - + withinOffset; + position.left += overLeft - newOverRight; + + // Element is initially over right side of within + } else if ( overRight > 0 && overLeft <= 0 ) { + position.left = withinOffset; + + // Element is initially over both left and right sides of within + } else { + if ( overLeft > overRight ) { + position.left = withinOffset + outerWidth - data.collisionWidth; + } else { + position.left = withinOffset; + } + } + + // Too far left -> align with left edge + } else if ( overLeft > 0 ) { + position.left += overLeft; + + // Too far right -> align with right edge + } else if ( overRight > 0 ) { + position.left -= overRight; + + // Adjust based on position and margin + } else { + position.left = max( position.left - collisionPosLeft, position.left ); + } + }, + top: function( position, data ) { + var within = data.within, + withinOffset = within.isWindow ? within.scrollTop : within.offset.top, + outerHeight = data.within.height, + collisionPosTop = position.top - data.collisionPosition.marginTop, + overTop = withinOffset - collisionPosTop, + overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset, + newOverBottom; + + // Element is taller than within + if ( data.collisionHeight > outerHeight ) { + + // Element is initially over the top of within + if ( overTop > 0 && overBottom <= 0 ) { + newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - + withinOffset; + position.top += overTop - newOverBottom; + + // Element is initially over bottom of within + } else if ( overBottom > 0 && overTop <= 0 ) { + position.top = withinOffset; + + // Element is initially over both top and bottom of within + } else { + if ( overTop > overBottom ) { + position.top = withinOffset + outerHeight - data.collisionHeight; + } else { + position.top = withinOffset; + } + } + + // Too far up -> align with top + } else if ( overTop > 0 ) { + position.top += overTop; + + // Too far down -> align with bottom edge + } else if ( overBottom > 0 ) { + position.top -= overBottom; + + // Adjust based on position and margin + } else { + position.top = max( position.top - collisionPosTop, position.top ); + } + } + }, + flip: { + left: function( position, data ) { + var within = data.within, + withinOffset = within.offset.left + within.scrollLeft, + outerWidth = within.width, + offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left, + collisionPosLeft = position.left - data.collisionPosition.marginLeft, + overLeft = collisionPosLeft - offsetLeft, + overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft, + myOffset = data.my[ 0 ] === "left" ? + -data.elemWidth : + data.my[ 0 ] === "right" ? + data.elemWidth : + 0, + atOffset = data.at[ 0 ] === "left" ? + data.targetWidth : + data.at[ 0 ] === "right" ? + -data.targetWidth : + 0, + offset = -2 * data.offset[ 0 ], + newOverRight, + newOverLeft; + + if ( overLeft < 0 ) { + newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - + outerWidth - withinOffset; + if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) { + position.left += myOffset + atOffset + offset; + } + } else if ( overRight > 0 ) { + newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + + atOffset + offset - offsetLeft; + if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) { + position.left += myOffset + atOffset + offset; + } + } + }, + top: function( position, data ) { + var within = data.within, + withinOffset = within.offset.top + within.scrollTop, + outerHeight = within.height, + offsetTop = within.isWindow ? within.scrollTop : within.offset.top, + collisionPosTop = position.top - data.collisionPosition.marginTop, + overTop = collisionPosTop - offsetTop, + overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop, + top = data.my[ 1 ] === "top", + myOffset = top ? + -data.elemHeight : + data.my[ 1 ] === "bottom" ? + data.elemHeight : + 0, + atOffset = data.at[ 1 ] === "top" ? + data.targetHeight : + data.at[ 1 ] === "bottom" ? + -data.targetHeight : + 0, + offset = -2 * data.offset[ 1 ], + newOverTop, + newOverBottom; + if ( overTop < 0 ) { + newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - + outerHeight - withinOffset; + if ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) { + position.top += myOffset + atOffset + offset; + } + } else if ( overBottom > 0 ) { + newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + + offset - offsetTop; + if ( newOverTop > 0 || abs( newOverTop ) < overBottom ) { + position.top += myOffset + atOffset + offset; + } + } + } + }, + flipfit: { + left: function() { + $.ui.position.flip.left.apply( this, arguments ); + $.ui.position.fit.left.apply( this, arguments ); + }, + top: function() { + $.ui.position.flip.top.apply( this, arguments ); + $.ui.position.fit.top.apply( this, arguments ); + } + } +}; + +} )(); + +var position = $.ui.position; + + +/*! + * jQuery UI :data 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: :data Selector +//>>group: Core +//>>description: Selects elements which have data stored under the specified key. +//>>docs: http://api.jqueryui.com/data-selector/ + + +var data = $.extend( $.expr[ ":" ], { + data: $.expr.createPseudo ? + $.expr.createPseudo( function( dataName ) { + return function( elem ) { + return !!$.data( elem, dataName ); + }; + } ) : + + // Support: jQuery <1.8 + function( elem, i, match ) { + return !!$.data( elem, match[ 3 ] ); + } +} ); + +/*! + * jQuery UI Disable Selection 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: disableSelection +//>>group: Core +//>>description: Disable selection of text content within the set of matched elements. +//>>docs: http://api.jqueryui.com/disableSelection/ + +// This file is deprecated + + +var disableSelection = $.fn.extend( { + disableSelection: ( function() { + var eventType = "onselectstart" in document.createElement( "div" ) ? + "selectstart" : + "mousedown"; + + return function() { + return this.on( eventType + ".ui-disableSelection", function( event ) { + event.preventDefault(); + } ); + }; + } )(), + + enableSelection: function() { + return this.off( ".ui-disableSelection" ); + } +} ); + + +/*! + * jQuery UI Effects 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Effects Core +//>>group: Effects +// jscs:disable maximumLineLength +//>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects. +// jscs:enable maximumLineLength +//>>docs: http://api.jqueryui.com/category/effects-core/ +//>>demos: http://jqueryui.com/effect/ + + + +var dataSpace = "ui-effects-", + dataSpaceStyle = "ui-effects-style", + dataSpaceAnimated = "ui-effects-animated", + + // Create a local jQuery because jQuery Color relies on it and the + // global may not exist with AMD and a custom build (#10199) + jQuery = $; + +$.effects = { + effect: {} +}; + +/*! + * jQuery Color Animations v2.1.2 + * https://github.com/jquery/jquery-color + * + * Copyright 2014 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * Date: Wed Jan 16 08:47:09 2013 -0600 + */ +( function( jQuery, undefined ) { + + var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " + + "borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor", + + // Plusequals test for += 100 -= 100 + rplusequals = /^([\-+])=\s*(\d+\.?\d*)/, + + // A set of RE's that can match strings and generate color tuples. + stringParsers = [ { + re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, + parse: function( execResult ) { + return [ + execResult[ 1 ], + execResult[ 2 ], + execResult[ 3 ], + execResult[ 4 ] + ]; + } + }, { + re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, + parse: function( execResult ) { + return [ + execResult[ 1 ] * 2.55, + execResult[ 2 ] * 2.55, + execResult[ 3 ] * 2.55, + execResult[ 4 ] + ]; + } + }, { + + // This regex ignores A-F because it's compared against an already lowercased string + re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/, + parse: function( execResult ) { + return [ + parseInt( execResult[ 1 ], 16 ), + parseInt( execResult[ 2 ], 16 ), + parseInt( execResult[ 3 ], 16 ) + ]; + } + }, { + + // This regex ignores A-F because it's compared against an already lowercased string + re: /#([a-f0-9])([a-f0-9])([a-f0-9])/, + parse: function( execResult ) { + return [ + parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ), + parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ), + parseInt( execResult[ 3 ] + execResult[ 3 ], 16 ) + ]; + } + }, { + re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, + space: "hsla", + parse: function( execResult ) { + return [ + execResult[ 1 ], + execResult[ 2 ] / 100, + execResult[ 3 ] / 100, + execResult[ 4 ] + ]; + } + } ], + + // JQuery.Color( ) + color = jQuery.Color = function( color, green, blue, alpha ) { + return new jQuery.Color.fn.parse( color, green, blue, alpha ); + }, + spaces = { + rgba: { + props: { + red: { + idx: 0, + type: "byte" + }, + green: { + idx: 1, + type: "byte" + }, + blue: { + idx: 2, + type: "byte" + } + } + }, + + hsla: { + props: { + hue: { + idx: 0, + type: "degrees" + }, + saturation: { + idx: 1, + type: "percent" + }, + lightness: { + idx: 2, + type: "percent" + } + } + } + }, + propTypes = { + "byte": { + floor: true, + max: 255 + }, + "percent": { + max: 1 + }, + "degrees": { + mod: 360, + floor: true + } + }, + support = color.support = {}, + + // Element for support tests + supportElem = jQuery( "

      " )[ 0 ], + + // Colors = jQuery.Color.names + colors, + + // Local aliases of functions called often + each = jQuery.each; + +// Determine rgba support immediately +supportElem.style.cssText = "background-color:rgba(1,1,1,.5)"; +support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1; + +// Define cache name and alpha properties +// for rgba and hsla spaces +each( spaces, function( spaceName, space ) { + space.cache = "_" + spaceName; + space.props.alpha = { + idx: 3, + type: "percent", + def: 1 + }; +} ); + +function clamp( value, prop, allowEmpty ) { + var type = propTypes[ prop.type ] || {}; + + if ( value == null ) { + return ( allowEmpty || !prop.def ) ? null : prop.def; + } + + // ~~ is an short way of doing floor for positive numbers + value = type.floor ? ~~value : parseFloat( value ); + + // IE will pass in empty strings as value for alpha, + // which will hit this case + if ( isNaN( value ) ) { + return prop.def; + } + + if ( type.mod ) { + + // We add mod before modding to make sure that negatives values + // get converted properly: -10 -> 350 + return ( value + type.mod ) % type.mod; + } + + // For now all property types without mod have min and max + return 0 > value ? 0 : type.max < value ? type.max : value; +} + +function stringParse( string ) { + var inst = color(), + rgba = inst._rgba = []; + + string = string.toLowerCase(); + + each( stringParsers, function( i, parser ) { + var parsed, + match = parser.re.exec( string ), + values = match && parser.parse( match ), + spaceName = parser.space || "rgba"; + + if ( values ) { + parsed = inst[ spaceName ]( values ); + + // If this was an rgba parse the assignment might happen twice + // oh well.... + inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ]; + rgba = inst._rgba = parsed._rgba; + + // Exit each( stringParsers ) here because we matched + return false; + } + } ); + + // Found a stringParser that handled it + if ( rgba.length ) { + + // If this came from a parsed string, force "transparent" when alpha is 0 + // chrome, (and maybe others) return "transparent" as rgba(0,0,0,0) + if ( rgba.join() === "0,0,0,0" ) { + jQuery.extend( rgba, colors.transparent ); + } + return inst; + } + + // Named colors + return colors[ string ]; +} + +color.fn = jQuery.extend( color.prototype, { + parse: function( red, green, blue, alpha ) { + if ( red === undefined ) { + this._rgba = [ null, null, null, null ]; + return this; + } + if ( red.jquery || red.nodeType ) { + red = jQuery( red ).css( green ); + green = undefined; + } + + var inst = this, + type = jQuery.type( red ), + rgba = this._rgba = []; + + // More than 1 argument specified - assume ( red, green, blue, alpha ) + if ( green !== undefined ) { + red = [ red, green, blue, alpha ]; + type = "array"; + } + + if ( type === "string" ) { + return this.parse( stringParse( red ) || colors._default ); + } + + if ( type === "array" ) { + each( spaces.rgba.props, function( key, prop ) { + rgba[ prop.idx ] = clamp( red[ prop.idx ], prop ); + } ); + return this; + } + + if ( type === "object" ) { + if ( red instanceof color ) { + each( spaces, function( spaceName, space ) { + if ( red[ space.cache ] ) { + inst[ space.cache ] = red[ space.cache ].slice(); + } + } ); + } else { + each( spaces, function( spaceName, space ) { + var cache = space.cache; + each( space.props, function( key, prop ) { + + // If the cache doesn't exist, and we know how to convert + if ( !inst[ cache ] && space.to ) { + + // If the value was null, we don't need to copy it + // if the key was alpha, we don't need to copy it either + if ( key === "alpha" || red[ key ] == null ) { + return; + } + inst[ cache ] = space.to( inst._rgba ); + } + + // This is the only case where we allow nulls for ALL properties. + // call clamp with alwaysAllowEmpty + inst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true ); + } ); + + // Everything defined but alpha? + if ( inst[ cache ] && + jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) { + + // Use the default of 1 + inst[ cache ][ 3 ] = 1; + if ( space.from ) { + inst._rgba = space.from( inst[ cache ] ); + } + } + } ); + } + return this; + } + }, + is: function( compare ) { + var is = color( compare ), + same = true, + inst = this; + + each( spaces, function( _, space ) { + var localCache, + isCache = is[ space.cache ]; + if ( isCache ) { + localCache = inst[ space.cache ] || space.to && space.to( inst._rgba ) || []; + each( space.props, function( _, prop ) { + if ( isCache[ prop.idx ] != null ) { + same = ( isCache[ prop.idx ] === localCache[ prop.idx ] ); + return same; + } + } ); + } + return same; + } ); + return same; + }, + _space: function() { + var used = [], + inst = this; + each( spaces, function( spaceName, space ) { + if ( inst[ space.cache ] ) { + used.push( spaceName ); + } + } ); + return used.pop(); + }, + transition: function( other, distance ) { + var end = color( other ), + spaceName = end._space(), + space = spaces[ spaceName ], + startColor = this.alpha() === 0 ? color( "transparent" ) : this, + start = startColor[ space.cache ] || space.to( startColor._rgba ), + result = start.slice(); + + end = end[ space.cache ]; + each( space.props, function( key, prop ) { + var index = prop.idx, + startValue = start[ index ], + endValue = end[ index ], + type = propTypes[ prop.type ] || {}; + + // If null, don't override start value + if ( endValue === null ) { + return; + } + + // If null - use end + if ( startValue === null ) { + result[ index ] = endValue; + } else { + if ( type.mod ) { + if ( endValue - startValue > type.mod / 2 ) { + startValue += type.mod; + } else if ( startValue - endValue > type.mod / 2 ) { + startValue -= type.mod; + } + } + result[ index ] = clamp( ( endValue - startValue ) * distance + startValue, prop ); + } + } ); + return this[ spaceName ]( result ); + }, + blend: function( opaque ) { + + // If we are already opaque - return ourself + if ( this._rgba[ 3 ] === 1 ) { + return this; + } + + var rgb = this._rgba.slice(), + a = rgb.pop(), + blend = color( opaque )._rgba; + + return color( jQuery.map( rgb, function( v, i ) { + return ( 1 - a ) * blend[ i ] + a * v; + } ) ); + }, + toRgbaString: function() { + var prefix = "rgba(", + rgba = jQuery.map( this._rgba, function( v, i ) { + return v == null ? ( i > 2 ? 1 : 0 ) : v; + } ); + + if ( rgba[ 3 ] === 1 ) { + rgba.pop(); + prefix = "rgb("; + } + + return prefix + rgba.join() + ")"; + }, + toHslaString: function() { + var prefix = "hsla(", + hsla = jQuery.map( this.hsla(), function( v, i ) { + if ( v == null ) { + v = i > 2 ? 1 : 0; + } + + // Catch 1 and 2 + if ( i && i < 3 ) { + v = Math.round( v * 100 ) + "%"; + } + return v; + } ); + + if ( hsla[ 3 ] === 1 ) { + hsla.pop(); + prefix = "hsl("; + } + return prefix + hsla.join() + ")"; + }, + toHexString: function( includeAlpha ) { + var rgba = this._rgba.slice(), + alpha = rgba.pop(); + + if ( includeAlpha ) { + rgba.push( ~~( alpha * 255 ) ); + } + + return "#" + jQuery.map( rgba, function( v ) { + + // Default to 0 when nulls exist + v = ( v || 0 ).toString( 16 ); + return v.length === 1 ? "0" + v : v; + } ).join( "" ); + }, + toString: function() { + return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString(); + } +} ); +color.fn.parse.prototype = color.fn; + +// Hsla conversions adapted from: +// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021 + +function hue2rgb( p, q, h ) { + h = ( h + 1 ) % 1; + if ( h * 6 < 1 ) { + return p + ( q - p ) * h * 6; + } + if ( h * 2 < 1 ) { + return q; + } + if ( h * 3 < 2 ) { + return p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6; + } + return p; +} + +spaces.hsla.to = function( rgba ) { + if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) { + return [ null, null, null, rgba[ 3 ] ]; + } + var r = rgba[ 0 ] / 255, + g = rgba[ 1 ] / 255, + b = rgba[ 2 ] / 255, + a = rgba[ 3 ], + max = Math.max( r, g, b ), + min = Math.min( r, g, b ), + diff = max - min, + add = max + min, + l = add * 0.5, + h, s; + + if ( min === max ) { + h = 0; + } else if ( r === max ) { + h = ( 60 * ( g - b ) / diff ) + 360; + } else if ( g === max ) { + h = ( 60 * ( b - r ) / diff ) + 120; + } else { + h = ( 60 * ( r - g ) / diff ) + 240; + } + + // Chroma (diff) == 0 means greyscale which, by definition, saturation = 0% + // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add) + if ( diff === 0 ) { + s = 0; + } else if ( l <= 0.5 ) { + s = diff / add; + } else { + s = diff / ( 2 - add ); + } + return [ Math.round( h ) % 360, s, l, a == null ? 1 : a ]; +}; + +spaces.hsla.from = function( hsla ) { + if ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) { + return [ null, null, null, hsla[ 3 ] ]; + } + var h = hsla[ 0 ] / 360, + s = hsla[ 1 ], + l = hsla[ 2 ], + a = hsla[ 3 ], + q = l <= 0.5 ? l * ( 1 + s ) : l + s - l * s, + p = 2 * l - q; + + return [ + Math.round( hue2rgb( p, q, h + ( 1 / 3 ) ) * 255 ), + Math.round( hue2rgb( p, q, h ) * 255 ), + Math.round( hue2rgb( p, q, h - ( 1 / 3 ) ) * 255 ), + a + ]; +}; + +each( spaces, function( spaceName, space ) { + var props = space.props, + cache = space.cache, + to = space.to, + from = space.from; + + // Makes rgba() and hsla() + color.fn[ spaceName ] = function( value ) { + + // Generate a cache for this space if it doesn't exist + if ( to && !this[ cache ] ) { + this[ cache ] = to( this._rgba ); + } + if ( value === undefined ) { + return this[ cache ].slice(); + } + + var ret, + type = jQuery.type( value ), + arr = ( type === "array" || type === "object" ) ? value : arguments, + local = this[ cache ].slice(); + + each( props, function( key, prop ) { + var val = arr[ type === "object" ? key : prop.idx ]; + if ( val == null ) { + val = local[ prop.idx ]; + } + local[ prop.idx ] = clamp( val, prop ); + } ); + + if ( from ) { + ret = color( from( local ) ); + ret[ cache ] = local; + return ret; + } else { + return color( local ); + } + }; + + // Makes red() green() blue() alpha() hue() saturation() lightness() + each( props, function( key, prop ) { + + // Alpha is included in more than one space + if ( color.fn[ key ] ) { + return; + } + color.fn[ key ] = function( value ) { + var vtype = jQuery.type( value ), + fn = ( key === "alpha" ? ( this._hsla ? "hsla" : "rgba" ) : spaceName ), + local = this[ fn ](), + cur = local[ prop.idx ], + match; + + if ( vtype === "undefined" ) { + return cur; + } + + if ( vtype === "function" ) { + value = value.call( this, cur ); + vtype = jQuery.type( value ); + } + if ( value == null && prop.empty ) { + return this; + } + if ( vtype === "string" ) { + match = rplusequals.exec( value ); + if ( match ) { + value = cur + parseFloat( match[ 2 ] ) * ( match[ 1 ] === "+" ? 1 : -1 ); + } + } + local[ prop.idx ] = value; + return this[ fn ]( local ); + }; + } ); +} ); + +// Add cssHook and .fx.step function for each named hook. +// accept a space separated string of properties +color.hook = function( hook ) { + var hooks = hook.split( " " ); + each( hooks, function( i, hook ) { + jQuery.cssHooks[ hook ] = { + set: function( elem, value ) { + var parsed, curElem, + backgroundColor = ""; + + if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || + ( parsed = stringParse( value ) ) ) ) { + value = color( parsed || value ); + if ( !support.rgba && value._rgba[ 3 ] !== 1 ) { + curElem = hook === "backgroundColor" ? elem.parentNode : elem; + while ( + ( backgroundColor === "" || backgroundColor === "transparent" ) && + curElem && curElem.style + ) { + try { + backgroundColor = jQuery.css( curElem, "backgroundColor" ); + curElem = curElem.parentNode; + } catch ( e ) { + } + } + + value = value.blend( backgroundColor && backgroundColor !== "transparent" ? + backgroundColor : + "_default" ); + } + + value = value.toRgbaString(); + } + try { + elem.style[ hook ] = value; + } catch ( e ) { + + // Wrapped to prevent IE from throwing errors on "invalid" values like + // 'auto' or 'inherit' + } + } + }; + jQuery.fx.step[ hook ] = function( fx ) { + if ( !fx.colorInit ) { + fx.start = color( fx.elem, hook ); + fx.end = color( fx.end ); + fx.colorInit = true; + } + jQuery.cssHooks[ hook ].set( fx.elem, fx.start.transition( fx.end, fx.pos ) ); + }; + } ); + +}; + +color.hook( stepHooks ); + +jQuery.cssHooks.borderColor = { + expand: function( value ) { + var expanded = {}; + + each( [ "Top", "Right", "Bottom", "Left" ], function( i, part ) { + expanded[ "border" + part + "Color" ] = value; + } ); + return expanded; + } +}; + +// Basic color names only. +// Usage of any of the other color names requires adding yourself or including +// jquery.color.svg-names.js. +colors = jQuery.Color.names = { + + // 4.1. Basic color keywords + aqua: "#00ffff", + black: "#000000", + blue: "#0000ff", + fuchsia: "#ff00ff", + gray: "#808080", + green: "#008000", + lime: "#00ff00", + maroon: "#800000", + navy: "#000080", + olive: "#808000", + purple: "#800080", + red: "#ff0000", + silver: "#c0c0c0", + teal: "#008080", + white: "#ffffff", + yellow: "#ffff00", + + // 4.2.3. "transparent" color keyword + transparent: [ null, null, null, 0 ], + + _default: "#ffffff" +}; + +} )( jQuery ); + +/******************************************************************************/ +/****************************** CLASS ANIMATIONS ******************************/ +/******************************************************************************/ +( function() { + +var classAnimationActions = [ "add", "remove", "toggle" ], + shorthandStyles = { + border: 1, + borderBottom: 1, + borderColor: 1, + borderLeft: 1, + borderRight: 1, + borderTop: 1, + borderWidth: 1, + margin: 1, + padding: 1 + }; + +$.each( + [ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], + function( _, prop ) { + $.fx.step[ prop ] = function( fx ) { + if ( fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr ) { + jQuery.style( fx.elem, prop, fx.end ); + fx.setAttr = true; + } + }; + } +); + +function getElementStyles( elem ) { + var key, len, + style = elem.ownerDocument.defaultView ? + elem.ownerDocument.defaultView.getComputedStyle( elem, null ) : + elem.currentStyle, + styles = {}; + + if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) { + len = style.length; + while ( len-- ) { + key = style[ len ]; + if ( typeof style[ key ] === "string" ) { + styles[ $.camelCase( key ) ] = style[ key ]; + } + } + + // Support: Opera, IE <9 + } else { + for ( key in style ) { + if ( typeof style[ key ] === "string" ) { + styles[ key ] = style[ key ]; + } + } + } + + return styles; +} + +function styleDifference( oldStyle, newStyle ) { + var diff = {}, + name, value; + + for ( name in newStyle ) { + value = newStyle[ name ]; + if ( oldStyle[ name ] !== value ) { + if ( !shorthandStyles[ name ] ) { + if ( $.fx.step[ name ] || !isNaN( parseFloat( value ) ) ) { + diff[ name ] = value; + } + } + } + } + + return diff; +} + +// Support: jQuery <1.8 +if ( !$.fn.addBack ) { + $.fn.addBack = function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + }; +} + +$.effects.animateClass = function( value, duration, easing, callback ) { + var o = $.speed( duration, easing, callback ); + + return this.queue( function() { + var animated = $( this ), + baseClass = animated.attr( "class" ) || "", + applyClassChange, + allAnimations = o.children ? animated.find( "*" ).addBack() : animated; + + // Map the animated objects to store the original styles. + allAnimations = allAnimations.map( function() { + var el = $( this ); + return { + el: el, + start: getElementStyles( this ) + }; + } ); + + // Apply class change + applyClassChange = function() { + $.each( classAnimationActions, function( i, action ) { + if ( value[ action ] ) { + animated[ action + "Class" ]( value[ action ] ); + } + } ); + }; + applyClassChange(); + + // Map all animated objects again - calculate new styles and diff + allAnimations = allAnimations.map( function() { + this.end = getElementStyles( this.el[ 0 ] ); + this.diff = styleDifference( this.start, this.end ); + return this; + } ); + + // Apply original class + animated.attr( "class", baseClass ); + + // Map all animated objects again - this time collecting a promise + allAnimations = allAnimations.map( function() { + var styleInfo = this, + dfd = $.Deferred(), + opts = $.extend( {}, o, { + queue: false, + complete: function() { + dfd.resolve( styleInfo ); + } + } ); + + this.el.animate( this.diff, opts ); + return dfd.promise(); + } ); + + // Once all animations have completed: + $.when.apply( $, allAnimations.get() ).done( function() { + + // Set the final class + applyClassChange(); + + // For each animated element, + // clear all css properties that were animated + $.each( arguments, function() { + var el = this.el; + $.each( this.diff, function( key ) { + el.css( key, "" ); + } ); + } ); + + // This is guarnteed to be there if you use jQuery.speed() + // it also handles dequeuing the next anim... + o.complete.call( animated[ 0 ] ); + } ); + } ); +}; + +$.fn.extend( { + addClass: ( function( orig ) { + return function( classNames, speed, easing, callback ) { + return speed ? + $.effects.animateClass.call( this, + { add: classNames }, speed, easing, callback ) : + orig.apply( this, arguments ); + }; + } )( $.fn.addClass ), + + removeClass: ( function( orig ) { + return function( classNames, speed, easing, callback ) { + return arguments.length > 1 ? + $.effects.animateClass.call( this, + { remove: classNames }, speed, easing, callback ) : + orig.apply( this, arguments ); + }; + } )( $.fn.removeClass ), + + toggleClass: ( function( orig ) { + return function( classNames, force, speed, easing, callback ) { + if ( typeof force === "boolean" || force === undefined ) { + if ( !speed ) { + + // Without speed parameter + return orig.apply( this, arguments ); + } else { + return $.effects.animateClass.call( this, + ( force ? { add: classNames } : { remove: classNames } ), + speed, easing, callback ); + } + } else { + + // Without force parameter + return $.effects.animateClass.call( this, + { toggle: classNames }, force, speed, easing ); + } + }; + } )( $.fn.toggleClass ), + + switchClass: function( remove, add, speed, easing, callback ) { + return $.effects.animateClass.call( this, { + add: add, + remove: remove + }, speed, easing, callback ); + } +} ); + +} )(); + +/******************************************************************************/ +/*********************************** EFFECTS **********************************/ +/******************************************************************************/ + +( function() { + +if ( $.expr && $.expr.filters && $.expr.filters.animated ) { + $.expr.filters.animated = ( function( orig ) { + return function( elem ) { + return !!$( elem ).data( dataSpaceAnimated ) || orig( elem ); + }; + } )( $.expr.filters.animated ); +} + +if ( $.uiBackCompat !== false ) { + $.extend( $.effects, { + + // Saves a set of properties in a data storage + save: function( element, set ) { + var i = 0, length = set.length; + for ( ; i < length; i++ ) { + if ( set[ i ] !== null ) { + element.data( dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ] ); + } + } + }, + + // Restores a set of previously saved properties from a data storage + restore: function( element, set ) { + var val, i = 0, length = set.length; + for ( ; i < length; i++ ) { + if ( set[ i ] !== null ) { + val = element.data( dataSpace + set[ i ] ); + element.css( set[ i ], val ); + } + } + }, + + setMode: function( el, mode ) { + if ( mode === "toggle" ) { + mode = el.is( ":hidden" ) ? "show" : "hide"; + } + return mode; + }, + + // Wraps the element around a wrapper that copies position properties + createWrapper: function( element ) { + + // If the element is already wrapped, return it + if ( element.parent().is( ".ui-effects-wrapper" ) ) { + return element.parent(); + } + + // Wrap the element + var props = { + width: element.outerWidth( true ), + height: element.outerHeight( true ), + "float": element.css( "float" ) + }, + wrapper = $( "

      " ) + .addClass( "ui-effects-wrapper" ) + .css( { + fontSize: "100%", + background: "transparent", + border: "none", + margin: 0, + padding: 0 + } ), + + // Store the size in case width/height are defined in % - Fixes #5245 + size = { + width: element.width(), + height: element.height() + }, + active = document.activeElement; + + // Support: Firefox + // Firefox incorrectly exposes anonymous content + // https://bugzilla.mozilla.org/show_bug.cgi?id=561664 + try { + active.id; + } catch ( e ) { + active = document.body; + } + + element.wrap( wrapper ); + + // Fixes #7595 - Elements lose focus when wrapped. + if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) { + $( active ).trigger( "focus" ); + } + + // Hotfix for jQuery 1.4 since some change in wrap() seems to actually + // lose the reference to the wrapped element + wrapper = element.parent(); + + // Transfer positioning properties to the wrapper + if ( element.css( "position" ) === "static" ) { + wrapper.css( { position: "relative" } ); + element.css( { position: "relative" } ); + } else { + $.extend( props, { + position: element.css( "position" ), + zIndex: element.css( "z-index" ) + } ); + $.each( [ "top", "left", "bottom", "right" ], function( i, pos ) { + props[ pos ] = element.css( pos ); + if ( isNaN( parseInt( props[ pos ], 10 ) ) ) { + props[ pos ] = "auto"; + } + } ); + element.css( { + position: "relative", + top: 0, + left: 0, + right: "auto", + bottom: "auto" + } ); + } + element.css( size ); + + return wrapper.css( props ).show(); + }, + + removeWrapper: function( element ) { + var active = document.activeElement; + + if ( element.parent().is( ".ui-effects-wrapper" ) ) { + element.parent().replaceWith( element ); + + // Fixes #7595 - Elements lose focus when wrapped. + if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) { + $( active ).trigger( "focus" ); + } + } + + return element; + } + } ); +} + +$.extend( $.effects, { + version: "1.12.1", + + define: function( name, mode, effect ) { + if ( !effect ) { + effect = mode; + mode = "effect"; + } + + $.effects.effect[ name ] = effect; + $.effects.effect[ name ].mode = mode; + + return effect; + }, + + scaledDimensions: function( element, percent, direction ) { + if ( percent === 0 ) { + return { + height: 0, + width: 0, + outerHeight: 0, + outerWidth: 0 + }; + } + + var x = direction !== "horizontal" ? ( ( percent || 100 ) / 100 ) : 1, + y = direction !== "vertical" ? ( ( percent || 100 ) / 100 ) : 1; + + return { + height: element.height() * y, + width: element.width() * x, + outerHeight: element.outerHeight() * y, + outerWidth: element.outerWidth() * x + }; + + }, + + clipToBox: function( animation ) { + return { + width: animation.clip.right - animation.clip.left, + height: animation.clip.bottom - animation.clip.top, + left: animation.clip.left, + top: animation.clip.top + }; + }, + + // Injects recently queued functions to be first in line (after "inprogress") + unshift: function( element, queueLength, count ) { + var queue = element.queue(); + + if ( queueLength > 1 ) { + queue.splice.apply( queue, + [ 1, 0 ].concat( queue.splice( queueLength, count ) ) ); + } + element.dequeue(); + }, + + saveStyle: function( element ) { + element.data( dataSpaceStyle, element[ 0 ].style.cssText ); + }, + + restoreStyle: function( element ) { + element[ 0 ].style.cssText = element.data( dataSpaceStyle ) || ""; + element.removeData( dataSpaceStyle ); + }, + + mode: function( element, mode ) { + var hidden = element.is( ":hidden" ); + + if ( mode === "toggle" ) { + mode = hidden ? "show" : "hide"; + } + if ( hidden ? mode === "hide" : mode === "show" ) { + mode = "none"; + } + return mode; + }, + + // Translates a [top,left] array into a baseline value + getBaseline: function( origin, original ) { + var y, x; + + switch ( origin[ 0 ] ) { + case "top": + y = 0; + break; + case "middle": + y = 0.5; + break; + case "bottom": + y = 1; + break; + default: + y = origin[ 0 ] / original.height; + } + + switch ( origin[ 1 ] ) { + case "left": + x = 0; + break; + case "center": + x = 0.5; + break; + case "right": + x = 1; + break; + default: + x = origin[ 1 ] / original.width; + } + + return { + x: x, + y: y + }; + }, + + // Creates a placeholder element so that the original element can be made absolute + createPlaceholder: function( element ) { + var placeholder, + cssPosition = element.css( "position" ), + position = element.position(); + + // Lock in margins first to account for form elements, which + // will change margin if you explicitly set height + // see: http://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380 + // Support: Safari + element.css( { + marginTop: element.css( "marginTop" ), + marginBottom: element.css( "marginBottom" ), + marginLeft: element.css( "marginLeft" ), + marginRight: element.css( "marginRight" ) + } ) + .outerWidth( element.outerWidth() ) + .outerHeight( element.outerHeight() ); + + if ( /^(static|relative)/.test( cssPosition ) ) { + cssPosition = "absolute"; + + placeholder = $( "<" + element[ 0 ].nodeName + ">" ).insertAfter( element ).css( { + + // Convert inline to inline block to account for inline elements + // that turn to inline block based on content (like img) + display: /^(inline|ruby)/.test( element.css( "display" ) ) ? + "inline-block" : + "block", + visibility: "hidden", + + // Margins need to be set to account for margin collapse + marginTop: element.css( "marginTop" ), + marginBottom: element.css( "marginBottom" ), + marginLeft: element.css( "marginLeft" ), + marginRight: element.css( "marginRight" ), + "float": element.css( "float" ) + } ) + .outerWidth( element.outerWidth() ) + .outerHeight( element.outerHeight() ) + .addClass( "ui-effects-placeholder" ); + + element.data( dataSpace + "placeholder", placeholder ); + } + + element.css( { + position: cssPosition, + left: position.left, + top: position.top + } ); + + return placeholder; + }, + + removePlaceholder: function( element ) { + var dataKey = dataSpace + "placeholder", + placeholder = element.data( dataKey ); + + if ( placeholder ) { + placeholder.remove(); + element.removeData( dataKey ); + } + }, + + // Removes a placeholder if it exists and restores + // properties that were modified during placeholder creation + cleanUp: function( element ) { + $.effects.restoreStyle( element ); + $.effects.removePlaceholder( element ); + }, + + setTransition: function( element, list, factor, value ) { + value = value || {}; + $.each( list, function( i, x ) { + var unit = element.cssUnit( x ); + if ( unit[ 0 ] > 0 ) { + value[ x ] = unit[ 0 ] * factor + unit[ 1 ]; + } + } ); + return value; + } +} ); + +// Return an effect options object for the given parameters: +function _normalizeArguments( effect, options, speed, callback ) { + + // Allow passing all options as the first parameter + if ( $.isPlainObject( effect ) ) { + options = effect; + effect = effect.effect; + } + + // Convert to an object + effect = { effect: effect }; + + // Catch (effect, null, ...) + if ( options == null ) { + options = {}; + } + + // Catch (effect, callback) + if ( $.isFunction( options ) ) { + callback = options; + speed = null; + options = {}; + } + + // Catch (effect, speed, ?) + if ( typeof options === "number" || $.fx.speeds[ options ] ) { + callback = speed; + speed = options; + options = {}; + } + + // Catch (effect, options, callback) + if ( $.isFunction( speed ) ) { + callback = speed; + speed = null; + } + + // Add options to effect + if ( options ) { + $.extend( effect, options ); + } + + speed = speed || options.duration; + effect.duration = $.fx.off ? 0 : + typeof speed === "number" ? speed : + speed in $.fx.speeds ? $.fx.speeds[ speed ] : + $.fx.speeds._default; + + effect.complete = callback || options.complete; + + return effect; +} + +function standardAnimationOption( option ) { + + // Valid standard speeds (nothing, number, named speed) + if ( !option || typeof option === "number" || $.fx.speeds[ option ] ) { + return true; + } + + // Invalid strings - treat as "normal" speed + if ( typeof option === "string" && !$.effects.effect[ option ] ) { + return true; + } + + // Complete callback + if ( $.isFunction( option ) ) { + return true; + } + + // Options hash (but not naming an effect) + if ( typeof option === "object" && !option.effect ) { + return true; + } + + // Didn't match any standard API + return false; +} + +$.fn.extend( { + effect: function( /* effect, options, speed, callback */ ) { + var args = _normalizeArguments.apply( this, arguments ), + effectMethod = $.effects.effect[ args.effect ], + defaultMode = effectMethod.mode, + queue = args.queue, + queueName = queue || "fx", + complete = args.complete, + mode = args.mode, + modes = [], + prefilter = function( next ) { + var el = $( this ), + normalizedMode = $.effects.mode( el, mode ) || defaultMode; + + // Sentinel for duck-punching the :animated psuedo-selector + el.data( dataSpaceAnimated, true ); + + // Save effect mode for later use, + // we can't just call $.effects.mode again later, + // as the .show() below destroys the initial state + modes.push( normalizedMode ); + + // See $.uiBackCompat inside of run() for removal of defaultMode in 1.13 + if ( defaultMode && ( normalizedMode === "show" || + ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) { + el.show(); + } + + if ( !defaultMode || normalizedMode !== "none" ) { + $.effects.saveStyle( el ); + } + + if ( $.isFunction( next ) ) { + next(); + } + }; + + if ( $.fx.off || !effectMethod ) { + + // Delegate to the original method (e.g., .show()) if possible + if ( mode ) { + return this[ mode ]( args.duration, complete ); + } else { + return this.each( function() { + if ( complete ) { + complete.call( this ); + } + } ); + } + } + + function run( next ) { + var elem = $( this ); + + function cleanup() { + elem.removeData( dataSpaceAnimated ); + + $.effects.cleanUp( elem ); + + if ( args.mode === "hide" ) { + elem.hide(); + } + + done(); + } + + function done() { + if ( $.isFunction( complete ) ) { + complete.call( elem[ 0 ] ); + } + + if ( $.isFunction( next ) ) { + next(); + } + } + + // Override mode option on a per element basis, + // as toggle can be either show or hide depending on element state + args.mode = modes.shift(); + + if ( $.uiBackCompat !== false && !defaultMode ) { + if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) { + + // Call the core method to track "olddisplay" properly + elem[ mode ](); + done(); + } else { + effectMethod.call( elem[ 0 ], args, done ); + } + } else { + if ( args.mode === "none" ) { + + // Call the core method to track "olddisplay" properly + elem[ mode ](); + done(); + } else { + effectMethod.call( elem[ 0 ], args, cleanup ); + } + } + } + + // Run prefilter on all elements first to ensure that + // any showing or hiding happens before placeholder creation, + // which ensures that any layout changes are correctly captured. + return queue === false ? + this.each( prefilter ).each( run ) : + this.queue( queueName, prefilter ).queue( queueName, run ); + }, + + show: ( function( orig ) { + return function( option ) { + if ( standardAnimationOption( option ) ) { + return orig.apply( this, arguments ); + } else { + var args = _normalizeArguments.apply( this, arguments ); + args.mode = "show"; + return this.effect.call( this, args ); + } + }; + } )( $.fn.show ), + + hide: ( function( orig ) { + return function( option ) { + if ( standardAnimationOption( option ) ) { + return orig.apply( this, arguments ); + } else { + var args = _normalizeArguments.apply( this, arguments ); + args.mode = "hide"; + return this.effect.call( this, args ); + } + }; + } )( $.fn.hide ), + + toggle: ( function( orig ) { + return function( option ) { + if ( standardAnimationOption( option ) || typeof option === "boolean" ) { + return orig.apply( this, arguments ); + } else { + var args = _normalizeArguments.apply( this, arguments ); + args.mode = "toggle"; + return this.effect.call( this, args ); + } + }; + } )( $.fn.toggle ), + + cssUnit: function( key ) { + var style = this.css( key ), + val = []; + + $.each( [ "em", "px", "%", "pt" ], function( i, unit ) { + if ( style.indexOf( unit ) > 0 ) { + val = [ parseFloat( style ), unit ]; + } + } ); + return val; + }, + + cssClip: function( clipObj ) { + if ( clipObj ) { + return this.css( "clip", "rect(" + clipObj.top + "px " + clipObj.right + "px " + + clipObj.bottom + "px " + clipObj.left + "px)" ); + } + return parseClip( this.css( "clip" ), this ); + }, + + transfer: function( options, done ) { + var element = $( this ), + target = $( options.to ), + targetFixed = target.css( "position" ) === "fixed", + body = $( "body" ), + fixTop = targetFixed ? body.scrollTop() : 0, + fixLeft = targetFixed ? body.scrollLeft() : 0, + endPosition = target.offset(), + animation = { + top: endPosition.top - fixTop, + left: endPosition.left - fixLeft, + height: target.innerHeight(), + width: target.innerWidth() + }, + startPosition = element.offset(), + transfer = $( "
      " ) + .appendTo( "body" ) + .addClass( options.className ) + .css( { + top: startPosition.top - fixTop, + left: startPosition.left - fixLeft, + height: element.innerHeight(), + width: element.innerWidth(), + position: targetFixed ? "fixed" : "absolute" + } ) + .animate( animation, options.duration, options.easing, function() { + transfer.remove(); + if ( $.isFunction( done ) ) { + done(); + } + } ); + } +} ); + +function parseClip( str, element ) { + var outerWidth = element.outerWidth(), + outerHeight = element.outerHeight(), + clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/, + values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ]; + + return { + top: parseFloat( values[ 1 ] ) || 0, + right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ), + bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ), + left: parseFloat( values[ 4 ] ) || 0 + }; +} + +$.fx.step.clip = function( fx ) { + if ( !fx.clipInit ) { + fx.start = $( fx.elem ).cssClip(); + if ( typeof fx.end === "string" ) { + fx.end = parseClip( fx.end, fx.elem ); + } + fx.clipInit = true; + } + + $( fx.elem ).cssClip( { + top: fx.pos * ( fx.end.top - fx.start.top ) + fx.start.top, + right: fx.pos * ( fx.end.right - fx.start.right ) + fx.start.right, + bottom: fx.pos * ( fx.end.bottom - fx.start.bottom ) + fx.start.bottom, + left: fx.pos * ( fx.end.left - fx.start.left ) + fx.start.left + } ); +}; + +} )(); + +/******************************************************************************/ +/*********************************** EASING ***********************************/ +/******************************************************************************/ + +( function() { + +// Based on easing equations from Robert Penner (http://www.robertpenner.com/easing) + +var baseEasings = {}; + +$.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) { + baseEasings[ name ] = function( p ) { + return Math.pow( p, i + 2 ); + }; +} ); + +$.extend( baseEasings, { + Sine: function( p ) { + return 1 - Math.cos( p * Math.PI / 2 ); + }, + Circ: function( p ) { + return 1 - Math.sqrt( 1 - p * p ); + }, + Elastic: function( p ) { + return p === 0 || p === 1 ? p : + -Math.pow( 2, 8 * ( p - 1 ) ) * Math.sin( ( ( p - 1 ) * 80 - 7.5 ) * Math.PI / 15 ); + }, + Back: function( p ) { + return p * p * ( 3 * p - 2 ); + }, + Bounce: function( p ) { + var pow2, + bounce = 4; + + while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {} + return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 ); + } +} ); + +$.each( baseEasings, function( name, easeIn ) { + $.easing[ "easeIn" + name ] = easeIn; + $.easing[ "easeOut" + name ] = function( p ) { + return 1 - easeIn( 1 - p ); + }; + $.easing[ "easeInOut" + name ] = function( p ) { + return p < 0.5 ? + easeIn( p * 2 ) / 2 : + 1 - easeIn( p * -2 + 2 ) / 2; + }; +} ); + +} )(); + +var effect = $.effects; + + +/*! + * jQuery UI Effects Blind 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Blind Effect +//>>group: Effects +//>>description: Blinds the element. +//>>docs: http://api.jqueryui.com/blind-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectBlind = $.effects.define( "blind", "hide", function( options, done ) { + var map = { + up: [ "bottom", "top" ], + vertical: [ "bottom", "top" ], + down: [ "top", "bottom" ], + left: [ "right", "left" ], + horizontal: [ "right", "left" ], + right: [ "left", "right" ] + }, + element = $( this ), + direction = options.direction || "up", + start = element.cssClip(), + animate = { clip: $.extend( {}, start ) }, + placeholder = $.effects.createPlaceholder( element ); + + animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ]; + + if ( options.mode === "show" ) { + element.cssClip( animate.clip ); + if ( placeholder ) { + placeholder.css( $.effects.clipToBox( animate ) ); + } + + animate.clip = start; + } + + if ( placeholder ) { + placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing ); + } + + element.animate( animate, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); +} ); + + +/*! + * jQuery UI Effects Bounce 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Bounce Effect +//>>group: Effects +//>>description: Bounces an element horizontally or vertically n times. +//>>docs: http://api.jqueryui.com/bounce-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectBounce = $.effects.define( "bounce", function( options, done ) { + var upAnim, downAnim, refValue, + element = $( this ), + + // Defaults: + mode = options.mode, + hide = mode === "hide", + show = mode === "show", + direction = options.direction || "up", + distance = options.distance, + times = options.times || 5, + + // Number of internal animations + anims = times * 2 + ( show || hide ? 1 : 0 ), + speed = options.duration / anims, + easing = options.easing, + + // Utility: + ref = ( direction === "up" || direction === "down" ) ? "top" : "left", + motion = ( direction === "up" || direction === "left" ), + i = 0, + + queuelen = element.queue().length; + + $.effects.createPlaceholder( element ); + + refValue = element.css( ref ); + + // Default distance for the BIGGEST bounce is the outer Distance / 3 + if ( !distance ) { + distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3; + } + + if ( show ) { + downAnim = { opacity: 1 }; + downAnim[ ref ] = refValue; + + // If we are showing, force opacity 0 and set the initial position + // then do the "first" animation + element + .css( "opacity", 0 ) + .css( ref, motion ? -distance * 2 : distance * 2 ) + .animate( downAnim, speed, easing ); + } + + // Start at the smallest distance if we are hiding + if ( hide ) { + distance = distance / Math.pow( 2, times - 1 ); + } + + downAnim = {}; + downAnim[ ref ] = refValue; + + // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here + for ( ; i < times; i++ ) { + upAnim = {}; + upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance; + + element + .animate( upAnim, speed, easing ) + .animate( downAnim, speed, easing ); + + distance = hide ? distance * 2 : distance / 2; + } + + // Last Bounce when Hiding + if ( hide ) { + upAnim = { opacity: 0 }; + upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance; + + element.animate( upAnim, speed, easing ); + } + + element.queue( done ); + + $.effects.unshift( element, queuelen, anims + 1 ); +} ); + + +/*! + * jQuery UI Effects Clip 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Clip Effect +//>>group: Effects +//>>description: Clips the element on and off like an old TV. +//>>docs: http://api.jqueryui.com/clip-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectClip = $.effects.define( "clip", "hide", function( options, done ) { + var start, + animate = {}, + element = $( this ), + direction = options.direction || "vertical", + both = direction === "both", + horizontal = both || direction === "horizontal", + vertical = both || direction === "vertical"; + + start = element.cssClip(); + animate.clip = { + top: vertical ? ( start.bottom - start.top ) / 2 : start.top, + right: horizontal ? ( start.right - start.left ) / 2 : start.right, + bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom, + left: horizontal ? ( start.right - start.left ) / 2 : start.left + }; + + $.effects.createPlaceholder( element ); + + if ( options.mode === "show" ) { + element.cssClip( animate.clip ); + animate.clip = start; + } + + element.animate( animate, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); + +} ); + + +/*! + * jQuery UI Effects Drop 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Drop Effect +//>>group: Effects +//>>description: Moves an element in one direction and hides it at the same time. +//>>docs: http://api.jqueryui.com/drop-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectDrop = $.effects.define( "drop", "hide", function( options, done ) { + + var distance, + element = $( this ), + mode = options.mode, + show = mode === "show", + direction = options.direction || "left", + ref = ( direction === "up" || direction === "down" ) ? "top" : "left", + motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=", + oppositeMotion = ( motion === "+=" ) ? "-=" : "+=", + animation = { + opacity: 0 + }; + + $.effects.createPlaceholder( element ); + + distance = options.distance || + element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2; + + animation[ ref ] = motion + distance; + + if ( show ) { + element.css( animation ); + + animation[ ref ] = oppositeMotion + distance; + animation.opacity = 1; + } + + // Animate + element.animate( animation, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); +} ); + + +/*! + * jQuery UI Effects Explode 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Explode Effect +//>>group: Effects +// jscs:disable maximumLineLength +//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness. +// jscs:enable maximumLineLength +//>>docs: http://api.jqueryui.com/explode-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectExplode = $.effects.define( "explode", "hide", function( options, done ) { + + var i, j, left, top, mx, my, + rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3, + cells = rows, + element = $( this ), + mode = options.mode, + show = mode === "show", + + // Show and then visibility:hidden the element before calculating offset + offset = element.show().css( "visibility", "hidden" ).offset(), + + // Width and height of a piece + width = Math.ceil( element.outerWidth() / cells ), + height = Math.ceil( element.outerHeight() / rows ), + pieces = []; + + // Children animate complete: + function childComplete() { + pieces.push( this ); + if ( pieces.length === rows * cells ) { + animComplete(); + } + } + + // Clone the element for each row and cell. + for ( i = 0; i < rows; i++ ) { // ===> + top = offset.top + i * height; + my = i - ( rows - 1 ) / 2; + + for ( j = 0; j < cells; j++ ) { // ||| + left = offset.left + j * width; + mx = j - ( cells - 1 ) / 2; + + // Create a clone of the now hidden main element that will be absolute positioned + // within a wrapper div off the -left and -top equal to size of our pieces + element + .clone() + .appendTo( "body" ) + .wrap( "
      " ) + .css( { + position: "absolute", + visibility: "visible", + left: -j * width, + top: -i * height + } ) + + // Select the wrapper - make it overflow: hidden and absolute positioned based on + // where the original was located +left and +top equal to the size of pieces + .parent() + .addClass( "ui-effects-explode" ) + .css( { + position: "absolute", + overflow: "hidden", + width: width, + height: height, + left: left + ( show ? mx * width : 0 ), + top: top + ( show ? my * height : 0 ), + opacity: show ? 0 : 1 + } ) + .animate( { + left: left + ( show ? 0 : mx * width ), + top: top + ( show ? 0 : my * height ), + opacity: show ? 1 : 0 + }, options.duration || 500, options.easing, childComplete ); + } + } + + function animComplete() { + element.css( { + visibility: "visible" + } ); + $( pieces ).remove(); + done(); + } +} ); + + +/*! + * jQuery UI Effects Fade 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Fade Effect +//>>group: Effects +//>>description: Fades the element. +//>>docs: http://api.jqueryui.com/fade-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectFade = $.effects.define( "fade", "toggle", function( options, done ) { + var show = options.mode === "show"; + + $( this ) + .css( "opacity", show ? 0 : 1 ) + .animate( { + opacity: show ? 1 : 0 + }, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); +} ); + + +/*! + * jQuery UI Effects Fold 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Fold Effect +//>>group: Effects +//>>description: Folds an element first horizontally and then vertically. +//>>docs: http://api.jqueryui.com/fold-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectFold = $.effects.define( "fold", "hide", function( options, done ) { + + // Create element + var element = $( this ), + mode = options.mode, + show = mode === "show", + hide = mode === "hide", + size = options.size || 15, + percent = /([0-9]+)%/.exec( size ), + horizFirst = !!options.horizFirst, + ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ], + duration = options.duration / 2, + + placeholder = $.effects.createPlaceholder( element ), + + start = element.cssClip(), + animation1 = { clip: $.extend( {}, start ) }, + animation2 = { clip: $.extend( {}, start ) }, + + distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ], + + queuelen = element.queue().length; + + if ( percent ) { + size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ]; + } + animation1.clip[ ref[ 0 ] ] = size; + animation2.clip[ ref[ 0 ] ] = size; + animation2.clip[ ref[ 1 ] ] = 0; + + if ( show ) { + element.cssClip( animation2.clip ); + if ( placeholder ) { + placeholder.css( $.effects.clipToBox( animation2 ) ); + } + + animation2.clip = start; + } + + // Animate + element + .queue( function( next ) { + if ( placeholder ) { + placeholder + .animate( $.effects.clipToBox( animation1 ), duration, options.easing ) + .animate( $.effects.clipToBox( animation2 ), duration, options.easing ); + } + + next(); + } ) + .animate( animation1, duration, options.easing ) + .animate( animation2, duration, options.easing ) + .queue( done ); + + $.effects.unshift( element, queuelen, 4 ); +} ); + + +/*! + * jQuery UI Effects Highlight 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Highlight Effect +//>>group: Effects +//>>description: Highlights the background of an element in a defined color for a custom duration. +//>>docs: http://api.jqueryui.com/highlight-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectHighlight = $.effects.define( "highlight", "show", function( options, done ) { + var element = $( this ), + animation = { + backgroundColor: element.css( "backgroundColor" ) + }; + + if ( options.mode === "hide" ) { + animation.opacity = 0; + } + + $.effects.saveStyle( element ); + + element + .css( { + backgroundImage: "none", + backgroundColor: options.color || "#ffff99" + } ) + .animate( animation, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); +} ); + + +/*! + * jQuery UI Effects Size 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Size Effect +//>>group: Effects +//>>description: Resize an element to a specified width and height. +//>>docs: http://api.jqueryui.com/size-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectSize = $.effects.define( "size", function( options, done ) { + + // Create element + var baseline, factor, temp, + element = $( this ), + + // Copy for children + cProps = [ "fontSize" ], + vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ], + hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ], + + // Set options + mode = options.mode, + restore = mode !== "effect", + scale = options.scale || "both", + origin = options.origin || [ "middle", "center" ], + position = element.css( "position" ), + pos = element.position(), + original = $.effects.scaledDimensions( element ), + from = options.from || original, + to = options.to || $.effects.scaledDimensions( element, 0 ); + + $.effects.createPlaceholder( element ); + + if ( mode === "show" ) { + temp = from; + from = to; + to = temp; + } + + // Set scaling factor + factor = { + from: { + y: from.height / original.height, + x: from.width / original.width + }, + to: { + y: to.height / original.height, + x: to.width / original.width + } + }; + + // Scale the css box + if ( scale === "box" || scale === "both" ) { + + // Vertical props scaling + if ( factor.from.y !== factor.to.y ) { + from = $.effects.setTransition( element, vProps, factor.from.y, from ); + to = $.effects.setTransition( element, vProps, factor.to.y, to ); + } + + // Horizontal props scaling + if ( factor.from.x !== factor.to.x ) { + from = $.effects.setTransition( element, hProps, factor.from.x, from ); + to = $.effects.setTransition( element, hProps, factor.to.x, to ); + } + } + + // Scale the content + if ( scale === "content" || scale === "both" ) { + + // Vertical props scaling + if ( factor.from.y !== factor.to.y ) { + from = $.effects.setTransition( element, cProps, factor.from.y, from ); + to = $.effects.setTransition( element, cProps, factor.to.y, to ); + } + } + + // Adjust the position properties based on the provided origin points + if ( origin ) { + baseline = $.effects.getBaseline( origin, original ); + from.top = ( original.outerHeight - from.outerHeight ) * baseline.y + pos.top; + from.left = ( original.outerWidth - from.outerWidth ) * baseline.x + pos.left; + to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top; + to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left; + } + element.css( from ); + + // Animate the children if desired + if ( scale === "content" || scale === "both" ) { + + vProps = vProps.concat( [ "marginTop", "marginBottom" ] ).concat( cProps ); + hProps = hProps.concat( [ "marginLeft", "marginRight" ] ); + + // Only animate children with width attributes specified + // TODO: is this right? should we include anything with css width specified as well + element.find( "*[width]" ).each( function() { + var child = $( this ), + childOriginal = $.effects.scaledDimensions( child ), + childFrom = { + height: childOriginal.height * factor.from.y, + width: childOriginal.width * factor.from.x, + outerHeight: childOriginal.outerHeight * factor.from.y, + outerWidth: childOriginal.outerWidth * factor.from.x + }, + childTo = { + height: childOriginal.height * factor.to.y, + width: childOriginal.width * factor.to.x, + outerHeight: childOriginal.height * factor.to.y, + outerWidth: childOriginal.width * factor.to.x + }; + + // Vertical props scaling + if ( factor.from.y !== factor.to.y ) { + childFrom = $.effects.setTransition( child, vProps, factor.from.y, childFrom ); + childTo = $.effects.setTransition( child, vProps, factor.to.y, childTo ); + } + + // Horizontal props scaling + if ( factor.from.x !== factor.to.x ) { + childFrom = $.effects.setTransition( child, hProps, factor.from.x, childFrom ); + childTo = $.effects.setTransition( child, hProps, factor.to.x, childTo ); + } + + if ( restore ) { + $.effects.saveStyle( child ); + } + + // Animate children + child.css( childFrom ); + child.animate( childTo, options.duration, options.easing, function() { + + // Restore children + if ( restore ) { + $.effects.restoreStyle( child ); + } + } ); + } ); + } + + // Animate + element.animate( to, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: function() { + + var offset = element.offset(); + + if ( to.opacity === 0 ) { + element.css( "opacity", from.opacity ); + } + + if ( !restore ) { + element + .css( "position", position === "static" ? "relative" : position ) + .offset( offset ); + + // Need to save style here so that automatic style restoration + // doesn't restore to the original styles from before the animation. + $.effects.saveStyle( element ); + } + + done(); + } + } ); + +} ); + + +/*! + * jQuery UI Effects Scale 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Scale Effect +//>>group: Effects +//>>description: Grows or shrinks an element and its content. +//>>docs: http://api.jqueryui.com/scale-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectScale = $.effects.define( "scale", function( options, done ) { + + // Create element + var el = $( this ), + mode = options.mode, + percent = parseInt( options.percent, 10 ) || + ( parseInt( options.percent, 10 ) === 0 ? 0 : ( mode !== "effect" ? 0 : 100 ) ), + + newOptions = $.extend( true, { + from: $.effects.scaledDimensions( el ), + to: $.effects.scaledDimensions( el, percent, options.direction || "both" ), + origin: options.origin || [ "middle", "center" ] + }, options ); + + // Fade option to support puff + if ( options.fade ) { + newOptions.from.opacity = 1; + newOptions.to.opacity = 0; + } + + $.effects.effect.size.call( this, newOptions, done ); +} ); + + +/*! + * jQuery UI Effects Puff 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Puff Effect +//>>group: Effects +//>>description: Creates a puff effect by scaling the element up and hiding it at the same time. +//>>docs: http://api.jqueryui.com/puff-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectPuff = $.effects.define( "puff", "hide", function( options, done ) { + var newOptions = $.extend( true, {}, options, { + fade: true, + percent: parseInt( options.percent, 10 ) || 150 + } ); + + $.effects.effect.scale.call( this, newOptions, done ); +} ); + + +/*! + * jQuery UI Effects Pulsate 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Pulsate Effect +//>>group: Effects +//>>description: Pulsates an element n times by changing the opacity to zero and back. +//>>docs: http://api.jqueryui.com/pulsate-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectPulsate = $.effects.define( "pulsate", "show", function( options, done ) { + var element = $( this ), + mode = options.mode, + show = mode === "show", + hide = mode === "hide", + showhide = show || hide, + + // Showing or hiding leaves off the "last" animation + anims = ( ( options.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ), + duration = options.duration / anims, + animateTo = 0, + i = 1, + queuelen = element.queue().length; + + if ( show || !element.is( ":visible" ) ) { + element.css( "opacity", 0 ).show(); + animateTo = 1; + } + + // Anims - 1 opacity "toggles" + for ( ; i < anims; i++ ) { + element.animate( { opacity: animateTo }, duration, options.easing ); + animateTo = 1 - animateTo; + } + + element.animate( { opacity: animateTo }, duration, options.easing ); + + element.queue( done ); + + $.effects.unshift( element, queuelen, anims + 1 ); +} ); + + +/*! + * jQuery UI Effects Shake 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Shake Effect +//>>group: Effects +//>>description: Shakes an element horizontally or vertically n times. +//>>docs: http://api.jqueryui.com/shake-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectShake = $.effects.define( "shake", function( options, done ) { + + var i = 1, + element = $( this ), + direction = options.direction || "left", + distance = options.distance || 20, + times = options.times || 3, + anims = times * 2 + 1, + speed = Math.round( options.duration / anims ), + ref = ( direction === "up" || direction === "down" ) ? "top" : "left", + positiveMotion = ( direction === "up" || direction === "left" ), + animation = {}, + animation1 = {}, + animation2 = {}, + + queuelen = element.queue().length; + + $.effects.createPlaceholder( element ); + + // Animation + animation[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance; + animation1[ ref ] = ( positiveMotion ? "+=" : "-=" ) + distance * 2; + animation2[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance * 2; + + // Animate + element.animate( animation, speed, options.easing ); + + // Shakes + for ( ; i < times; i++ ) { + element + .animate( animation1, speed, options.easing ) + .animate( animation2, speed, options.easing ); + } + + element + .animate( animation1, speed, options.easing ) + .animate( animation, speed / 2, options.easing ) + .queue( done ); + + $.effects.unshift( element, queuelen, anims + 1 ); +} ); + + +/*! + * jQuery UI Effects Slide 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Slide Effect +//>>group: Effects +//>>description: Slides an element in and out of the viewport. +//>>docs: http://api.jqueryui.com/slide-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effectsEffectSlide = $.effects.define( "slide", "show", function( options, done ) { + var startClip, startRef, + element = $( this ), + map = { + up: [ "bottom", "top" ], + down: [ "top", "bottom" ], + left: [ "right", "left" ], + right: [ "left", "right" ] + }, + mode = options.mode, + direction = options.direction || "left", + ref = ( direction === "up" || direction === "down" ) ? "top" : "left", + positiveMotion = ( direction === "up" || direction === "left" ), + distance = options.distance || + element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ), + animation = {}; + + $.effects.createPlaceholder( element ); + + startClip = element.cssClip(); + startRef = element.position()[ ref ]; + + // Define hide animation + animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef; + animation.clip = element.cssClip(); + animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ]; + + // Reverse the animation if we're showing + if ( mode === "show" ) { + element.cssClip( animation.clip ); + element.css( ref, animation[ ref ] ); + animation.clip = startClip; + animation[ ref ] = startRef; + } + + // Actually animate + element.animate( animation, { + queue: false, + duration: options.duration, + easing: options.easing, + complete: done + } ); +} ); + + +/*! + * jQuery UI Effects Transfer 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Transfer Effect +//>>group: Effects +//>>description: Displays a transfer effect from one element to another. +//>>docs: http://api.jqueryui.com/transfer-effect/ +//>>demos: http://jqueryui.com/effect/ + + + +var effect; +if ( $.uiBackCompat !== false ) { + effect = $.effects.define( "transfer", function( options, done ) { + $( this ).transfer( options, done ); + } ); +} +var effectsEffectTransfer = effect; + + +/*! + * jQuery UI Focusable 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: :focusable Selector +//>>group: Core +//>>description: Selects elements which can be focused. +//>>docs: http://api.jqueryui.com/focusable-selector/ + + + +// Selectors +$.ui.focusable = function( element, hasTabindex ) { + var map, mapName, img, focusableIfVisible, fieldset, + nodeName = element.nodeName.toLowerCase(); + + if ( "area" === nodeName ) { + map = element.parentNode; + mapName = map.name; + if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { + return false; + } + img = $( "img[usemap='#" + mapName + "']" ); + return img.length > 0 && img.is( ":visible" ); + } + + if ( /^(input|select|textarea|button|object)$/.test( nodeName ) ) { + focusableIfVisible = !element.disabled; + + if ( focusableIfVisible ) { + + // Form controls within a disabled fieldset are disabled. + // However, controls within the fieldset's legend do not get disabled. + // Since controls generally aren't placed inside legends, we skip + // this portion of the check. + fieldset = $( element ).closest( "fieldset" )[ 0 ]; + if ( fieldset ) { + focusableIfVisible = !fieldset.disabled; + } + } + } else if ( "a" === nodeName ) { + focusableIfVisible = element.href || hasTabindex; + } else { + focusableIfVisible = hasTabindex; + } + + return focusableIfVisible && $( element ).is( ":visible" ) && visible( $( element ) ); +}; + +// Support: IE 8 only +// IE 8 doesn't resolve inherit to visible/hidden for computed values +function visible( element ) { + var visibility = element.css( "visibility" ); + while ( visibility === "inherit" ) { + element = element.parent(); + visibility = element.css( "visibility" ); + } + return visibility !== "hidden"; +} + +$.extend( $.expr[ ":" ], { + focusable: function( element ) { + return $.ui.focusable( element, $.attr( element, "tabindex" ) != null ); + } +} ); + +var focusable = $.ui.focusable; + + + + +// Support: IE8 Only +// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop +// with a string, so we need to find the proper form. +var form = $.fn.form = function() { + return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form ); +}; + + +/*! + * jQuery UI Form Reset Mixin 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Form Reset Mixin +//>>group: Core +//>>description: Refresh input widgets when their form is reset +//>>docs: http://api.jqueryui.com/form-reset-mixin/ + + + +var formResetMixin = $.ui.formResetMixin = { + _formResetHandler: function() { + var form = $( this ); + + // Wait for the form reset to actually happen before refreshing + setTimeout( function() { + var instances = form.data( "ui-form-reset-instances" ); + $.each( instances, function() { + this.refresh(); + } ); + } ); + }, + + _bindFormResetHandler: function() { + this.form = this.element.form(); + if ( !this.form.length ) { + return; + } + + var instances = this.form.data( "ui-form-reset-instances" ) || []; + if ( !instances.length ) { + + // We don't use _on() here because we use a single event handler per form + this.form.on( "reset.ui-form-reset", this._formResetHandler ); + } + instances.push( this ); + this.form.data( "ui-form-reset-instances", instances ); + }, + + _unbindFormResetHandler: function() { + if ( !this.form.length ) { + return; + } + + var instances = this.form.data( "ui-form-reset-instances" ); + instances.splice( $.inArray( this, instances ), 1 ); + if ( instances.length ) { + this.form.data( "ui-form-reset-instances", instances ); + } else { + this.form + .removeData( "ui-form-reset-instances" ) + .off( "reset.ui-form-reset" ); + } + } +}; + + +/*! + * jQuery UI Support for jQuery core 1.7.x 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + */ + +//>>label: jQuery 1.7 Support +//>>group: Core +//>>description: Support version 1.7.x of jQuery core + + + +// Support: jQuery 1.7 only +// Not a great way to check versions, but since we only support 1.7+ and only +// need to detect <1.8, this is a simple check that should suffice. Checking +// for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0 +// and we'll never reach 1.70.0 (if we do, we certainly won't be supporting +// 1.7 anymore). See #11197 for why we're not using feature detection. +if ( $.fn.jquery.substring( 0, 3 ) === "1.7" ) { + + // Setters for .innerWidth(), .innerHeight(), .outerWidth(), .outerHeight() + // Unlike jQuery Core 1.8+, these only support numeric values to set the + // dimensions in pixels + $.each( [ "Width", "Height" ], function( i, name ) { + var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ], + type = name.toLowerCase(), + orig = { + innerWidth: $.fn.innerWidth, + innerHeight: $.fn.innerHeight, + outerWidth: $.fn.outerWidth, + outerHeight: $.fn.outerHeight + }; + + function reduce( elem, size, border, margin ) { + $.each( side, function() { + size -= parseFloat( $.css( elem, "padding" + this ) ) || 0; + if ( border ) { + size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0; + } + if ( margin ) { + size -= parseFloat( $.css( elem, "margin" + this ) ) || 0; + } + } ); + return size; + } + + $.fn[ "inner" + name ] = function( size ) { + if ( size === undefined ) { + return orig[ "inner" + name ].call( this ); + } + + return this.each( function() { + $( this ).css( type, reduce( this, size ) + "px" ); + } ); + }; + + $.fn[ "outer" + name ] = function( size, margin ) { + if ( typeof size !== "number" ) { + return orig[ "outer" + name ].call( this, size ); + } + + return this.each( function() { + $( this ).css( type, reduce( this, size, true, margin ) + "px" ); + } ); + }; + } ); + + $.fn.addBack = function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + }; +} + +; +/*! + * jQuery UI Keycode 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Keycode +//>>group: Core +//>>description: Provide keycodes as keynames +//>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/ + + +var keycode = $.ui.keyCode = { + BACKSPACE: 8, + COMMA: 188, + DELETE: 46, + DOWN: 40, + END: 35, + ENTER: 13, + ESCAPE: 27, + HOME: 36, + LEFT: 37, + PAGE_DOWN: 34, + PAGE_UP: 33, + PERIOD: 190, + RIGHT: 39, + SPACE: 32, + TAB: 9, + UP: 38 +}; + + + + +// Internal use only +var escapeSelector = $.ui.escapeSelector = ( function() { + var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g; + return function( selector ) { + return selector.replace( selectorEscape, "\\$1" ); + }; +} )(); + + +/*! + * jQuery UI Labels 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: labels +//>>group: Core +//>>description: Find all the labels associated with a given input +//>>docs: http://api.jqueryui.com/labels/ + + + +var labels = $.fn.labels = function() { + var ancestor, selector, id, labels, ancestors; + + // Check control.labels first + if ( this[ 0 ].labels && this[ 0 ].labels.length ) { + return this.pushStack( this[ 0 ].labels ); + } + + // Support: IE <= 11, FF <= 37, Android <= 2.3 only + // Above browsers do not support control.labels. Everything below is to support them + // as well as document fragments. control.labels does not work on document fragments + labels = this.eq( 0 ).parents( "label" ); + + // Look for the label based on the id + id = this.attr( "id" ); + if ( id ) { + + // We don't search against the document in case the element + // is disconnected from the DOM + ancestor = this.eq( 0 ).parents().last(); + + // Get a full set of top level ancestors + ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() ); + + // Create a selector for the label based on the id + selector = "label[for='" + $.ui.escapeSelector( id ) + "']"; + + labels = labels.add( ancestors.find( selector ).addBack( selector ) ); + + } + + // Return whatever we have found for labels + return this.pushStack( labels ); +}; + + +/*! + * jQuery UI Scroll Parent 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: scrollParent +//>>group: Core +//>>description: Get the closest ancestor element that is scrollable. +//>>docs: http://api.jqueryui.com/scrollParent/ + + + +var scrollParent = $.fn.scrollParent = function( includeHidden ) { + var position = this.css( "position" ), + excludeStaticParent = position === "absolute", + overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/, + scrollParent = this.parents().filter( function() { + var parent = $( this ); + if ( excludeStaticParent && parent.css( "position" ) === "static" ) { + return false; + } + return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + + parent.css( "overflow-x" ) ); + } ).eq( 0 ); + + return position === "fixed" || !scrollParent.length ? + $( this[ 0 ].ownerDocument || document ) : + scrollParent; +}; + + +/*! + * jQuery UI Tabbable 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: :tabbable Selector +//>>group: Core +//>>description: Selects elements which can be tabbed to. +//>>docs: http://api.jqueryui.com/tabbable-selector/ + + + +var tabbable = $.extend( $.expr[ ":" ], { + tabbable: function( element ) { + var tabIndex = $.attr( element, "tabindex" ), + hasTabindex = tabIndex != null; + return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex ); + } +} ); + + +/*! + * jQuery UI Unique ID 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: uniqueId +//>>group: Core +//>>description: Functions to generate and remove uniqueId's +//>>docs: http://api.jqueryui.com/uniqueId/ + + + +var uniqueId = $.fn.extend( { + uniqueId: ( function() { + var uuid = 0; + + return function() { + return this.each( function() { + if ( !this.id ) { + this.id = "ui-id-" + ( ++uuid ); + } + } ); + }; + } )(), + + removeUniqueId: function() { + return this.each( function() { + if ( /^ui-id-\d+$/.test( this.id ) ) { + $( this ).removeAttr( "id" ); + } + } ); + } +} ); + + +/*! + * jQuery UI Accordion 1.12.1 + * http://jqueryui.com + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +//>>label: Accordion +//>>group: Widgets +// jscs:disable maximumLineLength +//>>description: Displays collapsible content panels for presenting information in a limited amount of space. +// jscs:enable maximumLineLength +//>>docs: http://api.jqueryui.com/accordion/ +//>>demos: http://jqueryui.com/accordion/ +//>>css.structure: ../../themes/base/core.css +//>>css.structure: ../../themes/base/accordion.css +//>>css.theme: ../../themes/base/theme.css + + + +var widgetsAccordion = $.widget( "ui.accordion", { + version: "1.12.1", + options: { + active: 0, + animate: {}, + classes: { + "ui-accordion-header": "ui-corner-top", + "ui-accordion-header-collapsed": "ui-corner-all", + "ui-accordion-content": "ui-corner-bottom" + }, + collapsible: false, + event: "click", + header: "> li > :first-child, > :not(li):even", + heightStyle: "auto", + icons: { + activeHeader: "ui-icon-triangle-1-s", + header: "ui-icon-triangle-1-e" + }, + + // Callbacks + activate: null, + beforeActivate: null + }, + + hideProps: { + borderTopWidth: "hide", + borderBottomWidth: "hide", + paddingTop: "hide", + paddingBottom: "hide", + height: "hide" + }, + + showProps: { + borderTopWidth: "show", + borderBottomWidth: "show", + paddingTop: "show", + paddingBottom: "show", + height: "show" + }, + + _create: function() { + var options = this.options; + + this.prevShow = this.prevHide = $(); + this._addClass( "ui-accordion", "ui-widget ui-helper-reset" ); + this.element.attr( "role", "tablist" ); + + // Don't allow collapsible: false and active: false / null + if ( !options.collapsible && ( options.active === false || options.active == null ) ) { + options.active = 0; + } + + this._processPanels(); + + // handle negative values + if ( options.active < 0 ) { + options.active += this.headers.length; + } + this._refresh(); + }, + + _getCreateEventData: function() { + return { + header: this.active, + panel: !this.active.length ? $() : this.active.next() + }; + }, + + _createIcons: function() { + var icon, children, + icons = this.options.icons; + + if ( icons ) { + icon = $( "" ); + this._addClass( icon, "ui-accordion-header-icon", "ui-icon " + icons.header ); + icon.prependTo( this.headers ); + children = this.active.children( ".ui-accordion-header-icon" ); + this._removeClass( children, icons.header ) + ._addClass( children, null, icons.activeHeader ) + ._addClass( this.headers, "ui-accordion-icons" ); + } + }, + + _destroyIcons: function() { + this._removeClass( this.headers, "ui-accordion-icons" ); + this.headers.children( ".ui-accordion-header-icon" ).remove(); + }, + + _destroy: function() { + var contents; + + // Clean up main element + this.element.removeAttr( "role" ); + + // Clean up headers + this.headers + .removeAttr( "role aria-expanded aria-selected aria-controls tabIndex" ) + .removeUniqueId(); + + this._destroyIcons(); + + // Clean up content panels + contents = this.headers.next() + .css( "display", "" ) + .removeAttr( "role aria-hidden aria-labelledby" ) + .removeUniqueId(); + + if ( this.options.heightStyle !== "content" ) { + contents.css( "height", "" ); + } + }, + + _setOption: function( key, value ) { + if ( key === "active" ) { + + // _activate() will handle invalid values and update this.options + this._activate( value ); + return; + } + + if ( key === "event" ) { + if ( this.options.event ) { + this._off( this.headers, this.options.event ); + } + this._setupEvents( value ); + } + + this._super( key, value ); + + // Setting collapsible: false while collapsed; open first panel + if ( key === "collapsible" && !value && this.options.active === false ) { + this._activate( 0 ); + } + + if ( key === "icons" ) { + this._destroyIcons(); + if ( value ) { + this._createIcons(); + } + } + }, + + _setOptionDisabled: function( value ) { + this._super( value ); + + this.element.attr( "aria-disabled", value ); + + // Support: IE8 Only + // #5332 / #6059 - opacity doesn't cascade to positioned elements in IE + // so we need to add the disabled class to the headers and panels + this._toggleClass( null, "ui-state-disabled", !!value ); + this._toggleClass( this.headers.add( this.headers.next() ), null, "ui-state-disabled", + !!value ); + }, + + _keydown: function( event ) { + if ( event.altKey || event.ctrlKey ) { + return; + } + + var keyCode = $.ui.keyCode, + length = this.headers.length, + currentIndex = this.headers.index( event.target ), + toFocus = false; + + switch ( event.keyCode ) { + case keyCode.RIGHT: + case keyCode.DOWN: + toFocus = this.headers[ ( currentIndex + 1 ) % length ]; + break; + case keyCode.LEFT: + case keyCode.UP: + toFocus = this.headers[ ( currentIndex - 1 + length ) % length ]; + break; + case keyCode.SPACE: + case keyCode.ENTER: + this._eventHandler( event ); + break; + case keyCode.HOME: + toFocus = this.headers[ 0 ]; + break; + case keyCode.END: + toFocus = this.headers[ length - 1 ]; + break; + } + + if ( toFocus ) { + $( event.target ).attr( "tabIndex", -1 ); + $( toFocus ).attr( "tabIndex", 0 ); + $( toFocus ).trigger( "focus" ); + event.preventDefault(); + } + }, + + _panelKeyDown: function( event ) { + if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) { + $( event.currentTarget ).prev().trigger( "focus" ); + } + }, + + refresh: function() { + var options = this.options; + this._processPanels(); + + // Was collapsed or no panel + if ( ( options.active === false && options.collapsible === true ) || + !this.headers.length ) { + options.active = false; + this.active = $(); + + // active false only when collapsible is true + } else if ( options.active === false ) { + this._activate( 0 ); + + // was active, but active panel is gone + } else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) { + + // all remaining panel are disabled + if ( this.headers.length === this.headers.find( ".ui-state-disabled" ).length ) { + options.active = false; + this.active = $(); + + // activate previous panel + } else { + this._activate( Math.max( 0, options.active - 1 ) ); + } + + // was active, active panel still exists + } else { + + // make sure active index is correct + options.active = this.headers.index( this.active ); + } + + this._destroyIcons(); + + this._refresh(); + }, + + _processPanels: function() { + var prevHeaders = this.headers, + prevPanels = this.panels; + + this.headers = this.element.find( this.options.header ); + this._addClass( this.headers, "ui-accordion-header ui-accordion-header-collapsed", + "ui-state-default" ); + + this.panels = this.headers.next().filter( ":not(.ui-accordion-content-active)" ).hide(); + this._addClass( this.panels, "ui-accordion-content", "ui-helper-reset ui-widget-content" ); + + // Avoid memory leaks (#10056) + if ( prevPanels ) { + this._off( prevHeaders.not( this.headers ) ); + this._off( prevPanels.not( this.panels ) ); + } + }, + + _refresh: function() { + var maxHeight, + options = this.options, + heightStyle = options.heightStyle, + parent = this.element.parent(); + + this.active = this._findActive( options.active ); + this._addClass( this.active, "ui-accordion-header-active", "ui-state-active" ) + ._removeClass( this.active, "ui-accordion-header-collapsed" ); + this._addClass( this.active.next(), "ui-accordion-content-active" ); + this.active.next().show(); + + this.headers + .attr( "role", "tab" ) + .each( function() { + var header = $( this ), + headerId = header.uniqueId().attr( "id" ), + panel = header.next(), + panelId = panel.uniqueId().attr( "id" ); + header.attr( "aria-controls", panelId ); + panel.attr( "aria-labelledby", headerId ); + } ) + .next() + .attr( "role", "tabpanel" ); + + this.headers + .not( this.active ) + .attr( { + "aria-selected": "false", + "aria-expanded": "false", + tabIndex: -1 + } ) + .next() + .attr( { + "aria-hidden": "true" + } ) + .hide(); + + // Make sure at least one header is in the tab order + if ( !this.active.length ) { + this.headers.eq( 0 ).attr( "tabIndex", 0 ); + } else { + this.active.attr( { + "aria-selected": "true", + "aria-expanded": "true", + tabIndex: 0 + } ) + .next() + .attr( { + "aria-hidden": "false" + } ); + } + + this._createIcons(); + + this._setupEvents( options.event ); + + if ( heightStyle === "fill" ) { + maxHeight = parent.height(); + this.element.siblings( ":visible" ).each( function() { + var elem = $( this ), + position = elem.css( "position" ); + + if ( position === "absolute" || position === "fixed" ) { + return; + } + maxHeight -= elem.outerHeight( true ); + } ); + + this.headers.each( function() { + maxHeight -= $( this ).outerHeight( true ); + } ); + + this.headers.next() + .each( function() { + $( this ).height( Math.max( 0, maxHeight - + $( this ).innerHeight() + $( this ).height() ) ); + } ) + .css( "overflow", "auto" ); + } else if ( heightStyle === "auto" ) { + maxHeight = 0; + this.headers.next() + .each( function() { + var isVisible = $( this ).is( ":visible" ); + if ( !isVisible ) { + $( this ).show(); + } + maxHeight = Math.max( maxHeight, $( this ).css( "height", "" ).height() ); + if ( !isVisible ) { + $( this ).hide(); + } + } ) + .height( maxHeight ); + } + }, + + _activate: function( index ) { + var active = this._findActive( index )[ 0 ]; + + // Trying to activate the already active panel + if ( active === this.active[ 0 ] ) { + return; + } + + // Trying to collapse, simulate a click on the currently active header + active = active || this.active[ 0 ]; + + this._eventHandler( { + target: active, + currentTarget: active, + preventDefault: $.noop + } ); + }, + + _findActive: function( selector ) { + return typeof selector === "number" ? this.headers.eq( selector ) : $(); + }, + + _setupEvents: function( event ) { + var events = { + keydown: "_keydown" + }; + if ( event ) { + $.each( event.split( " " ), function( index, eventName ) { + events[ eventName ] = "_eventHandler"; + } ); + } + + this._off( this.headers.add( this.headers.next() ) ); + this._on( this.headers, events ); + this._on( this.headers.next(), { keydown: "_panelKeyDown" } ); + this._hoverable( this.headers ); + this._focusable( this.headers ); + }, + + _eventHandler: function( event ) { + var activeChildren, clickedChildren, + options = this.options, + active = this.active, + clicked = $( event.currentTarget ), + clickedIsActive = clicked[ 0 ] === active[ 0 ], + collapsing = clickedIsActive && options.collapsible, + toShow = collapsing ? $() : clicked.next(), + toHide = active.next(), + eventData = { + oldHeader: active, + oldPanel: toHide, + newHeader: collapsing ? $() : clicked, + newPanel: toShow + }; + + event.preventDefault(); + + if ( + + // click on active header, but not collapsible + ( clickedIsActive && !options.collapsible ) || + + // allow canceling activation + ( this._trigger( "beforeActivate", event, eventData ) === false ) ) { + return; + } + + options.active = collapsing ? false : this.headers.index( clicked ); + + // When the call to ._toggle() comes after the class changes + // it causes a very odd bug in IE 8 (see #6720) + this.active = clickedIsActive ? $() : clicked; + this._toggle( eventData ); + + // Switch classes + // corner classes on the previously active header stay after the animation + this._removeClass( active, "ui-accordion-header-active", "ui-state-active" ); + if ( options.icons ) { + activeChildren = active.children( ".ui-accordion-header-icon" ); + this._removeClass( activeChildren, null, options.icons.activeHeader ) + ._addClass( activeChildren, null, options.icons.header ); + } + + if ( !clickedIsActive ) { + this._removeClass( clicked, "ui-accordion-header-collapsed" ) + ._addClass( clicked, "ui-accordion-header-active", "ui-state-active" ); + if ( options.icons ) { + clickedChildren = clicked.children( ".ui-accordion-header-icon" ); + this._removeClass( clickedChildren, null, options.icons.header ) + ._addClass( clickedChildren, null, options.icons.activeHeader ); + } + + this._addClass( clicked.next(), "ui-accordion-content-active" ); + } + }, + + _toggle: function( data ) { + var toShow = data.newPanel, + toHide = this.prevShow.length ? this.prevShow : data.oldPanel; + + // Handle activating a panel during the animation for another activation + this.prevShow.add( this.prevHide ).stop( true, true ); + this.prevShow = toShow; + this.prevHide = toHide; + + if ( this.options.animate ) { + this._animate( toShow, toHide, data ); + } else { + toHide.hide(); + toShow.show(); + this._toggleComplete( data ); + } + + toHide.attr( { + "aria-hidden": "true" + } ); + toHide.prev().attr( { + "aria-selected": "false", + "aria-expanded": "false" + } ); + + // if we're switching panels, remove the old header from the tab order + // if we're opening from collapsed state, remove the previous header from the tab order + // if we're collapsing, then keep the collapsing header in the tab order + if ( toShow.length && toHide.length ) { + toHide.prev().attr( { + "tabIndex": -1, + "aria-expanded": "false" + } ); + } else if ( toShow.length ) { + this.headers.filter( function() { + return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0; + } ) + .attr( "tabIndex", -1 ); + } + + toShow + .attr( "aria-hidden", "false" ) + .prev() + .attr( { + "aria-selected": "true", + "aria-expanded": "true", + tabIndex: 0 + } ); + }, + + _animate: function( toShow, toHide, data ) { + var total, easing, duration, + that = this, + adjust = 0, + boxSizing = toShow.css( "box-sizing" ), + down = toShow.length && + ( !toHide.length || ( toShow.index() < toHide.index() ) ), + animate = this.options.animate || {}, + options = down && animate.down || animate, + complete = function() { + that._toggleComplete( data ); + }; + + if ( typeof options === "number" ) { + duration = options; + } + if ( typeof options === "string" ) { + easing = options; + } + + // fall back from options to animation in case of partial down settings + easing = easing || options.easing || animate.easing; + duration = duration || options.duration || animate.duration; + + if ( !toHide.length ) { + return toShow.animate( this.showProps, duration, easing, complete ); + } + if ( !toShow.length ) { + return toHide.animate( this.hideProps, duration, easing, complete ); + } + + total = toShow.show().outerHeight(); + toHide.animate( this.hideProps, { + duration: duration, + easing: easing, + step: function( now, fx ) { + fx.now = Math.round( now ); + } + } ); + toShow + .hide() + .animate( this.showProps, { + duration: duration, + easing: easing, + complete: complete, + step: function( now, fx ) { + fx.now = Math.round( now ); + if ( fx.prop !== "height" ) { + if ( boxSizing === "content-box" ) { + adjust += fx.now; + } + } else if ( that.options.heightStyle !== "content" ) { + fx.now = Math.round( total - toHide.outerHeight() - adjust ); + adjust = 0; + } + } + } ); + }, + + _toggleComplete: function( data ) { + var toHide = data.oldPanel, + prev = toHide.prev(); + + this._removeClass( toHide, "ui-accordion-content-active" ); + this._removeClass( prev, "ui-accordion-header-active" ) + ._addClass( prev, "ui-accordion-header-collapsed" ); + + // Work around for rendering bug in IE (#5421) + if ( toHide.length ) { + toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className; + } + this._trigger( "activate", null, data ); + } +} ); + + + +var safeActiveElement = $.ui.safeActiveElement = function( document ) { + var activeElement; + + // Support: IE 9 only + // IE9 throws an "Unspecified error" accessing document.activeElement from an ':"vimeo"===f.type?c='':"vzaar"===f.type&&(c=''),a('
      '+c+"
      ").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._timeout=null,this._paused=!1,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._core.settings.autoplay&&this._setAutoPlayInterval()},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.play=function(a,b){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(b.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},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:["prev","next"],navSpeed:!1,navElement:"div",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("
      ").addClass(c.dotClass).append(a("")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("
      ").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document); +/*! Magnific Popup - v1.1.0 - 2016-02-20 +* http://dimsemenov.com/plugins/magnific-popup/ +* Copyright (c) 2016 Dmitry Semenov; */ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("
      ");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'
      ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'
      ',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()}); +/*! +* sweetalert2 v7.33.1 +* Released under the MIT License. +*/ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global.Sweetalert2 = factory()); +}(this, (function () { 'use strict'; + +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); +} + +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} + +function isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + return true; + } catch (e) { + return false; + } +} + +function _construct(Parent, args, Class) { + if (isNativeReflectConstruct()) { + _construct = Reflect.construct; + } else { + _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) _setPrototypeOf(instance, Class.prototype); + return instance; + }; + } + + return _construct.apply(null, arguments); +} + +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + +function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } + + return _assertThisInitialized(self); +} + +function _superPropBase(object, property) { + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = _getPrototypeOf(object); + if (object === null) break; + } + + return object; +} + +function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + _get = Reflect.get; + } else { + _get = function _get(target, property, receiver) { + var base = _superPropBase(target, property); + + if (!base) return; + var desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + } + + return _get(target, property, receiver || target); +} + +var consolePrefix = 'SweetAlert2:'; +/** + * Filter the unique values into a new array + * @param arr + */ + +var uniqueArray = function uniqueArray(arr) { + var result = []; + + for (var i = 0; i < arr.length; i++) { + if (result.indexOf(arr[i]) === -1) { + result.push(arr[i]); + } + } + + return result; +}; +/** + * Convert NodeList to Array + * @param nodeList + */ + +var toArray = function toArray(nodeList) { + return Array.prototype.slice.call(nodeList); +}; +/** + * Converts `inputOptions` into an array of `[value, label]`s + * @param inputOptions + */ + +var formatInputOptions = function formatInputOptions(inputOptions) { + var result = []; + + if (typeof Map !== 'undefined' && inputOptions instanceof Map) { + inputOptions.forEach(function (value, key) { + result.push([key, value]); + }); + } else { + Object.keys(inputOptions).forEach(function (key) { + result.push([key, inputOptions[key]]); + }); + } + + return result; +}; +/** + * Standardise console warnings + * @param message + */ + +var warn = function warn(message) { + console.warn("".concat(consolePrefix, " ").concat(message)); +}; +/** + * Standardise console errors + * @param message + */ + +var error = function error(message) { + console.error("".concat(consolePrefix, " ").concat(message)); +}; +/** + * Private global state for `warnOnce` + * @type {Array} + * @private + */ + +var previousWarnOnceMessages = []; +/** + * Show a console warning, but only if it hasn't already been shown + * @param message + */ + +var warnOnce = function warnOnce(message) { + if (!(previousWarnOnceMessages.indexOf(message) !== -1)) { + previousWarnOnceMessages.push(message); + warn(message); + } +}; +/** + * If `arg` is a function, call it (with no arguments or context) and return the result. + * Otherwise, just pass the value through + * @param arg + */ + +var callIfFunction = function callIfFunction(arg) { + return typeof arg === 'function' ? arg() : arg; +}; +var isPromise = function isPromise(arg) { + return arg && Promise.resolve(arg) === arg; +}; + +var DismissReason = Object.freeze({ + cancel: 'cancel', + backdrop: 'overlay', + close: 'close', + esc: 'esc', + timer: 'timer' +}); + +var argsToParams = function argsToParams(args) { + var params = {}; + + switch (_typeof(args[0])) { + case 'object': + _extends(params, args[0]); + + break; + + default: + ['title', 'html', 'type'].forEach(function (name, index) { + switch (_typeof(args[index])) { + case 'string': + params[name] = args[index]; + break; + + case 'undefined': + break; + + default: + error("Unexpected type of ".concat(name, "! Expected \"string\", got ").concat(_typeof(args[index]))); + } + }); + } + + return params; +}; + +/** + * Adapt a legacy inputValidator for use with expectRejections=false + */ +var adaptInputValidator = function adaptInputValidator(legacyValidator) { + return function adaptedInputValidator(inputValue, extraParams) { + return legacyValidator.call(this, inputValue, extraParams).then(function () { + return undefined; + }, function (validationMessage) { + return validationMessage; + }); + }; +}; + +var swalPrefix = 'swal2-'; +var prefix = function prefix(items) { + var result = {}; + + for (var i in items) { + result[items[i]] = swalPrefix + items[i]; + } + + return result; +}; +var swalClasses = prefix(['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'toast', 'toast-shown', 'toast-column', 'fade', 'show', 'hide', 'noanimation', 'close', 'title', 'header', 'content', 'actions', 'confirm', 'cancel', 'footer', 'icon', 'icon-text', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'validation-message', 'progresssteps', 'activeprogressstep', 'progresscircle', 'progressline', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl']); +var iconTypes = prefix(['success', 'warning', 'info', 'question', 'error']); + +var states = { + previousBodyPadding: null +}; +var hasClass = function hasClass(elem, className) { + return elem.classList.contains(className); +}; +var focusInput = function focusInput(input) { + input.focus(); // place cursor at end of text in text input + + if (input.type !== 'file') { + // http://stackoverflow.com/a/2345915 + var val = input.value; + input.value = ''; + input.value = val; + } +}; + +var addOrRemoveClass = function addOrRemoveClass(target, classList, add) { + if (!target || !classList) { + return; + } + + if (typeof classList === 'string') { + classList = classList.split(/\s+/).filter(Boolean); + } + + classList.forEach(function (className) { + if (target.forEach) { + target.forEach(function (elem) { + add ? elem.classList.add(className) : elem.classList.remove(className); + }); + } else { + add ? target.classList.add(className) : target.classList.remove(className); + } + }); +}; + +var addClass = function addClass(target, classList) { + addOrRemoveClass(target, classList, true); +}; +var removeClass = function removeClass(target, classList) { + addOrRemoveClass(target, classList, false); +}; +var getChildByClass = function getChildByClass(elem, className) { + for (var i = 0; i < elem.childNodes.length; i++) { + if (hasClass(elem.childNodes[i], className)) { + return elem.childNodes[i]; + } + } +}; +var show = function show(elem) { + elem.style.opacity = ''; + elem.style.display = elem.id === swalClasses.content ? 'block' : 'flex'; +}; +var hide = function hide(elem) { + elem.style.opacity = ''; + elem.style.display = 'none'; +}; // borrowed from jquery $(elem).is(':visible') implementation + +var isVisible = function isVisible(elem) { + return elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length); +}; +var contains = function contains(haystack, needle) { + if (typeof haystack.contains === 'function') { + return haystack.contains(needle); + } +}; + +var getContainer = function getContainer() { + return document.body.querySelector('.' + swalClasses.container); +}; + +var elementByClass = function elementByClass(className) { + var container = getContainer(); + return container ? container.querySelector('.' + className) : null; +}; + +var getPopup = function getPopup() { + return elementByClass(swalClasses.popup); +}; +var getIcons = function getIcons() { + var popup = getPopup(); + return toArray(popup.querySelectorAll('.' + swalClasses.icon)); +}; +var getTitle = function getTitle() { + return elementByClass(swalClasses.title); +}; +var getContent = function getContent() { + return elementByClass(swalClasses.content); +}; +var getImage = function getImage() { + return elementByClass(swalClasses.image); +}; +var getProgressSteps = function getProgressSteps() { + return elementByClass(swalClasses.progresssteps); +}; +var getValidationMessage = function getValidationMessage() { + return elementByClass(swalClasses['validation-message']); +}; +var getConfirmButton = function getConfirmButton() { + return elementByClass(swalClasses.confirm); +}; +var getCancelButton = function getCancelButton() { + return elementByClass(swalClasses.cancel); +}; +/* @deprecated */ + +/* istanbul ignore next */ + +var getButtonsWrapper = function getButtonsWrapper() { + warnOnce("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"); + return elementByClass(swalClasses.actions); +}; +var getActions = function getActions() { + return elementByClass(swalClasses.actions); +}; +var getFooter = function getFooter() { + return elementByClass(swalClasses.footer); +}; +var getCloseButton = function getCloseButton() { + return elementByClass(swalClasses.close); +}; +var getFocusableElements = function getFocusableElements() { + var focusableElementsWithTabindex = toArray(getPopup().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')) // sort according to tabindex + .sort(function (a, b) { + a = parseInt(a.getAttribute('tabindex')); + b = parseInt(b.getAttribute('tabindex')); + + if (a > b) { + return 1; + } else if (a < b) { + return -1; + } + + return 0; + }); // https://github.com/jkup/focusable/blob/master/index.js + + var otherFocusableElements = toArray(getPopup().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function (el) { + return el.getAttribute('tabindex') !== '-1'; + }); + return uniqueArray(focusableElementsWithTabindex.concat(otherFocusableElements)).filter(function (el) { + return isVisible(el); + }); +}; +var isModal = function isModal() { + return !isToast() && !document.body.classList.contains(swalClasses['no-backdrop']); +}; +var isToast = function isToast() { + return document.body.classList.contains(swalClasses['toast-shown']); +}; +var isLoading = function isLoading() { + return getPopup().hasAttribute('data-loading'); +}; + +// Detect Node env +var isNodeEnv = function isNodeEnv() { + return typeof window === 'undefined' || typeof document === 'undefined'; +}; + +var sweetHTML = "\n
      \n
      \n
        \n
        \n \n
        \n
        \n ?\n
        \n
        \n !\n
        \n
        \n i\n
        \n
        \n
        \n \n
        \n
        \n
        \n \n

        \n \n
        \n
        \n
        \n \n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n").replace(/(^|\n)\s*/g, ''); +/* + * Add modal + backdrop to DOM + */ + +var init = function init(params) { + // Clean up the old popup if it exists + var c = getContainer(); + + if (c) { + c.parentNode.removeChild(c); + removeClass([document.documentElement, document.body], [swalClasses['no-backdrop'], swalClasses['toast-shown'], swalClasses['has-column']]); + } + /* istanbul ignore if */ + + + if (isNodeEnv()) { + error('SweetAlert2 requires document to initialize'); + return; + } + + var container = document.createElement('div'); + container.className = swalClasses.container; + container.innerHTML = sweetHTML; + var targetElement = typeof params.target === 'string' ? document.querySelector(params.target) : params.target; + targetElement.appendChild(container); + var popup = getPopup(); + var content = getContent(); + var input = getChildByClass(content, swalClasses.input); + var file = getChildByClass(content, swalClasses.file); + var range = content.querySelector(".".concat(swalClasses.range, " input")); + var rangeOutput = content.querySelector(".".concat(swalClasses.range, " output")); + var select = getChildByClass(content, swalClasses.select); + var checkbox = content.querySelector(".".concat(swalClasses.checkbox, " input")); + var textarea = getChildByClass(content, swalClasses.textarea); // a11y + + popup.setAttribute('role', params.toast ? 'alert' : 'dialog'); + popup.setAttribute('aria-live', params.toast ? 'polite' : 'assertive'); + + if (!params.toast) { + popup.setAttribute('aria-modal', 'true'); + } // RTL + + + if (window.getComputedStyle(targetElement).direction === 'rtl') { + addClass(getContainer(), swalClasses.rtl); + } + + var oldInputVal; // IE11 workaround, see #1109 for details + + var resetValidationMessage = function resetValidationMessage(e) { + if (Swal.isVisible() && oldInputVal !== e.target.value) { + Swal.resetValidationMessage(); + } + + oldInputVal = e.target.value; + }; + + input.oninput = resetValidationMessage; + file.onchange = resetValidationMessage; + select.onchange = resetValidationMessage; + checkbox.onchange = resetValidationMessage; + textarea.oninput = resetValidationMessage; + + range.oninput = function (e) { + resetValidationMessage(e); + rangeOutput.value = range.value; + }; + + range.onchange = function (e) { + resetValidationMessage(e); + range.nextSibling.value = range.value; + }; + + return popup; +}; + +var parseHtmlToContainer = function parseHtmlToContainer(param, target) { + if (!param) { + return hide(target); + } // DOM element + + + if (param instanceof HTMLElement) { + target.appendChild(param); // JQuery element(s) + } else if (_typeof(param) === 'object') { + target.innerHTML = ''; + + if (0 in param) { + for (var i = 0; i in param; i++) { + target.appendChild(param[i].cloneNode(true)); + } + } else { + target.appendChild(param.cloneNode(true)); + } + } else if (param) { + target.innerHTML = param; + } + + show(target); +}; + +var animationEndEvent = function () { + // Prevent run in Node env + + /* istanbul ignore if */ + if (isNodeEnv()) { + return false; + } + + var testEl = document.createElement('div'); + var transEndEventNames = { + 'WebkitAnimation': 'webkitAnimationEnd', + 'OAnimation': 'oAnimationEnd oanimationend', + 'animation': 'animationend' + }; + + for (var i in transEndEventNames) { + if (transEndEventNames.hasOwnProperty(i) && typeof testEl.style[i] !== 'undefined') { + return transEndEventNames[i]; + } + } + + return false; +}(); + +// Measure width of scrollbar +// https://github.com/twbs/bootstrap/blob/master/js/modal.js#L279-L286 +var measureScrollbar = function measureScrollbar() { + var supportsTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints; + + if (supportsTouch) { + return 0; + } + + var scrollDiv = document.createElement('div'); + scrollDiv.style.width = '50px'; + scrollDiv.style.height = '50px'; + scrollDiv.style.overflow = 'scroll'; + document.body.appendChild(scrollDiv); + var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth; + document.body.removeChild(scrollDiv); + return scrollbarWidth; +}; + +var renderActions = function renderActions(params) { + var actions = getActions(); + var confirmButton = getConfirmButton(); + var cancelButton = getCancelButton(); // Actions (buttons) wrapper + + if (!params.showConfirmButton && !params.showCancelButton) { + hide(actions); + } else { + show(actions); + } // Cancel button + + + if (params.showCancelButton) { + cancelButton.style.display = 'inline-block'; + } else { + hide(cancelButton); + } // Confirm button + + + if (params.showConfirmButton) { + confirmButton.style.removeProperty('display'); + } else { + hide(confirmButton); + } // Edit text on confirm and cancel buttons + + + confirmButton.innerHTML = params.confirmButtonText; + cancelButton.innerHTML = params.cancelButtonText; // ARIA labels for confirm and cancel buttons + + confirmButton.setAttribute('aria-label', params.confirmButtonAriaLabel); + cancelButton.setAttribute('aria-label', params.cancelButtonAriaLabel); // Add buttons custom classes + + confirmButton.className = swalClasses.confirm; + addClass(confirmButton, params.confirmButtonClass); + cancelButton.className = swalClasses.cancel; + addClass(cancelButton, params.cancelButtonClass); // Buttons styling + + if (params.buttonsStyling) { + addClass([confirmButton, cancelButton], swalClasses.styled); // Buttons background colors + + if (params.confirmButtonColor) { + confirmButton.style.backgroundColor = params.confirmButtonColor; + } + + if (params.cancelButtonColor) { + cancelButton.style.backgroundColor = params.cancelButtonColor; + } // Loading state + + + var confirmButtonBackgroundColor = window.getComputedStyle(confirmButton).getPropertyValue('background-color'); + confirmButton.style.borderLeftColor = confirmButtonBackgroundColor; + confirmButton.style.borderRightColor = confirmButtonBackgroundColor; + } else { + removeClass([confirmButton, cancelButton], swalClasses.styled); + confirmButton.style.backgroundColor = confirmButton.style.borderLeftColor = confirmButton.style.borderRightColor = ''; + cancelButton.style.backgroundColor = cancelButton.style.borderLeftColor = cancelButton.style.borderRightColor = ''; + } +}; + +var renderContent = function renderContent(params) { + var content = getContent().querySelector('#' + swalClasses.content); // Content as HTML + + if (params.html) { + parseHtmlToContainer(params.html, content); // Content as plain text + } else if (params.text) { + content.textContent = params.text; + show(content); + } else { + hide(content); + } +}; + +var renderIcon = function renderIcon(params) { + var icons = getIcons(); + + for (var i = 0; i < icons.length; i++) { + hide(icons[i]); + } + + if (params.type) { + if (Object.keys(iconTypes).indexOf(params.type) !== -1) { + var icon = Swal.getPopup().querySelector(".".concat(swalClasses.icon, ".").concat(iconTypes[params.type])); + show(icon); // Animate icon + + if (params.animation) { + addClass(icon, "swal2-animate-".concat(params.type, "-icon")); + } + } else { + error("Unknown type! Expected \"success\", \"error\", \"warning\", \"info\" or \"question\", got \"".concat(params.type, "\"")); + } + } +}; + +var renderImage = function renderImage(params) { + var image = getImage(); + + if (params.imageUrl) { + image.setAttribute('src', params.imageUrl); + image.setAttribute('alt', params.imageAlt); + show(image); + + if (params.imageWidth) { + image.setAttribute('width', params.imageWidth); + } else { + image.removeAttribute('width'); + } + + if (params.imageHeight) { + image.setAttribute('height', params.imageHeight); + } else { + image.removeAttribute('height'); + } + + image.className = swalClasses.image; + + if (params.imageClass) { + addClass(image, params.imageClass); + } + } else { + hide(image); + } +}; + +var renderProgressSteps = function renderProgressSteps(params) { + var progressStepsContainer = getProgressSteps(); + var currentProgressStep = parseInt(params.currentProgressStep === null ? Swal.getQueueStep() : params.currentProgressStep, 10); + + if (params.progressSteps && params.progressSteps.length) { + show(progressStepsContainer); + progressStepsContainer.innerHTML = ''; + + if (currentProgressStep >= params.progressSteps.length) { + warn('Invalid currentProgressStep parameter, it should be less than progressSteps.length ' + '(currentProgressStep like JS arrays starts from 0)'); + } + + params.progressSteps.forEach(function (step, index) { + var circle = document.createElement('li'); + addClass(circle, swalClasses.progresscircle); + circle.innerHTML = step; + + if (index === currentProgressStep) { + addClass(circle, swalClasses.activeprogressstep); + } + + progressStepsContainer.appendChild(circle); + + if (index !== params.progressSteps.length - 1) { + var line = document.createElement('li'); + addClass(line, swalClasses.progressline); + + if (params.progressStepsDistance) { + line.style.width = params.progressStepsDistance; + } + + progressStepsContainer.appendChild(line); + } + }); + } else { + hide(progressStepsContainer); + } +}; + +var renderTitle = function renderTitle(params) { + var title = getTitle(); + + if (params.titleText) { + title.innerText = params.titleText; + } else if (params.title) { + if (typeof params.title === 'string') { + params.title = params.title.split('\n').join('
        '); + } + + parseHtmlToContainer(params.title, title); + } +}; + +var fixScrollbar = function fixScrollbar() { + // for queues, do not do this more than once + if (states.previousBodyPadding !== null) { + return; + } // if the body has overflow + + + if (document.body.scrollHeight > window.innerHeight) { + // add padding so the content doesn't shift after removal of scrollbar + states.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue('padding-right')); + document.body.style.paddingRight = states.previousBodyPadding + measureScrollbar() + 'px'; + } +}; +var undoScrollbar = function undoScrollbar() { + if (states.previousBodyPadding !== null) { + document.body.style.paddingRight = states.previousBodyPadding; + states.previousBodyPadding = null; + } +}; + +/* istanbul ignore next */ + +var iOSfix = function iOSfix() { + var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; + + if (iOS && !hasClass(document.body, swalClasses.iosfix)) { + var offset = document.body.scrollTop; + document.body.style.top = offset * -1 + 'px'; + addClass(document.body, swalClasses.iosfix); + } +}; +/* istanbul ignore next */ + +var undoIOSfix = function undoIOSfix() { + if (hasClass(document.body, swalClasses.iosfix)) { + var offset = parseInt(document.body.style.top, 10); + removeClass(document.body, swalClasses.iosfix); + document.body.style.top = ''; + document.body.scrollTop = offset * -1; + } +}; + +var isIE11 = function isIE11() { + return !!window.MSInputMethodContext && !!document.documentMode; +}; // Fix IE11 centering sweetalert2/issues/933 + +/* istanbul ignore next */ + + +var fixVerticalPositionIE = function fixVerticalPositionIE() { + var container = getContainer(); + var popup = getPopup(); + container.style.removeProperty('align-items'); + + if (popup.offsetTop < 0) { + container.style.alignItems = 'flex-start'; + } +}; +/* istanbul ignore next */ + + +var IEfix = function IEfix() { + if (typeof window !== 'undefined' && isIE11()) { + fixVerticalPositionIE(); + window.addEventListener('resize', fixVerticalPositionIE); + } +}; +/* istanbul ignore next */ + +var undoIEfix = function undoIEfix() { + if (typeof window !== 'undefined' && isIE11()) { + window.removeEventListener('resize', fixVerticalPositionIE); + } +}; + +// Adding aria-hidden="true" to elements outside of the active modal dialog ensures that +// elements not within the active modal dialog will not be surfaced if a user opens a screen +// reader’s list of elements (headings, form controls, landmarks, etc.) in the document. + +var setAriaHidden = function setAriaHidden() { + var bodyChildren = toArray(document.body.children); + bodyChildren.forEach(function (el) { + if (el === getContainer() || contains(el, getContainer())) { + return; + } + + if (el.hasAttribute('aria-hidden')) { + el.setAttribute('data-previous-aria-hidden', el.getAttribute('aria-hidden')); + } + + el.setAttribute('aria-hidden', 'true'); + }); +}; +var unsetAriaHidden = function unsetAriaHidden() { + var bodyChildren = toArray(document.body.children); + bodyChildren.forEach(function (el) { + if (el.hasAttribute('data-previous-aria-hidden')) { + el.setAttribute('aria-hidden', el.getAttribute('data-previous-aria-hidden')); + el.removeAttribute('data-previous-aria-hidden'); + } else { + el.removeAttribute('aria-hidden'); + } + }); +}; + +var RESTORE_FOCUS_TIMEOUT = 100; + +var globalState = {}; +var restoreActiveElement = function restoreActiveElement() { + return new Promise(function (resolve) { + var x = window.scrollX; + var y = window.scrollY; + globalState.restoreFocusTimeout = setTimeout(function () { + if (globalState.previousActiveElement && globalState.previousActiveElement.focus) { + globalState.previousActiveElement.focus(); + globalState.previousActiveElement = null; + } else if (document.body) { + document.body.focus(); + } + + resolve(); + }, RESTORE_FOCUS_TIMEOUT); // issues/900 + + if (typeof x !== 'undefined' && typeof y !== 'undefined') { + // IE doesn't have scrollX/scrollY support + window.scrollTo(x, y); + } + }); +}; + +/* + * Global function to close sweetAlert + */ + +var close = function close(onClose, onAfterClose) { + var container = getContainer(); + var popup = getPopup(); + + if (!popup) { + return; + } + + if (onClose !== null && typeof onClose === 'function') { + onClose(popup); + } + + removeClass(popup, swalClasses.show); + addClass(popup, swalClasses.hide); + + var removePopupAndResetState = function removePopupAndResetState() { + if (!isToast()) { + restoreActiveElement().then(function () { + return triggerOnAfterClose(onAfterClose); + }); + globalState.keydownTarget.removeEventListener('keydown', globalState.keydownHandler, { + capture: globalState.keydownListenerCapture + }); + globalState.keydownHandlerAdded = false; + } else { + triggerOnAfterClose(onAfterClose); + } + + if (container.parentNode) { + container.parentNode.removeChild(container); + } + + removeClass([document.documentElement, document.body], [swalClasses.shown, swalClasses['height-auto'], swalClasses['no-backdrop'], swalClasses['toast-shown'], swalClasses['toast-column']]); + + if (isModal()) { + undoScrollbar(); + undoIOSfix(); + undoIEfix(); + unsetAriaHidden(); + } + }; // If animation is supported, animate + + + if (animationEndEvent && !hasClass(popup, swalClasses.noanimation)) { + popup.addEventListener(animationEndEvent, function swalCloseEventFinished() { + popup.removeEventListener(animationEndEvent, swalCloseEventFinished); + + if (hasClass(popup, swalClasses.hide)) { + removePopupAndResetState(); + } + }); + } else { + // Otherwise, remove immediately + removePopupAndResetState(); + } +}; + +var triggerOnAfterClose = function triggerOnAfterClose(onAfterClose) { + if (onAfterClose !== null && typeof onAfterClose === 'function') { + setTimeout(function () { + onAfterClose(); + }); + } +}; + +/* + * Global function to determine if swal2 popup is shown + */ + +var isVisible$1 = function isVisible() { + return !!getPopup(); +}; +/* + * Global function to click 'Confirm' button + */ + +var clickConfirm = function clickConfirm() { + return getConfirmButton().click(); +}; +/* + * Global function to click 'Cancel' button + */ + +var clickCancel = function clickCancel() { + return getCancelButton().click(); +}; + +function fire() { + var Swal = this; + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return _construct(Swal, args); +} + +/** + * Extends a Swal class making it able to be instantiated without the `new` keyword (and thus without `Swal.fire`) + * @param ParentSwal + * @returns {NoNewKeywordSwal} + */ +function withNoNewKeyword(ParentSwal) { + var NoNewKeywordSwal = function NoNewKeywordSwal() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + if (!(this instanceof NoNewKeywordSwal)) { + return _construct(NoNewKeywordSwal, args); + } + + Object.getPrototypeOf(NoNewKeywordSwal).apply(this, args); + }; + + NoNewKeywordSwal.prototype = _extends(Object.create(ParentSwal.prototype), { + constructor: NoNewKeywordSwal + }); + + if (typeof Object.setPrototypeOf === 'function') { + Object.setPrototypeOf(NoNewKeywordSwal, ParentSwal); + } else { + // Android 4.4 + + /* istanbul ignore next */ + // eslint-disable-next-line + NoNewKeywordSwal.__proto__ = ParentSwal; + } + + return NoNewKeywordSwal; +} + +var defaultParams = { + title: '', + titleText: '', + text: '', + html: '', + footer: '', + type: null, + toast: false, + customClass: '', + customContainerClass: '', + target: 'body', + backdrop: true, + animation: true, + heightAuto: true, + allowOutsideClick: true, + allowEscapeKey: true, + allowEnterKey: true, + stopKeydownPropagation: true, + keydownListenerCapture: false, + showConfirmButton: true, + showCancelButton: false, + preConfirm: null, + confirmButtonText: 'OK', + confirmButtonAriaLabel: '', + confirmButtonColor: null, + confirmButtonClass: null, + cancelButtonText: 'Cancel', + cancelButtonAriaLabel: '', + cancelButtonColor: null, + cancelButtonClass: null, + buttonsStyling: true, + reverseButtons: false, + focusConfirm: true, + focusCancel: false, + showCloseButton: false, + closeButtonAriaLabel: 'Close this dialog', + showLoaderOnConfirm: false, + imageUrl: null, + imageWidth: null, + imageHeight: null, + imageAlt: '', + imageClass: null, + timer: null, + width: null, + padding: null, + background: null, + input: null, + inputPlaceholder: '', + inputValue: '', + inputOptions: {}, + inputAutoTrim: true, + inputClass: null, + inputAttributes: {}, + inputValidator: null, + validationMessage: null, + grow: false, + position: 'center', + progressSteps: [], + currentProgressStep: null, + progressStepsDistance: null, + onBeforeOpen: null, + onAfterClose: null, + onOpen: null, + onClose: null, + useRejections: false, + expectRejections: false +}; +var deprecatedParams = ['useRejections', 'expectRejections', 'extraParams']; +var toastIncompatibleParams = ['allowOutsideClick', 'allowEnterKey', 'backdrop', 'focusConfirm', 'focusCancel', 'heightAuto', 'keydownListenerCapture']; +/** + * Is valid parameter + * @param {String} paramName + */ + +var isValidParameter = function isValidParameter(paramName) { + return defaultParams.hasOwnProperty(paramName) || paramName === 'extraParams'; +}; +/** + * Is deprecated parameter + * @param {String} paramName + */ + +var isDeprecatedParameter = function isDeprecatedParameter(paramName) { + return deprecatedParams.indexOf(paramName) !== -1; +}; +/** + * Show relevant warnings for given params + * + * @param params + */ + +var showWarningsForParams = function showWarningsForParams(params) { + for (var param in params) { + if (!isValidParameter(param)) { + warn("Unknown parameter \"".concat(param, "\"")); + } + + if (params.toast && toastIncompatibleParams.indexOf(param) !== -1) { + warn("The parameter \"".concat(param, "\" is incompatible with toasts")); + } + + if (isDeprecatedParameter(param)) { + warnOnce("The parameter \"".concat(param, "\" is deprecated and will be removed in the next major release.")); + } + } +}; + +var deprecationWarning = "\"setDefaults\" & \"resetDefaults\" methods are deprecated in favor of \"mixin\" method and will be removed in the next major release. For new projects, use \"mixin\". For past projects already using \"setDefaults\", support will be provided through an additional package."; +var defaults = {}; +function withGlobalDefaults(ParentSwal) { + var SwalWithGlobalDefaults = + /*#__PURE__*/ + function (_ParentSwal) { + _inherits(SwalWithGlobalDefaults, _ParentSwal); + + function SwalWithGlobalDefaults() { + _classCallCheck(this, SwalWithGlobalDefaults); + + return _possibleConstructorReturn(this, _getPrototypeOf(SwalWithGlobalDefaults).apply(this, arguments)); + } + + _createClass(SwalWithGlobalDefaults, [{ + key: "_main", + value: function _main(params) { + return _get(_getPrototypeOf(SwalWithGlobalDefaults.prototype), "_main", this).call(this, _extends({}, defaults, params)); + } + }], [{ + key: "setDefaults", + value: function setDefaults(params) { + warnOnce(deprecationWarning); + + if (!params || _typeof(params) !== 'object') { + throw new TypeError('SweetAlert2: The argument for setDefaults() is required and has to be a object'); + } + + showWarningsForParams(params); // assign valid params from `params` to `defaults` + + Object.keys(params).forEach(function (param) { + if (ParentSwal.isValidParameter(param)) { + defaults[param] = params[param]; + } + }); + } + }, { + key: "resetDefaults", + value: function resetDefaults() { + warnOnce(deprecationWarning); + defaults = {}; + } + }]); + + return SwalWithGlobalDefaults; + }(ParentSwal); // Set default params if `window._swalDefaults` is an object + + + if (typeof window !== 'undefined' && _typeof(window._swalDefaults) === 'object') { + SwalWithGlobalDefaults.setDefaults(window._swalDefaults); + } + + return SwalWithGlobalDefaults; +} + +/** + * Returns an extended version of `Swal` containing `params` as defaults. + * Useful for reusing Swal configuration. + * + * For example: + * + * Before: + * const textPromptOptions = { input: 'text', showCancelButton: true } + * const {value: firstName} = await Swal({ ...textPromptOptions, title: 'What is your first name?' }) + * const {value: lastName} = await Swal({ ...textPromptOptions, title: 'What is your last name?' }) + * + * After: + * const TextPrompt = Swal.mixin({ input: 'text', showCancelButton: true }) + * const {value: firstName} = await TextPrompt('What is your first name?') + * const {value: lastName} = await TextPrompt('What is your last name?') + * + * @param mixinParams + */ + +function mixin(mixinParams) { + return withNoNewKeyword( + /*#__PURE__*/ + function (_this) { + _inherits(MixinSwal, _this); + + function MixinSwal() { + _classCallCheck(this, MixinSwal); + + return _possibleConstructorReturn(this, _getPrototypeOf(MixinSwal).apply(this, arguments)); + } + + _createClass(MixinSwal, [{ + key: "_main", + value: function _main(params) { + return _get(_getPrototypeOf(MixinSwal.prototype), "_main", this).call(this, _extends({}, mixinParams, params)); + } + }]); + + return MixinSwal; + }(this)); +} + +// private global state for the queue feature +var currentSteps = []; +/* + * Global function for chaining sweetAlert popups + */ + +var queue = function queue(steps) { + var swal = this; + currentSteps = steps; + + var resetQueue = function resetQueue() { + currentSteps = []; + document.body.removeAttribute('data-swal2-queue-step'); + }; + + var queueResult = []; + return new Promise(function (resolve) { + (function step(i, callback) { + if (i < currentSteps.length) { + document.body.setAttribute('data-swal2-queue-step', i); + swal(currentSteps[i]).then(function (result) { + if (typeof result.value !== 'undefined') { + queueResult.push(result.value); + step(i + 1, callback); + } else { + resetQueue(); + resolve({ + dismiss: result.dismiss + }); + } + }); + } else { + resetQueue(); + resolve({ + value: queueResult + }); + } + })(0); + }); +}; +/* + * Global function for getting the index of current popup in queue + */ + +var getQueueStep = function getQueueStep() { + return document.body.getAttribute('data-swal2-queue-step'); +}; +/* + * Global function for inserting a popup to the queue + */ + +var insertQueueStep = function insertQueueStep(step, index) { + if (index && index < currentSteps.length) { + return currentSteps.splice(index, 0, step); + } + + return currentSteps.push(step); +}; +/* + * Global function for deleting a popup from the queue + */ + +var deleteQueueStep = function deleteQueueStep(index) { + if (typeof currentSteps[index] !== 'undefined') { + currentSteps.splice(index, 1); + } +}; + +/** + * Show spinner instead of Confirm button and disable Cancel button + */ + +var showLoading = function showLoading() { + var popup = getPopup(); + + if (!popup) { + Swal(''); + } + + popup = getPopup(); + var actions = getActions(); + var confirmButton = getConfirmButton(); + var cancelButton = getCancelButton(); + show(actions); + show(confirmButton); + addClass([popup, actions], swalClasses.loading); + confirmButton.disabled = true; + cancelButton.disabled = true; + popup.setAttribute('data-loading', true); + popup.setAttribute('aria-busy', true); + popup.focus(); +}; + +/** + * If `timer` parameter is set, returns number of milliseconds of timer remained. + * Otherwise, returns undefined. + */ + +var getTimerLeft = function getTimerLeft() { + return globalState.timeout && globalState.timeout.getTimerLeft(); +}; +/** + * Stop timer. Returns number of milliseconds of timer remained. + * If `timer` parameter isn't set, returns undefined. + */ + +var stopTimer = function stopTimer() { + return globalState.timeout && globalState.timeout.stop(); +}; +/** + * Resume timer. Returns number of milliseconds of timer remained. + * If `timer` parameter isn't set, returns undefined. + */ + +var resumeTimer = function resumeTimer() { + return globalState.timeout && globalState.timeout.start(); +}; +/** + * Resume timer. Returns number of milliseconds of timer remained. + * If `timer` parameter isn't set, returns undefined. + */ + +var toggleTimer = function toggleTimer() { + var timer = globalState.timeout; + return timer && (timer.running ? timer.stop() : timer.start()); +}; +/** + * Increase timer. Returns number of milliseconds of an updated timer. + * If `timer` parameter isn't set, returns undefined. + */ + +var increaseTimer = function increaseTimer(n) { + return globalState.timeout && globalState.timeout.increase(n); +}; +/** + * Check if timer is running. Returns true if timer is running + * or false if timer is paused or stopped. + * If `timer` parameter isn't set, returns undefined + */ + +var isTimerRunning = function isTimerRunning() { + return globalState.timeout && globalState.timeout.isRunning(); +}; + + + +var staticMethods = Object.freeze({ + isValidParameter: isValidParameter, + isDeprecatedParameter: isDeprecatedParameter, + argsToParams: argsToParams, + adaptInputValidator: adaptInputValidator, + close: close, + closePopup: close, + closeModal: close, + closeToast: close, + isVisible: isVisible$1, + clickConfirm: clickConfirm, + clickCancel: clickCancel, + getContainer: getContainer, + getPopup: getPopup, + getTitle: getTitle, + getContent: getContent, + getImage: getImage, + getIcons: getIcons, + getCloseButton: getCloseButton, + getButtonsWrapper: getButtonsWrapper, + getActions: getActions, + getConfirmButton: getConfirmButton, + getCancelButton: getCancelButton, + getFooter: getFooter, + getFocusableElements: getFocusableElements, + getValidationMessage: getValidationMessage, + isLoading: isLoading, + fire: fire, + mixin: mixin, + queue: queue, + getQueueStep: getQueueStep, + insertQueueStep: insertQueueStep, + deleteQueueStep: deleteQueueStep, + showLoading: showLoading, + enableLoading: showLoading, + getTimerLeft: getTimerLeft, + stopTimer: stopTimer, + resumeTimer: resumeTimer, + toggleTimer: toggleTimer, + increaseTimer: increaseTimer, + isTimerRunning: isTimerRunning +}); + +// https://github.com/Riim/symbol-polyfill/blob/master/index.js + +/* istanbul ignore next */ +var _Symbol = typeof Symbol === 'function' ? Symbol : function () { + var idCounter = 0; + + function _Symbol(key) { + return '__' + key + '_' + Math.floor(Math.random() * 1e9) + '_' + ++idCounter + '__'; + } + + _Symbol.iterator = _Symbol('Symbol.iterator'); + return _Symbol; +}(); + +// WeakMap polyfill, needed for Android 4.4 +// Related issue: https://github.com/sweetalert2/sweetalert2/issues/1071 +// http://webreflection.blogspot.fi/2015/04/a-weakmap-polyfill-in-20-lines-of-code.html +/* istanbul ignore next */ + +var WeakMap$1 = typeof WeakMap === 'function' ? WeakMap : function (s, dP, hOP) { + function WeakMap() { + dP(this, s, { + value: _Symbol('WeakMap') + }); + } + + WeakMap.prototype = { + 'delete': function del(o) { + delete o[this[s]]; + }, + get: function get(o) { + return o[this[s]]; + }, + has: function has(o) { + return hOP.call(o, this[s]); + }, + set: function set(o, v) { + dP(o, this[s], { + configurable: true, + value: v + }); + } + }; + return WeakMap; +}(_Symbol('WeakMap'), Object.defineProperty, {}.hasOwnProperty); + +/** + * This module containts `WeakMap`s for each effectively-"private property" that a `swal` has. + * For example, to set the private property "foo" of `this` to "bar", you can `privateProps.foo.set(this, 'bar')` + * This is the approach that Babel will probably take to implement private methods/fields + * https://github.com/tc39/proposal-private-methods + * https://github.com/babel/babel/pull/7555 + * Once we have the changes from that PR in Babel, and our core class fits reasonable in *one module* + * then we can use that language feature. + */ +var privateProps = { + promise: new WeakMap$1(), + innerParams: new WeakMap$1(), + domCache: new WeakMap$1() +}; + +/** + * Enables buttons and hide loader. + */ + +function hideLoading() { + var innerParams = privateProps.innerParams.get(this); + var domCache = privateProps.domCache.get(this); + + if (!innerParams.showConfirmButton) { + hide(domCache.confirmButton); + + if (!innerParams.showCancelButton) { + hide(domCache.actions); + } + } + + removeClass([domCache.popup, domCache.actions], swalClasses.loading); + domCache.popup.removeAttribute('aria-busy'); + domCache.popup.removeAttribute('data-loading'); + domCache.confirmButton.disabled = false; + domCache.cancelButton.disabled = false; +} + +function getInput(inputType) { + var innerParams = privateProps.innerParams.get(this); + var domCache = privateProps.domCache.get(this); + inputType = inputType || innerParams.input; + + if (!inputType) { + return null; + } + + switch (inputType) { + case 'select': + case 'textarea': + case 'file': + return getChildByClass(domCache.content, swalClasses[inputType]); + + case 'checkbox': + return domCache.popup.querySelector(".".concat(swalClasses.checkbox, " input")); + + case 'radio': + return domCache.popup.querySelector(".".concat(swalClasses.radio, " input:checked")) || domCache.popup.querySelector(".".concat(swalClasses.radio, " input:first-child")); + + case 'range': + return domCache.popup.querySelector(".".concat(swalClasses.range, " input")); + + default: + return getChildByClass(domCache.content, swalClasses.input); + } +} + +function enableButtons() { + var domCache = privateProps.domCache.get(this); + domCache.confirmButton.disabled = false; + domCache.cancelButton.disabled = false; +} +function disableButtons() { + var domCache = privateProps.domCache.get(this); + domCache.confirmButton.disabled = true; + domCache.cancelButton.disabled = true; +} +function enableConfirmButton() { + var domCache = privateProps.domCache.get(this); + domCache.confirmButton.disabled = false; +} +function disableConfirmButton() { + var domCache = privateProps.domCache.get(this); + domCache.confirmButton.disabled = true; +} +function enableInput() { + var input = this.getInput(); + + if (!input) { + return false; + } + + if (input.type === 'radio') { + var radiosContainer = input.parentNode.parentNode; + var radios = radiosContainer.querySelectorAll('input'); + + for (var i = 0; i < radios.length; i++) { + radios[i].disabled = false; + } + } else { + input.disabled = false; + } +} +function disableInput() { + var input = this.getInput(); + + if (!input) { + return false; + } + + if (input && input.type === 'radio') { + var radiosContainer = input.parentNode.parentNode; + var radios = radiosContainer.querySelectorAll('input'); + + for (var i = 0; i < radios.length; i++) { + radios[i].disabled = true; + } + } else { + input.disabled = true; + } +} + +function showValidationMessage(error$$1) { + var domCache = privateProps.domCache.get(this); + domCache.validationMessage.innerHTML = error$$1; + var popupComputedStyle = window.getComputedStyle(domCache.popup); + domCache.validationMessage.style.marginLeft = "-".concat(popupComputedStyle.getPropertyValue('padding-left')); + domCache.validationMessage.style.marginRight = "-".concat(popupComputedStyle.getPropertyValue('padding-right')); + show(domCache.validationMessage); + var input = this.getInput(); + + if (input) { + input.setAttribute('aria-invalid', true); + input.setAttribute('aria-describedBy', swalClasses['validation-message']); + focusInput(input); + addClass(input, swalClasses.inputerror); + } +} // Hide block with validation message + +function resetValidationMessage() { + var domCache = privateProps.domCache.get(this); + + if (domCache.validationMessage) { + hide(domCache.validationMessage); + } + + var input = this.getInput(); + + if (input) { + input.removeAttribute('aria-invalid'); + input.removeAttribute('aria-describedBy'); + removeClass(input, swalClasses.inputerror); + } +} // @deprecated + +/* istanbul ignore next */ + +function resetValidationError() { + warnOnce("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"); + resetValidationMessage.bind(this)(); +} // @deprecated + +/* istanbul ignore next */ + +function showValidationError(error$$1) { + warnOnce("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"); + showValidationMessage.bind(this)(error$$1); +} + +function getProgressSteps$1() { + var innerParams = privateProps.innerParams.get(this); + return innerParams.progressSteps; +} +function setProgressSteps(progressSteps) { + var innerParams = privateProps.innerParams.get(this); + + var updatedParams = _extends({}, innerParams, { + progressSteps: progressSteps + }); + + privateProps.innerParams.set(this, updatedParams); + renderProgressSteps(updatedParams); +} +function showProgressSteps() { + var domCache = privateProps.domCache.get(this); + show(domCache.progressSteps); +} +function hideProgressSteps() { + var domCache = privateProps.domCache.get(this); + hide(domCache.progressSteps); +} + +var Timer = function Timer(callback, delay) { + _classCallCheck(this, Timer); + + var id, + started, + remaining = delay; + this.running = false; + + this.start = function () { + if (!this.running) { + this.running = true; + started = new Date(); + id = setTimeout(callback, remaining); + } + + return remaining; + }; + + this.stop = function () { + if (this.running) { + this.running = false; + clearTimeout(id); + remaining -= new Date() - started; + } + + return remaining; + }; + + this.increase = function (n) { + var running = this.running; + + if (running) { + this.stop(); + } + + remaining += n; + + if (running) { + this.start(); + } + + return remaining; + }; + + this.getTimerLeft = function () { + if (this.running) { + this.stop(); + this.start(); + } + + return remaining; + }; + + this.isRunning = function () { + return this.running; + }; + + this.start(); +}; + +var defaultInputValidators = { + email: function email(string, extraParams) { + return /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(string) ? Promise.resolve() : Promise.reject(extraParams && extraParams.validationMessage ? extraParams.validationMessage : 'Invalid email address'); + }, + url: function url(string, extraParams) { + // taken from https://stackoverflow.com/a/3809435 with a small change from #1306 + return /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(string) ? Promise.resolve() : Promise.reject(extraParams && extraParams.validationMessage ? extraParams.validationMessage : 'Invalid URL'); + } +}; + +/** + * Set type, text and actions on popup + * + * @param params + * @returns {boolean} + */ + +function setParameters(params) { + // Use default `inputValidator` for supported input types if not provided + if (!params.inputValidator) { + Object.keys(defaultInputValidators).forEach(function (key) { + if (params.input === key) { + params.inputValidator = params.expectRejections ? defaultInputValidators[key] : Swal.adaptInputValidator(defaultInputValidators[key]); + } + }); + } // params.extraParams is @deprecated + + + if (params.validationMessage) { + if (_typeof(params.extraParams) !== 'object') { + params.extraParams = {}; + } + + params.extraParams.validationMessage = params.validationMessage; + } // Determine if the custom target element is valid + + + if (!params.target || typeof params.target === 'string' && !document.querySelector(params.target) || typeof params.target !== 'string' && !params.target.appendChild) { + warn('Target parameter is not valid, defaulting to "body"'); + params.target = 'body'; + } // Animation + + + if (typeof params.animation === 'function') { + params.animation = params.animation.call(); + } + + var popup; + var oldPopup = getPopup(); + var targetElement = typeof params.target === 'string' ? document.querySelector(params.target) : params.target; // If the model target has changed, refresh the popup + + if (oldPopup && targetElement && oldPopup.parentNode !== targetElement.parentNode) { + popup = init(params); + } else { + popup = oldPopup || init(params); + } // Set popup width + + + if (params.width) { + popup.style.width = typeof params.width === 'number' ? params.width + 'px' : params.width; + } // Set popup padding + + + if (params.padding) { + popup.style.padding = typeof params.padding === 'number' ? params.padding + 'px' : params.padding; + } // Set popup background + + + if (params.background) { + popup.style.background = params.background; + } + + var popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); + var successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); + + for (var i = 0; i < successIconParts.length; i++) { + successIconParts[i].style.backgroundColor = popupBackgroundColor; + } + + var container = getContainer(); + var closeButton = getCloseButton(); + var footer = getFooter(); // Title + + renderTitle(params); // Content + + renderContent(params); // Backdrop + + if (typeof params.backdrop === 'string') { + getContainer().style.background = params.backdrop; + } else if (!params.backdrop) { + addClass([document.documentElement, document.body], swalClasses['no-backdrop']); + } + + if (!params.backdrop && params.allowOutsideClick) { + warn('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'); + } // Position + + + if (params.position in swalClasses) { + addClass(container, swalClasses[params.position]); + } else { + warn('The "position" parameter is not valid, defaulting to "center"'); + addClass(container, swalClasses.center); + } // Grow + + + if (params.grow && typeof params.grow === 'string') { + var growClass = 'grow-' + params.grow; + + if (growClass in swalClasses) { + addClass(container, swalClasses[growClass]); + } + } // Close button + + + if (params.showCloseButton) { + closeButton.setAttribute('aria-label', params.closeButtonAriaLabel); + show(closeButton); + } else { + hide(closeButton); + } // Default Class + + + popup.className = swalClasses.popup; + + if (params.toast) { + addClass([document.documentElement, document.body], swalClasses['toast-shown']); + addClass(popup, swalClasses.toast); + } else { + addClass(popup, swalClasses.modal); + } // Custom Class + + + if (params.customClass) { + addClass(popup, params.customClass); + } + + if (params.customContainerClass) { + addClass(container, params.customContainerClass); + } // Progress steps + + + renderProgressSteps(params); // Icon + + renderIcon(params); // Image + + renderImage(params); // Actions (buttons) + + renderActions(params); // Footer + + parseHtmlToContainer(params.footer, footer); // CSS animation + + if (params.animation === true) { + removeClass(popup, swalClasses.noanimation); + } else { + addClass(popup, swalClasses.noanimation); + } // showLoaderOnConfirm && preConfirm + + + if (params.showLoaderOnConfirm && !params.preConfirm) { + warn('showLoaderOnConfirm is set to true, but preConfirm is not defined.\n' + 'showLoaderOnConfirm should be used together with preConfirm, see usage example:\n' + 'https://sweetalert2.github.io/#ajax-request'); + } +} + +/** + * Open popup, add necessary classes and styles, fix scrollbar + * + * @param {Array} params + */ + +var openPopup = function openPopup(params) { + var container = getContainer(); + var popup = getPopup(); + + if (params.onBeforeOpen !== null && typeof params.onBeforeOpen === 'function') { + params.onBeforeOpen(popup); + } + + if (params.animation) { + addClass(popup, swalClasses.show); + addClass(container, swalClasses.fade); + removeClass(popup, swalClasses.hide); + } else { + removeClass(popup, swalClasses.fade); + } + + show(popup); // scrolling is 'hidden' until animation is done, after that 'auto' + + container.style.overflowY = 'hidden'; + + if (animationEndEvent && !hasClass(popup, swalClasses.noanimation)) { + popup.addEventListener(animationEndEvent, function swalCloseEventFinished() { + popup.removeEventListener(animationEndEvent, swalCloseEventFinished); + container.style.overflowY = 'auto'; + }); + } else { + container.style.overflowY = 'auto'; + } + + addClass([document.documentElement, document.body, container], swalClasses.shown); + + if (params.heightAuto && params.backdrop && !params.toast) { + addClass([document.documentElement, document.body], swalClasses['height-auto']); + } + + if (isModal()) { + fixScrollbar(); + iOSfix(); + IEfix(); + setAriaHidden(); // sweetalert2/issues/1247 + + setTimeout(function () { + container.scrollTop = 0; + }); + } + + if (!isToast() && !globalState.previousActiveElement) { + globalState.previousActiveElement = document.activeElement; + } + + if (params.onOpen !== null && typeof params.onOpen === 'function') { + setTimeout(function () { + params.onOpen(popup); + }); + } +}; + +function _main(userParams) { + var _this = this; + + showWarningsForParams(userParams); + + var innerParams = _extends({}, defaultParams, userParams); + + setParameters(innerParams); + Object.freeze(innerParams); + privateProps.innerParams.set(this, innerParams); // clear the previous timer + + if (globalState.timeout) { + globalState.timeout.stop(); + delete globalState.timeout; + } // clear the restore focus timeout + + + clearTimeout(globalState.restoreFocusTimeout); + var domCache = { + popup: getPopup(), + container: getContainer(), + content: getContent(), + actions: getActions(), + confirmButton: getConfirmButton(), + cancelButton: getCancelButton(), + closeButton: getCloseButton(), + validationMessage: getValidationMessage(), + progressSteps: getProgressSteps() + }; + privateProps.domCache.set(this, domCache); + var constructor = this.constructor; + return new Promise(function (resolve, reject) { + // functions to handle all resolving/rejecting/settling + var succeedWith = function succeedWith(value) { + constructor.closePopup(innerParams.onClose, innerParams.onAfterClose); // TODO: make closePopup an *instance* method + + if (innerParams.useRejections) { + resolve(value); + } else { + resolve({ + value: value + }); + } + }; + + var dismissWith = function dismissWith(dismiss) { + constructor.closePopup(innerParams.onClose, innerParams.onAfterClose); + + if (innerParams.useRejections) { + reject(dismiss); + } else { + resolve({ + dismiss: dismiss + }); + } + }; + + var errorWith = function errorWith(error$$1) { + constructor.closePopup(innerParams.onClose, innerParams.onAfterClose); + reject(error$$1); + }; // Close on timer + + + if (innerParams.timer) { + globalState.timeout = new Timer(function () { + dismissWith('timer'); + delete globalState.timeout; + }, innerParams.timer); + } // Get the value of the popup input + + + var getInputValue = function getInputValue() { + var input = _this.getInput(); + + if (!input) { + return null; + } + + switch (innerParams.input) { + case 'checkbox': + return input.checked ? 1 : 0; + + case 'radio': + return input.checked ? input.value : null; + + case 'file': + return input.files.length ? input.files[0] : null; + + default: + return innerParams.inputAutoTrim ? input.value.trim() : input.value; + } + }; // input autofocus + + + if (innerParams.input) { + setTimeout(function () { + var input = _this.getInput(); + + if (input) { + focusInput(input); + } + }, 0); + } + + var confirm = function confirm(value) { + if (innerParams.showLoaderOnConfirm) { + constructor.showLoading(); // TODO: make showLoading an *instance* method + } + + if (innerParams.preConfirm) { + _this.resetValidationMessage(); + + var preConfirmPromise = Promise.resolve().then(function () { + return innerParams.preConfirm(value, innerParams.extraParams); + }); + + if (innerParams.expectRejections) { + preConfirmPromise.then(function (preConfirmValue) { + return succeedWith(preConfirmValue || value); + }, function (validationMessage) { + _this.hideLoading(); + + if (validationMessage) { + _this.showValidationMessage(validationMessage); + } + }); + } else { + preConfirmPromise.then(function (preConfirmValue) { + if (isVisible(domCache.validationMessage) || preConfirmValue === false) { + _this.hideLoading(); + } else { + succeedWith(preConfirmValue || value); + } + }, function (error$$1) { + return errorWith(error$$1); + }); + } + } else { + succeedWith(value); + } + }; // Mouse interactions + + + var onButtonEvent = function onButtonEvent(e) { + var target = e.target; + var confirmButton = domCache.confirmButton, + cancelButton = domCache.cancelButton; + var targetedConfirm = confirmButton && (confirmButton === target || confirmButton.contains(target)); + var targetedCancel = cancelButton && (cancelButton === target || cancelButton.contains(target)); + + switch (e.type) { + case 'click': + // Clicked 'confirm' + if (targetedConfirm && constructor.isVisible()) { + _this.disableButtons(); + + if (innerParams.input) { + var inputValue = getInputValue(); + + if (innerParams.inputValidator) { + _this.disableInput(); + + var validationPromise = Promise.resolve().then(function () { + return innerParams.inputValidator(inputValue, innerParams.extraParams); + }); + + if (innerParams.expectRejections) { + validationPromise.then(function () { + _this.enableButtons(); + + _this.enableInput(); + + confirm(inputValue); + }, function (validationMessage) { + _this.enableButtons(); + + _this.enableInput(); + + if (validationMessage) { + _this.showValidationMessage(validationMessage); + } + }); + } else { + validationPromise.then(function (validationMessage) { + _this.enableButtons(); + + _this.enableInput(); + + if (validationMessage) { + _this.showValidationMessage(validationMessage); + } else { + confirm(inputValue); + } + }, function (error$$1) { + return errorWith(error$$1); + }); + } + } else if (!_this.getInput().checkValidity()) { + _this.enableButtons(); + + _this.showValidationMessage(innerParams.validationMessage); + } else { + confirm(inputValue); + } + } else { + confirm(true); + } // Clicked 'cancel' + + } else if (targetedCancel && constructor.isVisible()) { + _this.disableButtons(); + + dismissWith(constructor.DismissReason.cancel); + } + + break; + + default: + } + }; + + var buttons = domCache.popup.querySelectorAll('button'); + + for (var i = 0; i < buttons.length; i++) { + buttons[i].onclick = onButtonEvent; + buttons[i].onmouseover = onButtonEvent; + buttons[i].onmouseout = onButtonEvent; + buttons[i].onmousedown = onButtonEvent; + } // Closing popup by close button + + + domCache.closeButton.onclick = function () { + dismissWith(constructor.DismissReason.close); + }; + + if (innerParams.toast) { + // Closing popup by internal click + domCache.popup.onclick = function () { + if (innerParams.showConfirmButton || innerParams.showCancelButton || innerParams.showCloseButton || innerParams.input) { + return; + } + + dismissWith(constructor.DismissReason.close); + }; + } else { + var ignoreOutsideClick = false; // Ignore click events that had mousedown on the popup but mouseup on the container + // This can happen when the user drags a slider + + domCache.popup.onmousedown = function () { + domCache.container.onmouseup = function (e) { + domCache.container.onmouseup = undefined; // We only check if the mouseup target is the container because usually it doesn't + // have any other direct children aside of the popup + + if (e.target === domCache.container) { + ignoreOutsideClick = true; + } + }; + }; // Ignore click events that had mousedown on the container but mouseup on the popup + + + domCache.container.onmousedown = function () { + domCache.popup.onmouseup = function (e) { + domCache.popup.onmouseup = undefined; // We also need to check if the mouseup target is a child of the popup + + if (e.target === domCache.popup || domCache.popup.contains(e.target)) { + ignoreOutsideClick = true; + } + }; + }; + + domCache.container.onclick = function (e) { + if (ignoreOutsideClick) { + ignoreOutsideClick = false; + return; + } + + if (e.target !== domCache.container) { + return; + } + + if (callIfFunction(innerParams.allowOutsideClick)) { + dismissWith(constructor.DismissReason.backdrop); + } + }; + } // Reverse buttons (Confirm on the right side) + + + if (innerParams.reverseButtons) { + domCache.confirmButton.parentNode.insertBefore(domCache.cancelButton, domCache.confirmButton); + } else { + domCache.confirmButton.parentNode.insertBefore(domCache.confirmButton, domCache.cancelButton); + } // Focus handling + + + var setFocus = function setFocus(index, increment) { + var focusableElements = getFocusableElements(innerParams.focusCancel); // search for visible elements and select the next possible match + + for (var _i = 0; _i < focusableElements.length; _i++) { + index = index + increment; // rollover to first item + + if (index === focusableElements.length) { + index = 0; // go to last item + } else if (index === -1) { + index = focusableElements.length - 1; + } + + return focusableElements[index].focus(); + } // no visible focusable elements, focus the popup + + + domCache.popup.focus(); + }; + + var keydownHandler = function keydownHandler(e, innerParams) { + if (innerParams.stopKeydownPropagation) { + e.stopPropagation(); + } + + var arrowKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Left', 'Right', 'Up', 'Down' // IE11 + ]; + + if (e.key === 'Enter' && !e.isComposing) { + if (e.target && _this.getInput() && e.target.outerHTML === _this.getInput().outerHTML) { + if (['textarea', 'file'].indexOf(innerParams.input) !== -1) { + return; // do not submit + } + + constructor.clickConfirm(); + e.preventDefault(); + } // TAB + + } else if (e.key === 'Tab') { + var targetElement = e.target; + var focusableElements = getFocusableElements(innerParams.focusCancel); + var btnIndex = -1; + + for (var _i2 = 0; _i2 < focusableElements.length; _i2++) { + if (targetElement === focusableElements[_i2]) { + btnIndex = _i2; + break; + } + } + + if (!e.shiftKey) { + // Cycle to the next button + setFocus(btnIndex, 1); + } else { + // Cycle to the prev button + setFocus(btnIndex, -1); + } + + e.stopPropagation(); + e.preventDefault(); // ARROWS - switch focus between buttons + } else if (arrowKeys.indexOf(e.key) !== -1) { + // focus Cancel button if Confirm button is currently focused + if (document.activeElement === domCache.confirmButton && isVisible(domCache.cancelButton)) { + domCache.cancelButton.focus(); // and vice versa + } else if (document.activeElement === domCache.cancelButton && isVisible(domCache.confirmButton)) { + domCache.confirmButton.focus(); + } // ESC + + } else if ((e.key === 'Escape' || e.key === 'Esc') && callIfFunction(innerParams.allowEscapeKey) === true) { + e.preventDefault(); + dismissWith(constructor.DismissReason.esc); + } + }; + + if (globalState.keydownHandlerAdded) { + globalState.keydownTarget.removeEventListener('keydown', globalState.keydownHandler, { + capture: globalState.keydownListenerCapture + }); + globalState.keydownHandlerAdded = false; + } + + if (!innerParams.toast) { + globalState.keydownHandler = function (e) { + return keydownHandler(e, innerParams); + }; + + globalState.keydownTarget = innerParams.keydownListenerCapture ? window : domCache.popup; + globalState.keydownListenerCapture = innerParams.keydownListenerCapture; + globalState.keydownTarget.addEventListener('keydown', globalState.keydownHandler, { + capture: globalState.keydownListenerCapture + }); + globalState.keydownHandlerAdded = true; + } + + _this.enableButtons(); + + _this.hideLoading(); + + _this.resetValidationMessage(); + + if (innerParams.toast && (innerParams.input || innerParams.footer || innerParams.showCloseButton)) { + addClass(document.body, swalClasses['toast-column']); + } else { + removeClass(document.body, swalClasses['toast-column']); + } // inputs + + + var inputTypes = ['input', 'file', 'range', 'select', 'radio', 'checkbox', 'textarea']; + + var setInputPlaceholder = function setInputPlaceholder(input) { + if (!input.placeholder || innerParams.inputPlaceholder) { + input.placeholder = innerParams.inputPlaceholder; + } + }; + + var input; + + for (var _i3 = 0; _i3 < inputTypes.length; _i3++) { + var inputClass = swalClasses[inputTypes[_i3]]; + var inputContainer = getChildByClass(domCache.content, inputClass); + input = _this.getInput(inputTypes[_i3]); // set attributes + + if (input) { + for (var j in input.attributes) { + if (input.attributes.hasOwnProperty(j)) { + var attrName = input.attributes[j].name; + + if (attrName !== 'type' && attrName !== 'value') { + input.removeAttribute(attrName); + } + } + } + + for (var attr in innerParams.inputAttributes) { + // Do not set a placeholder for + // it'll crash Edge, #1298 + if (inputTypes[_i3] === 'range' && attr === 'placeholder') { + continue; + } + + input.setAttribute(attr, innerParams.inputAttributes[attr]); + } + } // set class + + + inputContainer.className = inputClass; + + if (innerParams.inputClass) { + addClass(inputContainer, innerParams.inputClass); + } + + hide(inputContainer); + } + + var populateInputOptions; + + switch (innerParams.input) { + case 'text': + case 'email': + case 'password': + case 'number': + case 'tel': + case 'url': + { + input = getChildByClass(domCache.content, swalClasses.input); + + if (typeof innerParams.inputValue === 'string' || typeof innerParams.inputValue === 'number') { + input.value = innerParams.inputValue; + } else if (!isPromise(innerParams.inputValue)) { + warn("Unexpected type of inputValue! Expected \"string\", \"number\" or \"Promise\", got \"".concat(_typeof(innerParams.inputValue), "\"")); + } + + setInputPlaceholder(input); + input.type = innerParams.input; + show(input); + break; + } + + case 'file': + { + input = getChildByClass(domCache.content, swalClasses.file); + setInputPlaceholder(input); + input.type = innerParams.input; + show(input); + break; + } + + case 'range': + { + var range = getChildByClass(domCache.content, swalClasses.range); + var rangeInput = range.querySelector('input'); + var rangeOutput = range.querySelector('output'); + rangeInput.value = innerParams.inputValue; + rangeInput.type = innerParams.input; + rangeOutput.value = innerParams.inputValue; + show(range); + break; + } + + case 'select': + { + var select = getChildByClass(domCache.content, swalClasses.select); + select.innerHTML = ''; + + if (innerParams.inputPlaceholder) { + var placeholder = document.createElement('option'); + placeholder.innerHTML = innerParams.inputPlaceholder; + placeholder.value = ''; + placeholder.disabled = true; + placeholder.selected = true; + select.appendChild(placeholder); + } + + populateInputOptions = function populateInputOptions(inputOptions) { + inputOptions.forEach(function (inputOption) { + var optionValue = inputOption[0]; + var optionLabel = inputOption[1]; + var option = document.createElement('option'); + option.value = optionValue; + option.innerHTML = optionLabel; + + if (innerParams.inputValue.toString() === optionValue.toString()) { + option.selected = true; + } + + select.appendChild(option); + }); + show(select); + select.focus(); + }; + + break; + } + + case 'radio': + { + var radio = getChildByClass(domCache.content, swalClasses.radio); + radio.innerHTML = ''; + + populateInputOptions = function populateInputOptions(inputOptions) { + inputOptions.forEach(function (inputOption) { + var radioValue = inputOption[0]; + var radioLabel = inputOption[1]; + var radioInput = document.createElement('input'); + var radioLabelElement = document.createElement('label'); + radioInput.type = 'radio'; + radioInput.name = swalClasses.radio; + radioInput.value = radioValue; + + if (innerParams.inputValue.toString() === radioValue.toString()) { + radioInput.checked = true; + } + + var label = document.createElement('span'); + label.innerHTML = radioLabel; + label.className = swalClasses.label; + radioLabelElement.appendChild(radioInput); + radioLabelElement.appendChild(label); + radio.appendChild(radioLabelElement); + }); + show(radio); + var radios = radio.querySelectorAll('input'); + + if (radios.length) { + radios[0].focus(); + } + }; + + break; + } + + case 'checkbox': + { + var checkbox = getChildByClass(domCache.content, swalClasses.checkbox); + + var checkboxInput = _this.getInput('checkbox'); + + checkboxInput.type = 'checkbox'; + checkboxInput.value = 1; + checkboxInput.id = swalClasses.checkbox; + checkboxInput.checked = Boolean(innerParams.inputValue); + var label = checkbox.querySelector('span'); + label.innerHTML = innerParams.inputPlaceholder; + show(checkbox); + break; + } + + case 'textarea': + { + var textarea = getChildByClass(domCache.content, swalClasses.textarea); + textarea.value = innerParams.inputValue; + setInputPlaceholder(textarea); + show(textarea); + break; + } + + case null: + { + break; + } + + default: + error("Unexpected type of input! Expected \"text\", \"email\", \"password\", \"number\", \"tel\", \"select\", \"radio\", \"checkbox\", \"textarea\", \"file\" or \"url\", got \"".concat(innerParams.input, "\"")); + break; + } + + if (innerParams.input === 'select' || innerParams.input === 'radio') { + var processInputOptions = function processInputOptions(inputOptions) { + return populateInputOptions(formatInputOptions(inputOptions)); + }; + + if (isPromise(innerParams.inputOptions)) { + constructor.showLoading(); + innerParams.inputOptions.then(function (inputOptions) { + _this.hideLoading(); + + processInputOptions(inputOptions); + }); + } else if (_typeof(innerParams.inputOptions) === 'object') { + processInputOptions(innerParams.inputOptions); + } else { + error("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(_typeof(innerParams.inputOptions))); + } + } else if (['text', 'email', 'number', 'tel', 'textarea'].indexOf(innerParams.input) !== -1 && isPromise(innerParams.inputValue)) { + constructor.showLoading(); + hide(input); + innerParams.inputValue.then(function (inputValue) { + input.value = innerParams.input === 'number' ? parseFloat(inputValue) || 0 : inputValue + ''; + show(input); + input.focus(); + + _this.hideLoading(); + }).catch(function (err) { + error('Error in inputValue promise: ' + err); + input.value = ''; + show(input); + input.focus(); + + _this.hideLoading(); + }); + } + + openPopup(innerParams); + + if (!innerParams.toast) { + if (!callIfFunction(innerParams.allowEnterKey)) { + if (document.activeElement && typeof document.activeElement.blur === 'function') { + document.activeElement.blur(); + } + } else if (innerParams.focusCancel && isVisible(domCache.cancelButton)) { + domCache.cancelButton.focus(); + } else if (innerParams.focusConfirm && isVisible(domCache.confirmButton)) { + domCache.confirmButton.focus(); + } else { + setFocus(-1, 1); + } + } // fix scroll + + + domCache.container.scrollTop = 0; + }); +} + + + +var instanceMethods = Object.freeze({ + hideLoading: hideLoading, + disableLoading: hideLoading, + getInput: getInput, + enableButtons: enableButtons, + disableButtons: disableButtons, + enableConfirmButton: enableConfirmButton, + disableConfirmButton: disableConfirmButton, + enableInput: enableInput, + disableInput: disableInput, + showValidationMessage: showValidationMessage, + resetValidationMessage: resetValidationMessage, + resetValidationError: resetValidationError, + showValidationError: showValidationError, + getProgressSteps: getProgressSteps$1, + setProgressSteps: setProgressSteps, + showProgressSteps: showProgressSteps, + hideProgressSteps: hideProgressSteps, + _main: _main +}); + +var currentInstance; // SweetAlert constructor + +function SweetAlert() { + // Prevent run in Node env + + /* istanbul ignore if */ + if (typeof window === 'undefined') { + return; + } // Check for the existence of Promise + + /* istanbul ignore if */ + + + if (typeof Promise === 'undefined') { + error('This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)'); + } + + currentInstance = this; + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var outerParams = Object.freeze(this.constructor.argsToParams(args)); + Object.defineProperties(this, { + params: { + value: outerParams, + writable: false, + enumerable: true + } + }); + + var promise = this._main(this.params); + + privateProps.promise.set(this, promise); +} // `catch` cannot be the name of a module export, so we define our thenable methods here instead + + +SweetAlert.prototype.then = function (onFulfilled, onRejected) { + var promise = privateProps.promise.get(this); + return promise.then(onFulfilled, onRejected); +}; + +SweetAlert.prototype.catch = function (onRejected) { + var promise = privateProps.promise.get(this); + return promise.catch(onRejected); +}; + +SweetAlert.prototype.finally = function (onFinally) { + var promise = privateProps.promise.get(this); + return promise.finally(onFinally); +}; // Assign instance methods from src/instanceMethods/*.js to prototype + + +_extends(SweetAlert.prototype, instanceMethods); // Assign static methods from src/staticMethods/*.js to constructor + + +_extends(SweetAlert, staticMethods); // Proxy to instance methods to constructor, for now, for backwards compatibility + + +Object.keys(instanceMethods).forEach(function (key) { + SweetAlert[key] = function () { + if (currentInstance) { + var _currentInstance; + + return (_currentInstance = currentInstance)[key].apply(_currentInstance, arguments); + } + }; +}); +SweetAlert.DismissReason = DismissReason; +/* istanbul ignore next */ + +SweetAlert.noop = function () {}; + +var Swal = withNoNewKeyword(withGlobalDefaults(SweetAlert)); +Swal.default = Swal; + +return Swal; + +}))); +if (typeof window !== 'undefined' && window.Sweetalert2){ window.Sweetalert2.version = '7.33.1'; window.swal = window.sweetAlert = window.Swal = window.SweetAlert = window.Sweetalert2} + +"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}"); +!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=d(t)),v)}function o(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function s(e){C=e}function i(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var o=m();v||n(o),u(e,o,t)||l(o)}function c(t){var o=m();return v||n(o),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function l(t){for(var n=v.children(),o=n.length-1;o>=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(":focus",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0)}function d(t){return v=e("
        ").attr("id",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=""),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}I.attr("aria-live",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr("role","button"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass("rtl")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(":focus",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&"hidden"!==P.state&&E.onHidden(),P.state="hidden",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+"%")}var E=m(),y=t.iconClass||E.iconClass;if("undefined"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e("
        "),M=e("
        "),B=e("
        "),q=e("
        "),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:"visible",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,success:i,version:"2.1.4",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}); +//# sourceMappingURL=toastr.js.map + +/*! + * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */ + +(function(factory){ + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + } else if (typeof exports === 'object') { + factory(require('jquery')); + } else { + factory(jQuery); + } +}(function($, undefined){ + function UTCDate(){ + return new Date(Date.UTC.apply(Date, arguments)); + } + function UTCToday(){ + var today = new Date(); + return UTCDate(today.getFullYear(), today.getMonth(), today.getDate()); + } + function isUTCEquals(date1, date2) { + return ( + date1.getUTCFullYear() === date2.getUTCFullYear() && + date1.getUTCMonth() === date2.getUTCMonth() && + date1.getUTCDate() === date2.getUTCDate() + ); + } + function alias(method, deprecationMsg){ + return function(){ + if (deprecationMsg !== undefined) { + $.fn.datepicker.deprecated(deprecationMsg); + } + + return this[method].apply(this, arguments); + }; + } + function isValidDate(d) { + return d && !isNaN(d.getTime()); + } + + var DateArray = (function(){ + var extras = { + get: function(i){ + return this.slice(i)[0]; + }, + contains: function(d){ + // Array.indexOf is not cross-browser; + // $.inArray doesn't work with Dates + var val = d && d.valueOf(); + for (var i=0, l=this.length; i < l; i++) + // Use date arithmetic to allow dates with different times to match + if (0 <= this[i].valueOf() - val && this[i].valueOf() - val < 1000*60*60*24) + return i; + return -1; + }, + remove: function(i){ + this.splice(i,1); + }, + replace: function(new_array){ + if (!new_array) + return; + if (!$.isArray(new_array)) + new_array = [new_array]; + this.clear(); + this.push.apply(this, new_array); + }, + clear: function(){ + this.length = 0; + }, + copy: function(){ + var a = new DateArray(); + a.replace(this); + return a; + } + }; + + return function(){ + var a = []; + a.push.apply(a, arguments); + $.extend(a, extras); + return a; + }; + })(); + + + // Picker object + + var Datepicker = function(element, options){ + $.data(element, 'datepicker', this); + + this._events = []; + this._secondaryEvents = []; + + this._process_options(options); + + this.dates = new DateArray(); + this.viewDate = this.o.defaultViewDate; + this.focusDate = null; + + this.element = $(element); + this.isInput = this.element.is('input'); + this.inputField = this.isInput ? this.element : this.element.find('input'); + this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn') : false; + if (this.component && this.component.length === 0) + this.component = false; + this.isInline = !this.component && this.element.is('div'); + + this.picker = $(DPGlobal.template); + + // Checking templates and inserting + if (this._check_template(this.o.templates.leftArrow)) { + this.picker.find('.prev').html(this.o.templates.leftArrow); + } + + if (this._check_template(this.o.templates.rightArrow)) { + this.picker.find('.next').html(this.o.templates.rightArrow); + } + + this._buildEvents(); + this._attachEvents(); + + if (this.isInline){ + this.picker.addClass('datepicker-inline').appendTo(this.element); + } + else { + this.picker.addClass('datepicker-dropdown dropdown-menu'); + } + + if (this.o.rtl){ + this.picker.addClass('datepicker-rtl'); + } + + if (this.o.calendarWeeks) { + this.picker.find('.datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear') + .attr('colspan', function(i, val){ + return Number(val) + 1; + }); + } + + this._process_options({ + startDate: this._o.startDate, + endDate: this._o.endDate, + daysOfWeekDisabled: this.o.daysOfWeekDisabled, + daysOfWeekHighlighted: this.o.daysOfWeekHighlighted, + datesDisabled: this.o.datesDisabled + }); + + this._allow_update = false; + this.setViewMode(this.o.startView); + this._allow_update = true; + + this.fillDow(); + this.fillMonths(); + + this.update(); + + if (this.isInline){ + this.show(); + } + }; + + Datepicker.prototype = { + constructor: Datepicker, + + _resolveViewName: function(view){ + $.each(DPGlobal.viewModes, function(i, viewMode){ + if (view === i || $.inArray(view, viewMode.names) !== -1){ + view = i; + return false; + } + }); + + return view; + }, + + _resolveDaysOfWeek: function(daysOfWeek){ + if (!$.isArray(daysOfWeek)) + daysOfWeek = daysOfWeek.split(/[,\s]*/); + return $.map(daysOfWeek, Number); + }, + + _check_template: function(tmp){ + try { + // If empty + if (tmp === undefined || tmp === "") { + return false; + } + // If no html, everything ok + if ((tmp.match(/[<>]/g) || []).length <= 0) { + return true; + } + // Checking if html is fine + var jDom = $(tmp); + return jDom.length > 0; + } + catch (ex) { + return false; + } + }, + + _process_options: function(opts){ + // Store raw options for reference + this._o = $.extend({}, this._o, opts); + // Processed options + var o = this.o = $.extend({}, this._o); + + // Check if "de-DE" style date is available, if not language should + // fallback to 2 letter code eg "de" + var lang = o.language; + if (!dates[lang]){ + lang = lang.split('-')[0]; + if (!dates[lang]) + lang = defaults.language; + } + o.language = lang; + + // Retrieve view index from any aliases + o.startView = this._resolveViewName(o.startView); + o.minViewMode = this._resolveViewName(o.minViewMode); + o.maxViewMode = this._resolveViewName(o.maxViewMode); + + // Check view is between min and max + o.startView = Math.max(this.o.minViewMode, Math.min(this.o.maxViewMode, o.startView)); + + // true, false, or Number > 0 + if (o.multidate !== true){ + o.multidate = Number(o.multidate) || false; + if (o.multidate !== false) + o.multidate = Math.max(0, o.multidate); + } + o.multidateSeparator = String(o.multidateSeparator); + + o.weekStart %= 7; + o.weekEnd = (o.weekStart + 6) % 7; + + var format = DPGlobal.parseFormat(o.format); + if (o.startDate !== -Infinity){ + if (!!o.startDate){ + if (o.startDate instanceof Date) + o.startDate = this._local_to_utc(this._zero_time(o.startDate)); + else + o.startDate = DPGlobal.parseDate(o.startDate, format, o.language, o.assumeNearbyYear); + } + else { + o.startDate = -Infinity; + } + } + if (o.endDate !== Infinity){ + if (!!o.endDate){ + if (o.endDate instanceof Date) + o.endDate = this._local_to_utc(this._zero_time(o.endDate)); + else + o.endDate = DPGlobal.parseDate(o.endDate, format, o.language, o.assumeNearbyYear); + } + else { + o.endDate = Infinity; + } + } + + o.daysOfWeekDisabled = this._resolveDaysOfWeek(o.daysOfWeekDisabled||[]); + o.daysOfWeekHighlighted = this._resolveDaysOfWeek(o.daysOfWeekHighlighted||[]); + + o.datesDisabled = o.datesDisabled||[]; + if (!$.isArray(o.datesDisabled)) { + o.datesDisabled = o.datesDisabled.split(','); + } + o.datesDisabled = $.map(o.datesDisabled, function(d){ + return DPGlobal.parseDate(d, format, o.language, o.assumeNearbyYear); + }); + + var plc = String(o.orientation).toLowerCase().split(/\s+/g), + _plc = o.orientation.toLowerCase(); + plc = $.grep(plc, function(word){ + return /^auto|left|right|top|bottom$/.test(word); + }); + o.orientation = {x: 'auto', y: 'auto'}; + if (!_plc || _plc === 'auto') + ; // no action + else if (plc.length === 1){ + switch (plc[0]){ + case 'top': + case 'bottom': + o.orientation.y = plc[0]; + break; + case 'left': + case 'right': + o.orientation.x = plc[0]; + break; + } + } + else { + _plc = $.grep(plc, function(word){ + return /^left|right$/.test(word); + }); + o.orientation.x = _plc[0] || 'auto'; + + _plc = $.grep(plc, function(word){ + return /^top|bottom$/.test(word); + }); + o.orientation.y = _plc[0] || 'auto'; + } + if (o.defaultViewDate instanceof Date || typeof o.defaultViewDate === 'string') { + o.defaultViewDate = DPGlobal.parseDate(o.defaultViewDate, format, o.language, o.assumeNearbyYear); + } else if (o.defaultViewDate) { + var year = o.defaultViewDate.year || new Date().getFullYear(); + var month = o.defaultViewDate.month || 0; + var day = o.defaultViewDate.day || 1; + o.defaultViewDate = UTCDate(year, month, day); + } else { + o.defaultViewDate = UTCToday(); + } + }, + _applyEvents: function(evs){ + for (var i=0, el, ch, ev; i < evs.length; i++){ + el = evs[i][0]; + if (evs[i].length === 2){ + ch = undefined; + ev = evs[i][1]; + } else if (evs[i].length === 3){ + ch = evs[i][1]; + ev = evs[i][2]; + } + el.on(ev, ch); + } + }, + _unapplyEvents: function(evs){ + for (var i=0, el, ev, ch; i < evs.length; i++){ + el = evs[i][0]; + if (evs[i].length === 2){ + ch = undefined; + ev = evs[i][1]; + } else if (evs[i].length === 3){ + ch = evs[i][1]; + ev = evs[i][2]; + } + el.off(ev, ch); + } + }, + _buildEvents: function(){ + var events = { + keyup: $.proxy(function(e){ + if ($.inArray(e.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) === -1) + this.update(); + }, this), + keydown: $.proxy(this.keydown, this), + paste: $.proxy(this.paste, this) + }; + + if (this.o.showOnFocus === true) { + events.focus = $.proxy(this.show, this); + } + + if (this.isInput) { // single input + this._events = [ + [this.element, events] + ]; + } + // component: input + button + else if (this.component && this.inputField.length) { + this._events = [ + // For components that are not readonly, allow keyboard nav + [this.inputField, events], + [this.component, { + click: $.proxy(this.show, this) + }] + ]; + } + else { + this._events = [ + [this.element, { + click: $.proxy(this.show, this), + keydown: $.proxy(this.keydown, this) + }] + ]; + } + this._events.push( + // Component: listen for blur on element descendants + [this.element, '*', { + blur: $.proxy(function(e){ + this._focused_from = e.target; + }, this) + }], + // Input: listen for blur on element + [this.element, { + blur: $.proxy(function(e){ + this._focused_from = e.target; + }, this) + }] + ); + + if (this.o.immediateUpdates) { + // Trigger input updates immediately on changed year/month + this._events.push([this.element, { + 'changeYear changeMonth': $.proxy(function(e){ + this.update(e.date); + }, this) + }]); + } + + this._secondaryEvents = [ + [this.picker, { + click: $.proxy(this.click, this) + }], + [this.picker, '.prev, .next', { + click: $.proxy(this.navArrowsClick, this) + }], + [this.picker, '.day:not(.disabled)', { + click: $.proxy(this.dayCellClick, this) + }], + [$(window), { + resize: $.proxy(this.place, this) + }], + [$(document), { + 'mousedown touchstart': $.proxy(function(e){ + // Clicked outside the datepicker, hide it + if (!( + this.element.is(e.target) || + this.element.find(e.target).length || + this.picker.is(e.target) || + this.picker.find(e.target).length || + this.isInline + )){ + this.hide(); + } + }, this) + }] + ]; + }, + _attachEvents: function(){ + this._detachEvents(); + this._applyEvents(this._events); + }, + _detachEvents: function(){ + this._unapplyEvents(this._events); + }, + _attachSecondaryEvents: function(){ + this._detachSecondaryEvents(); + this._applyEvents(this._secondaryEvents); + }, + _detachSecondaryEvents: function(){ + this._unapplyEvents(this._secondaryEvents); + }, + _trigger: function(event, altdate){ + var date = altdate || this.dates.get(-1), + local_date = this._utc_to_local(date); + + this.element.trigger({ + type: event, + date: local_date, + viewMode: this.viewMode, + dates: $.map(this.dates, this._utc_to_local), + format: $.proxy(function(ix, format){ + if (arguments.length === 0){ + ix = this.dates.length - 1; + format = this.o.format; + } else if (typeof ix === 'string'){ + format = ix; + ix = this.dates.length - 1; + } + format = format || this.o.format; + var date = this.dates.get(ix); + return DPGlobal.formatDate(date, format, this.o.language); + }, this) + }); + }, + + show: function(){ + if (this.inputField.is(':disabled') || (this.inputField.prop('readonly') && this.o.enableOnReadonly === false)) + return; + if (!this.isInline) + this.picker.appendTo(this.o.container); + this.place(); + this.picker.show(); + this._attachSecondaryEvents(); + this._trigger('show'); + if ((window.navigator.msMaxTouchPoints || 'ontouchstart' in document) && this.o.disableTouchKeyboard) { + $(this.element).blur(); + } + return this; + }, + + hide: function(){ + if (this.isInline || !this.picker.is(':visible')) + return this; + this.focusDate = null; + this.picker.hide().detach(); + this._detachSecondaryEvents(); + this.setViewMode(this.o.startView); + + if (this.o.forceParse && this.inputField.val()) + this.setValue(); + this._trigger('hide'); + return this; + }, + + destroy: function(){ + this.hide(); + this._detachEvents(); + this._detachSecondaryEvents(); + this.picker.remove(); + delete this.element.data().datepicker; + if (!this.isInput){ + delete this.element.data().date; + } + return this; + }, + + paste: function(e){ + var dateString; + if (e.originalEvent.clipboardData && e.originalEvent.clipboardData.types + && $.inArray('text/plain', e.originalEvent.clipboardData.types) !== -1) { + dateString = e.originalEvent.clipboardData.getData('text/plain'); + } else if (window.clipboardData) { + dateString = window.clipboardData.getData('Text'); + } else { + return; + } + this.setDate(dateString); + this.update(); + e.preventDefault(); + }, + + _utc_to_local: function(utc){ + if (!utc) { + return utc; + } + + var local = new Date(utc.getTime() + (utc.getTimezoneOffset() * 60000)); + + if (local.getTimezoneOffset() !== utc.getTimezoneOffset()) { + local = new Date(utc.getTime() + (local.getTimezoneOffset() * 60000)); + } + + return local; + }, + _local_to_utc: function(local){ + return local && new Date(local.getTime() - (local.getTimezoneOffset()*60000)); + }, + _zero_time: function(local){ + return local && new Date(local.getFullYear(), local.getMonth(), local.getDate()); + }, + _zero_utc_time: function(utc){ + return utc && UTCDate(utc.getUTCFullYear(), utc.getUTCMonth(), utc.getUTCDate()); + }, + + getDates: function(){ + return $.map(this.dates, this._utc_to_local); + }, + + getUTCDates: function(){ + return $.map(this.dates, function(d){ + return new Date(d); + }); + }, + + getDate: function(){ + return this._utc_to_local(this.getUTCDate()); + }, + + getUTCDate: function(){ + var selected_date = this.dates.get(-1); + if (selected_date !== undefined) { + return new Date(selected_date); + } else { + return null; + } + }, + + clearDates: function(){ + this.inputField.val(''); + this.update(); + this._trigger('changeDate'); + + if (this.o.autoclose) { + this.hide(); + } + }, + + setDates: function(){ + var args = $.isArray(arguments[0]) ? arguments[0] : arguments; + this.update.apply(this, args); + this._trigger('changeDate'); + this.setValue(); + return this; + }, + + setUTCDates: function(){ + var args = $.isArray(arguments[0]) ? arguments[0] : arguments; + this.setDates.apply(this, $.map(args, this._utc_to_local)); + return this; + }, + + setDate: alias('setDates'), + setUTCDate: alias('setUTCDates'), + remove: alias('destroy', 'Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead'), + + setValue: function(){ + var formatted = this.getFormattedDate(); + this.inputField.val(formatted); + return this; + }, + + getFormattedDate: function(format){ + if (format === undefined) + format = this.o.format; + + var lang = this.o.language; + return $.map(this.dates, function(d){ + return DPGlobal.formatDate(d, format, lang); + }).join(this.o.multidateSeparator); + }, + + getStartDate: function(){ + return this.o.startDate; + }, + + setStartDate: function(startDate){ + this._process_options({startDate: startDate}); + this.update(); + this.updateNavArrows(); + return this; + }, + + getEndDate: function(){ + return this.o.endDate; + }, + + setEndDate: function(endDate){ + this._process_options({endDate: endDate}); + this.update(); + this.updateNavArrows(); + return this; + }, + + setDaysOfWeekDisabled: function(daysOfWeekDisabled){ + this._process_options({daysOfWeekDisabled: daysOfWeekDisabled}); + this.update(); + return this; + }, + + setDaysOfWeekHighlighted: function(daysOfWeekHighlighted){ + this._process_options({daysOfWeekHighlighted: daysOfWeekHighlighted}); + this.update(); + return this; + }, + + setDatesDisabled: function(datesDisabled){ + this._process_options({datesDisabled: datesDisabled}); + this.update(); + return this; + }, + + place: function(){ + if (this.isInline) + return this; + var calendarWidth = this.picker.outerWidth(), + calendarHeight = this.picker.outerHeight(), + visualPadding = 10, + container = $(this.o.container), + windowWidth = container.width(), + scrollTop = this.o.container === 'body' ? $(document).scrollTop() : container.scrollTop(), + appendOffset = container.offset(); + + var parentsZindex = [0]; + this.element.parents().each(function(){ + var itemZIndex = $(this).css('z-index'); + if (itemZIndex !== 'auto' && Number(itemZIndex) !== 0) parentsZindex.push(Number(itemZIndex)); + }); + var zIndex = Math.max.apply(Math, parentsZindex) + this.o.zIndexOffset; + var offset = this.component ? this.component.parent().offset() : this.element.offset(); + var height = this.component ? this.component.outerHeight(true) : this.element.outerHeight(false); + var width = this.component ? this.component.outerWidth(true) : this.element.outerWidth(false); + var left = offset.left - appendOffset.left; + var top = offset.top - appendOffset.top; + + if (this.o.container !== 'body') { + top += scrollTop; + } + + this.picker.removeClass( + 'datepicker-orient-top datepicker-orient-bottom '+ + 'datepicker-orient-right datepicker-orient-left' + ); + + if (this.o.orientation.x !== 'auto'){ + this.picker.addClass('datepicker-orient-' + this.o.orientation.x); + if (this.o.orientation.x === 'right') + left -= calendarWidth - width; + } + // auto x orientation is best-placement: if it crosses a window + // edge, fudge it sideways + else { + if (offset.left < 0) { + // component is outside the window on the left side. Move it into visible range + this.picker.addClass('datepicker-orient-left'); + left -= offset.left - visualPadding; + } else if (left + calendarWidth > windowWidth) { + // the calendar passes the widow right edge. Align it to component right side + this.picker.addClass('datepicker-orient-right'); + left += width - calendarWidth; + } else { + if (this.o.rtl) { + // Default to right + this.picker.addClass('datepicker-orient-right'); + } else { + // Default to left + this.picker.addClass('datepicker-orient-left'); + } + } + } + + // auto y orientation is best-situation: top or bottom, no fudging, + // decision based on which shows more of the calendar + var yorient = this.o.orientation.y, + top_overflow; + if (yorient === 'auto'){ + top_overflow = -scrollTop + top - calendarHeight; + yorient = top_overflow < 0 ? 'bottom' : 'top'; + } + + this.picker.addClass('datepicker-orient-' + yorient); + if (yorient === 'top') + top -= calendarHeight + parseInt(this.picker.css('padding-top')); + else + top += height; + + if (this.o.rtl) { + var right = windowWidth - (left + width); + this.picker.css({ + top: top, + right: right, + zIndex: zIndex + }); + } else { + this.picker.css({ + top: top, + left: left, + zIndex: zIndex + }); + } + return this; + }, + + _allow_update: true, + update: function(){ + if (!this._allow_update) + return this; + + var oldDates = this.dates.copy(), + dates = [], + fromArgs = false; + if (arguments.length){ + $.each(arguments, $.proxy(function(i, date){ + if (date instanceof Date) + date = this._local_to_utc(date); + dates.push(date); + }, this)); + fromArgs = true; + } else { + dates = this.isInput + ? this.element.val() + : this.element.data('date') || this.inputField.val(); + if (dates && this.o.multidate) + dates = dates.split(this.o.multidateSeparator); + else + dates = [dates]; + delete this.element.data().date; + } + + dates = $.map(dates, $.proxy(function(date){ + return DPGlobal.parseDate(date, this.o.format, this.o.language, this.o.assumeNearbyYear); + }, this)); + dates = $.grep(dates, $.proxy(function(date){ + return ( + !this.dateWithinRange(date) || + !date + ); + }, this), true); + this.dates.replace(dates); + + if (this.o.updateViewDate) { + if (this.dates.length) + this.viewDate = new Date(this.dates.get(-1)); + else if (this.viewDate < this.o.startDate) + this.viewDate = new Date(this.o.startDate); + else if (this.viewDate > this.o.endDate) + this.viewDate = new Date(this.o.endDate); + else + this.viewDate = this.o.defaultViewDate; + } + + if (fromArgs){ + // setting date by clicking + this.setValue(); + this.element.change(); + } + else if (this.dates.length){ + // setting date by typing + if (String(oldDates) !== String(this.dates) && fromArgs) { + this._trigger('changeDate'); + this.element.change(); + } + } + if (!this.dates.length && oldDates.length) { + this._trigger('clearDate'); + this.element.change(); + } + + this.fill(); + return this; + }, + + fillDow: function(){ + if (this.o.showWeekDays) { + var dowCnt = this.o.weekStart, + html = ''; + if (this.o.calendarWeeks){ + html += ' '; + } + while (dowCnt < this.o.weekStart + 7){ + html += ''+dates[this.o.language].daysMin[(dowCnt++)%7]+''; + } + html += ''; + this.picker.find('.datepicker-days thead').append(html); + } + }, + + fillMonths: function(){ + var localDate = this._utc_to_local(this.viewDate); + var html = ''; + var focused; + for (var i = 0; i < 12; i++){ + focused = localDate && localDate.getMonth() === i ? ' focused' : ''; + html += '' + dates[this.o.language].monthsShort[i] + ''; + } + this.picker.find('.datepicker-months td').html(html); + }, + + setRange: function(range){ + if (!range || !range.length) + delete this.range; + else + this.range = $.map(range, function(d){ + return d.valueOf(); + }); + this.fill(); + }, + + getClassNames: function(date){ + var cls = [], + year = this.viewDate.getUTCFullYear(), + month = this.viewDate.getUTCMonth(), + today = UTCToday(); + if (date.getUTCFullYear() < year || (date.getUTCFullYear() === year && date.getUTCMonth() < month)){ + cls.push('old'); + } else if (date.getUTCFullYear() > year || (date.getUTCFullYear() === year && date.getUTCMonth() > month)){ + cls.push('new'); + } + if (this.focusDate && date.valueOf() === this.focusDate.valueOf()) + cls.push('focused'); + // Compare internal UTC date with UTC today, not local today + if (this.o.todayHighlight && isUTCEquals(date, today)) { + cls.push('today'); + } + if (this.dates.contains(date) !== -1) + cls.push('active'); + if (!this.dateWithinRange(date)){ + cls.push('disabled'); + } + if (this.dateIsDisabled(date)){ + cls.push('disabled', 'disabled-date'); + } + if ($.inArray(date.getUTCDay(), this.o.daysOfWeekHighlighted) !== -1){ + cls.push('highlighted'); + } + + if (this.range){ + if (date > this.range[0] && date < this.range[this.range.length-1]){ + cls.push('range'); + } + if ($.inArray(date.valueOf(), this.range) !== -1){ + cls.push('selected'); + } + if (date.valueOf() === this.range[0]){ + cls.push('range-start'); + } + if (date.valueOf() === this.range[this.range.length-1]){ + cls.push('range-end'); + } + } + return cls; + }, + + _fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){ + var html = ''; + var step = factor / 10; + var view = this.picker.find(selector); + var startVal = Math.floor(year / factor) * factor; + var endVal = startVal + step * 9; + var focusedVal = Math.floor(this.viewDate.getFullYear() / step) * step; + var selected = $.map(this.dates, function(d){ + return Math.floor(d.getUTCFullYear() / step) * step; + }); + + var classes, tooltip, before; + for (var currVal = startVal - step; currVal <= endVal + step; currVal += step) { + classes = [cssClass]; + tooltip = null; + + if (currVal === startVal - step) { + classes.push('old'); + } else if (currVal === endVal + step) { + classes.push('new'); + } + if ($.inArray(currVal, selected) !== -1) { + classes.push('active'); + } + if (currVal < startYear || currVal > endYear) { + classes.push('disabled'); + } + if (currVal === focusedVal) { + classes.push('focused'); + } + + if (beforeFn !== $.noop) { + before = beforeFn(new Date(currVal, 0, 1)); + if (before === undefined) { + before = {}; + } else if (typeof before === 'boolean') { + before = {enabled: before}; + } else if (typeof before === 'string') { + before = {classes: before}; + } + if (before.enabled === false) { + classes.push('disabled'); + } + if (before.classes) { + classes = classes.concat(before.classes.split(/\s+/)); + } + if (before.tooltip) { + tooltip = before.tooltip; + } + } + + html += '' + currVal + ''; + } + + view.find('.datepicker-switch').text(startVal + '-' + endVal); + view.find('td').html(html); + }, + + fill: function(){ + var d = new Date(this.viewDate), + year = d.getUTCFullYear(), + month = d.getUTCMonth(), + startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity, + startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity, + endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity, + endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, + todaytxt = dates[this.o.language].today || dates['en'].today || '', + cleartxt = dates[this.o.language].clear || dates['en'].clear || '', + titleFormat = dates[this.o.language].titleFormat || dates['en'].titleFormat, + todayDate = UTCToday(), + titleBtnVisible = (this.o.todayBtn === true || this.o.todayBtn === 'linked') && todayDate >= this.o.startDate && todayDate <= this.o.endDate && !this.weekOfDateIsDisabled(todayDate), + tooltip, + before; + if (isNaN(year) || isNaN(month)) + return; + this.picker.find('.datepicker-days .datepicker-switch') + .text(DPGlobal.formatDate(d, titleFormat, this.o.language)); + this.picker.find('tfoot .today') + .text(todaytxt) + .css('display', titleBtnVisible ? 'table-cell' : 'none'); + this.picker.find('tfoot .clear') + .text(cleartxt) + .css('display', this.o.clearBtn === true ? 'table-cell' : 'none'); + this.picker.find('thead .datepicker-title') + .text(this.o.title) + .css('display', typeof this.o.title === 'string' && this.o.title !== '' ? 'table-cell' : 'none'); + this.updateNavArrows(); + this.fillMonths(); + var prevMonth = UTCDate(year, month, 0), + day = prevMonth.getUTCDate(); + prevMonth.setUTCDate(day - (prevMonth.getUTCDay() - this.o.weekStart + 7)%7); + var nextMonth = new Date(prevMonth); + if (prevMonth.getUTCFullYear() < 100){ + nextMonth.setUTCFullYear(prevMonth.getUTCFullYear()); + } + nextMonth.setUTCDate(nextMonth.getUTCDate() + 42); + nextMonth = nextMonth.valueOf(); + var html = []; + var weekDay, clsName; + while (prevMonth.valueOf() < nextMonth){ + weekDay = prevMonth.getUTCDay(); + if (weekDay === this.o.weekStart){ + html.push(''); + if (this.o.calendarWeeks){ + // ISO 8601: First week contains first thursday. + // ISO also states week starts on Monday, but we can be more abstract here. + var + // Start of current week: based on weekstart/current date + ws = new Date(+prevMonth + (this.o.weekStart - weekDay - 7) % 7 * 864e5), + // Thursday of this week + th = new Date(Number(ws) + (7 + 4 - ws.getUTCDay()) % 7 * 864e5), + // First Thursday of year, year from thursday + yth = new Date(Number(yth = UTCDate(th.getUTCFullYear(), 0, 1)) + (7 + 4 - yth.getUTCDay()) % 7 * 864e5), + // Calendar week: ms between thursdays, div ms per day, div 7 days + calWeek = (th - yth) / 864e5 / 7 + 1; + html.push(''+ calWeek +''); + } + } + clsName = this.getClassNames(prevMonth); + clsName.push('day'); + + var content = prevMonth.getUTCDate(); + + if (this.o.beforeShowDay !== $.noop){ + before = this.o.beforeShowDay(this._utc_to_local(prevMonth)); + if (before === undefined) + before = {}; + else if (typeof before === 'boolean') + before = {enabled: before}; + else if (typeof before === 'string') + before = {classes: before}; + if (before.enabled === false) + clsName.push('disabled'); + if (before.classes) + clsName = clsName.concat(before.classes.split(/\s+/)); + if (before.tooltip) + tooltip = before.tooltip; + if (before.content) + content = before.content; + } + + //Check if uniqueSort exists (supported by jquery >=1.12 and >=2.2) + //Fallback to unique function for older jquery versions + if ($.isFunction($.uniqueSort)) { + clsName = $.uniqueSort(clsName); + } else { + clsName = $.unique(clsName); + } + + html.push('' + content + ''); + tooltip = null; + if (weekDay === this.o.weekEnd){ + html.push(''); + } + prevMonth.setUTCDate(prevMonth.getUTCDate() + 1); + } + this.picker.find('.datepicker-days tbody').html(html.join('')); + + var monthsTitle = dates[this.o.language].monthsTitle || dates['en'].monthsTitle || 'Months'; + var months = this.picker.find('.datepicker-months') + .find('.datepicker-switch') + .text(this.o.maxViewMode < 2 ? monthsTitle : year) + .end() + .find('tbody span').removeClass('active'); + + $.each(this.dates, function(i, d){ + if (d.getUTCFullYear() === year) + months.eq(d.getUTCMonth()).addClass('active'); + }); + + if (year < startYear || year > endYear){ + months.addClass('disabled'); + } + if (year === startYear){ + months.slice(0, startMonth).addClass('disabled'); + } + if (year === endYear){ + months.slice(endMonth+1).addClass('disabled'); + } + + if (this.o.beforeShowMonth !== $.noop){ + var that = this; + $.each(months, function(i, month){ + var moDate = new Date(year, i, 1); + var before = that.o.beforeShowMonth(moDate); + if (before === undefined) + before = {}; + else if (typeof before === 'boolean') + before = {enabled: before}; + else if (typeof before === 'string') + before = {classes: before}; + if (before.enabled === false && !$(month).hasClass('disabled')) + $(month).addClass('disabled'); + if (before.classes) + $(month).addClass(before.classes); + if (before.tooltip) + $(month).prop('title', before.tooltip); + }); + } + + // Generating decade/years picker + this._fill_yearsView( + '.datepicker-years', + 'year', + 10, + year, + startYear, + endYear, + this.o.beforeShowYear + ); + + // Generating century/decades picker + this._fill_yearsView( + '.datepicker-decades', + 'decade', + 100, + year, + startYear, + endYear, + this.o.beforeShowDecade + ); + + // Generating millennium/centuries picker + this._fill_yearsView( + '.datepicker-centuries', + 'century', + 1000, + year, + startYear, + endYear, + this.o.beforeShowCentury + ); + }, + + updateNavArrows: function(){ + if (!this._allow_update) + return; + + var d = new Date(this.viewDate), + year = d.getUTCFullYear(), + month = d.getUTCMonth(), + startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity, + startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity, + endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity, + endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, + prevIsDisabled, + nextIsDisabled, + factor = 1; + switch (this.viewMode){ + case 4: + factor *= 10; + /* falls through */ + case 3: + factor *= 10; + /* falls through */ + case 2: + factor *= 10; + /* falls through */ + case 1: + prevIsDisabled = Math.floor(year / factor) * factor <= startYear; + nextIsDisabled = Math.floor(year / factor) * factor + factor > endYear; + break; + case 0: + prevIsDisabled = year <= startYear && month <= startMonth; + nextIsDisabled = year >= endYear && month >= endMonth; + break; + } + + this.picker.find('.prev').toggleClass('disabled', prevIsDisabled); + this.picker.find('.next').toggleClass('disabled', nextIsDisabled); + }, + + click: function(e){ + e.preventDefault(); + e.stopPropagation(); + + var target, dir, day, year, month; + target = $(e.target); + + // Clicked on the switch + if (target.hasClass('datepicker-switch') && this.viewMode !== this.o.maxViewMode){ + this.setViewMode(this.viewMode + 1); + } + + // Clicked on today button + if (target.hasClass('today') && !target.hasClass('day')){ + this.setViewMode(0); + this._setDate(UTCToday(), this.o.todayBtn === 'linked' ? null : 'view'); + } + + // Clicked on clear button + if (target.hasClass('clear')){ + this.clearDates(); + } + + if (!target.hasClass('disabled')){ + // Clicked on a month, year, decade, century + if (target.hasClass('month') + || target.hasClass('year') + || target.hasClass('decade') + || target.hasClass('century')) { + this.viewDate.setUTCDate(1); + + day = 1; + if (this.viewMode === 1){ + month = target.parent().find('span').index(target); + year = this.viewDate.getUTCFullYear(); + this.viewDate.setUTCMonth(month); + } else { + month = 0; + year = Number(target.text()); + this.viewDate.setUTCFullYear(year); + } + + this._trigger(DPGlobal.viewModes[this.viewMode - 1].e, this.viewDate); + + if (this.viewMode === this.o.minViewMode){ + this._setDate(UTCDate(year, month, day)); + } else { + this.setViewMode(this.viewMode - 1); + this.fill(); + } + } + } + + if (this.picker.is(':visible') && this._focused_from){ + this._focused_from.focus(); + } + delete this._focused_from; + }, + + dayCellClick: function(e){ + var $target = $(e.currentTarget); + var timestamp = $target.data('date'); + var date = new Date(timestamp); + + if (this.o.updateViewDate) { + if (date.getUTCFullYear() !== this.viewDate.getUTCFullYear()) { + this._trigger('changeYear', this.viewDate); + } + + if (date.getUTCMonth() !== this.viewDate.getUTCMonth()) { + this._trigger('changeMonth', this.viewDate); + } + } + this._setDate(date); + }, + + // Clicked on prev or next + navArrowsClick: function(e){ + var $target = $(e.currentTarget); + var dir = $target.hasClass('prev') ? -1 : 1; + if (this.viewMode !== 0){ + dir *= DPGlobal.viewModes[this.viewMode].navStep * 12; + } + this.viewDate = this.moveMonth(this.viewDate, dir); + this._trigger(DPGlobal.viewModes[this.viewMode].e, this.viewDate); + this.fill(); + }, + + _toggle_multidate: function(date){ + var ix = this.dates.contains(date); + if (!date){ + this.dates.clear(); + } + + if (ix !== -1){ + if (this.o.multidate === true || this.o.multidate > 1 || this.o.toggleActive){ + this.dates.remove(ix); + } + } else if (this.o.multidate === false) { + this.dates.clear(); + this.dates.push(date); + } + else { + this.dates.push(date); + } + + if (typeof this.o.multidate === 'number') + while (this.dates.length > this.o.multidate) + this.dates.remove(0); + }, + + _setDate: function(date, which){ + if (!which || which === 'date') + this._toggle_multidate(date && new Date(date)); + if ((!which && this.o.updateViewDate) || which === 'view') + this.viewDate = date && new Date(date); + + this.fill(); + this.setValue(); + if (!which || which !== 'view') { + this._trigger('changeDate'); + } + this.inputField.trigger('change'); + if (this.o.autoclose && (!which || which === 'date')){ + this.hide(); + } + }, + + moveDay: function(date, dir){ + var newDate = new Date(date); + newDate.setUTCDate(date.getUTCDate() + dir); + + return newDate; + }, + + moveWeek: function(date, dir){ + return this.moveDay(date, dir * 7); + }, + + moveMonth: function(date, dir){ + if (!isValidDate(date)) + return this.o.defaultViewDate; + if (!dir) + return date; + var new_date = new Date(date.valueOf()), + day = new_date.getUTCDate(), + month = new_date.getUTCMonth(), + mag = Math.abs(dir), + new_month, test; + dir = dir > 0 ? 1 : -1; + if (mag === 1){ + test = dir === -1 + // If going back one month, make sure month is not current month + // (eg, Mar 31 -> Feb 31 == Feb 28, not Mar 02) + ? function(){ + return new_date.getUTCMonth() === month; + } + // If going forward one month, make sure month is as expected + // (eg, Jan 31 -> Feb 31 == Feb 28, not Mar 02) + : function(){ + return new_date.getUTCMonth() !== new_month; + }; + new_month = month + dir; + new_date.setUTCMonth(new_month); + // Dec -> Jan (12) or Jan -> Dec (-1) -- limit expected date to 0-11 + new_month = (new_month + 12) % 12; + } + else { + // For magnitudes >1, move one month at a time... + for (var i=0; i < mag; i++) + // ...which might decrease the day (eg, Jan 31 to Feb 28, etc)... + new_date = this.moveMonth(new_date, dir); + // ...then reset the day, keeping it in the new month + new_month = new_date.getUTCMonth(); + new_date.setUTCDate(day); + test = function(){ + return new_month !== new_date.getUTCMonth(); + }; + } + // Common date-resetting loop -- if date is beyond end of month, make it + // end of month + while (test()){ + new_date.setUTCDate(--day); + new_date.setUTCMonth(new_month); + } + return new_date; + }, + + moveYear: function(date, dir){ + return this.moveMonth(date, dir*12); + }, + + moveAvailableDate: function(date, dir, fn){ + do { + date = this[fn](date, dir); + + if (!this.dateWithinRange(date)) + return false; + + fn = 'moveDay'; + } + while (this.dateIsDisabled(date)); + + return date; + }, + + weekOfDateIsDisabled: function(date){ + return $.inArray(date.getUTCDay(), this.o.daysOfWeekDisabled) !== -1; + }, + + dateIsDisabled: function(date){ + return ( + this.weekOfDateIsDisabled(date) || + $.grep(this.o.datesDisabled, function(d){ + return isUTCEquals(date, d); + }).length > 0 + ); + }, + + dateWithinRange: function(date){ + return date >= this.o.startDate && date <= this.o.endDate; + }, + + keydown: function(e){ + if (!this.picker.is(':visible')){ + if (e.keyCode === 40 || e.keyCode === 27) { // allow down to re-show picker + this.show(); + e.stopPropagation(); + } + return; + } + var dateChanged = false, + dir, newViewDate, + focusDate = this.focusDate || this.viewDate; + switch (e.keyCode){ + case 27: // escape + if (this.focusDate){ + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.fill(); + } + else + this.hide(); + e.preventDefault(); + e.stopPropagation(); + break; + case 37: // left + case 38: // up + case 39: // right + case 40: // down + if (!this.o.keyboardNavigation || this.o.daysOfWeekDisabled.length === 7) + break; + dir = e.keyCode === 37 || e.keyCode === 38 ? -1 : 1; + if (this.viewMode === 0) { + if (e.ctrlKey){ + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveYear'); + + if (newViewDate) + this._trigger('changeYear', this.viewDate); + } else if (e.shiftKey){ + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveMonth'); + + if (newViewDate) + this._trigger('changeMonth', this.viewDate); + } else if (e.keyCode === 37 || e.keyCode === 39){ + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveDay'); + } else if (!this.weekOfDateIsDisabled(focusDate)){ + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveWeek'); + } + } else if (this.viewMode === 1) { + if (e.keyCode === 38 || e.keyCode === 40) { + dir = dir * 4; + } + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveMonth'); + } else if (this.viewMode === 2) { + if (e.keyCode === 38 || e.keyCode === 40) { + dir = dir * 4; + } + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveYear'); + } + if (newViewDate){ + this.focusDate = this.viewDate = newViewDate; + this.setValue(); + this.fill(); + e.preventDefault(); + } + break; + case 13: // enter + if (!this.o.forceParse) + break; + focusDate = this.focusDate || this.dates.get(-1) || this.viewDate; + if (this.o.keyboardNavigation) { + this._toggle_multidate(focusDate); + dateChanged = true; + } + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.setValue(); + this.fill(); + if (this.picker.is(':visible')){ + e.preventDefault(); + e.stopPropagation(); + if (this.o.autoclose) + this.hide(); + } + break; + case 9: // tab + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.fill(); + this.hide(); + break; + } + if (dateChanged){ + if (this.dates.length) + this._trigger('changeDate'); + else + this._trigger('clearDate'); + this.inputField.trigger('change'); + } + }, + + setViewMode: function(viewMode){ + this.viewMode = viewMode; + this.picker + .children('div') + .hide() + .filter('.datepicker-' + DPGlobal.viewModes[this.viewMode].clsName) + .show(); + this.updateNavArrows(); + this._trigger('changeViewMode', new Date(this.viewDate)); + } + }; + + var DateRangePicker = function(element, options){ + $.data(element, 'datepicker', this); + this.element = $(element); + this.inputs = $.map(options.inputs, function(i){ + return i.jquery ? i[0] : i; + }); + delete options.inputs; + + this.keepEmptyValues = options.keepEmptyValues; + delete options.keepEmptyValues; + + datepickerPlugin.call($(this.inputs), options) + .on('changeDate', $.proxy(this.dateUpdated, this)); + + this.pickers = $.map(this.inputs, function(i){ + return $.data(i, 'datepicker'); + }); + this.updateDates(); + }; + DateRangePicker.prototype = { + updateDates: function(){ + this.dates = $.map(this.pickers, function(i){ + return i.getUTCDate(); + }); + this.updateRanges(); + }, + updateRanges: function(){ + var range = $.map(this.dates, function(d){ + return d.valueOf(); + }); + $.each(this.pickers, function(i, p){ + p.setRange(range); + }); + }, + clearDates: function(){ + $.each(this.pickers, function(i, p){ + p.clearDates(); + }); + }, + dateUpdated: function(e){ + // `this.updating` is a workaround for preventing infinite recursion + // between `changeDate` triggering and `setUTCDate` calling. Until + // there is a better mechanism. + if (this.updating) + return; + this.updating = true; + + var dp = $.data(e.target, 'datepicker'); + + if (dp === undefined) { + return; + } + + var new_date = dp.getUTCDate(), + keep_empty_values = this.keepEmptyValues, + i = $.inArray(e.target, this.inputs), + j = i - 1, + k = i + 1, + l = this.inputs.length; + if (i === -1) + return; + + $.each(this.pickers, function(i, p){ + if (!p.getUTCDate() && (p === dp || !keep_empty_values)) + p.setUTCDate(new_date); + }); + + if (new_date < this.dates[j]){ + // Date being moved earlier/left + while (j >= 0 && new_date < this.dates[j]){ + this.pickers[j--].setUTCDate(new_date); + } + } else if (new_date > this.dates[k]){ + // Date being moved later/right + while (k < l && new_date > this.dates[k]){ + this.pickers[k++].setUTCDate(new_date); + } + } + this.updateDates(); + + delete this.updating; + }, + destroy: function(){ + $.map(this.pickers, function(p){ p.destroy(); }); + $(this.inputs).off('changeDate', this.dateUpdated); + delete this.element.data().datepicker; + }, + remove: alias('destroy', 'Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead') + }; + + function opts_from_el(el, prefix){ + // Derive options from element data-attrs + var data = $(el).data(), + out = {}, inkey, + replace = new RegExp('^' + prefix.toLowerCase() + '([A-Z])'); + prefix = new RegExp('^' + prefix.toLowerCase()); + function re_lower(_,a){ + return a.toLowerCase(); + } + for (var key in data) + if (prefix.test(key)){ + inkey = key.replace(replace, re_lower); + out[inkey] = data[key]; + } + return out; + } + + function opts_from_locale(lang){ + // Derive options from locale plugins + var out = {}; + // Check if "de-DE" style date is available, if not language should + // fallback to 2 letter code eg "de" + if (!dates[lang]){ + lang = lang.split('-')[0]; + if (!dates[lang]) + return; + } + var d = dates[lang]; + $.each(locale_opts, function(i,k){ + if (k in d) + out[k] = d[k]; + }); + return out; + } + + var old = $.fn.datepicker; + var datepickerPlugin = function(option){ + var args = Array.apply(null, arguments); + args.shift(); + var internal_return; + this.each(function(){ + var $this = $(this), + data = $this.data('datepicker'), + options = typeof option === 'object' && option; + if (!data){ + var elopts = opts_from_el(this, 'date'), + // Preliminary otions + xopts = $.extend({}, defaults, elopts, options), + locopts = opts_from_locale(xopts.language), + // Options priority: js args, data-attrs, locales, defaults + opts = $.extend({}, defaults, locopts, elopts, options); + if ($this.hasClass('input-daterange') || opts.inputs){ + $.extend(opts, { + inputs: opts.inputs || $this.find('input').toArray() + }); + data = new DateRangePicker(this, opts); + } + else { + data = new Datepicker(this, opts); + } + $this.data('datepicker', data); + } + if (typeof option === 'string' && typeof data[option] === 'function'){ + internal_return = data[option].apply(data, args); + } + }); + + if ( + internal_return === undefined || + internal_return instanceof Datepicker || + internal_return instanceof DateRangePicker + ) + return this; + + if (this.length > 1) + throw new Error('Using only allowed for the collection of a single element (' + option + ' function)'); + else + return internal_return; + }; + $.fn.datepicker = datepickerPlugin; + + var defaults = $.fn.datepicker.defaults = { + assumeNearbyYear: false, + autoclose: false, + beforeShowDay: $.noop, + beforeShowMonth: $.noop, + beforeShowYear: $.noop, + beforeShowDecade: $.noop, + beforeShowCentury: $.noop, + calendarWeeks: false, + clearBtn: false, + toggleActive: false, + daysOfWeekDisabled: [], + daysOfWeekHighlighted: [], + datesDisabled: [], + endDate: Infinity, + forceParse: true, + format: 'mm/dd/yyyy', + keepEmptyValues: false, + keyboardNavigation: true, + language: 'en', + minViewMode: 0, + maxViewMode: 4, + multidate: false, + multidateSeparator: ',', + orientation: "auto", + rtl: false, + startDate: -Infinity, + startView: 0, + todayBtn: false, + todayHighlight: false, + updateViewDate: true, + weekStart: 0, + disableTouchKeyboard: false, + enableOnReadonly: true, + showOnFocus: true, + zIndexOffset: 10, + container: 'body', + immediateUpdates: false, + title: '', + templates: { + leftArrow: '«', + rightArrow: '»' + }, + showWeekDays: true + }; + var locale_opts = $.fn.datepicker.locale_opts = [ + 'format', + 'rtl', + 'weekStart' + ]; + $.fn.datepicker.Constructor = Datepicker; + var dates = $.fn.datepicker.dates = { + en: { + days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], + daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], + daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], + months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], + monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], + today: "Today", + clear: "Clear", + titleFormat: "MM yyyy" + } + }; + + var DPGlobal = { + viewModes: [ + { + names: ['days', 'month'], + clsName: 'days', + e: 'changeMonth' + }, + { + names: ['months', 'year'], + clsName: 'months', + e: 'changeYear', + navStep: 1 + }, + { + names: ['years', 'decade'], + clsName: 'years', + e: 'changeDecade', + navStep: 10 + }, + { + names: ['decades', 'century'], + clsName: 'decades', + e: 'changeCentury', + navStep: 100 + }, + { + names: ['centuries', 'millennium'], + clsName: 'centuries', + e: 'changeMillennium', + navStep: 1000 + } + ], + validParts: /dd?|DD?|mm?|MM?|yy(?:yy)?/g, + nonpunctuation: /[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g, + parseFormat: function(format){ + if (typeof format.toValue === 'function' && typeof format.toDisplay === 'function') + return format; + // IE treats \0 as a string end in inputs (truncating the value), + // so it's a bad format delimiter, anyway + var separators = format.replace(this.validParts, '\0').split('\0'), + parts = format.match(this.validParts); + if (!separators || !separators.length || !parts || parts.length === 0){ + throw new Error("Invalid date format."); + } + return {separators: separators, parts: parts}; + }, + parseDate: function(date, format, language, assumeNearby){ + if (!date) + return undefined; + if (date instanceof Date) + return date; + if (typeof format === 'string') + format = DPGlobal.parseFormat(format); + if (format.toValue) + return format.toValue(date, format, language); + var fn_map = { + d: 'moveDay', + m: 'moveMonth', + w: 'moveWeek', + y: 'moveYear' + }, + dateAliases = { + yesterday: '-1d', + today: '+0d', + tomorrow: '+1d' + }, + parts, part, dir, i, fn; + if (date in dateAliases){ + date = dateAliases[date]; + } + if (/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(date)){ + parts = date.match(/([\-+]\d+)([dmwy])/gi); + date = new Date(); + for (i=0; i < parts.length; i++){ + part = parts[i].match(/([\-+]\d+)([dmwy])/i); + dir = Number(part[1]); + fn = fn_map[part[2].toLowerCase()]; + date = Datepicker.prototype[fn](date, dir); + } + return Datepicker.prototype._zero_utc_time(date); + } + + parts = date && date.match(this.nonpunctuation) || []; + + function applyNearbyYear(year, threshold){ + if (threshold === true) + threshold = 10; + + // if year is 2 digits or less, than the user most likely is trying to get a recent century + if (year < 100){ + year += 2000; + // if the new year is more than threshold years in advance, use last century + if (year > ((new Date()).getFullYear()+threshold)){ + year -= 100; + } + } + + return year; + } + + var parsed = {}, + setters_order = ['yyyy', 'yy', 'M', 'MM', 'm', 'mm', 'd', 'dd'], + setters_map = { + yyyy: function(d,v){ + return d.setUTCFullYear(assumeNearby ? applyNearbyYear(v, assumeNearby) : v); + }, + m: function(d,v){ + if (isNaN(d)) + return d; + v -= 1; + while (v < 0) v += 12; + v %= 12; + d.setUTCMonth(v); + while (d.getUTCMonth() !== v) + d.setUTCDate(d.getUTCDate()-1); + return d; + }, + d: function(d,v){ + return d.setUTCDate(v); + } + }, + val, filtered; + setters_map['yy'] = setters_map['yyyy']; + setters_map['M'] = setters_map['MM'] = setters_map['mm'] = setters_map['m']; + setters_map['dd'] = setters_map['d']; + date = UTCToday(); + var fparts = format.parts.slice(); + // Remove noop parts + if (parts.length !== fparts.length){ + fparts = $(fparts).filter(function(i,p){ + return $.inArray(p, setters_order) !== -1; + }).toArray(); + } + // Process remainder + function match_part(){ + var m = this.slice(0, parts[i].length), + p = parts[i].slice(0, m.length); + return m.toLowerCase() === p.toLowerCase(); + } + if (parts.length === fparts.length){ + var cnt; + for (i=0, cnt = fparts.length; i < cnt; i++){ + val = parseInt(parts[i], 10); + part = fparts[i]; + if (isNaN(val)){ + switch (part){ + case 'MM': + filtered = $(dates[language].months).filter(match_part); + val = $.inArray(filtered[0], dates[language].months) + 1; + break; + case 'M': + filtered = $(dates[language].monthsShort).filter(match_part); + val = $.inArray(filtered[0], dates[language].monthsShort) + 1; + break; + } + } + parsed[part] = val; + } + var _date, s; + for (i=0; i < setters_order.length; i++){ + s = setters_order[i]; + if (s in parsed && !isNaN(parsed[s])){ + _date = new Date(date); + setters_map[s](_date, parsed[s]); + if (!isNaN(_date)) + date = _date; + } + } + } + return date; + }, + formatDate: function(date, format, language){ + if (!date) + return ''; + if (typeof format === 'string') + format = DPGlobal.parseFormat(format); + if (format.toDisplay) + return format.toDisplay(date, format, language); + var val = { + d: date.getUTCDate(), + D: dates[language].daysShort[date.getUTCDay()], + DD: dates[language].days[date.getUTCDay()], + m: date.getUTCMonth() + 1, + M: dates[language].monthsShort[date.getUTCMonth()], + MM: dates[language].months[date.getUTCMonth()], + yy: date.getUTCFullYear().toString().substring(2), + yyyy: date.getUTCFullYear() + }; + val.dd = (val.d < 10 ? '0' : '') + val.d; + val.mm = (val.m < 10 ? '0' : '') + val.m; + date = []; + var seps = $.extend([], format.separators); + for (var i=0, cnt = format.parts.length; i <= cnt; i++){ + if (seps.length) + date.push(seps.shift()); + date.push(val[format.parts[i]]); + } + return date.join(''); + }, + headTemplate: ''+ + ''+ + ''+ + ''+ + ''+ + ''+defaults.templates.leftArrow+''+ + ''+ + ''+defaults.templates.rightArrow+''+ + ''+ + '', + contTemplate: '', + footTemplate: ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '' + }; + DPGlobal.template = '
        '+ + '
        '+ + ''+ + DPGlobal.headTemplate+ + ''+ + DPGlobal.footTemplate+ + '
        '+ + '
        '+ + '
        '+ + ''+ + DPGlobal.headTemplate+ + DPGlobal.contTemplate+ + DPGlobal.footTemplate+ + '
        '+ + '
        '+ + '
        '+ + ''+ + DPGlobal.headTemplate+ + DPGlobal.contTemplate+ + DPGlobal.footTemplate+ + '
        '+ + '
        '+ + '
        '+ + ''+ + DPGlobal.headTemplate+ + DPGlobal.contTemplate+ + DPGlobal.footTemplate+ + '
        '+ + '
        '+ + '
        '+ + ''+ + DPGlobal.headTemplate+ + DPGlobal.contTemplate+ + DPGlobal.footTemplate+ + '
        '+ + '
        '+ + '
        '; + + $.fn.datepicker.DPGlobal = DPGlobal; + + + /* DATEPICKER NO CONFLICT + * =================== */ + + $.fn.datepicker.noConflict = function(){ + $.fn.datepicker = old; + return this; + }; + + /* DATEPICKER VERSION + * =================== */ + $.fn.datepicker.version = '1.9.0'; + + $.fn.datepicker.deprecated = function(msg){ + var console = window.console; + if (console && console.warn) { + console.warn('DEPRECATED: ' + msg); + } + }; + + + /* DATEPICKER DATA-API + * ================== */ + + $(document).on( + 'focus.datepicker.data-api click.datepicker.data-api', + '[data-provide="datepicker"]', + function(e){ + var $this = $(this); + if ($this.data('datepicker')) + return; + e.preventDefault(); + // component click requires us to explicitly show it + datepickerPlugin.call($this, 'show'); + } + ); + $(function(){ + datepickerPlugin.call($('[data-provide="datepicker-inline"]')); + }); + +})); + +/*! + * Select2 4.0.7 + * https://select2.github.io + * + * Released under the MIT license + * https://github.com/select2/select2/blob/master/LICENSE.md + */ +;(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], factory); + } else if (typeof module === 'object' && module.exports) { + // Node/CommonJS + module.exports = function (root, jQuery) { + if (jQuery === undefined) { + // require('jQuery') returns a factory that requires window to + // build a jQuery instance, we normalize how we use modules + // that require this pattern but the window provided is a noop + // if it's defined (how jquery works) + if (typeof window !== 'undefined') { + jQuery = require('jquery'); + } + else { + jQuery = require('jquery')(root); + } + } + factory(jQuery); + return jQuery; + }; + } else { + // Browser globals + factory(jQuery); + } +} (function (jQuery) { + // This is needed so we can catch the AMD loader configuration and use it + // The inner file should be wrapped (by `banner.start.js`) in a function that + // returns the AMD loader references. + var S2 =(function () { + // Restore the Select2 AMD loader so it can be used + // Needed mostly in the language files, where the loader is not inserted + if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) { + var S2 = jQuery.fn.select2.amd; + } +var S2;(function () { if (!S2 || !S2.requirejs) { +if (!S2) { S2 = {}; } else { require = S2; } +/** + * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. + * Released under MIT license, http://github.com/requirejs/almond/LICENSE + */ +//Going sloppy to avoid 'use strict' string cost, but strict practices should +//be followed. +/*global setTimeout: false */ + +var requirejs, require, define; +(function (undef) { + var main, req, makeMap, handlers, + defined = {}, + waiting = {}, + config = {}, + defining = {}, + hasOwn = Object.prototype.hasOwnProperty, + aps = [].slice, + jsSuffixRegExp = /\.js$/; + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @returns {String} normalized name + */ + function normalize(name, baseName) { + var nameParts, nameSegment, mapValue, foundMap, lastIndex, + foundI, foundStarMap, starI, i, j, part, normalizedBaseParts, + baseParts = baseName && baseName.split("/"), + map = config.map, + starMap = (map && map['*']) || {}; + + //Adjust any relative paths. + if (name) { + name = name.split('/'); + lastIndex = name.length - 1; + + // If wanting node ID compatibility, strip .js from end + // of IDs. Have to do this here, and not in nameToUrl + // because node allows either .js or non .js to map + // to same file. + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + // Starts with a '.' so need the baseName + if (name[0].charAt(0) === '.' && baseParts) { + //Convert baseName to array, and lop off the last part, + //so that . matches that 'directory' and not name of the baseName's + //module. For instance, baseName of 'one/two/three', maps to + //'one/two/three.js', but we want the directory, 'one/two' for + //this normalization. + normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); + name = normalizedBaseParts.concat(name); + } + + //start trimDots + for (i = 0; i < name.length; i++) { + part = name[i]; + if (part === '.') { + name.splice(i, 1); + i -= 1; + } else if (part === '..') { + // If at the start, or previous value is still .., + // keep them so that when converted to a path it may + // still work when converted to a path, even though + // as an ID it is less than ideal. In larger point + // releases, may be better to just kick out an error. + if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') { + continue; + } else if (i > 0) { + name.splice(i - 1, 2); + i -= 2; + } + } + } + //end trimDots + + name = name.join('/'); + } + + //Apply map config if available. + if ((baseParts || starMap) && map) { + nameParts = name.split('/'); + + for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join("/"); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = map[baseParts.slice(0, j).join('/')]; + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = mapValue[nameSegment]; + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break; + } + } + } + } + + if (foundMap) { + break; + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && starMap[nameSegment]) { + foundStarMap = starMap[nameSegment]; + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + return name; + } + + function makeRequire(relName, forceSync) { + return function () { + //A version of a require function that passes a moduleName + //value for items that may need to + //look up paths relative to the moduleName + var args = aps.call(arguments, 0); + + //If first arg is not require('string'), and there is only + //one arg, it is the array form without a callback. Insert + //a null so that the following concat is correct. + if (typeof args[0] !== 'string' && args.length === 1) { + args.push(null); + } + return req.apply(undef, args.concat([relName, forceSync])); + }; + } + + function makeNormalize(relName) { + return function (name) { + return normalize(name, relName); + }; + } + + function makeLoad(depName) { + return function (value) { + defined[depName] = value; + }; + } + + function callDep(name) { + if (hasProp(waiting, name)) { + var args = waiting[name]; + delete waiting[name]; + defining[name] = true; + main.apply(undef, args); + } + + if (!hasProp(defined, name) && !hasProp(defining, name)) { + throw new Error('No ' + name); + } + return defined[name]; + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + //Creates a parts array for a relName where first part is plugin ID, + //second part is resource ID. Assumes relName has already been normalized. + function makeRelParts(relName) { + return relName ? splitPrefix(relName) : []; + } + + /** + * Makes a name map, normalizing the name, and using a plugin + * for normalization if necessary. Grabs a ref to plugin + * too, as an optimization. + */ + makeMap = function (name, relParts) { + var plugin, + parts = splitPrefix(name), + prefix = parts[0], + relResourceName = relParts[1]; + + name = parts[1]; + + if (prefix) { + prefix = normalize(prefix, relResourceName); + plugin = callDep(prefix); + } + + //Normalize according + if (prefix) { + if (plugin && plugin.normalize) { + name = plugin.normalize(name, makeNormalize(relResourceName)); + } else { + name = normalize(name, relResourceName); + } + } else { + name = normalize(name, relResourceName); + parts = splitPrefix(name); + prefix = parts[0]; + name = parts[1]; + if (prefix) { + plugin = callDep(prefix); + } + } + + //Using ridiculous property names for space reasons + return { + f: prefix ? prefix + '!' + name : name, //fullName + n: name, + pr: prefix, + p: plugin + }; + }; + + function makeConfig(name) { + return function () { + return (config && config.config && config.config[name]) || {}; + }; + } + + handlers = { + require: function (name) { + return makeRequire(name); + }, + exports: function (name) { + var e = defined[name]; + if (typeof e !== 'undefined') { + return e; + } else { + return (defined[name] = {}); + } + }, + module: function (name) { + return { + id: name, + uri: '', + exports: defined[name], + config: makeConfig(name) + }; + } + }; + + main = function (name, deps, callback, relName) { + var cjsModule, depName, ret, map, i, relParts, + args = [], + callbackType = typeof callback, + usingExports; + + //Use name if no relName + relName = relName || name; + relParts = makeRelParts(relName); + + //Call the callback to define the module, if necessary. + if (callbackType === 'undefined' || callbackType === 'function') { + //Pull out the defined dependencies and pass the ordered + //values to the callback. + //Default to [require, exports, module] if no deps + deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps; + for (i = 0; i < deps.length; i += 1) { + map = makeMap(deps[i], relParts); + depName = map.f; + + //Fast path CommonJS standard dependencies. + if (depName === "require") { + args[i] = handlers.require(name); + } else if (depName === "exports") { + //CommonJS module spec 1.1 + args[i] = handlers.exports(name); + usingExports = true; + } else if (depName === "module") { + //CommonJS module spec 1.1 + cjsModule = args[i] = handlers.module(name); + } else if (hasProp(defined, depName) || + hasProp(waiting, depName) || + hasProp(defining, depName)) { + args[i] = callDep(depName); + } else if (map.p) { + map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {}); + args[i] = defined[depName]; + } else { + throw new Error(name + ' missing ' + depName); + } + } + + ret = callback ? callback.apply(defined[name], args) : undefined; + + if (name) { + //If setting exports via "module" is in play, + //favor that over return value and exports. After that, + //favor a non-undefined return value over exports use. + if (cjsModule && cjsModule.exports !== undef && + cjsModule.exports !== defined[name]) { + defined[name] = cjsModule.exports; + } else if (ret !== undef || !usingExports) { + //Use the return value from the function. + defined[name] = ret; + } + } + } else if (name) { + //May just be an object definition for the module. Only + //worry about defining if have a module name. + defined[name] = callback; + } + }; + + requirejs = require = req = function (deps, callback, relName, forceSync, alt) { + if (typeof deps === "string") { + if (handlers[deps]) { + //callback in this case is really relName + return handlers[deps](callback); + } + //Just return the module wanted. In this scenario, the + //deps arg is the module name, and second arg (if passed) + //is just the relName. + //Normalize module name, if it contains . or .. + return callDep(makeMap(deps, makeRelParts(callback)).f); + } else if (!deps.splice) { + //deps is a config object, not an array. + config = deps; + if (config.deps) { + req(config.deps, config.callback); + } + if (!callback) { + return; + } + + if (callback.splice) { + //callback is an array, which means it is a dependency list. + //Adjust args if there are dependencies + deps = callback; + callback = relName; + relName = null; + } else { + deps = undef; + } + } + + //Support require(['a']) + callback = callback || function () {}; + + //If relName is a function, it is an errback handler, + //so remove it. + if (typeof relName === 'function') { + relName = forceSync; + forceSync = alt; + } + + //Simulate async callback; + if (forceSync) { + main(undef, deps, callback, relName); + } else { + //Using a non-zero value because of concern for what old browsers + //do, and latest browsers "upgrade" to 4 if lower value is used: + //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout: + //If want a value immediately, use require('id') instead -- something + //that works in almond on the global level, but not guaranteed and + //unlikely to work in other AMD implementations. + setTimeout(function () { + main(undef, deps, callback, relName); + }, 4); + } + + return req; + }; + + /** + * Just drops the config on the floor, but returns req in case + * the config return value is used. + */ + req.config = function (cfg) { + return req(cfg); + }; + + /** + * Expose module registry for debugging and tooling + */ + requirejs._defined = defined; + + define = function (name, deps, callback) { + if (typeof name !== 'string') { + throw new Error('See almond README: incorrect module build, no module name'); + } + + //This module may not have dependencies + if (!deps.splice) { + //deps is not an array, so probably means + //an object literal or factory function for + //the value. Adjust args. + callback = deps; + deps = []; + } + + if (!hasProp(defined, name) && !hasProp(waiting, name)) { + waiting[name] = [name, deps, callback]; + } + }; + + define.amd = { + jQuery: true + }; +}()); + +S2.requirejs = requirejs;S2.require = require;S2.define = define; +} +}()); +S2.define("almond", function(){}); + +/* global jQuery:false, $:false */ +S2.define('jquery',[],function () { + var _$ = jQuery || $; + + if (_$ == null && console && console.error) { + console.error( + 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + + 'found. Make sure that you are including jQuery before Select2 on your ' + + 'web page.' + ); + } + + return _$; +}); + +S2.define('select2/utils',[ + 'jquery' +], function ($) { + var Utils = {}; + + Utils.Extend = function (ChildClass, SuperClass) { + var __hasProp = {}.hasOwnProperty; + + function BaseConstructor () { + this.constructor = ChildClass; + } + + for (var key in SuperClass) { + if (__hasProp.call(SuperClass, key)) { + ChildClass[key] = SuperClass[key]; + } + } + + BaseConstructor.prototype = SuperClass.prototype; + ChildClass.prototype = new BaseConstructor(); + ChildClass.__super__ = SuperClass.prototype; + + return ChildClass; + }; + + function getMethods (theClass) { + var proto = theClass.prototype; + + var methods = []; + + for (var methodName in proto) { + var m = proto[methodName]; + + if (typeof m !== 'function') { + continue; + } + + if (methodName === 'constructor') { + continue; + } + + methods.push(methodName); + } + + return methods; + } + + Utils.Decorate = function (SuperClass, DecoratorClass) { + var decoratedMethods = getMethods(DecoratorClass); + var superMethods = getMethods(SuperClass); + + function DecoratedClass () { + var unshift = Array.prototype.unshift; + + var argCount = DecoratorClass.prototype.constructor.length; + + var calledConstructor = SuperClass.prototype.constructor; + + if (argCount > 0) { + unshift.call(arguments, SuperClass.prototype.constructor); + + calledConstructor = DecoratorClass.prototype.constructor; + } + + calledConstructor.apply(this, arguments); + } + + DecoratorClass.displayName = SuperClass.displayName; + + function ctr () { + this.constructor = DecoratedClass; + } + + DecoratedClass.prototype = new ctr(); + + for (var m = 0; m < superMethods.length; m++) { + var superMethod = superMethods[m]; + + DecoratedClass.prototype[superMethod] = + SuperClass.prototype[superMethod]; + } + + var calledMethod = function (methodName) { + // Stub out the original method if it's not decorating an actual method + var originalMethod = function () {}; + + if (methodName in DecoratedClass.prototype) { + originalMethod = DecoratedClass.prototype[methodName]; + } + + var decoratedMethod = DecoratorClass.prototype[methodName]; + + return function () { + var unshift = Array.prototype.unshift; + + unshift.call(arguments, originalMethod); + + return decoratedMethod.apply(this, arguments); + }; + }; + + for (var d = 0; d < decoratedMethods.length; d++) { + var decoratedMethod = decoratedMethods[d]; + + DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod); + } + + return DecoratedClass; + }; + + var Observable = function () { + this.listeners = {}; + }; + + Observable.prototype.on = function (event, callback) { + this.listeners = this.listeners || {}; + + if (event in this.listeners) { + this.listeners[event].push(callback); + } else { + this.listeners[event] = [callback]; + } + }; + + Observable.prototype.trigger = function (event) { + var slice = Array.prototype.slice; + var params = slice.call(arguments, 1); + + this.listeners = this.listeners || {}; + + // Params should always come in as an array + if (params == null) { + params = []; + } + + // If there are no arguments to the event, use a temporary object + if (params.length === 0) { + params.push({}); + } + + // Set the `_type` of the first object to the event + params[0]._type = event; + + if (event in this.listeners) { + this.invoke(this.listeners[event], slice.call(arguments, 1)); + } + + if ('*' in this.listeners) { + this.invoke(this.listeners['*'], arguments); + } + }; + + Observable.prototype.invoke = function (listeners, params) { + for (var i = 0, len = listeners.length; i < len; i++) { + listeners[i].apply(this, params); + } + }; + + Utils.Observable = Observable; + + Utils.generateChars = function (length) { + var chars = ''; + + for (var i = 0; i < length; i++) { + var randomChar = Math.floor(Math.random() * 36); + chars += randomChar.toString(36); + } + + return chars; + }; + + Utils.bind = function (func, context) { + return function () { + func.apply(context, arguments); + }; + }; + + Utils._convertData = function (data) { + for (var originalKey in data) { + var keys = originalKey.split('-'); + + var dataLevel = data; + + if (keys.length === 1) { + continue; + } + + for (var k = 0; k < keys.length; k++) { + var key = keys[k]; + + // Lowercase the first letter + // By default, dash-separated becomes camelCase + key = key.substring(0, 1).toLowerCase() + key.substring(1); + + if (!(key in dataLevel)) { + dataLevel[key] = {}; + } + + if (k == keys.length - 1) { + dataLevel[key] = data[originalKey]; + } + + dataLevel = dataLevel[key]; + } + + delete data[originalKey]; + } + + return data; + }; + + Utils.hasScroll = function (index, el) { + // Adapted from the function created by @ShadowScripter + // and adapted by @BillBarry on the Stack Exchange Code Review website. + // The original code can be found at + // http://codereview.stackexchange.com/q/13338 + // and was designed to be used with the Sizzle selector engine. + + var $el = $(el); + var overflowX = el.style.overflowX; + var overflowY = el.style.overflowY; + + //Check both x and y declarations + if (overflowX === overflowY && + (overflowY === 'hidden' || overflowY === 'visible')) { + return false; + } + + if (overflowX === 'scroll' || overflowY === 'scroll') { + return true; + } + + return ($el.innerHeight() < el.scrollHeight || + $el.innerWidth() < el.scrollWidth); + }; + + Utils.escapeMarkup = function (markup) { + var replaceMap = { + '\\': '\', + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' + }; + + // Do not try to escape the markup if it's not a string + if (typeof markup !== 'string') { + return markup; + } + + return String(markup).replace(/[&<>"'\/\\]/g, function (match) { + return replaceMap[match]; + }); + }; + + // Append an array of jQuery nodes to a given element. + Utils.appendMany = function ($element, $nodes) { + // jQuery 1.7.x does not support $.fn.append() with an array + // Fall back to a jQuery object collection using $.fn.add() + if ($.fn.jquery.substr(0, 3) === '1.7') { + var $jqNodes = $(); + + $.map($nodes, function (node) { + $jqNodes = $jqNodes.add(node); + }); + + $nodes = $jqNodes; + } + + $element.append($nodes); + }; + + // Cache objects in Utils.__cache instead of $.data (see #4346) + Utils.__cache = {}; + + var id = 0; + Utils.GetUniqueElementId = function (element) { + // Get a unique element Id. If element has no id, + // creates a new unique number, stores it in the id + // attribute and returns the new id. + // If an id already exists, it simply returns it. + + var select2Id = element.getAttribute('data-select2-id'); + if (select2Id == null) { + // If element has id, use it. + if (element.id) { + select2Id = element.id; + element.setAttribute('data-select2-id', select2Id); + } else { + element.setAttribute('data-select2-id', ++id); + select2Id = id.toString(); + } + } + return select2Id; + }; + + Utils.StoreData = function (element, name, value) { + // Stores an item in the cache for a specified element. + // name is the cache key. + var id = Utils.GetUniqueElementId(element); + if (!Utils.__cache[id]) { + Utils.__cache[id] = {}; + } + + Utils.__cache[id][name] = value; + }; + + Utils.GetData = function (element, name) { + // Retrieves a value from the cache by its key (name) + // name is optional. If no name specified, return + // all cache items for the specified element. + // and for a specified element. + var id = Utils.GetUniqueElementId(element); + if (name) { + if (Utils.__cache[id]) { + if (Utils.__cache[id][name] != null) { + return Utils.__cache[id][name]; + } + return $(element).data(name); // Fallback to HTML5 data attribs. + } + return $(element).data(name); // Fallback to HTML5 data attribs. + } else { + return Utils.__cache[id]; + } + }; + + Utils.RemoveData = function (element) { + // Removes all cached items for a specified element. + var id = Utils.GetUniqueElementId(element); + if (Utils.__cache[id] != null) { + delete Utils.__cache[id]; + } + }; + + return Utils; +}); + +S2.define('select2/results',[ + 'jquery', + './utils' +], function ($, Utils) { + function Results ($element, options, dataAdapter) { + this.$element = $element; + this.data = dataAdapter; + this.options = options; + + Results.__super__.constructor.call(this); + } + + Utils.Extend(Results, Utils.Observable); + + Results.prototype.render = function () { + var $results = $( + '
          ' + ); + + if (this.options.get('multiple')) { + $results.attr('aria-multiselectable', 'true'); + } + + this.$results = $results; + + return $results; + }; + + Results.prototype.clear = function () { + this.$results.empty(); + }; + + Results.prototype.displayMessage = function (params) { + var escapeMarkup = this.options.get('escapeMarkup'); + + this.clear(); + this.hideLoading(); + + var $message = $( + '
        • ' + ); + + var message = this.options.get('translations').get(params.message); + + $message.append( + escapeMarkup( + message(params.args) + ) + ); + + $message[0].className += ' select2-results__message'; + + this.$results.append($message); + }; + + Results.prototype.hideMessages = function () { + this.$results.find('.select2-results__message').remove(); + }; + + Results.prototype.append = function (data) { + this.hideLoading(); + + var $options = []; + + if (data.results == null || data.results.length === 0) { + if (this.$results.children().length === 0) { + this.trigger('results:message', { + message: 'noResults' + }); + } + + return; + } + + data.results = this.sort(data.results); + + for (var d = 0; d < data.results.length; d++) { + var item = data.results[d]; + + var $option = this.option(item); + + $options.push($option); + } + + this.$results.append($options); + }; + + Results.prototype.position = function ($results, $dropdown) { + var $resultsContainer = $dropdown.find('.select2-results'); + $resultsContainer.append($results); + }; + + Results.prototype.sort = function (data) { + var sorter = this.options.get('sorter'); + + return sorter(data); + }; + + Results.prototype.highlightFirstItem = function () { + var $options = this.$results + .find('.select2-results__option[aria-selected]'); + + var $selected = $options.filter('[aria-selected=true]'); + + // Check if there are any selected options + if ($selected.length > 0) { + // If there are selected options, highlight the first + $selected.first().trigger('mouseenter'); + } else { + // If there are no selected options, highlight the first option + // in the dropdown + $options.first().trigger('mouseenter'); + } + + this.ensureHighlightVisible(); + }; + + Results.prototype.setClasses = function () { + var self = this; + + this.data.current(function (selected) { + var selectedIds = $.map(selected, function (s) { + return s.id.toString(); + }); + + var $options = self.$results + .find('.select2-results__option[aria-selected]'); + + $options.each(function () { + var $option = $(this); + + var item = Utils.GetData(this, 'data'); + + // id needs to be converted to a string when comparing + var id = '' + item.id; + + if ((item.element != null && item.element.selected) || + (item.element == null && $.inArray(id, selectedIds) > -1)) { + $option.attr('aria-selected', 'true'); + } else { + $option.attr('aria-selected', 'false'); + } + }); + + }); + }; + + Results.prototype.showLoading = function (params) { + this.hideLoading(); + + var loadingMore = this.options.get('translations').get('searching'); + + var loading = { + disabled: true, + loading: true, + text: loadingMore(params) + }; + var $loading = this.option(loading); + $loading.className += ' loading-results'; + + this.$results.prepend($loading); + }; + + Results.prototype.hideLoading = function () { + this.$results.find('.loading-results').remove(); + }; + + Results.prototype.option = function (data) { + var option = document.createElement('li'); + option.className = 'select2-results__option'; + + var attrs = { + 'role': 'treeitem', + 'aria-selected': 'false' + }; + + if (data.disabled) { + delete attrs['aria-selected']; + attrs['aria-disabled'] = 'true'; + } + + if (data.id == null) { + delete attrs['aria-selected']; + } + + if (data._resultId != null) { + option.id = data._resultId; + } + + if (data.title) { + option.title = data.title; + } + + if (data.children) { + attrs.role = 'group'; + attrs['aria-label'] = data.text; + delete attrs['aria-selected']; + } + + for (var attr in attrs) { + var val = attrs[attr]; + + option.setAttribute(attr, val); + } + + if (data.children) { + var $option = $(option); + + var label = document.createElement('strong'); + label.className = 'select2-results__group'; + + var $label = $(label); + this.template(data, label); + + var $children = []; + + for (var c = 0; c < data.children.length; c++) { + var child = data.children[c]; + + var $child = this.option(child); + + $children.push($child); + } + + var $childrenContainer = $('
            ', { + 'class': 'select2-results__options select2-results__options--nested' + }); + + $childrenContainer.append($children); + + $option.append(label); + $option.append($childrenContainer); + } else { + this.template(data, option); + } + + Utils.StoreData(option, 'data', data); + + return option; + }; + + Results.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-results'; + + this.$results.attr('id', id); + + container.on('results:all', function (params) { + self.clear(); + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + self.highlightFirstItem(); + } + }); + + container.on('results:append', function (params) { + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + } + }); + + container.on('query', function (params) { + self.hideMessages(); + self.showLoading(params); + }); + + container.on('select', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + + if (self.options.get('scrollAfterSelect')) { + self.highlightFirstItem(); + } + }); + + container.on('unselect', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + + if (self.options.get('scrollAfterSelect')) { + self.highlightFirstItem(); + } + }); + + container.on('open', function () { + // When the dropdown is open, aria-expended="true" + self.$results.attr('aria-expanded', 'true'); + self.$results.attr('aria-hidden', 'false'); + + self.setClasses(); + self.ensureHighlightVisible(); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expended="false" + self.$results.attr('aria-expanded', 'false'); + self.$results.attr('aria-hidden', 'true'); + self.$results.removeAttr('aria-activedescendant'); + }); + + container.on('results:toggle', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + $highlighted.trigger('mouseup'); + }); + + container.on('results:select', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var data = Utils.GetData($highlighted[0], 'data'); + + if ($highlighted.attr('aria-selected') == 'true') { + self.trigger('close', {}); + } else { + self.trigger('select', { + data: data + }); + } + }); + + container.on('results:previous', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + // If we are already at the top, don't move further + // If no options, currentIndex will be -1 + if (currentIndex <= 0) { + return; + } + + var nextIndex = currentIndex - 1; + + // If none are highlighted, highlight the first + if ($highlighted.length === 0) { + nextIndex = 0; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top; + var nextTop = $next.offset().top; + var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset); + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextTop - currentOffset < 0) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:next', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var nextIndex = currentIndex + 1; + + // If we are at the last option, stay there + if (nextIndex >= $options.length) { + return; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var nextBottom = $next.offset().top + $next.outerHeight(false); + var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset; + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextBottom > currentOffset) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:focus', function (params) { + params.element.addClass('select2-results__option--highlighted'); + }); + + container.on('results:message', function (params) { + self.displayMessage(params); + }); + + if ($.fn.mousewheel) { + this.$results.on('mousewheel', function (e) { + var top = self.$results.scrollTop(); + + var bottom = self.$results.get(0).scrollHeight - top + e.deltaY; + + var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0; + var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height(); + + if (isAtTop) { + self.$results.scrollTop(0); + + e.preventDefault(); + e.stopPropagation(); + } else if (isAtBottom) { + self.$results.scrollTop( + self.$results.get(0).scrollHeight - self.$results.height() + ); + + e.preventDefault(); + e.stopPropagation(); + } + }); + } + + this.$results.on('mouseup', '.select2-results__option[aria-selected]', + function (evt) { + var $this = $(this); + + var data = Utils.GetData(this, 'data'); + + if ($this.attr('aria-selected') === 'true') { + if (self.options.get('multiple')) { + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + } else { + self.trigger('close', {}); + } + + return; + } + + self.trigger('select', { + originalEvent: evt, + data: data + }); + }); + + this.$results.on('mouseenter', '.select2-results__option[aria-selected]', + function (evt) { + var data = Utils.GetData(this, 'data'); + + self.getHighlightedResults() + .removeClass('select2-results__option--highlighted'); + + self.trigger('results:focus', { + data: data, + element: $(this) + }); + }); + }; + + Results.prototype.getHighlightedResults = function () { + var $highlighted = this.$results + .find('.select2-results__option--highlighted'); + + return $highlighted; + }; + + Results.prototype.destroy = function () { + this.$results.remove(); + }; + + Results.prototype.ensureHighlightVisible = function () { + var $highlighted = this.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var $options = this.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var currentOffset = this.$results.offset().top; + var nextTop = $highlighted.offset().top; + var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset); + + var offsetDelta = nextTop - currentOffset; + nextOffset -= $highlighted.outerHeight(false) * 2; + + if (currentIndex <= 2) { + this.$results.scrollTop(0); + } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) { + this.$results.scrollTop(nextOffset); + } + }; + + Results.prototype.template = function (result, container) { + var template = this.options.get('templateResult'); + var escapeMarkup = this.options.get('escapeMarkup'); + + var content = template(result, container); + + if (content == null) { + container.style.display = 'none'; + } else if (typeof content === 'string') { + container.innerHTML = escapeMarkup(content); + } else { + $(container).append(content); + } + }; + + return Results; +}); + +S2.define('select2/keys',[ + +], function () { + var KEYS = { + BACKSPACE: 8, + TAB: 9, + ENTER: 13, + SHIFT: 16, + CTRL: 17, + ALT: 18, + ESC: 27, + SPACE: 32, + PAGE_UP: 33, + PAGE_DOWN: 34, + END: 35, + HOME: 36, + LEFT: 37, + UP: 38, + RIGHT: 39, + DOWN: 40, + DELETE: 46 + }; + + return KEYS; +}); + +S2.define('select2/selection/base',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function BaseSelection ($element, options) { + this.$element = $element; + this.options = options; + + BaseSelection.__super__.constructor.call(this); + } + + Utils.Extend(BaseSelection, Utils.Observable); + + BaseSelection.prototype.render = function () { + var $selection = $( + '' + ); + + this._tabindex = 0; + + if (Utils.GetData(this.$element[0], 'old-tabindex') != null) { + this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex'); + } else if (this.$element.attr('tabindex') != null) { + this._tabindex = this.$element.attr('tabindex'); + } + + $selection.attr('title', this.$element.attr('title')); + $selection.attr('tabindex', this._tabindex); + + this.$selection = $selection; + + return $selection; + }; + + BaseSelection.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-container'; + var resultsId = container.id + '-results'; + + this.container = container; + + this.$selection.on('focus', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('blur', function (evt) { + self._handleBlur(evt); + }); + + this.$selection.on('keydown', function (evt) { + self.trigger('keypress', evt); + + if (evt.which === KEYS.SPACE) { + evt.preventDefault(); + } + }); + + container.on('results:focus', function (params) { + self.$selection.attr('aria-activedescendant', params.data._resultId); + }); + + container.on('selection:update', function (params) { + self.update(params.data); + }); + + container.on('open', function () { + // When the dropdown is open, aria-expanded="true" + self.$selection.attr('aria-expanded', 'true'); + self.$selection.attr('aria-owns', resultsId); + + self._attachCloseHandler(container); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expanded="false" + self.$selection.attr('aria-expanded', 'false'); + self.$selection.removeAttr('aria-activedescendant'); + self.$selection.removeAttr('aria-owns'); + + window.setTimeout(function () { + self.$selection.focus(); + }, 0); + + self._detachCloseHandler(container); + }); + + container.on('enable', function () { + self.$selection.attr('tabindex', self._tabindex); + }); + + container.on('disable', function () { + self.$selection.attr('tabindex', '-1'); + }); + }; + + BaseSelection.prototype._handleBlur = function (evt) { + var self = this; + + // This needs to be delayed as the active element is the body when the tab + // key is pressed, possibly along with others. + window.setTimeout(function () { + // Don't trigger `blur` if the focus is still in the selection + if ( + (document.activeElement == self.$selection[0]) || + ($.contains(self.$selection[0], document.activeElement)) + ) { + return; + } + + self.trigger('blur', evt); + }, 1); + }; + + BaseSelection.prototype._attachCloseHandler = function (container) { + var self = this; + + $(document.body).on('mousedown.select2.' + container.id, function (e) { + var $target = $(e.target); + + var $select = $target.closest('.select2'); + + var $all = $('.select2.select2-container--open'); + + $all.each(function () { + var $this = $(this); + + if (this == $select[0]) { + return; + } + + var $element = Utils.GetData(this, 'element'); + + $element.select2('close'); + }); + }); + }; + + BaseSelection.prototype._detachCloseHandler = function (container) { + $(document.body).off('mousedown.select2.' + container.id); + }; + + BaseSelection.prototype.position = function ($selection, $container) { + var $selectionContainer = $container.find('.selection'); + $selectionContainer.append($selection); + }; + + BaseSelection.prototype.destroy = function () { + this._detachCloseHandler(this.container); + }; + + BaseSelection.prototype.update = function (data) { + throw new Error('The `update` method must be defined in child classes.'); + }; + + return BaseSelection; +}); + +S2.define('select2/selection/single',[ + 'jquery', + './base', + '../utils', + '../keys' +], function ($, BaseSelection, Utils, KEYS) { + function SingleSelection () { + SingleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(SingleSelection, BaseSelection); + + SingleSelection.prototype.render = function () { + var $selection = SingleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--single'); + + $selection.html( + '' + + '' + + '' + + '' + ); + + return $selection; + }; + + SingleSelection.prototype.bind = function (container, $container) { + var self = this; + + SingleSelection.__super__.bind.apply(this, arguments); + + var id = container.id + '-container'; + + this.$selection.find('.select2-selection__rendered') + .attr('id', id) + .attr('role', 'textbox') + .attr('aria-readonly', 'true'); + this.$selection.attr('aria-labelledby', id); + + this.$selection.on('mousedown', function (evt) { + // Only respond to left clicks + if (evt.which !== 1) { + return; + } + + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on('focus', function (evt) { + // User focuses on the container + }); + + this.$selection.on('blur', function (evt) { + // User exits the container + }); + + container.on('focus', function (evt) { + if (!container.isOpen()) { + self.$selection.focus(); + } + }); + }; + + SingleSelection.prototype.clear = function () { + var $rendered = this.$selection.find('.select2-selection__rendered'); + $rendered.empty(); + $rendered.removeAttr('title'); // clear tooltip on empty + }; + + SingleSelection.prototype.display = function (data, container) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data, container)); + }; + + SingleSelection.prototype.selectionContainer = function () { + return $(''); + }; + + SingleSelection.prototype.update = function (data) { + if (data.length === 0) { + this.clear(); + return; + } + + var selection = data[0]; + + var $rendered = this.$selection.find('.select2-selection__rendered'); + var formatted = this.display(selection, $rendered); + + $rendered.empty().append(formatted); + $rendered.attr('title', selection.title || selection.text); + }; + + return SingleSelection; +}); + +S2.define('select2/selection/multiple',[ + 'jquery', + './base', + '../utils' +], function ($, BaseSelection, Utils) { + function MultipleSelection ($element, options) { + MultipleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(MultipleSelection, BaseSelection); + + MultipleSelection.prototype.render = function () { + var $selection = MultipleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--multiple'); + + $selection.html( + '
              ' + ); + + return $selection; + }; + + MultipleSelection.prototype.bind = function (container, $container) { + var self = this; + + MultipleSelection.__super__.bind.apply(this, arguments); + + this.$selection.on('click', function (evt) { + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on( + 'click', + '.select2-selection__choice__remove', + function (evt) { + // Ignore the event if it is disabled + if (self.options.get('disabled')) { + return; + } + + var $remove = $(this); + var $selection = $remove.parent(); + + var data = Utils.GetData($selection[0], 'data'); + + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + } + ); + }; + + MultipleSelection.prototype.clear = function () { + var $rendered = this.$selection.find('.select2-selection__rendered'); + $rendered.empty(); + $rendered.removeAttr('title'); + }; + + MultipleSelection.prototype.display = function (data, container) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data, container)); + }; + + MultipleSelection.prototype.selectionContainer = function () { + var $container = $( + '
            • ' + + '' + + '×' + + '' + + '
            • ' + ); + + return $container; + }; + + MultipleSelection.prototype.update = function (data) { + this.clear(); + + if (data.length === 0) { + return; + } + + var $selections = []; + + for (var d = 0; d < data.length; d++) { + var selection = data[d]; + + var $selection = this.selectionContainer(); + var formatted = this.display(selection, $selection); + + $selection.append(formatted); + $selection.attr('title', selection.title || selection.text); + + Utils.StoreData($selection[0], 'data', selection); + + $selections.push($selection); + } + + var $rendered = this.$selection.find('.select2-selection__rendered'); + + Utils.appendMany($rendered, $selections); + }; + + return MultipleSelection; +}); + +S2.define('select2/selection/placeholder',[ + '../utils' +], function (Utils) { + function Placeholder (decorated, $element, options) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options); + } + + Placeholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + Placeholder.prototype.createPlaceholder = function (decorated, placeholder) { + var $placeholder = this.selectionContainer(); + + $placeholder.html(this.display(placeholder)); + $placeholder.addClass('select2-selection__placeholder') + .removeClass('select2-selection__choice'); + + return $placeholder; + }; + + Placeholder.prototype.update = function (decorated, data) { + var singlePlaceholder = ( + data.length == 1 && data[0].id != this.placeholder.id + ); + var multipleSelections = data.length > 1; + + if (multipleSelections || singlePlaceholder) { + return decorated.call(this, data); + } + + this.clear(); + + var $placeholder = this.createPlaceholder(this.placeholder); + + this.$selection.find('.select2-selection__rendered').append($placeholder); + }; + + return Placeholder; +}); + +S2.define('select2/selection/allowClear',[ + 'jquery', + '../keys', + '../utils' +], function ($, KEYS, Utils) { + function AllowClear () { } + + AllowClear.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + if (this.placeholder == null) { + if (this.options.get('debug') && window.console && console.error) { + console.error( + 'Select2: The `allowClear` option should be used in combination ' + + 'with the `placeholder` option.' + ); + } + } + + this.$selection.on('mousedown', '.select2-selection__clear', + function (evt) { + self._handleClear(evt); + }); + + container.on('keypress', function (evt) { + self._handleKeyboardClear(evt, container); + }); + }; + + AllowClear.prototype._handleClear = function (_, evt) { + // Ignore the event if it is disabled + if (this.options.get('disabled')) { + return; + } + + var $clear = this.$selection.find('.select2-selection__clear'); + + // Ignore the event if nothing has been selected + if ($clear.length === 0) { + return; + } + + evt.stopPropagation(); + + var data = Utils.GetData($clear[0], 'data'); + + var previousVal = this.$element.val(); + this.$element.val(this.placeholder.id); + + var unselectData = { + data: data + }; + this.trigger('clear', unselectData); + if (unselectData.prevented) { + this.$element.val(previousVal); + return; + } + + for (var d = 0; d < data.length; d++) { + unselectData = { + data: data[d] + }; + + // Trigger the `unselect` event, so people can prevent it from being + // cleared. + this.trigger('unselect', unselectData); + + // If the event was prevented, don't clear it out. + if (unselectData.prevented) { + this.$element.val(previousVal); + return; + } + } + + this.$element.trigger('change'); + + this.trigger('toggle', {}); + }; + + AllowClear.prototype._handleKeyboardClear = function (_, evt, container) { + if (container.isOpen()) { + return; + } + + if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) { + this._handleClear(evt); + } + }; + + AllowClear.prototype.update = function (decorated, data) { + decorated.call(this, data); + + if (this.$selection.find('.select2-selection__placeholder').length > 0 || + data.length === 0) { + return; + } + + var removeAll = this.options.get('translations').get('removeAllItems'); + + var $remove = $( + '' + + '×' + + '' + ); + Utils.StoreData($remove[0], 'data', data); + + this.$selection.find('.select2-selection__rendered').prepend($remove); + }; + + return AllowClear; +}); + +S2.define('select2/selection/search',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function Search (decorated, $element, options) { + decorated.call(this, $element, options); + } + + Search.prototype.render = function (decorated) { + var $search = $( + '' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + var $rendered = decorated.call(this); + + this._transferTabIndex(); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('open', function () { + self.$search.trigger('focus'); + }); + + container.on('close', function () { + self.$search.val(''); + self.$search.removeAttr('aria-activedescendant'); + self.$search.trigger('focus'); + }); + + container.on('enable', function () { + self.$search.prop('disabled', false); + + self._transferTabIndex(); + }); + + container.on('disable', function () { + self.$search.prop('disabled', true); + }); + + container.on('focus', function (evt) { + self.$search.trigger('focus'); + }); + + container.on('results:focus', function (params) { + self.$search.attr('aria-activedescendant', params.id); + }); + + this.$selection.on('focusin', '.select2-search--inline', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('focusout', '.select2-search--inline', function (evt) { + self._handleBlur(evt); + }); + + this.$selection.on('keydown', '.select2-search--inline', function (evt) { + evt.stopPropagation(); + + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + + var key = evt.which; + + if (key === KEYS.BACKSPACE && self.$search.val() === '') { + var $previousChoice = self.$searchContainer + .prev('.select2-selection__choice'); + + if ($previousChoice.length > 0) { + var item = Utils.GetData($previousChoice[0], 'data'); + + self.searchRemoveChoice(item); + + evt.preventDefault(); + } + } + }); + + // Try to detect the IE version should the `documentMode` property that + // is stored on the document. This is only implemented in IE and is + // slightly cleaner than doing a user agent check. + // This property is not available in Edge, but Edge also doesn't have + // this bug. + var msie = document.documentMode; + var disableInputEvents = msie && msie <= 11; + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$selection.on( + 'input.searchcheck', + '.select2-search--inline', + function (evt) { + // IE will trigger the `input` event when a placeholder is used on a + // search box. To get around this issue, we are forced to ignore all + // `input` events in IE and keep using `keyup`. + if (disableInputEvents) { + self.$selection.off('input.search input.searchcheck'); + return; + } + + // Unbind the duplicated `keyup` event + self.$selection.off('keyup.search'); + } + ); + + this.$selection.on( + 'keyup.search input.search', + '.select2-search--inline', + function (evt) { + // IE will trigger the `input` event when a placeholder is used on a + // search box. To get around this issue, we are forced to ignore all + // `input` events in IE and keep using `keyup`. + if (disableInputEvents && evt.type === 'input') { + self.$selection.off('input.search input.searchcheck'); + return; + } + + var key = evt.which; + + // We can freely ignore events from modifier keys + if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) { + return; + } + + // Tabbing will be handled during the `keydown` phase + if (key == KEYS.TAB) { + return; + } + + self.handleSearch(evt); + } + ); + }; + + /** + * This method will transfer the tabindex attribute from the rendered + * selection to the search box. This allows for the search box to be used as + * the primary focus instead of the selection container. + * + * @private + */ + Search.prototype._transferTabIndex = function (decorated) { + this.$search.attr('tabindex', this.$selection.attr('tabindex')); + this.$selection.attr('tabindex', '-1'); + }; + + Search.prototype.createPlaceholder = function (decorated, placeholder) { + this.$search.attr('placeholder', placeholder.text); + }; + + Search.prototype.update = function (decorated, data) { + var searchHadFocus = this.$search[0] == document.activeElement; + + this.$search.attr('placeholder', ''); + + decorated.call(this, data); + + this.$selection.find('.select2-selection__rendered') + .append(this.$searchContainer); + + this.resizeSearch(); + if (searchHadFocus) { + var isTagInput = this.$element.find('[data-select2-tag]').length; + if (isTagInput) { + // fix IE11 bug where tag input lost focus + this.$element.focus(); + } else { + this.$search.focus(); + } + } + }; + + Search.prototype.handleSearch = function () { + this.resizeSearch(); + + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.searchRemoveChoice = function (decorated, item) { + this.trigger('unselect', { + data: item + }); + + this.$search.val(item.text); + this.handleSearch(); + }; + + Search.prototype.resizeSearch = function () { + this.$search.css('width', '25px'); + + var width = ''; + + if (this.$search.attr('placeholder') !== '') { + width = this.$selection.find('.select2-selection__rendered').innerWidth(); + } else { + var minimumWidth = this.$search.val().length + 1; + + width = (minimumWidth * 0.75) + 'em'; + } + + this.$search.css('width', width); + }; + + return Search; +}); + +S2.define('select2/selection/eventRelay',[ + 'jquery' +], function ($) { + function EventRelay () { } + + EventRelay.prototype.bind = function (decorated, container, $container) { + var self = this; + var relayEvents = [ + 'open', 'opening', + 'close', 'closing', + 'select', 'selecting', + 'unselect', 'unselecting', + 'clear', 'clearing' + ]; + + var preventableEvents = [ + 'opening', 'closing', 'selecting', 'unselecting', 'clearing' + ]; + + decorated.call(this, container, $container); + + container.on('*', function (name, params) { + // Ignore events that should not be relayed + if ($.inArray(name, relayEvents) === -1) { + return; + } + + // The parameters should always be an object + params = params || {}; + + // Generate the jQuery event for the Select2 event + var evt = $.Event('select2:' + name, { + params: params + }); + + self.$element.trigger(evt); + + // Only handle preventable events if it was one + if ($.inArray(name, preventableEvents) === -1) { + return; + } + + params.prevented = evt.isDefaultPrevented(); + }); + }; + + return EventRelay; +}); + +S2.define('select2/translation',[ + 'jquery', + 'require' +], function ($, require) { + function Translation (dict) { + this.dict = dict || {}; + } + + Translation.prototype.all = function () { + return this.dict; + }; + + Translation.prototype.get = function (key) { + return this.dict[key]; + }; + + Translation.prototype.extend = function (translation) { + this.dict = $.extend({}, translation.all(), this.dict); + }; + + // Static functions + + Translation._cache = {}; + + Translation.loadPath = function (path) { + if (!(path in Translation._cache)) { + var translations = require(path); + + Translation._cache[path] = translations; + } + + return new Translation(Translation._cache[path]); + }; + + return Translation; +}); + +S2.define('select2/diacritics',[ + +], function () { + var diacritics = { + '\u24B6': 'A', + '\uFF21': 'A', + '\u00C0': 'A', + '\u00C1': 'A', + '\u00C2': 'A', + '\u1EA6': 'A', + '\u1EA4': 'A', + '\u1EAA': 'A', + '\u1EA8': 'A', + '\u00C3': 'A', + '\u0100': 'A', + '\u0102': 'A', + '\u1EB0': 'A', + '\u1EAE': 'A', + '\u1EB4': 'A', + '\u1EB2': 'A', + '\u0226': 'A', + '\u01E0': 'A', + '\u00C4': 'A', + '\u01DE': 'A', + '\u1EA2': 'A', + '\u00C5': 'A', + '\u01FA': 'A', + '\u01CD': 'A', + '\u0200': 'A', + '\u0202': 'A', + '\u1EA0': 'A', + '\u1EAC': 'A', + '\u1EB6': 'A', + '\u1E00': 'A', + '\u0104': 'A', + '\u023A': 'A', + '\u2C6F': 'A', + '\uA732': 'AA', + '\u00C6': 'AE', + '\u01FC': 'AE', + '\u01E2': 'AE', + '\uA734': 'AO', + '\uA736': 'AU', + '\uA738': 'AV', + '\uA73A': 'AV', + '\uA73C': 'AY', + '\u24B7': 'B', + '\uFF22': 'B', + '\u1E02': 'B', + '\u1E04': 'B', + '\u1E06': 'B', + '\u0243': 'B', + '\u0182': 'B', + '\u0181': 'B', + '\u24B8': 'C', + '\uFF23': 'C', + '\u0106': 'C', + '\u0108': 'C', + '\u010A': 'C', + '\u010C': 'C', + '\u00C7': 'C', + '\u1E08': 'C', + '\u0187': 'C', + '\u023B': 'C', + '\uA73E': 'C', + '\u24B9': 'D', + '\uFF24': 'D', + '\u1E0A': 'D', + '\u010E': 'D', + '\u1E0C': 'D', + '\u1E10': 'D', + '\u1E12': 'D', + '\u1E0E': 'D', + '\u0110': 'D', + '\u018B': 'D', + '\u018A': 'D', + '\u0189': 'D', + '\uA779': 'D', + '\u01F1': 'DZ', + '\u01C4': 'DZ', + '\u01F2': 'Dz', + '\u01C5': 'Dz', + '\u24BA': 'E', + '\uFF25': 'E', + '\u00C8': 'E', + '\u00C9': 'E', + '\u00CA': 'E', + '\u1EC0': 'E', + '\u1EBE': 'E', + '\u1EC4': 'E', + '\u1EC2': 'E', + '\u1EBC': 'E', + '\u0112': 'E', + '\u1E14': 'E', + '\u1E16': 'E', + '\u0114': 'E', + '\u0116': 'E', + '\u00CB': 'E', + '\u1EBA': 'E', + '\u011A': 'E', + '\u0204': 'E', + '\u0206': 'E', + '\u1EB8': 'E', + '\u1EC6': 'E', + '\u0228': 'E', + '\u1E1C': 'E', + '\u0118': 'E', + '\u1E18': 'E', + '\u1E1A': 'E', + '\u0190': 'E', + '\u018E': 'E', + '\u24BB': 'F', + '\uFF26': 'F', + '\u1E1E': 'F', + '\u0191': 'F', + '\uA77B': 'F', + '\u24BC': 'G', + '\uFF27': 'G', + '\u01F4': 'G', + '\u011C': 'G', + '\u1E20': 'G', + '\u011E': 'G', + '\u0120': 'G', + '\u01E6': 'G', + '\u0122': 'G', + '\u01E4': 'G', + '\u0193': 'G', + '\uA7A0': 'G', + '\uA77D': 'G', + '\uA77E': 'G', + '\u24BD': 'H', + '\uFF28': 'H', + '\u0124': 'H', + '\u1E22': 'H', + '\u1E26': 'H', + '\u021E': 'H', + '\u1E24': 'H', + '\u1E28': 'H', + '\u1E2A': 'H', + '\u0126': 'H', + '\u2C67': 'H', + '\u2C75': 'H', + '\uA78D': 'H', + '\u24BE': 'I', + '\uFF29': 'I', + '\u00CC': 'I', + '\u00CD': 'I', + '\u00CE': 'I', + '\u0128': 'I', + '\u012A': 'I', + '\u012C': 'I', + '\u0130': 'I', + '\u00CF': 'I', + '\u1E2E': 'I', + '\u1EC8': 'I', + '\u01CF': 'I', + '\u0208': 'I', + '\u020A': 'I', + '\u1ECA': 'I', + '\u012E': 'I', + '\u1E2C': 'I', + '\u0197': 'I', + '\u24BF': 'J', + '\uFF2A': 'J', + '\u0134': 'J', + '\u0248': 'J', + '\u24C0': 'K', + '\uFF2B': 'K', + '\u1E30': 'K', + '\u01E8': 'K', + '\u1E32': 'K', + '\u0136': 'K', + '\u1E34': 'K', + '\u0198': 'K', + '\u2C69': 'K', + '\uA740': 'K', + '\uA742': 'K', + '\uA744': 'K', + '\uA7A2': 'K', + '\u24C1': 'L', + '\uFF2C': 'L', + '\u013F': 'L', + '\u0139': 'L', + '\u013D': 'L', + '\u1E36': 'L', + '\u1E38': 'L', + '\u013B': 'L', + '\u1E3C': 'L', + '\u1E3A': 'L', + '\u0141': 'L', + '\u023D': 'L', + '\u2C62': 'L', + '\u2C60': 'L', + '\uA748': 'L', + '\uA746': 'L', + '\uA780': 'L', + '\u01C7': 'LJ', + '\u01C8': 'Lj', + '\u24C2': 'M', + '\uFF2D': 'M', + '\u1E3E': 'M', + '\u1E40': 'M', + '\u1E42': 'M', + '\u2C6E': 'M', + '\u019C': 'M', + '\u24C3': 'N', + '\uFF2E': 'N', + '\u01F8': 'N', + '\u0143': 'N', + '\u00D1': 'N', + '\u1E44': 'N', + '\u0147': 'N', + '\u1E46': 'N', + '\u0145': 'N', + '\u1E4A': 'N', + '\u1E48': 'N', + '\u0220': 'N', + '\u019D': 'N', + '\uA790': 'N', + '\uA7A4': 'N', + '\u01CA': 'NJ', + '\u01CB': 'Nj', + '\u24C4': 'O', + '\uFF2F': 'O', + '\u00D2': 'O', + '\u00D3': 'O', + '\u00D4': 'O', + '\u1ED2': 'O', + '\u1ED0': 'O', + '\u1ED6': 'O', + '\u1ED4': 'O', + '\u00D5': 'O', + '\u1E4C': 'O', + '\u022C': 'O', + '\u1E4E': 'O', + '\u014C': 'O', + '\u1E50': 'O', + '\u1E52': 'O', + '\u014E': 'O', + '\u022E': 'O', + '\u0230': 'O', + '\u00D6': 'O', + '\u022A': 'O', + '\u1ECE': 'O', + '\u0150': 'O', + '\u01D1': 'O', + '\u020C': 'O', + '\u020E': 'O', + '\u01A0': 'O', + '\u1EDC': 'O', + '\u1EDA': 'O', + '\u1EE0': 'O', + '\u1EDE': 'O', + '\u1EE2': 'O', + '\u1ECC': 'O', + '\u1ED8': 'O', + '\u01EA': 'O', + '\u01EC': 'O', + '\u00D8': 'O', + '\u01FE': 'O', + '\u0186': 'O', + '\u019F': 'O', + '\uA74A': 'O', + '\uA74C': 'O', + '\u0152': 'OE', + '\u01A2': 'OI', + '\uA74E': 'OO', + '\u0222': 'OU', + '\u24C5': 'P', + '\uFF30': 'P', + '\u1E54': 'P', + '\u1E56': 'P', + '\u01A4': 'P', + '\u2C63': 'P', + '\uA750': 'P', + '\uA752': 'P', + '\uA754': 'P', + '\u24C6': 'Q', + '\uFF31': 'Q', + '\uA756': 'Q', + '\uA758': 'Q', + '\u024A': 'Q', + '\u24C7': 'R', + '\uFF32': 'R', + '\u0154': 'R', + '\u1E58': 'R', + '\u0158': 'R', + '\u0210': 'R', + '\u0212': 'R', + '\u1E5A': 'R', + '\u1E5C': 'R', + '\u0156': 'R', + '\u1E5E': 'R', + '\u024C': 'R', + '\u2C64': 'R', + '\uA75A': 'R', + '\uA7A6': 'R', + '\uA782': 'R', + '\u24C8': 'S', + '\uFF33': 'S', + '\u1E9E': 'S', + '\u015A': 'S', + '\u1E64': 'S', + '\u015C': 'S', + '\u1E60': 'S', + '\u0160': 'S', + '\u1E66': 'S', + '\u1E62': 'S', + '\u1E68': 'S', + '\u0218': 'S', + '\u015E': 'S', + '\u2C7E': 'S', + '\uA7A8': 'S', + '\uA784': 'S', + '\u24C9': 'T', + '\uFF34': 'T', + '\u1E6A': 'T', + '\u0164': 'T', + '\u1E6C': 'T', + '\u021A': 'T', + '\u0162': 'T', + '\u1E70': 'T', + '\u1E6E': 'T', + '\u0166': 'T', + '\u01AC': 'T', + '\u01AE': 'T', + '\u023E': 'T', + '\uA786': 'T', + '\uA728': 'TZ', + '\u24CA': 'U', + '\uFF35': 'U', + '\u00D9': 'U', + '\u00DA': 'U', + '\u00DB': 'U', + '\u0168': 'U', + '\u1E78': 'U', + '\u016A': 'U', + '\u1E7A': 'U', + '\u016C': 'U', + '\u00DC': 'U', + '\u01DB': 'U', + '\u01D7': 'U', + '\u01D5': 'U', + '\u01D9': 'U', + '\u1EE6': 'U', + '\u016E': 'U', + '\u0170': 'U', + '\u01D3': 'U', + '\u0214': 'U', + '\u0216': 'U', + '\u01AF': 'U', + '\u1EEA': 'U', + '\u1EE8': 'U', + '\u1EEE': 'U', + '\u1EEC': 'U', + '\u1EF0': 'U', + '\u1EE4': 'U', + '\u1E72': 'U', + '\u0172': 'U', + '\u1E76': 'U', + '\u1E74': 'U', + '\u0244': 'U', + '\u24CB': 'V', + '\uFF36': 'V', + '\u1E7C': 'V', + '\u1E7E': 'V', + '\u01B2': 'V', + '\uA75E': 'V', + '\u0245': 'V', + '\uA760': 'VY', + '\u24CC': 'W', + '\uFF37': 'W', + '\u1E80': 'W', + '\u1E82': 'W', + '\u0174': 'W', + '\u1E86': 'W', + '\u1E84': 'W', + '\u1E88': 'W', + '\u2C72': 'W', + '\u24CD': 'X', + '\uFF38': 'X', + '\u1E8A': 'X', + '\u1E8C': 'X', + '\u24CE': 'Y', + '\uFF39': 'Y', + '\u1EF2': 'Y', + '\u00DD': 'Y', + '\u0176': 'Y', + '\u1EF8': 'Y', + '\u0232': 'Y', + '\u1E8E': 'Y', + '\u0178': 'Y', + '\u1EF6': 'Y', + '\u1EF4': 'Y', + '\u01B3': 'Y', + '\u024E': 'Y', + '\u1EFE': 'Y', + '\u24CF': 'Z', + '\uFF3A': 'Z', + '\u0179': 'Z', + '\u1E90': 'Z', + '\u017B': 'Z', + '\u017D': 'Z', + '\u1E92': 'Z', + '\u1E94': 'Z', + '\u01B5': 'Z', + '\u0224': 'Z', + '\u2C7F': 'Z', + '\u2C6B': 'Z', + '\uA762': 'Z', + '\u24D0': 'a', + '\uFF41': 'a', + '\u1E9A': 'a', + '\u00E0': 'a', + '\u00E1': 'a', + '\u00E2': 'a', + '\u1EA7': 'a', + '\u1EA5': 'a', + '\u1EAB': 'a', + '\u1EA9': 'a', + '\u00E3': 'a', + '\u0101': 'a', + '\u0103': 'a', + '\u1EB1': 'a', + '\u1EAF': 'a', + '\u1EB5': 'a', + '\u1EB3': 'a', + '\u0227': 'a', + '\u01E1': 'a', + '\u00E4': 'a', + '\u01DF': 'a', + '\u1EA3': 'a', + '\u00E5': 'a', + '\u01FB': 'a', + '\u01CE': 'a', + '\u0201': 'a', + '\u0203': 'a', + '\u1EA1': 'a', + '\u1EAD': 'a', + '\u1EB7': 'a', + '\u1E01': 'a', + '\u0105': 'a', + '\u2C65': 'a', + '\u0250': 'a', + '\uA733': 'aa', + '\u00E6': 'ae', + '\u01FD': 'ae', + '\u01E3': 'ae', + '\uA735': 'ao', + '\uA737': 'au', + '\uA739': 'av', + '\uA73B': 'av', + '\uA73D': 'ay', + '\u24D1': 'b', + '\uFF42': 'b', + '\u1E03': 'b', + '\u1E05': 'b', + '\u1E07': 'b', + '\u0180': 'b', + '\u0183': 'b', + '\u0253': 'b', + '\u24D2': 'c', + '\uFF43': 'c', + '\u0107': 'c', + '\u0109': 'c', + '\u010B': 'c', + '\u010D': 'c', + '\u00E7': 'c', + '\u1E09': 'c', + '\u0188': 'c', + '\u023C': 'c', + '\uA73F': 'c', + '\u2184': 'c', + '\u24D3': 'd', + '\uFF44': 'd', + '\u1E0B': 'd', + '\u010F': 'd', + '\u1E0D': 'd', + '\u1E11': 'd', + '\u1E13': 'd', + '\u1E0F': 'd', + '\u0111': 'd', + '\u018C': 'd', + '\u0256': 'd', + '\u0257': 'd', + '\uA77A': 'd', + '\u01F3': 'dz', + '\u01C6': 'dz', + '\u24D4': 'e', + '\uFF45': 'e', + '\u00E8': 'e', + '\u00E9': 'e', + '\u00EA': 'e', + '\u1EC1': 'e', + '\u1EBF': 'e', + '\u1EC5': 'e', + '\u1EC3': 'e', + '\u1EBD': 'e', + '\u0113': 'e', + '\u1E15': 'e', + '\u1E17': 'e', + '\u0115': 'e', + '\u0117': 'e', + '\u00EB': 'e', + '\u1EBB': 'e', + '\u011B': 'e', + '\u0205': 'e', + '\u0207': 'e', + '\u1EB9': 'e', + '\u1EC7': 'e', + '\u0229': 'e', + '\u1E1D': 'e', + '\u0119': 'e', + '\u1E19': 'e', + '\u1E1B': 'e', + '\u0247': 'e', + '\u025B': 'e', + '\u01DD': 'e', + '\u24D5': 'f', + '\uFF46': 'f', + '\u1E1F': 'f', + '\u0192': 'f', + '\uA77C': 'f', + '\u24D6': 'g', + '\uFF47': 'g', + '\u01F5': 'g', + '\u011D': 'g', + '\u1E21': 'g', + '\u011F': 'g', + '\u0121': 'g', + '\u01E7': 'g', + '\u0123': 'g', + '\u01E5': 'g', + '\u0260': 'g', + '\uA7A1': 'g', + '\u1D79': 'g', + '\uA77F': 'g', + '\u24D7': 'h', + '\uFF48': 'h', + '\u0125': 'h', + '\u1E23': 'h', + '\u1E27': 'h', + '\u021F': 'h', + '\u1E25': 'h', + '\u1E29': 'h', + '\u1E2B': 'h', + '\u1E96': 'h', + '\u0127': 'h', + '\u2C68': 'h', + '\u2C76': 'h', + '\u0265': 'h', + '\u0195': 'hv', + '\u24D8': 'i', + '\uFF49': 'i', + '\u00EC': 'i', + '\u00ED': 'i', + '\u00EE': 'i', + '\u0129': 'i', + '\u012B': 'i', + '\u012D': 'i', + '\u00EF': 'i', + '\u1E2F': 'i', + '\u1EC9': 'i', + '\u01D0': 'i', + '\u0209': 'i', + '\u020B': 'i', + '\u1ECB': 'i', + '\u012F': 'i', + '\u1E2D': 'i', + '\u0268': 'i', + '\u0131': 'i', + '\u24D9': 'j', + '\uFF4A': 'j', + '\u0135': 'j', + '\u01F0': 'j', + '\u0249': 'j', + '\u24DA': 'k', + '\uFF4B': 'k', + '\u1E31': 'k', + '\u01E9': 'k', + '\u1E33': 'k', + '\u0137': 'k', + '\u1E35': 'k', + '\u0199': 'k', + '\u2C6A': 'k', + '\uA741': 'k', + '\uA743': 'k', + '\uA745': 'k', + '\uA7A3': 'k', + '\u24DB': 'l', + '\uFF4C': 'l', + '\u0140': 'l', + '\u013A': 'l', + '\u013E': 'l', + '\u1E37': 'l', + '\u1E39': 'l', + '\u013C': 'l', + '\u1E3D': 'l', + '\u1E3B': 'l', + '\u017F': 'l', + '\u0142': 'l', + '\u019A': 'l', + '\u026B': 'l', + '\u2C61': 'l', + '\uA749': 'l', + '\uA781': 'l', + '\uA747': 'l', + '\u01C9': 'lj', + '\u24DC': 'm', + '\uFF4D': 'm', + '\u1E3F': 'm', + '\u1E41': 'm', + '\u1E43': 'm', + '\u0271': 'm', + '\u026F': 'm', + '\u24DD': 'n', + '\uFF4E': 'n', + '\u01F9': 'n', + '\u0144': 'n', + '\u00F1': 'n', + '\u1E45': 'n', + '\u0148': 'n', + '\u1E47': 'n', + '\u0146': 'n', + '\u1E4B': 'n', + '\u1E49': 'n', + '\u019E': 'n', + '\u0272': 'n', + '\u0149': 'n', + '\uA791': 'n', + '\uA7A5': 'n', + '\u01CC': 'nj', + '\u24DE': 'o', + '\uFF4F': 'o', + '\u00F2': 'o', + '\u00F3': 'o', + '\u00F4': 'o', + '\u1ED3': 'o', + '\u1ED1': 'o', + '\u1ED7': 'o', + '\u1ED5': 'o', + '\u00F5': 'o', + '\u1E4D': 'o', + '\u022D': 'o', + '\u1E4F': 'o', + '\u014D': 'o', + '\u1E51': 'o', + '\u1E53': 'o', + '\u014F': 'o', + '\u022F': 'o', + '\u0231': 'o', + '\u00F6': 'o', + '\u022B': 'o', + '\u1ECF': 'o', + '\u0151': 'o', + '\u01D2': 'o', + '\u020D': 'o', + '\u020F': 'o', + '\u01A1': 'o', + '\u1EDD': 'o', + '\u1EDB': 'o', + '\u1EE1': 'o', + '\u1EDF': 'o', + '\u1EE3': 'o', + '\u1ECD': 'o', + '\u1ED9': 'o', + '\u01EB': 'o', + '\u01ED': 'o', + '\u00F8': 'o', + '\u01FF': 'o', + '\u0254': 'o', + '\uA74B': 'o', + '\uA74D': 'o', + '\u0275': 'o', + '\u0153': 'oe', + '\u01A3': 'oi', + '\u0223': 'ou', + '\uA74F': 'oo', + '\u24DF': 'p', + '\uFF50': 'p', + '\u1E55': 'p', + '\u1E57': 'p', + '\u01A5': 'p', + '\u1D7D': 'p', + '\uA751': 'p', + '\uA753': 'p', + '\uA755': 'p', + '\u24E0': 'q', + '\uFF51': 'q', + '\u024B': 'q', + '\uA757': 'q', + '\uA759': 'q', + '\u24E1': 'r', + '\uFF52': 'r', + '\u0155': 'r', + '\u1E59': 'r', + '\u0159': 'r', + '\u0211': 'r', + '\u0213': 'r', + '\u1E5B': 'r', + '\u1E5D': 'r', + '\u0157': 'r', + '\u1E5F': 'r', + '\u024D': 'r', + '\u027D': 'r', + '\uA75B': 'r', + '\uA7A7': 'r', + '\uA783': 'r', + '\u24E2': 's', + '\uFF53': 's', + '\u00DF': 's', + '\u015B': 's', + '\u1E65': 's', + '\u015D': 's', + '\u1E61': 's', + '\u0161': 's', + '\u1E67': 's', + '\u1E63': 's', + '\u1E69': 's', + '\u0219': 's', + '\u015F': 's', + '\u023F': 's', + '\uA7A9': 's', + '\uA785': 's', + '\u1E9B': 's', + '\u24E3': 't', + '\uFF54': 't', + '\u1E6B': 't', + '\u1E97': 't', + '\u0165': 't', + '\u1E6D': 't', + '\u021B': 't', + '\u0163': 't', + '\u1E71': 't', + '\u1E6F': 't', + '\u0167': 't', + '\u01AD': 't', + '\u0288': 't', + '\u2C66': 't', + '\uA787': 't', + '\uA729': 'tz', + '\u24E4': 'u', + '\uFF55': 'u', + '\u00F9': 'u', + '\u00FA': 'u', + '\u00FB': 'u', + '\u0169': 'u', + '\u1E79': 'u', + '\u016B': 'u', + '\u1E7B': 'u', + '\u016D': 'u', + '\u00FC': 'u', + '\u01DC': 'u', + '\u01D8': 'u', + '\u01D6': 'u', + '\u01DA': 'u', + '\u1EE7': 'u', + '\u016F': 'u', + '\u0171': 'u', + '\u01D4': 'u', + '\u0215': 'u', + '\u0217': 'u', + '\u01B0': 'u', + '\u1EEB': 'u', + '\u1EE9': 'u', + '\u1EEF': 'u', + '\u1EED': 'u', + '\u1EF1': 'u', + '\u1EE5': 'u', + '\u1E73': 'u', + '\u0173': 'u', + '\u1E77': 'u', + '\u1E75': 'u', + '\u0289': 'u', + '\u24E5': 'v', + '\uFF56': 'v', + '\u1E7D': 'v', + '\u1E7F': 'v', + '\u028B': 'v', + '\uA75F': 'v', + '\u028C': 'v', + '\uA761': 'vy', + '\u24E6': 'w', + '\uFF57': 'w', + '\u1E81': 'w', + '\u1E83': 'w', + '\u0175': 'w', + '\u1E87': 'w', + '\u1E85': 'w', + '\u1E98': 'w', + '\u1E89': 'w', + '\u2C73': 'w', + '\u24E7': 'x', + '\uFF58': 'x', + '\u1E8B': 'x', + '\u1E8D': 'x', + '\u24E8': 'y', + '\uFF59': 'y', + '\u1EF3': 'y', + '\u00FD': 'y', + '\u0177': 'y', + '\u1EF9': 'y', + '\u0233': 'y', + '\u1E8F': 'y', + '\u00FF': 'y', + '\u1EF7': 'y', + '\u1E99': 'y', + '\u1EF5': 'y', + '\u01B4': 'y', + '\u024F': 'y', + '\u1EFF': 'y', + '\u24E9': 'z', + '\uFF5A': 'z', + '\u017A': 'z', + '\u1E91': 'z', + '\u017C': 'z', + '\u017E': 'z', + '\u1E93': 'z', + '\u1E95': 'z', + '\u01B6': 'z', + '\u0225': 'z', + '\u0240': 'z', + '\u2C6C': 'z', + '\uA763': 'z', + '\u0386': '\u0391', + '\u0388': '\u0395', + '\u0389': '\u0397', + '\u038A': '\u0399', + '\u03AA': '\u0399', + '\u038C': '\u039F', + '\u038E': '\u03A5', + '\u03AB': '\u03A5', + '\u038F': '\u03A9', + '\u03AC': '\u03B1', + '\u03AD': '\u03B5', + '\u03AE': '\u03B7', + '\u03AF': '\u03B9', + '\u03CA': '\u03B9', + '\u0390': '\u03B9', + '\u03CC': '\u03BF', + '\u03CD': '\u03C5', + '\u03CB': '\u03C5', + '\u03B0': '\u03C5', + '\u03CE': '\u03C9', + '\u03C2': '\u03C3', + '\u2019': '\'' + }; + + return diacritics; +}); + +S2.define('select2/data/base',[ + '../utils' +], function (Utils) { + function BaseAdapter ($element, options) { + BaseAdapter.__super__.constructor.call(this); + } + + Utils.Extend(BaseAdapter, Utils.Observable); + + BaseAdapter.prototype.current = function (callback) { + throw new Error('The `current` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.query = function (params, callback) { + throw new Error('The `query` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.bind = function (container, $container) { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.destroy = function () { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.generateResultId = function (container, data) { + var id = container.id + '-result-'; + + id += Utils.generateChars(4); + + if (data.id != null) { + id += '-' + data.id.toString(); + } else { + id += '-' + Utils.generateChars(4); + } + return id; + }; + + return BaseAdapter; +}); + +S2.define('select2/data/select',[ + './base', + '../utils', + 'jquery' +], function (BaseAdapter, Utils, $) { + function SelectAdapter ($element, options) { + this.$element = $element; + this.options = options; + + SelectAdapter.__super__.constructor.call(this); + } + + Utils.Extend(SelectAdapter, BaseAdapter); + + SelectAdapter.prototype.current = function (callback) { + var data = []; + var self = this; + + this.$element.find(':selected').each(function () { + var $option = $(this); + + var option = self.item($option); + + data.push(option); + }); + + callback(data); + }; + + SelectAdapter.prototype.select = function (data) { + var self = this; + + data.selected = true; + + // If data.element is a DOM node, use it instead + if ($(data.element).is('option')) { + data.element.selected = true; + + this.$element.trigger('change'); + + return; + } + + if (this.$element.prop('multiple')) { + this.current(function (currentData) { + var val = []; + + data = [data]; + data.push.apply(data, currentData); + + for (var d = 0; d < data.length; d++) { + var id = data[d].id; + + if ($.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + self.$element.trigger('change'); + }); + } else { + var val = data.id; + + this.$element.val(val); + this.$element.trigger('change'); + } + }; + + SelectAdapter.prototype.unselect = function (data) { + var self = this; + + if (!this.$element.prop('multiple')) { + return; + } + + data.selected = false; + + if ($(data.element).is('option')) { + data.element.selected = false; + + this.$element.trigger('change'); + + return; + } + + this.current(function (currentData) { + var val = []; + + for (var d = 0; d < currentData.length; d++) { + var id = currentData[d].id; + + if (id !== data.id && $.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + + self.$element.trigger('change'); + }); + }; + + SelectAdapter.prototype.bind = function (container, $container) { + var self = this; + + this.container = container; + + container.on('select', function (params) { + self.select(params.data); + }); + + container.on('unselect', function (params) { + self.unselect(params.data); + }); + }; + + SelectAdapter.prototype.destroy = function () { + // Remove anything added to child elements + this.$element.find('*').each(function () { + // Remove any custom data set by Select2 + Utils.RemoveData(this); + }); + }; + + SelectAdapter.prototype.query = function (params, callback) { + var data = []; + var self = this; + + var $options = this.$element.children(); + + $options.each(function () { + var $option = $(this); + + if (!$option.is('option') && !$option.is('optgroup')) { + return; + } + + var option = self.item($option); + + var matches = self.matches(params, option); + + if (matches !== null) { + data.push(matches); + } + }); + + callback({ + results: data + }); + }; + + SelectAdapter.prototype.addOptions = function ($options) { + Utils.appendMany(this.$element, $options); + }; + + SelectAdapter.prototype.option = function (data) { + var option; + + if (data.children) { + option = document.createElement('optgroup'); + option.label = data.text; + } else { + option = document.createElement('option'); + + if (option.textContent !== undefined) { + option.textContent = data.text; + } else { + option.innerText = data.text; + } + } + + if (data.id !== undefined) { + option.value = data.id; + } + + if (data.disabled) { + option.disabled = true; + } + + if (data.selected) { + option.selected = true; + } + + if (data.title) { + option.title = data.title; + } + + var $option = $(option); + + var normalizedData = this._normalizeItem(data); + normalizedData.element = option; + + // Override the option's data with the combined data + Utils.StoreData(option, 'data', normalizedData); + + return $option; + }; + + SelectAdapter.prototype.item = function ($option) { + var data = {}; + + data = Utils.GetData($option[0], 'data'); + + if (data != null) { + return data; + } + + if ($option.is('option')) { + data = { + id: $option.val(), + text: $option.text(), + disabled: $option.prop('disabled'), + selected: $option.prop('selected'), + title: $option.prop('title') + }; + } else if ($option.is('optgroup')) { + data = { + text: $option.prop('label'), + children: [], + title: $option.prop('title') + }; + + var $children = $option.children('option'); + var children = []; + + for (var c = 0; c < $children.length; c++) { + var $child = $($children[c]); + + var child = this.item($child); + + children.push(child); + } + + data.children = children; + } + + data = this._normalizeItem(data); + data.element = $option[0]; + + Utils.StoreData($option[0], 'data', data); + + return data; + }; + + SelectAdapter.prototype._normalizeItem = function (item) { + if (item !== Object(item)) { + item = { + id: item, + text: item + }; + } + + item = $.extend({}, { + text: '' + }, item); + + var defaults = { + selected: false, + disabled: false + }; + + if (item.id != null) { + item.id = item.id.toString(); + } + + if (item.text != null) { + item.text = item.text.toString(); + } + + if (item._resultId == null && item.id && this.container != null) { + item._resultId = this.generateResultId(this.container, item); + } + + return $.extend({}, defaults, item); + }; + + SelectAdapter.prototype.matches = function (params, data) { + var matcher = this.options.get('matcher'); + + return matcher(params, data); + }; + + return SelectAdapter; +}); + +S2.define('select2/data/array',[ + './select', + '../utils', + 'jquery' +], function (SelectAdapter, Utils, $) { + function ArrayAdapter ($element, options) { + var data = options.get('data') || []; + + ArrayAdapter.__super__.constructor.call(this, $element, options); + + this.addOptions(this.convertToOptions(data)); + } + + Utils.Extend(ArrayAdapter, SelectAdapter); + + ArrayAdapter.prototype.select = function (data) { + var $option = this.$element.find('option').filter(function (i, elm) { + return elm.value == data.id.toString(); + }); + + if ($option.length === 0) { + $option = this.option(data); + + this.addOptions($option); + } + + ArrayAdapter.__super__.select.call(this, data); + }; + + ArrayAdapter.prototype.convertToOptions = function (data) { + var self = this; + + var $existing = this.$element.find('option'); + var existingIds = $existing.map(function () { + return self.item($(this)).id; + }).get(); + + var $options = []; + + // Filter out all items except for the one passed in the argument + function onlyItem (item) { + return function () { + return $(this).val() == item.id; + }; + } + + for (var d = 0; d < data.length; d++) { + var item = this._normalizeItem(data[d]); + + // Skip items which were pre-loaded, only merge the data + if ($.inArray(item.id, existingIds) >= 0) { + var $existingOption = $existing.filter(onlyItem(item)); + + var existingData = this.item($existingOption); + var newData = $.extend(true, {}, item, existingData); + + var $newOption = this.option(newData); + + $existingOption.replaceWith($newOption); + + continue; + } + + var $option = this.option(item); + + if (item.children) { + var $children = this.convertToOptions(item.children); + + Utils.appendMany($option, $children); + } + + $options.push($option); + } + + return $options; + }; + + return ArrayAdapter; +}); + +S2.define('select2/data/ajax',[ + './array', + '../utils', + 'jquery' +], function (ArrayAdapter, Utils, $) { + function AjaxAdapter ($element, options) { + this.ajaxOptions = this._applyDefaults(options.get('ajax')); + + if (this.ajaxOptions.processResults != null) { + this.processResults = this.ajaxOptions.processResults; + } + + AjaxAdapter.__super__.constructor.call(this, $element, options); + } + + Utils.Extend(AjaxAdapter, ArrayAdapter); + + AjaxAdapter.prototype._applyDefaults = function (options) { + var defaults = { + data: function (params) { + return $.extend({}, params, { + q: params.term + }); + }, + transport: function (params, success, failure) { + var $request = $.ajax(params); + + $request.then(success); + $request.fail(failure); + + return $request; + } + }; + + return $.extend({}, defaults, options, true); + }; + + AjaxAdapter.prototype.processResults = function (results) { + return results; + }; + + AjaxAdapter.prototype.query = function (params, callback) { + var matches = []; + var self = this; + + if (this._request != null) { + // JSONP requests cannot always be aborted + if ($.isFunction(this._request.abort)) { + this._request.abort(); + } + + this._request = null; + } + + var options = $.extend({ + type: 'GET' + }, this.ajaxOptions); + + if (typeof options.url === 'function') { + options.url = options.url.call(this.$element, params); + } + + if (typeof options.data === 'function') { + options.data = options.data.call(this.$element, params); + } + + function request () { + var $request = options.transport(options, function (data) { + var results = self.processResults(data, params); + + if (self.options.get('debug') && window.console && console.error) { + // Check to make sure that the response included a `results` key. + if (!results || !results.results || !$.isArray(results.results)) { + console.error( + 'Select2: The AJAX results did not return an array in the ' + + '`results` key of the response.' + ); + } + } + + callback(results); + }, function () { + // Attempt to detect if a request was aborted + // Only works if the transport exposes a status property + if ('status' in $request && + ($request.status === 0 || $request.status === '0')) { + return; + } + + self.trigger('results:message', { + message: 'errorLoading' + }); + }); + + self._request = $request; + } + + if (this.ajaxOptions.delay && params.term != null) { + if (this._queryTimeout) { + window.clearTimeout(this._queryTimeout); + } + + this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay); + } else { + request(); + } + }; + + return AjaxAdapter; +}); + +S2.define('select2/data/tags',[ + 'jquery' +], function ($) { + function Tags (decorated, $element, options) { + var tags = options.get('tags'); + + var createTag = options.get('createTag'); + + if (createTag !== undefined) { + this.createTag = createTag; + } + + var insertTag = options.get('insertTag'); + + if (insertTag !== undefined) { + this.insertTag = insertTag; + } + + decorated.call(this, $element, options); + + if ($.isArray(tags)) { + for (var t = 0; t < tags.length; t++) { + var tag = tags[t]; + var item = this._normalizeItem(tag); + + var $option = this.option(item); + + this.$element.append($option); + } + } + } + + Tags.prototype.query = function (decorated, params, callback) { + var self = this; + + this._removeOldTags(); + + if (params.term == null || params.page != null) { + decorated.call(this, params, callback); + return; + } + + function wrapper (obj, child) { + var data = obj.results; + + for (var i = 0; i < data.length; i++) { + var option = data[i]; + + var checkChildren = ( + option.children != null && + !wrapper({ + results: option.children + }, true) + ); + + var optionText = (option.text || '').toUpperCase(); + var paramsTerm = (params.term || '').toUpperCase(); + + var checkText = optionText === paramsTerm; + + if (checkText || checkChildren) { + if (child) { + return false; + } + + obj.data = data; + callback(obj); + + return; + } + } + + if (child) { + return true; + } + + var tag = self.createTag(params); + + if (tag != null) { + var $option = self.option(tag); + $option.attr('data-select2-tag', true); + + self.addOptions([$option]); + + self.insertTag(data, tag); + } + + obj.results = data; + + callback(obj); + } + + decorated.call(this, params, wrapper); + }; + + Tags.prototype.createTag = function (decorated, params) { + var term = $.trim(params.term); + + if (term === '') { + return null; + } + + return { + id: term, + text: term + }; + }; + + Tags.prototype.insertTag = function (_, data, tag) { + data.unshift(tag); + }; + + Tags.prototype._removeOldTags = function (_) { + var tag = this._lastTag; + + var $options = this.$element.find('option[data-select2-tag]'); + + $options.each(function () { + if (this.selected) { + return; + } + + $(this).remove(); + }); + }; + + return Tags; +}); + +S2.define('select2/data/tokenizer',[ + 'jquery' +], function ($) { + function Tokenizer (decorated, $element, options) { + var tokenizer = options.get('tokenizer'); + + if (tokenizer !== undefined) { + this.tokenizer = tokenizer; + } + + decorated.call(this, $element, options); + } + + Tokenizer.prototype.bind = function (decorated, container, $container) { + decorated.call(this, container, $container); + + this.$search = container.dropdown.$search || container.selection.$search || + $container.find('.select2-search__field'); + }; + + Tokenizer.prototype.query = function (decorated, params, callback) { + var self = this; + + function createAndSelect (data) { + // Normalize the data object so we can use it for checks + var item = self._normalizeItem(data); + + // Check if the data object already exists as a tag + // Select it if it doesn't + var $existingOptions = self.$element.find('option').filter(function () { + return $(this).val() === item.id; + }); + + // If an existing option wasn't found for it, create the option + if (!$existingOptions.length) { + var $option = self.option(item); + $option.attr('data-select2-tag', true); + + self._removeOldTags(); + self.addOptions([$option]); + } + + // Select the item, now that we know there is an option for it + select(item); + } + + function select (data) { + self.trigger('select', { + data: data + }); + } + + params.term = params.term || ''; + + var tokenData = this.tokenizer(params, this.options, createAndSelect); + + if (tokenData.term !== params.term) { + // Replace the search term if we have the search box + if (this.$search.length) { + this.$search.val(tokenData.term); + this.$search.focus(); + } + + params.term = tokenData.term; + } + + decorated.call(this, params, callback); + }; + + Tokenizer.prototype.tokenizer = function (_, params, options, callback) { + var separators = options.get('tokenSeparators') || []; + var term = params.term; + var i = 0; + + var createTag = this.createTag || function (params) { + return { + id: params.term, + text: params.term + }; + }; + + while (i < term.length) { + var termChar = term[i]; + + if ($.inArray(termChar, separators) === -1) { + i++; + + continue; + } + + var part = term.substr(0, i); + var partParams = $.extend({}, params, { + term: part + }); + + var data = createTag(partParams); + + if (data == null) { + i++; + continue; + } + + callback(data); + + // Reset the term to not include the tokenized portion + term = term.substr(i + 1) || ''; + i = 0; + } + + return { + term: term + }; + }; + + return Tokenizer; +}); + +S2.define('select2/data/minimumInputLength',[ + +], function () { + function MinimumInputLength (decorated, $e, options) { + this.minimumInputLength = options.get('minimumInputLength'); + + decorated.call(this, $e, options); + } + + MinimumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (params.term.length < this.minimumInputLength) { + this.trigger('results:message', { + message: 'inputTooShort', + args: { + minimum: this.minimumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MinimumInputLength; +}); + +S2.define('select2/data/maximumInputLength',[ + +], function () { + function MaximumInputLength (decorated, $e, options) { + this.maximumInputLength = options.get('maximumInputLength'); + + decorated.call(this, $e, options); + } + + MaximumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (this.maximumInputLength > 0 && + params.term.length > this.maximumInputLength) { + this.trigger('results:message', { + message: 'inputTooLong', + args: { + maximum: this.maximumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MaximumInputLength; +}); + +S2.define('select2/data/maximumSelectionLength',[ + +], function (){ + function MaximumSelectionLength (decorated, $e, options) { + this.maximumSelectionLength = options.get('maximumSelectionLength'); + + decorated.call(this, $e, options); + } + + MaximumSelectionLength.prototype.query = + function (decorated, params, callback) { + var self = this; + + this.current(function (currentData) { + var count = currentData != null ? currentData.length : 0; + if (self.maximumSelectionLength > 0 && + count >= self.maximumSelectionLength) { + self.trigger('results:message', { + message: 'maximumSelected', + args: { + maximum: self.maximumSelectionLength + } + }); + return; + } + decorated.call(self, params, callback); + }); + }; + + return MaximumSelectionLength; +}); + +S2.define('select2/dropdown',[ + 'jquery', + './utils' +], function ($, Utils) { + function Dropdown ($element, options) { + this.$element = $element; + this.options = options; + + Dropdown.__super__.constructor.call(this); + } + + Utils.Extend(Dropdown, Utils.Observable); + + Dropdown.prototype.render = function () { + var $dropdown = $( + '' + + '' + + '' + ); + + $dropdown.attr('dir', this.options.get('dir')); + + this.$dropdown = $dropdown; + + return $dropdown; + }; + + Dropdown.prototype.bind = function () { + // Should be implemented in subclasses + }; + + Dropdown.prototype.position = function ($dropdown, $container) { + // Should be implemented in subclasses + }; + + Dropdown.prototype.destroy = function () { + // Remove the dropdown from the DOM + this.$dropdown.remove(); + }; + + return Dropdown; +}); + +S2.define('select2/dropdown/search',[ + 'jquery', + '../utils' +], function ($, Utils) { + function Search () { } + + Search.prototype.render = function (decorated) { + var $rendered = decorated.call(this); + + var $search = $( + '' + + '' + + '' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + $rendered.prepend($search); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + this.$search.on('keydown', function (evt) { + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + }); + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$search.on('input', function (evt) { + // Unbind the duplicated `keyup` event + $(this).off('keyup'); + }); + + this.$search.on('keyup input', function (evt) { + self.handleSearch(evt); + }); + + container.on('open', function () { + self.$search.attr('tabindex', 0); + + self.$search.focus(); + + window.setTimeout(function () { + self.$search.focus(); + }, 0); + }); + + container.on('close', function () { + self.$search.attr('tabindex', -1); + + self.$search.val(''); + self.$search.blur(); + }); + + container.on('focus', function () { + if (!container.isOpen()) { + self.$search.focus(); + } + }); + + container.on('results:all', function (params) { + if (params.query.term == null || params.query.term === '') { + var showSearch = self.showSearch(params); + + if (showSearch) { + self.$searchContainer.removeClass('select2-search--hide'); + } else { + self.$searchContainer.addClass('select2-search--hide'); + } + } + }); + }; + + Search.prototype.handleSearch = function (evt) { + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.showSearch = function (_, params) { + return true; + }; + + return Search; +}); + +S2.define('select2/dropdown/hidePlaceholder',[ + +], function () { + function HidePlaceholder (decorated, $element, options, dataAdapter) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options, dataAdapter); + } + + HidePlaceholder.prototype.append = function (decorated, data) { + data.results = this.removePlaceholder(data.results); + + decorated.call(this, data); + }; + + HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + HidePlaceholder.prototype.removePlaceholder = function (_, data) { + var modifiedData = data.slice(0); + + for (var d = data.length - 1; d >= 0; d--) { + var item = data[d]; + + if (this.placeholder.id === item.id) { + modifiedData.splice(d, 1); + } + } + + return modifiedData; + }; + + return HidePlaceholder; +}); + +S2.define('select2/dropdown/infiniteScroll',[ + 'jquery' +], function ($) { + function InfiniteScroll (decorated, $element, options, dataAdapter) { + this.lastParams = {}; + + decorated.call(this, $element, options, dataAdapter); + + this.$loadingMore = this.createLoadingMore(); + this.loading = false; + } + + InfiniteScroll.prototype.append = function (decorated, data) { + this.$loadingMore.remove(); + this.loading = false; + + decorated.call(this, data); + + if (this.showLoadingMore(data)) { + this.$results.append(this.$loadingMore); + } + }; + + InfiniteScroll.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('query', function (params) { + self.lastParams = params; + self.loading = true; + }); + + container.on('query:append', function (params) { + self.lastParams = params; + self.loading = true; + }); + + this.$results.on('scroll', function () { + var isLoadMoreVisible = $.contains( + document.documentElement, + self.$loadingMore[0] + ); + + if (self.loading || !isLoadMoreVisible) { + return; + } + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var loadingMoreOffset = self.$loadingMore.offset().top + + self.$loadingMore.outerHeight(false); + + if (currentOffset + 50 >= loadingMoreOffset) { + self.loadMore(); + } + }); + }; + + InfiniteScroll.prototype.loadMore = function () { + this.loading = true; + + var params = $.extend({}, {page: 1}, this.lastParams); + + params.page++; + + this.trigger('query:append', params); + }; + + InfiniteScroll.prototype.showLoadingMore = function (_, data) { + return data.pagination && data.pagination.more; + }; + + InfiniteScroll.prototype.createLoadingMore = function () { + var $option = $( + '
            • ' + ); + + var message = this.options.get('translations').get('loadingMore'); + + $option.html(message(this.lastParams)); + + return $option; + }; + + return InfiniteScroll; +}); + +S2.define('select2/dropdown/attachBody',[ + 'jquery', + '../utils' +], function ($, Utils) { + function AttachBody (decorated, $element, options) { + this.$dropdownParent = options.get('dropdownParent') || $(document.body); + + decorated.call(this, $element, options); + } + + AttachBody.prototype.bind = function (decorated, container, $container) { + var self = this; + + var setupResultsEvents = false; + + decorated.call(this, container, $container); + + container.on('open', function () { + self._showDropdown(); + self._attachPositioningHandler(container); + + if (!setupResultsEvents) { + setupResultsEvents = true; + + container.on('results:all', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + + container.on('results:append', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + } + }); + + container.on('close', function () { + self._hideDropdown(); + self._detachPositioningHandler(container); + }); + + this.$dropdownContainer.on('mousedown', function (evt) { + evt.stopPropagation(); + }); + }; + + AttachBody.prototype.destroy = function (decorated) { + decorated.call(this); + + this.$dropdownContainer.remove(); + }; + + AttachBody.prototype.position = function (decorated, $dropdown, $container) { + // Clone all of the container classes + $dropdown.attr('class', $container.attr('class')); + + $dropdown.removeClass('select2'); + $dropdown.addClass('select2-container--open'); + + $dropdown.css({ + position: 'absolute', + top: -999999 + }); + + this.$container = $container; + }; + + AttachBody.prototype.render = function (decorated) { + var $container = $(''); + + var $dropdown = decorated.call(this); + $container.append($dropdown); + + this.$dropdownContainer = $container; + + return $container; + }; + + AttachBody.prototype._hideDropdown = function (decorated) { + this.$dropdownContainer.detach(); + }; + + AttachBody.prototype._attachPositioningHandler = + function (decorated, container) { + var self = this; + + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.each(function () { + Utils.StoreData(this, 'select2-scroll-position', { + x: $(this).scrollLeft(), + y: $(this).scrollTop() + }); + }); + + $watchers.on(scrollEvent, function (ev) { + var position = Utils.GetData(this, 'select2-scroll-position'); + $(this).scrollTop(position.y); + }); + + $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, + function (e) { + self._positionDropdown(); + self._resizeDropdown(); + }); + }; + + AttachBody.prototype._detachPositioningHandler = + function (decorated, container) { + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.off(scrollEvent); + + $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent); + }; + + AttachBody.prototype._positionDropdown = function () { + var $window = $(window); + + var isCurrentlyAbove = this.$dropdown.hasClass('select2-dropdown--above'); + var isCurrentlyBelow = this.$dropdown.hasClass('select2-dropdown--below'); + + var newDirection = null; + + var offset = this.$container.offset(); + + offset.bottom = offset.top + this.$container.outerHeight(false); + + var container = { + height: this.$container.outerHeight(false) + }; + + container.top = offset.top; + container.bottom = offset.top + container.height; + + var dropdown = { + height: this.$dropdown.outerHeight(false) + }; + + var viewport = { + top: $window.scrollTop(), + bottom: $window.scrollTop() + $window.height() + }; + + var enoughRoomAbove = viewport.top < (offset.top - dropdown.height); + var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height); + + var css = { + left: offset.left, + top: container.bottom + }; + + // Determine what the parent element is to use for calculating the offset + var $offsetParent = this.$dropdownParent; + + // For statically positioned elements, we need to get the element + // that is determining the offset + if ($offsetParent.css('position') === 'static') { + $offsetParent = $offsetParent.offsetParent(); + } + + var parentOffset = $offsetParent.offset(); + + css.top -= parentOffset.top; + css.left -= parentOffset.left; + + if (!isCurrentlyAbove && !isCurrentlyBelow) { + newDirection = 'below'; + } + + if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { + newDirection = 'above'; + } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { + newDirection = 'below'; + } + + if (newDirection == 'above' || + (isCurrentlyAbove && newDirection !== 'below')) { + css.top = container.top - parentOffset.top - dropdown.height; + } + + if (newDirection != null) { + this.$dropdown + .removeClass('select2-dropdown--below select2-dropdown--above') + .addClass('select2-dropdown--' + newDirection); + this.$container + .removeClass('select2-container--below select2-container--above') + .addClass('select2-container--' + newDirection); + } + + this.$dropdownContainer.css(css); + }; + + AttachBody.prototype._resizeDropdown = function () { + var css = { + width: this.$container.outerWidth(false) + 'px' + }; + + if (this.options.get('dropdownAutoWidth')) { + css.minWidth = css.width; + css.position = 'relative'; + css.width = 'auto'; + } + + this.$dropdown.css(css); + }; + + AttachBody.prototype._showDropdown = function (decorated) { + this.$dropdownContainer.appendTo(this.$dropdownParent); + + this._positionDropdown(); + this._resizeDropdown(); + }; + + return AttachBody; +}); + +S2.define('select2/dropdown/minimumResultsForSearch',[ + +], function () { + function countResults (data) { + var count = 0; + + for (var d = 0; d < data.length; d++) { + var item = data[d]; + + if (item.children) { + count += countResults(item.children); + } else { + count++; + } + } + + return count; + } + + function MinimumResultsForSearch (decorated, $element, options, dataAdapter) { + this.minimumResultsForSearch = options.get('minimumResultsForSearch'); + + if (this.minimumResultsForSearch < 0) { + this.minimumResultsForSearch = Infinity; + } + + decorated.call(this, $element, options, dataAdapter); + } + + MinimumResultsForSearch.prototype.showSearch = function (decorated, params) { + if (countResults(params.data.results) < this.minimumResultsForSearch) { + return false; + } + + return decorated.call(this, params); + }; + + return MinimumResultsForSearch; +}); + +S2.define('select2/dropdown/selectOnClose',[ + '../utils' +], function (Utils) { + function SelectOnClose () { } + + SelectOnClose.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('close', function (params) { + self._handleSelectOnClose(params); + }); + }; + + SelectOnClose.prototype._handleSelectOnClose = function (_, params) { + if (params && params.originalSelect2Event != null) { + var event = params.originalSelect2Event; + + // Don't select an item if the close event was triggered from a select or + // unselect event + if (event._type === 'select' || event._type === 'unselect') { + return; + } + } + + var $highlightedResults = this.getHighlightedResults(); + + // Only select highlighted results + if ($highlightedResults.length < 1) { + return; + } + + var data = Utils.GetData($highlightedResults[0], 'data'); + + // Don't re-select already selected resulte + if ( + (data.element != null && data.element.selected) || + (data.element == null && data.selected) + ) { + return; + } + + this.trigger('select', { + data: data + }); + }; + + return SelectOnClose; +}); + +S2.define('select2/dropdown/closeOnSelect',[ + +], function () { + function CloseOnSelect () { } + + CloseOnSelect.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('select', function (evt) { + self._selectTriggered(evt); + }); + + container.on('unselect', function (evt) { + self._selectTriggered(evt); + }); + }; + + CloseOnSelect.prototype._selectTriggered = function (_, evt) { + var originalEvent = evt.originalEvent; + + // Don't close if the control key is being held + if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) { + return; + } + + this.trigger('close', { + originalEvent: originalEvent, + originalSelect2Event: evt + }); + }; + + return CloseOnSelect; +}); + +S2.define('select2/i18n/en',[],function () { + // English + return { + errorLoading: function () { + return 'The results could not be loaded.'; + }, + inputTooLong: function (args) { + var overChars = args.input.length - args.maximum; + + var message = 'Please delete ' + overChars + ' character'; + + if (overChars != 1) { + message += 's'; + } + + return message; + }, + inputTooShort: function (args) { + var remainingChars = args.minimum - args.input.length; + + var message = 'Please enter ' + remainingChars + ' or more characters'; + + return message; + }, + loadingMore: function () { + return 'Loading more results…'; + }, + maximumSelected: function (args) { + var message = 'You can only select ' + args.maximum + ' item'; + + if (args.maximum != 1) { + message += 's'; + } + + return message; + }, + noResults: function () { + return 'No results found'; + }, + searching: function () { + return 'Searching…'; + }, + removeAllItems: function () { + return 'Remove all items'; + } + }; +}); + +S2.define('select2/defaults',[ + 'jquery', + 'require', + + './results', + + './selection/single', + './selection/multiple', + './selection/placeholder', + './selection/allowClear', + './selection/search', + './selection/eventRelay', + + './utils', + './translation', + './diacritics', + + './data/select', + './data/array', + './data/ajax', + './data/tags', + './data/tokenizer', + './data/minimumInputLength', + './data/maximumInputLength', + './data/maximumSelectionLength', + + './dropdown', + './dropdown/search', + './dropdown/hidePlaceholder', + './dropdown/infiniteScroll', + './dropdown/attachBody', + './dropdown/minimumResultsForSearch', + './dropdown/selectOnClose', + './dropdown/closeOnSelect', + + './i18n/en' +], function ($, require, + + ResultsList, + + SingleSelection, MultipleSelection, Placeholder, AllowClear, + SelectionSearch, EventRelay, + + Utils, Translation, DIACRITICS, + + SelectData, ArrayData, AjaxData, Tags, Tokenizer, + MinimumInputLength, MaximumInputLength, MaximumSelectionLength, + + Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, + AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, + + EnglishTranslation) { + function Defaults () { + this.reset(); + } + + Defaults.prototype.apply = function (options) { + options = $.extend(true, {}, this.defaults, options); + + if (options.dataAdapter == null) { + if (options.ajax != null) { + options.dataAdapter = AjaxData; + } else if (options.data != null) { + options.dataAdapter = ArrayData; + } else { + options.dataAdapter = SelectData; + } + + if (options.minimumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MinimumInputLength + ); + } + + if (options.maximumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumInputLength + ); + } + + if (options.maximumSelectionLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumSelectionLength + ); + } + + if (options.tags) { + options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); + } + + if (options.tokenSeparators != null || options.tokenizer != null) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Tokenizer + ); + } + + if (options.query != null) { + var Query = require(options.amdBase + 'compat/query'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Query + ); + } + + if (options.initSelection != null) { + var InitSelection = require(options.amdBase + 'compat/initSelection'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + InitSelection + ); + } + } + + if (options.resultsAdapter == null) { + options.resultsAdapter = ResultsList; + + if (options.ajax != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + InfiniteScroll + ); + } + + if (options.placeholder != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + HidePlaceholder + ); + } + + if (options.selectOnClose) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + SelectOnClose + ); + } + } + + if (options.dropdownAdapter == null) { + if (options.multiple) { + options.dropdownAdapter = Dropdown; + } else { + var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch); + + options.dropdownAdapter = SearchableDropdown; + } + + if (options.minimumResultsForSearch !== 0) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + MinimumResultsForSearch + ); + } + + if (options.closeOnSelect) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + CloseOnSelect + ); + } + + if ( + options.dropdownCssClass != null || + options.dropdownCss != null || + options.adaptDropdownCssClass != null + ) { + var DropdownCSS = require(options.amdBase + 'compat/dropdownCss'); + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + DropdownCSS + ); + } + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + AttachBody + ); + } + + if (options.selectionAdapter == null) { + if (options.multiple) { + options.selectionAdapter = MultipleSelection; + } else { + options.selectionAdapter = SingleSelection; + } + + // Add the placeholder mixin if a placeholder was specified + if (options.placeholder != null) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + Placeholder + ); + } + + if (options.allowClear) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + AllowClear + ); + } + + if (options.multiple) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + SelectionSearch + ); + } + + if ( + options.containerCssClass != null || + options.containerCss != null || + options.adaptContainerCssClass != null + ) { + var ContainerCSS = require(options.amdBase + 'compat/containerCss'); + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + ContainerCSS + ); + } + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + EventRelay + ); + } + + if (typeof options.language === 'string') { + // Check if the language is specified with a region + if (options.language.indexOf('-') > 0) { + // Extract the region information if it is included + var languageParts = options.language.split('-'); + var baseLanguage = languageParts[0]; + + options.language = [options.language, baseLanguage]; + } else { + options.language = [options.language]; + } + } + + if ($.isArray(options.language)) { + var languages = new Translation(); + options.language.push('en'); + + var languageNames = options.language; + + for (var l = 0; l < languageNames.length; l++) { + var name = languageNames[l]; + var language = {}; + + try { + // Try to load it with the original name + language = Translation.loadPath(name); + } catch (e) { + try { + // If we couldn't load it, check if it wasn't the full path + name = this.defaults.amdLanguageBase + name; + language = Translation.loadPath(name); + } catch (ex) { + // The translation could not be loaded at all. Sometimes this is + // because of a configuration problem, other times this can be + // because of how Select2 helps load all possible translation files. + if (options.debug && window.console && console.warn) { + console.warn( + 'Select2: The language file for "' + name + '" could not be ' + + 'automatically loaded. A fallback will be used instead.' + ); + } + + continue; + } + } + + languages.extend(language); + } + + options.translations = languages; + } else { + var baseTranslation = Translation.loadPath( + this.defaults.amdLanguageBase + 'en' + ); + var customTranslation = new Translation(options.language); + + customTranslation.extend(baseTranslation); + + options.translations = customTranslation; + } + + return options; + }; + + Defaults.prototype.reset = function () { + function stripDiacritics (text) { + // Used 'uni range + named function' from http://jsperf.com/diacritics/18 + function match(a) { + return DIACRITICS[a] || a; + } + + return text.replace(/[^\u0000-\u007E]/g, match); + } + + function matcher (params, data) { + // Always return the object if there is nothing to compare + if ($.trim(params.term) === '') { + return data; + } + + // Do a recursive check for options with children + if (data.children && data.children.length > 0) { + // Clone the data object if there are children + // This is required as we modify the object to remove any non-matches + var match = $.extend(true, {}, data); + + // Check each child of the option + for (var c = data.children.length - 1; c >= 0; c--) { + var child = data.children[c]; + + var matches = matcher(params, child); + + // If there wasn't a match, remove the object in the array + if (matches == null) { + match.children.splice(c, 1); + } + } + + // If any children matched, return the new object + if (match.children.length > 0) { + return match; + } + + // If there were no matching children, check just the plain object + return matcher(params, match); + } + + var original = stripDiacritics(data.text).toUpperCase(); + var term = stripDiacritics(params.term).toUpperCase(); + + // Check if the text contains the term + if (original.indexOf(term) > -1) { + return data; + } + + // If it doesn't contain the term, don't return anything + return null; + } + + this.defaults = { + amdBase: './', + amdLanguageBase: './i18n/', + closeOnSelect: true, + debug: false, + dropdownAutoWidth: false, + escapeMarkup: Utils.escapeMarkup, + language: EnglishTranslation, + matcher: matcher, + minimumInputLength: 0, + maximumInputLength: 0, + maximumSelectionLength: 0, + minimumResultsForSearch: 0, + selectOnClose: false, + scrollAfterSelect: false, + sorter: function (data) { + return data; + }, + templateResult: function (result) { + return result.text; + }, + templateSelection: function (selection) { + return selection.text; + }, + theme: 'default', + width: 'resolve' + }; + }; + + Defaults.prototype.set = function (key, value) { + var camelKey = $.camelCase(key); + + var data = {}; + data[camelKey] = value; + + var convertedData = Utils._convertData(data); + + $.extend(true, this.defaults, convertedData); + }; + + var defaults = new Defaults(); + + return defaults; +}); + +S2.define('select2/options',[ + 'require', + 'jquery', + './defaults', + './utils' +], function (require, $, Defaults, Utils) { + function Options (options, $element) { + this.options = options; + + if ($element != null) { + this.fromElement($element); + } + + this.options = Defaults.apply(this.options); + + if ($element && $element.is('input')) { + var InputCompat = require(this.get('amdBase') + 'compat/inputData'); + + this.options.dataAdapter = Utils.Decorate( + this.options.dataAdapter, + InputCompat + ); + } + } + + Options.prototype.fromElement = function ($e) { + var excludedData = ['select2']; + + if (this.options.multiple == null) { + this.options.multiple = $e.prop('multiple'); + } + + if (this.options.disabled == null) { + this.options.disabled = $e.prop('disabled'); + } + + if (this.options.language == null) { + if ($e.prop('lang')) { + this.options.language = $e.prop('lang').toLowerCase(); + } else if ($e.closest('[lang]').prop('lang')) { + this.options.language = $e.closest('[lang]').prop('lang'); + } + } + + if (this.options.dir == null) { + if ($e.prop('dir')) { + this.options.dir = $e.prop('dir'); + } else if ($e.closest('[dir]').prop('dir')) { + this.options.dir = $e.closest('[dir]').prop('dir'); + } else { + this.options.dir = 'ltr'; + } + } + + $e.prop('disabled', this.options.disabled); + $e.prop('multiple', this.options.multiple); + + if (Utils.GetData($e[0], 'select2Tags')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-select2-tags` attribute has been changed to ' + + 'use the `data-data` and `data-tags="true"` attributes and will be ' + + 'removed in future versions of Select2.' + ); + } + + Utils.StoreData($e[0], 'data', Utils.GetData($e[0], 'select2Tags')); + Utils.StoreData($e[0], 'tags', true); + } + + if (Utils.GetData($e[0], 'ajaxUrl')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-ajax-url` attribute has been changed to ' + + '`data-ajax--url` and support for the old attribute will be removed' + + ' in future versions of Select2.' + ); + } + + $e.attr('ajax--url', Utils.GetData($e[0], 'ajaxUrl')); + Utils.StoreData($e[0], 'ajax-Url', Utils.GetData($e[0], 'ajaxUrl')); + } + + var dataset = {}; + + function upperCaseLetter(_, letter) { + return letter.toUpperCase(); + } + + // Pre-load all of the attributes which are prefixed with `data-` + for (var attr = 0; attr < $e[0].attributes.length; attr++) { + var attributeName = $e[0].attributes[attr].name; + var prefix = 'data-'; + + if (attributeName.substr(0, prefix.length) == prefix) { + // Get the contents of the attribute after `data-` + var dataName = attributeName.substring(prefix.length); + + // Get the data contents from the consistent source + // This is more than likely the jQuery data helper + var dataValue = Utils.GetData($e[0], dataName); + + // camelCase the attribute name to match the spec + var camelDataName = dataName.replace(/-([a-z])/g, upperCaseLetter); + + // Store the data attribute contents into the dataset since + dataset[camelDataName] = dataValue; + } + } + + // Prefer the element's `dataset` attribute if it exists + // jQuery 1.x does not correctly handle data attributes with multiple dashes + if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) { + dataset = $.extend(true, {}, $e[0].dataset, dataset); + } + + // Prefer our internal data cache if it exists + var data = $.extend(true, {}, Utils.GetData($e[0]), dataset); + + data = Utils._convertData(data); + + for (var key in data) { + if ($.inArray(key, excludedData) > -1) { + continue; + } + + if ($.isPlainObject(this.options[key])) { + $.extend(this.options[key], data[key]); + } else { + this.options[key] = data[key]; + } + } + + return this; + }; + + Options.prototype.get = function (key) { + return this.options[key]; + }; + + Options.prototype.set = function (key, val) { + this.options[key] = val; + }; + + return Options; +}); + +S2.define('select2/core',[ + 'jquery', + './options', + './utils', + './keys' +], function ($, Options, Utils, KEYS) { + var Select2 = function ($element, options) { + if (Utils.GetData($element[0], 'select2') != null) { + Utils.GetData($element[0], 'select2').destroy(); + } + + this.$element = $element; + + this.id = this._generateId($element); + + options = options || {}; + + this.options = new Options(options, $element); + + Select2.__super__.constructor.call(this); + + // Set up the tabindex + + var tabindex = $element.attr('tabindex') || 0; + Utils.StoreData($element[0], 'old-tabindex', tabindex); + $element.attr('tabindex', '-1'); + + // Set up containers and adapters + + var DataAdapter = this.options.get('dataAdapter'); + this.dataAdapter = new DataAdapter($element, this.options); + + var $container = this.render(); + + this._placeContainer($container); + + var SelectionAdapter = this.options.get('selectionAdapter'); + this.selection = new SelectionAdapter($element, this.options); + this.$selection = this.selection.render(); + + this.selection.position(this.$selection, $container); + + var DropdownAdapter = this.options.get('dropdownAdapter'); + this.dropdown = new DropdownAdapter($element, this.options); + this.$dropdown = this.dropdown.render(); + + this.dropdown.position(this.$dropdown, $container); + + var ResultsAdapter = this.options.get('resultsAdapter'); + this.results = new ResultsAdapter($element, this.options, this.dataAdapter); + this.$results = this.results.render(); + + this.results.position(this.$results, this.$dropdown); + + // Bind events + + var self = this; + + // Bind the container to all of the adapters + this._bindAdapters(); + + // Register any DOM event handlers + this._registerDomEvents(); + + // Register any internal event handlers + this._registerDataEvents(); + this._registerSelectionEvents(); + this._registerDropdownEvents(); + this._registerResultsEvents(); + this._registerEvents(); + + // Set the initial state + this.dataAdapter.current(function (initialData) { + self.trigger('selection:update', { + data: initialData + }); + }); + + // Hide the original select + $element.addClass('select2-hidden-accessible'); + $element.attr('aria-hidden', 'true'); + + // Synchronize any monitored attributes + this._syncAttributes(); + + Utils.StoreData($element[0], 'select2', this); + + // Ensure backwards compatibility with $element.data('select2'). + $element.data('select2', this); + }; + + Utils.Extend(Select2, Utils.Observable); + + Select2.prototype._generateId = function ($element) { + var id = ''; + + if ($element.attr('id') != null) { + id = $element.attr('id'); + } else if ($element.attr('name') != null) { + id = $element.attr('name') + '-' + Utils.generateChars(2); + } else { + id = Utils.generateChars(4); + } + + id = id.replace(/(:|\.|\[|\]|,)/g, ''); + id = 'select2-' + id; + + return id; + }; + + Select2.prototype._placeContainer = function ($container) { + $container.insertAfter(this.$element); + + var width = this._resolveWidth(this.$element, this.options.get('width')); + + if (width != null) { + $container.css('width', width); + } + }; + + Select2.prototype._resolveWidth = function ($element, method) { + var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i; + + if (method == 'resolve') { + var styleWidth = this._resolveWidth($element, 'style'); + + if (styleWidth != null) { + return styleWidth; + } + + return this._resolveWidth($element, 'element'); + } + + if (method == 'element') { + var elementWidth = $element.outerWidth(false); + + if (elementWidth <= 0) { + return 'auto'; + } + + return elementWidth + 'px'; + } + + if (method == 'style') { + var style = $element.attr('style'); + + if (typeof(style) !== 'string') { + return null; + } + + var attrs = style.split(';'); + + for (var i = 0, l = attrs.length; i < l; i = i + 1) { + var attr = attrs[i].replace(/\s/g, ''); + var matches = attr.match(WIDTH); + + if (matches !== null && matches.length >= 1) { + return matches[1]; + } + } + + return null; + } + + return method; + }; + + Select2.prototype._bindAdapters = function () { + this.dataAdapter.bind(this, this.$container); + this.selection.bind(this, this.$container); + + this.dropdown.bind(this, this.$container); + this.results.bind(this, this.$container); + }; + + Select2.prototype._registerDomEvents = function () { + var self = this; + + this.$element.on('change.select2', function () { + self.dataAdapter.current(function (data) { + self.trigger('selection:update', { + data: data + }); + }); + }); + + this.$element.on('focus.select2', function (evt) { + self.trigger('focus', evt); + }); + + this._syncA = Utils.bind(this._syncAttributes, this); + this._syncS = Utils.bind(this._syncSubtree, this); + + if (this.$element[0].attachEvent) { + this.$element[0].attachEvent('onpropertychange', this._syncA); + } + + var observer = window.MutationObserver || + window.WebKitMutationObserver || + window.MozMutationObserver + ; + + if (observer != null) { + this._observer = new observer(function (mutations) { + $.each(mutations, self._syncA); + $.each(mutations, self._syncS); + }); + this._observer.observe(this.$element[0], { + attributes: true, + childList: true, + subtree: false + }); + } else if (this.$element[0].addEventListener) { + this.$element[0].addEventListener( + 'DOMAttrModified', + self._syncA, + false + ); + this.$element[0].addEventListener( + 'DOMNodeInserted', + self._syncS, + false + ); + this.$element[0].addEventListener( + 'DOMNodeRemoved', + self._syncS, + false + ); + } + }; + + Select2.prototype._registerDataEvents = function () { + var self = this; + + this.dataAdapter.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerSelectionEvents = function () { + var self = this; + var nonRelayEvents = ['toggle', 'focus']; + + this.selection.on('toggle', function () { + self.toggleDropdown(); + }); + + this.selection.on('focus', function (params) { + self.focus(params); + }); + + this.selection.on('*', function (name, params) { + if ($.inArray(name, nonRelayEvents) !== -1) { + return; + } + + self.trigger(name, params); + }); + }; + + Select2.prototype._registerDropdownEvents = function () { + var self = this; + + this.dropdown.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerResultsEvents = function () { + var self = this; + + this.results.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerEvents = function () { + var self = this; + + this.on('open', function () { + self.$container.addClass('select2-container--open'); + }); + + this.on('close', function () { + self.$container.removeClass('select2-container--open'); + }); + + this.on('enable', function () { + self.$container.removeClass('select2-container--disabled'); + }); + + this.on('disable', function () { + self.$container.addClass('select2-container--disabled'); + }); + + this.on('blur', function () { + self.$container.removeClass('select2-container--focus'); + }); + + this.on('query', function (params) { + if (!self.isOpen()) { + self.trigger('open', {}); + } + + this.dataAdapter.query(params, function (data) { + self.trigger('results:all', { + data: data, + query: params + }); + }); + }); + + this.on('query:append', function (params) { + this.dataAdapter.query(params, function (data) { + self.trigger('results:append', { + data: data, + query: params + }); + }); + }); + + this.on('keypress', function (evt) { + var key = evt.which; + + if (self.isOpen()) { + if (key === KEYS.ESC || key === KEYS.TAB || + (key === KEYS.UP && evt.altKey)) { + self.close(); + + evt.preventDefault(); + } else if (key === KEYS.ENTER) { + self.trigger('results:select', {}); + + evt.preventDefault(); + } else if ((key === KEYS.SPACE && evt.ctrlKey)) { + self.trigger('results:toggle', {}); + + evt.preventDefault(); + } else if (key === KEYS.UP) { + self.trigger('results:previous', {}); + + evt.preventDefault(); + } else if (key === KEYS.DOWN) { + self.trigger('results:next', {}); + + evt.preventDefault(); + } + } else { + if (key === KEYS.ENTER || key === KEYS.SPACE || + (key === KEYS.DOWN && evt.altKey)) { + self.open(); + + evt.preventDefault(); + } + } + }); + }; + + Select2.prototype._syncAttributes = function () { + this.options.set('disabled', this.$element.prop('disabled')); + + if (this.options.get('disabled')) { + if (this.isOpen()) { + this.close(); + } + + this.trigger('disable', {}); + } else { + this.trigger('enable', {}); + } + }; + + Select2.prototype._syncSubtree = function (evt, mutations) { + var changed = false; + var self = this; + + // Ignore any mutation events raised for elements that aren't options or + // optgroups. This handles the case when the select element is destroyed + if ( + evt && evt.target && ( + evt.target.nodeName !== 'OPTION' && evt.target.nodeName !== 'OPTGROUP' + ) + ) { + return; + } + + if (!mutations) { + // If mutation events aren't supported, then we can only assume that the + // change affected the selections + changed = true; + } else if (mutations.addedNodes && mutations.addedNodes.length > 0) { + for (var n = 0; n < mutations.addedNodes.length; n++) { + var node = mutations.addedNodes[n]; + + if (node.selected) { + changed = true; + } + } + } else if (mutations.removedNodes && mutations.removedNodes.length > 0) { + changed = true; + } + + // Only re-pull the data if we think there is a change + if (changed) { + this.dataAdapter.current(function (currentData) { + self.trigger('selection:update', { + data: currentData + }); + }); + } + }; + + /** + * Override the trigger method to automatically trigger pre-events when + * there are events that can be prevented. + */ + Select2.prototype.trigger = function (name, args) { + var actualTrigger = Select2.__super__.trigger; + var preTriggerMap = { + 'open': 'opening', + 'close': 'closing', + 'select': 'selecting', + 'unselect': 'unselecting', + 'clear': 'clearing' + }; + + if (args === undefined) { + args = {}; + } + + if (name in preTriggerMap) { + var preTriggerName = preTriggerMap[name]; + var preTriggerArgs = { + prevented: false, + name: name, + args: args + }; + + actualTrigger.call(this, preTriggerName, preTriggerArgs); + + if (preTriggerArgs.prevented) { + args.prevented = true; + + return; + } + } + + actualTrigger.call(this, name, args); + }; + + Select2.prototype.toggleDropdown = function () { + if (this.options.get('disabled')) { + return; + } + + if (this.isOpen()) { + this.close(); + } else { + this.open(); + } + }; + + Select2.prototype.open = function () { + if (this.isOpen()) { + return; + } + + this.trigger('query', {}); + }; + + Select2.prototype.close = function () { + if (!this.isOpen()) { + return; + } + + this.trigger('close', {}); + }; + + Select2.prototype.isOpen = function () { + return this.$container.hasClass('select2-container--open'); + }; + + Select2.prototype.hasFocus = function () { + return this.$container.hasClass('select2-container--focus'); + }; + + Select2.prototype.focus = function (data) { + // No need to re-trigger focus events if we are already focused + if (this.hasFocus()) { + return; + } + + this.$container.addClass('select2-container--focus'); + this.trigger('focus', {}); + }; + + Select2.prototype.enable = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("enable")` method has been deprecated and will' + + ' be removed in later Select2 versions. Use $element.prop("disabled")' + + ' instead.' + ); + } + + if (args == null || args.length === 0) { + args = [true]; + } + + var disabled = !args[0]; + + this.$element.prop('disabled', disabled); + }; + + Select2.prototype.data = function () { + if (this.options.get('debug') && + arguments.length > 0 && window.console && console.warn) { + console.warn( + 'Select2: Data can no longer be set using `select2("data")`. You ' + + 'should consider setting the value instead using `$element.val()`.' + ); + } + + var data = []; + + this.dataAdapter.current(function (currentData) { + data = currentData; + }); + + return data; + }; + + Select2.prototype.val = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("val")` method has been deprecated and will be' + + ' removed in later Select2 versions. Use $element.val() instead.' + ); + } + + if (args == null || args.length === 0) { + return this.$element.val(); + } + + var newVal = args[0]; + + if ($.isArray(newVal)) { + newVal = $.map(newVal, function (obj) { + return obj.toString(); + }); + } + + this.$element.val(newVal).trigger('change'); + }; + + Select2.prototype.destroy = function () { + this.$container.remove(); + + if (this.$element[0].detachEvent) { + this.$element[0].detachEvent('onpropertychange', this._syncA); + } + + if (this._observer != null) { + this._observer.disconnect(); + this._observer = null; + } else if (this.$element[0].removeEventListener) { + this.$element[0] + .removeEventListener('DOMAttrModified', this._syncA, false); + this.$element[0] + .removeEventListener('DOMNodeInserted', this._syncS, false); + this.$element[0] + .removeEventListener('DOMNodeRemoved', this._syncS, false); + } + + this._syncA = null; + this._syncS = null; + + this.$element.off('.select2'); + this.$element.attr('tabindex', + Utils.GetData(this.$element[0], 'old-tabindex')); + + this.$element.removeClass('select2-hidden-accessible'); + this.$element.attr('aria-hidden', 'false'); + Utils.RemoveData(this.$element[0]); + this.$element.removeData('select2'); + + this.dataAdapter.destroy(); + this.selection.destroy(); + this.dropdown.destroy(); + this.results.destroy(); + + this.dataAdapter = null; + this.selection = null; + this.dropdown = null; + this.results = null; + }; + + Select2.prototype.render = function () { + var $container = $( + '' + + '' + + '' + + '' + ); + + $container.attr('dir', this.options.get('dir')); + + this.$container = $container; + + this.$container.addClass('select2-container--' + this.options.get('theme')); + + Utils.StoreData($container[0], 'element', this.$element); + + return $container; + }; + + return Select2; +}); + +S2.define('select2/compat/utils',[ + 'jquery' +], function ($) { + function syncCssClasses ($dest, $src, adapter) { + var classes, replacements = [], adapted; + + classes = $.trim($dest.attr('class')); + + if (classes) { + classes = '' + classes; // for IE which returns object + + $(classes.split(/\s+/)).each(function () { + // Save all Select2 classes + if (this.indexOf('select2-') === 0) { + replacements.push(this); + } + }); + } + + classes = $.trim($src.attr('class')); + + if (classes) { + classes = '' + classes; // for IE which returns object + + $(classes.split(/\s+/)).each(function () { + // Only adapt non-Select2 classes + if (this.indexOf('select2-') !== 0) { + adapted = adapter(this); + + if (adapted != null) { + replacements.push(adapted); + } + } + }); + } + + $dest.attr('class', replacements.join(' ')); + } + + return { + syncCssClasses: syncCssClasses + }; +}); + +S2.define('select2/compat/containerCss',[ + 'jquery', + './utils' +], function ($, CompatUtils) { + // No-op CSS adapter that discards all classes by default + function _containerAdapter (clazz) { + return null; + } + + function ContainerCSS () { } + + ContainerCSS.prototype.render = function (decorated) { + var $container = decorated.call(this); + + var containerCssClass = this.options.get('containerCssClass') || ''; + + if ($.isFunction(containerCssClass)) { + containerCssClass = containerCssClass(this.$element); + } + + var containerCssAdapter = this.options.get('adaptContainerCssClass'); + containerCssAdapter = containerCssAdapter || _containerAdapter; + + if (containerCssClass.indexOf(':all:') !== -1) { + containerCssClass = containerCssClass.replace(':all:', ''); + + var _cssAdapter = containerCssAdapter; + + containerCssAdapter = function (clazz) { + var adapted = _cssAdapter(clazz); + + if (adapted != null) { + // Append the old one along with the adapted one + return adapted + ' ' + clazz; + } + + return clazz; + }; + } + + var containerCss = this.options.get('containerCss') || {}; + + if ($.isFunction(containerCss)) { + containerCss = containerCss(this.$element); + } + + CompatUtils.syncCssClasses($container, this.$element, containerCssAdapter); + + $container.css(containerCss); + $container.addClass(containerCssClass); + + return $container; + }; + + return ContainerCSS; +}); + +S2.define('select2/compat/dropdownCss',[ + 'jquery', + './utils' +], function ($, CompatUtils) { + // No-op CSS adapter that discards all classes by default + function _dropdownAdapter (clazz) { + return null; + } + + function DropdownCSS () { } + + DropdownCSS.prototype.render = function (decorated) { + var $dropdown = decorated.call(this); + + var dropdownCssClass = this.options.get('dropdownCssClass') || ''; + + if ($.isFunction(dropdownCssClass)) { + dropdownCssClass = dropdownCssClass(this.$element); + } + + var dropdownCssAdapter = this.options.get('adaptDropdownCssClass'); + dropdownCssAdapter = dropdownCssAdapter || _dropdownAdapter; + + if (dropdownCssClass.indexOf(':all:') !== -1) { + dropdownCssClass = dropdownCssClass.replace(':all:', ''); + + var _cssAdapter = dropdownCssAdapter; + + dropdownCssAdapter = function (clazz) { + var adapted = _cssAdapter(clazz); + + if (adapted != null) { + // Append the old one along with the adapted one + return adapted + ' ' + clazz; + } + + return clazz; + }; + } + + var dropdownCss = this.options.get('dropdownCss') || {}; + + if ($.isFunction(dropdownCss)) { + dropdownCss = dropdownCss(this.$element); + } + + CompatUtils.syncCssClasses($dropdown, this.$element, dropdownCssAdapter); + + $dropdown.css(dropdownCss); + $dropdown.addClass(dropdownCssClass); + + return $dropdown; + }; + + return DropdownCSS; +}); + +S2.define('select2/compat/initSelection',[ + 'jquery' +], function ($) { + function InitSelection (decorated, $element, options) { + if (options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `initSelection` option has been deprecated in favor' + + ' of a custom data adapter that overrides the `current` method. ' + + 'This method is now called multiple times instead of a single ' + + 'time when the instance is initialized. Support will be removed ' + + 'for the `initSelection` option in future versions of Select2' + ); + } + + this.initSelection = options.get('initSelection'); + this._isInitialized = false; + + decorated.call(this, $element, options); + } + + InitSelection.prototype.current = function (decorated, callback) { + var self = this; + + if (this._isInitialized) { + decorated.call(this, callback); + + return; + } + + this.initSelection.call(null, this.$element, function (data) { + self._isInitialized = true; + + if (!$.isArray(data)) { + data = [data]; + } + + callback(data); + }); + }; + + return InitSelection; +}); + +S2.define('select2/compat/inputData',[ + 'jquery', + '../utils' +], function ($, Utils) { + function InputData (decorated, $element, options) { + this._currentData = []; + this._valueSeparator = options.get('valueSeparator') || ','; + + if ($element.prop('type') === 'hidden') { + if (options.get('debug') && console && console.warn) { + console.warn( + 'Select2: Using a hidden input with Select2 is no longer ' + + 'supported and may stop working in the future. It is recommended ' + + 'to use a ` in both html5 and older browsers + if ( method === "required" ) { + value = element.getAttribute( method ); + + // Some browsers return an empty string for the required attribute + // and non-HTML5 browsers might have required="" markup + if ( value === "" ) { + value = true; + } + + // Force non-HTML5 browsers to return bool + value = !!value; + } else { + value = $element.attr( method ); + } + + this.normalizeAttributeRule( rules, type, method, value ); + } + + // 'maxlength' may be returned as -1, 2147483647 ( IE ) and 524288 ( safari ) for text inputs + if ( rules.maxlength && /-1|2147483647|524288/.test( rules.maxlength ) ) { + delete rules.maxlength; + } + + return rules; + }, + + dataRules: function( element ) { + var rules = {}, + $element = $( element ), + type = element.getAttribute( "type" ), + method, value; + + for ( method in $.validator.methods ) { + value = $element.data( "rule" + method.charAt( 0 ).toUpperCase() + method.substring( 1 ).toLowerCase() ); + + // Cast empty attributes like `data-rule-required` to `true` + if ( value === "" ) { + value = true; + } + + this.normalizeAttributeRule( rules, type, method, value ); + } + return rules; + }, + + staticRules: function( element ) { + var rules = {}, + validator = $.data( element.form, "validator" ); + + if ( validator.settings.rules ) { + rules = $.validator.normalizeRule( validator.settings.rules[ element.name ] ) || {}; + } + return rules; + }, + + normalizeRules: function( rules, element ) { + + // Handle dependency check + $.each( rules, function( prop, val ) { + + // Ignore rule when param is explicitly false, eg. required:false + if ( val === false ) { + delete rules[ prop ]; + return; + } + if ( val.param || val.depends ) { + var keepRule = true; + switch ( typeof val.depends ) { + case "string": + keepRule = !!$( val.depends, element.form ).length; + break; + case "function": + keepRule = val.depends.call( element, element ); + break; + } + if ( keepRule ) { + rules[ prop ] = val.param !== undefined ? val.param : true; + } else { + $.data( element.form, "validator" ).resetElements( $( element ) ); + delete rules[ prop ]; + } + } + } ); + + // Evaluate parameters + $.each( rules, function( rule, parameter ) { + rules[ rule ] = $.isFunction( parameter ) && rule !== "normalizer" ? parameter( element ) : parameter; + } ); + + // Clean number parameters + $.each( [ "minlength", "maxlength" ], function() { + if ( rules[ this ] ) { + rules[ this ] = Number( rules[ this ] ); + } + } ); + $.each( [ "rangelength", "range" ], function() { + var parts; + if ( rules[ this ] ) { + if ( $.isArray( rules[ this ] ) ) { + rules[ this ] = [ Number( rules[ this ][ 0 ] ), Number( rules[ this ][ 1 ] ) ]; + } else if ( typeof rules[ this ] === "string" ) { + parts = rules[ this ].replace( /[\[\]]/g, "" ).split( /[\s,]+/ ); + rules[ this ] = [ Number( parts[ 0 ] ), Number( parts[ 1 ] ) ]; + } + } + } ); + + if ( $.validator.autoCreateRanges ) { + + // Auto-create ranges + if ( rules.min != null && rules.max != null ) { + rules.range = [ rules.min, rules.max ]; + delete rules.min; + delete rules.max; + } + if ( rules.minlength != null && rules.maxlength != null ) { + rules.rangelength = [ rules.minlength, rules.maxlength ]; + delete rules.minlength; + delete rules.maxlength; + } + } + + return rules; + }, + + // Converts a simple string to a {string: true} rule, e.g., "required" to {required:true} + normalizeRule: function( data ) { + if ( typeof data === "string" ) { + var transformed = {}; + $.each( data.split( /\s/ ), function() { + transformed[ this ] = true; + } ); + data = transformed; + } + return data; + }, + + // https://jqueryvalidation.org/jQuery.validator.addMethod/ + addMethod: function( name, method, message ) { + $.validator.methods[ name ] = method; + $.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ]; + if ( method.length < 3 ) { + $.validator.addClassRules( name, $.validator.normalizeRule( name ) ); + } + }, + + // https://jqueryvalidation.org/jQuery.validator.methods/ + methods: { + + // https://jqueryvalidation.org/required-method/ + required: function( value, element, param ) { + + // Check if dependency is met + if ( !this.depend( param, element ) ) { + return "dependency-mismatch"; + } + if ( element.nodeName.toLowerCase() === "select" ) { + + // Could be an array for select-multiple or a string, both are fine this way + var val = $( element ).val(); + return val && val.length > 0; + } + if ( this.checkable( element ) ) { + return this.getLength( value, element ) > 0; + } + return value !== undefined && value !== null && value.length > 0; + }, + + // https://jqueryvalidation.org/email-method/ + email: function( value, element ) { + + // From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address + // Retrieved 2014-01-14 + // If you have a problem with this implementation, report a bug against the above spec + // Or use custom methods to implement your own email validation + return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value ); + }, + + // https://jqueryvalidation.org/url-method/ + url: function( value, element ) { + + // Copyright (c) 2010-2013 Diego Perini, MIT licensed + // https://gist.github.com/dperini/729294 + // see also https://mathiasbynens.be/demo/url-regex + // modified to allow protocol-relative URLs + return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test( value ); + }, + + // https://jqueryvalidation.org/date-method/ + date: ( function() { + var called = false; + + return function( value, element ) { + if ( !called ) { + called = true; + if ( this.settings.debug && window.console ) { + console.warn( + "The `date` method is deprecated and will be removed in version '2.0.0'.\n" + + "Please don't use it, since it relies on the Date constructor, which\n" + + "behaves very differently across browsers and locales. Use `dateISO`\n" + + "instead or one of the locale specific methods in `localizations/`\n" + + "and `additional-methods.js`." + ); + } + } + + return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() ); + }; + }() ), + + // https://jqueryvalidation.org/dateISO-method/ + dateISO: function( value, element ) { + return this.optional( element ) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test( value ); + }, + + // https://jqueryvalidation.org/number-method/ + number: function( value, element ) { + return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value ); + }, + + // https://jqueryvalidation.org/digits-method/ + digits: function( value, element ) { + return this.optional( element ) || /^\d+$/.test( value ); + }, + + // https://jqueryvalidation.org/minlength-method/ + minlength: function( value, element, param ) { + var length = $.isArray( value ) ? value.length : this.getLength( value, element ); + return this.optional( element ) || length >= param; + }, + + // https://jqueryvalidation.org/maxlength-method/ + maxlength: function( value, element, param ) { + var length = $.isArray( value ) ? value.length : this.getLength( value, element ); + return this.optional( element ) || length <= param; + }, + + // https://jqueryvalidation.org/rangelength-method/ + rangelength: function( value, element, param ) { + var length = $.isArray( value ) ? value.length : this.getLength( value, element ); + return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] ); + }, + + // https://jqueryvalidation.org/min-method/ + min: function( value, element, param ) { + return this.optional( element ) || value >= param; + }, + + // https://jqueryvalidation.org/max-method/ + max: function( value, element, param ) { + return this.optional( element ) || value <= param; + }, + + // https://jqueryvalidation.org/range-method/ + range: function( value, element, param ) { + return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] ); + }, + + // https://jqueryvalidation.org/step-method/ + step: function( value, element, param ) { + var type = $( element ).attr( "type" ), + errorMessage = "Step attribute on input type " + type + " is not supported.", + supportedTypes = [ "text", "number", "range" ], + re = new RegExp( "\\b" + type + "\\b" ), + notSupported = type && !re.test( supportedTypes.join() ), + decimalPlaces = function( num ) { + var match = ( "" + num ).match( /(?:\.(\d+))?$/ ); + if ( !match ) { + return 0; + } + + // Number of digits right of decimal point. + return match[ 1 ] ? match[ 1 ].length : 0; + }, + toInt = function( num ) { + return Math.round( num * Math.pow( 10, decimals ) ); + }, + valid = true, + decimals; + + // Works only for text, number and range input types + // TODO find a way to support input types date, datetime, datetime-local, month, time and week + if ( notSupported ) { + throw new Error( errorMessage ); + } + + decimals = decimalPlaces( param ); + + // Value can't have too many decimals + if ( decimalPlaces( value ) > decimals || toInt( value ) % toInt( param ) !== 0 ) { + valid = false; + } + + return this.optional( element ) || valid; + }, + + // https://jqueryvalidation.org/equalTo-method/ + equalTo: function( value, element, param ) { + + // Bind to the blur event of the target in order to revalidate whenever the target field is updated + var target = $( param ); + if ( this.settings.onfocusout && target.not( ".validate-equalTo-blur" ).length ) { + target.addClass( "validate-equalTo-blur" ).on( "blur.validate-equalTo", function() { + $( element ).valid(); + } ); + } + return value === target.val(); + }, + + // https://jqueryvalidation.org/remote-method/ + remote: function( value, element, param, method ) { + if ( this.optional( element ) ) { + return "dependency-mismatch"; + } + + method = typeof method === "string" && method || "remote"; + + var previous = this.previousValue( element, method ), + validator, data, optionDataString; + + if ( !this.settings.messages[ element.name ] ) { + this.settings.messages[ element.name ] = {}; + } + previous.originalMessage = previous.originalMessage || this.settings.messages[ element.name ][ method ]; + this.settings.messages[ element.name ][ method ] = previous.message; + + param = typeof param === "string" && { url: param } || param; + optionDataString = $.param( $.extend( { data: value }, param.data ) ); + if ( previous.old === optionDataString ) { + return previous.valid; + } + + previous.old = optionDataString; + validator = this; + this.startRequest( element ); + data = {}; + data[ element.name ] = value; + $.ajax( $.extend( true, { + mode: "abort", + port: "validate" + element.name, + dataType: "json", + data: data, + context: validator.currentForm, + success: function( response ) { + var valid = response === true || response === "true", + errors, message, submitted; + + validator.settings.messages[ element.name ][ method ] = previous.originalMessage; + if ( valid ) { + submitted = validator.formSubmitted; + validator.resetInternals(); + validator.toHide = validator.errorsFor( element ); + validator.formSubmitted = submitted; + validator.successList.push( element ); + validator.invalid[ element.name ] = false; + validator.showErrors(); + } else { + errors = {}; + message = response || validator.defaultMessage( element, { method: method, parameters: value } ); + errors[ element.name ] = previous.message = message; + validator.invalid[ element.name ] = true; + validator.showErrors( errors ); + } + previous.valid = valid; + validator.stopRequest( element, valid ); + } + }, param ) ); + return "pending"; + } + } + +} ); + +// Ajax mode: abort +// usage: $.ajax({ mode: "abort"[, port: "uniqueport"]}); +// if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() + +var pendingRequests = {}, + ajax; + +// Use a prefilter if available (1.5+) +if ( $.ajaxPrefilter ) { + $.ajaxPrefilter( function( settings, _, xhr ) { + var port = settings.port; + if ( settings.mode === "abort" ) { + if ( pendingRequests[ port ] ) { + pendingRequests[ port ].abort(); + } + pendingRequests[ port ] = xhr; + } + } ); +} else { + + // Proxy ajax + ajax = $.ajax; + $.ajax = function( settings ) { + var mode = ( "mode" in settings ? settings : $.ajaxSettings ).mode, + port = ( "port" in settings ? settings : $.ajaxSettings ).port; + if ( mode === "abort" ) { + if ( pendingRequests[ port ] ) { + pendingRequests[ port ].abort(); + } + pendingRequests[ port ] = ajax.apply( this, arguments ); + return pendingRequests[ port ]; + } + return ajax.apply( this, arguments ); + }; +} +return $; +})); +/* + tableExport.jquery.plugin + + Version 1.10.5 + + Copyright (c) 2015-2019 hhurz, https://github.com/hhurz + + Original Work Copyright (c) 2014 Giri Raj + + Licensed under the MIT License +*/ +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,m,v){c instanceof String&&(c=String(c));for(var y=c.length,x=0;xe&&"undefined"!==typeof Q[e]&&-1!==c.inArray(Q[e],a.ignoreColumn))&&(k=!0):k=!0;return k}function C(b,d,e,k,g){if("function"===typeof g){var l=!1;"function"===typeof a.onIgnoreRow&&(l=a.onIgnoreRow(c(b),e));if(!1===l&&-1===c.inArray(e,a.ignoreRow)&&-1===c.inArray(e-k,a.ignoreRow)&&L(c(b))){var t=x(c(b),d),p=0;t.each(function(b){var a=c(this),d,l=S(this),k=T(this);c.each(E,function(){if(e>=this.s.r&& +e<=this.e.r&&p>=this.s.c&&p<=this.e.c)for(d=0;d<=this.e.c-this.s.c;++d)g(null,e,p++)});if(!1===Da(a,t.length,b)){if(k||l)l=l||1,E.push({s:{r:e,c:p},e:{r:e+(k||1)-1,c:p+l-1}});g(this,e,p++)}if(l)for(d=0;d=this.s.r&&e<=this.e.r&&p>=this.s.c&&p<=this.e.c)for(Z=0;Z<=this.e.c-this.s.c;++Z)g(null,e,p++)})}}}function na(b,a,e,c){if("undefined"!==typeof c.images&&(e=c.images[e],"undefined"!==typeof e)){a=a.getBoundingClientRect();var d=b.width/b.height,l= +a.width/a.height,k=b.width,p=b.height,f=19.049976/25.4,h=0;l<=d?(p=Math.min(b.height,a.height),k=a.width*p/a.height):l>d&&(k=Math.min(b.width,a.width),p=a.height*k/a.width);k*=f;p*=f;pb.textPos.x&&k+h>b.textPos.x+b.width&&(0<=".,!%*;:=-".indexOf(f.charAt(0))&&(m=f.charAt(0),h=e.doc.getStringUnitWidth(m)*e.doc.internal.getFontSize(),k+h<=b.textPos.x+b.width&&(e.doc.autoTableText(m,k,g,l),f=f.substring(1,f.length)),h=e.doc.getStringUnitWidth(f)*e.doc.internal.getFontSize()),k=b.textPos.x,g+=e.doc.internal.getFontSize());if("visible"!==b.styles.overflow)for(;f.length&&k+h>b.textPos.x+b.width;)f=f.substring(0,f.length-1),h=e.doc.getStringUnitWidth(f)*e.doc.internal.getFontSize(); +e.doc.autoTableText(f,k,g,l);k+=h}if(t||p)c(d).is("b")?t=!1:c(d).is("i")&&(p=!1),e.doc.setFontType(t||p?t?"bold":"italic":"normal");d=d.nextSibling}b.textPos.x=k;b.textPos.y=g}else e.doc.autoTableText(b.text,b.textPos.x,b.textPos.y,l)}}function ca(b,a,e){return null==b?"":b.toString().replace(new RegExp(null==a?"":a.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),e)}function ha(b){return null==b?"":b.toString().replace(/^\s+/,"")}function ia(b){return null==b?"":b.toString().replace(/\s+$/, +"")}function ja(b){b=ca(b||"0",a.numbers.html.thousandsSeparator,"");b=ca(b,a.numbers.html.decimalMark,".");return"number"===typeof b||!1!==jQuery.isNumeric(b)?b:!1}function Fa(b){-1]*)>)/gi,"\u2060");f=c("
              ").html(m).contents();b=!1;m="";c.each(f.text().split("\u2028"),function(b,d){0b?1:0)).split(".");1===f.length&&(f[1]="");var n=3b?"-":"")+(a.numbers.output.thousandsSeparator?(n?f[0].substr(0,n)+a.numbers.output.thousandsSeparator:"")+f[0].substr(n).replace(/(\d{3})(?=\d)/g, +"$1"+a.numbers.output.thousandsSeparator):f[0])+(f[1].length?a.numbers.output.decimalMark+f[1]:"")}}else k=l;!0===a.escape&&(k=escape(k));"function"===typeof a.onCellData&&(k=a.onCellData(g,d,e,k))}return k}function ua(b){return 0l?g+=String.fromCharCode(l):(127l?g+=String.fromCharCode(l>>6|192):(g+=String.fromCharCode(l>>12|224),g+=String.fromCharCode(l>>6&63|128)),g+=String.fromCharCode(l&63|128))}a=g}for(;f>2;t=(t&3)<<4|g>>4;var p=(g&15)<<2|b>>6;var h=b&63;isNaN(g)?p=h=64:isNaN(b)&&(h=64);c=c+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(t)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)}return c}var a={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,displayTableName:!1,escape:!1,exportHiddenCells:!1, +fileName:"tableExport",htmlContent:!1,ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null, +onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:""},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onIgnoreRow:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait", +defaultStyle:{font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},K={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09], +b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792, +1224],"credit-card":[153,243]},w=this,da=null,r=[],u=[],n=0,q="",Q=[],E=[],wa,G=[],R=!1;c.extend(!0,a,m);"xlsx"===a.type&&(a.mso.fileFormat=a.type,a.type="excel");"undefined"!==typeof a.excelFileFormat&&"undefined"===a.mso.fileFormat&&(a.mso.fileFormat=a.excelFileFormat);"undefined"!==typeof a.excelPageFormat&&"undefined"===a.mso.pageFormat&&(a.mso.pageFormat=a.excelPageFormat);"undefined"!==typeof a.excelPageOrientation&&"undefined"===a.mso.pageOrientation&&(a.mso.pageOrientation=a.excelPageOrientation); +"undefined"!==typeof a.excelRTL&&"undefined"===a.mso.rtl&&(a.mso.rtl=a.excelRTL);"undefined"!==typeof a.excelstyles&&"undefined"===a.mso.styles&&(a.mso.styles=a.excelstyles);"undefined"!==typeof a.onMsoNumberFormat&&"undefined"===a.mso.onMsoNumberFormat&&(a.mso.onMsoNumberFormat=a.onMsoNumberFormat);"undefined"!==typeof a.worksheetName&&"undefined"===a.mso.worksheetName&&(a.mso.worksheetName=a.worksheetName);a.mso.pageOrientation="l"===a.mso.pageOrientation.substr(0,1)?"landscape":"portrait";Q=P(w); +if("csv"===a.type||"tsv"===a.type||"txt"===a.type){var M="",W=0;E=[];n=0;var ka=function(b,d,e){b.each(function(){q="";C(this,d,n,e+b.length,function(b,c,d){var e=q,g="";if(null!==b)if(b=B(b,c,d),c=null===b||""===b?"":b.toString(),"tsv"===a.type)b instanceof Date&&b.toLocaleString(),g=ca(c,"\t"," ");else if(b instanceof Date)g=a.csvEnclosure+b.toLocaleString()+a.csvEnclosure;else if(g=ua(c),g=ca(g,a.csvEnclosure,a.csvEnclosure+a.csvEnclosure),0<=g.indexOf(a.csvSeparator)||/[\r\n ]/g.test(g))g=a.csvEnclosure+ +g+a.csvEnclosure;q=e+(g+("tsv"===a.type?"\t":a.csvSeparator))});q=c.trim(q).substring(0,q.length-1);0"+B(a,c,e)+""});n++});N+="";var xa=1;u=y(c(w));c(u).each(function(){var a=1;q="";C(this,"td,th",n,r.length+u.length,function(b,c,f){q+=""+B(b,c,f)+"";a++});0"!==q&&(N+=''+q+"",xa++);n++});N+="";if("string"===a.outputMode)return N;if("base64"===a.outputMode)return H(N);J(N,a.fileName+".xml", +"application/xml","utf-8","base64",!1)}else if("excel"===a.type&&"xmlss"===a.mso.fileFormat){var ma=[],z=[];c(w).filter(function(){return L(c(this))}).each(function(){function b(a,b,d){var e=[];c(a).each(function(){var b=0,g=0;q="";C(this,"td,th",n,d+a.length,function(a,d,l){if(null!==a){var f="";d=B(a,d,l);l="String";if(!1!==jQuery.isNumeric(d))l="Number";else{var k=Fa(d);!1!==k&&(d=k,l="Number",f+=' ss:StyleID="pct1"')}"Number"!==l&&(d=d.replace(/\n/g,"
              "));k=S(a);a=T(a);c.each(e,function(){if(n>= +this.s.r&&n<=this.e.r&&g>=this.s.c&&g<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)g++,b++});if(a||k)a=a||1,k=k||1,e.push({s:{r:n,c:g},e:{r:n+a-1,c:g+k-1}});1'+c("
              ").text(d).html()+"\r";g++}});0\r'+q+"\r");n++});return a.length}var d=c(this),e="";"string"=== +typeof a.mso.worksheetName&&a.mso.worksheetName.length?e=a.mso.worksheetName+" "+(z.length+1):"undefined"!==typeof a.mso.worksheetName[z.length]&&(e=a.mso.worksheetName[z.length]);e.length||(e=d.find("caption").text()||"");e.length||(e="Table "+(z.length+1));e=c.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));z.push(c("
              ").text(e).html());!1===a.exportHiddenCells&&(G=d.find("tr, th, td").filter(":hidden"),R=0\r";var f=b(v(d),"th,td",f);b(y(d),"td,th", +f);F+="\r";ma.push(F)});m={};for(var D={},h,O,V=0,Z=z.length;V\r\r\r\r '+ +(new Date).toISOString()+'\r\r\r \r\r\r 9000\r 13860\r 0\r 0\r False\r False\r\r\r \r \r \r\r'; +for(D=0;D\r'+ma[D],m=a.mso.rtl?m+'\r\r\r':m+'\r',m+="\r";m+="\r";if("string"===a.outputMode)return m;if("base64"===a.outputMode)return H(m);J(m,a.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"=== +a.type&&"xlsx"===a.mso.fileFormat){z=[];var ya=XLSX.utils.book_new();c(w).filter(function(){return L(c(this))}).each(function(){var b=c(this),d=XLSX.utils.table_to_sheet(this),e="";"string"===typeof a.mso.worksheetName&&a.mso.worksheetName.length?e=a.mso.worksheetName+" "+(z.length+1):"undefined"!==typeof a.mso.worksheetName[z.length]&&(e=a.mso.worksheetName[z.length]);e.length||(e=b.find("caption").text()||"");e.length||(e="Table "+(z.length+1));e=c.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0, +31));z.push(e);XLSX.utils.book_append_sheet(ya,d,e)});m=XLSX.write(ya,{type:"binary",bookType:a.mso.fileFormat,bookSST:!1});J(Ha(m),a.fileName+"."+a.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===a.type||"xls"===a.type||"word"===a.type||"doc"===a.type){m="excel"===a.type||"xls"===a.type?"excel":"word";D="excel"===m?"xls":"doc";h='xmlns:x="urn:schemas-microsoft-com:office:'+m+'"';var F="",X="";c(w).filter(function(){return L(c(this))}).each(function(){var b= +c(this);""===X&&(X=a.mso.worksheetName||b.find("caption").text()||"Table",X=c.trim(X.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===a.exportHiddenCells&&(G=b.find("tr, th, td").filter(":hidden"),R=0";r=v(b);c(r).each(function(){var b=c(this);q="";C(this,"th,td",n,r.length,function(c,d,g){if(null!==c){var e="",f=document.defaultView.getComputedStyle(c,null),k=document.defaultView.getComputedStyle(b[0],null);q+=""}});0"+q+"");n++});F+="";u=y(b);c(u).each(function(){var b=c(this);q="";C(this,"td,th",n,r.length+u.length,function(d,f,g){if(null!==d){var e=B(d,f,g),k="",h=c(d).data("tableexport-msonumberformat"), +m=document.defaultView.getComputedStyle(d,null),n=document.defaultView.getComputedStyle(b[0],null);"undefined"===typeof h&&"function"===typeof a.mso.onMsoNumberFormat&&(h=a.mso.onMsoNumberFormat(d,f,g));"undefined"!==typeof h&&""!==h&&(k="style=\"mso-number-format:'"+h+"'");for(var r in a.mso.styles)h=m[a.mso.styles[r]],""===h&&(h=n[a.mso.styles[r]]),""!==h&&"0px none rgb(0, 0, 0)"!==h&&"rgba(0, 0, 0, 0)"!==h&&(k+=""===k?'style="':";",k+=a.mso.styles[r]+":"+h);q+=""));q+=">"+e+""}});0"+q+"");n++});a.displayTableName&&(F+=""+B(c("

              "+a.tableName+"

              "))+"");F+=""});h=''+('')+"";"excel"===m&&(h+="\x3c!--[if gte mso 9]>",h+="",h+="",h+="",h+="",h+="",h+=X,h+="",h+="",h+="",a.mso.rtl&&(h+=""),h+="",h+="",h+="",h+="",h+="",h+="";h+="@page { size:"+a.mso.pageOrientation+"; mso-page-orientation:"+ +a.mso.pageOrientation+"; }";h+="@page Section1 {size:"+K[a.mso.pageFormat][0]+"pt "+K[a.mso.pageFormat][1]+"pt";h+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";h+="div.Section1 {page:Section1;}";h+="@page Section2 {size:"+K[a.mso.pageFormat][1]+"pt "+K[a.mso.pageFormat][0]+"pt";h+=";mso-page-orientation:"+a.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";h+="div.Section2 {page:Section2;}"; +h+="br {mso-data-placement:same-cell;}";h+="";h+="";h+="";h+='
              ';h+=F;h+="
              ";h+="";h+="";if("string"===a.outputMode)return h;if("base64"===a.outputMode)return H(h);J(h,a.fileName+"."+D,"application/vnd.ms-"+m,"","base64",!1)}else if("png"===a.type)html2canvas(c(w)[0]).then(function(b){b=b.toDataURL();for(var c=atob(b.substring(22)),e=new ArrayBuffer(c.length),f=new Uint8Array(e),g=0;gBa){a>K.a0[0]&&(ea="a0",Y="l");for(var d in K)K.hasOwnProperty(d)&&K[d][1]>a&&(ea=d,Y="l",K[d][0]>a&&(Y="p"));Ba=a}}});a.jspdf.format=""===ea?"a4":ea;a.jspdf.orientation=""===Y?"w":Y}if(null==f.doc&&(f.doc=new jsPDF(a.jspdf.orientation,a.jspdf.unit,a.jspdf.format),f.wScaleFactor=1,f.hScaleFactor=1,"function"===typeof a.jspdf.onDocCreated))a.jspdf.onDocCreated(f.doc);!0===f.outputImages&&(f.images={});"undefined"!==typeof f.images&&(c(w).filter(function(){return L(c(this))}).each(function(){var b= +0;E=[];!1===a.exportHiddenCells&&(G=c(this).find("tr, th, td").filter(":hidden"),R=0a.styles.rowHeight&&(a.styles.rowHeight=g)}a.styles.halign="inherit"===d.headerStyles.halign?"center":d.headerStyles.halign;a.styles.valign=d.headerStyles.valign;"undefined"!==typeof e.style&&!0!==e.style.hidden&&("inherit"===d.headerStyles.halign&&(a.styles.halign=e.style.align),"inherit"===d.styles.fillColor&&(a.styles.fillColor=e.style.bcolor),"inherit"===d.styles.textColor&&(a.styles.textColor=e.style.color),"inherit"===d.styles.fontStyle&&(a.styles.fontStyle=e.style.fstyle))}}); +"function"!==typeof d.createdCell&&(d.createdCell=function(a,b){b=f.teCells[b.row.index+":"+b.column.dataKey];a.styles.halign="inherit"===d.styles.halign?"center":d.styles.halign;a.styles.valign=d.styles.valign;"undefined"!==typeof b&&"undefined"!==typeof b.style&&!0!==b.style.hidden&&("inherit"===d.styles.halign&&(a.styles.halign=b.style.align),"inherit"===d.styles.fillColor&&(a.styles.fillColor=b.style.bcolor),"inherit"===d.styles.textColor&&(a.styles.textColor=b.style.color),"inherit"===d.styles.fontStyle&& +(a.styles.fontStyle=b.style.fstyle))});"function"!==typeof d.drawHeaderCell&&(d.drawHeaderCell=function(a,b){var c=f.columns[b.column.dataKey];return(!0!==c.style.hasOwnProperty("hidden")||!0!==c.style.hidden)&&0<=c.rowIndex?pa(a,b,c):!1});"function"!==typeof d.drawCell&&(d.drawCell=function(a,b){var d=f.teCells[b.row.index+":"+b.column.dataKey];if(!0!==("undefined"!==typeof d&&d.isCanvas))pa(a,b,d)&&(f.doc.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),"undefined"!==typeof d&&"undefined"!==typeof d.elements&& +d.elements.length?(b=a.height/d.rect.height,b>f.hScaleFactor&&(f.hScaleFactor=b),f.wScaleFactor=a.width/d.rect.width,b=a.textPos.y,sa(a,d.elements,f),a.textPos.y=b,ta(a,d.elements,f)):ta(a,{},f));else{d=d.elements[0];var e=c(d).attr("data-tableexport-canvas"),g=d.getBoundingClientRect();a.width=g.width*f.wScaleFactor;a.height=g.height*f.hScaleFactor;b.row.height=a.height;na(a,d,e,f)}return!1});f.headerrows=[];r=v(c(this));c(r).each(function(){b=0;f.headerrows[n]=[];C(this,"th,td",n,r.length,function(a, +c,d){var e=va(a);e.title=B(a,c,d);e.key=b++;e.rowIndex=n;f.headerrows[n].push(e)});n++});if(0
              '); + this.$input = $('').appendTo(this.$container); + + this.$element.before(this.$container); + + this.build(options); + this.isInit = false; + } + + TagsInput.prototype = { + constructor: TagsInput, + + /** + * Adds the given item as a new tag. Pass true to dontPushVal to prevent + * updating the elements val() + */ + add: function(item, dontPushVal, options) { + var self = this; + + if (self.options.maxTags && self.itemsArray.length >= self.options.maxTags) + return; + + // Ignore falsey values, except false + if (item !== false && !item) + return; + + // Trim value + if (typeof item === "string" && self.options.trimValue) { + item = $.trim(item); + } + + // Throw an error when trying to add an object while the itemValue option was not set + if (typeof item === "object" && !self.objectItems) + throw("Can't add objects when itemValue option is not set"); + + // Ignore strings only containg whitespace + if (item.toString().match(/^\s*$/)) + return; + + // If SELECT but not multiple, remove current tag + if (self.isSelect && !self.multiple && self.itemsArray.length > 0) + self.remove(self.itemsArray[0]); + + if (typeof item === "string" && this.$element[0].tagName === 'INPUT') { + var delimiter = (self.options.delimiterRegex) ? self.options.delimiterRegex : self.options.delimiter; + var items = item.split(delimiter); + if (items.length > 1) { + for (var i = 0; i < items.length; i++) { + this.add(items[i], true); + } + + if (!dontPushVal) + self.pushVal(self.options.triggerChange); + return; + } + } + + var itemValue = self.options.itemValue(item), + itemText = self.options.itemText(item), + tagClass = self.options.tagClass(item), + itemTitle = self.options.itemTitle(item); + + // Ignore items allready added + var existing = $.grep(self.itemsArray, function(item) { return self.options.itemValue(item) === itemValue; } )[0]; + if (existing && !self.options.allowDuplicates) { + // Invoke onTagExists + if (self.options.onTagExists) { + var $existingTag = $(".badge", self.$container).filter(function() { return $(this).data("item") === existing; }); + self.options.onTagExists(item, $existingTag); + } + return; + } + + // if length greater than limit + if (self.items().toString().length + item.length + 1 > self.options.maxInputLength) + return; + + // raise beforeItemAdd arg + var beforeItemAddEvent = $.Event('beforeItemAdd', { item: item, cancel: false, options: options}); + self.$element.trigger(beforeItemAddEvent); + if (beforeItemAddEvent.cancel) + return; + + // register item in internal array and map + self.itemsArray.push(item); + + // add a tag element + + var $tag = $('' + htmlEncode(itemText) + ''); + $tag.data('item', item); + self.findInputWrapper().before($tag); + $tag.after(' '); + + // Check to see if the tag exists in its raw or uri-encoded form + var optionExists = ( + $('option[value="' + encodeURIComponent(itemValue) + '"]', self.$element).length || + $('option[value="' + htmlEncode(itemValue) + '"]', self.$element).length + ); + + // add