diff --git a/platypush/backend/http/webapp/dist/index.html b/platypush/backend/http/webapp/dist/index.html index ce58f33c3..3c730a524 100644 --- a/platypush/backend/http/webapp/dist/index.html +++ b/platypush/backend/http/webapp/dist/index.html @@ -1 +1 @@ -platypush
\ No newline at end of file +platypush
\ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/9892.bc7b5f84.css b/platypush/backend/http/webapp/dist/static/css/9892.68b29dbb.css similarity index 75% rename from platypush/backend/http/webapp/dist/static/css/9892.bc7b5f84.css rename to platypush/backend/http/webapp/dist/static/css/9892.68b29dbb.css index 3bd5a37f5..5aa79cee5 100644 --- a/platypush/backend/http/webapp/dist/static/css/9892.bc7b5f84.css +++ b/platypush/backend/http/webapp/dist/static/css/9892.68b29dbb.css @@ -1 +1 @@ -.col-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-6fec32b5]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-6fec32b5]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-6fec32b5]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-6fec32b5]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-6fec32b5]:first-child{margin-left:26%!important}.col-offset-3[data-v-6fec32b5]:not(first-child){margin-left:30%!important}.col-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-6fec32b5]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-6fec32b5]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-6fec32b5]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-6fec32b5]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-6fec32b5]:first-child{margin-left:52%!important}.col-offset-6[data-v-6fec32b5]:not(first-child){margin-left:56%!important}.col-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-6fec32b5]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-6fec32b5]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-6fec32b5]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-6fec32b5]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-6fec32b5]:first-child{margin-left:78%!important}.col-offset-9[data-v-6fec32b5]:not(first-child){margin-left:82%!important}.col-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-6fec32b5]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-6fec32b5]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-6fec32b5]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-6fec32b5]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-s-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-s-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-s-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-s-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-6fec32b5]{display:none!important}.s-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-m-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-m-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-m-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-m-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-6fec32b5]{display:none!important}.m-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-l-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-l-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-l-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-l-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-6fec32b5]{display:none!important}.l-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-xl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-xl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-xl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-6fec32b5]{display:none!important}.xl-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-xxl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-xxl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-xxl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-6fec32b5]{display:none!important}.xxl-visible[data-v-6fec32b5]{display:block!important}}.vertical-center[data-v-6fec32b5]{display:flex;align-items:center}.horizontal-center[data-v-6fec32b5]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-6fec32b5]{text-align:right;float:right;justify-content:right}.hidden[data-v-6fec32b5]{display:none!important}.no-content[data-v-6fec32b5]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-6fec32b5],.btn[data-v-6fec32b5],button[data-v-6fec32b5]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-6fec32b5],.btn-default[type=submit][data-v-6fec32b5],.btn.btn-primary[data-v-6fec32b5],.btn[type=submit][data-v-6fec32b5],button.btn-primary[data-v-6fec32b5],button[type=submit][data-v-6fec32b5]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-6fec32b5],.btn-default .icon[data-v-6fec32b5],button .icon[data-v-6fec32b5]{margin-right:.5em}input[type=password][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-6fec32b5]:focus,input[type=text][data-v-6fec32b5]:focus{border:1px solid #35b870}button[data-v-6fec32b5],input[data-v-6fec32b5]{outline:none}input[type=text][data-v-6fec32b5]:hover,textarea[data-v-6fec32b5]:hover{border:1px solid #9cdfb0}ul[data-v-6fec32b5]{margin:0;padding:0;list-style:none}a[data-v-6fec32b5]{cursor:pointer;text-decoration:none}[data-v-6fec32b5]::-webkit-scrollbar{width:.75em}[data-v-6fec32b5]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-6fec32b5]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-6fec32b5]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-6fec32b5]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-6fec32b5],input[type=password][data-v-6fec32b5],input[type=search][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-6fec32b5]:hover,input[type=password][data-v-6fec32b5]:hover,input[type=search][data-v-6fec32b5]:hover,input[type=text][data-v-6fec32b5]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-6fec32b5]:focus,input[type=password][data-v-6fec32b5]:focus,input[type=search][data-v-6fec32b5]:focus,input[type=text][data-v-6fec32b5]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-6fec32b5],input[type=password].with-icon[data-v-6fec32b5],input[type=search].with-icon[data-v-6fec32b5],input[type=text].with-icon[data-v-6fec32b5]{padding-left:.3em}input[type=search][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-6fec32b5]{animation-fill-mode:both;animation-name:fadeIn-6fec32b5;-webkit-animation-name:fadeIn-6fec32b5}.fade-in[data-v-6fec32b5],.fade-out[data-v-6fec32b5]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-6fec32b5]{animation-fill-mode:both;animation-name:fadeOut-6fec32b5;-webkit-animation-name:fadeOut-6fec32b5}@keyframes fadeIn-6fec32b5{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-6fec32b5{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.no-items-container[data-v-6fec32b5]{width:100%;display:flex;flex-direction:column;align-items:center}.no-items-container .no-items[data-v-6fec32b5]{min-width:100%;max-width:100%;background:#fff;margin:1em;padding:1em;font-size:1.5em;color:#555;display:flex;align-items:center;justify-content:center;border-radius:1em;box-shadow:0 3px 2px -1px silver}@media screen and (min-width:769px){.no-items-container .no-items[data-v-6fec32b5]{min-width:80%}}@media screen and (min-width:1024px){.no-items-container .no-items[data-v-6fec32b5]{min-width:50%;max-width:35em}}@media screen and (min-width:1408px){.no-items-container .no-items[data-v-6fec32b5]{min-width:33%}}.col-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3c242632]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3c242632]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3c242632]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3c242632]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3c242632]:first-child{margin-left:26%!important}.col-offset-3[data-v-3c242632]:not(first-child){margin-left:30%!important}.col-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3c242632]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3c242632]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3c242632]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3c242632]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3c242632]:first-child{margin-left:52%!important}.col-offset-6[data-v-3c242632]:not(first-child){margin-left:56%!important}.col-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3c242632]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3c242632]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3c242632]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3c242632]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3c242632]:first-child{margin-left:78%!important}.col-offset-9[data-v-3c242632]:not(first-child){margin-left:82%!important}.col-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3c242632]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3c242632]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3c242632]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3c242632]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-3[data-v-3c242632]{margin-left:26%}.col-no-margin-s-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-6[data-v-3c242632]{margin-left:52%}.col-no-margin-s-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-9[data-v-3c242632]{margin-left:78%}.col-no-margin-s-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3c242632]{display:none!important}.s-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-3[data-v-3c242632]{margin-left:26%}.col-no-margin-m-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-6[data-v-3c242632]{margin-left:52%}.col-no-margin-m-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-9[data-v-3c242632]{margin-left:78%}.col-no-margin-m-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3c242632]{display:none!important}.m-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-3[data-v-3c242632]{margin-left:26%}.col-no-margin-l-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-6[data-v-3c242632]{margin-left:52%}.col-no-margin-l-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-9[data-v-3c242632]{margin-left:78%}.col-no-margin-l-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3c242632]{display:none!important}.l-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-3[data-v-3c242632]{margin-left:26%}.col-no-margin-xl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-6[data-v-3c242632]{margin-left:52%}.col-no-margin-xl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-9[data-v-3c242632]{margin-left:78%}.col-no-margin-xl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3c242632]{display:none!important}.xl-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3c242632]{margin-left:26%}.col-no-margin-xxl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3c242632]{margin-left:52%}.col-no-margin-xxl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3c242632]{margin-left:78%}.col-no-margin-xxl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3c242632]{display:none!important}.xxl-visible[data-v-3c242632]{display:block!important}}.vertical-center[data-v-3c242632]{display:flex;align-items:center}.horizontal-center[data-v-3c242632]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3c242632]{text-align:right;float:right;justify-content:right}.hidden[data-v-3c242632]{display:none!important}.no-content[data-v-3c242632]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3c242632],.btn[data-v-3c242632],button[data-v-3c242632]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3c242632],.btn-default[type=submit][data-v-3c242632],.btn.btn-primary[data-v-3c242632],.btn[type=submit][data-v-3c242632],button.btn-primary[data-v-3c242632],button[type=submit][data-v-3c242632]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-3c242632],.btn-default .icon[data-v-3c242632],button .icon[data-v-3c242632]{margin-right:.5em}input[type=password][data-v-3c242632],input[type=text][data-v-3c242632]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3c242632]:focus,input[type=text][data-v-3c242632]:focus{border:1px solid #35b870}button[data-v-3c242632],input[data-v-3c242632]{outline:none}input[type=text][data-v-3c242632]:hover,textarea[data-v-3c242632]:hover{border:1px solid #9cdfb0}ul[data-v-3c242632]{margin:0;padding:0;list-style:none}a[data-v-3c242632]{cursor:pointer;text-decoration:none}[data-v-3c242632]::-webkit-scrollbar{width:.75em}[data-v-3c242632]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-3c242632]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-3c242632]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-3c242632]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3c242632],input[type=password][data-v-3c242632],input[type=search][data-v-3c242632],input[type=text][data-v-3c242632]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3c242632]:hover,input[type=password][data-v-3c242632]:hover,input[type=search][data-v-3c242632]:hover,input[type=text][data-v-3c242632]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3c242632]:focus,input[type=password][data-v-3c242632]:focus,input[type=search][data-v-3c242632]:focus,input[type=text][data-v-3c242632]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3c242632],input[type=password].with-icon[data-v-3c242632],input[type=search].with-icon[data-v-3c242632],input[type=text].with-icon[data-v-3c242632]{padding-left:.3em}input[type=search][data-v-3c242632],input[type=text][data-v-3c242632]{border-radius:1em;padding:.25em .5em}.entity .body[data-v-3c242632],.fade-in[data-v-3c242632]{animation-duration:.5s;-webkit-animation-duration:.5s;animation-fill-mode:both;animation-name:fadeIn-3c242632;-webkit-animation-name:fadeIn-3c242632}.fade-out[data-v-3c242632]{animation-duration:.5s;-webkit-animation-duration:.5s;animation-fill-mode:both;animation-name:fadeOut-3c242632;-webkit-animation-name:fadeOut-3c242632}@keyframes fadeIn-3c242632{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-3c242632{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.entity[data-v-3c242632]{width:100%;display:flex;flex-direction:column}.entity .head[data-v-3c242632]{height:100%;display:flex;align-items:center;padding:.75em .25em}.entity .head .label[data-v-3c242632]{margin-top:.25em}.entity .head.expanded[data-v-3c242632]{background:#c8ffd0;font-weight:700}.entity .head .pull-right[data-v-3c242632]{display:inline-flex;align-items:center;direction:rtl;padding-right:.5em}.entity .head .pull-right[data-v-3c242632] .power-switch{margin-top:.25em}.entity .body[data-v-3c242632]{display:flex;flex-direction:column;padding:.5em;background:linear-gradient(0deg,#edf0ee,#f8f8f8);border-top:1px solid #e1e4e8;box-shadow:0 3px 2px -1px silver}.entity button[data-v-3c242632]{height:2em;background:none;border:none;padding:0 0 0 1em}.entity button[data-v-3c242632]:hover{color:#35b870}.entity-container[data-v-3c242632]{width:100%;position:relative;padding:0!important}.col-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-63b80935]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-63b80935]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-63b80935]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-63b80935]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-63b80935]:first-child{margin-left:26%!important}.col-offset-3[data-v-63b80935]:not(first-child){margin-left:30%!important}.col-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-63b80935]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-63b80935]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-63b80935]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-63b80935]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-63b80935]:first-child{margin-left:52%!important}.col-offset-6[data-v-63b80935]:not(first-child){margin-left:56%!important}.col-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-63b80935]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-63b80935]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-63b80935]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-63b80935]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-63b80935]:first-child{margin-left:78%!important}.col-offset-9[data-v-63b80935]:not(first-child){margin-left:82%!important}.col-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-63b80935]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-63b80935]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-63b80935]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-63b80935]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-3[data-v-63b80935]{margin-left:26%}.col-no-margin-s-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-6[data-v-63b80935]{margin-left:52%}.col-no-margin-s-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-9[data-v-63b80935]{margin-left:78%}.col-no-margin-s-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-s-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-63b80935]{display:none!important}.s-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-3[data-v-63b80935]{margin-left:26%}.col-no-margin-m-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-6[data-v-63b80935]{margin-left:52%}.col-no-margin-m-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-9[data-v-63b80935]{margin-left:78%}.col-no-margin-m-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-m-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-63b80935]{display:none!important}.m-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-3[data-v-63b80935]{margin-left:26%}.col-no-margin-l-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-6[data-v-63b80935]{margin-left:52%}.col-no-margin-l-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-9[data-v-63b80935]{margin-left:78%}.col-no-margin-l-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-l-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-63b80935]{display:none!important}.l-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-3[data-v-63b80935]{margin-left:26%}.col-no-margin-xl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-6[data-v-63b80935]{margin-left:52%}.col-no-margin-xl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-9[data-v-63b80935]{margin-left:78%}.col-no-margin-xl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-63b80935]{display:none!important}.xl-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-3[data-v-63b80935]{margin-left:26%}.col-no-margin-xxl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-6[data-v-63b80935]{margin-left:52%}.col-no-margin-xxl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-9[data-v-63b80935]{margin-left:78%}.col-no-margin-xxl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-63b80935]{display:none!important}.xxl-visible[data-v-63b80935]{display:block!important}}.vertical-center[data-v-63b80935]{display:flex;align-items:center}.horizontal-center[data-v-63b80935]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-63b80935]{text-align:right;float:right;justify-content:right}.hidden[data-v-63b80935]{display:none!important}.no-content[data-v-63b80935]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-63b80935],.btn[data-v-63b80935],button[data-v-63b80935]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-63b80935],.btn-default[type=submit][data-v-63b80935],.btn.btn-primary[data-v-63b80935],.btn[type=submit][data-v-63b80935],button.btn-primary[data-v-63b80935],button[type=submit][data-v-63b80935]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-63b80935],.btn-default .icon[data-v-63b80935],button .icon[data-v-63b80935]{margin-right:.5em}input[type=password][data-v-63b80935],input[type=text][data-v-63b80935]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-63b80935]:focus,input[type=text][data-v-63b80935]:focus{border:1px solid #35b870}button[data-v-63b80935],input[data-v-63b80935]{outline:none}input[type=text][data-v-63b80935]:hover,textarea[data-v-63b80935]:hover{border:1px solid #9cdfb0}ul[data-v-63b80935]{margin:0;padding:0;list-style:none}a[data-v-63b80935]{cursor:pointer;text-decoration:none}[data-v-63b80935]::-webkit-scrollbar{width:.75em}[data-v-63b80935]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-63b80935]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-63b80935]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-63b80935]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-63b80935],input[type=password][data-v-63b80935],input[type=search][data-v-63b80935],input[type=text][data-v-63b80935]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-63b80935]:hover,input[type=password][data-v-63b80935]:hover,input[type=search][data-v-63b80935]:hover,input[type=text][data-v-63b80935]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-63b80935]:focus,input[type=password][data-v-63b80935]:focus,input[type=search][data-v-63b80935]:focus,input[type=text][data-v-63b80935]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-63b80935],input[type=password].with-icon[data-v-63b80935],input[type=search].with-icon[data-v-63b80935],input[type=text].with-icon[data-v-63b80935]{padding-left:.3em}input[type=search][data-v-63b80935],input[type=text][data-v-63b80935]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-63b80935]{animation-fill-mode:both;animation-name:fadeIn-63b80935;-webkit-animation-name:fadeIn-63b80935}.fade-in[data-v-63b80935],.fade-out[data-v-63b80935]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-63b80935]{animation-fill-mode:both;animation-name:fadeOut-63b80935;-webkit-animation-name:fadeOut-63b80935}@keyframes fadeIn-63b80935{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-63b80935{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.entities-selectors-container[data-v-63b80935]{width:100%;display:flex;align-items:center}.entities-selectors-container .selector[data-v-63b80935]{height:100%;display:inline-flex}.entities-selectors-container .selector.active[data-v-63b80935] .dropdown-container button{color:#35b870}@media(max-width:330px){.entities-selectors-container .search-bar[data-v-63b80935]{display:none}}.entities-selectors-container[data-v-63b80935] .dropdown-container{height:100%;display:flex}.entities-selectors-container[data-v-63b80935] .dropdown-container button{height:100%;background:#f8f8f8;border:0;padding:.5em}.entities-selectors-container[data-v-63b80935] .dropdown-container button:hover{color:#35b870}.entities-selectors-container[data-v-63b80935] .dropdown-container .item{padding:.5em 4em .5em .5em;border:0;box-shadow:none}.entities-selectors-container[data-v-63b80935] .dropdown-container .item .col-1.icon{width:1.5em}.entities-selectors-container[data-v-63b80935] .dropdown-container .item.selected{font-weight:700;background:hsla(0,0%,100%,0)}.entities-selectors-container[data-v-63b80935] .dropdown-container .item:hover{background:#bef6da}.col-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-d543b3e4]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-d543b3e4]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-d543b3e4]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-d543b3e4]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-d543b3e4]:first-child{margin-left:26%!important}.col-offset-3[data-v-d543b3e4]:not(first-child){margin-left:30%!important}.col-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-d543b3e4]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-d543b3e4]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-d543b3e4]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-d543b3e4]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-d543b3e4]:first-child{margin-left:52%!important}.col-offset-6[data-v-d543b3e4]:not(first-child){margin-left:56%!important}.col-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-d543b3e4]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-d543b3e4]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-d543b3e4]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-d543b3e4]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-d543b3e4]:first-child{margin-left:78%!important}.col-offset-9[data-v-d543b3e4]:not(first-child){margin-left:82%!important}.col-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-d543b3e4]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-d543b3e4]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-d543b3e4]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-d543b3e4]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-s-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-s-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-s-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-s-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-d543b3e4]{display:none!important}.s-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-m-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-m-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-m-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-m-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-d543b3e4]{display:none!important}.m-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-l-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-l-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-l-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-l-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-d543b3e4]{display:none!important}.l-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-xl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-xl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-xl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-d543b3e4]{display:none!important}.xl-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-xxl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-xxl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-xxl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-d543b3e4]{display:none!important}.xxl-visible[data-v-d543b3e4]{display:block!important}}.vertical-center[data-v-d543b3e4]{display:flex;align-items:center}.horizontal-center[data-v-d543b3e4]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-d543b3e4]{text-align:right;float:right;justify-content:right}.hidden[data-v-d543b3e4]{display:none!important}.no-content[data-v-d543b3e4]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-d543b3e4],.btn[data-v-d543b3e4],button[data-v-d543b3e4]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-d543b3e4],.btn-default[type=submit][data-v-d543b3e4],.btn.btn-primary[data-v-d543b3e4],.btn[type=submit][data-v-d543b3e4],button.btn-primary[data-v-d543b3e4],button[type=submit][data-v-d543b3e4]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-d543b3e4],.btn-default .icon[data-v-d543b3e4],button .icon[data-v-d543b3e4]{margin-right:.5em}input[type=password][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-d543b3e4]:focus,input[type=text][data-v-d543b3e4]:focus{border:1px solid #35b870}button[data-v-d543b3e4],input[data-v-d543b3e4]{outline:none}input[type=text][data-v-d543b3e4]:hover,textarea[data-v-d543b3e4]:hover{border:1px solid #9cdfb0}ul[data-v-d543b3e4]{margin:0;padding:0;list-style:none}a[data-v-d543b3e4]{cursor:pointer;text-decoration:none}[data-v-d543b3e4]::-webkit-scrollbar{width:.75em}[data-v-d543b3e4]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-d543b3e4]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-d543b3e4]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-d543b3e4]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-d543b3e4],input[type=password][data-v-d543b3e4],input[type=search][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-d543b3e4]:hover,input[type=password][data-v-d543b3e4]:hover,input[type=search][data-v-d543b3e4]:hover,input[type=text][data-v-d543b3e4]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-d543b3e4]:focus,input[type=password][data-v-d543b3e4]:focus,input[type=search][data-v-d543b3e4]:focus,input[type=text][data-v-d543b3e4]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-d543b3e4],input[type=password].with-icon[data-v-d543b3e4],input[type=search].with-icon[data-v-d543b3e4],input[type=text].with-icon[data-v-d543b3e4]{padding-left:.3em}input[type=search][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-d543b3e4]{animation-fill-mode:both;animation-name:fadeIn-d543b3e4;-webkit-animation-name:fadeIn-d543b3e4}.fade-in[data-v-d543b3e4],.fade-out[data-v-d543b3e4]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-d543b3e4]{animation-fill-mode:both;animation-name:fadeOut-d543b3e4;-webkit-animation-name:fadeOut-d543b3e4}@keyframes fadeIn-d543b3e4{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-d543b3e4{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}[data-v-d543b3e4] .modal .dialog-content{padding:1em}[data-v-d543b3e4] .modal .buttons{display:flex;flex-direction:row;justify-content:right;padding:1em 0 1em 1em;border:0;border-radius:0;box-shadow:0 -1px 2px 0 silver}[data-v-d543b3e4] .modal .buttons button{margin-right:1em;padding:.5em 1em;border:1px solid #ddd;border-radius:1em}[data-v-d543b3e4] .modal .buttons button:hover{background:#bef6da}.col-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3344f2bf]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3344f2bf]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3344f2bf]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3344f2bf]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3344f2bf]:first-child{margin-left:26%!important}.col-offset-3[data-v-3344f2bf]:not(first-child){margin-left:30%!important}.col-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3344f2bf]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3344f2bf]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3344f2bf]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3344f2bf]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3344f2bf]:first-child{margin-left:52%!important}.col-offset-6[data-v-3344f2bf]:not(first-child){margin-left:56%!important}.col-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3344f2bf]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3344f2bf]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3344f2bf]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3344f2bf]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3344f2bf]:first-child{margin-left:78%!important}.col-offset-9[data-v-3344f2bf]:not(first-child){margin-left:82%!important}.col-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3344f2bf]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3344f2bf]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3344f2bf]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3344f2bf]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-s-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-s-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-s-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3344f2bf]{display:none!important}.s-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-m-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-m-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-m-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3344f2bf]{display:none!important}.m-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-l-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-l-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-l-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3344f2bf]{display:none!important}.l-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-xl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-xl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-xl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3344f2bf]{display:none!important}.xl-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-xxl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-xxl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-xxl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3344f2bf]{display:none!important}.xxl-visible[data-v-3344f2bf]{display:block!important}}.vertical-center[data-v-3344f2bf]{display:flex;align-items:center}.horizontal-center[data-v-3344f2bf]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3344f2bf]{text-align:right;float:right;justify-content:right}.hidden[data-v-3344f2bf]{display:none!important}.no-content[data-v-3344f2bf]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3344f2bf],.btn[data-v-3344f2bf],button[data-v-3344f2bf]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3344f2bf],.btn-default[type=submit][data-v-3344f2bf],.btn.btn-primary[data-v-3344f2bf],.btn[type=submit][data-v-3344f2bf],button.btn-primary[data-v-3344f2bf],button[type=submit][data-v-3344f2bf]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-3344f2bf],.btn-default .icon[data-v-3344f2bf],button .icon[data-v-3344f2bf]{margin-right:.5em}input[type=password][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3344f2bf]:focus,input[type=text][data-v-3344f2bf]:focus{border:1px solid #35b870}button[data-v-3344f2bf],input[data-v-3344f2bf]{outline:none}input[type=text][data-v-3344f2bf]:hover,textarea[data-v-3344f2bf]:hover{border:1px solid #9cdfb0}ul[data-v-3344f2bf]{margin:0;padding:0;list-style:none}a[data-v-3344f2bf]{cursor:pointer;text-decoration:none}[data-v-3344f2bf]::-webkit-scrollbar{width:.75em}[data-v-3344f2bf]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-3344f2bf]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-3344f2bf]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-3344f2bf]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3344f2bf],input[type=password][data-v-3344f2bf],input[type=search][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3344f2bf]:hover,input[type=password][data-v-3344f2bf]:hover,input[type=search][data-v-3344f2bf]:hover,input[type=text][data-v-3344f2bf]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3344f2bf]:focus,input[type=password][data-v-3344f2bf]:focus,input[type=search][data-v-3344f2bf]:focus,input[type=text][data-v-3344f2bf]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3344f2bf],input[type=password].with-icon[data-v-3344f2bf],input[type=search].with-icon[data-v-3344f2bf],input[type=text].with-icon[data-v-3344f2bf]{padding-left:.3em}input[type=search][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-3344f2bf]{animation-fill-mode:both;animation-name:fadeIn-3344f2bf;-webkit-animation-name:fadeIn-3344f2bf}.fade-in[data-v-3344f2bf],.fade-out[data-v-3344f2bf]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-3344f2bf]{animation-fill-mode:both;animation-name:fadeOut-3344f2bf;-webkit-animation-name:fadeOut-3344f2bf}@keyframes fadeIn-3344f2bf{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-3344f2bf{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.edit-btn[data-v-3344f2bf]{border:0;background:none;padding:0 .25em;margin-left:.25em;border:1px solid transparent}.edit-btn[data-v-3344f2bf]:hover{background:#bef6da;border:1px solid #32b646}.col-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1405d90f]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1405d90f]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1405d90f]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1405d90f]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1405d90f]:first-child{margin-left:26%!important}.col-offset-3[data-v-1405d90f]:not(first-child){margin-left:30%!important}.col-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1405d90f]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1405d90f]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1405d90f]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1405d90f]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1405d90f]:first-child{margin-left:52%!important}.col-offset-6[data-v-1405d90f]:not(first-child){margin-left:56%!important}.col-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1405d90f]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1405d90f]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1405d90f]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1405d90f]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1405d90f]:first-child{margin-left:78%!important}.col-offset-9[data-v-1405d90f]:not(first-child){margin-left:82%!important}.col-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1405d90f]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1405d90f]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1405d90f]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1405d90f]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-s-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-s-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-s-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1405d90f]{display:none!important}.s-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-m-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-m-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-m-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1405d90f]{display:none!important}.m-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-l-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-l-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-l-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1405d90f]{display:none!important}.l-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-xl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-xl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-xl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1405d90f]{display:none!important}.xl-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-xxl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-xxl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-xxl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1405d90f]{display:none!important}.xxl-visible[data-v-1405d90f]{display:block!important}}.vertical-center[data-v-1405d90f]{display:flex;align-items:center}.horizontal-center[data-v-1405d90f]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1405d90f]{text-align:right;float:right;justify-content:right}.hidden[data-v-1405d90f]{display:none!important}.no-content[data-v-1405d90f]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1405d90f],.btn[data-v-1405d90f],button[data-v-1405d90f]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1405d90f],.btn-default[type=submit][data-v-1405d90f],.btn.btn-primary[data-v-1405d90f],.btn[type=submit][data-v-1405d90f],button.btn-primary[data-v-1405d90f],button[type=submit][data-v-1405d90f]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-1405d90f],.btn-default .icon[data-v-1405d90f],button .icon[data-v-1405d90f]{margin-right:.5em}input[type=password][data-v-1405d90f],input[type=text][data-v-1405d90f]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1405d90f]:focus,input[type=text][data-v-1405d90f]:focus{border:1px solid #35b870}button[data-v-1405d90f],input[data-v-1405d90f]{outline:none}input[type=text][data-v-1405d90f]:hover,textarea[data-v-1405d90f]:hover{border:1px solid #9cdfb0}ul[data-v-1405d90f]{margin:0;padding:0;list-style:none}a[data-v-1405d90f]{cursor:pointer;text-decoration:none}[data-v-1405d90f]::-webkit-scrollbar{width:.75em}[data-v-1405d90f]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-1405d90f]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-1405d90f]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-1405d90f]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1405d90f],input[type=password][data-v-1405d90f],input[type=search][data-v-1405d90f],input[type=text][data-v-1405d90f]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1405d90f]:hover,input[type=password][data-v-1405d90f]:hover,input[type=search][data-v-1405d90f]:hover,input[type=text][data-v-1405d90f]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1405d90f]:focus,input[type=password][data-v-1405d90f]:focus,input[type=search][data-v-1405d90f]:focus,input[type=text][data-v-1405d90f]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1405d90f],input[type=password].with-icon[data-v-1405d90f],input[type=search].with-icon[data-v-1405d90f],input[type=text].with-icon[data-v-1405d90f]{padding-left:.3em}input[type=search][data-v-1405d90f],input[type=text][data-v-1405d90f]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1405d90f]{animation-fill-mode:both;animation-name:fadeIn-1405d90f;-webkit-animation-name:fadeIn-1405d90f}.fade-in[data-v-1405d90f],.fade-out[data-v-1405d90f]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1405d90f]{animation-fill-mode:both;animation-name:fadeOut-1405d90f;-webkit-animation-name:fadeOut-1405d90f}@keyframes fadeIn-1405d90f{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-1405d90f{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.name-editor[data-v-1405d90f]{background:transparent;display:inline-flex;flex-direction:row;padding:0;border:0;border-radius:0;box-shadow:none}.name-editor button[data-v-1405d90f]{border:none;background:none;padding:0 .5em}.name-editor button.confirm[data-v-1405d90f]{color:#32b646}.name-editor button.cancel[data-v-1405d90f]{color:#ad1717}.col-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-ada8d74e]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-ada8d74e]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-ada8d74e]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-ada8d74e]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-ada8d74e]:first-child{margin-left:26%!important}.col-offset-3[data-v-ada8d74e]:not(first-child){margin-left:30%!important}.col-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-ada8d74e]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-ada8d74e]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-ada8d74e]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-ada8d74e]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-ada8d74e]:first-child{margin-left:52%!important}.col-offset-6[data-v-ada8d74e]:not(first-child){margin-left:56%!important}.col-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-ada8d74e]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-ada8d74e]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-ada8d74e]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-ada8d74e]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-ada8d74e]:first-child{margin-left:78%!important}.col-offset-9[data-v-ada8d74e]:not(first-child){margin-left:82%!important}.col-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-ada8d74e]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-ada8d74e]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-ada8d74e]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-ada8d74e]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-1[data-v-ada8d74e]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-2[data-v-ada8d74e]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-3[data-v-ada8d74e]{margin-left:26%}.col-no-margin-s-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-4[data-v-ada8d74e]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-5[data-v-ada8d74e]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-6[data-v-ada8d74e]{margin-left:52%}.col-no-margin-s-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-7[data-v-ada8d74e]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-8[data-v-ada8d74e]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-9[data-v-ada8d74e]{margin-left:78%}.col-no-margin-s-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-10[data-v-ada8d74e]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-s-11[data-v-ada8d74e]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-s-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-ada8d74e]{display:none!important}.s-visible[data-v-ada8d74e]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-1[data-v-ada8d74e]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-2[data-v-ada8d74e]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-3[data-v-ada8d74e]{margin-left:26%}.col-no-margin-m-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-4[data-v-ada8d74e]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-5[data-v-ada8d74e]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-6[data-v-ada8d74e]{margin-left:52%}.col-no-margin-m-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-7[data-v-ada8d74e]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-8[data-v-ada8d74e]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-9[data-v-ada8d74e]{margin-left:78%}.col-no-margin-m-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-10[data-v-ada8d74e]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-m-11[data-v-ada8d74e]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-m-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-ada8d74e]{display:none!important}.m-visible[data-v-ada8d74e]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-1[data-v-ada8d74e]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-2[data-v-ada8d74e]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-3[data-v-ada8d74e]{margin-left:26%}.col-no-margin-l-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-4[data-v-ada8d74e]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-5[data-v-ada8d74e]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-6[data-v-ada8d74e]{margin-left:52%}.col-no-margin-l-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-7[data-v-ada8d74e]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-8[data-v-ada8d74e]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-9[data-v-ada8d74e]{margin-left:78%}.col-no-margin-l-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-10[data-v-ada8d74e]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-l-11[data-v-ada8d74e]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-l-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-ada8d74e]{display:none!important}.l-visible[data-v-ada8d74e]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-1[data-v-ada8d74e]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-2[data-v-ada8d74e]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-3[data-v-ada8d74e]{margin-left:26%}.col-no-margin-xl-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-4[data-v-ada8d74e]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-5[data-v-ada8d74e]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-6[data-v-ada8d74e]{margin-left:52%}.col-no-margin-xl-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-7[data-v-ada8d74e]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-8[data-v-ada8d74e]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-9[data-v-ada8d74e]{margin-left:78%}.col-no-margin-xl-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-10[data-v-ada8d74e]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xl-11[data-v-ada8d74e]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-ada8d74e]{display:none!important}.xl-visible[data-v-ada8d74e]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-1[data-v-ada8d74e]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-ada8d74e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-2[data-v-ada8d74e]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-ada8d74e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-3[data-v-ada8d74e]{margin-left:26%}.col-no-margin-xxl-3[data-v-ada8d74e]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-4[data-v-ada8d74e]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-ada8d74e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-5[data-v-ada8d74e]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-ada8d74e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-6[data-v-ada8d74e]{margin-left:52%}.col-no-margin-xxl-6[data-v-ada8d74e]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-7[data-v-ada8d74e]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-ada8d74e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-8[data-v-ada8d74e]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-ada8d74e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-9[data-v-ada8d74e]{margin-left:78%}.col-no-margin-xxl-9[data-v-ada8d74e]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-10[data-v-ada8d74e]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-ada8d74e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-ada8d74e]:first-child{margin-left:0}.col-offset-xxl-11[data-v-ada8d74e]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-ada8d74e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-ada8d74e]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-ada8d74e]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-ada8d74e]{display:none!important}.xxl-visible[data-v-ada8d74e]{display:block!important}}.vertical-center[data-v-ada8d74e]{display:flex;align-items:center}.horizontal-center[data-v-ada8d74e]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-ada8d74e]{text-align:right;float:right;justify-content:right}.hidden[data-v-ada8d74e]{display:none!important}.no-content[data-v-ada8d74e]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-ada8d74e],.btn[data-v-ada8d74e],button[data-v-ada8d74e]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-ada8d74e],.btn-default[type=submit][data-v-ada8d74e],.btn.btn-primary[data-v-ada8d74e],.btn[type=submit][data-v-ada8d74e],button.btn-primary[data-v-ada8d74e],button[type=submit][data-v-ada8d74e]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-ada8d74e],.btn-default .icon[data-v-ada8d74e],button .icon[data-v-ada8d74e]{margin-right:.5em}input[type=password][data-v-ada8d74e],input[type=text][data-v-ada8d74e]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-ada8d74e]:focus,input[type=text][data-v-ada8d74e]:focus{border:1px solid #35b870}button[data-v-ada8d74e],input[data-v-ada8d74e]{outline:none}input[type=text][data-v-ada8d74e]:hover,textarea[data-v-ada8d74e]:hover{border:1px solid #9cdfb0}ul[data-v-ada8d74e]{margin:0;padding:0;list-style:none}a[data-v-ada8d74e]{cursor:pointer;text-decoration:none}[data-v-ada8d74e]::-webkit-scrollbar{width:.75em}[data-v-ada8d74e]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-ada8d74e]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-ada8d74e]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-ada8d74e]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-ada8d74e],input[type=password][data-v-ada8d74e],input[type=search][data-v-ada8d74e],input[type=text][data-v-ada8d74e]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-ada8d74e]:hover,input[type=password][data-v-ada8d74e]:hover,input[type=search][data-v-ada8d74e]:hover,input[type=text][data-v-ada8d74e]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-ada8d74e]:focus,input[type=password][data-v-ada8d74e]:focus,input[type=search][data-v-ada8d74e]:focus,input[type=text][data-v-ada8d74e]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-ada8d74e],input[type=password].with-icon[data-v-ada8d74e],input[type=search].with-icon[data-v-ada8d74e],input[type=text].with-icon[data-v-ada8d74e]{padding-left:.3em}input[type=search][data-v-ada8d74e],input[type=text][data-v-ada8d74e]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-ada8d74e]{animation-fill-mode:both;animation-name:fadeIn-ada8d74e;-webkit-animation-name:fadeIn-ada8d74e}.fade-in[data-v-ada8d74e],.fade-out[data-v-ada8d74e]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-ada8d74e]{animation-fill-mode:both;animation-name:fadeOut-ada8d74e;-webkit-animation-name:fadeOut-ada8d74e}@keyframes fadeIn-ada8d74e{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-ada8d74e{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-ada8d74e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-ada8d74e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-ada8d74e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}[data-v-ada8d74e] .modal .icon-canvas{display:inline-flex;align-items:center}@media screen and (max-width:calc(769px - 1px)){[data-v-ada8d74e] .modal .icon-canvas .icon-container{justify-content:left}}@media screen and (min-width:769px){[data-v-ada8d74e] .modal .icon-canvas .icon-container{justify-content:right}}[data-v-ada8d74e] .modal .icon-editor{display:flex;flex-direction:column}[data-v-ada8d74e] .modal button{border:none;background:none;padding:0 .5em}[data-v-ada8d74e] .modal .help{font-size:.75em}[data-v-ada8d74e] .modal .delete-entity-container,[data-v-ada8d74e] .modal .delete-entity-container button{color:#ad1717}.col-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-fef021ee]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-fef021ee]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-fef021ee]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-fef021ee]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-fef021ee]:first-child{margin-left:26%!important}.col-offset-3[data-v-fef021ee]:not(first-child){margin-left:30%!important}.col-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-fef021ee]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-fef021ee]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-fef021ee]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-fef021ee]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-fef021ee]:first-child{margin-left:52%!important}.col-offset-6[data-v-fef021ee]:not(first-child){margin-left:56%!important}.col-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-fef021ee]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-fef021ee]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-fef021ee]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-fef021ee]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-fef021ee]:first-child{margin-left:78%!important}.col-offset-9[data-v-fef021ee]:not(first-child){margin-left:82%!important}.col-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-fef021ee]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-fef021ee]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-fef021ee]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-fef021ee]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-s-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-s-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-s-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-s-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-fef021ee]{display:none!important}.s-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-m-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-m-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-m-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-m-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-fef021ee]{display:none!important}.m-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-l-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-l-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-l-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-l-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-fef021ee]{display:none!important}.l-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-xl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-xl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-xl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-fef021ee]{display:none!important}.xl-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-xxl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-xxl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-xxl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-fef021ee]{display:none!important}.xxl-visible[data-v-fef021ee]{display:block!important}}.vertical-center[data-v-fef021ee]{display:flex;align-items:center}.horizontal-center[data-v-fef021ee]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-fef021ee]{text-align:right;float:right;justify-content:right}.hidden[data-v-fef021ee]{display:none!important}.no-content[data-v-fef021ee]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-fef021ee],.btn[data-v-fef021ee],button[data-v-fef021ee]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-fef021ee],.btn-default[type=submit][data-v-fef021ee],.btn.btn-primary[data-v-fef021ee],.btn[type=submit][data-v-fef021ee],button.btn-primary[data-v-fef021ee],button[type=submit][data-v-fef021ee]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-fef021ee],.btn-default .icon[data-v-fef021ee],button .icon[data-v-fef021ee]{margin-right:.5em}input[type=password][data-v-fef021ee],input[type=text][data-v-fef021ee]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-fef021ee]:focus,input[type=text][data-v-fef021ee]:focus{border:1px solid #35b870}button[data-v-fef021ee],input[data-v-fef021ee]{outline:none}input[type=text][data-v-fef021ee]:hover,textarea[data-v-fef021ee]:hover{border:1px solid #9cdfb0}ul[data-v-fef021ee]{margin:0;padding:0;list-style:none}a[data-v-fef021ee]{cursor:pointer;text-decoration:none}[data-v-fef021ee]::-webkit-scrollbar{width:.75em}[data-v-fef021ee]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-fef021ee]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-fef021ee]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-fef021ee]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-fef021ee],input[type=password][data-v-fef021ee],input[type=search][data-v-fef021ee],input[type=text][data-v-fef021ee]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-fef021ee]:hover,input[type=password][data-v-fef021ee]:hover,input[type=search][data-v-fef021ee]:hover,input[type=text][data-v-fef021ee]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-fef021ee]:focus,input[type=password][data-v-fef021ee]:focus,input[type=search][data-v-fef021ee]:focus,input[type=text][data-v-fef021ee]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-fef021ee],input[type=password].with-icon[data-v-fef021ee],input[type=search].with-icon[data-v-fef021ee],input[type=text].with-icon[data-v-fef021ee]{padding-left:.3em}input[type=search][data-v-fef021ee],input[type=text][data-v-fef021ee]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-fef021ee]{animation-fill-mode:both;animation-name:fadeIn-fef021ee;-webkit-animation-name:fadeIn-fef021ee}.fade-in[data-v-fef021ee],.fade-out[data-v-fef021ee]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-fef021ee]{animation-fill-mode:both;animation-name:fadeOut-fef021ee;-webkit-animation-name:fadeOut-fef021ee}@keyframes fadeIn-fef021ee{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-fef021ee{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.item[data-v-fef021ee]{display:flex;align-items:center;padding:.75em .25em;box-shadow:0 2.5px 2px -1px silver;cursor:pointer}.item[data-v-fef021ee]:hover{background:#bef6da}.item.active[data-v-fef021ee]{background:#8fefb7}.item.selected[data-v-fef021ee]{background:#c8ffd0}.item.dragover[data-v-fef021ee]{border-top:2px solid #35b870}.item[data-v-fef021ee]::-moz-selection{background:transparent!important}.item[data-v-fef021ee]::selection{background:transparent!important}.item .title[data-v-fef021ee]{font-size:1em;font-weight:400;margin:0}.item .side[data-v-fef021ee]{display:inline-flex;align-items:center}.item .side.right[data-v-fef021ee]{display:inline-flex;justify-content:right}.item .actions[data-v-fef021ee],.item .duration[data-v-fef021ee]{display:inline-flex;align-items:center}.item .duration[data-v-fef021ee]{font-size:.85em;opacity:.7}.item .actions[data-v-fef021ee] button{opacity:.65}.item .icon[data-v-fef021ee]{color:rgba(25,83,49,.702);margin-right:.75em}.item[data-v-fef021ee] .dropdown-container .item{box-shadow:none}.item[data-v-fef021ee] .dropdown-container button{background:none;border:none}.item[data-v-fef021ee] .dropdown-container button:hover{color:#35b870}[data-v-fef021ee] .table-row{width:100%;display:flex;flex-direction:column;box-shadow:0 0 1px .5px #cfcfcf}[data-v-fef021ee] .table-row:hover{background:#bef6da}@media screen and (min-width:769px){[data-v-fef021ee] .table-row{flex-direction:row;align-items:center}}[data-v-fef021ee] .table-row .title,[data-v-fef021ee] .table-row .value{width:100%;display:flex}@media screen and (min-width:769px){[data-v-fef021ee] .table-row .title,[data-v-fef021ee] .table-row .value{display:inline-flex}}[data-v-fef021ee] .table-row .title{font-weight:700}@media screen and (min-width:769px){[data-v-fef021ee] .table-row .title{width:30%}[data-v-fef021ee] .table-row .value{justify-content:right}}.entities-container[data-v-fef021ee]{--groups-per-row:1;width:100%;height:100%;overflow:auto;color:#23513a;font-weight:400}@media screen and (min-width:1024px){.entities-container[data-v-fef021ee]{--groups-per-row:2}}@media screen and (min-width:1408px){.entities-container[data-v-fef021ee]{--groups-per-row:3}}.entities-container button[data-v-fef021ee]{background:hsla(0,0%,100%,0);border:0}.entities-container button[data-v-fef021ee]:hover{color:#35b870}.entities-container header[data-v-fef021ee]{width:100%;height:2.5em;display:flex;background:#f8f8f8;box-shadow:0 3px 2px -1px silver;position:relative}.entities-container header .right[data-v-fef021ee]{position:absolute;right:0;text-align:right;margin-right:.5em;padding-right:.5em}.entities-container header .right button[data-v-fef021ee]{padding:.5em 0}.entities-container .groups-canvas[data-v-fef021ee]{width:100%;height:calc(100% - 2.5em);overflow:auto}@media screen and (min-width:1024px){.entities-container .groups-container[data-v-fef021ee]{-moz-column-count:var(--groups-per-row);column-count:var(--groups-per-row)}}.entities-container .group[data-v-fef021ee]{width:100%;max-height:100%;position:relative;padding:1em 0;display:flex;-moz-column-break-inside:avoid;break-inside:avoid}@media screen and (min-width:769px){.entities-container .group[data-v-fef021ee]{padding:1em}}.entities-container .group .frame[data-v-fef021ee]{display:flex;flex-direction:column;flex-grow:1;position:relative;box-shadow:3px -2px 6px 1px #98b0a0;border-radius:1em}@media screen and (min-width:1024px){.entities-container .group .frame[data-v-fef021ee]{max-height:calc(100vh - 4.5em)}}.entities-container .group .header[data-v-fef021ee]{width:100%;height:3.5em;display:table;background:linear-gradient(0deg,#c0e8e4,#e4f8f4);box-shadow:0 1px 3px 1px #bbb;border-radius:1em 1em 0 0}.entities-container .group .header .section[data-v-fef021ee]{height:100%;display:table-cell;vertical-align:middle}.entities-container .group .header .section.left[data-v-fef021ee],.entities-container .group .header .section.right[data-v-fef021ee]{width:10%}.entities-container .group .header .section.right[data-v-fef021ee]{text-align:right}.entities-container .group .header .section.center[data-v-fef021ee]{width:80%;text-align:center}.entities-container .group .body[data-v-fef021ee]{background:#f8f8f8;max-height:calc(100% - 3.5em);overflow:auto;flex-grow:1}.entities-container .group .body .entity-frame[data-v-fef021ee]:last-child{border-radius:0 0 1em 1em}@media screen and (max-width:calc(769px - 1px)){.entities-container[data-v-fef021ee] .modal{width:95%}.entities-container[data-v-fef021ee] .modal .content{width:100%}}@media screen and (min-width:769px){.entities-container[data-v-fef021ee] .modal .content{min-width:30em}}.entities-container[data-v-fef021ee] .modal .content .body{padding:0}.entities-container[data-v-fef021ee] .modal .content .body .table-row{padding:.5em} \ No newline at end of file +.col-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-6fec32b5]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-6fec32b5]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-6fec32b5]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-6fec32b5]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-6fec32b5]:first-child{margin-left:26%!important}.col-offset-3[data-v-6fec32b5]:not(first-child){margin-left:30%!important}.col-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-6fec32b5]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-6fec32b5]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-6fec32b5]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-6fec32b5]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-6fec32b5]:first-child{margin-left:52%!important}.col-offset-6[data-v-6fec32b5]:not(first-child){margin-left:56%!important}.col-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-6fec32b5]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-6fec32b5]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-6fec32b5]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-6fec32b5]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-6fec32b5]:first-child{margin-left:78%!important}.col-offset-9[data-v-6fec32b5]:not(first-child){margin-left:82%!important}.col-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-6fec32b5]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-6fec32b5]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-6fec32b5]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-6fec32b5]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-s-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-s-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-s-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-s-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-s-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-6fec32b5]{display:none!important}.s-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-m-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-m-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-m-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-m-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-m-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-6fec32b5]{display:none!important}.m-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-l-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-l-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-l-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-l-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-l-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-6fec32b5]{display:none!important}.l-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-xl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-xl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-xl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xl-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-6fec32b5]{display:none!important}.xl-visible[data-v-6fec32b5]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-1[data-v-6fec32b5]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-6fec32b5]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-2[data-v-6fec32b5]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-6fec32b5]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-3[data-v-6fec32b5]{margin-left:26%}.col-no-margin-xxl-3[data-v-6fec32b5]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-4[data-v-6fec32b5]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-6fec32b5]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-5[data-v-6fec32b5]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-6fec32b5]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-6[data-v-6fec32b5]{margin-left:52%}.col-no-margin-xxl-6[data-v-6fec32b5]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-7[data-v-6fec32b5]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-6fec32b5]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-8[data-v-6fec32b5]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-6fec32b5]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-9[data-v-6fec32b5]{margin-left:78%}.col-no-margin-xxl-9[data-v-6fec32b5]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-10[data-v-6fec32b5]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-6fec32b5]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-6fec32b5]:first-child{margin-left:0}.col-offset-xxl-11[data-v-6fec32b5]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-6fec32b5]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-6fec32b5]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-6fec32b5]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-6fec32b5]{display:none!important}.xxl-visible[data-v-6fec32b5]{display:block!important}}.vertical-center[data-v-6fec32b5]{display:flex;align-items:center}.horizontal-center[data-v-6fec32b5]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-6fec32b5]{text-align:right;float:right;justify-content:right}.hidden[data-v-6fec32b5]{display:none!important}.no-content[data-v-6fec32b5]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-6fec32b5],.btn[data-v-6fec32b5],button[data-v-6fec32b5]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-6fec32b5],.btn-default[type=submit][data-v-6fec32b5],.btn.btn-primary[data-v-6fec32b5],.btn[type=submit][data-v-6fec32b5],button.btn-primary[data-v-6fec32b5],button[type=submit][data-v-6fec32b5]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-6fec32b5],.btn-default .icon[data-v-6fec32b5],button .icon[data-v-6fec32b5]{margin-right:.5em}input[type=password][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-6fec32b5]:focus,input[type=text][data-v-6fec32b5]:focus{border:1px solid #35b870}button[data-v-6fec32b5],input[data-v-6fec32b5]{outline:none}input[type=text][data-v-6fec32b5]:hover,textarea[data-v-6fec32b5]:hover{border:1px solid #9cdfb0}ul[data-v-6fec32b5]{margin:0;padding:0;list-style:none}a[data-v-6fec32b5]{cursor:pointer;text-decoration:none}[data-v-6fec32b5]::-webkit-scrollbar{width:.75em}[data-v-6fec32b5]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-6fec32b5]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-6fec32b5]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-6fec32b5]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-6fec32b5],input[type=password][data-v-6fec32b5],input[type=search][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-6fec32b5]:hover,input[type=password][data-v-6fec32b5]:hover,input[type=search][data-v-6fec32b5]:hover,input[type=text][data-v-6fec32b5]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-6fec32b5]:focus,input[type=password][data-v-6fec32b5]:focus,input[type=search][data-v-6fec32b5]:focus,input[type=text][data-v-6fec32b5]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-6fec32b5],input[type=password].with-icon[data-v-6fec32b5],input[type=search].with-icon[data-v-6fec32b5],input[type=text].with-icon[data-v-6fec32b5]{padding-left:.3em}input[type=search][data-v-6fec32b5],input[type=text][data-v-6fec32b5]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-6fec32b5]{animation-fill-mode:both;animation-name:fadeIn-6fec32b5;-webkit-animation-name:fadeIn-6fec32b5}.fade-in[data-v-6fec32b5],.fade-out[data-v-6fec32b5]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-6fec32b5]{animation-fill-mode:both;animation-name:fadeOut-6fec32b5;-webkit-animation-name:fadeOut-6fec32b5}@keyframes fadeIn-6fec32b5{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-6fec32b5{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-6fec32b5]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.no-items-container[data-v-6fec32b5]{width:100%;display:flex;flex-direction:column;align-items:center}.no-items-container .no-items[data-v-6fec32b5]{min-width:100%;max-width:100%;background:#fff;margin:1em;padding:1em;font-size:1.5em;color:#555;display:flex;align-items:center;justify-content:center;border-radius:1em;box-shadow:0 3px 2px -1px silver}@media screen and (min-width:769px){.no-items-container .no-items[data-v-6fec32b5]{min-width:80%}}@media screen and (min-width:1024px){.no-items-container .no-items[data-v-6fec32b5]{min-width:50%;max-width:35em}}@media screen and (min-width:1408px){.no-items-container .no-items[data-v-6fec32b5]{min-width:33%}}.col-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3c242632]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3c242632]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3c242632]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3c242632]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3c242632]:first-child{margin-left:26%!important}.col-offset-3[data-v-3c242632]:not(first-child){margin-left:30%!important}.col-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3c242632]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3c242632]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3c242632]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3c242632]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3c242632]:first-child{margin-left:52%!important}.col-offset-6[data-v-3c242632]:not(first-child){margin-left:56%!important}.col-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3c242632]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3c242632]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3c242632]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3c242632]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3c242632]:first-child{margin-left:78%!important}.col-offset-9[data-v-3c242632]:not(first-child){margin-left:82%!important}.col-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3c242632]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3c242632]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3c242632]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3c242632]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-3[data-v-3c242632]{margin-left:26%}.col-no-margin-s-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-6[data-v-3c242632]{margin-left:52%}.col-no-margin-s-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-9[data-v-3c242632]{margin-left:78%}.col-no-margin-s-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-s-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3c242632]{display:none!important}.s-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-3[data-v-3c242632]{margin-left:26%}.col-no-margin-m-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-6[data-v-3c242632]{margin-left:52%}.col-no-margin-m-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-9[data-v-3c242632]{margin-left:78%}.col-no-margin-m-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-m-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3c242632]{display:none!important}.m-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-3[data-v-3c242632]{margin-left:26%}.col-no-margin-l-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-6[data-v-3c242632]{margin-left:52%}.col-no-margin-l-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-9[data-v-3c242632]{margin-left:78%}.col-no-margin-l-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-l-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3c242632]{display:none!important}.l-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-3[data-v-3c242632]{margin-left:26%}.col-no-margin-xl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-6[data-v-3c242632]{margin-left:52%}.col-no-margin-xl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-9[data-v-3c242632]{margin-left:78%}.col-no-margin-xl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-xl-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3c242632]{display:none!important}.xl-visible[data-v-3c242632]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3c242632]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3c242632]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3c242632]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3c242632]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3c242632]{margin-left:26%}.col-no-margin-xxl-3[data-v-3c242632]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3c242632]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3c242632]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3c242632]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3c242632]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3c242632]{margin-left:52%}.col-no-margin-xxl-6[data-v-3c242632]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3c242632]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3c242632]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3c242632]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3c242632]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3c242632]{margin-left:78%}.col-no-margin-xxl-9[data-v-3c242632]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3c242632]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3c242632]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3c242632]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3c242632]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3c242632]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3c242632]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3c242632]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3c242632]{display:none!important}.xxl-visible[data-v-3c242632]{display:block!important}}.vertical-center[data-v-3c242632]{display:flex;align-items:center}.horizontal-center[data-v-3c242632]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3c242632]{text-align:right;float:right;justify-content:right}.hidden[data-v-3c242632]{display:none!important}.no-content[data-v-3c242632]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3c242632],.btn[data-v-3c242632],button[data-v-3c242632]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3c242632],.btn-default[type=submit][data-v-3c242632],.btn.btn-primary[data-v-3c242632],.btn[type=submit][data-v-3c242632],button.btn-primary[data-v-3c242632],button[type=submit][data-v-3c242632]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-3c242632],.btn-default .icon[data-v-3c242632],button .icon[data-v-3c242632]{margin-right:.5em}input[type=password][data-v-3c242632],input[type=text][data-v-3c242632]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3c242632]:focus,input[type=text][data-v-3c242632]:focus{border:1px solid #35b870}button[data-v-3c242632],input[data-v-3c242632]{outline:none}input[type=text][data-v-3c242632]:hover,textarea[data-v-3c242632]:hover{border:1px solid #9cdfb0}ul[data-v-3c242632]{margin:0;padding:0;list-style:none}a[data-v-3c242632]{cursor:pointer;text-decoration:none}[data-v-3c242632]::-webkit-scrollbar{width:.75em}[data-v-3c242632]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-3c242632]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-3c242632]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-3c242632]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3c242632],input[type=password][data-v-3c242632],input[type=search][data-v-3c242632],input[type=text][data-v-3c242632]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3c242632]:hover,input[type=password][data-v-3c242632]:hover,input[type=search][data-v-3c242632]:hover,input[type=text][data-v-3c242632]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3c242632]:focus,input[type=password][data-v-3c242632]:focus,input[type=search][data-v-3c242632]:focus,input[type=text][data-v-3c242632]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3c242632],input[type=password].with-icon[data-v-3c242632],input[type=search].with-icon[data-v-3c242632],input[type=text].with-icon[data-v-3c242632]{padding-left:.3em}input[type=search][data-v-3c242632],input[type=text][data-v-3c242632]{border-radius:1em;padding:.25em .5em}.entity .body[data-v-3c242632],.fade-in[data-v-3c242632]{animation-duration:.5s;-webkit-animation-duration:.5s;animation-fill-mode:both;animation-name:fadeIn-3c242632;-webkit-animation-name:fadeIn-3c242632}.fade-out[data-v-3c242632]{animation-duration:.5s;-webkit-animation-duration:.5s;animation-fill-mode:both;animation-name:fadeOut-3c242632;-webkit-animation-name:fadeOut-3c242632}@keyframes fadeIn-3c242632{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-3c242632{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3c242632]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.entity[data-v-3c242632]{width:100%;display:flex;flex-direction:column}.entity .head[data-v-3c242632]{height:100%;display:flex;align-items:center;padding:.75em .25em}.entity .head .label[data-v-3c242632]{margin-top:.25em}.entity .head.expanded[data-v-3c242632]{background:#c8ffd0;font-weight:700}.entity .head .pull-right[data-v-3c242632]{display:inline-flex;align-items:center;direction:rtl;padding-right:.5em}.entity .head .pull-right[data-v-3c242632] .power-switch{margin-top:.25em}.entity .body[data-v-3c242632]{display:flex;flex-direction:column;padding:.5em;background:linear-gradient(0deg,#edf0ee,#f8f8f8);border-top:1px solid #e1e4e8;box-shadow:0 3px 2px -1px silver}.entity button[data-v-3c242632]{height:2em;background:none;border:none;padding:0 0 0 1em}.entity button[data-v-3c242632]:hover{color:#35b870}.entity-container[data-v-3c242632]{width:100%;position:relative;padding:0!important}.col-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-63b80935]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-63b80935]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-63b80935]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-63b80935]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-63b80935]:first-child{margin-left:26%!important}.col-offset-3[data-v-63b80935]:not(first-child){margin-left:30%!important}.col-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-63b80935]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-63b80935]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-63b80935]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-63b80935]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-63b80935]:first-child{margin-left:52%!important}.col-offset-6[data-v-63b80935]:not(first-child){margin-left:56%!important}.col-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-63b80935]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-63b80935]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-63b80935]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-63b80935]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-63b80935]:first-child{margin-left:78%!important}.col-offset-9[data-v-63b80935]:not(first-child){margin-left:82%!important}.col-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-63b80935]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-63b80935]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-63b80935]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-63b80935]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-3[data-v-63b80935]{margin-left:26%}.col-no-margin-s-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-6[data-v-63b80935]{margin-left:52%}.col-no-margin-s-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-9[data-v-63b80935]{margin-left:78%}.col-no-margin-s-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-s-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-s-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-63b80935]{display:none!important}.s-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-3[data-v-63b80935]{margin-left:26%}.col-no-margin-m-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-6[data-v-63b80935]{margin-left:52%}.col-no-margin-m-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-9[data-v-63b80935]{margin-left:78%}.col-no-margin-m-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-m-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-m-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-63b80935]{display:none!important}.m-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-3[data-v-63b80935]{margin-left:26%}.col-no-margin-l-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-6[data-v-63b80935]{margin-left:52%}.col-no-margin-l-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-9[data-v-63b80935]{margin-left:78%}.col-no-margin-l-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-l-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-l-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-63b80935]{display:none!important}.l-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-3[data-v-63b80935]{margin-left:26%}.col-no-margin-xl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-6[data-v-63b80935]{margin-left:52%}.col-no-margin-xl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-9[data-v-63b80935]{margin-left:78%}.col-no-margin-xl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-xl-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-63b80935]{display:none!important}.xl-visible[data-v-63b80935]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-1[data-v-63b80935]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-63b80935]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-2[data-v-63b80935]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-63b80935]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-3[data-v-63b80935]{margin-left:26%}.col-no-margin-xxl-3[data-v-63b80935]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-4[data-v-63b80935]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-63b80935]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-5[data-v-63b80935]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-63b80935]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-6[data-v-63b80935]{margin-left:52%}.col-no-margin-xxl-6[data-v-63b80935]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-7[data-v-63b80935]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-63b80935]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-8[data-v-63b80935]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-63b80935]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-9[data-v-63b80935]{margin-left:78%}.col-no-margin-xxl-9[data-v-63b80935]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-10[data-v-63b80935]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-63b80935]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-63b80935]:first-child{margin-left:0}.col-offset-xxl-11[data-v-63b80935]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-63b80935]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-63b80935]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-63b80935]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-63b80935]{display:none!important}.xxl-visible[data-v-63b80935]{display:block!important}}.vertical-center[data-v-63b80935]{display:flex;align-items:center}.horizontal-center[data-v-63b80935]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-63b80935]{text-align:right;float:right;justify-content:right}.hidden[data-v-63b80935]{display:none!important}.no-content[data-v-63b80935]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-63b80935],.btn[data-v-63b80935],button[data-v-63b80935]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-63b80935],.btn-default[type=submit][data-v-63b80935],.btn.btn-primary[data-v-63b80935],.btn[type=submit][data-v-63b80935],button.btn-primary[data-v-63b80935],button[type=submit][data-v-63b80935]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-63b80935],.btn-default .icon[data-v-63b80935],button .icon[data-v-63b80935]{margin-right:.5em}input[type=password][data-v-63b80935],input[type=text][data-v-63b80935]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-63b80935]:focus,input[type=text][data-v-63b80935]:focus{border:1px solid #35b870}button[data-v-63b80935],input[data-v-63b80935]{outline:none}input[type=text][data-v-63b80935]:hover,textarea[data-v-63b80935]:hover{border:1px solid #9cdfb0}ul[data-v-63b80935]{margin:0;padding:0;list-style:none}a[data-v-63b80935]{cursor:pointer;text-decoration:none}[data-v-63b80935]::-webkit-scrollbar{width:.75em}[data-v-63b80935]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-63b80935]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-63b80935]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-63b80935]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-63b80935],input[type=password][data-v-63b80935],input[type=search][data-v-63b80935],input[type=text][data-v-63b80935]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-63b80935]:hover,input[type=password][data-v-63b80935]:hover,input[type=search][data-v-63b80935]:hover,input[type=text][data-v-63b80935]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-63b80935]:focus,input[type=password][data-v-63b80935]:focus,input[type=search][data-v-63b80935]:focus,input[type=text][data-v-63b80935]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-63b80935],input[type=password].with-icon[data-v-63b80935],input[type=search].with-icon[data-v-63b80935],input[type=text].with-icon[data-v-63b80935]{padding-left:.3em}input[type=search][data-v-63b80935],input[type=text][data-v-63b80935]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-63b80935]{animation-fill-mode:both;animation-name:fadeIn-63b80935;-webkit-animation-name:fadeIn-63b80935}.fade-in[data-v-63b80935],.fade-out[data-v-63b80935]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-63b80935]{animation-fill-mode:both;animation-name:fadeOut-63b80935;-webkit-animation-name:fadeOut-63b80935}@keyframes fadeIn-63b80935{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-63b80935{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-63b80935]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.entities-selectors-container[data-v-63b80935]{width:100%;display:flex;align-items:center}.entities-selectors-container .selector[data-v-63b80935]{height:100%;display:inline-flex}.entities-selectors-container .selector.active[data-v-63b80935] .dropdown-container button{color:#35b870}@media(max-width:330px){.entities-selectors-container .search-bar[data-v-63b80935]{display:none}}.entities-selectors-container[data-v-63b80935] .dropdown-container{height:100%;display:flex}.entities-selectors-container[data-v-63b80935] .dropdown-container button{height:100%;background:#f8f8f8;border:0;padding:.5em}.entities-selectors-container[data-v-63b80935] .dropdown-container button:hover{color:#35b870}.entities-selectors-container[data-v-63b80935] .dropdown-container .item{padding:.5em 4em .5em .5em;border:0;box-shadow:none}.entities-selectors-container[data-v-63b80935] .dropdown-container .item .col-1.icon{width:1.5em}.entities-selectors-container[data-v-63b80935] .dropdown-container .item.selected{font-weight:700;background:hsla(0,0%,100%,0)}.entities-selectors-container[data-v-63b80935] .dropdown-container .item:hover{background:#bef6da}.col-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-d543b3e4]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-d543b3e4]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-d543b3e4]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-d543b3e4]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-d543b3e4]:first-child{margin-left:26%!important}.col-offset-3[data-v-d543b3e4]:not(first-child){margin-left:30%!important}.col-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-d543b3e4]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-d543b3e4]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-d543b3e4]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-d543b3e4]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-d543b3e4]:first-child{margin-left:52%!important}.col-offset-6[data-v-d543b3e4]:not(first-child){margin-left:56%!important}.col-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-d543b3e4]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-d543b3e4]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-d543b3e4]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-d543b3e4]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-d543b3e4]:first-child{margin-left:78%!important}.col-offset-9[data-v-d543b3e4]:not(first-child){margin-left:82%!important}.col-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-d543b3e4]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-d543b3e4]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-d543b3e4]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-d543b3e4]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-s-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-s-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-s-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-s-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-s-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-d543b3e4]{display:none!important}.s-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-m-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-m-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-m-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-m-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-m-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-d543b3e4]{display:none!important}.m-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-l-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-l-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-l-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-l-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-l-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-d543b3e4]{display:none!important}.l-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-xl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-xl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-xl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xl-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-d543b3e4]{display:none!important}.xl-visible[data-v-d543b3e4]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-1[data-v-d543b3e4]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-d543b3e4]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-2[data-v-d543b3e4]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-d543b3e4]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-3[data-v-d543b3e4]{margin-left:26%}.col-no-margin-xxl-3[data-v-d543b3e4]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-4[data-v-d543b3e4]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-d543b3e4]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-5[data-v-d543b3e4]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-d543b3e4]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-6[data-v-d543b3e4]{margin-left:52%}.col-no-margin-xxl-6[data-v-d543b3e4]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-7[data-v-d543b3e4]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-d543b3e4]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-8[data-v-d543b3e4]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-d543b3e4]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-9[data-v-d543b3e4]{margin-left:78%}.col-no-margin-xxl-9[data-v-d543b3e4]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-10[data-v-d543b3e4]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-d543b3e4]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-d543b3e4]:first-child{margin-left:0}.col-offset-xxl-11[data-v-d543b3e4]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-d543b3e4]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-d543b3e4]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-d543b3e4]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-d543b3e4]{display:none!important}.xxl-visible[data-v-d543b3e4]{display:block!important}}.vertical-center[data-v-d543b3e4]{display:flex;align-items:center}.horizontal-center[data-v-d543b3e4]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-d543b3e4]{text-align:right;float:right;justify-content:right}.hidden[data-v-d543b3e4]{display:none!important}.no-content[data-v-d543b3e4]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-d543b3e4],.btn[data-v-d543b3e4],button[data-v-d543b3e4]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-d543b3e4],.btn-default[type=submit][data-v-d543b3e4],.btn.btn-primary[data-v-d543b3e4],.btn[type=submit][data-v-d543b3e4],button.btn-primary[data-v-d543b3e4],button[type=submit][data-v-d543b3e4]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-d543b3e4],.btn-default .icon[data-v-d543b3e4],button .icon[data-v-d543b3e4]{margin-right:.5em}input[type=password][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-d543b3e4]:focus,input[type=text][data-v-d543b3e4]:focus{border:1px solid #35b870}button[data-v-d543b3e4],input[data-v-d543b3e4]{outline:none}input[type=text][data-v-d543b3e4]:hover,textarea[data-v-d543b3e4]:hover{border:1px solid #9cdfb0}ul[data-v-d543b3e4]{margin:0;padding:0;list-style:none}a[data-v-d543b3e4]{cursor:pointer;text-decoration:none}[data-v-d543b3e4]::-webkit-scrollbar{width:.75em}[data-v-d543b3e4]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-d543b3e4]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-d543b3e4]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-d543b3e4]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-d543b3e4],input[type=password][data-v-d543b3e4],input[type=search][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-d543b3e4]:hover,input[type=password][data-v-d543b3e4]:hover,input[type=search][data-v-d543b3e4]:hover,input[type=text][data-v-d543b3e4]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-d543b3e4]:focus,input[type=password][data-v-d543b3e4]:focus,input[type=search][data-v-d543b3e4]:focus,input[type=text][data-v-d543b3e4]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-d543b3e4],input[type=password].with-icon[data-v-d543b3e4],input[type=search].with-icon[data-v-d543b3e4],input[type=text].with-icon[data-v-d543b3e4]{padding-left:.3em}input[type=search][data-v-d543b3e4],input[type=text][data-v-d543b3e4]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-d543b3e4]{animation-fill-mode:both;animation-name:fadeIn-d543b3e4;-webkit-animation-name:fadeIn-d543b3e4}.fade-in[data-v-d543b3e4],.fade-out[data-v-d543b3e4]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-d543b3e4]{animation-fill-mode:both;animation-name:fadeOut-d543b3e4;-webkit-animation-name:fadeOut-d543b3e4}@keyframes fadeIn-d543b3e4{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-d543b3e4{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-d543b3e4]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}[data-v-d543b3e4] .modal .dialog-content{padding:1em}[data-v-d543b3e4] .modal .buttons{display:flex;flex-direction:row;justify-content:right;padding:1em 0 1em 1em;border:0;border-radius:0;box-shadow:0 -1px 2px 0 silver}[data-v-d543b3e4] .modal .buttons button{margin-right:1em;padding:.5em 1em;border:1px solid #ddd;border-radius:1em}[data-v-d543b3e4] .modal .buttons button:hover{background:#bef6da}.col-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3344f2bf]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3344f2bf]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3344f2bf]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3344f2bf]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3344f2bf]:first-child{margin-left:26%!important}.col-offset-3[data-v-3344f2bf]:not(first-child){margin-left:30%!important}.col-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3344f2bf]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3344f2bf]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3344f2bf]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3344f2bf]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3344f2bf]:first-child{margin-left:52%!important}.col-offset-6[data-v-3344f2bf]:not(first-child){margin-left:56%!important}.col-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3344f2bf]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3344f2bf]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3344f2bf]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3344f2bf]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3344f2bf]:first-child{margin-left:78%!important}.col-offset-9[data-v-3344f2bf]:not(first-child){margin-left:82%!important}.col-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3344f2bf]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3344f2bf]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3344f2bf]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3344f2bf]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-s-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-s-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-s-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-s-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3344f2bf]{display:none!important}.s-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-m-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-m-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-m-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-m-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3344f2bf]{display:none!important}.m-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-l-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-l-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-l-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-l-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3344f2bf]{display:none!important}.l-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-xl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-xl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-xl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xl-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3344f2bf]{display:none!important}.xl-visible[data-v-3344f2bf]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3344f2bf]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3344f2bf]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3344f2bf]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3344f2bf]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3344f2bf]{margin-left:26%}.col-no-margin-xxl-3[data-v-3344f2bf]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3344f2bf]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3344f2bf]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3344f2bf]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3344f2bf]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3344f2bf]{margin-left:52%}.col-no-margin-xxl-6[data-v-3344f2bf]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3344f2bf]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3344f2bf]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3344f2bf]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3344f2bf]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3344f2bf]{margin-left:78%}.col-no-margin-xxl-9[data-v-3344f2bf]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3344f2bf]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3344f2bf]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3344f2bf]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3344f2bf]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3344f2bf]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3344f2bf]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3344f2bf]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3344f2bf]{display:none!important}.xxl-visible[data-v-3344f2bf]{display:block!important}}.vertical-center[data-v-3344f2bf]{display:flex;align-items:center}.horizontal-center[data-v-3344f2bf]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3344f2bf]{text-align:right;float:right;justify-content:right}.hidden[data-v-3344f2bf]{display:none!important}.no-content[data-v-3344f2bf]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3344f2bf],.btn[data-v-3344f2bf],button[data-v-3344f2bf]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3344f2bf],.btn-default[type=submit][data-v-3344f2bf],.btn.btn-primary[data-v-3344f2bf],.btn[type=submit][data-v-3344f2bf],button.btn-primary[data-v-3344f2bf],button[type=submit][data-v-3344f2bf]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-3344f2bf],.btn-default .icon[data-v-3344f2bf],button .icon[data-v-3344f2bf]{margin-right:.5em}input[type=password][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3344f2bf]:focus,input[type=text][data-v-3344f2bf]:focus{border:1px solid #35b870}button[data-v-3344f2bf],input[data-v-3344f2bf]{outline:none}input[type=text][data-v-3344f2bf]:hover,textarea[data-v-3344f2bf]:hover{border:1px solid #9cdfb0}ul[data-v-3344f2bf]{margin:0;padding:0;list-style:none}a[data-v-3344f2bf]{cursor:pointer;text-decoration:none}[data-v-3344f2bf]::-webkit-scrollbar{width:.75em}[data-v-3344f2bf]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-3344f2bf]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-3344f2bf]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-3344f2bf]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3344f2bf],input[type=password][data-v-3344f2bf],input[type=search][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3344f2bf]:hover,input[type=password][data-v-3344f2bf]:hover,input[type=search][data-v-3344f2bf]:hover,input[type=text][data-v-3344f2bf]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3344f2bf]:focus,input[type=password][data-v-3344f2bf]:focus,input[type=search][data-v-3344f2bf]:focus,input[type=text][data-v-3344f2bf]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3344f2bf],input[type=password].with-icon[data-v-3344f2bf],input[type=search].with-icon[data-v-3344f2bf],input[type=text].with-icon[data-v-3344f2bf]{padding-left:.3em}input[type=search][data-v-3344f2bf],input[type=text][data-v-3344f2bf]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-3344f2bf]{animation-fill-mode:both;animation-name:fadeIn-3344f2bf;-webkit-animation-name:fadeIn-3344f2bf}.fade-in[data-v-3344f2bf],.fade-out[data-v-3344f2bf]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-3344f2bf]{animation-fill-mode:both;animation-name:fadeOut-3344f2bf;-webkit-animation-name:fadeOut-3344f2bf}@keyframes fadeIn-3344f2bf{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-3344f2bf{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3344f2bf]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.edit-btn[data-v-3344f2bf]{border:0;background:none;padding:0 .25em;margin-left:.25em;border:1px solid transparent}.edit-btn[data-v-3344f2bf]:hover{background:#bef6da;border:1px solid #32b646}.col-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1405d90f]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1405d90f]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1405d90f]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1405d90f]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1405d90f]:first-child{margin-left:26%!important}.col-offset-3[data-v-1405d90f]:not(first-child){margin-left:30%!important}.col-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1405d90f]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1405d90f]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1405d90f]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1405d90f]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1405d90f]:first-child{margin-left:52%!important}.col-offset-6[data-v-1405d90f]:not(first-child){margin-left:56%!important}.col-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1405d90f]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1405d90f]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1405d90f]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1405d90f]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1405d90f]:first-child{margin-left:78%!important}.col-offset-9[data-v-1405d90f]:not(first-child){margin-left:82%!important}.col-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1405d90f]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1405d90f]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1405d90f]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1405d90f]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-s-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-s-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-s-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-s-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1405d90f]{display:none!important}.s-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-m-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-m-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-m-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-m-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1405d90f]{display:none!important}.m-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-l-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-l-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-l-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-l-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1405d90f]{display:none!important}.l-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-xl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-xl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-xl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xl-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1405d90f]{display:none!important}.xl-visible[data-v-1405d90f]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1405d90f]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1405d90f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1405d90f]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1405d90f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1405d90f]{margin-left:26%}.col-no-margin-xxl-3[data-v-1405d90f]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1405d90f]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1405d90f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1405d90f]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1405d90f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1405d90f]{margin-left:52%}.col-no-margin-xxl-6[data-v-1405d90f]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1405d90f]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1405d90f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1405d90f]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1405d90f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1405d90f]{margin-left:78%}.col-no-margin-xxl-9[data-v-1405d90f]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1405d90f]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1405d90f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1405d90f]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1405d90f]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1405d90f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1405d90f]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1405d90f]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1405d90f]{display:none!important}.xxl-visible[data-v-1405d90f]{display:block!important}}.vertical-center[data-v-1405d90f]{display:flex;align-items:center}.horizontal-center[data-v-1405d90f]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1405d90f]{text-align:right;float:right;justify-content:right}.hidden[data-v-1405d90f]{display:none!important}.no-content[data-v-1405d90f]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1405d90f],.btn[data-v-1405d90f],button[data-v-1405d90f]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1405d90f],.btn-default[type=submit][data-v-1405d90f],.btn.btn-primary[data-v-1405d90f],.btn[type=submit][data-v-1405d90f],button.btn-primary[data-v-1405d90f],button[type=submit][data-v-1405d90f]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-1405d90f],.btn-default .icon[data-v-1405d90f],button .icon[data-v-1405d90f]{margin-right:.5em}input[type=password][data-v-1405d90f],input[type=text][data-v-1405d90f]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1405d90f]:focus,input[type=text][data-v-1405d90f]:focus{border:1px solid #35b870}button[data-v-1405d90f],input[data-v-1405d90f]{outline:none}input[type=text][data-v-1405d90f]:hover,textarea[data-v-1405d90f]:hover{border:1px solid #9cdfb0}ul[data-v-1405d90f]{margin:0;padding:0;list-style:none}a[data-v-1405d90f]{cursor:pointer;text-decoration:none}[data-v-1405d90f]::-webkit-scrollbar{width:.75em}[data-v-1405d90f]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-1405d90f]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-1405d90f]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-1405d90f]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1405d90f],input[type=password][data-v-1405d90f],input[type=search][data-v-1405d90f],input[type=text][data-v-1405d90f]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1405d90f]:hover,input[type=password][data-v-1405d90f]:hover,input[type=search][data-v-1405d90f]:hover,input[type=text][data-v-1405d90f]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1405d90f]:focus,input[type=password][data-v-1405d90f]:focus,input[type=search][data-v-1405d90f]:focus,input[type=text][data-v-1405d90f]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1405d90f],input[type=password].with-icon[data-v-1405d90f],input[type=search].with-icon[data-v-1405d90f],input[type=text].with-icon[data-v-1405d90f]{padding-left:.3em}input[type=search][data-v-1405d90f],input[type=text][data-v-1405d90f]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1405d90f]{animation-fill-mode:both;animation-name:fadeIn-1405d90f;-webkit-animation-name:fadeIn-1405d90f}.fade-in[data-v-1405d90f],.fade-out[data-v-1405d90f]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1405d90f]{animation-fill-mode:both;animation-name:fadeOut-1405d90f;-webkit-animation-name:fadeOut-1405d90f}@keyframes fadeIn-1405d90f{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-1405d90f{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1405d90f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.name-editor[data-v-1405d90f]{background:transparent;display:inline-flex;flex-direction:row;padding:0;border:0;border-radius:0;box-shadow:none}.name-editor button[data-v-1405d90f]{border:none;background:none;padding:0 .5em}.name-editor button.confirm[data-v-1405d90f]{color:#32b646}.name-editor button.cancel[data-v-1405d90f]{color:#ad1717}.col-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-628ff73f]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-628ff73f]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-628ff73f]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-628ff73f]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-628ff73f]:first-child{margin-left:26%!important}.col-offset-3[data-v-628ff73f]:not(first-child){margin-left:30%!important}.col-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-628ff73f]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-628ff73f]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-628ff73f]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-628ff73f]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-628ff73f]:first-child{margin-left:52%!important}.col-offset-6[data-v-628ff73f]:not(first-child){margin-left:56%!important}.col-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-628ff73f]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-628ff73f]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-628ff73f]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-628ff73f]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-628ff73f]:first-child{margin-left:78%!important}.col-offset-9[data-v-628ff73f]:not(first-child){margin-left:82%!important}.col-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-628ff73f]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-628ff73f]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-628ff73f]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-628ff73f]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-1[data-v-628ff73f]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-2[data-v-628ff73f]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-3[data-v-628ff73f]{margin-left:26%}.col-no-margin-s-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-4[data-v-628ff73f]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-5[data-v-628ff73f]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-6[data-v-628ff73f]{margin-left:52%}.col-no-margin-s-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-7[data-v-628ff73f]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-8[data-v-628ff73f]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-9[data-v-628ff73f]{margin-left:78%}.col-no-margin-s-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-10[data-v-628ff73f]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-628ff73f]:first-child{margin-left:0}.col-offset-s-11[data-v-628ff73f]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-s-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-628ff73f]{display:none!important}.s-visible[data-v-628ff73f]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-1[data-v-628ff73f]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-2[data-v-628ff73f]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-3[data-v-628ff73f]{margin-left:26%}.col-no-margin-m-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-4[data-v-628ff73f]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-5[data-v-628ff73f]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-6[data-v-628ff73f]{margin-left:52%}.col-no-margin-m-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-7[data-v-628ff73f]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-8[data-v-628ff73f]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-9[data-v-628ff73f]{margin-left:78%}.col-no-margin-m-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-10[data-v-628ff73f]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-628ff73f]:first-child{margin-left:0}.col-offset-m-11[data-v-628ff73f]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-m-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-628ff73f]{display:none!important}.m-visible[data-v-628ff73f]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-1[data-v-628ff73f]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-2[data-v-628ff73f]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-3[data-v-628ff73f]{margin-left:26%}.col-no-margin-l-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-4[data-v-628ff73f]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-5[data-v-628ff73f]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-6[data-v-628ff73f]{margin-left:52%}.col-no-margin-l-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-7[data-v-628ff73f]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-8[data-v-628ff73f]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-9[data-v-628ff73f]{margin-left:78%}.col-no-margin-l-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-10[data-v-628ff73f]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-628ff73f]:first-child{margin-left:0}.col-offset-l-11[data-v-628ff73f]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-l-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-628ff73f]{display:none!important}.l-visible[data-v-628ff73f]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-1[data-v-628ff73f]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-2[data-v-628ff73f]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-3[data-v-628ff73f]{margin-left:26%}.col-no-margin-xl-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-4[data-v-628ff73f]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-5[data-v-628ff73f]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-6[data-v-628ff73f]{margin-left:52%}.col-no-margin-xl-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-7[data-v-628ff73f]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-8[data-v-628ff73f]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-9[data-v-628ff73f]{margin-left:78%}.col-no-margin-xl-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-10[data-v-628ff73f]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xl-11[data-v-628ff73f]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-628ff73f]{display:none!important}.xl-visible[data-v-628ff73f]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-1[data-v-628ff73f]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-628ff73f]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-2[data-v-628ff73f]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-628ff73f]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-3[data-v-628ff73f]{margin-left:26%}.col-no-margin-xxl-3[data-v-628ff73f]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-4[data-v-628ff73f]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-628ff73f]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-5[data-v-628ff73f]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-628ff73f]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-6[data-v-628ff73f]{margin-left:52%}.col-no-margin-xxl-6[data-v-628ff73f]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-7[data-v-628ff73f]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-628ff73f]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-8[data-v-628ff73f]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-628ff73f]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-9[data-v-628ff73f]{margin-left:78%}.col-no-margin-xxl-9[data-v-628ff73f]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-10[data-v-628ff73f]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-628ff73f]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-628ff73f]:first-child{margin-left:0}.col-offset-xxl-11[data-v-628ff73f]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-628ff73f]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-628ff73f]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-628ff73f]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-628ff73f]{display:none!important}.xxl-visible[data-v-628ff73f]{display:block!important}}.vertical-center[data-v-628ff73f]{display:flex;align-items:center}.horizontal-center[data-v-628ff73f]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-628ff73f]{text-align:right;float:right;justify-content:right}.hidden[data-v-628ff73f]{display:none!important}.no-content[data-v-628ff73f]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-628ff73f],.btn[data-v-628ff73f],button[data-v-628ff73f]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-628ff73f],.btn-default[type=submit][data-v-628ff73f],.btn.btn-primary[data-v-628ff73f],.btn[type=submit][data-v-628ff73f],button.btn-primary[data-v-628ff73f],button[type=submit][data-v-628ff73f]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-628ff73f],.btn-default .icon[data-v-628ff73f],button .icon[data-v-628ff73f]{margin-right:.5em}input[type=password][data-v-628ff73f],input[type=text][data-v-628ff73f]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-628ff73f]:focus,input[type=text][data-v-628ff73f]:focus{border:1px solid #35b870}button[data-v-628ff73f],input[data-v-628ff73f]{outline:none}input[type=text][data-v-628ff73f]:hover,textarea[data-v-628ff73f]:hover{border:1px solid #9cdfb0}ul[data-v-628ff73f]{margin:0;padding:0;list-style:none}a[data-v-628ff73f]{cursor:pointer;text-decoration:none}[data-v-628ff73f]::-webkit-scrollbar{width:.75em}[data-v-628ff73f]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-628ff73f]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-628ff73f]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-628ff73f]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-628ff73f],input[type=password][data-v-628ff73f],input[type=search][data-v-628ff73f],input[type=text][data-v-628ff73f]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-628ff73f]:hover,input[type=password][data-v-628ff73f]:hover,input[type=search][data-v-628ff73f]:hover,input[type=text][data-v-628ff73f]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-628ff73f]:focus,input[type=password][data-v-628ff73f]:focus,input[type=search][data-v-628ff73f]:focus,input[type=text][data-v-628ff73f]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-628ff73f],input[type=password].with-icon[data-v-628ff73f],input[type=search].with-icon[data-v-628ff73f],input[type=text].with-icon[data-v-628ff73f]{padding-left:.3em}input[type=search][data-v-628ff73f],input[type=text][data-v-628ff73f]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-628ff73f]{animation-fill-mode:both;animation-name:fadeIn-628ff73f;-webkit-animation-name:fadeIn-628ff73f}.fade-in[data-v-628ff73f],.fade-out[data-v-628ff73f]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-628ff73f]{animation-fill-mode:both;animation-name:fadeOut-628ff73f;-webkit-animation-name:fadeOut-628ff73f}@keyframes fadeIn-628ff73f{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-628ff73f{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-628ff73f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-628ff73f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-628ff73f]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}[data-v-628ff73f] .modal .body{padding:.5em!important}[data-v-628ff73f] .modal .body .table-row{box-shadow:none}[data-v-628ff73f] .modal .icon-canvas{display:inline-flex;align-items:center}@media screen and (max-width:calc(769px - 1px)){[data-v-628ff73f] .modal .icon-canvas .icon-container{justify-content:left}}@media screen and (min-width:769px){[data-v-628ff73f] .modal .icon-canvas .icon-container{justify-content:right}}[data-v-628ff73f] .modal .icon-editor{display:flex;flex-direction:column}[data-v-628ff73f] .modal button{border:none;background:none;padding:0 .5em}[data-v-628ff73f] .modal .help{font-size:.75em}[data-v-628ff73f] .modal .delete-entity-container,[data-v-628ff73f] .modal .delete-entity-container button{color:#ad1717}.col-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-fef021ee]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-fef021ee]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-fef021ee]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-fef021ee]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-fef021ee]:first-child{margin-left:26%!important}.col-offset-3[data-v-fef021ee]:not(first-child){margin-left:30%!important}.col-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-fef021ee]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-fef021ee]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-fef021ee]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-fef021ee]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-fef021ee]:first-child{margin-left:52%!important}.col-offset-6[data-v-fef021ee]:not(first-child){margin-left:56%!important}.col-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-fef021ee]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-fef021ee]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-fef021ee]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-fef021ee]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-fef021ee]:first-child{margin-left:78%!important}.col-offset-9[data-v-fef021ee]:not(first-child){margin-left:82%!important}.col-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-fef021ee]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-fef021ee]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-fef021ee]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-fef021ee]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-s-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-s-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-s-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-s-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-s-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-fef021ee]{display:none!important}.s-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-m-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-m-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-m-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-m-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-m-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-fef021ee]{display:none!important}.m-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-l-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-l-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-l-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-l-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-l-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-fef021ee]{display:none!important}.l-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-xl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-xl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-xl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xl-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-fef021ee]{display:none!important}.xl-visible[data-v-fef021ee]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-1[data-v-fef021ee]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-fef021ee]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-2[data-v-fef021ee]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-fef021ee]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-3[data-v-fef021ee]{margin-left:26%}.col-no-margin-xxl-3[data-v-fef021ee]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-4[data-v-fef021ee]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-fef021ee]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-5[data-v-fef021ee]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-fef021ee]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-6[data-v-fef021ee]{margin-left:52%}.col-no-margin-xxl-6[data-v-fef021ee]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-7[data-v-fef021ee]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-fef021ee]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-8[data-v-fef021ee]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-fef021ee]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-9[data-v-fef021ee]{margin-left:78%}.col-no-margin-xxl-9[data-v-fef021ee]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-10[data-v-fef021ee]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-fef021ee]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-fef021ee]:first-child{margin-left:0}.col-offset-xxl-11[data-v-fef021ee]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-fef021ee]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-fef021ee]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-fef021ee]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-fef021ee]{display:none!important}.xxl-visible[data-v-fef021ee]{display:block!important}}.vertical-center[data-v-fef021ee]{display:flex;align-items:center}.horizontal-center[data-v-fef021ee]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-fef021ee]{text-align:right;float:right;justify-content:right}.hidden[data-v-fef021ee]{display:none!important}.no-content[data-v-fef021ee]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-fef021ee],.btn[data-v-fef021ee],button[data-v-fef021ee]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-fef021ee],.btn-default[type=submit][data-v-fef021ee],.btn.btn-primary[data-v-fef021ee],.btn[type=submit][data-v-fef021ee],button.btn-primary[data-v-fef021ee],button[type=submit][data-v-fef021ee]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-fef021ee],.btn-default .icon[data-v-fef021ee],button .icon[data-v-fef021ee]{margin-right:.5em}input[type=password][data-v-fef021ee],input[type=text][data-v-fef021ee]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-fef021ee]:focus,input[type=text][data-v-fef021ee]:focus{border:1px solid #35b870}button[data-v-fef021ee],input[data-v-fef021ee]{outline:none}input[type=text][data-v-fef021ee]:hover,textarea[data-v-fef021ee]:hover{border:1px solid #9cdfb0}ul[data-v-fef021ee]{margin:0;padding:0;list-style:none}a[data-v-fef021ee]{cursor:pointer;text-decoration:none}[data-v-fef021ee]::-webkit-scrollbar{width:.75em}[data-v-fef021ee]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-fef021ee]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-fef021ee]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-fef021ee]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-fef021ee],input[type=password][data-v-fef021ee],input[type=search][data-v-fef021ee],input[type=text][data-v-fef021ee]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-fef021ee]:hover,input[type=password][data-v-fef021ee]:hover,input[type=search][data-v-fef021ee]:hover,input[type=text][data-v-fef021ee]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-fef021ee]:focus,input[type=password][data-v-fef021ee]:focus,input[type=search][data-v-fef021ee]:focus,input[type=text][data-v-fef021ee]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-fef021ee],input[type=password].with-icon[data-v-fef021ee],input[type=search].with-icon[data-v-fef021ee],input[type=text].with-icon[data-v-fef021ee]{padding-left:.3em}input[type=search][data-v-fef021ee],input[type=text][data-v-fef021ee]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-fef021ee]{animation-fill-mode:both;animation-name:fadeIn-fef021ee;-webkit-animation-name:fadeIn-fef021ee}.fade-in[data-v-fef021ee],.fade-out[data-v-fef021ee]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-fef021ee]{animation-fill-mode:both;animation-name:fadeOut-fef021ee;-webkit-animation-name:fadeOut-fef021ee}@keyframes fadeIn-fef021ee{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-fef021ee{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-fef021ee]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.item[data-v-fef021ee]{display:flex;align-items:center;padding:.75em .25em;box-shadow:0 2.5px 2px -1px silver;cursor:pointer}.item[data-v-fef021ee]:hover{background:#bef6da}.item.active[data-v-fef021ee]{background:#8fefb7}.item.selected[data-v-fef021ee]{background:#c8ffd0}.item.dragover[data-v-fef021ee]{border-top:2px solid #35b870}.item[data-v-fef021ee]::-moz-selection{background:transparent!important}.item[data-v-fef021ee]::selection{background:transparent!important}.item .title[data-v-fef021ee]{font-size:1em;font-weight:400;margin:0}.item .side[data-v-fef021ee]{display:inline-flex;align-items:center}.item .side.right[data-v-fef021ee]{display:inline-flex;justify-content:right}.item .actions[data-v-fef021ee],.item .duration[data-v-fef021ee]{display:inline-flex;align-items:center}.item .duration[data-v-fef021ee]{font-size:.85em;opacity:.7}.item .actions[data-v-fef021ee] button{opacity:.65}.item .icon[data-v-fef021ee]{color:rgba(25,83,49,.702);margin-right:.75em}.item[data-v-fef021ee] .dropdown-container .item{box-shadow:none}.item[data-v-fef021ee] .dropdown-container button{background:none;border:none}.item[data-v-fef021ee] .dropdown-container button:hover{color:#35b870}[data-v-fef021ee] .table-row{width:100%;display:flex;flex-direction:column;box-shadow:0 0 1px .5px #cfcfcf}[data-v-fef021ee] .table-row:hover{background:#bef6da}@media screen and (min-width:769px){[data-v-fef021ee] .table-row{flex-direction:row;align-items:center}}[data-v-fef021ee] .table-row .title,[data-v-fef021ee] .table-row .value{width:100%;display:flex}@media screen and (min-width:769px){[data-v-fef021ee] .table-row .title,[data-v-fef021ee] .table-row .value{display:inline-flex}}[data-v-fef021ee] .table-row .title{font-weight:700}@media screen and (min-width:769px){[data-v-fef021ee] .table-row .title{width:30%}[data-v-fef021ee] .table-row .value{justify-content:right}}.entities-container[data-v-fef021ee]{--groups-per-row:1;width:100%;height:100%;overflow:auto;color:#23513a;font-weight:400}@media screen and (min-width:1024px){.entities-container[data-v-fef021ee]{--groups-per-row:2}}@media screen and (min-width:1408px){.entities-container[data-v-fef021ee]{--groups-per-row:3}}.entities-container button[data-v-fef021ee]{background:hsla(0,0%,100%,0);border:0}.entities-container button[data-v-fef021ee]:hover{color:#35b870}.entities-container header[data-v-fef021ee]{width:100%;height:2.5em;display:flex;background:#f8f8f8;box-shadow:0 3px 2px -1px silver;position:relative}.entities-container header .right[data-v-fef021ee]{position:absolute;right:0;text-align:right;margin-right:.5em;padding-right:.5em}.entities-container header .right button[data-v-fef021ee]{padding:.5em 0}.entities-container .groups-canvas[data-v-fef021ee]{width:100%;height:calc(100% - 2.5em);overflow:auto}@media screen and (min-width:1024px){.entities-container .groups-container[data-v-fef021ee]{-moz-column-count:var(--groups-per-row);column-count:var(--groups-per-row)}}.entities-container .group[data-v-fef021ee]{width:100%;max-height:100%;position:relative;padding:1em 0;display:flex;-moz-column-break-inside:avoid;break-inside:avoid}@media screen and (min-width:769px){.entities-container .group[data-v-fef021ee]{padding:1em}}.entities-container .group .frame[data-v-fef021ee]{display:flex;flex-direction:column;flex-grow:1;position:relative;box-shadow:3px -2px 6px 1px #98b0a0;border-radius:1em}@media screen and (min-width:1024px){.entities-container .group .frame[data-v-fef021ee]{max-height:calc(100vh - 4.5em)}}.entities-container .group .header[data-v-fef021ee]{width:100%;height:3.5em;display:table;background:linear-gradient(0deg,#c0e8e4,#e4f8f4);box-shadow:0 1px 3px 1px #bbb;border-radius:1em 1em 0 0}.entities-container .group .header .section[data-v-fef021ee]{height:100%;display:table-cell;vertical-align:middle}.entities-container .group .header .section.left[data-v-fef021ee],.entities-container .group .header .section.right[data-v-fef021ee]{width:10%}.entities-container .group .header .section.right[data-v-fef021ee]{text-align:right}.entities-container .group .header .section.center[data-v-fef021ee]{width:80%;text-align:center}.entities-container .group .body[data-v-fef021ee]{background:#f8f8f8;max-height:calc(100% - 3.5em);overflow:auto;flex-grow:1}.entities-container .group .body .entity-frame[data-v-fef021ee]:last-child{border-radius:0 0 1em 1em}@media screen and (max-width:calc(769px - 1px)){.entities-container[data-v-fef021ee] .modal{width:95%}.entities-container[data-v-fef021ee] .modal .content{width:100%}}@media screen and (min-width:769px){.entities-container[data-v-fef021ee] .modal .content{min-width:30em}}.entities-container[data-v-fef021ee] .modal .content .body{padding:0}.entities-container[data-v-fef021ee] .modal .content .body .table-row{padding:.5em} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/app.368c3066.css b/platypush/backend/http/webapp/dist/static/css/app.3b5b9cec.css similarity index 94% rename from platypush/backend/http/webapp/dist/static/css/app.368c3066.css rename to platypush/backend/http/webapp/dist/static/css/app.3b5b9cec.css index 3b14b7ca6..d4b5a8ff5 100644 --- a/platypush/backend/http/webapp/dist/static/css/app.368c3066.css +++ b/platypush/backend/http/webapp/dist/static/css/app.3b5b9cec.css @@ -1,4 +1,4 @@ -.col-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-7646705e]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-7646705e]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-7646705e]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-7646705e]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-7646705e]:first-child{margin-left:26%!important}.col-offset-3[data-v-7646705e]:not(first-child){margin-left:30%!important}.col-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-7646705e]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-7646705e]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-7646705e]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-7646705e]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-7646705e]:first-child{margin-left:52%!important}.col-offset-6[data-v-7646705e]:not(first-child){margin-left:56%!important}.col-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-7646705e]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-7646705e]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-7646705e]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-7646705e]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-7646705e]:first-child{margin-left:78%!important}.col-offset-9[data-v-7646705e]:not(first-child){margin-left:82%!important}.col-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-7646705e]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-7646705e]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-7646705e]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-7646705e]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-3[data-v-7646705e]{margin-left:26%}.col-no-margin-s-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-6[data-v-7646705e]{margin-left:52%}.col-no-margin-s-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-9[data-v-7646705e]{margin-left:78%}.col-no-margin-s-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-s-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-7646705e]{display:none!important}.s-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-3[data-v-7646705e]{margin-left:26%}.col-no-margin-m-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-6[data-v-7646705e]{margin-left:52%}.col-no-margin-m-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-9[data-v-7646705e]{margin-left:78%}.col-no-margin-m-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-m-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-7646705e]{display:none!important}.m-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-3[data-v-7646705e]{margin-left:26%}.col-no-margin-l-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-6[data-v-7646705e]{margin-left:52%}.col-no-margin-l-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-9[data-v-7646705e]{margin-left:78%}.col-no-margin-l-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-l-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-7646705e]{display:none!important}.l-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-3[data-v-7646705e]{margin-left:26%}.col-no-margin-xl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-6[data-v-7646705e]{margin-left:52%}.col-no-margin-xl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-9[data-v-7646705e]{margin-left:78%}.col-no-margin-xl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-7646705e]{display:none!important}.xl-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-3[data-v-7646705e]{margin-left:26%}.col-no-margin-xxl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-6[data-v-7646705e]{margin-left:52%}.col-no-margin-xxl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-9[data-v-7646705e]{margin-left:78%}.col-no-margin-xxl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-7646705e]{display:none!important}.xxl-visible[data-v-7646705e]{display:block!important}}.notification .body[data-v-7646705e],.notification .image .row[data-v-7646705e],.vertical-center[data-v-7646705e]{display:flex;align-items:center}.horizontal-center[data-v-7646705e],.notification .image .row[data-v-7646705e]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-7646705e]{text-align:right;float:right;justify-content:right}.hidden[data-v-7646705e]{display:none!important}.no-content[data-v-7646705e]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-7646705e],.btn[data-v-7646705e],button[data-v-7646705e]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-7646705e],.btn-default[type=submit][data-v-7646705e],.btn.btn-primary[data-v-7646705e],.btn[type=submit][data-v-7646705e],button.btn-primary[data-v-7646705e],button[type=submit][data-v-7646705e]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-7646705e],.btn-default .icon[data-v-7646705e],button .icon[data-v-7646705e]{margin-right:.5em}input[type=password][data-v-7646705e],input[type=text][data-v-7646705e]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-7646705e]:focus,input[type=text][data-v-7646705e]:focus{border:1px solid #35b870}button[data-v-7646705e],input[data-v-7646705e]{outline:none}input[type=text][data-v-7646705e]:hover,textarea[data-v-7646705e]:hover{border:1px solid #9cdfb0}ul[data-v-7646705e]{margin:0;padding:0;list-style:none}a[data-v-7646705e]{cursor:pointer;text-decoration:none}[data-v-7646705e]::-webkit-scrollbar{width:.75em}[data-v-7646705e]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-7646705e]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-7646705e]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-7646705e]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-7646705e],input[type=password][data-v-7646705e],input[type=search][data-v-7646705e],input[type=text][data-v-7646705e]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-7646705e]:hover,input[type=password][data-v-7646705e]:hover,input[type=search][data-v-7646705e]:hover,input[type=text][data-v-7646705e]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-7646705e]:focus,input[type=password][data-v-7646705e]:focus,input[type=search][data-v-7646705e]:focus,input[type=text][data-v-7646705e]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-7646705e],input[type=password].with-icon[data-v-7646705e],input[type=search].with-icon[data-v-7646705e],input[type=text].with-icon[data-v-7646705e]{padding-left:.3em}input[type=search][data-v-7646705e],input[type=text][data-v-7646705e]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-7646705e]{animation-fill-mode:both;animation-name:fadeIn-7646705e;-webkit-animation-name:fadeIn-7646705e}.fade-in[data-v-7646705e],.fade-out[data-v-7646705e]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-7646705e]{animation-fill-mode:both;animation-name:fadeOut-7646705e;-webkit-animation-name:fadeOut-7646705e}@keyframes fadeIn-7646705e{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-7646705e{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.notification[data-v-7646705e]{background:rgba(185,255,193,.9);border:1px solid rgba(109,205,134,.62);border-radius:1em;margin-bottom:.25em!important;margin-right:.1em;padding:.5em;cursor:pointer}.notification[data-v-7646705e]:hover{background:rgba(160,245,178,.95)}.notification:hover.warning[data-v-7646705e]{background:rgba(218,245,68,.95)}.notification:hover.error[data-v-7646705e]{background:rgba(245,90,90,.95)}.notification.warning[data-v-7646705e]{background:rgba(228,255,78,.9);border:1px solid hsla(60,49%,62%,.62)}.notification.warning .image[data-v-7646705e]{--color:$notification-warning-icon-color}.notification.error[data-v-7646705e]{background:hsla(0,100%,70%,.9);border:1px solid hsla(0,49%,62%,.62)}.notification.error .image[data-v-7646705e]{--color:$notification-error-icon-color}.notification .title[data-v-7646705e]{color:#364;font-size:1.25em;font-weight:400;margin:.25em 0;padding:0;letter-spacing:.07em}.notification .body[data-v-7646705e]{height:6em;overflow:hidden;padding-bottom:.1em;letter-spacing:.05em}.notification .image[data-v-7646705e]{height:100%;text-align:center;--color:$notification-icon-color}.notification .image .row[data-v-7646705e]{width:100%;height:100%}.notification .image .row .fa[data-v-7646705e]{font-size:2.5em;color:var(--color)}.notification .image .row img[data-v-7646705e]{width:80%;height:80%}.notifications[data-v-6dc8bebc]{position:fixed;bottom:0;right:0;width:25em;z-index:1000}.col-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-010fadd6]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-010fadd6]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-010fadd6]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-010fadd6]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-010fadd6]:first-child{margin-left:26%!important}.col-offset-3[data-v-010fadd6]:not(first-child){margin-left:30%!important}.col-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-010fadd6]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-010fadd6]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-010fadd6]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-010fadd6]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-010fadd6]:first-child{margin-left:52%!important}.col-offset-6[data-v-010fadd6]:not(first-child){margin-left:56%!important}.col-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-010fadd6]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-010fadd6]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-010fadd6]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-010fadd6]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-010fadd6]:first-child{margin-left:78%!important}.col-offset-9[data-v-010fadd6]:not(first-child){margin-left:82%!important}.col-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-010fadd6]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-010fadd6]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-010fadd6]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-010fadd6]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-1[data-v-010fadd6]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-2[data-v-010fadd6]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-3[data-v-010fadd6]{margin-left:26%}.col-no-margin-s-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-4[data-v-010fadd6]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-5[data-v-010fadd6]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-6[data-v-010fadd6]{margin-left:52%}.col-no-margin-s-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-7[data-v-010fadd6]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-8[data-v-010fadd6]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-9[data-v-010fadd6]{margin-left:78%}.col-no-margin-s-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-10[data-v-010fadd6]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-010fadd6]:first-child{margin-left:0}.col-offset-s-11[data-v-010fadd6]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-s-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-010fadd6]{display:none!important}.s-visible[data-v-010fadd6]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-1[data-v-010fadd6]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-2[data-v-010fadd6]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-3[data-v-010fadd6]{margin-left:26%}.col-no-margin-m-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-4[data-v-010fadd6]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-5[data-v-010fadd6]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-6[data-v-010fadd6]{margin-left:52%}.col-no-margin-m-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-7[data-v-010fadd6]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-8[data-v-010fadd6]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-9[data-v-010fadd6]{margin-left:78%}.col-no-margin-m-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-10[data-v-010fadd6]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-010fadd6]:first-child{margin-left:0}.col-offset-m-11[data-v-010fadd6]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-m-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-010fadd6]{display:none!important}.m-visible[data-v-010fadd6]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-1[data-v-010fadd6]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-2[data-v-010fadd6]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-3[data-v-010fadd6]{margin-left:26%}.col-no-margin-l-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-4[data-v-010fadd6]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-5[data-v-010fadd6]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-6[data-v-010fadd6]{margin-left:52%}.col-no-margin-l-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-7[data-v-010fadd6]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-8[data-v-010fadd6]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-9[data-v-010fadd6]{margin-left:78%}.col-no-margin-l-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-10[data-v-010fadd6]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-010fadd6]:first-child{margin-left:0}.col-offset-l-11[data-v-010fadd6]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-l-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-010fadd6]{display:none!important}.l-visible[data-v-010fadd6]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-1[data-v-010fadd6]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-2[data-v-010fadd6]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-3[data-v-010fadd6]{margin-left:26%}.col-no-margin-xl-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-4[data-v-010fadd6]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-5[data-v-010fadd6]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-6[data-v-010fadd6]{margin-left:52%}.col-no-margin-xl-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-7[data-v-010fadd6]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-8[data-v-010fadd6]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-9[data-v-010fadd6]{margin-left:78%}.col-no-margin-xl-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-10[data-v-010fadd6]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xl-11[data-v-010fadd6]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-010fadd6]{display:none!important}.xl-visible[data-v-010fadd6]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-1[data-v-010fadd6]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-010fadd6]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-2[data-v-010fadd6]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-010fadd6]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-3[data-v-010fadd6]{margin-left:26%}.col-no-margin-xxl-3[data-v-010fadd6]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-4[data-v-010fadd6]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-010fadd6]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-5[data-v-010fadd6]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-010fadd6]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-6[data-v-010fadd6]{margin-left:52%}.col-no-margin-xxl-6[data-v-010fadd6]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-7[data-v-010fadd6]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-010fadd6]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-8[data-v-010fadd6]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-010fadd6]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-9[data-v-010fadd6]{margin-left:78%}.col-no-margin-xxl-9[data-v-010fadd6]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-10[data-v-010fadd6]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-010fadd6]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-010fadd6]:first-child{margin-left:0}.col-offset-xxl-11[data-v-010fadd6]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-010fadd6]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-010fadd6]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-010fadd6]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-010fadd6]{display:none!important}.xxl-visible[data-v-010fadd6]{display:block!important}}.vertical-center[data-v-010fadd6]{display:flex;align-items:center}.horizontal-center[data-v-010fadd6]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-010fadd6]{text-align:right;float:right;justify-content:right}.hidden[data-v-010fadd6]{display:none!important}.no-content[data-v-010fadd6]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-010fadd6],.btn[data-v-010fadd6],button[data-v-010fadd6]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-010fadd6],.btn-default[type=submit][data-v-010fadd6],.btn.btn-primary[data-v-010fadd6],.btn[type=submit][data-v-010fadd6],button.btn-primary[data-v-010fadd6],button[type=submit][data-v-010fadd6]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-010fadd6],.btn-default .icon[data-v-010fadd6],button .icon[data-v-010fadd6]{margin-right:.5em}input[type=password][data-v-010fadd6],input[type=text][data-v-010fadd6]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-010fadd6]:focus,input[type=text][data-v-010fadd6]:focus{border:1px solid #35b870}button[data-v-010fadd6],input[data-v-010fadd6]{outline:none}input[type=text][data-v-010fadd6]:hover,textarea[data-v-010fadd6]:hover{border:1px solid #9cdfb0}ul[data-v-010fadd6]{margin:0;padding:0;list-style:none}a[data-v-010fadd6]{cursor:pointer;text-decoration:none}[data-v-010fadd6]::-webkit-scrollbar{width:.75em}[data-v-010fadd6]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-010fadd6]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-010fadd6]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-010fadd6]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-010fadd6],input[type=password][data-v-010fadd6],input[type=search][data-v-010fadd6],input[type=text][data-v-010fadd6]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-010fadd6]:hover,input[type=password][data-v-010fadd6]:hover,input[type=search][data-v-010fadd6]:hover,input[type=text][data-v-010fadd6]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-010fadd6]:focus,input[type=password][data-v-010fadd6]:focus,input[type=search][data-v-010fadd6]:focus,input[type=text][data-v-010fadd6]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-010fadd6],input[type=password].with-icon[data-v-010fadd6],input[type=search].with-icon[data-v-010fadd6],input[type=text].with-icon[data-v-010fadd6]{padding-left:.3em}input[type=search][data-v-010fadd6],input[type=text][data-v-010fadd6]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-010fadd6]{animation-fill-mode:both;animation-name:fadeIn-010fadd6;-webkit-animation-name:fadeIn-010fadd6}.fade-in[data-v-010fadd6],.fade-out[data-v-010fadd6]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-010fadd6]{animation-fill-mode:both;animation-name:fadeOut-010fadd6;-webkit-animation-name:fadeOut-010fadd6}@keyframes fadeIn-010fadd6{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-010fadd6{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-010fadd6]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-010fadd6]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-010fadd6]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.modal-container[data-v-010fadd6]{position:fixed;display:flex;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:var(--z-index);background:hsla(0,0%,4%,.9)}.modal-container .modal[data-v-010fadd6]{display:flex}.modal-container .modal .content[data-v-010fadd6]{--width:auto;--height:auto;width:var(--width);height:var(--height);border-radius:.5em;background:#fff}.modal-container .modal .header[data-v-010fadd6]{display:flex;border-bottom:1px solid #ccc;border-radius:.5em .5em 0 0;padding:.5em;text-align:center;justify-content:center;align-items:center;background:#e0e0e0;text-transform:uppercase}.modal-container .modal .body[data-v-010fadd6]{max-height:75vh;overflow:auto;padding:2em}.assistant-modal .modal .body{width:50vw;height:50vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.assistant-modal .modal .body .icon{font-size:3em;color:#7e8;box-shadow:2px 2px 2px #ccc;border:1px solid #ccc;border-radius:3em;padding:1em}.assistant-modal .modal .body .text{margin-top:2.5em}/*! +.col-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-7646705e]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-7646705e]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-7646705e]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-7646705e]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-7646705e]:first-child{margin-left:26%!important}.col-offset-3[data-v-7646705e]:not(first-child){margin-left:30%!important}.col-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-7646705e]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-7646705e]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-7646705e]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-7646705e]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-7646705e]:first-child{margin-left:52%!important}.col-offset-6[data-v-7646705e]:not(first-child){margin-left:56%!important}.col-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-7646705e]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-7646705e]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-7646705e]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-7646705e]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-7646705e]:first-child{margin-left:78%!important}.col-offset-9[data-v-7646705e]:not(first-child){margin-left:82%!important}.col-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-7646705e]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-7646705e]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-7646705e]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-7646705e]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-3[data-v-7646705e]{margin-left:26%}.col-no-margin-s-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-6[data-v-7646705e]{margin-left:52%}.col-no-margin-s-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-9[data-v-7646705e]{margin-left:78%}.col-no-margin-s-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-s-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-s-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-7646705e]{display:none!important}.s-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-3[data-v-7646705e]{margin-left:26%}.col-no-margin-m-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-6[data-v-7646705e]{margin-left:52%}.col-no-margin-m-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-9[data-v-7646705e]{margin-left:78%}.col-no-margin-m-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-m-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-m-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-7646705e]{display:none!important}.m-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-3[data-v-7646705e]{margin-left:26%}.col-no-margin-l-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-6[data-v-7646705e]{margin-left:52%}.col-no-margin-l-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-9[data-v-7646705e]{margin-left:78%}.col-no-margin-l-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-l-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-l-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-7646705e]{display:none!important}.l-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-3[data-v-7646705e]{margin-left:26%}.col-no-margin-xl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-6[data-v-7646705e]{margin-left:52%}.col-no-margin-xl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-9[data-v-7646705e]{margin-left:78%}.col-no-margin-xl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-xl-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-7646705e]{display:none!important}.xl-visible[data-v-7646705e]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-1[data-v-7646705e]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-7646705e]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-2[data-v-7646705e]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-7646705e]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-3[data-v-7646705e]{margin-left:26%}.col-no-margin-xxl-3[data-v-7646705e]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-4[data-v-7646705e]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-7646705e]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-5[data-v-7646705e]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-7646705e]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-6[data-v-7646705e]{margin-left:52%}.col-no-margin-xxl-6[data-v-7646705e]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-7[data-v-7646705e]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-7646705e]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-8[data-v-7646705e]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-7646705e]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-9[data-v-7646705e]{margin-left:78%}.col-no-margin-xxl-9[data-v-7646705e]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-10[data-v-7646705e]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-7646705e]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-7646705e]:first-child{margin-left:0}.col-offset-xxl-11[data-v-7646705e]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-7646705e]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-7646705e]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-7646705e]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-7646705e]{display:none!important}.xxl-visible[data-v-7646705e]{display:block!important}}.notification .body[data-v-7646705e],.notification .image .row[data-v-7646705e],.vertical-center[data-v-7646705e]{display:flex;align-items:center}.horizontal-center[data-v-7646705e],.notification .image .row[data-v-7646705e]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-7646705e]{text-align:right;float:right;justify-content:right}.hidden[data-v-7646705e]{display:none!important}.no-content[data-v-7646705e]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-7646705e],.btn[data-v-7646705e],button[data-v-7646705e]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-7646705e],.btn-default[type=submit][data-v-7646705e],.btn.btn-primary[data-v-7646705e],.btn[type=submit][data-v-7646705e],button.btn-primary[data-v-7646705e],button[type=submit][data-v-7646705e]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-7646705e],.btn-default .icon[data-v-7646705e],button .icon[data-v-7646705e]{margin-right:.5em}input[type=password][data-v-7646705e],input[type=text][data-v-7646705e]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-7646705e]:focus,input[type=text][data-v-7646705e]:focus{border:1px solid #35b870}button[data-v-7646705e],input[data-v-7646705e]{outline:none}input[type=text][data-v-7646705e]:hover,textarea[data-v-7646705e]:hover{border:1px solid #9cdfb0}ul[data-v-7646705e]{margin:0;padding:0;list-style:none}a[data-v-7646705e]{cursor:pointer;text-decoration:none}[data-v-7646705e]::-webkit-scrollbar{width:.75em}[data-v-7646705e]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-7646705e]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-7646705e]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-7646705e]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-7646705e],input[type=password][data-v-7646705e],input[type=search][data-v-7646705e],input[type=text][data-v-7646705e]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-7646705e]:hover,input[type=password][data-v-7646705e]:hover,input[type=search][data-v-7646705e]:hover,input[type=text][data-v-7646705e]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-7646705e]:focus,input[type=password][data-v-7646705e]:focus,input[type=search][data-v-7646705e]:focus,input[type=text][data-v-7646705e]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-7646705e],input[type=password].with-icon[data-v-7646705e],input[type=search].with-icon[data-v-7646705e],input[type=text].with-icon[data-v-7646705e]{padding-left:.3em}input[type=search][data-v-7646705e],input[type=text][data-v-7646705e]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-7646705e]{animation-fill-mode:both;animation-name:fadeIn-7646705e;-webkit-animation-name:fadeIn-7646705e}.fade-in[data-v-7646705e],.fade-out[data-v-7646705e]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-7646705e]{animation-fill-mode:both;animation-name:fadeOut-7646705e;-webkit-animation-name:fadeOut-7646705e}@keyframes fadeIn-7646705e{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-7646705e{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-7646705e]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.notification[data-v-7646705e]{background:rgba(185,255,193,.9);border:1px solid rgba(109,205,134,.62);border-radius:1em;margin-bottom:.25em!important;margin-right:.1em;padding:.5em;cursor:pointer}.notification[data-v-7646705e]:hover{background:rgba(160,245,178,.95)}.notification:hover.warning[data-v-7646705e]{background:rgba(218,245,68,.95)}.notification:hover.error[data-v-7646705e]{background:rgba(245,90,90,.95)}.notification.warning[data-v-7646705e]{background:rgba(228,255,78,.9);border:1px solid hsla(60,49%,62%,.62)}.notification.warning .image[data-v-7646705e]{--color:$notification-warning-icon-color}.notification.error[data-v-7646705e]{background:hsla(0,100%,70%,.9);border:1px solid hsla(0,49%,62%,.62)}.notification.error .image[data-v-7646705e]{--color:$notification-error-icon-color}.notification .title[data-v-7646705e]{color:#364;font-size:1.25em;font-weight:400;margin:.25em 0;padding:0;letter-spacing:.07em}.notification .body[data-v-7646705e]{height:6em;overflow:hidden;padding-bottom:.1em;letter-spacing:.05em}.notification .image[data-v-7646705e]{height:100%;text-align:center;--color:$notification-icon-color}.notification .image .row[data-v-7646705e]{width:100%;height:100%}.notification .image .row .fa[data-v-7646705e]{font-size:2.5em;color:var(--color)}.notification .image .row img[data-v-7646705e]{width:80%;height:80%}.notifications[data-v-6dc8bebc]{position:fixed;bottom:0;right:0;width:25em;z-index:1000}.col-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-7d1f6e8b]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-7d1f6e8b]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-7d1f6e8b]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-7d1f6e8b]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-7d1f6e8b]:first-child{margin-left:26%!important}.col-offset-3[data-v-7d1f6e8b]:not(first-child){margin-left:30%!important}.col-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-7d1f6e8b]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-7d1f6e8b]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-7d1f6e8b]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-7d1f6e8b]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-7d1f6e8b]:first-child{margin-left:52%!important}.col-offset-6[data-v-7d1f6e8b]:not(first-child){margin-left:56%!important}.col-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-7d1f6e8b]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-7d1f6e8b]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-7d1f6e8b]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-7d1f6e8b]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-7d1f6e8b]:first-child{margin-left:78%!important}.col-offset-9[data-v-7d1f6e8b]:not(first-child){margin-left:82%!important}.col-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-7d1f6e8b]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-7d1f6e8b]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-7d1f6e8b]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-7d1f6e8b]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-1[data-v-7d1f6e8b]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-2[data-v-7d1f6e8b]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-3[data-v-7d1f6e8b]{margin-left:26%}.col-no-margin-s-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-4[data-v-7d1f6e8b]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-5[data-v-7d1f6e8b]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-6[data-v-7d1f6e8b]{margin-left:52%}.col-no-margin-s-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-7[data-v-7d1f6e8b]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-8[data-v-7d1f6e8b]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-9[data-v-7d1f6e8b]{margin-left:78%}.col-no-margin-s-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-10[data-v-7d1f6e8b]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-s-11[data-v-7d1f6e8b]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-s-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-7d1f6e8b]{display:none!important}.s-visible[data-v-7d1f6e8b]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-1[data-v-7d1f6e8b]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-2[data-v-7d1f6e8b]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-3[data-v-7d1f6e8b]{margin-left:26%}.col-no-margin-m-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-4[data-v-7d1f6e8b]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-5[data-v-7d1f6e8b]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-6[data-v-7d1f6e8b]{margin-left:52%}.col-no-margin-m-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-7[data-v-7d1f6e8b]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-8[data-v-7d1f6e8b]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-9[data-v-7d1f6e8b]{margin-left:78%}.col-no-margin-m-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-10[data-v-7d1f6e8b]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-m-11[data-v-7d1f6e8b]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-m-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-7d1f6e8b]{display:none!important}.m-visible[data-v-7d1f6e8b]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-1[data-v-7d1f6e8b]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-2[data-v-7d1f6e8b]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-3[data-v-7d1f6e8b]{margin-left:26%}.col-no-margin-l-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-4[data-v-7d1f6e8b]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-5[data-v-7d1f6e8b]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-6[data-v-7d1f6e8b]{margin-left:52%}.col-no-margin-l-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-7[data-v-7d1f6e8b]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-8[data-v-7d1f6e8b]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-9[data-v-7d1f6e8b]{margin-left:78%}.col-no-margin-l-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-10[data-v-7d1f6e8b]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-l-11[data-v-7d1f6e8b]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-l-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-7d1f6e8b]{display:none!important}.l-visible[data-v-7d1f6e8b]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-1[data-v-7d1f6e8b]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-2[data-v-7d1f6e8b]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-3[data-v-7d1f6e8b]{margin-left:26%}.col-no-margin-xl-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-4[data-v-7d1f6e8b]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-5[data-v-7d1f6e8b]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-6[data-v-7d1f6e8b]{margin-left:52%}.col-no-margin-xl-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-7[data-v-7d1f6e8b]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-8[data-v-7d1f6e8b]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-9[data-v-7d1f6e8b]{margin-left:78%}.col-no-margin-xl-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-10[data-v-7d1f6e8b]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xl-11[data-v-7d1f6e8b]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-7d1f6e8b]{display:none!important}.xl-visible[data-v-7d1f6e8b]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-1[data-v-7d1f6e8b]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-2[data-v-7d1f6e8b]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-3[data-v-7d1f6e8b]{margin-left:26%}.col-no-margin-xxl-3[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-4[data-v-7d1f6e8b]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-5[data-v-7d1f6e8b]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-6[data-v-7d1f6e8b]{margin-left:52%}.col-no-margin-xxl-6[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-7[data-v-7d1f6e8b]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-8[data-v-7d1f6e8b]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-9[data-v-7d1f6e8b]{margin-left:78%}.col-no-margin-xxl-9[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-10[data-v-7d1f6e8b]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-7d1f6e8b]:first-child{margin-left:0}.col-offset-xxl-11[data-v-7d1f6e8b]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-7d1f6e8b]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-7d1f6e8b]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-7d1f6e8b]{display:none!important}.xxl-visible[data-v-7d1f6e8b]{display:block!important}}.vertical-center[data-v-7d1f6e8b]{display:flex;align-items:center}.horizontal-center[data-v-7d1f6e8b]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-7d1f6e8b]{text-align:right;float:right;justify-content:right}.hidden[data-v-7d1f6e8b]{display:none!important}.no-content[data-v-7d1f6e8b]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-7d1f6e8b],.btn[data-v-7d1f6e8b],button[data-v-7d1f6e8b]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-7d1f6e8b],.btn-default[type=submit][data-v-7d1f6e8b],.btn.btn-primary[data-v-7d1f6e8b],.btn[type=submit][data-v-7d1f6e8b],button.btn-primary[data-v-7d1f6e8b],button[type=submit][data-v-7d1f6e8b]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}.btn .icon[data-v-7d1f6e8b],.btn-default .icon[data-v-7d1f6e8b],button .icon[data-v-7d1f6e8b]{margin-right:.5em}input[type=password][data-v-7d1f6e8b],input[type=text][data-v-7d1f6e8b]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-7d1f6e8b]:focus,input[type=text][data-v-7d1f6e8b]:focus{border:1px solid #35b870}button[data-v-7d1f6e8b],input[data-v-7d1f6e8b]{outline:none}input[type=text][data-v-7d1f6e8b]:hover,textarea[data-v-7d1f6e8b]:hover{border:1px solid #9cdfb0}ul[data-v-7d1f6e8b]{margin:0;padding:0;list-style:none}a[data-v-7d1f6e8b]{cursor:pointer;text-decoration:none}[data-v-7d1f6e8b]::-webkit-scrollbar{width:.75em}[data-v-7d1f6e8b]::-webkit-scrollbar-track{background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}[data-v-7d1f6e8b]::-webkit-scrollbar-thumb{background:#a5a2a2;border-radius:1em;cursor:pointer}body[data-v-7d1f6e8b]{scrollbar-width:thin;scrollbar-color:#a5a2a2 #e4e4e4}.input-icon[data-v-7d1f6e8b]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-7d1f6e8b],input[type=password][data-v-7d1f6e8b],input[type=search][data-v-7d1f6e8b],input[type=text][data-v-7d1f6e8b]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-7d1f6e8b]:hover,input[type=password][data-v-7d1f6e8b]:hover,input[type=search][data-v-7d1f6e8b]:hover,input[type=text][data-v-7d1f6e8b]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-7d1f6e8b]:focus,input[type=password][data-v-7d1f6e8b]:focus,input[type=search][data-v-7d1f6e8b]:focus,input[type=text][data-v-7d1f6e8b]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-7d1f6e8b],input[type=password].with-icon[data-v-7d1f6e8b],input[type=search].with-icon[data-v-7d1f6e8b],input[type=text].with-icon[data-v-7d1f6e8b]{padding-left:.3em}input[type=search][data-v-7d1f6e8b],input[type=text][data-v-7d1f6e8b]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-7d1f6e8b]{animation-fill-mode:both;animation-name:fadeIn-7d1f6e8b;-webkit-animation-name:fadeIn-7d1f6e8b}.fade-in[data-v-7d1f6e8b],.fade-out[data-v-7d1f6e8b]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-7d1f6e8b]{animation-fill-mode:both;animation-name:fadeOut-7d1f6e8b;-webkit-animation-name:fadeOut-7d1f6e8b}@keyframes fadeIn-7d1f6e8b{0%{opacity:0}to{opacity:1}}@keyframes fadeOut-7d1f6e8b{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-7d1f6e8b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-7d1f6e8b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-7d1f6e8b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.modal-container[data-v-7d1f6e8b]{position:fixed;display:flex;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:var(--z-index);background:hsla(0,0%,4%,.9)}.modal-container .modal[data-v-7d1f6e8b]{display:flex}.modal-container .modal .content[data-v-7d1f6e8b]{--width:auto;--height:auto;width:var(--width);height:var(--height);border-radius:.5em;background:#fff}.modal-container .modal .header[data-v-7d1f6e8b]{display:flex;border-bottom:1px solid #ccc;border-radius:.5em .5em 0 0;padding:.5em;text-align:center;justify-content:center;align-items:center;background:#e0e0e0;text-transform:uppercase}.modal-container .modal .body[data-v-7d1f6e8b]{max-height:75vh;overflow:auto;padding:2em}.assistant-modal .modal .body{width:50vw;height:50vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.assistant-modal .modal .body .icon{font-size:3em;color:#7e8;box-shadow:2px 2px 2px #ccc;border:1px solid #ccc;border-radius:3em;padding:1em}.assistant-modal .modal .body .text{margin-top:2.5em}/*! * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. diff --git a/platypush/backend/http/webapp/dist/static/js/2790-legacy.b3dfd6bb.js b/platypush/backend/http/webapp/dist/static/js/2790-legacy.2afcb92a.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/2790-legacy.b3dfd6bb.js rename to platypush/backend/http/webapp/dist/static/js/2790-legacy.2afcb92a.js index 86d37582a..7f6a6df18 100644 --- a/platypush/backend/http/webapp/dist/static/js/2790-legacy.b3dfd6bb.js +++ b/platypush/backend/http/webapp/dist/static/js/2790-legacy.2afcb92a.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{7556:function(e,t,n){var s=n(7293);e.exports=s((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var s=n(3070).f,o=n(30),r=n(9190),i=n(9974),l=n(5787),a=n(408),u=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),m=p.set,f=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,s){l(e,p),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=s&&a(s,e[u],{that:e,AS_ENTRIES:n})})),p=c.prototype,h=f(t),g=function(e,t,n){var s,o,r=h(e),i=w(e,t);return i?i.value=n:(r.last=i={index:o=v(t,!0),key:t,value:n,previous:s=r.last,next:void 0,removed:!1},r.first||(r.first=i),s&&(s.next=i),d?r.size++:e.size++,"F"!==o&&(r.index[o]=i)),e},w=function(e,t){var n,s=h(e),o=v(t);if("F"!==o)return s.index[o];for(n=s.first;n;n=n.next)if(n.key==t)return n};return r(p,{clear:function(){var e=this,t=h(e),n=t.index,s=t.first;while(s)s.removed=!0,s.previous&&(s.previous=s.previous.next=void 0),delete n[s.index],s=s.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=h(t),s=w(t,e);if(s){var o=s.next,r=s.previous;delete n.index[s.index],s.removed=!0,r&&(r.next=o),o&&(o.previous=r),n.first==s&&(n.first=o),n.last==s&&(n.last=r),d?n.size--:t.size--}return!!s},forEach:function(e){var t,n=h(this),s=i(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){s(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!w(this,e)}}),r(p,n?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&s(p,"size",{get:function(){return h(this).size}}),c},setStrong:function(e,t,n){var s=t+" Iterator",o=f(t),r=f(s);u(e,t,(function(e,t){m(this,{type:s,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=r(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var s=n(2109),o=n(7854),r=n(1702),i=n(4705),l=n(8052),a=n(2423),u=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),m=n(7072),f=n(8003),h=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),_=g?"set":"add",C=o[e],y=C&&C.prototype,b=C,x={},k=function(e){var t=r(y[e]);l(y,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return w&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},H=i(e,!d(C)||!(w||y.forEach&&!p((function(){(new C).entries().next()}))));if(H)b=n.getConstructor(t,e,g,_),a.enable();else if(i(e,!0)){var S=new b,D=S[_](w?{}:-0,1)!=S,q=p((function(){S.has(1)})),z=m((function(e){new C(e)})),M=!w&&p((function(){var e=new C,t=5;while(t--)e[_](t,t);return!e.has(-0)}));z||(b=t((function(e,t){c(e,y);var n=h(new C,e,b);return void 0!=t&&u(t,n[_],{that:n,AS_ENTRIES:g}),n})),b.prototype=y,y.constructor=b),(q||M)&&(k("delete"),k("has"),g&&k("get")),(M||D)&&k(_),w&&y.clear&&delete y.clear}return x[e]=b,s({global:!0,constructor:!0,forced:b!=C},x),f(b,e),w||n.setStrong(b,e,g),b}},9190:function(e,t,n){var s=n(8052);e.exports=function(e,t,n){for(var o in t)s(e,o,t[o],n);return e}},6677:function(e,t,n){var s=n(7293);e.exports=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2423:function(e,t,n){var s=n(2109),o=n(1702),r=n(3501),i=n(111),l=n(2597),a=n(3070).f,u=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),m=!1,f=v("meta"),h=0,g=function(e){a(e,f,{value:{objectID:"O"+h++,weakData:{}}})},w=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,f)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},_=function(e,t){if(!l(e,f)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},C=function(e){return p&&m&&d(e)&&!l(e,f)&&g(e),e},y=function(){b.enable=function(){},m=!0;var e=u.f,t=o([].splice),n={};n[f]=1,e(n).length&&(u.f=function(n){for(var s=e(n),o=0,r=s.length;o0?((0,s.wg)(),(0,s.iD)("div",Re,[Ie,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.clients||{},(function(t,o){return(0,s.wg)(),(0,s.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:o},[(0,s._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,s._)("input",{type:"checkbox",class:"client",id:"snapcast-client-".concat(t.id),value:t.id,checked:t.id in n.group.clients,disabled:n.loading,onInput:function(n){return e.$emit(n.target.checked?"add-client":"remove-client",t.id)}},null,40,$e),(0,s.Uk)(" "+(0,f.zw)(t.host.name),1)],8,Ue)])})),128))])):(0,s.kq)("",!0),null!==(u=n.group)&&void 0!==u&&u.stream_id?((0,s.wg)(),(0,s.iD)("div",Ee,[Ae,(0,s._)("div",Te,[Be,(0,s._)("div",Pe,[(0,s._)("label",null,[(0,s._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=function(t){return e.$emit("stream-change",t.target.value)})},[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.streams,(function(e,t){return(0,s.wg)(),(0,s.iD)("option",{key:t,textContent:(0,f.zw)(n.streams[n.group.stream_id].id),name:e.id,value:e.id,disabled:n.loading,selected:e.id===n.group.stream_id},null,8,Ve)})),128))],544)])])]),null!==(c=n.streams)&&void 0!==c&&null!==(d=c[n.group.stream_id])&&void 0!==d&&d.status?((0,s.wg)(),(0,s.iD)("div",Ne,[Ke,(0,s._)("div",{class:"value col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].status)},null,8,We)])):(0,s.kq)("",!0),null!==(v=n.streams)&&void 0!==v&&null!==(p=v[null===(h=n.group)||void 0===h?void 0:h.stream_id])&&void 0!==p&&null!==(m=p.uri)&&void 0!==m&&m.host?((0,s.wg)(),(0,s.iD)("div",Fe,[Le,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.host)},null,8,Ye)])):(0,s.kq)("",!0),null!==(g=n.streams)&&void 0!==g&&null!==(w=g[null===(C=n.group)||void 0===C?void 0:C.stream_id])&&void 0!==w&&null!==(_=w.uri)&&void 0!==_&&_.path?((0,s.wg)(),(0,s.iD)("div",Je,[Qe,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.path)},null,8,Xe)])):(0,s.kq)("",!0),null!==(y=n.streams)&&void 0!==y&&null!==(b=y[null===(k=n.group)||void 0===k?void 0:k.stream_id])&&void 0!==b&&null!==(x=b.uri)&&void 0!==x&&x.raw?((0,s.wg)(),(0,s.iD)("div",et,[tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.raw)},null,8,nt)])):(0,s.kq)("",!0)])):(0,s.kq)("",!0)])}n(3210);var ot={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup:function(){var e=(prompt("New group name",this.group.name)||"").trim();null!==e&&void 0!==e&&e.length&&this.$emit("rename-group",e)}}};const rt=(0,I.Z)(ot,[["render",st],["__scopeId","data-v-353ffa58"]]);var it=rt,lt=function(e){return(0,s.dD)("data-v-0e55ac54"),e=e(),(0,s.Cn)(),e},at={class:"client-modal"},ut={key:0,class:"info"},ct={class:"row"},dt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"ID",-1)})),vt=["textContent"],pt={key:0,class:"row"},mt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Name",-1)})),ft={class:"value col-s-12 col-m-9"},ht=["textContent"],gt=lt((function(){return(0,s._)("i",{class:"fa fa-edit"},null,-1)})),wt=[gt],_t={class:"row"},Ct=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1)})),yt=["textContent"],bt={class:"row"},xt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1)})),kt={class:"value col-s-12 col-m-9"},Ht={class:"row"},St=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1)})),Dt=["textContent"],qt={class:"row"},zt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1)})),Mt=["textContent"],Zt={key:1,class:"row"},jt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1)})),Gt=["textContent"],Ot={key:2,class:"row"},Rt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1)})),It=["textContent"],Ut={key:3,class:"row"},$t=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"OS",-1)})),Et=["textContent"],At={key:4,class:"row"},Tt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1)})),Bt=["textContent"],Pt={class:"row"},Vt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1)})),Nt=["textContent"],Kt={class:"row"},Wt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1)})),Ft=["textContent"],Lt={class:"row"},Yt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1)})),Jt=["textContent"],Qt={class:"buttons"},Xt={class:"row"},en=["disabled"],tn=lt((function(){return(0,s._)("i",{class:"fas fa-trash"},null,-1)})),nn=lt((function(){return(0,s._)("span",{class:"name"},"Remove client",-1)})),sn=[tn,nn];function on(e,t,n,o,r,i){var l,a,u,c,d;return(0,s.wg)(),(0,s.iD)("div",at,[n.client?((0,s.wg)(),(0,s.iD)("div",ut,[(0,s._)("div",ct,[dt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.id)},null,8,vt)]),null!==(l=n.client.config)&&void 0!==l&&null!==(a=l.name)&&void 0!==a&&a.length||null!==(u=n.client.host)&&void 0!==u&&u.name?((0,s.wg)(),(0,s.iD)("div",pt,[mt,(0,s._)("div",ft,[(0,s._)("span",{class:"name",textContent:(0,f.zw)((null===(c=n.client.config)||void 0===c?void 0:c.name)||(null===(d=n.client.host)||void 0===d?void 0:d.name))},null,8,ht),(0,s._)("button",{title:"Rename",onClick:t[0]||(t[0]=function(){return i.renameClient&&i.renameClient.apply(i,arguments)})},wt)])])):(0,s.kq)("",!0),(0,s._)("div",_t,[Ct,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.connected)},null,8,yt)]),(0,s._)("div",bt,[xt,(0,s._)("div",kt,(0,f.zw)(n.client.config.volume.percent)+"%",1)]),(0,s._)("div",Ht,[St,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.volume.muted)},null,8,Dt)]),(0,s._)("div",qt,[zt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.latency)},null,8,Mt)]),n.client.host.ip&&n.client.host.ip.length?((0,s.wg)(),(0,s.iD)("div",Zt,[jt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.ip)},null,8,Gt)])):(0,s.kq)("",!0),n.client.host.mac&&n.client.host.mac.length?((0,s.wg)(),(0,s.iD)("div",Ot,[Rt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.mac)},null,8,It)])):(0,s.kq)("",!0),n.client.host.os&&n.client.host.os.length?((0,s.wg)(),(0,s.iD)("div",Ut,[$t,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.os)},null,8,Et)])):(0,s.kq)("",!0),n.client.host.arch&&n.client.host.arch.length?((0,s.wg)(),(0,s.iD)("div",At,[Tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.arch)},null,8,Bt)])):(0,s.kq)("",!0),(0,s._)("div",Pt,[Vt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.name)},null,8,Nt)]),(0,s._)("div",Kt,[Wt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.version)},null,8,Ft)]),(0,s._)("div",Lt,[Yt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.protocolVersion)},null,8,Jt)])])):(0,s.kq)("",!0),(0,s._)("div",Qt,[(0,s._)("div",Xt,[(0,s._)("button",{type:"button",disabled:n.loading,onClick:t[1]||(t[1]=function(){return i.removeClient&&i.removeClient.apply(i,arguments)})},sn,8,en)])])])}var rn={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient:function(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient:function(){var e,t=(window.prompt("New client name",null!==(e=this.client.config.name)&&void 0!==e&&e.length?this.client.config.name:this.client.host.name)||"").trim();t.length&&this.$emit("rename-client",t)}}};const ln=(0,I.Z)(rn,[["render",on],["__scopeId","data-v-0e55ac54"]]);var an=ln,un=n(1232),cn={name:"MusicSnapcast",mixins:[m.Z],components:{Loading:un.Z,Modal:p.Z,Host:V,ModalHost:He,ModalGroup:it,ModalClient:an},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost:function(){return Object.entries(this.hosts).reduce((function(e,t){var n=(0,v.Z)(t,2),s=n[0],o=n[1];return e[s]={},Object.values(o.groups).forEach((function(t){Object.entries(t.clients).forEach((function(t){var n=(0,v.Z)(t,2),o=n[0],r=n[1];e[s][o]=r}))})),e}),{})}},methods:{parseServerStatus:function(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]=(0,d.Z)((0,d.Z)({},e),{},{groups:e.groups.map((function(e){return(0,d.Z)((0,d.Z)({},e),{},{clients:e.clients.reduce((function(e,t){return e[t.id]=t,e}),{})})})).reduce((function(e,t){return e[t.id]=t,e}),{}),streams:e.streams.reduce((function(e,t){return e[t.id]=t,e}),{})})},refresh:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("music.snapcast.get_backend_hosts");case 4:return n=t.sent,t.next=7,Promise.all(Object.keys(n).map(function(){var t=(0,c.Z)(regeneratorRuntime.mark((function t(s){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.request("music.snapcast.status",{host:s,port:n[s]}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 7:s=t.sent,e.hosts={},s.forEach((function(t){e.ports[t.server.host.name]=n[t.server.host.name],e.parseServerStatus(t)}));case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},refreshHost:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e in t.hosts){n.next=2;break}return n.abrupt("return");case 2:return n.t0=t,n.next=5,t.request("music.snapcast.status",{host:e,port:t.ports[e]});case 5:n.t1=n.sent,n.t0.parseServerStatus.call(n.t0,n.t1);case 7:case"end":return n.stop()}}),n)})))()},addClientToGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:return s=(0,u.Z)(new Set([e].concat((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))))),n.next=7,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:s});case 7:return n.next=9,t.refreshHost(t.selectedHost);case 9:return n.prev=9,t.loading=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[1,,9,12]])})))()},removeClientFromGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:if(s=new Set((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))),s.has(e)){n.next=7;break}return n.abrupt("return");case 7:return s.delete(e),n.next=10,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:(0,u.Z)(s)});case 10:return n.next=12,t.refreshHost(t.selectedHost);case 12:return n.prev=12,t.loading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,,12,15]])})))()},renameGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_group_name",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},renameClient:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedClient){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_client_name",{host:t.selectedHost,port:t.ports[t.selectedHost],client:t.selectedClient,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},removeClient:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.loading=!0,t.prev=1,e.selectedHost&&e.selectedClient){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,e.request("music.snapcast.delete_client",{host:e.selectedHost,port:e.ports[e.selectedHost],client:e.selectedClient});case 6:return e.$refs.modalClient.close(),t.next=9,e.refreshHost(e.selectedHost);case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[1,,9,12]])})))()},streamChange:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("music.snapcast.group_set_stream",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,stream_id:e});case 4:return n.next=6,t.refreshHost(t.selectedHost);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()},onClientUpdate:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client.id in t.hosts[e.host].groups[n].clients&&(t.hosts[e.host].groups[n].clients[e.client.id]=e.client)}))},onGroupStreamChange:function(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate:function(e){this.parseServerStatus(e.server)},onStreamUpdate:function(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client in t.hosts[e.host].groups[n].clients&&(null!=e.volume&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange:function(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow:function(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(var t=0,n=Object.values(this.hosts[e.host].groups);t1?arguments[1]:void 0);while(t=t?t.next:n.first){s(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!w(this,e)}}),r(p,n?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&s(p,"size",{get:function(){return h(this).size}}),c},setStrong:function(e,t,n){var s=t+" Iterator",o=f(t),r=f(s);u(e,t,(function(e,t){m(this,{type:s,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=r(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var s=n(2109),o=n(7854),r=n(1702),i=n(4705),l=n(8052),a=n(2423),u=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),m=n(7072),f=n(8003),h=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),_=g?"set":"add",C=o[e],y=C&&C.prototype,b=C,x={},k=function(e){var t=r(y[e]);l(y,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return w&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},H=i(e,!d(C)||!(w||y.forEach&&!p((function(){(new C).entries().next()}))));if(H)b=n.getConstructor(t,e,g,_),a.enable();else if(i(e,!0)){var S=new b,D=S[_](w?{}:-0,1)!=S,q=p((function(){S.has(1)})),z=m((function(e){new C(e)})),M=!w&&p((function(){var e=new C,t=5;while(t--)e[_](t,t);return!e.has(-0)}));z||(b=t((function(e,t){c(e,y);var n=h(new C,e,b);return void 0!=t&&u(t,n[_],{that:n,AS_ENTRIES:g}),n})),b.prototype=y,y.constructor=b),(q||M)&&(k("delete"),k("has"),g&&k("get")),(M||D)&&k(_),w&&y.clear&&delete y.clear}return x[e]=b,s({global:!0,constructor:!0,forced:b!=C},x),f(b,e),w||n.setStrong(b,e,g),b}},9190:function(e,t,n){var s=n(8052);e.exports=function(e,t,n){for(var o in t)s(e,o,t[o],n);return e}},6677:function(e,t,n){var s=n(7293);e.exports=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2423:function(e,t,n){var s=n(2109),o=n(1702),r=n(3501),i=n(111),l=n(2597),a=n(3070).f,u=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),m=!1,f=v("meta"),h=0,g=function(e){a(e,f,{value:{objectID:"O"+h++,weakData:{}}})},w=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,f)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},_=function(e,t){if(!l(e,f)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},C=function(e){return p&&m&&d(e)&&!l(e,f)&&g(e),e},y=function(){b.enable=function(){},m=!0;var e=u.f,t=o([].splice),n={};n[f]=1,e(n).length&&(u.f=function(n){for(var s=e(n),o=0,r=s.length;o0?((0,s.wg)(),(0,s.iD)("div",Re,[Ie,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.clients||{},(function(t,o){return(0,s.wg)(),(0,s.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:o},[(0,s._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,s._)("input",{type:"checkbox",class:"client",id:"snapcast-client-".concat(t.id),value:t.id,checked:t.id in n.group.clients,disabled:n.loading,onInput:function(n){return e.$emit(n.target.checked?"add-client":"remove-client",t.id)}},null,40,$e),(0,s.Uk)(" "+(0,f.zw)(t.host.name),1)],8,Ue)])})),128))])):(0,s.kq)("",!0),null!==(u=n.group)&&void 0!==u&&u.stream_id?((0,s.wg)(),(0,s.iD)("div",Ee,[Ae,(0,s._)("div",Te,[Be,(0,s._)("div",Pe,[(0,s._)("label",null,[(0,s._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=function(t){return e.$emit("stream-change",t.target.value)})},[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.streams,(function(e,t){return(0,s.wg)(),(0,s.iD)("option",{key:t,textContent:(0,f.zw)(n.streams[n.group.stream_id].id),name:e.id,value:e.id,disabled:n.loading,selected:e.id===n.group.stream_id},null,8,Ve)})),128))],544)])])]),null!==(c=n.streams)&&void 0!==c&&null!==(d=c[n.group.stream_id])&&void 0!==d&&d.status?((0,s.wg)(),(0,s.iD)("div",Ne,[Ke,(0,s._)("div",{class:"value col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].status)},null,8,We)])):(0,s.kq)("",!0),null!==(v=n.streams)&&void 0!==v&&null!==(p=v[null===(h=n.group)||void 0===h?void 0:h.stream_id])&&void 0!==p&&null!==(m=p.uri)&&void 0!==m&&m.host?((0,s.wg)(),(0,s.iD)("div",Fe,[Le,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.host)},null,8,Ye)])):(0,s.kq)("",!0),null!==(g=n.streams)&&void 0!==g&&null!==(w=g[null===(C=n.group)||void 0===C?void 0:C.stream_id])&&void 0!==w&&null!==(_=w.uri)&&void 0!==_&&_.path?((0,s.wg)(),(0,s.iD)("div",Je,[Qe,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.path)},null,8,Xe)])):(0,s.kq)("",!0),null!==(y=n.streams)&&void 0!==y&&null!==(b=y[null===(k=n.group)||void 0===k?void 0:k.stream_id])&&void 0!==b&&null!==(x=b.uri)&&void 0!==x&&x.raw?((0,s.wg)(),(0,s.iD)("div",et,[tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.raw)},null,8,nt)])):(0,s.kq)("",!0)])):(0,s.kq)("",!0)])}n(3210);var ot={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup:function(){var e=(prompt("New group name",this.group.name)||"").trim();null!==e&&void 0!==e&&e.length&&this.$emit("rename-group",e)}}};const rt=(0,I.Z)(ot,[["render",st],["__scopeId","data-v-353ffa58"]]);var it=rt,lt=function(e){return(0,s.dD)("data-v-0e55ac54"),e=e(),(0,s.Cn)(),e},at={class:"client-modal"},ut={key:0,class:"info"},ct={class:"row"},dt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"ID",-1)})),vt=["textContent"],pt={key:0,class:"row"},mt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Name",-1)})),ft={class:"value col-s-12 col-m-9"},ht=["textContent"],gt=lt((function(){return(0,s._)("i",{class:"fa fa-edit"},null,-1)})),wt=[gt],_t={class:"row"},Ct=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1)})),yt=["textContent"],bt={class:"row"},xt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1)})),kt={class:"value col-s-12 col-m-9"},Ht={class:"row"},St=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1)})),Dt=["textContent"],qt={class:"row"},zt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1)})),Mt=["textContent"],Zt={key:1,class:"row"},jt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1)})),Gt=["textContent"],Ot={key:2,class:"row"},Rt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1)})),It=["textContent"],Ut={key:3,class:"row"},$t=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"OS",-1)})),Et=["textContent"],At={key:4,class:"row"},Tt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1)})),Bt=["textContent"],Pt={class:"row"},Vt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1)})),Nt=["textContent"],Kt={class:"row"},Wt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1)})),Ft=["textContent"],Lt={class:"row"},Yt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1)})),Jt=["textContent"],Qt={class:"buttons"},Xt={class:"row"},en=["disabled"],tn=lt((function(){return(0,s._)("i",{class:"fas fa-trash"},null,-1)})),nn=lt((function(){return(0,s._)("span",{class:"name"},"Remove client",-1)})),sn=[tn,nn];function on(e,t,n,o,r,i){var l,a,u,c,d;return(0,s.wg)(),(0,s.iD)("div",at,[n.client?((0,s.wg)(),(0,s.iD)("div",ut,[(0,s._)("div",ct,[dt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.id)},null,8,vt)]),null!==(l=n.client.config)&&void 0!==l&&null!==(a=l.name)&&void 0!==a&&a.length||null!==(u=n.client.host)&&void 0!==u&&u.name?((0,s.wg)(),(0,s.iD)("div",pt,[mt,(0,s._)("div",ft,[(0,s._)("span",{class:"name",textContent:(0,f.zw)((null===(c=n.client.config)||void 0===c?void 0:c.name)||(null===(d=n.client.host)||void 0===d?void 0:d.name))},null,8,ht),(0,s._)("button",{title:"Rename",onClick:t[0]||(t[0]=function(){return i.renameClient&&i.renameClient.apply(i,arguments)})},wt)])])):(0,s.kq)("",!0),(0,s._)("div",_t,[Ct,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.connected)},null,8,yt)]),(0,s._)("div",bt,[xt,(0,s._)("div",kt,(0,f.zw)(n.client.config.volume.percent)+"%",1)]),(0,s._)("div",Ht,[St,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.volume.muted)},null,8,Dt)]),(0,s._)("div",qt,[zt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.latency)},null,8,Mt)]),n.client.host.ip&&n.client.host.ip.length?((0,s.wg)(),(0,s.iD)("div",Zt,[jt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.ip)},null,8,Gt)])):(0,s.kq)("",!0),n.client.host.mac&&n.client.host.mac.length?((0,s.wg)(),(0,s.iD)("div",Ot,[Rt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.mac)},null,8,It)])):(0,s.kq)("",!0),n.client.host.os&&n.client.host.os.length?((0,s.wg)(),(0,s.iD)("div",Ut,[$t,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.os)},null,8,Et)])):(0,s.kq)("",!0),n.client.host.arch&&n.client.host.arch.length?((0,s.wg)(),(0,s.iD)("div",At,[Tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.arch)},null,8,Bt)])):(0,s.kq)("",!0),(0,s._)("div",Pt,[Vt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.name)},null,8,Nt)]),(0,s._)("div",Kt,[Wt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.version)},null,8,Ft)]),(0,s._)("div",Lt,[Yt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.protocolVersion)},null,8,Jt)])])):(0,s.kq)("",!0),(0,s._)("div",Qt,[(0,s._)("div",Xt,[(0,s._)("button",{type:"button",disabled:n.loading,onClick:t[1]||(t[1]=function(){return i.removeClient&&i.removeClient.apply(i,arguments)})},sn,8,en)])])])}var rn={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient:function(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient:function(){var e,t=(window.prompt("New client name",null!==(e=this.client.config.name)&&void 0!==e&&e.length?this.client.config.name:this.client.host.name)||"").trim();t.length&&this.$emit("rename-client",t)}}};const ln=(0,I.Z)(rn,[["render",on],["__scopeId","data-v-0e55ac54"]]);var an=ln,un=n(1232),cn={name:"MusicSnapcast",mixins:[m.Z],components:{Loading:un.Z,Modal:p.Z,Host:V,ModalHost:He,ModalGroup:it,ModalClient:an},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost:function(){return Object.entries(this.hosts).reduce((function(e,t){var n=(0,v.Z)(t,2),s=n[0],o=n[1];return e[s]={},Object.values(o.groups).forEach((function(t){Object.entries(t.clients).forEach((function(t){var n=(0,v.Z)(t,2),o=n[0],r=n[1];e[s][o]=r}))})),e}),{})}},methods:{parseServerStatus:function(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]=(0,d.Z)((0,d.Z)({},e),{},{groups:e.groups.map((function(e){return(0,d.Z)((0,d.Z)({},e),{},{clients:e.clients.reduce((function(e,t){return e[t.id]=t,e}),{})})})).reduce((function(e,t){return e[t.id]=t,e}),{}),streams:e.streams.reduce((function(e,t){return e[t.id]=t,e}),{})})},refresh:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("music.snapcast.get_backend_hosts");case 4:return n=t.sent,t.next=7,Promise.all(Object.keys(n).map(function(){var t=(0,c.Z)(regeneratorRuntime.mark((function t(s){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.request("music.snapcast.status",{host:s,port:n[s]}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 7:s=t.sent,e.hosts={},s.forEach((function(t){e.ports[t.server.host.name]=n[t.server.host.name],e.parseServerStatus(t)}));case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},refreshHost:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e in t.hosts){n.next=2;break}return n.abrupt("return");case 2:return n.t0=t,n.next=5,t.request("music.snapcast.status",{host:e,port:t.ports[e]});case 5:n.t1=n.sent,n.t0.parseServerStatus.call(n.t0,n.t1);case 7:case"end":return n.stop()}}),n)})))()},addClientToGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:return s=(0,u.Z)(new Set([e].concat((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))))),n.next=7,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:s});case 7:return n.next=9,t.refreshHost(t.selectedHost);case 9:return n.prev=9,t.loading=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[1,,9,12]])})))()},removeClientFromGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:if(s=new Set((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))),s.has(e)){n.next=7;break}return n.abrupt("return");case 7:return s.delete(e),n.next=10,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:(0,u.Z)(s)});case 10:return n.next=12,t.refreshHost(t.selectedHost);case 12:return n.prev=12,t.loading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,,12,15]])})))()},renameGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_group_name",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},renameClient:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedClient){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_client_name",{host:t.selectedHost,port:t.ports[t.selectedHost],client:t.selectedClient,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},removeClient:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.loading=!0,t.prev=1,e.selectedHost&&e.selectedClient){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,e.request("music.snapcast.delete_client",{host:e.selectedHost,port:e.ports[e.selectedHost],client:e.selectedClient});case 6:return e.$refs.modalClient.close(),t.next=9,e.refreshHost(e.selectedHost);case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[1,,9,12]])})))()},streamChange:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("music.snapcast.group_set_stream",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,stream_id:e});case 4:return n.next=6,t.refreshHost(t.selectedHost);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()},onClientUpdate:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client.id in t.hosts[e.host].groups[n].clients&&(t.hosts[e.host].groups[n].clients[e.client.id]=e.client)}))},onGroupStreamChange:function(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate:function(e){this.parseServerStatus(e.server)},onStreamUpdate:function(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client in t.hosts[e.host].groups[n].clients&&(null!=e.volume&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange:function(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow:function(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(var t=0,n=Object.values(this.hosts[e.host].groups);t 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","defineBuiltIns","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","defineBuiltIn","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","src","options","preventExtensions","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","f","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","$trim","forcedStringTrimMethod","proto","trim","class","ref","min","range","max","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","volume","components","Slider","ToggleSwitch","required","String","Client","Group","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","reduce","values","clientId","parseServerStatus","map","refresh","request","Promise","all","statuses","refreshHost","Set","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","subscribe"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/2790-legacy.2afcb92a.js","mappings":"qGACA,IAAIA,EAAQ,EAAQ,MAEpBC,EAAOC,QAAUF,GAAM,WACrB,GAA0B,mBAAfG,YAA2B,CACpC,IAAIC,EAAS,IAAID,YAAY,GAEzBE,OAAOC,aAAaF,IAASC,OAAOE,eAAeH,EAAQ,IAAK,CAAEI,MAAO,GAC/E,CACF,G,oCCRA,IAAID,EAAiB,UACjBE,EAAS,EAAQ,IACjBC,EAAiB,EAAQ,MACzBC,EAAO,EAAQ,MACfC,EAAa,EAAQ,MACrBC,EAAU,EAAQ,KAClBC,EAAiB,EAAQ,KACzBC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MACtBC,EAAU,gBACVC,EAAsB,EAAQ,MAE9BC,EAAmBD,EAAoBE,IACvCC,EAAyBH,EAAoBI,UAEjDrB,EAAOC,QAAU,CACfqB,eAAgB,SAAUC,EAASC,EAAkBC,EAAQC,GAC3D,IAAIC,EAAcJ,GAAQ,SAAUK,EAAMC,GACxClB,EAAWiB,EAAME,GACjBZ,EAAiBU,EAAM,CACrBG,KAAMP,EACNQ,MAAOxB,EAAO,MACdyB,WAAOC,EACPC,UAAMD,EACNE,KAAM,IAEHrB,IAAaa,EAAKQ,KAAO,QACdF,GAAZL,GAAuBjB,EAAQiB,EAAUD,EAAKF,GAAQ,CAAEE,KAAMA,EAAMS,WAAYZ,GACtF,IAEIK,EAAYH,EAAYW,UAExBC,EAAmBnB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BnI,KAAKgH,MAAMkH,WAAWD,OACtB,MAEF,IAAK,SACHjO,KAAK+H,aAAelB,EAAMoC,KAC1BjJ,KAAKkI,cAAgBrB,EAAMsB,MAC3BnI,KAAK6I,eAAiBhC,EAAMiC,OAC5B9I,KAAKgH,MAAMmG,YAAYc,OACvB,MAEN,GAGFzG,QA5Ua,WA6UXxH,KAAK2M,UAEL3M,KAAKmO,UAAUnO,KAAKsN,eAAgB,KAChC,8DACA,iEACA,gEAEJtN,KAAKmO,UAAUnO,KAAKuN,oBAAqB,KAAM,iEAC/CvN,KAAKmO,UAAUnO,KAAKwN,eAAgB,KAAM,4DAC1CxN,KAAKmO,UAAUnO,KAAKyN,eAAgB,KAAM,4DAC1CzN,KAAKmO,UAAUnO,KAAK0N,qBAAsB,KAAM,kEAChD1N,KAAKmO,UAAUnO,KAAK2N,kBAAmB,KAAM,8DAC9C,GahYH,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAASjG,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://platypush/./node_modules/core-js/internals/collection-strong.js","webpack://platypush/./node_modules/core-js/internals/collection.js","webpack://platypush/./node_modules/core-js/internals/define-built-ins.js","webpack://platypush/./node_modules/core-js/internals/freezing.js","webpack://platypush/./node_modules/core-js/internals/internal-metadata.js","webpack://platypush/./node_modules/core-js/internals/object-is-extensible.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.set.constructor.js","webpack://platypush/./node_modules/core-js/modules/es.set.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue?98bc","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue?12df","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue?8888","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue?b4e2","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue?b9ce","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue?144d","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue?a513"],"sourcesContent":["// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","defineBuiltIns","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","defineBuiltIn","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","src","options","preventExtensions","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","f","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","$trim","forcedStringTrimMethod","proto","trim","class","ref","min","range","max","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","volume","components","Slider","ToggleSwitch","required","String","Client","Group","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","reduce","values","clientId","parseServerStatus","map","refresh","request","Promise","all","statuses","refreshHost","Set","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js b/platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js rename to platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js index caf075db0..dbdb17314 100644 --- a/platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js +++ b/platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{376:function(e,t,s){s.d(t,{Z:function(){return g}});var o=s(6252),l=s(9963),n=s(3577);const i={class:"slider-wrapper"},a=["min","max","step","disabled","value"],c={class:"track"},r={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function h(e,t,s,h,p,m){return(0,o.wg)(),(0,o.iD)("label",i,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",c,[(0,o._)("div",r,null,512)]),(0,o._)("div",u,null,512),s.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,d)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},m=s(3744);const v=(0,m.Z)(p,[["render",h],["__scopeId","data-v-95edc28a"]]);var g=v},6:function(e,t,s){s.d(t,{Z:function(){return m}});var o=s(6252),l=s(3577),n=s(9963);const i=e=>((0,o.dD)("data-v-a6396ae8"),e=e(),(0,o.Cn)(),e),a=["checked"],c=i((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),r={class:"label"};function u(e,t,s,i,u,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>d.onInput&&d.onInput(...e)),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:s.value},null,8,a),(0,o._)("label",null,[c,(0,o._)("span",r,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=s(3744);const p=(0,h.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var m=p},2790:function(e,t,s){s.r(t),s.d(t,{default:function(){return as}});var o=s(6252);const l={class:"music-snapcast-container"},n={class:"info"},i={class:"info"},a={class:"info"};function c(e,t,s,c,r,u){const d=(0,o.up)("Loading"),h=(0,o.up)("ModalHost"),p=(0,o.up)("Modal"),m=(0,o.up)("ModalGroup"),v=(0,o.up)("ModalClient"),g=(0,o.up)("Host");return(0,o.wg)(),(0,o.iD)("div",l,[e.loading?((0,o.wg)(),(0,o.j4)(d,{key:0})):(0,o.kq)("",!0),(0,o._)("div",n,[(0,o.Wm)(p,{title:"Server info",ref:"modalHost"},{default:(0,o.w5)((()=>[e.selectedHost?((0,o.wg)(),(0,o.j4)(h,{key:0,info:e.hosts[e.selectedHost]},null,8,["info"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",i,[(0,o.Wm)(p,{title:"Group info",ref:"modalGroup"},{default:(0,o.w5)((()=>[e.selectedGroup?((0,o.wg)(),(0,o.j4)(m,{key:0,group:e.hosts[e.selectedHost].groups[e.selectedGroup],streams:e.hosts[e.selectedHost].streams,clients:u.clientsByHost[e.selectedHost],loading:e.loading,onAddClient:u.addClientToGroup,onRemoveClient:u.removeClientFromGroup,onStreamChange:u.streamChange,onRenameGroup:t[0]||(t[0]=e=>u.renameGroup(e))},null,8,["group","streams","clients","loading","onAddClient","onRemoveClient","onStreamChange"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",a,[(0,o.Wm)(p,{title:"Client info",ref:"modalClient"},{default:(0,o.w5)((()=>[e.selectedClient?((0,o.wg)(),(0,o.j4)(v,{key:0,client:e.hosts[e.selectedHost].groups[e.selectedGroup].clients[e.selectedClient],loading:e.loading,onRemoveClient:u.removeClient,onRenameClient:t[1]||(t[1]=e=>u.renameClient(e))},null,8,["client","loading","onRemoveClient"])):(0,o.kq)("",!0)])),_:1},512)]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.hosts,((e,s)=>((0,o.wg)(),(0,o.j4)(g,{key:s,server:e.server,streams:e.streams,groups:e.groups,onGroupMuteToggle:t[2]||(t[2]=e=>u.groupMute(e)),onClientMuteToggle:t[3]||(t[3]=e=>u.clientMute(e)),onClientVolumeChange:t[4]||(t[4]=e=>u.clientSetVolume(e)),onModalShow:t[5]||(t[5]=e=>u.onModalShow(e))},null,8,["server","streams","groups"])))),128))])}var r=s(9642),u=s(6813),d=s(3577);const h=e=>((0,o.dD)("data-v-7bce419a"),e=e(),(0,o.Cn)(),e),p={class:"host"},m={class:"header"},v=h((()=>(0,o._)("i",{class:"icon fa fa-server"},null,-1))),g={class:"col-2 buttons pull-right"},w={key:0,class:"group-container"};function f(e,t,s,l,n,i){const a=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",p,[(0,o._)("div",m,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"host",host:s.server.host.name}))},[v,(0,o.Uk)(" "+(0,d.zw)(s.server.host.name),1)]),(0,o._)("div",g,[(0,o._)("button",{type:"button",onClick:t[1]||(t[1]=e=>n.collapsed=!n.collapsed)},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-chevron-up":!n.collapsed,"fa-chevron-down":n.collapsed}])},null,2)])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",w,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.groups,((l,n)=>((0,o.wg)(),(0,o.j4)(a,{key:n,id:l.id,name:l.name,server:s.server.host,muted:l.muted,clients:l.clients,stream:s.streams[l.stream_id],onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onGroupMuteToggle:t[3]||(t[3]=t=>e.$emit("group-mute-toggle",t)),onClientMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t)),onClientVolumeChange:t[5]||(t[5]=t=>e.$emit("client-volume-change",t))},null,8,["id","name","server","muted","clients","stream"])))),128))]))])}const _={class:"group"},C={class:"head"},y={class:"col-2 switch pull-right"},b={class:"body"};function k(e,t,s,l,n,i){const a=(0,o.up)("ToggleSwitch"),c=(0,o.up)("Client");return(0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("div",C,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"group",group:s.id,host:s.server.name}))},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-play":"playing"===s.stream.status,"fa-stop":"playing"!==s.stream.status}])},null,2),(0,o.Uk)(" "+(0,d.zw)(s.name||s.stream.id||s.id),1)]),(0,o._)("div",y,[(0,o.Wm)(a,{value:!s.muted,onInput:t[1]||(t[1]=t=>e.$emit("group-mute-toggle",{host:s.server.name,group:s.id,muted:!s.muted}))},null,8,["value"])])]),(0,o._)("div",b,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients,(l=>((0,o.wg)(),(0,o.j4)(c,{key:l.id,config:l.config,connected:l.connected,server:s.server,host:l.host,groupId:s.id,id:l.id,lastSeen:l.lastSeen,snapclient:l.snapclient,onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onVolumeChange:t[3]||(t[3]=t=>e.$emit("client-volume-change",t)),onMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t))},null,8,["config","connected","server","host","groupId","id","lastSeen","snapclient"])))),128))])])}var x=s(6);const H=["textContent"],S={class:"col-s-12 col-m-9 controls"},D={class:"col-10 slider-container"},q={class:"col-2 switch pull-right"};function M(e,t,s,l,n,i){const a=(0,o.up)("Slider"),c=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["row client",{offline:!s.connected}])},[(0,o._)("div",{class:"col-s-12 col-m-3 name",textContent:(0,d.zw)(s.config.name?.length?s.config.name:s.host.name),onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"client",client:s.id,group:s.groupId,host:s.server.name}))},null,8,H),(0,o._)("div",S,[(0,o._)("div",D,[(0,o.Wm)(a,{range:[0,100],value:s.config.volume.percent,onMouseup:t[1]||(t[1]=t=>e.$emit("volume-change",{host:s.server.name,client:s.id,volume:t.target.value}))},null,8,["value"])]),(0,o._)("div",q,[(0,o.Wm)(c,{value:!s.config.volume.muted,onInput:t[2]||(t[2]=t=>e.$emit("mute-toggle",{host:s.server.name,client:s.id,muted:!s.config.volume.muted}))},null,8,["value"])])])],2)}var G=s(376),j={name:"Client",components:{Slider:G.Z,ToggleSwitch:x.Z},emits:["volume-change","mute-toggle","modal-show"],props:{config:{type:Object,required:!0},connected:{type:Boolean,default:!1},host:{type:Object,required:!0},id:{type:String,required:!0},groupId:{type:String,required:!0},lastSeen:{type:Object,default:()=>{}},snapclient:{type:Object,required:!0},server:{type:Object,required:!0}}},z=s(3744);const $=(0,z.Z)(j,[["render",M],["__scopeId","data-v-12b0e65b"]]);var O=$,U={name:"Group",components:{Client:O,ToggleSwitch:x.Z},emits:["group-mute-toggle","modal-show","client-volume-change","client-mute-toggle"],props:{id:{type:String},clients:{type:Object,default:()=>{}},muted:{type:Boolean},name:{type:String},stream:{type:Object},server:{type:Object}}};const I=(0,z.Z)(U,[["render",k],["__scopeId","data-v-748fccb4"]]);var Z=I,T={name:"Host",emits:["modal-show","group-mute-toggle","client-mute-toggle","client-volume-change"],components:{Group:Z},props:{groups:{type:Object,default:()=>{}},server:{type:Object,default:()=>{}},streams:{type:Object,default:()=>{}}},data(){return{collapsed:!1}}};const V=(0,z.Z)(T,[["render",f],["__scopeId","data-v-7bce419a"]]);var E=V;const A={class:"info"},B={key:0,class:"row"},R=(0,o._)("div",{class:"label col-3"},"IP Address",-1),P=["textContent"],N={key:1,class:"row"},K=(0,o._)("div",{class:"label col-3"},"MAC Address",-1),W=["textContent"],L={key:2,class:"row"},Y=(0,o._)("div",{class:"label col-3"},"Name",-1),F=["textContent"],J={key:3,class:"row"},Q=(0,o._)("div",{class:"label col-3"},"Port",-1),X=["textContent"],ee={key:4,class:"row"},te=(0,o._)("div",{class:"label col-3"},"OS",-1),se=["textContent"],oe={key:5,class:"row"},le=(0,o._)("div",{class:"label col-3"},"Architecture",-1),ne=["textContent"],ie={key:6,class:"row"},ae=(0,o._)("div",{class:"label col-3"},"Server name",-1),ce=["textContent"],re={key:7,class:"row"},ue=(0,o._)("div",{class:"label col-3"},"Server version",-1),de=["textContent"],he={key:8,class:"row"},pe=(0,o._)("div",{class:"label col-3"},"Protocol version",-1),me=["textContent"],ve={key:9,class:"row"},ge=(0,o._)("div",{class:"label col-3"},"Control protocol version",-1),we=["textContent"];function fe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",A,[s.info?.server?.host?.ip?.length?((0,o.wg)(),(0,o.iD)("div",B,[R,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.ip)},null,8,P)])):(0,o.kq)("",!0),s.info?.server?.host?.mac?.length?((0,o.wg)(),(0,o.iD)("div",N,[K,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.mac)},null,8,W)])):(0,o.kq)("",!0),s.info?.server?.host?.name?.length?((0,o.wg)(),(0,o.iD)("div",L,[Y,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.name)},null,8,F)])):(0,o.kq)("",!0),s.info?.server?.host?.port?((0,o.wg)(),(0,o.iD)("div",J,[Q,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.port)},null,8,X)])):(0,o.kq)("",!0),s.info?.server?.host?.os?.length?((0,o.wg)(),(0,o.iD)("div",ee,[te,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.os)},null,8,se)])):(0,o.kq)("",!0),s.info?.server?.host?.arch?.length?((0,o.wg)(),(0,o.iD)("div",oe,[le,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.arch)},null,8,ne)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.name?.length?((0,o.wg)(),(0,o.iD)("div",ie,[ae,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.name)},null,8,ce)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.version?.length?((0,o.wg)(),(0,o.iD)("div",re,[ue,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.version)},null,8,de)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.protocolVersion?((0,o.wg)(),(0,o.iD)("div",he,[pe,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.protocolVersion)},null,8,me)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.controlProtocolVersion?((0,o.wg)(),(0,o.iD)("div",ve,[ge,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.controlProtocolVersion)},null,8,we)])):(0,o.kq)("",!0)])}var _e={name:"HostModal",props:{info:{type:Object,default:()=>{}}}};const Ce=(0,z.Z)(_e,[["render",fe]]);var ye=Ce;const be=e=>((0,o.dD)("data-v-353ffa58"),e=e(),(0,o.Cn)(),e),ke={class:"info"},xe={class:"section name"},He=be((()=>(0,o._)("div",{class:"title"},"Name",-1))),Se={class:"row"},De={class:"name-value"},qe=["textContent"],Me=be((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),Ge=[Me],je={key:0,class:"section clients"},ze=be((()=>(0,o._)("div",{class:"title"},"Clients",-1))),$e=["for"],Oe=["id","value","checked","disabled","onInput"],Ue={key:1,class:"section streams"},Ie=be((()=>(0,o._)("div",{class:"title"},"Stream",-1))),Ze={class:"row"},Te=be((()=>(0,o._)("div",{class:"label col-3"},"ID",-1))),Ve={class:"value col-9"},Ee=["textContent","name","value","disabled","selected"],Ae={key:0,class:"row"},Be=be((()=>(0,o._)("div",{class:"label col-m-3"},"Status",-1))),Re=["textContent"],Pe={key:1,class:"row"},Ne=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Host",-1))),Ke=["textContent"],We={key:2,class:"row"},Le=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Path",-1))),Ye=["textContent"],Fe={key:3,class:"row"},Je=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"URI",-1))),Qe=["textContent"];function Xe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",ke,[(0,o._)("div",xe,[He,(0,o._)("div",Se,[(0,o._)("div",De,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.group.name?.length?s.group.name:"default")},null,8,qe),(0,o._)("button",{class:"pull-right",title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameGroup&&i.renameGroup(...e))},Ge)])])]),Object.keys(s.group?.clients||{}).length>0?((0,o.wg)(),(0,o.iD)("div",je,[ze,((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients||{},((t,l)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:l},[(0,o._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,o._)("input",{type:"checkbox",class:"client",id:`snapcast-client-${t.id}`,value:t.id,checked:t.id in s.group.clients,disabled:s.loading,onInput:s=>e.$emit(s.target.checked?"add-client":"remove-client",t.id)},null,40,Oe),(0,o.Uk)(" "+(0,d.zw)(t.host.name),1)],8,$e)])))),128))])):(0,o.kq)("",!0),s.group?.stream_id?((0,o.wg)(),(0,o.iD)("div",Ue,[Ie,(0,o._)("div",Ze,[Te,(0,o._)("div",Ve,[(0,o._)("label",null,[(0,o._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=t=>e.$emit("stream-change",t.target.value))},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.streams,((e,t)=>((0,o.wg)(),(0,o.iD)("option",{key:t,textContent:(0,d.zw)(s.streams[s.group.stream_id].id),name:e.id,value:e.id,disabled:s.loading,selected:e.id===s.group.stream_id},null,8,Ee)))),128))],544)])])]),s.streams?.[s.group.stream_id]?.status?((0,o.wg)(),(0,o.iD)("div",Ae,[Be,(0,o._)("div",{class:"value col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].status)},null,8,Re)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.host?((0,o.wg)(),(0,o.iD)("div",Pe,[Ne,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.host)},null,8,Ke)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.path?((0,o.wg)(),(0,o.iD)("div",We,[Le,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.path)},null,8,Ye)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.raw?((0,o.wg)(),(0,o.iD)("div",Fe,[Je,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.raw)},null,8,Qe)])):(0,o.kq)("",!0)])):(0,o.kq)("",!0)])}var et={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup(){const e=(prompt("New group name",this.group.name)||"").trim();e?.length&&this.$emit("rename-group",e)}}};const tt=(0,z.Z)(et,[["render",Xe],["__scopeId","data-v-353ffa58"]]);var st=tt;const ot=e=>((0,o.dD)("data-v-0e55ac54"),e=e(),(0,o.Cn)(),e),lt={class:"client-modal"},nt={key:0,class:"info"},it={class:"row"},at=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"ID",-1))),ct=["textContent"],rt={key:0,class:"row"},ut=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Name",-1))),dt={class:"value col-s-12 col-m-9"},ht=["textContent"],pt=ot((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),mt=[pt],vt={class:"row"},gt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1))),wt=["textContent"],ft={class:"row"},_t=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1))),Ct={class:"value col-s-12 col-m-9"},yt={class:"row"},bt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1))),kt=["textContent"],xt={class:"row"},Ht=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1))),St=["textContent"],Dt={key:1,class:"row"},qt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1))),Mt=["textContent"],Gt={key:2,class:"row"},jt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1))),zt=["textContent"],$t={key:3,class:"row"},Ot=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"OS",-1))),Ut=["textContent"],It={key:4,class:"row"},Zt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1))),Tt=["textContent"],Vt={class:"row"},Et=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1))),At=["textContent"],Bt={class:"row"},Rt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1))),Pt=["textContent"],Nt={class:"row"},Kt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1))),Wt=["textContent"],Lt={class:"buttons"},Yt={class:"row"},Ft=["disabled"],Jt=ot((()=>(0,o._)("i",{class:"fas fa-trash"},null,-1))),Qt=ot((()=>(0,o._)("span",{class:"name"},"Remove client",-1))),Xt=[Jt,Qt];function es(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",lt,[s.client?((0,o.wg)(),(0,o.iD)("div",nt,[(0,o._)("div",it,[at,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.id)},null,8,ct)]),s.client.config?.name?.length||s.client.host?.name?((0,o.wg)(),(0,o.iD)("div",rt,[ut,(0,o._)("div",dt,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.client.config?.name||s.client.host?.name)},null,8,ht),(0,o._)("button",{title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameClient&&i.renameClient(...e))},mt)])])):(0,o.kq)("",!0),(0,o._)("div",vt,[gt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.connected)},null,8,wt)]),(0,o._)("div",ft,[_t,(0,o._)("div",Ct,(0,d.zw)(s.client.config.volume.percent)+"%",1)]),(0,o._)("div",yt,[bt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.volume.muted)},null,8,kt)]),(0,o._)("div",xt,[Ht,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.latency)},null,8,St)]),s.client.host.ip&&s.client.host.ip.length?((0,o.wg)(),(0,o.iD)("div",Dt,[qt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.ip)},null,8,Mt)])):(0,o.kq)("",!0),s.client.host.mac&&s.client.host.mac.length?((0,o.wg)(),(0,o.iD)("div",Gt,[jt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.mac)},null,8,zt)])):(0,o.kq)("",!0),s.client.host.os&&s.client.host.os.length?((0,o.wg)(),(0,o.iD)("div",$t,[Ot,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.os)},null,8,Ut)])):(0,o.kq)("",!0),s.client.host.arch&&s.client.host.arch.length?((0,o.wg)(),(0,o.iD)("div",It,[Zt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.arch)},null,8,Tt)])):(0,o.kq)("",!0),(0,o._)("div",Vt,[Et,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.name)},null,8,At)]),(0,o._)("div",Bt,[Rt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.version)},null,8,Pt)]),(0,o._)("div",Nt,[Kt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.protocolVersion)},null,8,Wt)])])):(0,o.kq)("",!0),(0,o._)("div",Lt,[(0,o._)("div",Yt,[(0,o._)("button",{type:"button",disabled:s.loading,onClick:t[1]||(t[1]=(...e)=>i.removeClient&&i.removeClient(...e))},Xt,8,Ft)])])])}var ts={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient(){const e=(window.prompt("New client name",this.client.config.name?.length?this.client.config.name:this.client.host.name)||"").trim();e.length&&this.$emit("rename-client",e)}}};const ss=(0,z.Z)(ts,[["render",es],["__scopeId","data-v-0e55ac54"]]);var os=ss,ls=s(1232),ns={name:"MusicSnapcast",mixins:[u.Z],components:{Loading:ls.Z,Modal:r.Z,Host:E,ModalHost:ye,ModalGroup:st,ModalClient:os},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost(){return Object.entries(this.hosts).reduce(((e,[t,s])=>(e[t]={},Object.values(s.groups).forEach((s=>{Object.entries(s.clients).forEach((([s,o])=>{e[t][s]=o}))})),e)),{})}},methods:{parseServerStatus(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]={...e,groups:e.groups.map((e=>({...e,clients:e.clients.reduce(((e,t)=>(e[t.id]=t,e)),{})}))).reduce(((e,t)=>(e[t.id]=t,e)),{}),streams:e.streams.reduce(((e,t)=>(e[t.id]=t,e)),{})}},async refresh(){this.loading=!0;try{const e=await this.request("music.snapcast.get_backend_hosts"),t=await Promise.all(Object.keys(e).map((async t=>this.request("music.snapcast.status",{host:t,port:e[t]}))));this.hosts={},t.forEach((t=>{this.ports[t.server.host.name]=e[t.server.host.name],this.parseServerStatus(t)}))}finally{this.loading=!1}},async refreshHost(e){e in this.hosts&&this.parseServerStatus(await this.request("music.snapcast.status",{host:e,port:this.ports[e]}))},async addClientToGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=[...new Set([e,...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)])];await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:t}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClientFromGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=new Set([...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)]);if(!t.has(e))return;t.delete(e),await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:[...t]}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup)return;await this.request("music.snapcast.set_group_name",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameClient(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.set_client_name",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClient(){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.delete_client",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient}),this.$refs.modalClient.close(),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async streamChange(e){this.loading=!0;try{await this.request("music.snapcast.group_set_stream",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,stream_id:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},onClientUpdate(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client.id in this.hosts[e.host].groups[t].clients&&(this.hosts[e.host].groups[t].clients[e.client.id]=e.client)}))},onGroupStreamChange(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate(e){this.parseServerStatus(e.server)},onStreamUpdate(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client in this.hosts[e.host].groups[t].clients&&(null!=e.volume&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(const t of Object.values(this.hosts[e.host].groups))for(const s of Object.values(t.clients))this.modal[e.type].info.clients[s.id]=s;break;case"client":this.modal[e.type].info=this.hosts[e.host].groups[e.group].clients[e.client],this.modal[e.type].info.server=this.hosts[e.host].server;break}this.modal[e.type].visible=!0},async groupMute(e){await this.request("music.snapcast.mute",{group:e.group,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientMute(e){await this.request("music.snapcast.mute",{client:e.client,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientSetVolume(e){await this.request("music.snapcast.volume",{client:e.client,host:e.host,port:this.ports[e.host],volume:e.volume}),await this.refreshHost(e.host)},onModalShow(e){switch(e.type){case"host":this.selectedHost=e.host,this.$refs.modalHost.show();break;case"group":this.selectedHost=e.host,this.selectedGroup=e.group,this.$refs.modalGroup.show();break;case"client":this.selectedHost=e.host,this.selectedGroup=e.group,this.selectedClient=e.client,this.$refs.modalClient.show();break}}},mounted(){this.refresh(),this.subscribe(this.onClientUpdate,null,"platypush.message.event.music.snapcast.ClientConnectedEvent","platypush.message.event.music.snapcast.ClientDisconnectedEvent","platypush.message.event.music.snapcast.ClientNameChangeEvent"),this.subscribe(this.onGroupStreamChange,null,"platypush.message.event.music.snapcast.GroupStreamChangeEvent"),this.subscribe(this.onServerUpdate,null,"platypush.message.event.music.snapcast.ServerUpdateEvent"),this.subscribe(this.onStreamUpdate,null,"platypush.message.event.music.snapcast.StreamUpdateEvent"),this.subscribe(this.onClientVolumeChange,null,"platypush.message.event.music.snapcast.ClientVolumeChangeEvent"),this.subscribe(this.onGroupMuteChange,null,"platypush.message.event.music.snapcast.GroupMuteChangeEvent")}};const is=(0,z.Z)(ns,[["render",c],["__scopeId","data-v-40841f5a"]]);var as=is}}]); -//# sourceMappingURL=2790.944f8aaf.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{376:function(e,t,s){s.d(t,{Z:function(){return g}});var o=s(6252),l=s(9963),n=s(3577);const i={class:"slider-wrapper"},a=["min","max","step","disabled","value"],c={class:"track"},r={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function h(e,t,s,h,p,m){return(0,o.wg)(),(0,o.iD)("label",i,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",c,[(0,o._)("div",r,null,512)]),(0,o._)("div",u,null,512),s.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,d)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},m=s(3744);const v=(0,m.Z)(p,[["render",h],["__scopeId","data-v-95edc28a"]]);var g=v},6:function(e,t,s){s.d(t,{Z:function(){return m}});var o=s(6252),l=s(3577),n=s(9963);const i=e=>((0,o.dD)("data-v-a6396ae8"),e=e(),(0,o.Cn)(),e),a=["checked"],c=i((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),r={class:"label"};function u(e,t,s,i,u,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>d.onInput&&d.onInput(...e)),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:s.value},null,8,a),(0,o._)("label",null,[c,(0,o._)("span",r,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=s(3744);const p=(0,h.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var m=p},2790:function(e,t,s){s.r(t),s.d(t,{default:function(){return as}});var o=s(6252);const l={class:"music-snapcast-container"},n={class:"info"},i={class:"info"},a={class:"info"};function c(e,t,s,c,r,u){const d=(0,o.up)("Loading"),h=(0,o.up)("ModalHost"),p=(0,o.up)("Modal"),m=(0,o.up)("ModalGroup"),v=(0,o.up)("ModalClient"),g=(0,o.up)("Host");return(0,o.wg)(),(0,o.iD)("div",l,[e.loading?((0,o.wg)(),(0,o.j4)(d,{key:0})):(0,o.kq)("",!0),(0,o._)("div",n,[(0,o.Wm)(p,{title:"Server info",ref:"modalHost"},{default:(0,o.w5)((()=>[e.selectedHost?((0,o.wg)(),(0,o.j4)(h,{key:0,info:e.hosts[e.selectedHost]},null,8,["info"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",i,[(0,o.Wm)(p,{title:"Group info",ref:"modalGroup"},{default:(0,o.w5)((()=>[e.selectedGroup?((0,o.wg)(),(0,o.j4)(m,{key:0,group:e.hosts[e.selectedHost].groups[e.selectedGroup],streams:e.hosts[e.selectedHost].streams,clients:u.clientsByHost[e.selectedHost],loading:e.loading,onAddClient:u.addClientToGroup,onRemoveClient:u.removeClientFromGroup,onStreamChange:u.streamChange,onRenameGroup:t[0]||(t[0]=e=>u.renameGroup(e))},null,8,["group","streams","clients","loading","onAddClient","onRemoveClient","onStreamChange"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",a,[(0,o.Wm)(p,{title:"Client info",ref:"modalClient"},{default:(0,o.w5)((()=>[e.selectedClient?((0,o.wg)(),(0,o.j4)(v,{key:0,client:e.hosts[e.selectedHost].groups[e.selectedGroup].clients[e.selectedClient],loading:e.loading,onRemoveClient:u.removeClient,onRenameClient:t[1]||(t[1]=e=>u.renameClient(e))},null,8,["client","loading","onRemoveClient"])):(0,o.kq)("",!0)])),_:1},512)]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.hosts,((e,s)=>((0,o.wg)(),(0,o.j4)(g,{key:s,server:e.server,streams:e.streams,groups:e.groups,onGroupMuteToggle:t[2]||(t[2]=e=>u.groupMute(e)),onClientMuteToggle:t[3]||(t[3]=e=>u.clientMute(e)),onClientVolumeChange:t[4]||(t[4]=e=>u.clientSetVolume(e)),onModalShow:t[5]||(t[5]=e=>u.onModalShow(e))},null,8,["server","streams","groups"])))),128))])}var r=s(8453),u=s(6813),d=s(3577);const h=e=>((0,o.dD)("data-v-7bce419a"),e=e(),(0,o.Cn)(),e),p={class:"host"},m={class:"header"},v=h((()=>(0,o._)("i",{class:"icon fa fa-server"},null,-1))),g={class:"col-2 buttons pull-right"},w={key:0,class:"group-container"};function f(e,t,s,l,n,i){const a=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",p,[(0,o._)("div",m,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"host",host:s.server.host.name}))},[v,(0,o.Uk)(" "+(0,d.zw)(s.server.host.name),1)]),(0,o._)("div",g,[(0,o._)("button",{type:"button",onClick:t[1]||(t[1]=e=>n.collapsed=!n.collapsed)},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-chevron-up":!n.collapsed,"fa-chevron-down":n.collapsed}])},null,2)])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",w,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.groups,((l,n)=>((0,o.wg)(),(0,o.j4)(a,{key:n,id:l.id,name:l.name,server:s.server.host,muted:l.muted,clients:l.clients,stream:s.streams[l.stream_id],onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onGroupMuteToggle:t[3]||(t[3]=t=>e.$emit("group-mute-toggle",t)),onClientMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t)),onClientVolumeChange:t[5]||(t[5]=t=>e.$emit("client-volume-change",t))},null,8,["id","name","server","muted","clients","stream"])))),128))]))])}const _={class:"group"},C={class:"head"},y={class:"col-2 switch pull-right"},b={class:"body"};function k(e,t,s,l,n,i){const a=(0,o.up)("ToggleSwitch"),c=(0,o.up)("Client");return(0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("div",C,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"group",group:s.id,host:s.server.name}))},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-play":"playing"===s.stream.status,"fa-stop":"playing"!==s.stream.status}])},null,2),(0,o.Uk)(" "+(0,d.zw)(s.name||s.stream.id||s.id),1)]),(0,o._)("div",y,[(0,o.Wm)(a,{value:!s.muted,onInput:t[1]||(t[1]=t=>e.$emit("group-mute-toggle",{host:s.server.name,group:s.id,muted:!s.muted}))},null,8,["value"])])]),(0,o._)("div",b,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients,(l=>((0,o.wg)(),(0,o.j4)(c,{key:l.id,config:l.config,connected:l.connected,server:s.server,host:l.host,groupId:s.id,id:l.id,lastSeen:l.lastSeen,snapclient:l.snapclient,onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onVolumeChange:t[3]||(t[3]=t=>e.$emit("client-volume-change",t)),onMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t))},null,8,["config","connected","server","host","groupId","id","lastSeen","snapclient"])))),128))])])}var x=s(6);const H=["textContent"],S={class:"col-s-12 col-m-9 controls"},D={class:"col-10 slider-container"},q={class:"col-2 switch pull-right"};function M(e,t,s,l,n,i){const a=(0,o.up)("Slider"),c=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["row client",{offline:!s.connected}])},[(0,o._)("div",{class:"col-s-12 col-m-3 name",textContent:(0,d.zw)(s.config.name?.length?s.config.name:s.host.name),onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"client",client:s.id,group:s.groupId,host:s.server.name}))},null,8,H),(0,o._)("div",S,[(0,o._)("div",D,[(0,o.Wm)(a,{range:[0,100],value:s.config.volume.percent,onMouseup:t[1]||(t[1]=t=>e.$emit("volume-change",{host:s.server.name,client:s.id,volume:t.target.value}))},null,8,["value"])]),(0,o._)("div",q,[(0,o.Wm)(c,{value:!s.config.volume.muted,onInput:t[2]||(t[2]=t=>e.$emit("mute-toggle",{host:s.server.name,client:s.id,muted:!s.config.volume.muted}))},null,8,["value"])])])],2)}var G=s(376),j={name:"Client",components:{Slider:G.Z,ToggleSwitch:x.Z},emits:["volume-change","mute-toggle","modal-show"],props:{config:{type:Object,required:!0},connected:{type:Boolean,default:!1},host:{type:Object,required:!0},id:{type:String,required:!0},groupId:{type:String,required:!0},lastSeen:{type:Object,default:()=>{}},snapclient:{type:Object,required:!0},server:{type:Object,required:!0}}},z=s(3744);const $=(0,z.Z)(j,[["render",M],["__scopeId","data-v-12b0e65b"]]);var O=$,U={name:"Group",components:{Client:O,ToggleSwitch:x.Z},emits:["group-mute-toggle","modal-show","client-volume-change","client-mute-toggle"],props:{id:{type:String},clients:{type:Object,default:()=>{}},muted:{type:Boolean},name:{type:String},stream:{type:Object},server:{type:Object}}};const I=(0,z.Z)(U,[["render",k],["__scopeId","data-v-748fccb4"]]);var Z=I,T={name:"Host",emits:["modal-show","group-mute-toggle","client-mute-toggle","client-volume-change"],components:{Group:Z},props:{groups:{type:Object,default:()=>{}},server:{type:Object,default:()=>{}},streams:{type:Object,default:()=>{}}},data(){return{collapsed:!1}}};const V=(0,z.Z)(T,[["render",f],["__scopeId","data-v-7bce419a"]]);var E=V;const A={class:"info"},B={key:0,class:"row"},R=(0,o._)("div",{class:"label col-3"},"IP Address",-1),P=["textContent"],N={key:1,class:"row"},K=(0,o._)("div",{class:"label col-3"},"MAC Address",-1),W=["textContent"],L={key:2,class:"row"},Y=(0,o._)("div",{class:"label col-3"},"Name",-1),F=["textContent"],J={key:3,class:"row"},Q=(0,o._)("div",{class:"label col-3"},"Port",-1),X=["textContent"],ee={key:4,class:"row"},te=(0,o._)("div",{class:"label col-3"},"OS",-1),se=["textContent"],oe={key:5,class:"row"},le=(0,o._)("div",{class:"label col-3"},"Architecture",-1),ne=["textContent"],ie={key:6,class:"row"},ae=(0,o._)("div",{class:"label col-3"},"Server name",-1),ce=["textContent"],re={key:7,class:"row"},ue=(0,o._)("div",{class:"label col-3"},"Server version",-1),de=["textContent"],he={key:8,class:"row"},pe=(0,o._)("div",{class:"label col-3"},"Protocol version",-1),me=["textContent"],ve={key:9,class:"row"},ge=(0,o._)("div",{class:"label col-3"},"Control protocol version",-1),we=["textContent"];function fe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",A,[s.info?.server?.host?.ip?.length?((0,o.wg)(),(0,o.iD)("div",B,[R,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.ip)},null,8,P)])):(0,o.kq)("",!0),s.info?.server?.host?.mac?.length?((0,o.wg)(),(0,o.iD)("div",N,[K,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.mac)},null,8,W)])):(0,o.kq)("",!0),s.info?.server?.host?.name?.length?((0,o.wg)(),(0,o.iD)("div",L,[Y,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.name)},null,8,F)])):(0,o.kq)("",!0),s.info?.server?.host?.port?((0,o.wg)(),(0,o.iD)("div",J,[Q,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.port)},null,8,X)])):(0,o.kq)("",!0),s.info?.server?.host?.os?.length?((0,o.wg)(),(0,o.iD)("div",ee,[te,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.os)},null,8,se)])):(0,o.kq)("",!0),s.info?.server?.host?.arch?.length?((0,o.wg)(),(0,o.iD)("div",oe,[le,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.arch)},null,8,ne)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.name?.length?((0,o.wg)(),(0,o.iD)("div",ie,[ae,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.name)},null,8,ce)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.version?.length?((0,o.wg)(),(0,o.iD)("div",re,[ue,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.version)},null,8,de)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.protocolVersion?((0,o.wg)(),(0,o.iD)("div",he,[pe,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.protocolVersion)},null,8,me)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.controlProtocolVersion?((0,o.wg)(),(0,o.iD)("div",ve,[ge,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.controlProtocolVersion)},null,8,we)])):(0,o.kq)("",!0)])}var _e={name:"HostModal",props:{info:{type:Object,default:()=>{}}}};const Ce=(0,z.Z)(_e,[["render",fe]]);var ye=Ce;const be=e=>((0,o.dD)("data-v-353ffa58"),e=e(),(0,o.Cn)(),e),ke={class:"info"},xe={class:"section name"},He=be((()=>(0,o._)("div",{class:"title"},"Name",-1))),Se={class:"row"},De={class:"name-value"},qe=["textContent"],Me=be((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),Ge=[Me],je={key:0,class:"section clients"},ze=be((()=>(0,o._)("div",{class:"title"},"Clients",-1))),$e=["for"],Oe=["id","value","checked","disabled","onInput"],Ue={key:1,class:"section streams"},Ie=be((()=>(0,o._)("div",{class:"title"},"Stream",-1))),Ze={class:"row"},Te=be((()=>(0,o._)("div",{class:"label col-3"},"ID",-1))),Ve={class:"value col-9"},Ee=["textContent","name","value","disabled","selected"],Ae={key:0,class:"row"},Be=be((()=>(0,o._)("div",{class:"label col-m-3"},"Status",-1))),Re=["textContent"],Pe={key:1,class:"row"},Ne=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Host",-1))),Ke=["textContent"],We={key:2,class:"row"},Le=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Path",-1))),Ye=["textContent"],Fe={key:3,class:"row"},Je=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"URI",-1))),Qe=["textContent"];function Xe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",ke,[(0,o._)("div",xe,[He,(0,o._)("div",Se,[(0,o._)("div",De,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.group.name?.length?s.group.name:"default")},null,8,qe),(0,o._)("button",{class:"pull-right",title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameGroup&&i.renameGroup(...e))},Ge)])])]),Object.keys(s.group?.clients||{}).length>0?((0,o.wg)(),(0,o.iD)("div",je,[ze,((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients||{},((t,l)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:l},[(0,o._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,o._)("input",{type:"checkbox",class:"client",id:`snapcast-client-${t.id}`,value:t.id,checked:t.id in s.group.clients,disabled:s.loading,onInput:s=>e.$emit(s.target.checked?"add-client":"remove-client",t.id)},null,40,Oe),(0,o.Uk)(" "+(0,d.zw)(t.host.name),1)],8,$e)])))),128))])):(0,o.kq)("",!0),s.group?.stream_id?((0,o.wg)(),(0,o.iD)("div",Ue,[Ie,(0,o._)("div",Ze,[Te,(0,o._)("div",Ve,[(0,o._)("label",null,[(0,o._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=t=>e.$emit("stream-change",t.target.value))},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.streams,((e,t)=>((0,o.wg)(),(0,o.iD)("option",{key:t,textContent:(0,d.zw)(s.streams[s.group.stream_id].id),name:e.id,value:e.id,disabled:s.loading,selected:e.id===s.group.stream_id},null,8,Ee)))),128))],544)])])]),s.streams?.[s.group.stream_id]?.status?((0,o.wg)(),(0,o.iD)("div",Ae,[Be,(0,o._)("div",{class:"value col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].status)},null,8,Re)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.host?((0,o.wg)(),(0,o.iD)("div",Pe,[Ne,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.host)},null,8,Ke)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.path?((0,o.wg)(),(0,o.iD)("div",We,[Le,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.path)},null,8,Ye)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.raw?((0,o.wg)(),(0,o.iD)("div",Fe,[Je,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.raw)},null,8,Qe)])):(0,o.kq)("",!0)])):(0,o.kq)("",!0)])}var et={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup(){const e=(prompt("New group name",this.group.name)||"").trim();e?.length&&this.$emit("rename-group",e)}}};const tt=(0,z.Z)(et,[["render",Xe],["__scopeId","data-v-353ffa58"]]);var st=tt;const ot=e=>((0,o.dD)("data-v-0e55ac54"),e=e(),(0,o.Cn)(),e),lt={class:"client-modal"},nt={key:0,class:"info"},it={class:"row"},at=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"ID",-1))),ct=["textContent"],rt={key:0,class:"row"},ut=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Name",-1))),dt={class:"value col-s-12 col-m-9"},ht=["textContent"],pt=ot((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),mt=[pt],vt={class:"row"},gt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1))),wt=["textContent"],ft={class:"row"},_t=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1))),Ct={class:"value col-s-12 col-m-9"},yt={class:"row"},bt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1))),kt=["textContent"],xt={class:"row"},Ht=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1))),St=["textContent"],Dt={key:1,class:"row"},qt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1))),Mt=["textContent"],Gt={key:2,class:"row"},jt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1))),zt=["textContent"],$t={key:3,class:"row"},Ot=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"OS",-1))),Ut=["textContent"],It={key:4,class:"row"},Zt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1))),Tt=["textContent"],Vt={class:"row"},Et=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1))),At=["textContent"],Bt={class:"row"},Rt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1))),Pt=["textContent"],Nt={class:"row"},Kt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1))),Wt=["textContent"],Lt={class:"buttons"},Yt={class:"row"},Ft=["disabled"],Jt=ot((()=>(0,o._)("i",{class:"fas fa-trash"},null,-1))),Qt=ot((()=>(0,o._)("span",{class:"name"},"Remove client",-1))),Xt=[Jt,Qt];function es(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",lt,[s.client?((0,o.wg)(),(0,o.iD)("div",nt,[(0,o._)("div",it,[at,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.id)},null,8,ct)]),s.client.config?.name?.length||s.client.host?.name?((0,o.wg)(),(0,o.iD)("div",rt,[ut,(0,o._)("div",dt,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.client.config?.name||s.client.host?.name)},null,8,ht),(0,o._)("button",{title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameClient&&i.renameClient(...e))},mt)])])):(0,o.kq)("",!0),(0,o._)("div",vt,[gt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.connected)},null,8,wt)]),(0,o._)("div",ft,[_t,(0,o._)("div",Ct,(0,d.zw)(s.client.config.volume.percent)+"%",1)]),(0,o._)("div",yt,[bt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.volume.muted)},null,8,kt)]),(0,o._)("div",xt,[Ht,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.latency)},null,8,St)]),s.client.host.ip&&s.client.host.ip.length?((0,o.wg)(),(0,o.iD)("div",Dt,[qt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.ip)},null,8,Mt)])):(0,o.kq)("",!0),s.client.host.mac&&s.client.host.mac.length?((0,o.wg)(),(0,o.iD)("div",Gt,[jt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.mac)},null,8,zt)])):(0,o.kq)("",!0),s.client.host.os&&s.client.host.os.length?((0,o.wg)(),(0,o.iD)("div",$t,[Ot,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.os)},null,8,Ut)])):(0,o.kq)("",!0),s.client.host.arch&&s.client.host.arch.length?((0,o.wg)(),(0,o.iD)("div",It,[Zt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.arch)},null,8,Tt)])):(0,o.kq)("",!0),(0,o._)("div",Vt,[Et,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.name)},null,8,At)]),(0,o._)("div",Bt,[Rt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.version)},null,8,Pt)]),(0,o._)("div",Nt,[Kt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.protocolVersion)},null,8,Wt)])])):(0,o.kq)("",!0),(0,o._)("div",Lt,[(0,o._)("div",Yt,[(0,o._)("button",{type:"button",disabled:s.loading,onClick:t[1]||(t[1]=(...e)=>i.removeClient&&i.removeClient(...e))},Xt,8,Ft)])])])}var ts={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient(){const e=(window.prompt("New client name",this.client.config.name?.length?this.client.config.name:this.client.host.name)||"").trim();e.length&&this.$emit("rename-client",e)}}};const ss=(0,z.Z)(ts,[["render",es],["__scopeId","data-v-0e55ac54"]]);var os=ss,ls=s(1232),ns={name:"MusicSnapcast",mixins:[u.Z],components:{Loading:ls.Z,Modal:r.Z,Host:E,ModalHost:ye,ModalGroup:st,ModalClient:os},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost(){return Object.entries(this.hosts).reduce(((e,[t,s])=>(e[t]={},Object.values(s.groups).forEach((s=>{Object.entries(s.clients).forEach((([s,o])=>{e[t][s]=o}))})),e)),{})}},methods:{parseServerStatus(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]={...e,groups:e.groups.map((e=>({...e,clients:e.clients.reduce(((e,t)=>(e[t.id]=t,e)),{})}))).reduce(((e,t)=>(e[t.id]=t,e)),{}),streams:e.streams.reduce(((e,t)=>(e[t.id]=t,e)),{})}},async refresh(){this.loading=!0;try{const e=await this.request("music.snapcast.get_backend_hosts"),t=await Promise.all(Object.keys(e).map((async t=>this.request("music.snapcast.status",{host:t,port:e[t]}))));this.hosts={},t.forEach((t=>{this.ports[t.server.host.name]=e[t.server.host.name],this.parseServerStatus(t)}))}finally{this.loading=!1}},async refreshHost(e){e in this.hosts&&this.parseServerStatus(await this.request("music.snapcast.status",{host:e,port:this.ports[e]}))},async addClientToGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=[...new Set([e,...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)])];await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:t}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClientFromGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=new Set([...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)]);if(!t.has(e))return;t.delete(e),await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:[...t]}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup)return;await this.request("music.snapcast.set_group_name",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameClient(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.set_client_name",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClient(){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.delete_client",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient}),this.$refs.modalClient.close(),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async streamChange(e){this.loading=!0;try{await this.request("music.snapcast.group_set_stream",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,stream_id:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},onClientUpdate(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client.id in this.hosts[e.host].groups[t].clients&&(this.hosts[e.host].groups[t].clients[e.client.id]=e.client)}))},onGroupStreamChange(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate(e){this.parseServerStatus(e.server)},onStreamUpdate(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client in this.hosts[e.host].groups[t].clients&&(null!=e.volume&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(const t of Object.values(this.hosts[e.host].groups))for(const s of Object.values(t.clients))this.modal[e.type].info.clients[s.id]=s;break;case"client":this.modal[e.type].info=this.hosts[e.host].groups[e.group].clients[e.client],this.modal[e.type].info.server=this.hosts[e.host].server;break}this.modal[e.type].visible=!0},async groupMute(e){await this.request("music.snapcast.mute",{group:e.group,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientMute(e){await this.request("music.snapcast.mute",{client:e.client,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientSetVolume(e){await this.request("music.snapcast.volume",{client:e.client,host:e.host,port:this.ports[e.host],volume:e.volume}),await this.refreshHost(e.host)},onModalShow(e){switch(e.type){case"host":this.selectedHost=e.host,this.$refs.modalHost.show();break;case"group":this.selectedHost=e.host,this.selectedGroup=e.group,this.$refs.modalGroup.show();break;case"client":this.selectedHost=e.host,this.selectedGroup=e.group,this.selectedClient=e.client,this.$refs.modalClient.show();break}}},mounted(){this.refresh(),this.subscribe(this.onClientUpdate,null,"platypush.message.event.music.snapcast.ClientConnectedEvent","platypush.message.event.music.snapcast.ClientDisconnectedEvent","platypush.message.event.music.snapcast.ClientNameChangeEvent"),this.subscribe(this.onGroupStreamChange,null,"platypush.message.event.music.snapcast.GroupStreamChangeEvent"),this.subscribe(this.onServerUpdate,null,"platypush.message.event.music.snapcast.ServerUpdateEvent"),this.subscribe(this.onStreamUpdate,null,"platypush.message.event.music.snapcast.StreamUpdateEvent"),this.subscribe(this.onClientVolumeChange,null,"platypush.message.event.music.snapcast.ClientVolumeChangeEvent"),this.subscribe(this.onGroupMuteChange,null,"platypush.message.event.music.snapcast.GroupMuteChangeEvent")}};const is=(0,z.Z)(ns,[["render",c],["__scopeId","data-v-40841f5a"]]);var as=is}}]); +//# sourceMappingURL=2790.73c2ca0a.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js.map b/platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js.map rename to platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js.map index ec79340bb..0a345cf8a 100644 --- a/platypush/backend/http/webapp/dist/static/js/2790.944f8aaf.js.map +++ b/platypush/backend/http/webapp/dist/static/js/2790.73c2ca0a.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/2790.944f8aaf.js","mappings":"4LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,KAAOC,SAAU,EAAAA,SAAWC,MAAO,EAAAA,MACzC,QAAK,8BAAO,EAAAC,UAAA,EAAAA,YAAA,IAAQ,WACpB,SAAM,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACrB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACtB,YAAS,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACxB,aAAU,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACzB,WAAQ,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACvB,QAAK,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACpB,UAAO,8BAAO,EAAAA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M4G,YAAYc,OACvB,MAEN,GAGFlH,UACEZ,KAAKgI,UAELhI,KAAKiI,UAAUjI,KAAKmH,eAAgB,KAChC,8DACA,iEACA,gEAEJnH,KAAKiI,UAAUjI,KAAKoH,oBAAqB,KAAM,iEAC/CpH,KAAKiI,UAAUjI,KAAKqH,eAAgB,KAAM,4DAC1CrH,KAAKiI,UAAUjI,KAAKsH,eAAgB,KAAM,4DAC1CtH,KAAKiI,UAAUjI,KAAKuH,qBAAsB,KAAM,kEAChDvH,KAAKiI,UAAUjI,KAAKwH,kBAAmB,KAAM,8DAC9C,GahYH,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS1G,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue?98bc","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue?12df","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue?8888","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue?b4e2","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue?b9ce","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue?144d","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue?a513"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","id","key","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","length","volume","components","Slider","ToggleSwitch","Object","required","String","Client","Group","data","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","trim","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","entries","reduce","values","forEach","clientId","parseServerStatus","map","async","request","statuses","Promise","all","Set","refreshHost","has","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","refresh","subscribe"],"sourceRoot":""} \ No newline at end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ue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue?98bc","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue?12df","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue?8888","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue?b4e2","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue?b9ce","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue?144d","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue?a513"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","id","key","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","length","volume","components","Slider","ToggleSwitch","Object","required","String","Client","Group","data","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","trim","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","entries","reduce","values","forEach","clientId","parseServerStatus","map","async","request","statuses","Promise","all","Set","refreshHost","has","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","refresh","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js b/platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js rename to platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js index 60a85964f..d025eb76e 100644 --- a/platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js +++ b/platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),s=n(3577),c=n(9963),l=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},a=["checked"],o=l((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function r(e,t,n,l,r,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,c.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[o,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const f=(0,v.Z)(d,[["render",r],["__scopeId","data-v-a6396ae8"]]);var w=f},2844:function(e,t,n){n.r(t),n.d(t,{default:function(){return ve}});n(7941),n(8309),n(9600);var i=n(6252),s=n(3577),c=function(e){return(0,i.dD)("data-v-5d844500"),e=e(),(0,i.Cn)(),e},l={class:"switches switchbot-switches"},a={key:1,class:"no-content"},o={key:0,class:"switch-info"},u={class:"row"},r=c((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=c((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],g={key:0,class:"row"},p=c((function(){return(0,i._)("div",{class:"name"},"Reachable",-1)})),h=["textContent"],m={key:1,class:"row"},D=c((function(){return(0,i._)("div",{class:"name"},"Brightness",-1)})),k=["textContent"],_={key:2,class:"row"},x=c((function(){return(0,i._)("div",{class:"name"},"Color Temperature",-1)})),C=["textContent"],y={key:3,class:"row"},q=c((function(){return(0,i._)("div",{class:"name"},"Hue",-1)})),b=["textContent"],I={key:4,class:"row"},z=c((function(){return(0,i._)("div",{class:"name"},"Saturation",-1)})),Z=["textContent"],S={key:5,class:"row"},T=c((function(){return(0,i._)("div",{class:"name"},"XY",-1)})),R=["textContent"],M={key:6,class:"row"},j=c((function(){return(0,i._)("div",{class:"name"},"Product",-1)})),B=["textContent"],N={key:7,class:"row"},L=c((function(){return(0,i._)("div",{class:"name"},"Manufacturer",-1)})),$=["textContent"],H={key:8,class:"row"},O=c((function(){return(0,i._)("div",{class:"name"},"Type",-1)})),E=["textContent"],P={key:9,class:"row"},W=c((function(){return(0,i._)("div",{class:"name"},"ID on network",-1)})),U=["textContent"],Y={key:10,class:"row"},K=c((function(){return(0,i._)("div",{class:"name"},"Unique ID",-1)})),X=["textContent"],A={key:11,class:"row"},F=c((function(){return(0,i._)("div",{class:"name"},"Software version",-1)})),G=["textContent"],J={key:12,class:"row"},Q=c((function(){return(0,i._)("div",{class:"name"},"Last software update",-1)})),V=["textContent"],ee={key:13,class:"row"},te=c((function(){return(0,i._)("div",{class:"name"},"Update state",-1)})),ne=["textContent"];function ie(e,t,n,c,ie,se){var ce=(0,i.up)("Loading"),le=(0,i.up)("Switch"),ae=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(ce,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Hue lights found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(t,n){return(0,i.wg)(),(0,i.j4)(le,{loading:e.loading,name:n,state:t.on,onToggle:function(e){return se.toggle(n)},key:n,"has-info":!0,onInfo:function(t){e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(ae,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var t,n;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",u,[r,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),null!=e.devices[e.selectedDevice].reachable?((0,i.wg)(),(0,i.iD)("div",g,[p,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].reachable)},null,8,h)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,i.wg)(),(0,i.iD)("div",m,[D,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].bri)},null,8,k)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,i.wg)(),(0,i.iD)("div",_,[x,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,i.wg)(),(0,i.iD)("div",y,[q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,i.wg)(),(0,i.iD)("div",I,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)("[".concat(e.devices[e.selectedDevice].xy.join(", "),"]"))},null,8,R)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,i.wg)(),(0,i.iD)("div",M,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,$)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,i.wg)(),(0,i.iD)("div",H,[O,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,i.wg)(),(0,i.iD)("div",P,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,i.wg)(),(0,i.iD)("div",Y,[K,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,i.wg)(),(0,i.iD)("div",A,[F,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].swupdate)&&void 0!==t&&t.lastinstall?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,i.kq)("",!0),null!==(n=e.devices[e.selectedDevice].swupdate)&&void 0!==n&&n.state?((0,i.wg)(),(0,i.iD)("div",ee,[te,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,ne)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var se=n(8534),ce=(n(5666),n(1232)),le=n(4004),ae=n(8671),oe=n(9642),ue={name:"LightHue",components:{Modal:oe.Z,Switch:ae.Z,Loading:ce.Z},mixins:[le.Z],methods:{toggle:function(e){var t=this;return(0,se.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".toggle"),{lights:[e]});case 2:i=n.sent,i.success&&(t.devices[e].on=!t.devices[e].on);case 4:case"end":return n.stop()}}),n)})))()}}},re=n(3744);const de=(0,re.Z)(ue,[["render",ie],["__scopeId","data-v-5d844500"]]);var ve=de},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(8534),s=(n(1539),n(8309),n(5666),n(6813)),c={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,t){var n=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==t&&(t=e),i.next=3,n.request("".concat(n.pluginName,".toggle"),{device:t});case 3:s=i.sent,n.devices[e].on=s.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=t.sent.reduce((function(e,t){var n,i=null!==(n=t.name)&&void 0!==n&&n.length?t.name:t.id;return e[i]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const l=c;var a=l},8671:function(e,t,n){n.d(t,{Z:function(){return m}});n(8309);var i=n(6252),s=n(9963),c=n(3577),l=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},a={class:"name col-l-10 col-m-9 col-s-8"},o=l((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[o],r=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,t,n,l,o,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,c.zw)(n.name)},null,8,r)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:n.loading,value:n.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=n(6),w=n(1232),g={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const h=(0,p.Z)(g,[["render",v],["__scopeId","data-v-38eb9831"]]);var m=h}}]); -//# sourceMappingURL=2844-legacy.1a9ed049.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),s=n(3577),c=n(9963),l=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},a=["checked"],o=l((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function r(e,t,n,l,r,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,c.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[o,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const f=(0,v.Z)(d,[["render",r],["__scopeId","data-v-a6396ae8"]]);var w=f},2844:function(e,t,n){n.r(t),n.d(t,{default:function(){return ve}});n(7941),n(8309),n(9600);var i=n(6252),s=n(3577),c=function(e){return(0,i.dD)("data-v-5d844500"),e=e(),(0,i.Cn)(),e},l={class:"switches switchbot-switches"},a={key:1,class:"no-content"},o={key:0,class:"switch-info"},u={class:"row"},r=c((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=c((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],g={key:0,class:"row"},p=c((function(){return(0,i._)("div",{class:"name"},"Reachable",-1)})),h=["textContent"],m={key:1,class:"row"},D=c((function(){return(0,i._)("div",{class:"name"},"Brightness",-1)})),k=["textContent"],_={key:2,class:"row"},x=c((function(){return(0,i._)("div",{class:"name"},"Color Temperature",-1)})),C=["textContent"],y={key:3,class:"row"},q=c((function(){return(0,i._)("div",{class:"name"},"Hue",-1)})),b=["textContent"],I={key:4,class:"row"},z=c((function(){return(0,i._)("div",{class:"name"},"Saturation",-1)})),Z=["textContent"],S={key:5,class:"row"},T=c((function(){return(0,i._)("div",{class:"name"},"XY",-1)})),R=["textContent"],M={key:6,class:"row"},j=c((function(){return(0,i._)("div",{class:"name"},"Product",-1)})),B=["textContent"],N={key:7,class:"row"},L=c((function(){return(0,i._)("div",{class:"name"},"Manufacturer",-1)})),$=["textContent"],H={key:8,class:"row"},O=c((function(){return(0,i._)("div",{class:"name"},"Type",-1)})),E=["textContent"],P={key:9,class:"row"},W=c((function(){return(0,i._)("div",{class:"name"},"ID on network",-1)})),U=["textContent"],Y={key:10,class:"row"},K=c((function(){return(0,i._)("div",{class:"name"},"Unique ID",-1)})),X=["textContent"],A={key:11,class:"row"},F=c((function(){return(0,i._)("div",{class:"name"},"Software version",-1)})),G=["textContent"],J={key:12,class:"row"},Q=c((function(){return(0,i._)("div",{class:"name"},"Last software update",-1)})),V=["textContent"],ee={key:13,class:"row"},te=c((function(){return(0,i._)("div",{class:"name"},"Update state",-1)})),ne=["textContent"];function ie(e,t,n,c,ie,se){var ce=(0,i.up)("Loading"),le=(0,i.up)("Switch"),ae=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(ce,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Hue lights found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(t,n){return(0,i.wg)(),(0,i.j4)(le,{loading:e.loading,name:n,state:t.on,onToggle:function(e){return se.toggle(n)},key:n,"has-info":!0,onInfo:function(t){e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(ae,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var t,n;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",u,[r,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),null!=e.devices[e.selectedDevice].reachable?((0,i.wg)(),(0,i.iD)("div",g,[p,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].reachable)},null,8,h)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,i.wg)(),(0,i.iD)("div",m,[D,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].bri)},null,8,k)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,i.wg)(),(0,i.iD)("div",_,[x,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,i.wg)(),(0,i.iD)("div",y,[q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,i.wg)(),(0,i.iD)("div",I,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)("[".concat(e.devices[e.selectedDevice].xy.join(", "),"]"))},null,8,R)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,i.wg)(),(0,i.iD)("div",M,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,$)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,i.wg)(),(0,i.iD)("div",H,[O,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,i.wg)(),(0,i.iD)("div",P,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,i.wg)(),(0,i.iD)("div",Y,[K,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,i.wg)(),(0,i.iD)("div",A,[F,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].swupdate)&&void 0!==t&&t.lastinstall?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,i.kq)("",!0),null!==(n=e.devices[e.selectedDevice].swupdate)&&void 0!==n&&n.state?((0,i.wg)(),(0,i.iD)("div",ee,[te,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,ne)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var se=n(8534),ce=(n(5666),n(1232)),le=n(4004),ae=n(8671),oe=n(8453),ue={name:"LightHue",components:{Modal:oe.Z,Switch:ae.Z,Loading:ce.Z},mixins:[le.Z],methods:{toggle:function(e){var t=this;return(0,se.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".toggle"),{lights:[e]});case 2:i=n.sent,i.success&&(t.devices[e].on=!t.devices[e].on);case 4:case"end":return n.stop()}}),n)})))()}}},re=n(3744);const de=(0,re.Z)(ue,[["render",ie],["__scopeId","data-v-5d844500"]]);var ve=de},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(8534),s=(n(1539),n(8309),n(5666),n(6813)),c={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,t){var n=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==t&&(t=e),i.next=3,n.request("".concat(n.pluginName,".toggle"),{device:t});case 3:s=i.sent,n.devices[e].on=s.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=t.sent.reduce((function(e,t){var n,i=null!==(n=t.name)&&void 0!==n&&n.length?t.name:t.id;return e[i]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const l=c;var a=l},8671:function(e,t,n){n.d(t,{Z:function(){return m}});n(8309);var i=n(6252),s=n(9963),c=n(3577),l=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},a={class:"name col-l-10 col-m-9 col-s-8"},o=l((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[o],r=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,t,n,l,o,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,c.zw)(n.name)},null,8,r)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:n.loading,value:n.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=n(6),w=n(1232),g={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const h=(0,p.Z)(g,[["render",v],["__scopeId","data-v-38eb9831"]]);var m=h}}]); +//# sourceMappingURL=2844-legacy.b3683bc2.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js.map b/platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js.map rename to platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js.map index aae1f42d7..5f3eb8fa8 100644 --- a/platypush/backend/http/webapp/dist/static/js/2844-legacy.1a9ed049.js.map +++ b/platypush/backend/http/webapp/dist/static/js/2844-legacy.b3683bc2.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/2844-legacy.1a9ed049.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO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A2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","request","pluginName","lights","response","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/2844-legacy.b3683bc2.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,K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AMlD,EAAc,EAEpB,O,wKCFSf,MAAM,iC,uBAEP,OAAwB,KAArBA,MAAM,cAAY,Q,OAArB,G,qBAICA,MAAM,mC,+FARb,QAWM,OAXDA,MAAM,SAAU,QAAK,wCAAO,EAAA0E,UAAA,EAAAA,SAAA,kBAAP,GAAe,YAAzC,CACiB,EAAAzD,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAKM,MALN,EAKM,CAJU,EAAA0D,UAAA,WAAd,QAES,U,MAFe,QAAK,wCAAU,EAAAC,QAAA,EAAAA,OAAA,kBAAV,GAAgB,eAA7C,qBAGA,OAA2C,QAArC5E,MAAM,e,aAAe,QAAa,EAAD,OAAvC,aAEF,OAEM,MAFN,EAEM,EADJ,QAAqE,GAAtDC,SAAU,EAAAgB,QAAUZ,MAAO,EAAAkB,MAAQ,QAAO,EAAAmD,UAAzD,0C,sBASN,GACEpE,KAAM,SACNyC,WAAY,CAACG,QAAAA,EAAA,EAAS2B,aAAAA,EAAA,GACtBtE,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMuD,OACNC,UAAU,GAGZpC,MAAO,CACLpB,KAAMM,QACNC,SAAS,GAGXO,QAAS,CACPd,KAAMM,QACNC,SAAS,GAGXiE,QAAS,CACPxE,KAAMM,QACNC,SAAS,GAGXgC,GAAI,CACFvC,KAAMuD,SAIV/C,QAAS,CACPiE,OADO,SACAhE,GAGL,OAFAA,EAAMkE,kBACNjE,KAAKC,MAAM,SACJ,CACR,EAED4D,SAPO,SAOE9D,GAGP,OAFAA,EAAMkE,kBACNjE,KAAKC,MAAM,WACJ,CACR,I,UCtDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","request","pluginName","lights","response","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js b/platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js rename to platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js index ac55755d0..3ccc30bbe 100644 --- a/platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js +++ b/platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6:function(e,t,s){s.d(t,{Z:function(){return g}});var n=s(6252),i=s(3577),l=s(9963);const a=e=>((0,n.dD)("data-v-a6396ae8"),e=e(),(0,n.Cn)(),e),c=["checked"],d=a((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),o={class:"label"};function v(e,t,s,a,v,u){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:s.value},null,8,c),(0,n._)("label",null,[d,(0,n._)("span",o,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=s(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-a6396ae8"]]);var g=w},2844:function(e,t,s){s.r(t),s.d(t,{default:function(){return ue}});var n=s(6252),i=s(3577);const l=e=>((0,n.dD)("data-v-5d844500"),e=e(),(0,n.Cn)(),e),a={class:"switches switchbot-switches"},c={key:1,class:"no-content"},d={key:0,class:"switch-info"},o={class:"row"},v=l((()=>(0,n._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=l((()=>(0,n._)("div",{class:"name"},"On",-1))),g=["textContent"],h={key:0,class:"row"},p=l((()=>(0,n._)("div",{class:"name"},"Reachable",-1))),f=["textContent"],m={key:1,class:"row"},D=l((()=>(0,n._)("div",{class:"name"},"Brightness",-1))),_=["textContent"],k={key:2,class:"row"},y=l((()=>(0,n._)("div",{class:"name"},"Color Temperature",-1))),C=["textContent"],x={key:3,class:"row"},q=l((()=>(0,n._)("div",{class:"name"},"Hue",-1))),b=["textContent"],I={key:4,class:"row"},z=l((()=>(0,n._)("div",{class:"name"},"Saturation",-1))),Z=["textContent"],S={key:5,class:"row"},T=l((()=>(0,n._)("div",{class:"name"},"XY",-1))),$=["textContent"],M={key:6,class:"row"},j=l((()=>(0,n._)("div",{class:"name"},"Product",-1))),B=["textContent"],N={key:7,class:"row"},L=l((()=>(0,n._)("div",{class:"name"},"Manufacturer",-1))),H=["textContent"],O={key:8,class:"row"},R=l((()=>(0,n._)("div",{class:"name"},"Type",-1))),E=["textContent"],P={key:9,class:"row"},W=l((()=>(0,n._)("div",{class:"name"},"ID on network",-1))),U=["textContent"],Y={key:10,class:"row"},K=l((()=>(0,n._)("div",{class:"name"},"Unique ID",-1))),X=["textContent"],A={key:11,class:"row"},F=l((()=>(0,n._)("div",{class:"name"},"Software version",-1))),G=["textContent"],J={key:12,class:"row"},Q=l((()=>(0,n._)("div",{class:"name"},"Last software update",-1))),V=["textContent"],ee={key:13,class:"row"},te=l((()=>(0,n._)("div",{class:"name"},"Update state",-1))),se=["textContent"];function ne(e,t,s,l,ne,ie){const le=(0,n.up)("Loading"),ae=(0,n.up)("Switch"),ce=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",a,[e.loading?((0,n.wg)(),(0,n.j4)(le,{key:0})):Object.keys(e.devices).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",c,"No Hue lights found.")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.devices,((t,s)=>((0,n.wg)(),(0,n.j4)(ae,{loading:e.loading,name:s,state:t.on,onToggle:e=>ie.toggle(s),key:s,"has-info":!0,onInfo:t=>{e.selectedDevice=s,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,n.Wm)(ce,{title:"Device Info",ref:"switchInfoModal"},{default:(0,n.w5)((()=>[e.selectedDevice?((0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",o,[v,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,n._)("div",r,[w,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,g)]),null!=e.devices[e.selectedDevice].reachable?((0,n.wg)(),(0,n.iD)("div",h,[p,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].reachable)},null,8,f)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,n.wg)(),(0,n.iD)("div",m,[D,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].bri)},null,8,_)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,n.wg)(),(0,n.iD)("div",k,[y,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,n.wg)(),(0,n.iD)("div",x,[q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,n.wg)(),(0,n.iD)("div",I,[z,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,n.wg)(),(0,n.iD)("div",S,[T,(0,n._)("div",{class:"value",textContent:(0,i.zw)(`[${e.devices[e.selectedDevice].xy.join(", ")}]`)},null,8,$)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,n.wg)(),(0,n.iD)("div",M,[j,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,n.wg)(),(0,n.iD)("div",N,[L,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,H)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,n.wg)(),(0,n.iD)("div",O,[R,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,n.wg)(),(0,n.iD)("div",P,[W,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,n.wg)(),(0,n.iD)("div",Y,[K,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,n.wg)(),(0,n.iD)("div",A,[F,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.lastinstall?((0,n.wg)(),(0,n.iD)("div",J,[Q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.state?((0,n.wg)(),(0,n.iD)("div",ee,[te,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,se)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512)])}var ie=s(1232),le=s(4004),ae=s(8671),ce=s(9642),de={name:"LightHue",components:{Modal:ce.Z,Switch:ae.Z,Loading:ie.Z},mixins:[le.Z],methods:{async toggle(e){const t=await this.request(`${this.pluginName}.toggle`,{lights:[e]});t.success&&(this.devices[e].on=!this.devices[e].on)}}},oe=s(3744);const ve=(0,oe.Z)(de,[["render",ne],["__scopeId","data-v-5d844500"]]);var ue=ve},4004:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(6813),i={name:"SwitchesMixin",mixins:[n.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const s=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=s.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const s=t.name?.length?t.name:t.id;return e[s]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const l=i;var a=l},8671:function(e,t,s){s.d(t,{Z:function(){return m}});var n=s(6252),i=s(9963),l=s(3577);const a=e=>((0,n.dD)("data-v-38eb9831"),e=e(),(0,n.Cn)(),e),c={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,n._)("i",{class:"fa fa-info"},null,-1))),o=[d],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,s,a,d,r){const w=(0,n.up)("Loading"),g=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[s.loading?((0,n.wg)(),(0,n.j4)(w,{key:0})):(0,n.kq)("",!0),(0,n._)("div",c,[s.hasInfo?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},o)):(0,n.kq)("",!0),(0,n._)("span",{class:"name-content",textContent:(0,l.zw)(s.name)},null,8,v)]),(0,n._)("div",u,[(0,n.Wm)(g,{disabled:s.loading,value:s.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=s(6),g=s(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=s(3744);const f=(0,p.Z)(h,[["render",r],["__scopeId","data-v-38eb9831"]]);var m=f}}]); -//# sourceMappingURL=2844.b36c51a9.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6:function(e,t,s){s.d(t,{Z:function(){return g}});var n=s(6252),i=s(3577),l=s(9963);const a=e=>((0,n.dD)("data-v-a6396ae8"),e=e(),(0,n.Cn)(),e),c=["checked"],d=a((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),o={class:"label"};function v(e,t,s,a,v,u){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:s.value},null,8,c),(0,n._)("label",null,[d,(0,n._)("span",o,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=s(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-a6396ae8"]]);var g=w},2844:function(e,t,s){s.r(t),s.d(t,{default:function(){return ue}});var n=s(6252),i=s(3577);const l=e=>((0,n.dD)("data-v-5d844500"),e=e(),(0,n.Cn)(),e),a={class:"switches switchbot-switches"},c={key:1,class:"no-content"},d={key:0,class:"switch-info"},o={class:"row"},v=l((()=>(0,n._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=l((()=>(0,n._)("div",{class:"name"},"On",-1))),g=["textContent"],h={key:0,class:"row"},p=l((()=>(0,n._)("div",{class:"name"},"Reachable",-1))),f=["textContent"],m={key:1,class:"row"},D=l((()=>(0,n._)("div",{class:"name"},"Brightness",-1))),_=["textContent"],k={key:2,class:"row"},y=l((()=>(0,n._)("div",{class:"name"},"Color Temperature",-1))),C=["textContent"],x={key:3,class:"row"},q=l((()=>(0,n._)("div",{class:"name"},"Hue",-1))),b=["textContent"],I={key:4,class:"row"},z=l((()=>(0,n._)("div",{class:"name"},"Saturation",-1))),Z=["textContent"],S={key:5,class:"row"},T=l((()=>(0,n._)("div",{class:"name"},"XY",-1))),$=["textContent"],M={key:6,class:"row"},j=l((()=>(0,n._)("div",{class:"name"},"Product",-1))),B=["textContent"],N={key:7,class:"row"},L=l((()=>(0,n._)("div",{class:"name"},"Manufacturer",-1))),H=["textContent"],O={key:8,class:"row"},R=l((()=>(0,n._)("div",{class:"name"},"Type",-1))),E=["textContent"],P={key:9,class:"row"},W=l((()=>(0,n._)("div",{class:"name"},"ID on network",-1))),U=["textContent"],Y={key:10,class:"row"},K=l((()=>(0,n._)("div",{class:"name"},"Unique ID",-1))),X=["textContent"],A={key:11,class:"row"},F=l((()=>(0,n._)("div",{class:"name"},"Software version",-1))),G=["textContent"],J={key:12,class:"row"},Q=l((()=>(0,n._)("div",{class:"name"},"Last software update",-1))),V=["textContent"],ee={key:13,class:"row"},te=l((()=>(0,n._)("div",{class:"name"},"Update state",-1))),se=["textContent"];function ne(e,t,s,l,ne,ie){const le=(0,n.up)("Loading"),ae=(0,n.up)("Switch"),ce=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",a,[e.loading?((0,n.wg)(),(0,n.j4)(le,{key:0})):Object.keys(e.devices).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",c,"No Hue lights found.")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.devices,((t,s)=>((0,n.wg)(),(0,n.j4)(ae,{loading:e.loading,name:s,state:t.on,onToggle:e=>ie.toggle(s),key:s,"has-info":!0,onInfo:t=>{e.selectedDevice=s,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,n.Wm)(ce,{title:"Device Info",ref:"switchInfoModal"},{default:(0,n.w5)((()=>[e.selectedDevice?((0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",o,[v,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,n._)("div",r,[w,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,g)]),null!=e.devices[e.selectedDevice].reachable?((0,n.wg)(),(0,n.iD)("div",h,[p,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].reachable)},null,8,f)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,n.wg)(),(0,n.iD)("div",m,[D,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].bri)},null,8,_)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,n.wg)(),(0,n.iD)("div",k,[y,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,n.wg)(),(0,n.iD)("div",x,[q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,n.wg)(),(0,n.iD)("div",I,[z,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,n.wg)(),(0,n.iD)("div",S,[T,(0,n._)("div",{class:"value",textContent:(0,i.zw)(`[${e.devices[e.selectedDevice].xy.join(", ")}]`)},null,8,$)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,n.wg)(),(0,n.iD)("div",M,[j,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,n.wg)(),(0,n.iD)("div",N,[L,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,H)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,n.wg)(),(0,n.iD)("div",O,[R,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,n.wg)(),(0,n.iD)("div",P,[W,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,n.wg)(),(0,n.iD)("div",Y,[K,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,n.wg)(),(0,n.iD)("div",A,[F,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.lastinstall?((0,n.wg)(),(0,n.iD)("div",J,[Q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.state?((0,n.wg)(),(0,n.iD)("div",ee,[te,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,se)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512)])}var ie=s(1232),le=s(4004),ae=s(8671),ce=s(8453),de={name:"LightHue",components:{Modal:ce.Z,Switch:ae.Z,Loading:ie.Z},mixins:[le.Z],methods:{async toggle(e){const t=await this.request(`${this.pluginName}.toggle`,{lights:[e]});t.success&&(this.devices[e].on=!this.devices[e].on)}}},oe=s(3744);const ve=(0,oe.Z)(de,[["render",ne],["__scopeId","data-v-5d844500"]]);var ue=ve},4004:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(6813),i={name:"SwitchesMixin",mixins:[n.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const s=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=s.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const s=t.name?.length?t.name:t.id;return e[s]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const l=i;var a=l},8671:function(e,t,s){s.d(t,{Z:function(){return m}});var n=s(6252),i=s(9963),l=s(3577);const a=e=>((0,n.dD)("data-v-38eb9831"),e=e(),(0,n.Cn)(),e),c={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,n._)("i",{class:"fa fa-info"},null,-1))),o=[d],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,s,a,d,r){const w=(0,n.up)("Loading"),g=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[s.loading?((0,n.wg)(),(0,n.j4)(w,{key:0})):(0,n.kq)("",!0),(0,n._)("div",c,[s.hasInfo?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},o)):(0,n.kq)("",!0),(0,n._)("span",{class:"name-content",textContent:(0,l.zw)(s.name)},null,8,v)]),(0,n._)("div",u,[(0,n.Wm)(g,{disabled:s.loading,value:s.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=s(6),g=s(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=s(3744);const f=(0,p.Z)(h,[["render",r],["__scopeId","data-v-38eb9831"]]);var m=f}}]); +//# sourceMappingURL=2844.e8c1790f.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js.map b/platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js.map rename to platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js.map index 8da5f7cc8..eefa5629e 100644 --- a/platypush/backend/http/webapp/dist/static/js/2844.b36c51a9.js.map +++ b/platypush/backend/http/webapp/dist/static/js/2844.e8c1790f.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/2844.b36c51a9.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,4JCROhB,MAAM,+B,SAEJA,MAAM,c,SAOJA,MAAM,e,GACJA,MAAM,O,UACT,OAA4B,OAAvBA,MAAM,QAAO,QAAI,K,qBAInBA,MAAM,O,UACT,OAA0B,OAArBA,MAAM,QAAO,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AM,SACNyC,WAAY,CAACG,QAAD,IAAU4B,aAAY,KAClCvE,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMwD,OACNC,UAAU,GAGZrC,MAAO,CACLpB,KAAMM,QACNC,SAAS,GAGXO,QAAS,CACPd,KAAMM,QACNC,SAAS,GAGXkE,QAAS,CACPzE,KAAMM,QACNC,SAAS,GAGXgC,GAAI,CACFvC,KAAMwD,SAIVhD,QAAS,CACPkE,OAAOjE,GAGL,OAFAA,EAAMmE,kBACNlE,KAAKC,MAAM,SACJ,CACR,EAED6D,SAAS/D,GAGP,OAFAA,EAAMmE,kBACNlE,KAAKC,MAAM,WACJ,CACR,I,UCtDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","async","response","request","pluginName","lights","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/2844.e8c1790f.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GA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ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","async","response","request","pluginName","lights","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js b/platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js rename to platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js index 2ac0a47fd..da674b198 100644 --- a/platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js +++ b/platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6:function(e,n,t){t.d(n,{Z:function(){return w}});var i=t(6252),o=t(3577),s=t(9963),c=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},l=["checked"],a=c((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),r={class:"label"};function u(e,n,t,c,u,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,l),(0,i._)("label",null,[a,(0,i._)("span",r,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const f=(0,v.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var w=f},4004:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),s={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const c=s;var l=c},8671:function(e,n,t){t.d(n,{Z:function(){return _}});t(8309);var i=t(6252),o=t(9963),s=t(3577),c=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},l={class:"name col-l-10 col-m-9 col-s-8"},a=c((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),r=[a],u=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,n,t,c,a,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},r)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(t.name)},null,8,u)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:t.loading,value:t.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=t(6),w=t(1232),h={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=t(3744);const g=(0,p.Z)(h,[["render",v],["__scopeId","data-v-38eb9831"]]);var _=g},3785:function(e,n,t){t.r(n),t.d(n,{default:function(){return K}});t(7941),t(8309);var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e},c={class:"switches tplink-switches"},l={key:1,class:"no-content"},a={key:0,class:"switch-info"},r={class:"row"},u=s((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=s((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],h={class:"row"},p=s((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),g=["textContent"],_={key:0,class:"row"},m=s((function(){return(0,i._)("div",{class:"name"},"MAC",-1)})),D=["textContent"],k={key:1,class:"row"},C=s((function(){return(0,i._)("div",{class:"name"},"Current Consumption",-1)})),y=["textContent"],x={key:2,class:"row"},I=s((function(){return(0,i._)("div",{class:"name"},"Device Type",-1)})),b=["textContent"],q={key:3,class:"row"},Z=s((function(){return(0,i._)("div",{class:"name"},"Firmware ID",-1)})),z=["textContent"],S={key:4,class:"row"},T=s((function(){return(0,i._)("div",{class:"name"},"Hardware ID",-1)})),M=["textContent"],R={key:5,class:"row"},j=s((function(){return(0,i._)("div",{class:"name"},"Hardware Version",-1)})),B=["textContent"],N={key:6,class:"row"},$=s((function(){return(0,i._)("div",{class:"name"},"Software Version",-1)})),L=["textContent"];function O(e,n,t,s,O,P){var E=(0,i.up)("Loading"),H=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",c,[e.loading?((0,i.wg)(),(0,i.j4)(E,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(H,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var n,t,s,c,l,O;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",r,[u,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),(0,i._)("div",h,[p,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,g)]),null!==(n=e.devices[e.selectedDevice].hw_info)&&void 0!==n&&n.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].hw_info)&&void 0!==t&&t.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),null!==(s=e.devices[e.selectedDevice].hw_info)&&void 0!==s&&s.fwId?((0,i.wg)(),(0,i.iD)("div",q,[Z,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,z)])):(0,i.kq)("",!0),null!==(c=e.devices[e.selectedDevice].hw_info)&&void 0!==c&&c.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),null!==(l=e.devices[e.selectedDevice].hw_info)&&void 0!==l&&l.hw_ver?((0,i.wg)(),(0,i.iD)("div",R,[j,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),null!==(O=e.devices[e.selectedDevice].hw_info)&&void 0!==O&&O.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[$,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,L)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var P=t(1232),E=t(4004),H=t(8671),W=t(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:H.Z,Loading:P.Z},mixins:[E.Z]},A=t(3744);const F=(0,A.Z)(V,[["render",O],["__scopeId","data-v-e259fb36"]]);var K=F}}]); -//# sourceMappingURL=3785-legacy.c8c1c706.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6:function(e,n,t){t.d(n,{Z:function(){return w}});var i=t(6252),o=t(3577),s=t(9963),c=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},l=["checked"],a=c((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),r={class:"label"};function u(e,n,t,c,u,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,l),(0,i._)("label",null,[a,(0,i._)("span",r,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const f=(0,v.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var w=f},4004:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),s={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const c=s;var l=c},8671:function(e,n,t){t.d(n,{Z:function(){return _}});t(8309);var i=t(6252),o=t(9963),s=t(3577),c=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},l={class:"name col-l-10 col-m-9 col-s-8"},a=c((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),r=[a],u=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,n,t,c,a,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},r)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(t.name)},null,8,u)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:t.loading,value:t.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=t(6),w=t(1232),h={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=t(3744);const g=(0,p.Z)(h,[["render",v],["__scopeId","data-v-38eb9831"]]);var _=g},3785:function(e,n,t){t.r(n),t.d(n,{default:function(){return K}});t(7941),t(8309);var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e},c={class:"switches tplink-switches"},l={key:1,class:"no-content"},a={key:0,class:"switch-info"},r={class:"row"},u=s((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=s((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],h={class:"row"},p=s((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),g=["textContent"],_={key:0,class:"row"},m=s((function(){return(0,i._)("div",{class:"name"},"MAC",-1)})),D=["textContent"],k={key:1,class:"row"},C=s((function(){return(0,i._)("div",{class:"name"},"Current Consumption",-1)})),y=["textContent"],x={key:2,class:"row"},I=s((function(){return(0,i._)("div",{class:"name"},"Device Type",-1)})),b=["textContent"],q={key:3,class:"row"},Z=s((function(){return(0,i._)("div",{class:"name"},"Firmware ID",-1)})),z=["textContent"],S={key:4,class:"row"},T=s((function(){return(0,i._)("div",{class:"name"},"Hardware ID",-1)})),M=["textContent"],R={key:5,class:"row"},j=s((function(){return(0,i._)("div",{class:"name"},"Hardware Version",-1)})),B=["textContent"],N={key:6,class:"row"},$=s((function(){return(0,i._)("div",{class:"name"},"Software Version",-1)})),L=["textContent"];function O(e,n,t,s,O,P){var E=(0,i.up)("Loading"),H=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",c,[e.loading?((0,i.wg)(),(0,i.j4)(E,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(H,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var n,t,s,c,l,O;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",r,[u,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),(0,i._)("div",h,[p,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,g)]),null!==(n=e.devices[e.selectedDevice].hw_info)&&void 0!==n&&n.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].hw_info)&&void 0!==t&&t.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),null!==(s=e.devices[e.selectedDevice].hw_info)&&void 0!==s&&s.fwId?((0,i.wg)(),(0,i.iD)("div",q,[Z,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,z)])):(0,i.kq)("",!0),null!==(c=e.devices[e.selectedDevice].hw_info)&&void 0!==c&&c.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),null!==(l=e.devices[e.selectedDevice].hw_info)&&void 0!==l&&l.hw_ver?((0,i.wg)(),(0,i.iD)("div",R,[j,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),null!==(O=e.devices[e.selectedDevice].hw_info)&&void 0!==O&&O.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[$,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,L)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var P=t(1232),E=t(4004),H=t(8671),W=t(8453),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:H.Z,Loading:P.Z},mixins:[E.Z]},A=t(3744);const F=(0,A.Z)(V,[["render",O],["__scopeId","data-v-e259fb36"]]);var K=F}}]); +//# sourceMappingURL=3785-legacy.5ec00494.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js.map b/platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js.map rename to platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js.map index 535e120aa..3e459a83a 100644 --- a/platypush/backend/http/webapp/dist/static/js/3785-legacy.c8c1c706.js.map +++ b/platypush/backend/http/webapp/dist/static/js/3785-legacy.5ec00494.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/3785-legacy.c8c1c706.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,yGCNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,UAAU,GAGZG,OAAQ,CACNrB,KAAMoB,OACNb,QAAS,WAAQ,MA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,QAI3C,EAJmB,EAAAvC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCO,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEtE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBkC,QAAQO,SAA3D,cAFF,mBA9CF,mB,KADF,M,6CA8DJ,GACEhE,KAAM,eACN6C,WAAY,CAACoB,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQpB,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/3785-legacy.5ec00494.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCA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G,WAA3D,cAFF,eAK+C,QAmB3C,EAnBmB,EAAApC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCI,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DnE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA6B,gBAAgBkC,QAAQI,OAA3D,cAFF,eAK+C,QAc3C,EAdmB,EAAArC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCK,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DpE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA6B,gBAAgBkC,QAAQK,OAA3D,cAFF,eAK+C,QAS3C,EATmB,EAAAtC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCM,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhErE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBkC,QAAQM,SAA3D,cAFF,eAK+C,QAI3C,EAJmB,EAAAvC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCO,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEtE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBkC,QAAQO,SAA3D,cAFF,mBA9CF,mB,KADF,M,6CA8DJ,GACEhE,KAAM,eACN6C,WAAY,CAACoB,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQpB,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js b/platypush/backend/http/webapp/dist/static/js/3785.940990df.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js rename to platypush/backend/http/webapp/dist/static/js/3785.940990df.js index 2d904f6e5..2b33f9aab 100644 --- a/platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js +++ b/platypush/backend/http/webapp/dist/static/js/3785.940990df.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),s=n(3577),o=n(9963);const l=e=>((0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e),a=["checked"],c=l((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function v(e,t,n,l,v,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-a6396ae8"]]);var h=w},4004:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(6813),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var l=o},8671:function(e,t,n){n.d(t,{Z:function(){return _}});var i=n(6252),s=n(9963),o=n(3577);const l=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),a={class:"name col-l-10 col-m-9 col-s-8"},c=l((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,n,l,c,r){const w=(0,i.up)("Loading"),h=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(w,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,v)]),(0,i._)("div",u,[(0,i.Wm)(h,{disabled:n.loading,value:n.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=n(6),h=n(1232),f={name:"Switch",components:{Loading:h.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},g=n(3744);const p=(0,g.Z)(f,[["render",r],["__scopeId","data-v-38eb9831"]]);var _=p},3785:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e),l={class:"switches tplink-switches"},a={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},v=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=o((()=>(0,i._)("div",{class:"name"},"On",-1))),h=["textContent"],f={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),p=["textContent"],_={key:0,class:"row"},m=o((()=>(0,i._)("div",{class:"name"},"MAC",-1))),D=["textContent"],k={key:1,class:"row"},C=o((()=>(0,i._)("div",{class:"name"},"Current Consumption",-1))),y=["textContent"],x={key:2,class:"row"},I=o((()=>(0,i._)("div",{class:"name"},"Device Type",-1))),b=["textContent"],q={key:3,class:"row"},z=o((()=>(0,i._)("div",{class:"name"},"Firmware ID",-1))),Z=["textContent"],S={key:4,class:"row"},T=o((()=>(0,i._)("div",{class:"name"},"Hardware ID",-1))),M=["textContent"],$={key:5,class:"row"},j=o((()=>(0,i._)("div",{class:"name"},"Hardware Version",-1))),B=["textContent"],N={key:6,class:"row"},L=o((()=>(0,i._)("div",{class:"name"},"Software Version",-1))),O=["textContent"];function P(e,t,n,o,P,E){const H=(0,i.up)("Loading"),R=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(H,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(R,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[v,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,i._)("div",r,[w,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,h)]),(0,i._)("div",f,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,p)]),e.devices[e.selectedDevice].hw_info?.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.fwId?((0,i.wg)(),(0,i.iD)("div",q,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,Z)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hw_ver?((0,i.wg)(),(0,i.iD)("div",$,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,O)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512)])}var E=n(1232),H=n(4004),R=n(8671),W=n(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:R.Z,Loading:E.Z},mixins:[H.Z]},A=n(3744);const F=(0,A.Z)(V,[["render",P],["__scopeId","data-v-e259fb36"]]);var K=F}}]); -//# sourceMappingURL=3785.3e98b38f.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),s=n(3577),o=n(9963);const l=e=>((0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e),a=["checked"],c=l((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function v(e,t,n,l,v,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-a6396ae8"]]);var h=w},4004:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(6813),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var l=o},8671:function(e,t,n){n.d(t,{Z:function(){return _}});var i=n(6252),s=n(9963),o=n(3577);const l=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),a={class:"name col-l-10 col-m-9 col-s-8"},c=l((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,n,l,c,r){const w=(0,i.up)("Loading"),h=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(w,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,v)]),(0,i._)("div",u,[(0,i.Wm)(h,{disabled:n.loading,value:n.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=n(6),h=n(1232),f={name:"Switch",components:{Loading:h.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},g=n(3744);const p=(0,g.Z)(f,[["render",r],["__scopeId","data-v-38eb9831"]]);var _=p},3785:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e),l={class:"switches tplink-switches"},a={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},v=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=o((()=>(0,i._)("div",{class:"name"},"On",-1))),h=["textContent"],f={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),p=["textContent"],_={key:0,class:"row"},m=o((()=>(0,i._)("div",{class:"name"},"MAC",-1))),D=["textContent"],k={key:1,class:"row"},C=o((()=>(0,i._)("div",{class:"name"},"Current Consumption",-1))),y=["textContent"],x={key:2,class:"row"},I=o((()=>(0,i._)("div",{class:"name"},"Device Type",-1))),b=["textContent"],q={key:3,class:"row"},z=o((()=>(0,i._)("div",{class:"name"},"Firmware ID",-1))),Z=["textContent"],S={key:4,class:"row"},T=o((()=>(0,i._)("div",{class:"name"},"Hardware ID",-1))),M=["textContent"],$={key:5,class:"row"},j=o((()=>(0,i._)("div",{class:"name"},"Hardware Version",-1))),B=["textContent"],N={key:6,class:"row"},L=o((()=>(0,i._)("div",{class:"name"},"Software Version",-1))),O=["textContent"];function P(e,t,n,o,P,E){const H=(0,i.up)("Loading"),R=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(H,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(R,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[v,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,i._)("div",r,[w,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,h)]),(0,i._)("div",f,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,p)]),e.devices[e.selectedDevice].hw_info?.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.fwId?((0,i.wg)(),(0,i.iD)("div",q,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,Z)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hw_ver?((0,i.wg)(),(0,i.iD)("div",$,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,O)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512)])}var E=n(1232),H=n(4004),R=n(8671),W=n(8453),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:R.Z,Loading:E.Z},mixins:[H.Z]},A=n(3744);const F=(0,A.Z)(V,[["render",P],["__scopeId","data-v-e259fb36"]]);var K=F}}]); +//# sourceMappingURL=3785.940990df.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js.map b/platypush/backend/http/webapp/dist/static/js/3785.940990df.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js.map rename to platypush/backend/http/webapp/dist/static/js/3785.940990df.js.map index 3898a079f..a078ed0ec 100644 --- a/platypush/backend/http/webapp/dist/static/js/3785.3e98b38f.js.map +++ b/platypush/backend/http/webapp/dist/static/js/3785.940990df.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/3785.3e98b38f.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,qECNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,UAAU,GAGZG,OAAQ,CACNrB,KAAMoB,OACNb,QAAS,KAAe,CAAC,IAG3Be,SAAU,CACRtB,KAAMM,QACNC,SAAS,IAIbgB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,CAAC,EAEb,EAEDnB,QAAS,CACPoB,eAAeZ,GACTA,IAAeN,KAAKM,YAGx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G,WAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAuE,OAAlEnE,MAAM,Q,aAAQ,QAAiD,EAAlC,QAAC,EAAA6B,gBAAgBmC,QAAQG,WAA3D,cAFF,eAKuB,EAAArC,QAAQ,EAAAD,gBAAgBmC,SAASI,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DpE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA6B,gBAAgBmC,QAAQI,OAA3D,cAFF,eAKuB,EAAAtC,QAAQ,EAAAD,gBAAgBmC,SAASK,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DrE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA6B,gBAAgBmC,QAAQK,OAA3D,cAFF,eAKuB,EAAAvC,QAAQ,EAAAD,gBAAgBmC,SAASM,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEtE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBmC,QAAQM,SAA3D,cAFF,eAKuB,EAAAxC,QAAQ,EAAAD,gBAAgBmC,SAASO,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEvE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBmC,QAAQO,SAA3D,cAFF,mBA9CF,kB,KADF,M,6CA8DJ,GACEjE,KAAM,eACN6C,WAAY,CAACqB,MAAD,IAAQC,OAAR,IAAgBrB,QAAO,KACnCnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/3785.940990df.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,qECNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,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M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js b/platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js rename to platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js index 8c9608551..e2c90c55a 100644 --- a/platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js +++ b/platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4196],{4964:function(e,t,n){var r=n(5112),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},3929:function(e,t,n){var r=n(7850),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},7852:function(e,t,n){"use strict";var r=n(2109),i=n(1702),s=n(1236).f,a=n(7466),l=n(1340),u=n(3929),o=n(4488),c=n(4964),d=n(1913),p=i("".endsWith),f=i("".slice),m=Math.min,v=c("endsWith"),h=!d&&!v&&!!function(){var e=s(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!v},{endsWith:function(e){var t=l(o(this));u(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:m(a(n),r),s=l(e);return p?p(t,s,i):f(t,i-s.length,i)===s}})},6755:function(e,t,n){"use strict";var r=n(2109),i=n(1702),s=n(1236).f,a=n(7466),l=n(1340),u=n(3929),o=n(4488),c=n(4964),d=n(1913),p=i("".startsWith),f=i("".slice),m=Math.min,v=c("startsWith"),h=!d&&!v&&!!function(){var e=s(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!v},{startsWith:function(e){var t=l(o(this));u(e);var n=a(m(arguments.length>1?arguments[1]:void 0,t.length)),r=l(e);return p?p(t,r,n):f(t,n,n+r.length)===r}})},4196:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return cr}});n(4916),n(4765);var r=n(6252),i=n(3577),s=n(9963),a={class:"media-plugin fade-in"},l={class:"nav-container"},u={class:"view-container"},o={class:"media-info-container"},c={class:"subtitles-container"},d={key:0,class:"subtitles-content"},p={class:"play-url-container"},f={class:"row"},m=(0,r.Uk)(" Play URL (use "),v=(0,r.Uk)("file://"),h=(0,r.Uk)(" prefix for local files) "),g={class:"row footer"},w=["disabled"];function y(e,t,n,y,k,b){var x,_,C=(0,r.up)("Loading"),P=(0,r.up)("Nav"),R=(0,r.up)("Header"),S=(0,r.up)("Results"),D=(0,r.up)("TorrentView"),q=(0,r.up)("Browser"),N=(0,r.up)("MediaView"),Z=(0,r.up)("Info"),M=(0,r.up)("Modal"),$=(0,r.up)("Subtitles"),V=(0,r.up)("tt");return(0,r.wg)(),(0,r.j4)(r.Ob,null,[(0,r._)("div",a,[k.loading?((0,r.wg)(),(0,r.j4)(C,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(N,{"plugin-name":n.pluginName,status:(null===(x=k.selectedPlayer)||void 0===x?void 0:x.status)||{},track:(null===(_=k.selectedPlayer)||void 0===_?void 0:_.status)||{},buttons:n.mediaButtons,onPlay:b.pause,onPause:b.pause,onStop:b.stop,onSetVolume:b.setVolume,onSeek:b.seek,onSearch:b.search},{default:(0,r.w5)((function(){var s;return[(0,r._)("main",null,[(0,r._)("div",l,[(0,r.Wm)(P,{"selected-view":k.selectedView,onInput:t[0]||(t[0]=function(e){return k.selectedView=e})},null,8,["selected-view"])]),(0,r._)("div",u,[(0,r.Wm)(R,{"plugin-name":n.pluginName,"selected-view":k.selectedView,"has-subtitles-plugin":b.hasSubtitlesPlugin,ref:"header",sources:k.sources,"selected-item":k.selectedPlayer&&k.selectedPlayer.status&&("play"===k.selectedPlayer.status.state||"pause"===k.selectedPlayer.status.state)?k.selectedPlayer.status:k.results[k.selectedResult],"selected-subtitles":k.selectedSubtitles,"browser-filter":k.browserFilter,onSearch:b.search,onSelectPlayer:t[1]||(t[1]=function(e){return k.selectedPlayer=e}),onPlayerStatus:b.onStatusUpdate,onTorrentAdd:t[2]||(t[2]=function(e){return b.downloadTorrent(e)}),onShowSubtitles:t[3]||(t[3]=function(e){return k.showSubtitlesModal=!k.showSubtitlesModal}),onPlayUrl:t[4]||(t[4]=function(t){return e.$refs.playUrlModal.show()}),onFilter:t[5]||(t[5]=function(e){return k.browserFilter=e}),onSourceToggle:t[6]||(t[6]=function(e){return k.sources[e]=!k.sources[e]})},null,8,["plugin-name","selected-view","has-subtitles-plugin","sources","selected-item","selected-subtitles","browser-filter","onSearch","onPlayerStatus"]),(0,r._)("div",{class:(0,i.C_)(["body-container",{"expanded-header":null===(s=e.$refs.header)||void 0===s?void 0:s.filterVisible}])},["search"===k.selectedView?((0,r.wg)(),(0,r.j4)(S,{key:0,results:k.results,"selected-result":k.selectedResult,onSelect:t[7]||(t[7]=function(e){return b.onResultSelect(e)}),onPlay:b.play,onInfo:t[8]||(t[8]=function(t){return e.$refs.mediaInfo.isVisible=!0}),onView:b.view,onDownload:b.download,sources:k.sources},null,8,["results","selected-result","onPlay","onView","onDownload","sources"])):"torrents"===k.selectedView?((0,r.wg)(),(0,r.j4)(D,{key:1,"plugin-name":k.torrentPlugin,"is-media":!0,onPlay:b.play},null,8,["plugin-name","onPlay"])):"browser"===k.selectedView?((0,r.wg)(),(0,r.j4)(q,{key:2,"plugin-name":k.torrentPlugin,"is-media":!0,filter:k.browserFilter,onPathChange:t[9]||(t[9]=function(e){return k.browserFilter=""}),onPlay:t[10]||(t[10]=function(e){return b.play(e)})},null,8,["plugin-name","filter"])):(0,r.kq)("",!0)],2)])])]})),_:1},8,["plugin-name","status","track","buttons","onPlay","onPause","onStop","onSetVolume","onSeek","onSearch"]),(0,r._)("div",o,[(0,r.Wm)(M,{title:"Media info",ref:"mediaInfo"},{default:(0,r.w5)((function(){return[null!=k.selectedResult?((0,r.wg)(),(0,r.j4)(Z,{key:0,item:k.results[k.selectedResult]},null,8,["item"])):(0,r.kq)("",!0)]})),_:1},512)]),(0,r._)("div",c,[(0,r.Wm)(M,{title:"Available subtitles",visible:k.showSubtitlesModal,ref:"subtitlesSelector",onClose:t[12]||(t[12]=function(e){return k.showSubtitlesModal=!1})},{default:(0,r.w5)((function(){return[k.showSubtitlesModal&&null!=k.selectedResult?((0,r.wg)(),(0,r.iD)("div",d,[(0,r.Wm)($,{item:k.selectedPlayer&&k.selectedPlayer.status&&("play"===k.selectedPlayer.status.state||"pause"===k.selectedPlayer.status.state)?k.selectedPlayer.status:k.results[k.selectedResult],onSelectSubs:t[11]||(t[11]=function(e){return b.selectSubtitles(e)})},null,8,["item"])])):(0,r.kq)("",!0)]})),_:1},8,["visible"])]),(0,r._)("div",p,[(0,r.Wm)(M,{title:"Play URL",ref:"playUrlModal",onOpen:t[15]||(t[15]=function(t){return e.$refs.playUrlInput.focus()})},{default:(0,r.w5)((function(){var e;return[(0,r._)("form",{onSubmit:t[14]||(t[14]=(0,s.iM)((function(e){return b.playUrl(k.urlPlay)}),["prevent"]))},[(0,r._)("div",f,[(0,r._)("label",null,[m,(0,r.Wm)(V,null,{default:(0,r.w5)((function(){return[v]})),_:1}),h,(0,r.wy)((0,r._)("input",{type:"text","onUpdate:modelValue":t[13]||(t[13]=function(e){return k.urlPlay=e}),ref:"playUrlInput",autofocus:""},null,512),[[s.nr,k.urlPlay]])])]),(0,r._)("div",g,[(0,r._)("button",{type:"submit",disabled:!(null!==(e=k.urlPlay)&&void 0!==e&&e.length)},"Play",8,w)])],32)]})),_:1},512)])])],1024)}var k=n(6347),b=n(8534),x=(n(8309),n(1539),n(189),n(8783),n(3948),n(5666),n(1232)),_=n(9642),C=n(6813),P=n(8337),R=n(9978),S=(n(6755),n(7941),function(e){return(0,r.dD)("data-v-37a493ac"),e=e(),(0,r.Cn)(),e}),D={class:"row"},q={key:0,class:"col-7 left side"},N=S((function(){return(0,r._)("i",{class:"fa fa-filter"},null,-1)})),Z=[N],M={class:"search-box"},$={key:1,class:"col-7 left side"},V={class:"search-box"},I={key:2,class:"col-7 left side"},W={class:"search-box"},z=["value"],T={class:"col-5 right side"},j=S((function(){return(0,r._)("i",{class:"fas fa-closed-captioning"},null,-1)})),U=[j],L=S((function(){return(0,r._)("i",{class:"fa fa-plus-circle"},null,-1)})),O=[L],E=["checked","onChange"];function F(e,t,n,a,l,u){var o=(0,r.up)("Players");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["header",{"with-filter":l.filterVisible}])},[(0,r._)("div",D,["search"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",q,[(0,r._)("button",{title:"Filter",class:(0,i.C_)(["filter-btn",{selected:l.filterVisible}]),onClick:t[0]||(t[0]=function(e){return l.filterVisible=!l.filterVisible})},Z,2),(0,r._)("form",{onSubmit:t[2]||(t[2]=(0,s.iM)((function(){return u.search&&u.search.apply(u,arguments)}),["prevent"]))},[(0,r._)("label",M,[(0,r.wy)((0,r._)("input",{type:"search",placeholder:"Search","onUpdate:modelValue":t[1]||(t[1]=function(e){return l.query=e})},null,512),[[s.nr,l.query]])])],32)])):"torrents"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",$,[(0,r._)("form",{onSubmit:t[4]||(t[4]=(0,s.iM)((function(t){return e.$emit("torrent-add",l.torrentURL)}),["prevent"]))},[(0,r._)("label",V,[(0,r.wy)((0,r._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[3]||(t[3]=function(e){return l.torrentURL=e})},null,512),[[s.nr,l.torrentURL]])])],32)])):"browser"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",I,[(0,r._)("label",W,[(0,r._)("input",{type:"search",placeholder:"Filter",value:n.browserFilter,onChange:t[5]||(t[5]=function(t){return e.$emit("filter",t.target.value)}),onKeyup:t[6]||(t[6]=function(t){return e.$emit("filter",t.target.value)})},null,40,z)])])):(0,r.kq)("",!0),(0,r._)("div",T,[n.hasSubtitlesPlugin&&n.selectedItem&&("file"===n.selectedItem.type||(n.selectedItem.url||"").startsWith("file://"))?((0,r.wg)(),(0,r.iD)("button",{key:0,title:"Select subtitles",class:(0,i.C_)(["captions-btn",{selected:null!=n.selectedSubtitles}]),onClick:t[7]||(t[7]=function(t){return e.$emit("show-subtitles")})},U,2)):(0,r.kq)("",!0),(0,r.Wm)(o,{"plugin-name":n.pluginName,onSelect:t[8]||(t[8]=function(t){return e.$emit("select-player",t)}),onStatus:t[9]||(t[9]=function(t){return e.$emit("player-status",t)})},null,8,["plugin-name"]),(0,r._)("button",{title:"Play URL",onClick:t[10]||(t[10]=function(t){return e.$emit("play-url")})},O)])]),(0,r._)("div",{class:(0,i.C_)(["row filter fade-in",{hidden:!l.filterVisible}])},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(Object.keys(n.sources),(function(t){return(0,r.wg)(),(0,r.iD)("label",{key:t},[(0,r._)("input",{type:"checkbox",checked:n.sources[t],onChange:function(n){return e.$emit("source-toggle",t)}},null,40,E),(0,r.Uk)(" "+(0,i.zw)(t),1)])})),128))],2)],2)}n(7327);var H={class:"plugins"},K={class:"players"},B={class:"refresh"},Y={key:1,class:"no-results"};function A(e,t,n,s,a,l){var u,o,c,d,p,f,m,v=(0,r.up)("Chromecast"),h=(0,r.up)("Kodi"),g=(0,r.up)("Mplayer"),w=(0,r.up)("Mpv"),y=(0,r.up)("Omxplayer"),k=(0,r.up)("Vlc"),b=(0,r.up)("Loading"),x=(0,r.up)("DropdownItem"),_=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",H,[(0,r.Wm)(v,{player:"media.chromecast"===(null===(u=a.selectedPlayer)||void 0===u?void 0:u.pluginName)?a.selectedPlayer:null,ref:"chromecastPlugin",onStatus:t[0]||(t[0]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(h,{player:"media.kodi"===(null===(o=a.selectedPlayer)||void 0===o?void 0:o.pluginName)?a.selectedPlayer:null,ref:"kodiPlugin",onStatus:t[1]||(t[1]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(g,{player:"media.mplayer"===(null===(c=a.selectedPlayer)||void 0===c?void 0:c.pluginName)?a.selectedPlayer:null,ref:"mplayerPlugin",onStatus:t[2]||(t[2]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(w,{player:"media.mpv"===(null===(d=a.selectedPlayer)||void 0===d?void 0:d.pluginName)?a.selectedPlayer:null,ref:"mpvPlugin",onStatus:t[3]||(t[3]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(y,{player:"media.omxplayer"===(null===(p=a.selectedPlayer)||void 0===p?void 0:p.pluginName)?a.selectedPlayer:null,ref:"omxplayerPlugin",onStatus:t[4]||(t[4]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(k,{player:"media.vlc"===(null===(f=a.selectedPlayer)||void 0===f?void 0:f.pluginName)?a.selectedPlayer:null,ref:"vlcPlugin",onStatus:t[5]||(t[5]=function(t){return e.$emit("status",t)})},null,8,["player"])]),(0,r._)("div",K,[(0,r.Wm)(_,{title:(null===(m=a.selectedPlayer)||void 0===m?void 0:m.name)||"Players","icon-class":a.selectedPlayer?a.selectedPlayer.iconClass:"fab fa-chromecast"},{default:(0,r.w5)((function(){var e;return[a.loading?((0,r.wg)(),(0,r.j4)(b,{key:0})):(0,r.kq)("",!0),(0,r._)("div",B,[(0,r.Wm)(x,{text:"Refresh","icon-class":"fa fa-sync-alt",onClick:l.refresh},null,8,["onClick"])]),null!==(e=a.players)&&void 0!==e&&e.length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",Y,"No players found")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(a.players,(function(e,t){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["player",{selected:null!=a.selectedPlayer&&a.selectedPlayer.pluginName===e.pluginName&&a.selectedPlayer.name===e.name}]),key:t},[(0,r.Wm)(x,{text:e.name,"icon-class":e.iconClass,onClick:function(t){return l.select(e)}},null,8,["text","icon-class","onClick"])],2)})),128))]})),_:1},8,["title","icon-class"])])],64)}var Q=n(9584),G=(n(1249),n(9720),n(7852),n(5771)),X=n(9015);function J(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var ee=n(4648),te={name:"Mixin",mixins:[C.Z,P.Z],emits:["status"],props:{player:{type:Object}},data:function(){return{iconClass:null,name:null,pluginName:null}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=e.iconClass,t.t1=e.name,t.t2=e.pluginName,t.t3=e,t.next=6,e.status();case 6:return t.t4=t.sent,t.t5={iconClass:t.t0,name:t.t1,pluginName:t.t2,component:t.t3,status:t.t4},t.abrupt("return",[t.t5]);case 9:case"end":return t.stop()}}),t)})))()},status:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".status"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},play:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(e){r.next=4;break}return r.next=3,n.pause();case 3:return r.abrupt("return",r.sent);case 4:return r.next=6,n.request("".concat(n.pluginName,".play"),{resource:e.url,subtitles:t});case 6:return r.abrupt("return",r.sent);case 7:case"end":return r.stop()}}),r)})))()},pause:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".pause"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},stop:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".stop"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},setVolume:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".set_volume"),{volume:e});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},seek:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".seek"),{position:e});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},onNewMedia:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.onMediaEvent(e);case 2:r=n.sent,r&&e.title&&t.notify({title:e.player||e.device||(null===(i=t.player)||void 0===i?void 0:i.name)||t.name||t.pluginName,text:e.title,image:{iconClass:t.iconClass||"fa fa-play"}});case 4:case"end":return n.stop()}}),n)})))()},onMediaEvent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin===t.pluginName){n.next=2;break}return n.abrupt("return",!1);case 2:return n.t0=t,n.next=5,t.status();case 5:return n.t1=n.sent,n.t0.$emit.call(n.t0,"status",n.t1),n.abrupt("return",!0);case 8:case"end":return n.stop()}}),n)})))()},addSubtitles:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".add_subtitles"),{filename:e});case 2:return n.next=4,t.request("".concat(t.pluginName,".toggle_subtitles"),{visible:!0});case 4:case"end":return n.stop()}}),n)})))()},removeSubtitles:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".toggle_subtitles"),{visible:!1});case 2:case"end":return t.stop()}}),t)})))()},supports:function(e){return"file"===(null===e||void 0===e?void 0:e.type)||"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("file://")||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}},mounted:function(){this.subscribe(this.onNewMedia,"on-new-media-".concat(this.pluginName),"platypush.message.event.media.NewPlayingMediaEvent"),this.subscribe(this.onMediaEvent,"on-media-event-".concat(this.pluginName),"platypush.message.event.media.MediaPlayEvent","platypush.message.event.media.MediaStopEvent","platypush.message.event.media.MediaPauseEvent","platypush.message.event.media.MediaSeekEvent","platypush.message.event.media.MediaVolumeChangedEvent","platypush.message.event.media.MediaMuteChangedEvent")},destroy:function(){this.unsubscribe("on-media-event-".concat(this.pluginName))}};const ne=te;var re=ne,ie={name:"Chromecast",mixins:[re],data:function(){return{name:"Chromecast",pluginName:"media.chromecast",iconClass:"fab fa-chromecast"}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".get_chromecasts"));case 2:return n=t.sent,t.abrupt("return",Promise.all(n.map(function(){var t=(0,b.Z)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,ee.Z)((0,ee.Z)({},n),{},{iconClass:"audio"===n.type?"fa fa-volume-up":"fab fa-chromecast",pluginName:e.pluginName,status:e.request("".concat(e.pluginName,".status"),{chromecast:n.name}),component:e}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())));case 4:case"end":return t.stop()}}),t)})))()},getPlayerName:function(e){var t;return"string"===typeof e?e:e?null===e||void 0===e?void 0:e.name:null===(t=this.player)||void 0===t?void 0:t.name},status:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".status"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},play:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(e){r.next=4;break}return r.next=3,n.pause(t);case 3:return r.abrupt("return",r.sent);case 4:return r.next=6,n.request("".concat(n.pluginName,".play"),{resource:e.url,chromecast:n.getPlayerName(t)});case 6:return r.abrupt("return",r.sent);case 7:case"end":return r.stop()}}),r)})))()},pause:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".pause"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},stop:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".quit"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},setVolume:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.request("".concat(n.pluginName,".set_volume"),{volume:e,chromecast:n.getPlayerName(t)});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r)})))()},seek:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.request("".concat(n.pluginName,".seek"),{position:e,chromecast:n.getPlayerName(t)});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r)})))()},onMediaEvent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin===t.pluginName){n.next=2;break}return n.abrupt("return",!1);case 2:return n.t0=t,n.next=5,t.status(e.player);case 5:return n.t1=n.sent,n.t0.$emit.call(n.t0,"status",n.t1),n.abrupt("return",!0);case 8:case"end":return n.stop()}}),n)})))()},supports:function(e){return"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}},se=n(3744);const ae=(0,se.Z)(ie,[["render",J]]);var le=ae;function ue(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var oe={name:"Kodi",mixins:[re],data:function(){return{iconClass:"fa fa-kodi",name:"Kodi",pluginName:"media.kodi"}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=e.iconClass,t.t1=e.pluginName,t.t2=(null===(n=e.$root.config["media.kodi"])||void 0===n?void 0:n.host)||e.name,t.t3=e,t.next=6,e.request("".concat(e.pluginName,".status"));case 6:return t.t4=t.sent,t.t5={iconClass:t.t0,pluginName:t.t1,name:t.t2,component:t.t3,status:t.t4},t.abrupt("return",[t.t5]);case 9:case"end":return t.stop()}}),t)})))()},supports:function(e){return"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}};const ce=(0,se.Z)(oe,[["render",ue]]);var de=ce;function pe(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var fe={name:"Mplayer",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"MPlayer",pluginName:"media.mplayer"}}};const me=(0,se.Z)(fe,[["render",pe]]);var ve=me;function he(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var ge={name:"Mpv",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"mpv",pluginName:"media.mpv"}}};const we=(0,se.Z)(ge,[["render",he]]);var ye=we;function ke(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var be={name:"Omxplayer",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"OMXPlayer",pluginName:"media.omxplayer"}}};const xe=(0,se.Z)(be,[["render",ke]]);var _e=xe;function Ce(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var Pe={name:"Vlc",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"VLC",pluginName:"media.vlc"}}};const Re=(0,se.Z)(Pe,[["render",Ce]]);var Se=Re,De={name:"Players",components:{Loading:x.Z,DropdownItem:X.Z,Dropdown:G.Z,Chromecast:le,Kodi:de,Mplayer:ve,Mpv:ye,Omxplayer:_e,Vlc:Se},emits:["select","status"],props:{pluginName:{type:String,required:!0}},data:function(){return{loading:!1,players:[],selectedPlayer:null,config:{},plugins:[]}},methods:{loadPlugins:function(){this.plugins=Object.entries(this.$refs).filter((function(e){return e[0].endsWith("Plugin")})).map((function(e){return e[1]}))},refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.players=[],e.loading=!0,n=e.$root.config,t.prev=3,t.next=6,Promise.all(e.plugins.map(function(){var t=(0,b.Z)(regeneratorRuntime.mark((function t(r){var i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.pluginName in n){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,r.getPlayers();case 4:s=t.sent,(i=e.players).push.apply(i,(0,Q.Z)(s)),null==e.selectedPlayer&&r.pluginName===e.pluginName&&s.length>0&&e.select(s[0]);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[3,,6,9]])})))()},select:function(e){this.selectedPlayer=e,this.$emit("select",e)}},mounted:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.loadPlugins();case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()}};const qe=(0,se.Z)(De,[["render",A],["__scopeId","data-v-27e87a29"]]);var Ne=qe,Ze={name:"Header",components:{Players:Ne},emits:["search","select-player","player-status","torrent-add","show-subtitles","play-url","filter","source-toggle"],props:{pluginName:{type:String,required:!0},selectedView:{type:String,required:!0},selectedSubtitles:{type:String},selectedItem:{type:Object},hasSubtitlesPlugin:{type:Boolean,default:!1},browserFilter:{type:String,default:""},sources:{type:Object,default:function(){}}},data:function(){return{filterVisible:!1,query:"",torrentURL:""}},methods:{search:function(){var e,t=this,n=Object.keys(this.sources).filter((function(e){return t.sources[e]}));null!==(e=this.query)&&void 0!==e&&e.length&&null!==n&&void 0!==n&&n.length&&this.$emit("search",{query:this.query,types:n})}},mounted:function(){var e=this;this.$watch((function(){return e.selectedView}),(function(){e.$emit("filter",""),e.torrentURL="",e.query=""}))}};const Me=(0,se.Z)(Ze,[["render",F],["__scopeId","data-v-37a493ac"]]);var $e=Me,Ve=(n(2526),n(1817),n(9600),function(e){return(0,r.dD)("data-v-28611e6c"),e=e(),(0,r.Cn)(),e}),Ie={key:0,class:"row"},We=Ve((function(){return(0,r._)("div",{class:"left side"},"Title",-1)})),ze={class:"right side"},Te=["href","textContent"],je=["textContent"],Ue={key:1,class:"row"},Le=Ve((function(){return(0,r._)("div",{class:"left side"},"TV Series",-1)})),Oe=["textContent"],Ee={key:2,class:"row"},Fe=Ve((function(){return(0,r._)("div",{class:"left side"},"Season",-1)})),He=["textContent"],Ke={key:3,class:"row"},Be=Ve((function(){return(0,r._)("div",{class:"left side"},"Episode",-1)})),Ye=["textContent"],Ae={key:4,class:"row"},Qe=Ve((function(){return(0,r._)("div",{class:"left side"},"Number of seasons",-1)})),Ge=["textContent"],Xe={key:5,class:"row"},Je=Ve((function(){return(0,r._)("div",{class:"left side"},"Synopsis",-1)})),et=["textContent"],tt={key:6,class:"row"},nt=Ve((function(){return(0,r._)("div",{class:"left side"},"Description",-1)})),rt=["textContent"],it={key:7,class:"row"},st=Ve((function(){return(0,r._)("div",{class:"left side"},"Summary",-1)})),at=["textContent"],lt={key:8,class:"row"},ut=Ve((function(){return(0,r._)("div",{class:"left side"},"Overview",-1)})),ot=["textContent"],ct={key:9,class:"row"},dt=Ve((function(){return(0,r._)("div",{class:"left side"},"Duration",-1)})),pt=["textContent"],ft={key:10,class:"row"},mt=Ve((function(){return(0,r._)("div",{class:"left side"},"Country",-1)})),vt=["textContent"],ht={key:11,class:"row"},gt=Ve((function(){return(0,r._)("div",{class:"left side"},"Network",-1)})),wt=["textContent"],yt={key:12,class:"row"},kt=Ve((function(){return(0,r._)("div",{class:"left side"},"Status",-1)})),bt=["textContent"],xt={key:13,class:"row"},_t=Ve((function(){return(0,r._)("div",{class:"left side"},"Rating",-1)})),Ct=["textContent"],Pt={key:14,class:"row"},Rt=Ve((function(){return(0,r._)("div",{class:"left side"},"Votes",-1)})),St=["textContent"],Dt={key:15,class:"row"},qt=Ve((function(){return(0,r._)("div",{class:"left side"},"Genres",-1)})),Nt=["textContent"],Zt={key:16,class:"row"},Mt=Ve((function(){return(0,r._)("div",{class:"left side"},"Channel",-1)})),$t={class:"right side"},Vt=["href","textContent"],It={key:17,class:"row"},Wt=Ve((function(){return(0,r._)("div",{class:"left side"},"Year",-1)})),zt=["textContent"],Tt={key:18,class:"row"},jt=Ve((function(){return(0,r._)("div",{class:"left side"},"Published at",-1)})),Ut=["textContent"],Lt={key:19,class:"row"},Ot=Ve((function(){return(0,r._)("div",{class:"left side"},"File",-1)})),Et=["textContent"],Ft={key:20,class:"row"},Ht=Ve((function(){return(0,r._)("div",{class:"left side"},"URL",-1)})),Kt={class:"right side url"},Bt=["href","textContent"],Yt={key:21,class:"row"},At=Ve((function(){return(0,r._)("div",{class:"left side"},"Trailer",-1)})),Qt={class:"right side url"},Gt=["href","textContent"],Xt={key:22,class:"row"},Jt=Ve((function(){return(0,r._)("div",{class:"left side"},"Size",-1)})),en=["textContent"],tn={key:23,class:"row"},nn=Ve((function(){return(0,r._)("div",{class:"left side"},"Quality",-1)})),rn=["textContent"],sn={key:24,class:"row"},an=Ve((function(){return(0,r._)("div",{class:"left side"},"Seeds",-1)})),ln=["textContent"],un={key:25,class:"row"},on=Ve((function(){return(0,r._)("div",{class:"left side"},"Peers",-1)})),cn=["textContent"],dn={key:26,class:"row"},pn=Ve((function(){return(0,r._)("div",{class:"left side"},"Language",-1)})),fn=["textContent"];function mn(e,t,n,s,a,l){var u,o,c,d,p,f,m,v,h,g,w,y,k,b,x,_,C,P,R,S,D,q,N,Z,M,$,V;return(0,r.wg)(),(0,r.iD)(r.HY,null,[null!==(u=n.item)&&void 0!==u&&u.title?((0,r.wg)(),(0,r.iD)("div",Ie,[We,(0,r._)("div",ze,[n.item.imdb_id?((0,r.wg)(),(0,r.iD)("a",{key:0,href:"https://www.imdb.com/title/".concat(n.item.imdb_id),target:"_blank",textContent:(0,i.zw)(n.item.title)},null,8,Te)):((0,r.wg)(),(0,r.iD)("span",{key:1,textContent:(0,i.zw)(n.item.title)},null,8,je))])])):(0,r.kq)("",!0),null!==(o=n.item)&&void 0!==o&&o.series?((0,r.wg)(),(0,r.iD)("div",Ue,[Le,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.series)},null,8,Oe)])):(0,r.kq)("",!0),null!==(c=n.item)&&void 0!==c&&c.season?((0,r.wg)(),(0,r.iD)("div",Ee,[Fe,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.season)},null,8,He)])):(0,r.kq)("",!0),null!==(d=n.item)&&void 0!==d&&d.episode?((0,r.wg)(),(0,r.iD)("div",Ke,[Be,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.episode)},null,8,Ye)])):(0,r.kq)("",!0),null!==(p=n.item)&&void 0!==p&&p.num_seasons?((0,r.wg)(),(0,r.iD)("div",Ae,[Qe,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.num_seasons)},null,8,Ge)])):(0,r.kq)("",!0),null!==(f=n.item)&&void 0!==f&&f.synopsis?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.synopsis)},null,8,et)])):(0,r.kq)("",!0),null!==(m=n.item)&&void 0!==m&&m.description?((0,r.wg)(),(0,r.iD)("div",tt,[nt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.description)},null,8,rt)])):(0,r.kq)("",!0),null!==(v=n.item)&&void 0!==v&&v.summary?((0,r.wg)(),(0,r.iD)("div",it,[st,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.summary)},null,8,at)])):(0,r.kq)("",!0),null!==(h=n.item)&&void 0!==h&&h.overview?((0,r.wg)(),(0,r.iD)("div",lt,[ut,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.overview)},null,8,ot)])):(0,r.kq)("",!0),null!==(g=n.item)&&void 0!==g&&g.duration?((0,r.wg)(),(0,r.iD)("div",ct,[dt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.convertTime(n.item.duration))},null,8,pt)])):(0,r.kq)("",!0),null!==(w=n.item)&&void 0!==w&&w.country?((0,r.wg)(),(0,r.iD)("div",ft,[mt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.country)},null,8,vt)])):(0,r.kq)("",!0),null!==(y=n.item)&&void 0!==y&&y.network?((0,r.wg)(),(0,r.iD)("div",ht,[gt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.network)},null,8,wt)])):(0,r.kq)("",!0),null!==(k=n.item)&&void 0!==k&&k.status?((0,r.wg)(),(0,r.iD)("div",yt,[kt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.status)},null,8,bt)])):(0,r.kq)("",!0),null!==(b=n.item)&&void 0!==b&&b.rating?((0,r.wg)(),(0,r.iD)("div",xt,[_t,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.rating.percentage)},null,8,Ct)])):(0,r.kq)("",!0),null!==(x=n.item)&&void 0!==x&&x.rating?((0,r.wg)(),(0,r.iD)("div",Pt,[Rt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.rating.votes)},null,8,St)])):(0,r.kq)("",!0),null!==(_=n.item)&&void 0!==_&&_.genres?((0,r.wg)(),(0,r.iD)("div",Dt,[qt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.genres.join(", "))},null,8,Nt)])):(0,r.kq)("",!0),null!==(C=n.item)&&void 0!==C&&C.channelId?((0,r.wg)(),(0,r.iD)("div",Zt,[Mt,(0,r._)("div",$t,[(0,r._)("a",{href:"https://www.youtube.com/channel/".concat(n.item.channelId),target:"_blank",textContent:(0,i.zw)(n.item.channelTitle||"https://www.youtube.com/channel/".concat(n.item.channelId))},null,8,Vt)])])):(0,r.kq)("",!0),null!==(P=n.item)&&void 0!==P&&P.year?((0,r.wg)(),(0,r.iD)("div",It,[Wt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.year)},null,8,zt)])):(0,r.kq)("",!0),null!==(R=n.item)&&void 0!==R&&R.publishedAt?((0,r.wg)(),(0,r.iD)("div",Tt,[jt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.formatDate(n.item.publishedAt,!0))},null,8,Ut)])):(0,r.kq)("",!0),null!==(S=n.item)&&void 0!==S&&S.file?((0,r.wg)(),(0,r.iD)("div",Lt,[Ot,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.file)},null,8,Et)])):(0,r.kq)("",!0),null!==(D=n.item)&&void 0!==D&&D.url?((0,r.wg)(),(0,r.iD)("div",Ft,[Ht,(0,r._)("div",Kt,[(0,r._)("a",{href:n.item.url,target:"_blank",textContent:(0,i.zw)(n.item.url)},null,8,Bt)])])):(0,r.kq)("",!0),null!==(q=n.item)&&void 0!==q&&q.trailer?((0,r.wg)(),(0,r.iD)("div",Yt,[At,(0,r._)("div",Qt,[(0,r._)("a",{href:n.item.trailer,target:"_blank",textContent:(0,i.zw)(n.item.trailer)},null,8,Gt)])])):(0,r.kq)("",!0),null!==(N=n.item)&&void 0!==N&&N.size?((0,r.wg)(),(0,r.iD)("div",Xt,[Jt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.convertSize(n.item.size))},null,8,en)])):(0,r.kq)("",!0),null!==(Z=n.item)&&void 0!==Z&&Z.quality?((0,r.wg)(),(0,r.iD)("div",tn,[nn,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.quality)},null,8,rn)])):(0,r.kq)("",!0),null!==(M=n.item)&&void 0!==M&&M.seeds?((0,r.wg)(),(0,r.iD)("div",sn,[an,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.seeds)},null,8,ln)])):(0,r.kq)("",!0),null!==($=n.item)&&void 0!==$&&$.peers?((0,r.wg)(),(0,r.iD)("div",un,[on,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.peers)},null,8,cn)])):(0,r.kq)("",!0),null!==(V=n.item)&&void 0!==V&&V.language?((0,r.wg)(),(0,r.iD)("div",dn,[pn,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.language)},null,8,fn)])):(0,r.kq)("",!0)],64)}var vn={name:"Info",mixins:[C.Z,P.Z],props:{item:{type:Object,default:function(){}}}};const hn=(0,se.Z)(vn,[["render",mn],["__scopeId","data-v-28611e6c"]]);var gn=hn,wn=["title","onClick"];function yn(e,t,n,s,a,l){return(0,r.wg)(),(0,r.iD)("nav",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.views,(function(t,s){return(0,r.wg)(),(0,r.iD)("li",{key:s,title:t.displayName,class:(0,i.C_)({selected:s===n.selectedView}),onClick:function(t){return e.$emit("input",s)}},[(0,r._)("i",{class:(0,i.C_)(t.iconClass)},null,2)],10,wn)})),128))])}var kn={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:function(){return{search:{iconClass:"fa fa-search",displayName:"Search"},browser:{iconClass:"fa fa-folder",displayName:"Browser"},torrents:{iconClass:"fa fa-magnet",displayName:"Torrents"}}}}}};const bn=(0,se.Z)(kn,[["render",yn],["__scopeId","data-v-4597e14d"]]);var xn=bn,_n={class:"media-results"},Cn={key:0,class:"no-content"},Pn=["onClick"],Rn={class:"col-10 left side"},Sn={class:"icon"},Dn=["textContent"],qn={class:"col-2 right side"};function Nn(e,t,n,s,a,l){var u,o=(0,r.up)("DropdownItem"),c=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)("div",_n,[null!==(u=n.results)&&void 0!==u&&u.length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",Cn," No search results ")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.results,(function(t,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["row item",{selected:n.selectedResult===s,hidden:!n.sources[t.type]}]),key:s,onClick:function(t){return e.$emit("select",s)}},[(0,r._)("div",Rn,[(0,r._)("div",Sn,[(0,r._)("i",{class:(0,i.C_)(a.typeIcons[t.type])},null,2)]),(0,r._)("div",{class:"title",textContent:(0,i.zw)(t.title)},null,8,Dn)]),(0,r._)("div",qn,[(0,r.Wm)(c,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:function(t){return e.$emit("select",s)}},{default:(0,r.w5)((function(){return["torrent"!==(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:function(n){return e.$emit("play",t)}},null,8,["onClick"])):(0,r.kq)("",!0),"torrent"===(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:1,"icon-class":"fa fa-download",text:"Download",onClick:function(n){return e.$emit("download",t)}},null,8,["onClick"])):(0,r.kq)("",!0),"file"===(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:2,"icon-class":"fa fa-window-maximize",text:"View in browser",onClick:function(n){return e.$emit("view",t)}},null,8,["onClick"])):(0,r.kq)("",!0),(0,r.Wm)(o,{"icon-class":"fa fa-info",text:"Info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1032,["onClick"])])],10,Pn)})),128))])}n(9653);var Zn={name:"Results",components:{Dropdown:G.Z,DropdownItem:X.Z},emits:["select","info","play","view","download"],props:{results:{type:Array,default:function(){return[]}},selectedResult:{type:Number},sources:{type:Object,default:function(){}}},data:function(){return{typeIcons:{file:"fa fa-hdd",torrent:"fa fa-magnet",youtube:"fab fa-youtube",plex:"fa fa-plex",jellyfin:"fa fa-jellyfin"}}}};const Mn=(0,se.Z)(Zn,[["render",Nn],["__scopeId","data-v-28f7c518"]]);var $n=Mn,Vn=function(e){return(0,r.dD)("data-v-77ae3705"),e=e(),(0,r.Cn)(),e},In={class:"subtitles-container"},Wn={class:"items"},zn=Vn((function(){return(0,r._)("div",{class:"col-1 icon"},[(0,r._)("i",{class:"fa fa-ban"})],-1)})),Tn=Vn((function(){return(0,r._)("div",{class:"col-11 title"},"None",-1)})),jn=[zn,Tn],Un=["onClick"],Ln={class:"col-1 icon"},On={key:0,class:"fa fa-file"},En={key:2,class:"fa fa-closed-captioning"},Fn={class:"footer"};function Hn(e,t,n,s,a,l){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",In,[(0,r._)("div",Wn,[a.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row item",{selected:null==a.selectedItem}]),onClick:t[0]||(t[0]=function(e){return a.selectedItem=null})},jn,2),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(a.items,(function(e,t){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["row item",{selected:a.selectedItem===t}]),key:t,onClick:function(e){return a.selectedItem=t}},[(0,r._)("div",Ln,[e.IsLocal?((0,r.wg)(),(0,r.iD)("i",On)):e.ISO639?((0,r.wg)(),(0,r.iD)("i",{key:1,class:(0,i.C_)(["flag-icon","flag-icon-".concat(e.ISO639)])},null,2)):((0,r.wg)(),(0,r.iD)("i",En))]),(0,r.Uk)(" "+(0,i.zw)(e.SubFileName),1)],10,Un)})),128))]),(0,r._)("div",Fn,[(0,r._)("button",{onClick:t[1]||(t[1]=function(t){return e.$emit("select-subs",null==a.selectedItem?null:a.items[a.selectedItem])})},"Select")])])}var Kn={name:"Subtitles",mixins:[C.Z],components:{Loading:x.Z},emits:["select-subs"],props:{item:{type:Object,default:function(){}}},data:function(){return{loading:!1,items:[],selectedItem:null}},methods:{refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("media.subtitles.search",{resource:e.item.url,language:"all"});case 4:e.items=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){this.refresh()}};const Bn=(0,se.Z)(Kn,[["render",Hn],["__scopeId","data-v-77ae3705"]]);var Yn=Bn,An=n(779),Qn=(n(3123),function(e){return(0,r.dD)("data-v-a2e5c946"),e=e(),(0,r.Cn)(),e}),Gn={class:"browser-container"},Xn=Qn((function(){return(0,r._)("div",{class:"col-10 left side"},[(0,r._)("i",{class:"icon fa fa-folder"}),(0,r._)("span",{class:"name"},"..")],-1)})),Jn=[Xn],er=["onClick"],tr={class:"col-10"},nr={class:"name"},rr={class:"col-2 actions"};function ir(e,t,n,s,a,l){var u,o=(0,r.up)("Loading"),c=(0,r.up)("DropdownItem"),d=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)("div",Gn,[a.loading?((0,r.wg)(),(0,r.j4)(o,{key:0})):(0,r.kq)("",!0),null!==(u=a.path)&&void 0!==u&&u.length&&"/"!==a.path?((0,r.wg)(),(0,r.iD)("div",{key:1,class:"row item",onClick:t[0]||(t[0]=function(e){return a.path=(a.path||"")+"/.."})},Jn)):(0,r.kq)("",!0),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(l.filteredFiles,(function(t,s){return(0,r.wg)(),(0,r.iD)("div",{class:"row item",key:s,onClick:function(e){return a.path=t.path}},[(0,r._)("div",tr,[(0,r._)("i",{class:(0,i.C_)(["icon fa",{"fa-file":"directory"!==t.type,"fa-folder":"directory"===t.type}])},null,2),(0,r._)("span",nr,(0,i.zw)(t.name),1)]),(0,r._)("div",rr,[(0,r.Wm)(d,null,{default:(0,r.w5)((function(){return[n.isMedia&&e.mediaExtensions.has(t.name.split(".").pop())?((0,r.wg)(),(0,r.j4)(c,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:function(n){return e.$emit("play",{type:"file",url:"file://".concat(t.path)})}},null,8,["onClick"])):(0,r.kq)("",!0)]})),_:2},1024)])],8,er)})),128))])}var sr={name:"Browser",components:{DropdownItem:X.Z,Dropdown:G.Z,Loading:x.Z},mixins:[C.Z,P.Z],emits:["path-change"],props:{initialPath:{type:String},isMedia:{type:Boolean},filter:{type:String,default:""}},data:function(){return{loading:!1,path:this.initialPath,files:[]}},computed:{filteredFiles:function(){var e,t=this;return null!==(e=this.filter)&&void 0!==e&&e.length?this.files.filter((function(e){return((null===e||void 0===e?void 0:e.name)||"").toLowerCase().indexOf(t.filter.toLowerCase())>=0})):this.files}},methods:{refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("file.list",{path:e.path});case 4:e.files=t.sent,e.$emit("path-change",e.path);case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.path}),(function(){return e.refresh()})),this.refresh()}};const ar=(0,se.Z)(sr,[["render",ir],["__scopeId","data-v-a2e5c946"]]);var lr=ar,ur={name:"Media",mixins:[C.Z,P.Z],components:{Browser:lr,Loading:x.Z,MediaView:R.Z,Header:$e,Results:$n,Modal:_.Z,Info:gn,Nav:xn,TorrentView:An.Z,Subtitles:Yn},props:{pluginName:{type:String,required:!0},mediaButtons:{type:Object,default:function(){return{previous:!1,next:!1,stop:!0}}}},data:function(){return{loading:!1,results:[],selectedResult:null,selectedPlayer:null,selectedView:"search",selectedSubtitles:null,showSubtitlesModal:!1,awaitingPlayTorrent:null,urlPlay:null,browserFilter:null,torrentPlugin:null,torrentPlugins:["torrent","rtorrent"],sources:{file:!0,youtube:!0,torrent:!0}}},computed:{hasSubtitlesPlugin:function(){return"media.subtitles"in this.$root.config}},methods:{search:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("".concat(t.pluginName,".search"),e);case 4:t.results=n.sent;case 5:return n.prev=5,t.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()},play:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("torrent"!==(null===(r=e)||void 0===r?void 0:r.type)){n.next=5;break}return t.awaitingPlayTorrent=e.url,n.next=4,t.download(e);case 4:return n.abrupt("return");case 5:if(t.selectedPlayer.component.supports(e)){n.next=9;break}return n.next=8,t.startStreaming(e);case 8:e=n.sent;case 9:return n.next=11,t.selectedPlayer.component.play(e,t.selectedSubtitles,t.selectedPlayer);case 11:return n.next=13,t.refresh();case 13:case"end":return n.stop()}}),n)})))()},pause:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.pause(e.selectedPlayer);case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()},stop:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.stop(e.selectedPlayer);case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()},setVolume:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.selectedPlayer.component.setVolume(e,t.selectedPlayer);case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},seek:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.selectedPlayer.component.seek(e,t.selectedPlayer);case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},view:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.startStreaming(e,!0);case 2:r=n.sent,window.open(r.url,"_blank");case 4:case"end":return n.stop()}}),n)})))()},download:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("torrent"!==(null===e||void 0===e?void 0:e.type)){n.next=3;break}return n.next=3,t.downloadTorrent(e);case 3:case"end":return n.stop()}}),n)})))()},refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.status(e.selectedPlayer);case 2:e.selectedPlayer.status=t.sent;case 3:case"end":return t.stop()}}),t)})))()},onStatusUpdate:function(e){this.selectedPlayer&&(this.selectedPlayer.status=e)},onTorrentQueued:function(e){this.notify({title:"Torrent queued for download",text:e.name,image:{iconClass:"fa fa-magnet"}})},onTorrentMetadata:function(e){this.notify({title:"Torrent metadata downloaded",text:e.name,image:{iconClass:"fa fa-info"}})},onTorrentDownloadStart:function(e){this.notify({title:"Torrent download started",text:e.name,image:{iconClass:"fa fa-download"}})},onTorrentDownloadCompleted:function(e){this.notify({title:"Torrent download completed",text:e.name,image:{iconClass:"fa fa-check"}})},getTorrentPlugin:function(){var e=this.$root.config[this.pluginName]||{},t=e.torrent_plugin;if(!t){var n,r=(0,k.Z)(this.torrentPlugins);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i in this.$root.config){t=i;break}}}catch(s){r.e(s)}finally{r.f()}}return t},downloadTorrent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=t.getTorrentPlugin(),r){n.next=4;break}return t.notify({text:"No torrent plugins configured",error:!0}),n.abrupt("return");case 4:return n.next=6,t.request("".concat(r,".download"),{torrent:(null===e||void 0===e?void 0:e.url)||e});case 6:return n.abrupt("return",n.sent);case 7:case"end":return n.stop()}}),n)})))()},selectSubtitles:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.$refs.subtitlesSelector.close(),e){n.next=4;break}return t.selectedSubtitles=null,n.abrupt("return");case 4:return t.notify({text:"Downloading subtitles track",image:{iconClass:"fa fa-download"}}),n.next=7,t.request("media.subtitles.download",{link:e.SubDownloadLink});case 7:r=n.sent,t.selectedSubtitles=r.filename,t.notify({text:"Subtitles track downloaded",image:{iconClass:"fa fa-check"}});case 10:case"end":return n.stop()}}),n)})))()},onResultSelect:function(e){null!=this.selectedResult&&this.selectedResult===e||(this.selectedResult=e,this.selectedSubtitles=null)},playUrl:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.play({url:e});case 4:t.$refs.playUrlModal.close();case 5:return n.prev=5,t.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selectedPlayer}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.selectedSubtitles}),(function(t){var n,r;new Set(["play","pause"]).has(null===(n=e.selectedPlayer)||void 0===n||null===(r=n.status)||void 0===r?void 0:r.state)&&(t?e.selectedPlayer.component.addSubtitles(t):e.selectedPlayer.component.removeSubtitles())})),this.torrentPlugin=this.getTorrentPlugin(),this.subscribe(this.onTorrentQueued,"notify-on-torrent-queued","platypush.message.event.torrent.TorrentQueuedEvent"),this.subscribe(this.onTorrentMetadata,"on-torrent-metadata","platypush.message.event.torrent.TorrentDownloadedMetadataEvent"),this.subscribe(this.onTorrentDownloadStart,"notify-on-torrent-download-start","platypush.message.event.torrent.TorrentDownloadStartEvent"),this.subscribe(this.onTorrentDownloadCompleted,"notify-on-torrent-download-completed","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),"media.plex"in this.$root.config&&(this.sources.plex=!0),"media.jellyfin"in this.$root.config&&(this.sources.jellyfin=!0)},destroy:function(){this.unsubscribe("notify-on-torrent-queued"),this.unsubscribe("on-torrent-metadata"),this.unsubscribe("notify-on-torrent-download-start"),this.unsubscribe("notify-on-torrent-download-completed")}};const or=(0,se.Z)(ur,[["render",y],["__scopeId","data-v-040b2676"]]);var cr=or}}]); -//# sourceMappingURL=4196-legacy.9c63a429.js.map \ No newline at end of file +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4196],{4964:function(e,t,n){var r=n(5112),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},3929:function(e,t,n){var r=n(7850),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},7852:function(e,t,n){"use strict";var r=n(2109),i=n(1702),s=n(1236).f,a=n(7466),l=n(1340),u=n(3929),o=n(4488),c=n(4964),d=n(1913),p=i("".endsWith),f=i("".slice),m=Math.min,v=c("endsWith"),h=!d&&!v&&!!function(){var e=s(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!v},{endsWith:function(e){var t=l(o(this));u(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:m(a(n),r),s=l(e);return p?p(t,s,i):f(t,i-s.length,i)===s}})},6755:function(e,t,n){"use strict";var r=n(2109),i=n(1702),s=n(1236).f,a=n(7466),l=n(1340),u=n(3929),o=n(4488),c=n(4964),d=n(1913),p=i("".startsWith),f=i("".slice),m=Math.min,v=c("startsWith"),h=!d&&!v&&!!function(){var e=s(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!v},{startsWith:function(e){var t=l(o(this));u(e);var n=a(m(arguments.length>1?arguments[1]:void 0,t.length)),r=l(e);return p?p(t,r,n):f(t,n,n+r.length)===r}})},4196:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return cr}});n(4916),n(4765);var r=n(6252),i=n(3577),s=n(9963),a={class:"media-plugin fade-in"},l={class:"nav-container"},u={class:"view-container"},o={class:"media-info-container"},c={class:"subtitles-container"},d={key:0,class:"subtitles-content"},p={class:"play-url-container"},f={class:"row"},m=(0,r.Uk)(" Play URL (use "),v=(0,r.Uk)("file://"),h=(0,r.Uk)(" prefix for local files) "),g={class:"row footer"},w=["disabled"];function y(e,t,n,y,k,b){var x,_,C=(0,r.up)("Loading"),P=(0,r.up)("Nav"),R=(0,r.up)("Header"),S=(0,r.up)("Results"),D=(0,r.up)("TorrentView"),q=(0,r.up)("Browser"),N=(0,r.up)("MediaView"),Z=(0,r.up)("Info"),M=(0,r.up)("Modal"),$=(0,r.up)("Subtitles"),V=(0,r.up)("tt");return(0,r.wg)(),(0,r.j4)(r.Ob,null,[(0,r._)("div",a,[k.loading?((0,r.wg)(),(0,r.j4)(C,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(N,{"plugin-name":n.pluginName,status:(null===(x=k.selectedPlayer)||void 0===x?void 0:x.status)||{},track:(null===(_=k.selectedPlayer)||void 0===_?void 0:_.status)||{},buttons:n.mediaButtons,onPlay:b.pause,onPause:b.pause,onStop:b.stop,onSetVolume:b.setVolume,onSeek:b.seek,onSearch:b.search},{default:(0,r.w5)((function(){var s;return[(0,r._)("main",null,[(0,r._)("div",l,[(0,r.Wm)(P,{"selected-view":k.selectedView,onInput:t[0]||(t[0]=function(e){return k.selectedView=e})},null,8,["selected-view"])]),(0,r._)("div",u,[(0,r.Wm)(R,{"plugin-name":n.pluginName,"selected-view":k.selectedView,"has-subtitles-plugin":b.hasSubtitlesPlugin,ref:"header",sources:k.sources,"selected-item":k.selectedPlayer&&k.selectedPlayer.status&&("play"===k.selectedPlayer.status.state||"pause"===k.selectedPlayer.status.state)?k.selectedPlayer.status:k.results[k.selectedResult],"selected-subtitles":k.selectedSubtitles,"browser-filter":k.browserFilter,onSearch:b.search,onSelectPlayer:t[1]||(t[1]=function(e){return k.selectedPlayer=e}),onPlayerStatus:b.onStatusUpdate,onTorrentAdd:t[2]||(t[2]=function(e){return b.downloadTorrent(e)}),onShowSubtitles:t[3]||(t[3]=function(e){return k.showSubtitlesModal=!k.showSubtitlesModal}),onPlayUrl:t[4]||(t[4]=function(t){return e.$refs.playUrlModal.show()}),onFilter:t[5]||(t[5]=function(e){return k.browserFilter=e}),onSourceToggle:t[6]||(t[6]=function(e){return k.sources[e]=!k.sources[e]})},null,8,["plugin-name","selected-view","has-subtitles-plugin","sources","selected-item","selected-subtitles","browser-filter","onSearch","onPlayerStatus"]),(0,r._)("div",{class:(0,i.C_)(["body-container",{"expanded-header":null===(s=e.$refs.header)||void 0===s?void 0:s.filterVisible}])},["search"===k.selectedView?((0,r.wg)(),(0,r.j4)(S,{key:0,results:k.results,"selected-result":k.selectedResult,onSelect:t[7]||(t[7]=function(e){return b.onResultSelect(e)}),onPlay:b.play,onInfo:t[8]||(t[8]=function(t){return e.$refs.mediaInfo.isVisible=!0}),onView:b.view,onDownload:b.download,sources:k.sources},null,8,["results","selected-result","onPlay","onView","onDownload","sources"])):"torrents"===k.selectedView?((0,r.wg)(),(0,r.j4)(D,{key:1,"plugin-name":k.torrentPlugin,"is-media":!0,onPlay:b.play},null,8,["plugin-name","onPlay"])):"browser"===k.selectedView?((0,r.wg)(),(0,r.j4)(q,{key:2,"plugin-name":k.torrentPlugin,"is-media":!0,filter:k.browserFilter,onPathChange:t[9]||(t[9]=function(e){return k.browserFilter=""}),onPlay:t[10]||(t[10]=function(e){return b.play(e)})},null,8,["plugin-name","filter"])):(0,r.kq)("",!0)],2)])])]})),_:1},8,["plugin-name","status","track","buttons","onPlay","onPause","onStop","onSetVolume","onSeek","onSearch"]),(0,r._)("div",o,[(0,r.Wm)(M,{title:"Media info",ref:"mediaInfo"},{default:(0,r.w5)((function(){return[null!=k.selectedResult?((0,r.wg)(),(0,r.j4)(Z,{key:0,item:k.results[k.selectedResult]},null,8,["item"])):(0,r.kq)("",!0)]})),_:1},512)]),(0,r._)("div",c,[(0,r.Wm)(M,{title:"Available subtitles",visible:k.showSubtitlesModal,ref:"subtitlesSelector",onClose:t[12]||(t[12]=function(e){return k.showSubtitlesModal=!1})},{default:(0,r.w5)((function(){return[k.showSubtitlesModal&&null!=k.selectedResult?((0,r.wg)(),(0,r.iD)("div",d,[(0,r.Wm)($,{item:k.selectedPlayer&&k.selectedPlayer.status&&("play"===k.selectedPlayer.status.state||"pause"===k.selectedPlayer.status.state)?k.selectedPlayer.status:k.results[k.selectedResult],onSelectSubs:t[11]||(t[11]=function(e){return b.selectSubtitles(e)})},null,8,["item"])])):(0,r.kq)("",!0)]})),_:1},8,["visible"])]),(0,r._)("div",p,[(0,r.Wm)(M,{title:"Play URL",ref:"playUrlModal",onOpen:t[15]||(t[15]=function(t){return e.$refs.playUrlInput.focus()})},{default:(0,r.w5)((function(){var e;return[(0,r._)("form",{onSubmit:t[14]||(t[14]=(0,s.iM)((function(e){return b.playUrl(k.urlPlay)}),["prevent"]))},[(0,r._)("div",f,[(0,r._)("label",null,[m,(0,r.Wm)(V,null,{default:(0,r.w5)((function(){return[v]})),_:1}),h,(0,r.wy)((0,r._)("input",{type:"text","onUpdate:modelValue":t[13]||(t[13]=function(e){return k.urlPlay=e}),ref:"playUrlInput",autofocus:""},null,512),[[s.nr,k.urlPlay]])])]),(0,r._)("div",g,[(0,r._)("button",{type:"submit",disabled:!(null!==(e=k.urlPlay)&&void 0!==e&&e.length)},"Play",8,w)])],32)]})),_:1},512)])])],1024)}var k=n(6347),b=n(8534),x=(n(8309),n(1539),n(189),n(8783),n(3948),n(5666),n(1232)),_=n(8453),C=n(6813),P=n(8337),R=n(9978),S=(n(6755),n(7941),function(e){return(0,r.dD)("data-v-37a493ac"),e=e(),(0,r.Cn)(),e}),D={class:"row"},q={key:0,class:"col-7 left side"},N=S((function(){return(0,r._)("i",{class:"fa fa-filter"},null,-1)})),Z=[N],M={class:"search-box"},$={key:1,class:"col-7 left side"},V={class:"search-box"},I={key:2,class:"col-7 left side"},W={class:"search-box"},z=["value"],T={class:"col-5 right side"},j=S((function(){return(0,r._)("i",{class:"fas fa-closed-captioning"},null,-1)})),U=[j],L=S((function(){return(0,r._)("i",{class:"fa fa-plus-circle"},null,-1)})),O=[L],E=["checked","onChange"];function F(e,t,n,a,l,u){var o=(0,r.up)("Players");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["header",{"with-filter":l.filterVisible}])},[(0,r._)("div",D,["search"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",q,[(0,r._)("button",{title:"Filter",class:(0,i.C_)(["filter-btn",{selected:l.filterVisible}]),onClick:t[0]||(t[0]=function(e){return l.filterVisible=!l.filterVisible})},Z,2),(0,r._)("form",{onSubmit:t[2]||(t[2]=(0,s.iM)((function(){return u.search&&u.search.apply(u,arguments)}),["prevent"]))},[(0,r._)("label",M,[(0,r.wy)((0,r._)("input",{type:"search",placeholder:"Search","onUpdate:modelValue":t[1]||(t[1]=function(e){return l.query=e})},null,512),[[s.nr,l.query]])])],32)])):"torrents"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",$,[(0,r._)("form",{onSubmit:t[4]||(t[4]=(0,s.iM)((function(t){return e.$emit("torrent-add",l.torrentURL)}),["prevent"]))},[(0,r._)("label",V,[(0,r.wy)((0,r._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[3]||(t[3]=function(e){return l.torrentURL=e})},null,512),[[s.nr,l.torrentURL]])])],32)])):"browser"===n.selectedView?((0,r.wg)(),(0,r.iD)("div",I,[(0,r._)("label",W,[(0,r._)("input",{type:"search",placeholder:"Filter",value:n.browserFilter,onChange:t[5]||(t[5]=function(t){return e.$emit("filter",t.target.value)}),onKeyup:t[6]||(t[6]=function(t){return e.$emit("filter",t.target.value)})},null,40,z)])])):(0,r.kq)("",!0),(0,r._)("div",T,[n.hasSubtitlesPlugin&&n.selectedItem&&("file"===n.selectedItem.type||(n.selectedItem.url||"").startsWith("file://"))?((0,r.wg)(),(0,r.iD)("button",{key:0,title:"Select subtitles",class:(0,i.C_)(["captions-btn",{selected:null!=n.selectedSubtitles}]),onClick:t[7]||(t[7]=function(t){return e.$emit("show-subtitles")})},U,2)):(0,r.kq)("",!0),(0,r.Wm)(o,{"plugin-name":n.pluginName,onSelect:t[8]||(t[8]=function(t){return e.$emit("select-player",t)}),onStatus:t[9]||(t[9]=function(t){return e.$emit("player-status",t)})},null,8,["plugin-name"]),(0,r._)("button",{title:"Play URL",onClick:t[10]||(t[10]=function(t){return e.$emit("play-url")})},O)])]),(0,r._)("div",{class:(0,i.C_)(["row filter fade-in",{hidden:!l.filterVisible}])},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(Object.keys(n.sources),(function(t){return(0,r.wg)(),(0,r.iD)("label",{key:t},[(0,r._)("input",{type:"checkbox",checked:n.sources[t],onChange:function(n){return e.$emit("source-toggle",t)}},null,40,E),(0,r.Uk)(" "+(0,i.zw)(t),1)])})),128))],2)],2)}n(7327);var H={class:"plugins"},K={class:"players"},B={class:"refresh"},Y={key:1,class:"no-results"};function A(e,t,n,s,a,l){var u,o,c,d,p,f,m,v=(0,r.up)("Chromecast"),h=(0,r.up)("Kodi"),g=(0,r.up)("Mplayer"),w=(0,r.up)("Mpv"),y=(0,r.up)("Omxplayer"),k=(0,r.up)("Vlc"),b=(0,r.up)("Loading"),x=(0,r.up)("DropdownItem"),_=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",H,[(0,r.Wm)(v,{player:"media.chromecast"===(null===(u=a.selectedPlayer)||void 0===u?void 0:u.pluginName)?a.selectedPlayer:null,ref:"chromecastPlugin",onStatus:t[0]||(t[0]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(h,{player:"media.kodi"===(null===(o=a.selectedPlayer)||void 0===o?void 0:o.pluginName)?a.selectedPlayer:null,ref:"kodiPlugin",onStatus:t[1]||(t[1]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(g,{player:"media.mplayer"===(null===(c=a.selectedPlayer)||void 0===c?void 0:c.pluginName)?a.selectedPlayer:null,ref:"mplayerPlugin",onStatus:t[2]||(t[2]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(w,{player:"media.mpv"===(null===(d=a.selectedPlayer)||void 0===d?void 0:d.pluginName)?a.selectedPlayer:null,ref:"mpvPlugin",onStatus:t[3]||(t[3]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(y,{player:"media.omxplayer"===(null===(p=a.selectedPlayer)||void 0===p?void 0:p.pluginName)?a.selectedPlayer:null,ref:"omxplayerPlugin",onStatus:t[4]||(t[4]=function(t){return e.$emit("status",t)})},null,8,["player"]),(0,r.Wm)(k,{player:"media.vlc"===(null===(f=a.selectedPlayer)||void 0===f?void 0:f.pluginName)?a.selectedPlayer:null,ref:"vlcPlugin",onStatus:t[5]||(t[5]=function(t){return e.$emit("status",t)})},null,8,["player"])]),(0,r._)("div",K,[(0,r.Wm)(_,{title:(null===(m=a.selectedPlayer)||void 0===m?void 0:m.name)||"Players","icon-class":a.selectedPlayer?a.selectedPlayer.iconClass:"fab fa-chromecast"},{default:(0,r.w5)((function(){var e;return[a.loading?((0,r.wg)(),(0,r.j4)(b,{key:0})):(0,r.kq)("",!0),(0,r._)("div",B,[(0,r.Wm)(x,{text:"Refresh","icon-class":"fa fa-sync-alt",onClick:l.refresh},null,8,["onClick"])]),null!==(e=a.players)&&void 0!==e&&e.length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",Y,"No players found")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(a.players,(function(e,t){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["player",{selected:null!=a.selectedPlayer&&a.selectedPlayer.pluginName===e.pluginName&&a.selectedPlayer.name===e.name}]),key:t},[(0,r.Wm)(x,{text:e.name,"icon-class":e.iconClass,onClick:function(t){return l.select(e)}},null,8,["text","icon-class","onClick"])],2)})),128))]})),_:1},8,["title","icon-class"])])],64)}var Q=n(9584),G=(n(1249),n(9720),n(7852),n(5771)),X=n(9015);function J(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var ee=n(4648),te={name:"Mixin",mixins:[C.Z,P.Z],emits:["status"],props:{player:{type:Object}},data:function(){return{iconClass:null,name:null,pluginName:null}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=e.iconClass,t.t1=e.name,t.t2=e.pluginName,t.t3=e,t.next=6,e.status();case 6:return t.t4=t.sent,t.t5={iconClass:t.t0,name:t.t1,pluginName:t.t2,component:t.t3,status:t.t4},t.abrupt("return",[t.t5]);case 9:case"end":return t.stop()}}),t)})))()},status:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".status"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},play:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(e){r.next=4;break}return r.next=3,n.pause();case 3:return r.abrupt("return",r.sent);case 4:return r.next=6,n.request("".concat(n.pluginName,".play"),{resource:e.url,subtitles:t});case 6:return r.abrupt("return",r.sent);case 7:case"end":return r.stop()}}),r)})))()},pause:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".pause"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},stop:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".stop"));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},setVolume:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".set_volume"),{volume:e});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},seek:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".seek"),{position:e});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},onNewMedia:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.onMediaEvent(e);case 2:r=n.sent,r&&e.title&&t.notify({title:e.player||e.device||(null===(i=t.player)||void 0===i?void 0:i.name)||t.name||t.pluginName,text:e.title,image:{iconClass:t.iconClass||"fa fa-play"}});case 4:case"end":return n.stop()}}),n)})))()},onMediaEvent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin===t.pluginName){n.next=2;break}return n.abrupt("return",!1);case 2:return n.t0=t,n.next=5,t.status();case 5:return n.t1=n.sent,n.t0.$emit.call(n.t0,"status",n.t1),n.abrupt("return",!0);case 8:case"end":return n.stop()}}),n)})))()},addSubtitles:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".add_subtitles"),{filename:e});case 2:return n.next=4,t.request("".concat(t.pluginName,".toggle_subtitles"),{visible:!0});case 4:case"end":return n.stop()}}),n)})))()},removeSubtitles:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".toggle_subtitles"),{visible:!1});case 2:case"end":return t.stop()}}),t)})))()},supports:function(e){return"file"===(null===e||void 0===e?void 0:e.type)||"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("file://")||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}},mounted:function(){this.subscribe(this.onNewMedia,"on-new-media-".concat(this.pluginName),"platypush.message.event.media.NewPlayingMediaEvent"),this.subscribe(this.onMediaEvent,"on-media-event-".concat(this.pluginName),"platypush.message.event.media.MediaPlayEvent","platypush.message.event.media.MediaStopEvent","platypush.message.event.media.MediaPauseEvent","platypush.message.event.media.MediaSeekEvent","platypush.message.event.media.MediaVolumeChangedEvent","platypush.message.event.media.MediaMuteChangedEvent")},destroy:function(){this.unsubscribe("on-media-event-".concat(this.pluginName))}};const ne=te;var re=ne,ie={name:"Chromecast",mixins:[re],data:function(){return{name:"Chromecast",pluginName:"media.chromecast",iconClass:"fab fa-chromecast"}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("".concat(e.pluginName,".get_chromecasts"));case 2:return n=t.sent,t.abrupt("return",Promise.all(n.map(function(){var t=(0,b.Z)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,ee.Z)((0,ee.Z)({},n),{},{iconClass:"audio"===n.type?"fa fa-volume-up":"fab fa-chromecast",pluginName:e.pluginName,status:e.request("".concat(e.pluginName,".status"),{chromecast:n.name}),component:e}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())));case 4:case"end":return t.stop()}}),t)})))()},getPlayerName:function(e){var t;return"string"===typeof e?e:e?null===e||void 0===e?void 0:e.name:null===(t=this.player)||void 0===t?void 0:t.name},status:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".status"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},play:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(e){r.next=4;break}return r.next=3,n.pause(t);case 3:return r.abrupt("return",r.sent);case 4:return r.next=6,n.request("".concat(n.pluginName,".play"),{resource:e.url,chromecast:n.getPlayerName(t)});case 6:return r.abrupt("return",r.sent);case 7:case"end":return r.stop()}}),r)})))()},pause:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".pause"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},stop:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".quit"),{chromecast:t.getPlayerName(e)});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},setVolume:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.request("".concat(n.pluginName,".set_volume"),{volume:e,chromecast:n.getPlayerName(t)});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r)})))()},seek:function(e,t){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.request("".concat(n.pluginName,".seek"),{position:e,chromecast:n.getPlayerName(t)});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r)})))()},onMediaEvent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin===t.pluginName){n.next=2;break}return n.abrupt("return",!1);case 2:return n.t0=t,n.next=5,t.status(e.player);case 5:return n.t1=n.sent,n.t0.$emit.call(n.t0,"status",n.t1),n.abrupt("return",!0);case 8:case"end":return n.stop()}}),n)})))()},supports:function(e){return"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}},se=n(3744);const ae=(0,se.Z)(ie,[["render",J]]);var le=ae;function ue(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var oe={name:"Kodi",mixins:[re],data:function(){return{iconClass:"fa fa-kodi",name:"Kodi",pluginName:"media.kodi"}},methods:{getPlayers:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=e.iconClass,t.t1=e.pluginName,t.t2=(null===(n=e.$root.config["media.kodi"])||void 0===n?void 0:n.host)||e.name,t.t3=e,t.next=6,e.request("".concat(e.pluginName,".status"));case 6:return t.t4=t.sent,t.t5={iconClass:t.t0,pluginName:t.t1,name:t.t2,component:t.t3,status:t.t4},t.abrupt("return",[t.t5]);case 9:case"end":return t.stop()}}),t)})))()},supports:function(e){return"youtube"===(null===e||void 0===e?void 0:e.type)||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}};const ce=(0,se.Z)(oe,[["render",ue]]);var de=ce;function pe(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var fe={name:"Mplayer",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"MPlayer",pluginName:"media.mplayer"}}};const me=(0,se.Z)(fe,[["render",pe]]);var ve=me;function he(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var ge={name:"Mpv",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"mpv",pluginName:"media.mpv"}}};const we=(0,se.Z)(ge,[["render",he]]);var ye=we;function ke(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var be={name:"Omxplayer",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"OMXPlayer",pluginName:"media.omxplayer"}}};const xe=(0,se.Z)(be,[["render",ke]]);var _e=xe;function Ce(e,t,n,i,s,a){return(0,r.wg)(),(0,r.iD)("div")}var Pe={name:"Vlc",mixins:[re],data:function(){return{iconClass:"fa fa-tv",name:"VLC",pluginName:"media.vlc"}}};const Re=(0,se.Z)(Pe,[["render",Ce]]);var Se=Re,De={name:"Players",components:{Loading:x.Z,DropdownItem:X.Z,Dropdown:G.Z,Chromecast:le,Kodi:de,Mplayer:ve,Mpv:ye,Omxplayer:_e,Vlc:Se},emits:["select","status"],props:{pluginName:{type:String,required:!0}},data:function(){return{loading:!1,players:[],selectedPlayer:null,config:{},plugins:[]}},methods:{loadPlugins:function(){this.plugins=Object.entries(this.$refs).filter((function(e){return e[0].endsWith("Plugin")})).map((function(e){return e[1]}))},refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.players=[],e.loading=!0,n=e.$root.config,t.prev=3,t.next=6,Promise.all(e.plugins.map(function(){var t=(0,b.Z)(regeneratorRuntime.mark((function t(r){var i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.pluginName in n){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,r.getPlayers();case 4:s=t.sent,(i=e.players).push.apply(i,(0,Q.Z)(s)),null==e.selectedPlayer&&r.pluginName===e.pluginName&&s.length>0&&e.select(s[0]);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[3,,6,9]])})))()},select:function(e){this.selectedPlayer=e,this.$emit("select",e)}},mounted:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.loadPlugins();case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()}};const qe=(0,se.Z)(De,[["render",A],["__scopeId","data-v-27e87a29"]]);var Ne=qe,Ze={name:"Header",components:{Players:Ne},emits:["search","select-player","player-status","torrent-add","show-subtitles","play-url","filter","source-toggle"],props:{pluginName:{type:String,required:!0},selectedView:{type:String,required:!0},selectedSubtitles:{type:String},selectedItem:{type:Object},hasSubtitlesPlugin:{type:Boolean,default:!1},browserFilter:{type:String,default:""},sources:{type:Object,default:function(){}}},data:function(){return{filterVisible:!1,query:"",torrentURL:""}},methods:{search:function(){var e,t=this,n=Object.keys(this.sources).filter((function(e){return t.sources[e]}));null!==(e=this.query)&&void 0!==e&&e.length&&null!==n&&void 0!==n&&n.length&&this.$emit("search",{query:this.query,types:n})}},mounted:function(){var e=this;this.$watch((function(){return e.selectedView}),(function(){e.$emit("filter",""),e.torrentURL="",e.query=""}))}};const Me=(0,se.Z)(Ze,[["render",F],["__scopeId","data-v-37a493ac"]]);var $e=Me,Ve=(n(2526),n(1817),n(9600),function(e){return(0,r.dD)("data-v-28611e6c"),e=e(),(0,r.Cn)(),e}),Ie={key:0,class:"row"},We=Ve((function(){return(0,r._)("div",{class:"left side"},"Title",-1)})),ze={class:"right side"},Te=["href","textContent"],je=["textContent"],Ue={key:1,class:"row"},Le=Ve((function(){return(0,r._)("div",{class:"left side"},"TV Series",-1)})),Oe=["textContent"],Ee={key:2,class:"row"},Fe=Ve((function(){return(0,r._)("div",{class:"left side"},"Season",-1)})),He=["textContent"],Ke={key:3,class:"row"},Be=Ve((function(){return(0,r._)("div",{class:"left side"},"Episode",-1)})),Ye=["textContent"],Ae={key:4,class:"row"},Qe=Ve((function(){return(0,r._)("div",{class:"left side"},"Number of seasons",-1)})),Ge=["textContent"],Xe={key:5,class:"row"},Je=Ve((function(){return(0,r._)("div",{class:"left side"},"Synopsis",-1)})),et=["textContent"],tt={key:6,class:"row"},nt=Ve((function(){return(0,r._)("div",{class:"left side"},"Description",-1)})),rt=["textContent"],it={key:7,class:"row"},st=Ve((function(){return(0,r._)("div",{class:"left side"},"Summary",-1)})),at=["textContent"],lt={key:8,class:"row"},ut=Ve((function(){return(0,r._)("div",{class:"left side"},"Overview",-1)})),ot=["textContent"],ct={key:9,class:"row"},dt=Ve((function(){return(0,r._)("div",{class:"left side"},"Duration",-1)})),pt=["textContent"],ft={key:10,class:"row"},mt=Ve((function(){return(0,r._)("div",{class:"left side"},"Country",-1)})),vt=["textContent"],ht={key:11,class:"row"},gt=Ve((function(){return(0,r._)("div",{class:"left side"},"Network",-1)})),wt=["textContent"],yt={key:12,class:"row"},kt=Ve((function(){return(0,r._)("div",{class:"left side"},"Status",-1)})),bt=["textContent"],xt={key:13,class:"row"},_t=Ve((function(){return(0,r._)("div",{class:"left side"},"Rating",-1)})),Ct=["textContent"],Pt={key:14,class:"row"},Rt=Ve((function(){return(0,r._)("div",{class:"left side"},"Votes",-1)})),St=["textContent"],Dt={key:15,class:"row"},qt=Ve((function(){return(0,r._)("div",{class:"left side"},"Genres",-1)})),Nt=["textContent"],Zt={key:16,class:"row"},Mt=Ve((function(){return(0,r._)("div",{class:"left side"},"Channel",-1)})),$t={class:"right side"},Vt=["href","textContent"],It={key:17,class:"row"},Wt=Ve((function(){return(0,r._)("div",{class:"left side"},"Year",-1)})),zt=["textContent"],Tt={key:18,class:"row"},jt=Ve((function(){return(0,r._)("div",{class:"left side"},"Published at",-1)})),Ut=["textContent"],Lt={key:19,class:"row"},Ot=Ve((function(){return(0,r._)("div",{class:"left side"},"File",-1)})),Et=["textContent"],Ft={key:20,class:"row"},Ht=Ve((function(){return(0,r._)("div",{class:"left side"},"URL",-1)})),Kt={class:"right side url"},Bt=["href","textContent"],Yt={key:21,class:"row"},At=Ve((function(){return(0,r._)("div",{class:"left side"},"Trailer",-1)})),Qt={class:"right side url"},Gt=["href","textContent"],Xt={key:22,class:"row"},Jt=Ve((function(){return(0,r._)("div",{class:"left side"},"Size",-1)})),en=["textContent"],tn={key:23,class:"row"},nn=Ve((function(){return(0,r._)("div",{class:"left side"},"Quality",-1)})),rn=["textContent"],sn={key:24,class:"row"},an=Ve((function(){return(0,r._)("div",{class:"left side"},"Seeds",-1)})),ln=["textContent"],un={key:25,class:"row"},on=Ve((function(){return(0,r._)("div",{class:"left side"},"Peers",-1)})),cn=["textContent"],dn={key:26,class:"row"},pn=Ve((function(){return(0,r._)("div",{class:"left side"},"Language",-1)})),fn=["textContent"];function mn(e,t,n,s,a,l){var u,o,c,d,p,f,m,v,h,g,w,y,k,b,x,_,C,P,R,S,D,q,N,Z,M,$,V;return(0,r.wg)(),(0,r.iD)(r.HY,null,[null!==(u=n.item)&&void 0!==u&&u.title?((0,r.wg)(),(0,r.iD)("div",Ie,[We,(0,r._)("div",ze,[n.item.imdb_id?((0,r.wg)(),(0,r.iD)("a",{key:0,href:"https://www.imdb.com/title/".concat(n.item.imdb_id),target:"_blank",textContent:(0,i.zw)(n.item.title)},null,8,Te)):((0,r.wg)(),(0,r.iD)("span",{key:1,textContent:(0,i.zw)(n.item.title)},null,8,je))])])):(0,r.kq)("",!0),null!==(o=n.item)&&void 0!==o&&o.series?((0,r.wg)(),(0,r.iD)("div",Ue,[Le,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.series)},null,8,Oe)])):(0,r.kq)("",!0),null!==(c=n.item)&&void 0!==c&&c.season?((0,r.wg)(),(0,r.iD)("div",Ee,[Fe,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.season)},null,8,He)])):(0,r.kq)("",!0),null!==(d=n.item)&&void 0!==d&&d.episode?((0,r.wg)(),(0,r.iD)("div",Ke,[Be,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.episode)},null,8,Ye)])):(0,r.kq)("",!0),null!==(p=n.item)&&void 0!==p&&p.num_seasons?((0,r.wg)(),(0,r.iD)("div",Ae,[Qe,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.num_seasons)},null,8,Ge)])):(0,r.kq)("",!0),null!==(f=n.item)&&void 0!==f&&f.synopsis?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.synopsis)},null,8,et)])):(0,r.kq)("",!0),null!==(m=n.item)&&void 0!==m&&m.description?((0,r.wg)(),(0,r.iD)("div",tt,[nt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.description)},null,8,rt)])):(0,r.kq)("",!0),null!==(v=n.item)&&void 0!==v&&v.summary?((0,r.wg)(),(0,r.iD)("div",it,[st,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.summary)},null,8,at)])):(0,r.kq)("",!0),null!==(h=n.item)&&void 0!==h&&h.overview?((0,r.wg)(),(0,r.iD)("div",lt,[ut,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.overview)},null,8,ot)])):(0,r.kq)("",!0),null!==(g=n.item)&&void 0!==g&&g.duration?((0,r.wg)(),(0,r.iD)("div",ct,[dt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.convertTime(n.item.duration))},null,8,pt)])):(0,r.kq)("",!0),null!==(w=n.item)&&void 0!==w&&w.country?((0,r.wg)(),(0,r.iD)("div",ft,[mt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.country)},null,8,vt)])):(0,r.kq)("",!0),null!==(y=n.item)&&void 0!==y&&y.network?((0,r.wg)(),(0,r.iD)("div",ht,[gt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.network)},null,8,wt)])):(0,r.kq)("",!0),null!==(k=n.item)&&void 0!==k&&k.status?((0,r.wg)(),(0,r.iD)("div",yt,[kt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.status)},null,8,bt)])):(0,r.kq)("",!0),null!==(b=n.item)&&void 0!==b&&b.rating?((0,r.wg)(),(0,r.iD)("div",xt,[_t,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.rating.percentage)},null,8,Ct)])):(0,r.kq)("",!0),null!==(x=n.item)&&void 0!==x&&x.rating?((0,r.wg)(),(0,r.iD)("div",Pt,[Rt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.rating.votes)},null,8,St)])):(0,r.kq)("",!0),null!==(_=n.item)&&void 0!==_&&_.genres?((0,r.wg)(),(0,r.iD)("div",Dt,[qt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.genres.join(", "))},null,8,Nt)])):(0,r.kq)("",!0),null!==(C=n.item)&&void 0!==C&&C.channelId?((0,r.wg)(),(0,r.iD)("div",Zt,[Mt,(0,r._)("div",$t,[(0,r._)("a",{href:"https://www.youtube.com/channel/".concat(n.item.channelId),target:"_blank",textContent:(0,i.zw)(n.item.channelTitle||"https://www.youtube.com/channel/".concat(n.item.channelId))},null,8,Vt)])])):(0,r.kq)("",!0),null!==(P=n.item)&&void 0!==P&&P.year?((0,r.wg)(),(0,r.iD)("div",It,[Wt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.year)},null,8,zt)])):(0,r.kq)("",!0),null!==(R=n.item)&&void 0!==R&&R.publishedAt?((0,r.wg)(),(0,r.iD)("div",Tt,[jt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.formatDate(n.item.publishedAt,!0))},null,8,Ut)])):(0,r.kq)("",!0),null!==(S=n.item)&&void 0!==S&&S.file?((0,r.wg)(),(0,r.iD)("div",Lt,[Ot,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.file)},null,8,Et)])):(0,r.kq)("",!0),null!==(D=n.item)&&void 0!==D&&D.url?((0,r.wg)(),(0,r.iD)("div",Ft,[Ht,(0,r._)("div",Kt,[(0,r._)("a",{href:n.item.url,target:"_blank",textContent:(0,i.zw)(n.item.url)},null,8,Bt)])])):(0,r.kq)("",!0),null!==(q=n.item)&&void 0!==q&&q.trailer?((0,r.wg)(),(0,r.iD)("div",Yt,[At,(0,r._)("div",Qt,[(0,r._)("a",{href:n.item.trailer,target:"_blank",textContent:(0,i.zw)(n.item.trailer)},null,8,Gt)])])):(0,r.kq)("",!0),null!==(N=n.item)&&void 0!==N&&N.size?((0,r.wg)(),(0,r.iD)("div",Xt,[Jt,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(e.convertSize(n.item.size))},null,8,en)])):(0,r.kq)("",!0),null!==(Z=n.item)&&void 0!==Z&&Z.quality?((0,r.wg)(),(0,r.iD)("div",tn,[nn,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.quality)},null,8,rn)])):(0,r.kq)("",!0),null!==(M=n.item)&&void 0!==M&&M.seeds?((0,r.wg)(),(0,r.iD)("div",sn,[an,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.seeds)},null,8,ln)])):(0,r.kq)("",!0),null!==($=n.item)&&void 0!==$&&$.peers?((0,r.wg)(),(0,r.iD)("div",un,[on,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.peers)},null,8,cn)])):(0,r.kq)("",!0),null!==(V=n.item)&&void 0!==V&&V.language?((0,r.wg)(),(0,r.iD)("div",dn,[pn,(0,r._)("div",{class:"right side",textContent:(0,i.zw)(n.item.language)},null,8,fn)])):(0,r.kq)("",!0)],64)}var vn={name:"Info",mixins:[C.Z,P.Z],props:{item:{type:Object,default:function(){}}}};const hn=(0,se.Z)(vn,[["render",mn],["__scopeId","data-v-28611e6c"]]);var gn=hn,wn=["title","onClick"];function yn(e,t,n,s,a,l){return(0,r.wg)(),(0,r.iD)("nav",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.views,(function(t,s){return(0,r.wg)(),(0,r.iD)("li",{key:s,title:t.displayName,class:(0,i.C_)({selected:s===n.selectedView}),onClick:function(t){return e.$emit("input",s)}},[(0,r._)("i",{class:(0,i.C_)(t.iconClass)},null,2)],10,wn)})),128))])}var kn={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:function(){return{search:{iconClass:"fa fa-search",displayName:"Search"},browser:{iconClass:"fa fa-folder",displayName:"Browser"},torrents:{iconClass:"fa fa-magnet",displayName:"Torrents"}}}}}};const bn=(0,se.Z)(kn,[["render",yn],["__scopeId","data-v-4597e14d"]]);var xn=bn,_n={class:"media-results"},Cn={key:0,class:"no-content"},Pn=["onClick"],Rn={class:"col-10 left side"},Sn={class:"icon"},Dn=["textContent"],qn={class:"col-2 right side"};function Nn(e,t,n,s,a,l){var u,o=(0,r.up)("DropdownItem"),c=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)("div",_n,[null!==(u=n.results)&&void 0!==u&&u.length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",Cn," No search results ")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.results,(function(t,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["row item",{selected:n.selectedResult===s,hidden:!n.sources[t.type]}]),key:s,onClick:function(t){return e.$emit("select",s)}},[(0,r._)("div",Rn,[(0,r._)("div",Sn,[(0,r._)("i",{class:(0,i.C_)(a.typeIcons[t.type])},null,2)]),(0,r._)("div",{class:"title",textContent:(0,i.zw)(t.title)},null,8,Dn)]),(0,r._)("div",qn,[(0,r.Wm)(c,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:function(t){return e.$emit("select",s)}},{default:(0,r.w5)((function(){return["torrent"!==(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:function(n){return e.$emit("play",t)}},null,8,["onClick"])):(0,r.kq)("",!0),"torrent"===(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:1,"icon-class":"fa fa-download",text:"Download",onClick:function(n){return e.$emit("download",t)}},null,8,["onClick"])):(0,r.kq)("",!0),"file"===(null===t||void 0===t?void 0:t.type)?((0,r.wg)(),(0,r.j4)(o,{key:2,"icon-class":"fa fa-window-maximize",text:"View in browser",onClick:function(n){return e.$emit("view",t)}},null,8,["onClick"])):(0,r.kq)("",!0),(0,r.Wm)(o,{"icon-class":"fa fa-info",text:"Info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1032,["onClick"])])],10,Pn)})),128))])}n(9653);var Zn={name:"Results",components:{Dropdown:G.Z,DropdownItem:X.Z},emits:["select","info","play","view","download"],props:{results:{type:Array,default:function(){return[]}},selectedResult:{type:Number},sources:{type:Object,default:function(){}}},data:function(){return{typeIcons:{file:"fa fa-hdd",torrent:"fa fa-magnet",youtube:"fab fa-youtube",plex:"fa fa-plex",jellyfin:"fa fa-jellyfin"}}}};const Mn=(0,se.Z)(Zn,[["render",Nn],["__scopeId","data-v-28f7c518"]]);var $n=Mn,Vn=function(e){return(0,r.dD)("data-v-77ae3705"),e=e(),(0,r.Cn)(),e},In={class:"subtitles-container"},Wn={class:"items"},zn=Vn((function(){return(0,r._)("div",{class:"col-1 icon"},[(0,r._)("i",{class:"fa fa-ban"})],-1)})),Tn=Vn((function(){return(0,r._)("div",{class:"col-11 title"},"None",-1)})),jn=[zn,Tn],Un=["onClick"],Ln={class:"col-1 icon"},On={key:0,class:"fa fa-file"},En={key:2,class:"fa fa-closed-captioning"},Fn={class:"footer"};function Hn(e,t,n,s,a,l){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",In,[(0,r._)("div",Wn,[a.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row item",{selected:null==a.selectedItem}]),onClick:t[0]||(t[0]=function(e){return a.selectedItem=null})},jn,2),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(a.items,(function(e,t){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["row item",{selected:a.selectedItem===t}]),key:t,onClick:function(e){return a.selectedItem=t}},[(0,r._)("div",Ln,[e.IsLocal?((0,r.wg)(),(0,r.iD)("i",On)):e.ISO639?((0,r.wg)(),(0,r.iD)("i",{key:1,class:(0,i.C_)(["flag-icon","flag-icon-".concat(e.ISO639)])},null,2)):((0,r.wg)(),(0,r.iD)("i",En))]),(0,r.Uk)(" "+(0,i.zw)(e.SubFileName),1)],10,Un)})),128))]),(0,r._)("div",Fn,[(0,r._)("button",{onClick:t[1]||(t[1]=function(t){return e.$emit("select-subs",null==a.selectedItem?null:a.items[a.selectedItem])})},"Select")])])}var Kn={name:"Subtitles",mixins:[C.Z],components:{Loading:x.Z},emits:["select-subs"],props:{item:{type:Object,default:function(){}}},data:function(){return{loading:!1,items:[],selectedItem:null}},methods:{refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("media.subtitles.search",{resource:e.item.url,language:"all"});case 4:e.items=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){this.refresh()}};const Bn=(0,se.Z)(Kn,[["render",Hn],["__scopeId","data-v-77ae3705"]]);var Yn=Bn,An=n(779),Qn=(n(3123),function(e){return(0,r.dD)("data-v-a2e5c946"),e=e(),(0,r.Cn)(),e}),Gn={class:"browser-container"},Xn=Qn((function(){return(0,r._)("div",{class:"col-10 left side"},[(0,r._)("i",{class:"icon fa fa-folder"}),(0,r._)("span",{class:"name"},"..")],-1)})),Jn=[Xn],er=["onClick"],tr={class:"col-10"},nr={class:"name"},rr={class:"col-2 actions"};function ir(e,t,n,s,a,l){var u,o=(0,r.up)("Loading"),c=(0,r.up)("DropdownItem"),d=(0,r.up)("Dropdown");return(0,r.wg)(),(0,r.iD)("div",Gn,[a.loading?((0,r.wg)(),(0,r.j4)(o,{key:0})):(0,r.kq)("",!0),null!==(u=a.path)&&void 0!==u&&u.length&&"/"!==a.path?((0,r.wg)(),(0,r.iD)("div",{key:1,class:"row item",onClick:t[0]||(t[0]=function(e){return a.path=(a.path||"")+"/.."})},Jn)):(0,r.kq)("",!0),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(l.filteredFiles,(function(t,s){return(0,r.wg)(),(0,r.iD)("div",{class:"row item",key:s,onClick:function(e){return a.path=t.path}},[(0,r._)("div",tr,[(0,r._)("i",{class:(0,i.C_)(["icon fa",{"fa-file":"directory"!==t.type,"fa-folder":"directory"===t.type}])},null,2),(0,r._)("span",nr,(0,i.zw)(t.name),1)]),(0,r._)("div",rr,[(0,r.Wm)(d,null,{default:(0,r.w5)((function(){return[n.isMedia&&e.mediaExtensions.has(t.name.split(".").pop())?((0,r.wg)(),(0,r.j4)(c,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:function(n){return e.$emit("play",{type:"file",url:"file://".concat(t.path)})}},null,8,["onClick"])):(0,r.kq)("",!0)]})),_:2},1024)])],8,er)})),128))])}var sr={name:"Browser",components:{DropdownItem:X.Z,Dropdown:G.Z,Loading:x.Z},mixins:[C.Z,P.Z],emits:["path-change"],props:{initialPath:{type:String},isMedia:{type:Boolean},filter:{type:String,default:""}},data:function(){return{loading:!1,path:this.initialPath,files:[]}},computed:{filteredFiles:function(){var e,t=this;return null!==(e=this.filter)&&void 0!==e&&e.length?this.files.filter((function(e){return((null===e||void 0===e?void 0:e.name)||"").toLowerCase().indexOf(t.filter.toLowerCase())>=0})):this.files}},methods:{refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("file.list",{path:e.path});case 4:e.files=t.sent,e.$emit("path-change",e.path);case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.path}),(function(){return e.refresh()})),this.refresh()}};const ar=(0,se.Z)(sr,[["render",ir],["__scopeId","data-v-a2e5c946"]]);var lr=ar,ur={name:"Media",mixins:[C.Z,P.Z],components:{Browser:lr,Loading:x.Z,MediaView:R.Z,Header:$e,Results:$n,Modal:_.Z,Info:gn,Nav:xn,TorrentView:An.Z,Subtitles:Yn},props:{pluginName:{type:String,required:!0},mediaButtons:{type:Object,default:function(){return{previous:!1,next:!1,stop:!0}}}},data:function(){return{loading:!1,results:[],selectedResult:null,selectedPlayer:null,selectedView:"search",selectedSubtitles:null,showSubtitlesModal:!1,awaitingPlayTorrent:null,urlPlay:null,browserFilter:null,torrentPlugin:null,torrentPlugins:["torrent","rtorrent"],sources:{file:!0,youtube:!0,torrent:!0}}},computed:{hasSubtitlesPlugin:function(){return"media.subtitles"in this.$root.config}},methods:{search:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("".concat(t.pluginName,".search"),e);case 4:t.results=n.sent;case 5:return n.prev=5,t.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()},play:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("torrent"!==(null===(r=e)||void 0===r?void 0:r.type)){n.next=5;break}return t.awaitingPlayTorrent=e.url,n.next=4,t.download(e);case 4:return n.abrupt("return");case 5:if(t.selectedPlayer.component.supports(e)){n.next=9;break}return n.next=8,t.startStreaming(e);case 8:e=n.sent;case 9:return n.next=11,t.selectedPlayer.component.play(e,t.selectedSubtitles,t.selectedPlayer);case 11:return n.next=13,t.refresh();case 13:case"end":return n.stop()}}),n)})))()},pause:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.pause(e.selectedPlayer);case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()},stop:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.stop(e.selectedPlayer);case 2:return t.next=4,e.refresh();case 4:case"end":return t.stop()}}),t)})))()},setVolume:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.selectedPlayer.component.setVolume(e,t.selectedPlayer);case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},seek:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.selectedPlayer.component.seek(e,t.selectedPlayer);case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},view:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.startStreaming(e,!0);case 2:r=n.sent,window.open(r.url,"_blank");case 4:case"end":return n.stop()}}),n)})))()},download:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("torrent"!==(null===e||void 0===e?void 0:e.type)){n.next=3;break}return n.next=3,t.downloadTorrent(e);case 3:case"end":return n.stop()}}),n)})))()},refresh:function(){var e=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.selectedPlayer.component.status(e.selectedPlayer);case 2:e.selectedPlayer.status=t.sent;case 3:case"end":return t.stop()}}),t)})))()},onStatusUpdate:function(e){this.selectedPlayer&&(this.selectedPlayer.status=e)},onTorrentQueued:function(e){this.notify({title:"Torrent queued for download",text:e.name,image:{iconClass:"fa fa-magnet"}})},onTorrentMetadata:function(e){this.notify({title:"Torrent metadata downloaded",text:e.name,image:{iconClass:"fa fa-info"}})},onTorrentDownloadStart:function(e){this.notify({title:"Torrent download started",text:e.name,image:{iconClass:"fa fa-download"}})},onTorrentDownloadCompleted:function(e){this.notify({title:"Torrent download completed",text:e.name,image:{iconClass:"fa fa-check"}})},getTorrentPlugin:function(){var e=this.$root.config[this.pluginName]||{},t=e.torrent_plugin;if(!t){var n,r=(0,k.Z)(this.torrentPlugins);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i in this.$root.config){t=i;break}}}catch(s){r.e(s)}finally{r.f()}}return t},downloadTorrent:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=t.getTorrentPlugin(),r){n.next=4;break}return t.notify({text:"No torrent plugins configured",error:!0}),n.abrupt("return");case 4:return n.next=6,t.request("".concat(r,".download"),{torrent:(null===e||void 0===e?void 0:e.url)||e});case 6:return n.abrupt("return",n.sent);case 7:case"end":return n.stop()}}),n)})))()},selectSubtitles:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.$refs.subtitlesSelector.close(),e){n.next=4;break}return t.selectedSubtitles=null,n.abrupt("return");case 4:return t.notify({text:"Downloading subtitles track",image:{iconClass:"fa fa-download"}}),n.next=7,t.request("media.subtitles.download",{link:e.SubDownloadLink});case 7:r=n.sent,t.selectedSubtitles=r.filename,t.notify({text:"Subtitles track downloaded",image:{iconClass:"fa fa-check"}});case 10:case"end":return n.stop()}}),n)})))()},onResultSelect:function(e){null!=this.selectedResult&&this.selectedResult===e||(this.selectedResult=e,this.selectedSubtitles=null)},playUrl:function(e){var t=this;return(0,b.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.play({url:e});case 4:t.$refs.playUrlModal.close();case 5:return n.prev=5,t.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selectedPlayer}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.selectedSubtitles}),(function(t){var n,r;new Set(["play","pause"]).has(null===(n=e.selectedPlayer)||void 0===n||null===(r=n.status)||void 0===r?void 0:r.state)&&(t?e.selectedPlayer.component.addSubtitles(t):e.selectedPlayer.component.removeSubtitles())})),this.torrentPlugin=this.getTorrentPlugin(),this.subscribe(this.onTorrentQueued,"notify-on-torrent-queued","platypush.message.event.torrent.TorrentQueuedEvent"),this.subscribe(this.onTorrentMetadata,"on-torrent-metadata","platypush.message.event.torrent.TorrentDownloadedMetadataEvent"),this.subscribe(this.onTorrentDownloadStart,"notify-on-torrent-download-start","platypush.message.event.torrent.TorrentDownloadStartEvent"),this.subscribe(this.onTorrentDownloadCompleted,"notify-on-torrent-download-completed","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),"media.plex"in this.$root.config&&(this.sources.plex=!0),"media.jellyfin"in this.$root.config&&(this.sources.jellyfin=!0)},destroy:function(){this.unsubscribe("notify-on-torrent-queued"),this.unsubscribe("on-torrent-metadata"),this.unsubscribe("notify-on-torrent-download-start"),this.unsubscribe("notify-on-torrent-download-completed")}};const or=(0,se.Z)(ur,[["render",y],["__scopeId","data-v-040b2676"]]);var cr=or}}]); +//# sourceMappingURL=4196-legacy.b3577e2e.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js.map b/platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js.map rename to platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js.map index d9381ea0e..a1bb87038 100644 --- a/platypush/backend/http/webapp/dist/static/js/4196-legacy.9c63a429.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4196-legacy.b3577e2e.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4196-legacy.9c63a429.js","mappings":"qGAAA,IAAIA,EAAkB,EAAQ,MAE1BC,EAAQD,EAAgB,SAE5BE,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAS,IACb,IACE,MAAMD,GAAaC,EAMrB,CALE,MAAOC,GACP,IAEE,OADAD,EAAOJ,IAAS,EACT,MAAMG,GAAaC,EACG,CAA7B,MAAOE,GAAsB,CACjC,CAAE,OAAO,CACX,C,uBCdA,IAAIC,EAAW,EAAQ,MAEnBC,EAAaC,UAEjBR,EAAOC,QAAU,SAAUQ,GACzB,GAAIH,EAASG,GACX,MAAMF,EAAW,iDACjB,OAAOE,CACX,C,oCCPA,IAAIC,EAAI,EAAQ,MACZC,EAAc,EAAQ,MACtBC,EAA2B,UAC3BC,EAAW,EAAQ,MACnBC,EAAW,EAAQ,MACnBC,EAAa,EAAQ,MACrBC,EAAyB,EAAQ,MACjCC,EAAuB,EAAQ,MAC/BC,EAAU,EAAQ,MAGlBC,EAAcR,EAAY,GAAGS,UAC7BC,EAAQV,EAAY,GAAGU,OACvBC,EAAMC,KAAKD,IAEXE,EAA0BP,EAAqB,YAE/CQ,GAAoBP,IAAYM,KAA6B,WAC/D,IAAIE,EAAad,EAAyBe,OAAOC,UAAW,YAC5D,OAAOF,IAAeA,EAAWG,QACnC,CAHiE,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,G6BpWH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS0H,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://platypush/./node_modules/core-js/internals/not-a-regexp.js","webpack://platypush/./node_modules/core-js/modules/es.string.ends-with.js","webpack://platypush/./node_modules/core-js/modules/es.string.starts-with.js","webpack://platypush/./src/components/panels/Media/Index.vue","webpack://platypush/./src/components/panels/Media/Header.vue","webpack://platypush/./src/components/panels/Media/Players.vue","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue?8a34","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue?c107","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue?6dfd","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue?eab0","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue?06ab","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue?69bd","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue?4868","webpack://platypush/./src/components/panels/Media/Players.vue?c223","webpack://platypush/./src/components/panels/Media/Header.vue?b895","webpack://platypush/./src/components/panels/Media/Info.vue","webpack://platypush/./src/components/panels/Media/Info.vue?c19c","webpack://platypush/./src/components/panels/Media/Nav.vue","webpack://platypush/./src/components/panels/Media/Nav.vue?bae0","webpack://platypush/./src/components/panels/Media/Results.vue","webpack://platypush/./src/components/panels/Media/Results.vue?23d6","webpack://platypush/./src/components/panels/Media/Subtitles.vue","webpack://platypush/./src/components/panels/Media/Subtitles.vue?17fa","webpack://platypush/./src/components/File/Browser.vue","webpack://platypush/./src/components/File/Browser.vue?8abf","webpack://platypush/./src/components/panels/Media/Index.vue?1f2c"],"sourcesContent":["var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Chromecast.vue?vue&type=template&id=55476f3a\"\nimport script from \"./Chromecast.vue?vue&type=script&lang=js\"\nexport * from \"./Chromecast.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Kodi.vue?vue&type=template&id=25a1a1cf\"\nimport script from \"./Kodi.vue?vue&type=script&lang=js\"\nexport * from \"./Kodi.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mplayer.vue?vue&type=template&id=0caf2d73\"\nimport script from \"./Mplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Mplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mpv.vue?vue&type=template&id=3b3bb533\"\nimport script from \"./Mpv.vue?vue&type=script&lang=js\"\nexport * from \"./Mpv.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Omxplayer.vue?vue&type=template&id=0f086473\"\nimport script from \"./Omxplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Omxplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Vlc.vue?vue&type=template&id=5b5bcdd3\"\nimport script from \"./Vlc.vue?vue&type=script&lang=js\"\nexport * from \"./Vlc.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Players.vue?vue&type=template&id=27e87a29&scoped=true\"\nimport script from \"./Players.vue?vue&type=script&lang=js\"\nexport * from \"./Players.vue?vue&type=script&lang=js\"\n\nimport \"./Players.vue?vue&type=style&index=0&id=27e87a29&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27e87a29\"]])\n\nexport default __exports__","import { render } from \"./Header.vue?vue&type=template&id=37a493ac&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=37a493ac&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-37a493ac\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=28611e6c&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=28611e6c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28611e6c\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=4597e14d&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=4597e14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4597e14d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Results.vue?vue&type=template&id=28f7c518&scoped=true\"\nimport script from \"./Results.vue?vue&type=script&lang=js\"\nexport * from \"./Results.vue?vue&type=script&lang=js\"\n\nimport \"./Results.vue?vue&type=style&index=0&id=28f7c518&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28f7c518\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Subtitles.vue?vue&type=template&id=77ae3705&scoped=true\"\nimport script from \"./Subtitles.vue?vue&type=script&lang=js\"\nexport * from \"./Subtitles.vue?vue&type=script&lang=js\"\n\nimport \"./Subtitles.vue?vue&type=style&index=0&id=77ae3705&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-77ae3705\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Browser.vue?vue&type=template&id=a2e5c946&scoped=true\"\nimport script from \"./Browser.vue?vue&type=script&lang=js\"\nexport * from \"./Browser.vue?vue&type=script&lang=js\"\n\nimport \"./Browser.vue?vue&type=style&index=0&id=a2e5c946&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a2e5c946\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=040b2676&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=040b2676&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-040b2676\"]])\n\nexport default __exports__"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","loading","pluginName","status","selectedPlayer","track","buttons","mediaButtons","pause","stop","setVolume","seek","selectedView","$event","hasSubtitlesPlugin","ref","sources","selectedSubtitles","browserFilter","onStatusUpdate","downloadTorrent","showSubtitlesModal","$refs","playUrlModal","show","header","filterVisible","results","selectedResult","onResultSelect","play","mediaInfo","isVisible","view","download","torrentPlugin","filter","title","item","visible","selectSubtitles","playUrlInput","focus","playUrl","urlPlay","type","autofocus","disabled","placeholder","query","$emit","torrentURL","value","selectedItem","Object","keys","source","key","checked","player","name","iconClass","text","refresh","players","i","select","mixins","Utils","emits","props","data","methods","getPlayers","component","request","resource","subs","url","subtitles","volume","position","onNewMedia","event","onMediaEvent","isMine","notify","device","image","plugin","addSubtitles","filename","removeSubtitles","supports","mounted","subscribe","destroy","unsubscribe","__exports__","Mixin","devices","Promise","all","map","chromecast","getPlayerName","$root","config","host","components","Loading","DropdownItem","Dropdown","Chromecast","Kodi","Mplayer","Mpv","Omxplayer","Vlc","required","plugins","loadPlugins","entries","p","push","Players","Boolean","default","types","$watch","imdb_id","href","series","season","episode","num_seasons","synopsis","description","summary","overview","duration","country","network","rating","percentage","votes","genres","join","channelId","channelTitle","year","publishedAt","file","trailer","size","quality","seeds","peers","language","views","displayName","collapsed","browser","torrents","result","typeIcons","Array","Number","items","sub","IsLocal","ISO639","SubFileName","path","filteredFiles","isMedia","mediaExtensions","has","split","pop","initialPath","files","computed","toLowerCase","indexOf","Browser","MediaView","Header","Results","Modal","Info","Nav","TorrentView","Subtitles","previous","next","awaitingPlayTorrent","torrentPlugins","startStreaming","ret","window","open","onTorrentQueued","onTorrentMetadata","onTorrentDownloadStart","onTorrentDownloadCompleted","getTorrentPlugin","pluginConf","torrent_plugin","error","torrent","subtitlesSelector","close","link","SubDownloadLink","Set","state","plex","jellyfin","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4196-legacy.b3577e2e.js","mappings":"qGAAA,IAAIA,EAAkB,EAAQ,MAE1BC,EAAQD,EAAgB,SAE5BE,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAS,IACb,IACE,MAAMD,GAAaC,EAMrB,CALE,MAAOC,GACP,IAEE,OADAD,EAAOJ,IAAS,EACT,MAAMG,GAAaC,EACG,CAA7B,MAAOE,GAAsB,CACjC,CAAE,OAAO,CACX,C,uBCdA,IAAIC,EAAW,EAAQ,MAEnBC,EAAaC,UAEjBR,EAAOC,QAAU,SAAUQ,GACzB,GAAIH,EAASG,GACX,MAAMF,EAAW,iDACjB,OAAOE,CACX,C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AChC,sDACJtN,KAAK2G,UAAU3G,KAAKuN,kBAAkB,sBAClC,kEACJvN,KAAK2G,UAAU3G,KAAKwN,uBAAuB,mCACvC,6DACJxN,KAAK2G,UAAU3G,KAAKyN,2BAA2B,uCAC3C,iEAEA,eAAgBzN,KAAKsH,MAAMC,SAC7BvH,KAAK4B,QAAQyM,MAAO,GAElB,mBAAoBrO,KAAKsH,MAAMC,SACjCvH,KAAK4B,QAAQ0M,UAAW,EAC3B,EAED1H,QA7Qa,WA8QX5G,KAAK6G,YAAY,4BACjB7G,KAAK6G,YAAY,uBACjB7G,KAAK6G,YAAY,oCACjB7G,KAAK6G,YAAY,uCAClB,G6BpWH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS0H,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://platypush/./node_modules/core-js/internals/not-a-regexp.js","webpack://platypush/./node_modules/core-js/modules/es.string.ends-with.js","webpack://platypush/./node_modules/core-js/modules/es.string.starts-with.js","webpack://platypush/./src/components/panels/Media/Index.vue","webpack://platypush/./src/components/panels/Media/Header.vue","webpack://platypush/./src/components/panels/Media/Players.vue","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue?8a34","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue?c107","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue?6dfd","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue?eab0","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue?06ab","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue?69bd","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue?4868","webpack://platypush/./src/components/panels/Media/Players.vue?c223","webpack://platypush/./src/components/panels/Media/Header.vue?b895","webpack://platypush/./src/components/panels/Media/Info.vue","webpack://platypush/./src/components/panels/Media/Info.vue?c19c","webpack://platypush/./src/components/panels/Media/Nav.vue","webpack://platypush/./src/components/panels/Media/Nav.vue?bae0","webpack://platypush/./src/components/panels/Media/Results.vue","webpack://platypush/./src/components/panels/Media/Results.vue?23d6","webpack://platypush/./src/components/panels/Media/Subtitles.vue","webpack://platypush/./src/components/panels/Media/Subtitles.vue?17fa","webpack://platypush/./src/components/File/Browser.vue","webpack://platypush/./src/components/File/Browser.vue?8abf","webpack://platypush/./src/components/panels/Media/Index.vue?1f2c"],"sourcesContent":["var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Chromecast.vue?vue&type=template&id=55476f3a\"\nimport script from \"./Chromecast.vue?vue&type=script&lang=js\"\nexport * from \"./Chromecast.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Kodi.vue?vue&type=template&id=25a1a1cf\"\nimport script from \"./Kodi.vue?vue&type=script&lang=js\"\nexport * from \"./Kodi.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mplayer.vue?vue&type=template&id=0caf2d73\"\nimport script from \"./Mplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Mplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mpv.vue?vue&type=template&id=3b3bb533\"\nimport script from \"./Mpv.vue?vue&type=script&lang=js\"\nexport * from \"./Mpv.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Omxplayer.vue?vue&type=template&id=0f086473\"\nimport script from \"./Omxplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Omxplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Vlc.vue?vue&type=template&id=5b5bcdd3\"\nimport script from \"./Vlc.vue?vue&type=script&lang=js\"\nexport * from \"./Vlc.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Players.vue?vue&type=template&id=27e87a29&scoped=true\"\nimport script from \"./Players.vue?vue&type=script&lang=js\"\nexport * from \"./Players.vue?vue&type=script&lang=js\"\n\nimport \"./Players.vue?vue&type=style&index=0&id=27e87a29&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27e87a29\"]])\n\nexport default __exports__","import { render } from \"./Header.vue?vue&type=template&id=37a493ac&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=37a493ac&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-37a493ac\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=28611e6c&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=28611e6c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28611e6c\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=4597e14d&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=4597e14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4597e14d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Results.vue?vue&type=template&id=28f7c518&scoped=true\"\nimport script from \"./Results.vue?vue&type=script&lang=js\"\nexport * from \"./Results.vue?vue&type=script&lang=js\"\n\nimport \"./Results.vue?vue&type=style&index=0&id=28f7c518&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28f7c518\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Subtitles.vue?vue&type=template&id=77ae3705&scoped=true\"\nimport script from \"./Subtitles.vue?vue&type=script&lang=js\"\nexport * from \"./Subtitles.vue?vue&type=script&lang=js\"\n\nimport \"./Subtitles.vue?vue&type=style&index=0&id=77ae3705&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-77ae3705\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Browser.vue?vue&type=template&id=a2e5c946&scoped=true\"\nimport script from \"./Browser.vue?vue&type=script&lang=js\"\nexport * from \"./Browser.vue?vue&type=script&lang=js\"\n\nimport \"./Browser.vue?vue&type=style&index=0&id=a2e5c946&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a2e5c946\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=040b2676&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=040b2676&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-040b2676\"]])\n\nexport default __exports__"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","loading","pluginName","status","selectedPlayer","track","buttons","mediaButtons","pause","stop","setVolume","seek","selectedView","$event","hasSubtitlesPlugin","ref","sources","selectedSubtitles","browserFilter","onStatusUpdate","downloadTorrent","showSubtitlesModal","$refs","playUrlModal","show","header","filterVisible","results","selectedResult","onResultSelect","play","mediaInfo","isVisible","view","download","torrentPlugin","filter","title","item","visible","selectSubtitles","playUrlInput","focus","playUrl","urlPlay","type","autofocus","disabled","placeholder","query","$emit","torrentURL","value","selectedItem","Object","keys","source","key","checked","player","name","iconClass","text","refresh","players","i","select","mixins","Utils","emits","props","data","methods","getPlayers","component","request","resource","subs","url","subtitles","volume","position","onNewMedia","event","onMediaEvent","isMine","notify","device","image","plugin","addSubtitles","filename","removeSubtitles","supports","mounted","subscribe","destroy","unsubscribe","__exports__","Mixin","devices","Promise","all","map","chromecast","getPlayerName","$root","config","host","components","Loading","DropdownItem","Dropdown","Chromecast","Kodi","Mplayer","Mpv","Omxplayer","Vlc","required","plugins","loadPlugins","entries","p","push","Players","Boolean","default","types","$watch","imdb_id","href","series","season","episode","num_seasons","synopsis","description","summary","overview","duration","country","network","rating","percentage","votes","genres","join","channelId","channelTitle","year","publishedAt","file","trailer","size","quality","seeds","peers","language","views","displayName","collapsed","browser","torrents","result","typeIcons","Array","Number","items","sub","IsLocal","ISO639","SubFileName","path","filteredFiles","isMedia","mediaExtensions","has","split","pop","initialPath","files","computed","toLowerCase","indexOf","Browser","MediaView","Header","Results","Modal","Info","Nav","TorrentView","Subtitles","previous","next","awaitingPlayTorrent","torrentPlugins","startStreaming","ret","window","open","onTorrentQueued","onTorrentMetadata","onTorrentDownloadStart","onTorrentDownloadCompleted","getTorrentPlugin","pluginConf","torrent_plugin","error","torrent","subtitlesSelector","close","link","SubDownloadLink","Set","state","plex","jellyfin","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js b/platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js rename to platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js index 45a604c68..ea9d7f921 100644 --- a/platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js +++ b/platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4196],{4196:function(e,t,s){s.r(t),s.d(t,{default:function(){return li}});var i=s(6252),a=s(3577),l=s(9963);const n={class:"media-plugin fade-in"},r={class:"nav-container"},o={class:"view-container"},d={class:"media-info-container"},c={class:"subtitles-container"},u={key:0,class:"subtitles-content"},m={class:"play-url-container"},p={class:"row"},h=(0,i.Uk)(" Play URL (use "),y=(0,i.Uk)("file://"),w=(0,i.Uk)(" prefix for local files) "),f={class:"row footer"},g=["disabled"];function v(e,t,s,v,_,k){const C=(0,i.up)("Loading"),b=(0,i.up)("Nav"),x=(0,i.up)("Header"),P=(0,i.up)("Results"),D=(0,i.up)("TorrentView"),S=(0,i.up)("Browser"),q=(0,i.up)("MediaView"),N=(0,i.up)("Info"),$=(0,i.up)("Modal"),I=(0,i.up)("Subtitles"),z=(0,i.up)("tt");return(0,i.wg)(),(0,i.j4)(i.Ob,null,[(0,i._)("div",n,[_.loading?((0,i.wg)(),(0,i.j4)(C,{key:0})):(0,i.kq)("",!0),(0,i.Wm)(q,{"plugin-name":s.pluginName,status:_.selectedPlayer?.status||{},track:_.selectedPlayer?.status||{},buttons:s.mediaButtons,onPlay:k.pause,onPause:k.pause,onStop:k.stop,onSetVolume:k.setVolume,onSeek:k.seek,onSearch:k.search},{default:(0,i.w5)((()=>[(0,i._)("main",null,[(0,i._)("div",r,[(0,i.Wm)(b,{"selected-view":_.selectedView,onInput:t[0]||(t[0]=e=>_.selectedView=e)},null,8,["selected-view"])]),(0,i._)("div",o,[(0,i.Wm)(x,{"plugin-name":s.pluginName,"selected-view":_.selectedView,"has-subtitles-plugin":k.hasSubtitlesPlugin,ref:"header",sources:_.sources,"selected-item":_.selectedPlayer&&_.selectedPlayer.status&&("play"===_.selectedPlayer.status.state||"pause"===_.selectedPlayer.status.state)?_.selectedPlayer.status:_.results[_.selectedResult],"selected-subtitles":_.selectedSubtitles,"browser-filter":_.browserFilter,onSearch:k.search,onSelectPlayer:t[1]||(t[1]=e=>_.selectedPlayer=e),onPlayerStatus:k.onStatusUpdate,onTorrentAdd:t[2]||(t[2]=e=>k.downloadTorrent(e)),onShowSubtitles:t[3]||(t[3]=e=>_.showSubtitlesModal=!_.showSubtitlesModal),onPlayUrl:t[4]||(t[4]=t=>e.$refs.playUrlModal.show()),onFilter:t[5]||(t[5]=e=>_.browserFilter=e),onSourceToggle:t[6]||(t[6]=e=>_.sources[e]=!_.sources[e])},null,8,["plugin-name","selected-view","has-subtitles-plugin","sources","selected-item","selected-subtitles","browser-filter","onSearch","onPlayerStatus"]),(0,i._)("div",{class:(0,a.C_)(["body-container",{"expanded-header":e.$refs.header?.filterVisible}])},["search"===_.selectedView?((0,i.wg)(),(0,i.j4)(P,{key:0,results:_.results,"selected-result":_.selectedResult,onSelect:t[7]||(t[7]=e=>k.onResultSelect(e)),onPlay:k.play,onInfo:t[8]||(t[8]=t=>e.$refs.mediaInfo.isVisible=!0),onView:k.view,onDownload:k.download,sources:_.sources},null,8,["results","selected-result","onPlay","onView","onDownload","sources"])):"torrents"===_.selectedView?((0,i.wg)(),(0,i.j4)(D,{key:1,"plugin-name":_.torrentPlugin,"is-media":!0,onPlay:k.play},null,8,["plugin-name","onPlay"])):"browser"===_.selectedView?((0,i.wg)(),(0,i.j4)(S,{key:2,"plugin-name":_.torrentPlugin,"is-media":!0,filter:_.browserFilter,onPathChange:t[9]||(t[9]=e=>_.browserFilter=""),onPlay:t[10]||(t[10]=e=>k.play(e))},null,8,["plugin-name","filter"])):(0,i.kq)("",!0)],2)])])])),_:1},8,["plugin-name","status","track","buttons","onPlay","onPause","onStop","onSetVolume","onSeek","onSearch"]),(0,i._)("div",d,[(0,i.Wm)($,{title:"Media info",ref:"mediaInfo"},{default:(0,i.w5)((()=>[null!=_.selectedResult?((0,i.wg)(),(0,i.j4)(N,{key:0,item:_.results[_.selectedResult]},null,8,["item"])):(0,i.kq)("",!0)])),_:1},512)]),(0,i._)("div",c,[(0,i.Wm)($,{title:"Available subtitles",visible:_.showSubtitlesModal,ref:"subtitlesSelector",onClose:t[12]||(t[12]=e=>_.showSubtitlesModal=!1)},{default:(0,i.w5)((()=>[_.showSubtitlesModal&&null!=_.selectedResult?((0,i.wg)(),(0,i.iD)("div",u,[(0,i.Wm)(I,{item:_.selectedPlayer&&_.selectedPlayer.status&&("play"===_.selectedPlayer.status.state||"pause"===_.selectedPlayer.status.state)?_.selectedPlayer.status:_.results[_.selectedResult],onSelectSubs:t[11]||(t[11]=e=>k.selectSubtitles(e))},null,8,["item"])])):(0,i.kq)("",!0)])),_:1},8,["visible"])]),(0,i._)("div",m,[(0,i.Wm)($,{title:"Play URL",ref:"playUrlModal",onOpen:t[15]||(t[15]=t=>e.$refs.playUrlInput.focus())},{default:(0,i.w5)((()=>[(0,i._)("form",{onSubmit:t[14]||(t[14]=(0,l.iM)((e=>k.playUrl(_.urlPlay)),["prevent"]))},[(0,i._)("div",p,[(0,i._)("label",null,[h,(0,i.Wm)(z,null,{default:(0,i.w5)((()=>[y])),_:1}),w,(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[13]||(t[13]=e=>_.urlPlay=e),ref:"playUrlInput",autofocus:""},null,512),[[l.nr,_.urlPlay]])])]),(0,i._)("div",f,[(0,i._)("button",{type:"submit",disabled:!_.urlPlay?.length},"Play",8,g)])],32)])),_:1},512)])])],1024)}var _=s(1232),k=s(9642),C=s(6813),b=s(8337),x=s(9978);const P=e=>((0,i.dD)("data-v-37a493ac"),e=e(),(0,i.Cn)(),e),D={class:"row"},S={key:0,class:"col-7 left side"},q=P((()=>(0,i._)("i",{class:"fa fa-filter"},null,-1))),N=[q],$={class:"search-box"},I={key:1,class:"col-7 left side"},z={class:"search-box"},T={key:2,class:"col-7 left side"},M={class:"search-box"},V=["value"],Z={class:"col-5 right side"},R=P((()=>(0,i._)("i",{class:"fas fa-closed-captioning"},null,-1))),W=[R],j=P((()=>(0,i._)("i",{class:"fa fa-plus-circle"},null,-1))),U=[j],E=["checked","onChange"];function L(e,t,s,n,r,o){const d=(0,i.up)("Players");return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["header",{"with-filter":r.filterVisible}])},[(0,i._)("div",D,["search"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",S,[(0,i._)("button",{title:"Filter",class:(0,a.C_)(["filter-btn",{selected:r.filterVisible}]),onClick:t[0]||(t[0]=e=>r.filterVisible=!r.filterVisible)},N,2),(0,i._)("form",{onSubmit:t[2]||(t[2]=(0,l.iM)(((...e)=>o.search&&o.search(...e)),["prevent"]))},[(0,i._)("label",$,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Search","onUpdate:modelValue":t[1]||(t[1]=e=>r.query=e)},null,512),[[l.nr,r.query]])])],32)])):"torrents"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",I,[(0,i._)("form",{onSubmit:t[4]||(t[4]=(0,l.iM)((t=>e.$emit("torrent-add",r.torrentURL)),["prevent"]))},[(0,i._)("label",z,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[3]||(t[3]=e=>r.torrentURL=e)},null,512),[[l.nr,r.torrentURL]])])],32)])):"browser"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",T,[(0,i._)("label",M,[(0,i._)("input",{type:"search",placeholder:"Filter",value:s.browserFilter,onChange:t[5]||(t[5]=t=>e.$emit("filter",t.target.value)),onKeyup:t[6]||(t[6]=t=>e.$emit("filter",t.target.value))},null,40,V)])])):(0,i.kq)("",!0),(0,i._)("div",Z,[s.hasSubtitlesPlugin&&s.selectedItem&&("file"===s.selectedItem.type||(s.selectedItem.url||"").startsWith("file://"))?((0,i.wg)(),(0,i.iD)("button",{key:0,title:"Select subtitles",class:(0,a.C_)(["captions-btn",{selected:null!=s.selectedSubtitles}]),onClick:t[7]||(t[7]=t=>e.$emit("show-subtitles"))},W,2)):(0,i.kq)("",!0),(0,i.Wm)(d,{"plugin-name":s.pluginName,onSelect:t[8]||(t[8]=t=>e.$emit("select-player",t)),onStatus:t[9]||(t[9]=t=>e.$emit("player-status",t))},null,8,["plugin-name"]),(0,i._)("button",{title:"Play URL",onClick:t[10]||(t[10]=t=>e.$emit("play-url"))},U)])]),(0,i._)("div",{class:(0,a.C_)(["row filter fade-in",{hidden:!r.filterVisible}])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(Object.keys(s.sources),(t=>((0,i.wg)(),(0,i.iD)("label",{key:t},[(0,i._)("input",{type:"checkbox",checked:s.sources[t],onChange:s=>e.$emit("source-toggle",t)},null,40,E),(0,i.Uk)(" "+(0,a.zw)(t),1)])))),128))],2)],2)}const O={class:"plugins"},F={class:"players"},H={class:"refresh"},K={key:1,class:"no-results"};function Y(e,t,s,l,n,r){const o=(0,i.up)("Chromecast"),d=(0,i.up)("Kodi"),c=(0,i.up)("Mplayer"),u=(0,i.up)("Mpv"),m=(0,i.up)("Omxplayer"),p=(0,i.up)("Vlc"),h=(0,i.up)("Loading"),y=(0,i.up)("DropdownItem"),w=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i._)("div",O,[(0,i.Wm)(o,{player:"media.chromecast"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"chromecastPlugin",onStatus:t[0]||(t[0]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(d,{player:"media.kodi"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"kodiPlugin",onStatus:t[1]||(t[1]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(c,{player:"media.mplayer"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"mplayerPlugin",onStatus:t[2]||(t[2]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(u,{player:"media.mpv"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"mpvPlugin",onStatus:t[3]||(t[3]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(m,{player:"media.omxplayer"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"omxplayerPlugin",onStatus:t[4]||(t[4]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(p,{player:"media.vlc"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"vlcPlugin",onStatus:t[5]||(t[5]=t=>e.$emit("status",t))},null,8,["player"])]),(0,i._)("div",F,[(0,i.Wm)(w,{title:n.selectedPlayer?.name||"Players","icon-class":n.selectedPlayer?n.selectedPlayer.iconClass:"fab fa-chromecast"},{default:(0,i.w5)((()=>[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",H,[(0,i.Wm)(y,{text:"Refresh","icon-class":"fa fa-sync-alt",onClick:r.refresh},null,8,["onClick"])]),n.players?.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",K,"No players found")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.players,((e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["player",{selected:null!=n.selectedPlayer&&n.selectedPlayer.pluginName===e.pluginName&&n.selectedPlayer.name===e.name}]),key:t},[(0,i.Wm)(y,{text:e.name,"icon-class":e.iconClass,onClick:t=>r.select(e)},null,8,["text","icon-class","onClick"])],2)))),128))])),_:1},8,["title","icon-class"])])],64)}var B=s(5771),A=s(9015);function Q(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var G={name:"Mixin",mixins:[C.Z,b.Z],emits:["status"],props:{player:{type:Object}},data(){return{iconClass:null,name:null,pluginName:null}},methods:{async getPlayers(){return[{iconClass:this.iconClass,name:this.name,pluginName:this.pluginName,component:this,status:await this.status()}]},async status(){return await this.request(`${this.pluginName}.status`)},async play(e,t){return e?await this.request(`${this.pluginName}.play`,{resource:e.url,subtitles:t}):await this.pause()},async pause(){return await this.request(`${this.pluginName}.pause`)},async stop(){return await this.request(`${this.pluginName}.stop`)},async setVolume(e){return await this.request(`${this.pluginName}.set_volume`,{volume:e})},async seek(e){return await this.request(`${this.pluginName}.seek`,{position:e})},async onNewMedia(e){const t=await this.onMediaEvent(e);t&&e.title&&this.notify({title:e.player||e.device||this.player?.name||this.name||this.pluginName,text:e.title,image:{iconClass:this.iconClass||"fa fa-play"}})},async onMediaEvent(e){return e.plugin===this.pluginName&&(this.$emit("status",await this.status()),!0)},async addSubtitles(e){await this.request(`${this.pluginName}.add_subtitles`,{filename:e}),await this.request(`${this.pluginName}.toggle_subtitles`,{visible:!0})},async removeSubtitles(){await this.request(`${this.pluginName}.toggle_subtitles`,{visible:!1})},supports(e){return"file"===e?.type||"youtube"===e?.type||(e.url||e).startsWith("file://")||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}},mounted(){this.subscribe(this.onNewMedia,`on-new-media-${this.pluginName}`,"platypush.message.event.media.NewPlayingMediaEvent"),this.subscribe(this.onMediaEvent,`on-media-event-${this.pluginName}`,"platypush.message.event.media.MediaPlayEvent","platypush.message.event.media.MediaStopEvent","platypush.message.event.media.MediaPauseEvent","platypush.message.event.media.MediaSeekEvent","platypush.message.event.media.MediaVolumeChangedEvent","platypush.message.event.media.MediaMuteChangedEvent")},destroy(){this.unsubscribe(`on-media-event-${this.pluginName}`)}};const X=G;var J=X,ee={name:"Chromecast",mixins:[J],data(){return{name:"Chromecast",pluginName:"media.chromecast",iconClass:"fab fa-chromecast"}},methods:{async getPlayers(){const e=await this.request(`${this.pluginName}.get_chromecasts`);return Promise.all(e.map((async e=>({...e,iconClass:"audio"===e.type?"fa fa-volume-up":"fab fa-chromecast",pluginName:this.pluginName,status:this.request(`${this.pluginName}.status`,{chromecast:e.name}),component:this}))))},getPlayerName(e){return"string"===typeof e?e:e?e?.name:this.player?.name},async status(e){return await this.request(`${this.pluginName}.status`,{chromecast:this.getPlayerName(e)})},async play(e,t){return e?await this.request(`${this.pluginName}.play`,{resource:e.url,chromecast:this.getPlayerName(t)}):await this.pause(t)},async pause(e){return await this.request(`${this.pluginName}.pause`,{chromecast:this.getPlayerName(e)})},async stop(e){return await this.request(`${this.pluginName}.quit`,{chromecast:this.getPlayerName(e)})},async setVolume(e,t){return await this.request(`${this.pluginName}.set_volume`,{volume:e,chromecast:this.getPlayerName(t)})},async seek(e,t){return await this.request(`${this.pluginName}.seek`,{position:e,chromecast:this.getPlayerName(t)})},async onMediaEvent(e){return e.plugin===this.pluginName&&(this.$emit("status",await this.status(e.player)),!0)},supports(e){return"youtube"===e?.type||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}},te=s(3744);const se=(0,te.Z)(ee,[["render",Q]]);var ie=se;function ae(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var le={name:"Kodi",mixins:[J],data(){return{iconClass:"fa fa-kodi",name:"Kodi",pluginName:"media.kodi"}},methods:{async getPlayers(){return[{iconClass:this.iconClass,pluginName:this.pluginName,name:this.$root.config["media.kodi"]?.host||this.name,component:this,status:await this.request(`${this.pluginName}.status`)}]},supports(e){return"youtube"===e?.type||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}};const ne=(0,te.Z)(le,[["render",ae]]);var re=ne;function oe(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var de={name:"Mplayer",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"MPlayer",pluginName:"media.mplayer"}}};const ce=(0,te.Z)(de,[["render",oe]]);var ue=ce;function me(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var pe={name:"Mpv",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"mpv",pluginName:"media.mpv"}}};const he=(0,te.Z)(pe,[["render",me]]);var ye=he;function we(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var fe={name:"Omxplayer",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"OMXPlayer",pluginName:"media.omxplayer"}}};const ge=(0,te.Z)(fe,[["render",we]]);var ve=ge;function _e(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var ke={name:"Vlc",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"VLC",pluginName:"media.vlc"}}};const Ce=(0,te.Z)(ke,[["render",_e]]);var be=Ce,xe={name:"Players",components:{Loading:_.Z,DropdownItem:A.Z,Dropdown:B.Z,Chromecast:ie,Kodi:re,Mplayer:ue,Mpv:ye,Omxplayer:ve,Vlc:be},emits:["select","status"],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,players:[],selectedPlayer:null,config:{},plugins:[]}},methods:{loadPlugins(){this.plugins=Object.entries(this.$refs).filter((e=>e[0].endsWith("Plugin"))).map((e=>e[1]))},async refresh(){this.players=[],this.loading=!0;const e=this.$root.config;try{await Promise.all(this.plugins.map((async t=>{if(!(t.pluginName in e))return;const s=await t.getPlayers();this.players.push(...s),null==this.selectedPlayer&&t.pluginName===this.pluginName&&s.length>0&&this.select(s[0])})))}finally{this.loading=!1}},select(e){this.selectedPlayer=e,this.$emit("select",e)}},async mounted(){await this.loadPlugins(),await this.refresh()}};const Pe=(0,te.Z)(xe,[["render",Y],["__scopeId","data-v-27e87a29"]]);var De=Pe,Se={name:"Header",components:{Players:De},emits:["search","select-player","player-status","torrent-add","show-subtitles","play-url","filter","source-toggle"],props:{pluginName:{type:String,required:!0},selectedView:{type:String,required:!0},selectedSubtitles:{type:String},selectedItem:{type:Object},hasSubtitlesPlugin:{type:Boolean,default:!1},browserFilter:{type:String,default:""},sources:{type:Object,default:()=>{}}},data(){return{filterVisible:!1,query:"",torrentURL:""}},methods:{search(){const e=Object.keys(this.sources).filter((e=>this.sources[e]));this.query?.length&&e?.length&&this.$emit("search",{query:this.query,types:e})}},mounted(){this.$watch((()=>this.selectedView),(()=>{this.$emit("filter",""),this.torrentURL="",this.query=""}))}};const qe=(0,te.Z)(Se,[["render",L],["__scopeId","data-v-37a493ac"]]);var Ne=qe;const $e=e=>((0,i.dD)("data-v-28611e6c"),e=e(),(0,i.Cn)(),e),Ie={key:0,class:"row"},ze=$e((()=>(0,i._)("div",{class:"left side"},"Title",-1))),Te={class:"right side"},Me=["href","textContent"],Ve=["textContent"],Ze={key:1,class:"row"},Re=$e((()=>(0,i._)("div",{class:"left side"},"TV Series",-1))),We=["textContent"],je={key:2,class:"row"},Ue=$e((()=>(0,i._)("div",{class:"left side"},"Season",-1))),Ee=["textContent"],Le={key:3,class:"row"},Oe=$e((()=>(0,i._)("div",{class:"left side"},"Episode",-1))),Fe=["textContent"],He={key:4,class:"row"},Ke=$e((()=>(0,i._)("div",{class:"left side"},"Number of seasons",-1))),Ye=["textContent"],Be={key:5,class:"row"},Ae=$e((()=>(0,i._)("div",{class:"left side"},"Synopsis",-1))),Qe=["textContent"],Ge={key:6,class:"row"},Xe=$e((()=>(0,i._)("div",{class:"left side"},"Description",-1))),Je=["textContent"],et={key:7,class:"row"},tt=$e((()=>(0,i._)("div",{class:"left side"},"Summary",-1))),st=["textContent"],it={key:8,class:"row"},at=$e((()=>(0,i._)("div",{class:"left side"},"Overview",-1))),lt=["textContent"],nt={key:9,class:"row"},rt=$e((()=>(0,i._)("div",{class:"left side"},"Duration",-1))),ot=["textContent"],dt={key:10,class:"row"},ct=$e((()=>(0,i._)("div",{class:"left side"},"Country",-1))),ut=["textContent"],mt={key:11,class:"row"},pt=$e((()=>(0,i._)("div",{class:"left side"},"Network",-1))),ht=["textContent"],yt={key:12,class:"row"},wt=$e((()=>(0,i._)("div",{class:"left side"},"Status",-1))),ft=["textContent"],gt={key:13,class:"row"},vt=$e((()=>(0,i._)("div",{class:"left side"},"Rating",-1))),_t=["textContent"],kt={key:14,class:"row"},Ct=$e((()=>(0,i._)("div",{class:"left side"},"Votes",-1))),bt=["textContent"],xt={key:15,class:"row"},Pt=$e((()=>(0,i._)("div",{class:"left side"},"Genres",-1))),Dt=["textContent"],St={key:16,class:"row"},qt=$e((()=>(0,i._)("div",{class:"left side"},"Channel",-1))),Nt={class:"right side"},$t=["href","textContent"],It={key:17,class:"row"},zt=$e((()=>(0,i._)("div",{class:"left side"},"Year",-1))),Tt=["textContent"],Mt={key:18,class:"row"},Vt=$e((()=>(0,i._)("div",{class:"left side"},"Published at",-1))),Zt=["textContent"],Rt={key:19,class:"row"},Wt=$e((()=>(0,i._)("div",{class:"left side"},"File",-1))),jt=["textContent"],Ut={key:20,class:"row"},Et=$e((()=>(0,i._)("div",{class:"left side"},"URL",-1))),Lt={class:"right side url"},Ot=["href","textContent"],Ft={key:21,class:"row"},Ht=$e((()=>(0,i._)("div",{class:"left side"},"Trailer",-1))),Kt={class:"right side url"},Yt=["href","textContent"],Bt={key:22,class:"row"},At=$e((()=>(0,i._)("div",{class:"left side"},"Size",-1))),Qt=["textContent"],Gt={key:23,class:"row"},Xt=$e((()=>(0,i._)("div",{class:"left side"},"Quality",-1))),Jt=["textContent"],es={key:24,class:"row"},ts=$e((()=>(0,i._)("div",{class:"left side"},"Seeds",-1))),ss=["textContent"],is={key:25,class:"row"},as=$e((()=>(0,i._)("div",{class:"left side"},"Peers",-1))),ls=["textContent"],ns={key:26,class:"row"},rs=$e((()=>(0,i._)("div",{class:"left side"},"Language",-1))),os=["textContent"];function ds(e,t,s,l,n,r){return(0,i.wg)(),(0,i.iD)(i.HY,null,[s.item?.title?((0,i.wg)(),(0,i.iD)("div",Ie,[ze,(0,i._)("div",Te,[s.item.imdb_id?((0,i.wg)(),(0,i.iD)("a",{key:0,href:`https://www.imdb.com/title/${s.item.imdb_id}`,target:"_blank",textContent:(0,a.zw)(s.item.title)},null,8,Me)):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,a.zw)(s.item.title)},null,8,Ve))])])):(0,i.kq)("",!0),s.item?.series?((0,i.wg)(),(0,i.iD)("div",Ze,[Re,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.series)},null,8,We)])):(0,i.kq)("",!0),s.item?.season?((0,i.wg)(),(0,i.iD)("div",je,[Ue,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.season)},null,8,Ee)])):(0,i.kq)("",!0),s.item?.episode?((0,i.wg)(),(0,i.iD)("div",Le,[Oe,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.episode)},null,8,Fe)])):(0,i.kq)("",!0),s.item?.num_seasons?((0,i.wg)(),(0,i.iD)("div",He,[Ke,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.num_seasons)},null,8,Ye)])):(0,i.kq)("",!0),s.item?.synopsis?((0,i.wg)(),(0,i.iD)("div",Be,[Ae,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.synopsis)},null,8,Qe)])):(0,i.kq)("",!0),s.item?.description?((0,i.wg)(),(0,i.iD)("div",Ge,[Xe,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.description)},null,8,Je)])):(0,i.kq)("",!0),s.item?.summary?((0,i.wg)(),(0,i.iD)("div",et,[tt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.summary)},null,8,st)])):(0,i.kq)("",!0),s.item?.overview?((0,i.wg)(),(0,i.iD)("div",it,[at,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.overview)},null,8,lt)])):(0,i.kq)("",!0),s.item?.duration?((0,i.wg)(),(0,i.iD)("div",nt,[rt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.convertTime(s.item.duration))},null,8,ot)])):(0,i.kq)("",!0),s.item?.country?((0,i.wg)(),(0,i.iD)("div",dt,[ct,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.country)},null,8,ut)])):(0,i.kq)("",!0),s.item?.network?((0,i.wg)(),(0,i.iD)("div",mt,[pt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.network)},null,8,ht)])):(0,i.kq)("",!0),s.item?.status?((0,i.wg)(),(0,i.iD)("div",yt,[wt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.status)},null,8,ft)])):(0,i.kq)("",!0),s.item?.rating?((0,i.wg)(),(0,i.iD)("div",gt,[vt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.rating.percentage)},null,8,_t)])):(0,i.kq)("",!0),s.item?.rating?((0,i.wg)(),(0,i.iD)("div",kt,[Ct,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.rating.votes)},null,8,bt)])):(0,i.kq)("",!0),s.item?.genres?((0,i.wg)(),(0,i.iD)("div",xt,[Pt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.genres.join(", "))},null,8,Dt)])):(0,i.kq)("",!0),s.item?.channelId?((0,i.wg)(),(0,i.iD)("div",St,[qt,(0,i._)("div",Nt,[(0,i._)("a",{href:`https://www.youtube.com/channel/${s.item.channelId}`,target:"_blank",textContent:(0,a.zw)(s.item.channelTitle||`https://www.youtube.com/channel/${s.item.channelId}`)},null,8,$t)])])):(0,i.kq)("",!0),s.item?.year?((0,i.wg)(),(0,i.iD)("div",It,[zt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.year)},null,8,Tt)])):(0,i.kq)("",!0),s.item?.publishedAt?((0,i.wg)(),(0,i.iD)("div",Mt,[Vt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.formatDate(s.item.publishedAt,!0))},null,8,Zt)])):(0,i.kq)("",!0),s.item?.file?((0,i.wg)(),(0,i.iD)("div",Rt,[Wt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.file)},null,8,jt)])):(0,i.kq)("",!0),s.item?.url?((0,i.wg)(),(0,i.iD)("div",Ut,[Et,(0,i._)("div",Lt,[(0,i._)("a",{href:s.item.url,target:"_blank",textContent:(0,a.zw)(s.item.url)},null,8,Ot)])])):(0,i.kq)("",!0),s.item?.trailer?((0,i.wg)(),(0,i.iD)("div",Ft,[Ht,(0,i._)("div",Kt,[(0,i._)("a",{href:s.item.trailer,target:"_blank",textContent:(0,a.zw)(s.item.trailer)},null,8,Yt)])])):(0,i.kq)("",!0),s.item?.size?((0,i.wg)(),(0,i.iD)("div",Bt,[At,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.convertSize(s.item.size))},null,8,Qt)])):(0,i.kq)("",!0),s.item?.quality?((0,i.wg)(),(0,i.iD)("div",Gt,[Xt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.quality)},null,8,Jt)])):(0,i.kq)("",!0),s.item?.seeds?((0,i.wg)(),(0,i.iD)("div",es,[ts,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.seeds)},null,8,ss)])):(0,i.kq)("",!0),s.item?.peers?((0,i.wg)(),(0,i.iD)("div",is,[as,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.peers)},null,8,ls)])):(0,i.kq)("",!0),s.item?.language?((0,i.wg)(),(0,i.iD)("div",ns,[rs,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.language)},null,8,os)])):(0,i.kq)("",!0)],64)}var cs={name:"Info",mixins:[C.Z,b.Z],props:{item:{type:Object,default:()=>{}}}};const us=(0,te.Z)(cs,[["render",ds],["__scopeId","data-v-28611e6c"]]);var ms=us;const ps=["title","onClick"];function hs(e,t,s,l,n,r){return(0,i.wg)(),(0,i.iD)("nav",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(s.views,((t,l)=>((0,i.wg)(),(0,i.iD)("li",{key:l,title:t.displayName,class:(0,a.C_)({selected:l===s.selectedView}),onClick:t=>e.$emit("input",l)},[(0,i._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ps)))),128))])}var ys={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:()=>({search:{iconClass:"fa fa-search",displayName:"Search"},browser:{iconClass:"fa fa-folder",displayName:"Browser"},torrents:{iconClass:"fa fa-magnet",displayName:"Torrents"}})}}};const ws=(0,te.Z)(ys,[["render",hs],["__scopeId","data-v-4597e14d"]]);var fs=ws;const gs={class:"media-results"},vs={key:0,class:"no-content"},_s=["onClick"],ks={class:"col-10 left side"},Cs={class:"icon"},bs=["textContent"],xs={class:"col-2 right side"};function Ps(e,t,s,l,n,r){const o=(0,i.up)("DropdownItem"),d=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",gs,[s.results?.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",vs," No search results ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(s.results,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:s.selectedResult===l,hidden:!s.sources[t.type]}]),key:l,onClick:t=>e.$emit("select",l)},[(0,i._)("div",ks,[(0,i._)("div",Cs,[(0,i._)("i",{class:(0,a.C_)(n.typeIcons[t.type])},null,2)]),(0,i._)("div",{class:"title",textContent:(0,a.zw)(t.title)},null,8,bs)]),(0,i._)("div",xs,[(0,i.Wm)(d,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:t=>e.$emit("select",l)},{default:(0,i.w5)((()=>["torrent"!==t?.type?((0,i.wg)(),(0,i.j4)(o,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:s=>e.$emit("play",t)},null,8,["onClick"])):(0,i.kq)("",!0),"torrent"===t?.type?((0,i.wg)(),(0,i.j4)(o,{key:1,"icon-class":"fa fa-download",text:"Download",onClick:s=>e.$emit("download",t)},null,8,["onClick"])):(0,i.kq)("",!0),"file"===t?.type?((0,i.wg)(),(0,i.j4)(o,{key:2,"icon-class":"fa fa-window-maximize",text:"View in browser",onClick:s=>e.$emit("view",t)},null,8,["onClick"])):(0,i.kq)("",!0),(0,i.Wm)(o,{"icon-class":"fa fa-info",text:"Info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1032,["onClick"])])],10,_s)))),128))])}var Ds={name:"Results",components:{Dropdown:B.Z,DropdownItem:A.Z},emits:["select","info","play","view","download"],props:{results:{type:Array,default:()=>[]},selectedResult:{type:Number},sources:{type:Object,default:()=>{}}},data(){return{typeIcons:{file:"fa fa-hdd",torrent:"fa fa-magnet",youtube:"fab fa-youtube",plex:"fa fa-plex",jellyfin:"fa fa-jellyfin"}}}};const Ss=(0,te.Z)(Ds,[["render",Ps],["__scopeId","data-v-28f7c518"]]);var qs=Ss;const Ns=e=>((0,i.dD)("data-v-77ae3705"),e=e(),(0,i.Cn)(),e),$s={class:"subtitles-container"},Is={class:"items"},zs=Ns((()=>(0,i._)("div",{class:"col-1 icon"},[(0,i._)("i",{class:"fa fa-ban"})],-1))),Ts=Ns((()=>(0,i._)("div",{class:"col-11 title"},"None",-1))),Ms=[zs,Ts],Vs=["onClick"],Zs={class:"col-1 icon"},Rs={key:0,class:"fa fa-file"},Ws={key:2,class:"fa fa-closed-captioning"},js={class:"footer"};function Us(e,t,s,l,n,r){const o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",$s,[(0,i._)("div",Is,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),(0,i._)("div",{class:(0,a.C_)(["row item",{selected:null==n.selectedItem}]),onClick:t[0]||(t[0]=e=>n.selectedItem=null)},Ms,2),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.items,((e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:n.selectedItem===t}]),key:t,onClick:e=>n.selectedItem=t},[(0,i._)("div",Zs,[e.IsLocal?((0,i.wg)(),(0,i.iD)("i",Rs)):e.ISO639?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,a.C_)(["flag-icon",`flag-icon-${e.ISO639}`])},null,2)):((0,i.wg)(),(0,i.iD)("i",Ws))]),(0,i.Uk)(" "+(0,a.zw)(e.SubFileName),1)],10,Vs)))),128))]),(0,i._)("div",js,[(0,i._)("button",{onClick:t[1]||(t[1]=t=>e.$emit("select-subs",null==n.selectedItem?null:n.items[n.selectedItem]))},"Select")])])}var Es={name:"Subtitles",mixins:[C.Z],components:{Loading:_.Z},emits:["select-subs"],props:{item:{type:Object,default:()=>{}}},data(){return{loading:!1,items:[],selectedItem:null}},methods:{async refresh(){this.loading=!0;try{this.items=await this.request("media.subtitles.search",{resource:this.item.url,language:"all"})}finally{this.loading=!1}}},mounted(){this.refresh()}};const Ls=(0,te.Z)(Es,[["render",Us],["__scopeId","data-v-77ae3705"]]);var Os=Ls,Fs=s(779);const Hs=e=>((0,i.dD)("data-v-a2e5c946"),e=e(),(0,i.Cn)(),e),Ks={class:"browser-container"},Ys=Hs((()=>(0,i._)("div",{class:"col-10 left side"},[(0,i._)("i",{class:"icon fa fa-folder"}),(0,i._)("span",{class:"name"},"..")],-1))),Bs=[Ys],As=["onClick"],Qs={class:"col-10"},Gs={class:"name"},Xs={class:"col-2 actions"};function Js(e,t,s,l,n,r){const o=(0,i.up)("Loading"),d=(0,i.up)("DropdownItem"),c=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",Ks,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),n.path?.length&&"/"!==n.path?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"row item",onClick:t[0]||(t[0]=e=>n.path=(n.path||"")+"/..")},Bs)):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.filteredFiles,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"row item",key:l,onClick:e=>n.path=t.path},[(0,i._)("div",Qs,[(0,i._)("i",{class:(0,a.C_)(["icon fa",{"fa-file":"directory"!==t.type,"fa-folder":"directory"===t.type}])},null,2),(0,i._)("span",Gs,(0,a.zw)(t.name),1)]),(0,i._)("div",Xs,[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[s.isMedia&&e.mediaExtensions.has(t.name.split(".").pop())?((0,i.wg)(),(0,i.j4)(d,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:s=>e.$emit("play",{type:"file",url:`file://${t.path}`})},null,8,["onClick"])):(0,i.kq)("",!0)])),_:2},1024)])],8,As)))),128))])}var ei={name:"Browser",components:{DropdownItem:A.Z,Dropdown:B.Z,Loading:_.Z},mixins:[C.Z,b.Z],emits:["path-change"],props:{initialPath:{type:String},isMedia:{type:Boolean},filter:{type:String,default:""}},data(){return{loading:!1,path:this.initialPath,files:[]}},computed:{filteredFiles(){return this.filter?.length?this.files.filter((e=>(e?.name||"").toLowerCase().indexOf(this.filter.toLowerCase())>=0)):this.files}},methods:{async refresh(){this.loading=!0;try{this.files=await this.request("file.list",{path:this.path}),this.$emit("path-change",this.path)}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.path),(()=>this.refresh())),this.refresh()}};const ti=(0,te.Z)(ei,[["render",Js],["__scopeId","data-v-a2e5c946"]]);var si=ti,ii={name:"Media",mixins:[C.Z,b.Z],components:{Browser:si,Loading:_.Z,MediaView:x.Z,Header:Ne,Results:qs,Modal:k.Z,Info:ms,Nav:fs,TorrentView:Fs.Z,Subtitles:Os},props:{pluginName:{type:String,required:!0},mediaButtons:{type:Object,default:()=>({previous:!1,next:!1,stop:!0})}},data(){return{loading:!1,results:[],selectedResult:null,selectedPlayer:null,selectedView:"search",selectedSubtitles:null,showSubtitlesModal:!1,awaitingPlayTorrent:null,urlPlay:null,browserFilter:null,torrentPlugin:null,torrentPlugins:["torrent","rtorrent"],sources:{file:!0,youtube:!0,torrent:!0}}},computed:{hasSubtitlesPlugin(){return"media.subtitles"in this.$root.config}},methods:{async search(e){this.loading=!0;try{this.results=await this.request(`${this.pluginName}.search`,e)}finally{this.loading=!1}},async play(e){if("torrent"===e?.type)return this.awaitingPlayTorrent=e.url,void await this.download(e);this.selectedPlayer.component.supports(e)||(e=await this.startStreaming(e)),await this.selectedPlayer.component.play(e,this.selectedSubtitles,this.selectedPlayer),await this.refresh()},async pause(){await this.selectedPlayer.component.pause(this.selectedPlayer),await this.refresh()},async stop(){await this.selectedPlayer.component.stop(this.selectedPlayer),await this.refresh()},async setVolume(e){await this.selectedPlayer.component.setVolume(e,this.selectedPlayer),await this.refresh()},async seek(e){await this.selectedPlayer.component.seek(e,this.selectedPlayer),await this.refresh()},async view(e){const t=await this.startStreaming(e,!0);window.open(t.url,"_blank")},async download(e){"torrent"===e?.type&&await this.downloadTorrent(e)},async refresh(){this.selectedPlayer.status=await this.selectedPlayer.component.status(this.selectedPlayer)},onStatusUpdate(e){this.selectedPlayer&&(this.selectedPlayer.status=e)},onTorrentQueued(e){this.notify({title:"Torrent queued for download",text:e.name,image:{iconClass:"fa fa-magnet"}})},onTorrentMetadata(e){this.notify({title:"Torrent metadata downloaded",text:e.name,image:{iconClass:"fa fa-info"}})},onTorrentDownloadStart(e){this.notify({title:"Torrent download started",text:e.name,image:{iconClass:"fa fa-download"}})},onTorrentDownloadCompleted(e){this.notify({title:"Torrent download completed",text:e.name,image:{iconClass:"fa fa-check"}})},getTorrentPlugin(){const e=this.$root.config[this.pluginName]||{};let t=e.torrent_plugin;if(!t)for(let s of this.torrentPlugins)if(s in this.$root.config){t=s;break}return t},async downloadTorrent(e){const t=this.getTorrentPlugin();if(t)return await this.request(`${t}.download`,{torrent:e?.url||e});this.notify({text:"No torrent plugins configured",error:!0})},async selectSubtitles(e){if(this.$refs.subtitlesSelector.close(),!e)return void(this.selectedSubtitles=null);this.notify({text:"Downloading subtitles track",image:{iconClass:"fa fa-download"}});const t=await this.request("media.subtitles.download",{link:e.SubDownloadLink});this.selectedSubtitles=t.filename,this.notify({text:"Subtitles track downloaded",image:{iconClass:"fa fa-check"}})},onResultSelect(e){null!=this.selectedResult&&this.selectedResult===e||(this.selectedResult=e,this.selectedSubtitles=null)},async playUrl(e){this.loading=!0;try{await this.play({url:e}),this.$refs.playUrlModal.close()}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selectedPlayer),(e=>{e&&this.refresh()})),this.$watch((()=>this.selectedSubtitles),(e=>{new Set(["play","pause"]).has(this.selectedPlayer?.status?.state)&&(e?this.selectedPlayer.component.addSubtitles(e):this.selectedPlayer.component.removeSubtitles())})),this.torrentPlugin=this.getTorrentPlugin(),this.subscribe(this.onTorrentQueued,"notify-on-torrent-queued","platypush.message.event.torrent.TorrentQueuedEvent"),this.subscribe(this.onTorrentMetadata,"on-torrent-metadata","platypush.message.event.torrent.TorrentDownloadedMetadataEvent"),this.subscribe(this.onTorrentDownloadStart,"notify-on-torrent-download-start","platypush.message.event.torrent.TorrentDownloadStartEvent"),this.subscribe(this.onTorrentDownloadCompleted,"notify-on-torrent-download-completed","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),"media.plex"in this.$root.config&&(this.sources.plex=!0),"media.jellyfin"in this.$root.config&&(this.sources.jellyfin=!0)},destroy(){this.unsubscribe("notify-on-torrent-queued"),this.unsubscribe("on-torrent-metadata"),this.unsubscribe("notify-on-torrent-download-start"),this.unsubscribe("notify-on-torrent-download-completed")}};const ai=(0,te.Z)(ii,[["render",v],["__scopeId","data-v-040b2676"]]);var li=ai},779:function(e,t,s){s.d(t,{Z:function(){return me}});var i=s(6252),a=s(3577);const l=e=>((0,i.dD)("data-v-7eb04934"),e=e(),(0,i.Cn)(),e),n={key:1,class:"torrent-transfers fade-in"},r={key:0,class:"no-content"},o=["onClick"],d={class:"col-8 left side"},c=["textContent"],u={class:"col-2 right side"},m=["textContent"],p={class:"col-2 right side"},h={key:0,class:"modal-body torrent-info"},y={key:0,class:"row"},w=l((()=>(0,i._)("div",{class:"attr"},"Name",-1))),f=["textContent"],g={key:1,class:"row"},v=l((()=>(0,i._)("div",{class:"attr"},"State",-1))),_=["textContent"],k={class:"row"},C=l((()=>(0,i._)("div",{class:"attr"},"Progress",-1))),b=["textContent"],x={class:"row"},P=l((()=>(0,i._)("div",{class:"attr"},"DL rate",-1))),D=["textContent"],S={class:"row"},q=l((()=>(0,i._)("div",{class:"attr"},"UL rate",-1))),N=["textContent"],$={class:"row"},I=l((()=>(0,i._)("div",{class:"attr"},"Size",-1))),z=["textContent"],T={key:2,class:"row"},M=l((()=>(0,i._)("div",{class:"attr"},"Remaining",-1))),V=["textContent"],Z={class:"row"},R=l((()=>(0,i._)("div",{class:"attr"},"URL",-1))),W={class:"value nowrap"},j=["href","textContent"],U={class:"row"},E=l((()=>(0,i._)("div",{class:"attr"},"Peers",-1))),L=["textContent"],O={key:3,class:"row"},F=l((()=>(0,i._)("div",{class:"attr"},"Started",-1))),H=["textContent"],K={key:4,class:"row"},Y=l((()=>(0,i._)("div",{class:"attr"},"Finished",-1))),B=["textContent"],A={key:5,class:"row"},Q=l((()=>(0,i._)("div",{class:"attr"},"Save path",-1))),G=["textContent"],X={key:0,class:"modal-body torrent-files"},J={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function se(e,t,s,l,se,ie){const ae=(0,i.up)("Loading"),le=(0,i.up)("DropdownItem"),ne=(0,i.up)("Dropdown"),re=(0,i.up)("Modal");return se.loading?((0,i.wg)(),(0,i.j4)(ae,{key:0})):((0,i.wg)(),(0,i.iD)("div",n,[Object.keys(se.transfers).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",r,"No torrent transfers in progress")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(se.transfers,((s,l)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:se.selectedItem===l}]),key:l,onClick:e=>se.selectedItem=l},[(0,i._)("div",d,[(0,i._)("i",{class:(0,a.C_)(["icon fa",{"fa-check":null!=s.finish_date,"fa-play":!s.finish_date&&"downloading"===s.state,"fa-pause":!s.finish_date&&"paused"===s.state,"fa-stop":!s.finish_date&&"stopped"===s.state}])},null,2),(0,i._)("div",{class:"title",textContent:(0,a.zw)(s.name||s.hash||s.url)},null,8,c)]),(0,i._)("div",u,[(0,i._)("span",{textContent:(0,a.zw)(`${s.progress}%`)},null,8,m)]),(0,i._)("div",p,[(0,i.Wm)(ne,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:e=>se.selectedItem=l},{default:(0,i.w5)((()=>["downloading"===s.state?((0,i.wg)(),(0,i.j4)(le,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:e=>ie.pause(ie.torrentId(s))},null,8,["onClick"])):(0,i.kq)("",!0),"paused"===s.state?((0,i.wg)(),(0,i.j4)(le,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:e=>ie.resume(ie.torrentId(s))},null,8,["onClick"])):(0,i.kq)("",!0),(0,i.Wm)(le,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:e=>ie.remove(ie.torrentId(s))},null,8,["onClick"]),(0,i.Wm)(le,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=t=>e.$refs.torrentFiles.isVisible=!0)}),(0,i.Wm)(le,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=t=>e.$refs.torrentInfo.isVisible=!0)})])),_:2},1032,["onClick"])])],10,o)))),128)),(0,i.Wm)(re,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,i.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,i.wg)(),(0,i.iD)("div",h,[se.transfers[se.selectedItem].name?((0,i.wg)(),(0,i.iD)("div",y,[w,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].name)},null,8,f)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].state?((0,i.wg)(),(0,i.iD)("div",g,[v,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].state)},null,8,_)])):(0,i.kq)("",!0),(0,i._)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${se.transfers[se.selectedItem].progress||0}%`)},null,8,b)]),(0,i._)("div",x,[P,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].download_rate||0)}/s`)},null,8,D)]),(0,i._)("div",S,[q,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].upload_rate||0)}/s`)},null,8,N)]),(0,i._)("div",$,[I,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].size||0))},null,8,z)]),se.transfers[se.selectedItem].remaining_bytes?((0,i.wg)(),(0,i.iD)("div",T,[M,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].remaining_bytes))},null,8,V)])):(0,i.kq)("",!0),(0,i._)("div",Z,[R,(0,i._)("div",W,[(0,i._)("a",{href:se.transfers[se.selectedItem].url,target:"_blank",textContent:(0,a.zw)(se.transfers[se.selectedItem].url)},null,8,j)])]),(0,i._)("div",U,[E,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].peers||0)},null,8,L)]),se.transfers[se.selectedItem].start_date?((0,i.wg)(),(0,i.iD)("div",O,[F,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].start_date))},null,8,H)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].finish_date?((0,i.wg)(),(0,i.iD)("div",K,[Y,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].finish_date))},null,8,B)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].save_path?((0,i.wg)(),(0,i.iD)("div",A,[Q,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].save_path)},null,8,G)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512),(0,i.Wm)(re,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,i.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,i.wg)(),(0,i.iD)("div",X,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(ie.relativeFiles,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"row",key:t},[(0,i._)("div",J,[s.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,i.wg)(),(0,i.j4)(ne,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(le,{"icon-class":"fa fa-play",text:"Play",onClick:t=>e.$emit("play",{url:`file://${se.transfers[se.selectedItem].files[l]}`,type:"file"})},null,8,["onClick"])])),_:2},1024)):((0,i.wg)(),(0,i.iD)("i",ee))]),(0,i._)("div",{class:"col-11 name",textContent:(0,a.zw)(t)},null,8,te)])))),128))])):(0,i.kq)("",!0)])),_:1},512)]))}var ie=s(1232),ae=s(6813),le=s(8337),ne=s(9642),re=s(5771),oe=s(9015),de={name:"View",emits:["play","play-with-captions"],components:{Dropdown:re.Z,DropdownItem:oe.Z,Loading:ie.Z,Modal:ne.Z},mixins:[ae.Z,le.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles(){return null!=this.selectedItem&&this.transfers[this.selectedItem]?.files?.length?this.transfers[this.selectedItem].files.map((e=>e.split("/").pop())):[]}},methods:{torrentId(e){return e?.hash&&e.hash.length?e.hash:e.url},async refresh(){this.loading=!0;try{this.transfers=Object.values(await this.request(`${this.pluginName}.status`)||{}).reduce(((e,t)=>(e[this.torrentId(t)]=t,e)),{})}finally{this.loading=!1}},async pause(e){await this.request(`${this.pluginName}.pause`,{torrent:e}),await this.refresh()},async resume(e){await this.request(`${this.pluginName}.resume`,{torrent:e}),await this.refresh()},async remove(e){await this.request(`${this.pluginName}.remove`,{torrent:e}),await this.refresh()},onTorrentUpdate(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove(e){const t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},ce=s(3744);const ue=(0,ce.Z)(de,[["render",se],["__scopeId","data-v-7eb04934"]]);var me=ue}}]); -//# sourceMappingURL=4196.c3e5b6b2.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4196],{4196:function(e,t,s){s.r(t),s.d(t,{default:function(){return li}});var i=s(6252),a=s(3577),l=s(9963);const n={class:"media-plugin fade-in"},r={class:"nav-container"},o={class:"view-container"},d={class:"media-info-container"},c={class:"subtitles-container"},u={key:0,class:"subtitles-content"},m={class:"play-url-container"},p={class:"row"},h=(0,i.Uk)(" Play URL (use "),y=(0,i.Uk)("file://"),w=(0,i.Uk)(" prefix for local files) "),f={class:"row footer"},g=["disabled"];function v(e,t,s,v,_,k){const C=(0,i.up)("Loading"),b=(0,i.up)("Nav"),x=(0,i.up)("Header"),P=(0,i.up)("Results"),D=(0,i.up)("TorrentView"),S=(0,i.up)("Browser"),q=(0,i.up)("MediaView"),N=(0,i.up)("Info"),$=(0,i.up)("Modal"),I=(0,i.up)("Subtitles"),z=(0,i.up)("tt");return(0,i.wg)(),(0,i.j4)(i.Ob,null,[(0,i._)("div",n,[_.loading?((0,i.wg)(),(0,i.j4)(C,{key:0})):(0,i.kq)("",!0),(0,i.Wm)(q,{"plugin-name":s.pluginName,status:_.selectedPlayer?.status||{},track:_.selectedPlayer?.status||{},buttons:s.mediaButtons,onPlay:k.pause,onPause:k.pause,onStop:k.stop,onSetVolume:k.setVolume,onSeek:k.seek,onSearch:k.search},{default:(0,i.w5)((()=>[(0,i._)("main",null,[(0,i._)("div",r,[(0,i.Wm)(b,{"selected-view":_.selectedView,onInput:t[0]||(t[0]=e=>_.selectedView=e)},null,8,["selected-view"])]),(0,i._)("div",o,[(0,i.Wm)(x,{"plugin-name":s.pluginName,"selected-view":_.selectedView,"has-subtitles-plugin":k.hasSubtitlesPlugin,ref:"header",sources:_.sources,"selected-item":_.selectedPlayer&&_.selectedPlayer.status&&("play"===_.selectedPlayer.status.state||"pause"===_.selectedPlayer.status.state)?_.selectedPlayer.status:_.results[_.selectedResult],"selected-subtitles":_.selectedSubtitles,"browser-filter":_.browserFilter,onSearch:k.search,onSelectPlayer:t[1]||(t[1]=e=>_.selectedPlayer=e),onPlayerStatus:k.onStatusUpdate,onTorrentAdd:t[2]||(t[2]=e=>k.downloadTorrent(e)),onShowSubtitles:t[3]||(t[3]=e=>_.showSubtitlesModal=!_.showSubtitlesModal),onPlayUrl:t[4]||(t[4]=t=>e.$refs.playUrlModal.show()),onFilter:t[5]||(t[5]=e=>_.browserFilter=e),onSourceToggle:t[6]||(t[6]=e=>_.sources[e]=!_.sources[e])},null,8,["plugin-name","selected-view","has-subtitles-plugin","sources","selected-item","selected-subtitles","browser-filter","onSearch","onPlayerStatus"]),(0,i._)("div",{class:(0,a.C_)(["body-container",{"expanded-header":e.$refs.header?.filterVisible}])},["search"===_.selectedView?((0,i.wg)(),(0,i.j4)(P,{key:0,results:_.results,"selected-result":_.selectedResult,onSelect:t[7]||(t[7]=e=>k.onResultSelect(e)),onPlay:k.play,onInfo:t[8]||(t[8]=t=>e.$refs.mediaInfo.isVisible=!0),onView:k.view,onDownload:k.download,sources:_.sources},null,8,["results","selected-result","onPlay","onView","onDownload","sources"])):"torrents"===_.selectedView?((0,i.wg)(),(0,i.j4)(D,{key:1,"plugin-name":_.torrentPlugin,"is-media":!0,onPlay:k.play},null,8,["plugin-name","onPlay"])):"browser"===_.selectedView?((0,i.wg)(),(0,i.j4)(S,{key:2,"plugin-name":_.torrentPlugin,"is-media":!0,filter:_.browserFilter,onPathChange:t[9]||(t[9]=e=>_.browserFilter=""),onPlay:t[10]||(t[10]=e=>k.play(e))},null,8,["plugin-name","filter"])):(0,i.kq)("",!0)],2)])])])),_:1},8,["plugin-name","status","track","buttons","onPlay","onPause","onStop","onSetVolume","onSeek","onSearch"]),(0,i._)("div",d,[(0,i.Wm)($,{title:"Media info",ref:"mediaInfo"},{default:(0,i.w5)((()=>[null!=_.selectedResult?((0,i.wg)(),(0,i.j4)(N,{key:0,item:_.results[_.selectedResult]},null,8,["item"])):(0,i.kq)("",!0)])),_:1},512)]),(0,i._)("div",c,[(0,i.Wm)($,{title:"Available subtitles",visible:_.showSubtitlesModal,ref:"subtitlesSelector",onClose:t[12]||(t[12]=e=>_.showSubtitlesModal=!1)},{default:(0,i.w5)((()=>[_.showSubtitlesModal&&null!=_.selectedResult?((0,i.wg)(),(0,i.iD)("div",u,[(0,i.Wm)(I,{item:_.selectedPlayer&&_.selectedPlayer.status&&("play"===_.selectedPlayer.status.state||"pause"===_.selectedPlayer.status.state)?_.selectedPlayer.status:_.results[_.selectedResult],onSelectSubs:t[11]||(t[11]=e=>k.selectSubtitles(e))},null,8,["item"])])):(0,i.kq)("",!0)])),_:1},8,["visible"])]),(0,i._)("div",m,[(0,i.Wm)($,{title:"Play URL",ref:"playUrlModal",onOpen:t[15]||(t[15]=t=>e.$refs.playUrlInput.focus())},{default:(0,i.w5)((()=>[(0,i._)("form",{onSubmit:t[14]||(t[14]=(0,l.iM)((e=>k.playUrl(_.urlPlay)),["prevent"]))},[(0,i._)("div",p,[(0,i._)("label",null,[h,(0,i.Wm)(z,null,{default:(0,i.w5)((()=>[y])),_:1}),w,(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[13]||(t[13]=e=>_.urlPlay=e),ref:"playUrlInput",autofocus:""},null,512),[[l.nr,_.urlPlay]])])]),(0,i._)("div",f,[(0,i._)("button",{type:"submit",disabled:!_.urlPlay?.length},"Play",8,g)])],32)])),_:1},512)])])],1024)}var _=s(1232),k=s(8453),C=s(6813),b=s(8337),x=s(9978);const P=e=>((0,i.dD)("data-v-37a493ac"),e=e(),(0,i.Cn)(),e),D={class:"row"},S={key:0,class:"col-7 left side"},q=P((()=>(0,i._)("i",{class:"fa fa-filter"},null,-1))),N=[q],$={class:"search-box"},I={key:1,class:"col-7 left side"},z={class:"search-box"},T={key:2,class:"col-7 left side"},M={class:"search-box"},V=["value"],Z={class:"col-5 right side"},R=P((()=>(0,i._)("i",{class:"fas fa-closed-captioning"},null,-1))),W=[R],j=P((()=>(0,i._)("i",{class:"fa fa-plus-circle"},null,-1))),U=[j],E=["checked","onChange"];function L(e,t,s,n,r,o){const d=(0,i.up)("Players");return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["header",{"with-filter":r.filterVisible}])},[(0,i._)("div",D,["search"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",S,[(0,i._)("button",{title:"Filter",class:(0,a.C_)(["filter-btn",{selected:r.filterVisible}]),onClick:t[0]||(t[0]=e=>r.filterVisible=!r.filterVisible)},N,2),(0,i._)("form",{onSubmit:t[2]||(t[2]=(0,l.iM)(((...e)=>o.search&&o.search(...e)),["prevent"]))},[(0,i._)("label",$,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Search","onUpdate:modelValue":t[1]||(t[1]=e=>r.query=e)},null,512),[[l.nr,r.query]])])],32)])):"torrents"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",I,[(0,i._)("form",{onSubmit:t[4]||(t[4]=(0,l.iM)((t=>e.$emit("torrent-add",r.torrentURL)),["prevent"]))},[(0,i._)("label",z,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[3]||(t[3]=e=>r.torrentURL=e)},null,512),[[l.nr,r.torrentURL]])])],32)])):"browser"===s.selectedView?((0,i.wg)(),(0,i.iD)("div",T,[(0,i._)("label",M,[(0,i._)("input",{type:"search",placeholder:"Filter",value:s.browserFilter,onChange:t[5]||(t[5]=t=>e.$emit("filter",t.target.value)),onKeyup:t[6]||(t[6]=t=>e.$emit("filter",t.target.value))},null,40,V)])])):(0,i.kq)("",!0),(0,i._)("div",Z,[s.hasSubtitlesPlugin&&s.selectedItem&&("file"===s.selectedItem.type||(s.selectedItem.url||"").startsWith("file://"))?((0,i.wg)(),(0,i.iD)("button",{key:0,title:"Select subtitles",class:(0,a.C_)(["captions-btn",{selected:null!=s.selectedSubtitles}]),onClick:t[7]||(t[7]=t=>e.$emit("show-subtitles"))},W,2)):(0,i.kq)("",!0),(0,i.Wm)(d,{"plugin-name":s.pluginName,onSelect:t[8]||(t[8]=t=>e.$emit("select-player",t)),onStatus:t[9]||(t[9]=t=>e.$emit("player-status",t))},null,8,["plugin-name"]),(0,i._)("button",{title:"Play URL",onClick:t[10]||(t[10]=t=>e.$emit("play-url"))},U)])]),(0,i._)("div",{class:(0,a.C_)(["row filter fade-in",{hidden:!r.filterVisible}])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(Object.keys(s.sources),(t=>((0,i.wg)(),(0,i.iD)("label",{key:t},[(0,i._)("input",{type:"checkbox",checked:s.sources[t],onChange:s=>e.$emit("source-toggle",t)},null,40,E),(0,i.Uk)(" "+(0,a.zw)(t),1)])))),128))],2)],2)}const O={class:"plugins"},F={class:"players"},H={class:"refresh"},K={key:1,class:"no-results"};function Y(e,t,s,l,n,r){const o=(0,i.up)("Chromecast"),d=(0,i.up)("Kodi"),c=(0,i.up)("Mplayer"),u=(0,i.up)("Mpv"),m=(0,i.up)("Omxplayer"),p=(0,i.up)("Vlc"),h=(0,i.up)("Loading"),y=(0,i.up)("DropdownItem"),w=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i._)("div",O,[(0,i.Wm)(o,{player:"media.chromecast"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"chromecastPlugin",onStatus:t[0]||(t[0]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(d,{player:"media.kodi"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"kodiPlugin",onStatus:t[1]||(t[1]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(c,{player:"media.mplayer"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"mplayerPlugin",onStatus:t[2]||(t[2]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(u,{player:"media.mpv"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"mpvPlugin",onStatus:t[3]||(t[3]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(m,{player:"media.omxplayer"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"omxplayerPlugin",onStatus:t[4]||(t[4]=t=>e.$emit("status",t))},null,8,["player"]),(0,i.Wm)(p,{player:"media.vlc"===n.selectedPlayer?.pluginName?n.selectedPlayer:null,ref:"vlcPlugin",onStatus:t[5]||(t[5]=t=>e.$emit("status",t))},null,8,["player"])]),(0,i._)("div",F,[(0,i.Wm)(w,{title:n.selectedPlayer?.name||"Players","icon-class":n.selectedPlayer?n.selectedPlayer.iconClass:"fab fa-chromecast"},{default:(0,i.w5)((()=>[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",H,[(0,i.Wm)(y,{text:"Refresh","icon-class":"fa fa-sync-alt",onClick:r.refresh},null,8,["onClick"])]),n.players?.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",K,"No players found")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.players,((e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["player",{selected:null!=n.selectedPlayer&&n.selectedPlayer.pluginName===e.pluginName&&n.selectedPlayer.name===e.name}]),key:t},[(0,i.Wm)(y,{text:e.name,"icon-class":e.iconClass,onClick:t=>r.select(e)},null,8,["text","icon-class","onClick"])],2)))),128))])),_:1},8,["title","icon-class"])])],64)}var B=s(5771),A=s(9015);function Q(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var G={name:"Mixin",mixins:[C.Z,b.Z],emits:["status"],props:{player:{type:Object}},data(){return{iconClass:null,name:null,pluginName:null}},methods:{async getPlayers(){return[{iconClass:this.iconClass,name:this.name,pluginName:this.pluginName,component:this,status:await this.status()}]},async status(){return await this.request(`${this.pluginName}.status`)},async play(e,t){return e?await this.request(`${this.pluginName}.play`,{resource:e.url,subtitles:t}):await this.pause()},async pause(){return await this.request(`${this.pluginName}.pause`)},async stop(){return await this.request(`${this.pluginName}.stop`)},async setVolume(e){return await this.request(`${this.pluginName}.set_volume`,{volume:e})},async seek(e){return await this.request(`${this.pluginName}.seek`,{position:e})},async onNewMedia(e){const t=await this.onMediaEvent(e);t&&e.title&&this.notify({title:e.player||e.device||this.player?.name||this.name||this.pluginName,text:e.title,image:{iconClass:this.iconClass||"fa fa-play"}})},async onMediaEvent(e){return e.plugin===this.pluginName&&(this.$emit("status",await this.status()),!0)},async addSubtitles(e){await this.request(`${this.pluginName}.add_subtitles`,{filename:e}),await this.request(`${this.pluginName}.toggle_subtitles`,{visible:!0})},async removeSubtitles(){await this.request(`${this.pluginName}.toggle_subtitles`,{visible:!1})},supports(e){return"file"===e?.type||"youtube"===e?.type||(e.url||e).startsWith("file://")||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}},mounted(){this.subscribe(this.onNewMedia,`on-new-media-${this.pluginName}`,"platypush.message.event.media.NewPlayingMediaEvent"),this.subscribe(this.onMediaEvent,`on-media-event-${this.pluginName}`,"platypush.message.event.media.MediaPlayEvent","platypush.message.event.media.MediaStopEvent","platypush.message.event.media.MediaPauseEvent","platypush.message.event.media.MediaSeekEvent","platypush.message.event.media.MediaVolumeChangedEvent","platypush.message.event.media.MediaMuteChangedEvent")},destroy(){this.unsubscribe(`on-media-event-${this.pluginName}`)}};const X=G;var J=X,ee={name:"Chromecast",mixins:[J],data(){return{name:"Chromecast",pluginName:"media.chromecast",iconClass:"fab fa-chromecast"}},methods:{async getPlayers(){const e=await this.request(`${this.pluginName}.get_chromecasts`);return Promise.all(e.map((async e=>({...e,iconClass:"audio"===e.type?"fa fa-volume-up":"fab fa-chromecast",pluginName:this.pluginName,status:this.request(`${this.pluginName}.status`,{chromecast:e.name}),component:this}))))},getPlayerName(e){return"string"===typeof e?e:e?e?.name:this.player?.name},async status(e){return await this.request(`${this.pluginName}.status`,{chromecast:this.getPlayerName(e)})},async play(e,t){return e?await this.request(`${this.pluginName}.play`,{resource:e.url,chromecast:this.getPlayerName(t)}):await this.pause(t)},async pause(e){return await this.request(`${this.pluginName}.pause`,{chromecast:this.getPlayerName(e)})},async stop(e){return await this.request(`${this.pluginName}.quit`,{chromecast:this.getPlayerName(e)})},async setVolume(e,t){return await this.request(`${this.pluginName}.set_volume`,{volume:e,chromecast:this.getPlayerName(t)})},async seek(e,t){return await this.request(`${this.pluginName}.seek`,{position:e,chromecast:this.getPlayerName(t)})},async onMediaEvent(e){return e.plugin===this.pluginName&&(this.$emit("status",await this.status(e.player)),!0)},supports(e){return"youtube"===e?.type||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}},te=s(3744);const se=(0,te.Z)(ee,[["render",Q]]);var ie=se;function ae(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var le={name:"Kodi",mixins:[J],data(){return{iconClass:"fa fa-kodi",name:"Kodi",pluginName:"media.kodi"}},methods:{async getPlayers(){return[{iconClass:this.iconClass,pluginName:this.pluginName,name:this.$root.config["media.kodi"]?.host||this.name,component:this,status:await this.request(`${this.pluginName}.status`)}]},supports(e){return"youtube"===e?.type||(e.url||e).startsWith("http://")||(e.url||e).startsWith("https://")}}};const ne=(0,te.Z)(le,[["render",ae]]);var re=ne;function oe(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var de={name:"Mplayer",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"MPlayer",pluginName:"media.mplayer"}}};const ce=(0,te.Z)(de,[["render",oe]]);var ue=ce;function me(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var pe={name:"Mpv",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"mpv",pluginName:"media.mpv"}}};const he=(0,te.Z)(pe,[["render",me]]);var ye=he;function we(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var fe={name:"Omxplayer",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"OMXPlayer",pluginName:"media.omxplayer"}}};const ge=(0,te.Z)(fe,[["render",we]]);var ve=ge;function _e(e,t,s,a,l,n){return(0,i.wg)(),(0,i.iD)("div")}var ke={name:"Vlc",mixins:[J],data(){return{iconClass:"fa fa-tv",name:"VLC",pluginName:"media.vlc"}}};const Ce=(0,te.Z)(ke,[["render",_e]]);var be=Ce,xe={name:"Players",components:{Loading:_.Z,DropdownItem:A.Z,Dropdown:B.Z,Chromecast:ie,Kodi:re,Mplayer:ue,Mpv:ye,Omxplayer:ve,Vlc:be},emits:["select","status"],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,players:[],selectedPlayer:null,config:{},plugins:[]}},methods:{loadPlugins(){this.plugins=Object.entries(this.$refs).filter((e=>e[0].endsWith("Plugin"))).map((e=>e[1]))},async refresh(){this.players=[],this.loading=!0;const e=this.$root.config;try{await Promise.all(this.plugins.map((async t=>{if(!(t.pluginName in e))return;const s=await t.getPlayers();this.players.push(...s),null==this.selectedPlayer&&t.pluginName===this.pluginName&&s.length>0&&this.select(s[0])})))}finally{this.loading=!1}},select(e){this.selectedPlayer=e,this.$emit("select",e)}},async mounted(){await this.loadPlugins(),await this.refresh()}};const Pe=(0,te.Z)(xe,[["render",Y],["__scopeId","data-v-27e87a29"]]);var De=Pe,Se={name:"Header",components:{Players:De},emits:["search","select-player","player-status","torrent-add","show-subtitles","play-url","filter","source-toggle"],props:{pluginName:{type:String,required:!0},selectedView:{type:String,required:!0},selectedSubtitles:{type:String},selectedItem:{type:Object},hasSubtitlesPlugin:{type:Boolean,default:!1},browserFilter:{type:String,default:""},sources:{type:Object,default:()=>{}}},data(){return{filterVisible:!1,query:"",torrentURL:""}},methods:{search(){const e=Object.keys(this.sources).filter((e=>this.sources[e]));this.query?.length&&e?.length&&this.$emit("search",{query:this.query,types:e})}},mounted(){this.$watch((()=>this.selectedView),(()=>{this.$emit("filter",""),this.torrentURL="",this.query=""}))}};const qe=(0,te.Z)(Se,[["render",L],["__scopeId","data-v-37a493ac"]]);var Ne=qe;const $e=e=>((0,i.dD)("data-v-28611e6c"),e=e(),(0,i.Cn)(),e),Ie={key:0,class:"row"},ze=$e((()=>(0,i._)("div",{class:"left side"},"Title",-1))),Te={class:"right side"},Me=["href","textContent"],Ve=["textContent"],Ze={key:1,class:"row"},Re=$e((()=>(0,i._)("div",{class:"left side"},"TV Series",-1))),We=["textContent"],je={key:2,class:"row"},Ue=$e((()=>(0,i._)("div",{class:"left side"},"Season",-1))),Ee=["textContent"],Le={key:3,class:"row"},Oe=$e((()=>(0,i._)("div",{class:"left side"},"Episode",-1))),Fe=["textContent"],He={key:4,class:"row"},Ke=$e((()=>(0,i._)("div",{class:"left side"},"Number of seasons",-1))),Ye=["textContent"],Be={key:5,class:"row"},Ae=$e((()=>(0,i._)("div",{class:"left side"},"Synopsis",-1))),Qe=["textContent"],Ge={key:6,class:"row"},Xe=$e((()=>(0,i._)("div",{class:"left side"},"Description",-1))),Je=["textContent"],et={key:7,class:"row"},tt=$e((()=>(0,i._)("div",{class:"left side"},"Summary",-1))),st=["textContent"],it={key:8,class:"row"},at=$e((()=>(0,i._)("div",{class:"left side"},"Overview",-1))),lt=["textContent"],nt={key:9,class:"row"},rt=$e((()=>(0,i._)("div",{class:"left side"},"Duration",-1))),ot=["textContent"],dt={key:10,class:"row"},ct=$e((()=>(0,i._)("div",{class:"left side"},"Country",-1))),ut=["textContent"],mt={key:11,class:"row"},pt=$e((()=>(0,i._)("div",{class:"left side"},"Network",-1))),ht=["textContent"],yt={key:12,class:"row"},wt=$e((()=>(0,i._)("div",{class:"left side"},"Status",-1))),ft=["textContent"],gt={key:13,class:"row"},vt=$e((()=>(0,i._)("div",{class:"left side"},"Rating",-1))),_t=["textContent"],kt={key:14,class:"row"},Ct=$e((()=>(0,i._)("div",{class:"left side"},"Votes",-1))),bt=["textContent"],xt={key:15,class:"row"},Pt=$e((()=>(0,i._)("div",{class:"left side"},"Genres",-1))),Dt=["textContent"],St={key:16,class:"row"},qt=$e((()=>(0,i._)("div",{class:"left side"},"Channel",-1))),Nt={class:"right side"},$t=["href","textContent"],It={key:17,class:"row"},zt=$e((()=>(0,i._)("div",{class:"left side"},"Year",-1))),Tt=["textContent"],Mt={key:18,class:"row"},Vt=$e((()=>(0,i._)("div",{class:"left side"},"Published at",-1))),Zt=["textContent"],Rt={key:19,class:"row"},Wt=$e((()=>(0,i._)("div",{class:"left side"},"File",-1))),jt=["textContent"],Ut={key:20,class:"row"},Et=$e((()=>(0,i._)("div",{class:"left side"},"URL",-1))),Lt={class:"right side url"},Ot=["href","textContent"],Ft={key:21,class:"row"},Ht=$e((()=>(0,i._)("div",{class:"left side"},"Trailer",-1))),Kt={class:"right side url"},Yt=["href","textContent"],Bt={key:22,class:"row"},At=$e((()=>(0,i._)("div",{class:"left side"},"Size",-1))),Qt=["textContent"],Gt={key:23,class:"row"},Xt=$e((()=>(0,i._)("div",{class:"left side"},"Quality",-1))),Jt=["textContent"],es={key:24,class:"row"},ts=$e((()=>(0,i._)("div",{class:"left side"},"Seeds",-1))),ss=["textContent"],is={key:25,class:"row"},as=$e((()=>(0,i._)("div",{class:"left side"},"Peers",-1))),ls=["textContent"],ns={key:26,class:"row"},rs=$e((()=>(0,i._)("div",{class:"left side"},"Language",-1))),os=["textContent"];function ds(e,t,s,l,n,r){return(0,i.wg)(),(0,i.iD)(i.HY,null,[s.item?.title?((0,i.wg)(),(0,i.iD)("div",Ie,[ze,(0,i._)("div",Te,[s.item.imdb_id?((0,i.wg)(),(0,i.iD)("a",{key:0,href:`https://www.imdb.com/title/${s.item.imdb_id}`,target:"_blank",textContent:(0,a.zw)(s.item.title)},null,8,Me)):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,a.zw)(s.item.title)},null,8,Ve))])])):(0,i.kq)("",!0),s.item?.series?((0,i.wg)(),(0,i.iD)("div",Ze,[Re,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.series)},null,8,We)])):(0,i.kq)("",!0),s.item?.season?((0,i.wg)(),(0,i.iD)("div",je,[Ue,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.season)},null,8,Ee)])):(0,i.kq)("",!0),s.item?.episode?((0,i.wg)(),(0,i.iD)("div",Le,[Oe,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.episode)},null,8,Fe)])):(0,i.kq)("",!0),s.item?.num_seasons?((0,i.wg)(),(0,i.iD)("div",He,[Ke,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.num_seasons)},null,8,Ye)])):(0,i.kq)("",!0),s.item?.synopsis?((0,i.wg)(),(0,i.iD)("div",Be,[Ae,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.synopsis)},null,8,Qe)])):(0,i.kq)("",!0),s.item?.description?((0,i.wg)(),(0,i.iD)("div",Ge,[Xe,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.description)},null,8,Je)])):(0,i.kq)("",!0),s.item?.summary?((0,i.wg)(),(0,i.iD)("div",et,[tt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.summary)},null,8,st)])):(0,i.kq)("",!0),s.item?.overview?((0,i.wg)(),(0,i.iD)("div",it,[at,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.overview)},null,8,lt)])):(0,i.kq)("",!0),s.item?.duration?((0,i.wg)(),(0,i.iD)("div",nt,[rt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.convertTime(s.item.duration))},null,8,ot)])):(0,i.kq)("",!0),s.item?.country?((0,i.wg)(),(0,i.iD)("div",dt,[ct,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.country)},null,8,ut)])):(0,i.kq)("",!0),s.item?.network?((0,i.wg)(),(0,i.iD)("div",mt,[pt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.network)},null,8,ht)])):(0,i.kq)("",!0),s.item?.status?((0,i.wg)(),(0,i.iD)("div",yt,[wt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.status)},null,8,ft)])):(0,i.kq)("",!0),s.item?.rating?((0,i.wg)(),(0,i.iD)("div",gt,[vt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.rating.percentage)},null,8,_t)])):(0,i.kq)("",!0),s.item?.rating?((0,i.wg)(),(0,i.iD)("div",kt,[Ct,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.rating.votes)},null,8,bt)])):(0,i.kq)("",!0),s.item?.genres?((0,i.wg)(),(0,i.iD)("div",xt,[Pt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.genres.join(", "))},null,8,Dt)])):(0,i.kq)("",!0),s.item?.channelId?((0,i.wg)(),(0,i.iD)("div",St,[qt,(0,i._)("div",Nt,[(0,i._)("a",{href:`https://www.youtube.com/channel/${s.item.channelId}`,target:"_blank",textContent:(0,a.zw)(s.item.channelTitle||`https://www.youtube.com/channel/${s.item.channelId}`)},null,8,$t)])])):(0,i.kq)("",!0),s.item?.year?((0,i.wg)(),(0,i.iD)("div",It,[zt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.year)},null,8,Tt)])):(0,i.kq)("",!0),s.item?.publishedAt?((0,i.wg)(),(0,i.iD)("div",Mt,[Vt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.formatDate(s.item.publishedAt,!0))},null,8,Zt)])):(0,i.kq)("",!0),s.item?.file?((0,i.wg)(),(0,i.iD)("div",Rt,[Wt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.file)},null,8,jt)])):(0,i.kq)("",!0),s.item?.url?((0,i.wg)(),(0,i.iD)("div",Ut,[Et,(0,i._)("div",Lt,[(0,i._)("a",{href:s.item.url,target:"_blank",textContent:(0,a.zw)(s.item.url)},null,8,Ot)])])):(0,i.kq)("",!0),s.item?.trailer?((0,i.wg)(),(0,i.iD)("div",Ft,[Ht,(0,i._)("div",Kt,[(0,i._)("a",{href:s.item.trailer,target:"_blank",textContent:(0,a.zw)(s.item.trailer)},null,8,Yt)])])):(0,i.kq)("",!0),s.item?.size?((0,i.wg)(),(0,i.iD)("div",Bt,[At,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(e.convertSize(s.item.size))},null,8,Qt)])):(0,i.kq)("",!0),s.item?.quality?((0,i.wg)(),(0,i.iD)("div",Gt,[Xt,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.quality)},null,8,Jt)])):(0,i.kq)("",!0),s.item?.seeds?((0,i.wg)(),(0,i.iD)("div",es,[ts,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.seeds)},null,8,ss)])):(0,i.kq)("",!0),s.item?.peers?((0,i.wg)(),(0,i.iD)("div",is,[as,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.peers)},null,8,ls)])):(0,i.kq)("",!0),s.item?.language?((0,i.wg)(),(0,i.iD)("div",ns,[rs,(0,i._)("div",{class:"right side",textContent:(0,a.zw)(s.item.language)},null,8,os)])):(0,i.kq)("",!0)],64)}var cs={name:"Info",mixins:[C.Z,b.Z],props:{item:{type:Object,default:()=>{}}}};const us=(0,te.Z)(cs,[["render",ds],["__scopeId","data-v-28611e6c"]]);var ms=us;const ps=["title","onClick"];function hs(e,t,s,l,n,r){return(0,i.wg)(),(0,i.iD)("nav",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(s.views,((t,l)=>((0,i.wg)(),(0,i.iD)("li",{key:l,title:t.displayName,class:(0,a.C_)({selected:l===s.selectedView}),onClick:t=>e.$emit("input",l)},[(0,i._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ps)))),128))])}var ys={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:()=>({search:{iconClass:"fa fa-search",displayName:"Search"},browser:{iconClass:"fa fa-folder",displayName:"Browser"},torrents:{iconClass:"fa fa-magnet",displayName:"Torrents"}})}}};const ws=(0,te.Z)(ys,[["render",hs],["__scopeId","data-v-4597e14d"]]);var fs=ws;const gs={class:"media-results"},vs={key:0,class:"no-content"},_s=["onClick"],ks={class:"col-10 left side"},Cs={class:"icon"},bs=["textContent"],xs={class:"col-2 right side"};function Ps(e,t,s,l,n,r){const o=(0,i.up)("DropdownItem"),d=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",gs,[s.results?.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",vs," No search results ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(s.results,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:s.selectedResult===l,hidden:!s.sources[t.type]}]),key:l,onClick:t=>e.$emit("select",l)},[(0,i._)("div",ks,[(0,i._)("div",Cs,[(0,i._)("i",{class:(0,a.C_)(n.typeIcons[t.type])},null,2)]),(0,i._)("div",{class:"title",textContent:(0,a.zw)(t.title)},null,8,bs)]),(0,i._)("div",xs,[(0,i.Wm)(d,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:t=>e.$emit("select",l)},{default:(0,i.w5)((()=>["torrent"!==t?.type?((0,i.wg)(),(0,i.j4)(o,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:s=>e.$emit("play",t)},null,8,["onClick"])):(0,i.kq)("",!0),"torrent"===t?.type?((0,i.wg)(),(0,i.j4)(o,{key:1,"icon-class":"fa fa-download",text:"Download",onClick:s=>e.$emit("download",t)},null,8,["onClick"])):(0,i.kq)("",!0),"file"===t?.type?((0,i.wg)(),(0,i.j4)(o,{key:2,"icon-class":"fa fa-window-maximize",text:"View in browser",onClick:s=>e.$emit("view",t)},null,8,["onClick"])):(0,i.kq)("",!0),(0,i.Wm)(o,{"icon-class":"fa fa-info",text:"Info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1032,["onClick"])])],10,_s)))),128))])}var Ds={name:"Results",components:{Dropdown:B.Z,DropdownItem:A.Z},emits:["select","info","play","view","download"],props:{results:{type:Array,default:()=>[]},selectedResult:{type:Number},sources:{type:Object,default:()=>{}}},data(){return{typeIcons:{file:"fa fa-hdd",torrent:"fa fa-magnet",youtube:"fab fa-youtube",plex:"fa fa-plex",jellyfin:"fa fa-jellyfin"}}}};const Ss=(0,te.Z)(Ds,[["render",Ps],["__scopeId","data-v-28f7c518"]]);var qs=Ss;const Ns=e=>((0,i.dD)("data-v-77ae3705"),e=e(),(0,i.Cn)(),e),$s={class:"subtitles-container"},Is={class:"items"},zs=Ns((()=>(0,i._)("div",{class:"col-1 icon"},[(0,i._)("i",{class:"fa fa-ban"})],-1))),Ts=Ns((()=>(0,i._)("div",{class:"col-11 title"},"None",-1))),Ms=[zs,Ts],Vs=["onClick"],Zs={class:"col-1 icon"},Rs={key:0,class:"fa fa-file"},Ws={key:2,class:"fa fa-closed-captioning"},js={class:"footer"};function Us(e,t,s,l,n,r){const o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",$s,[(0,i._)("div",Is,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),(0,i._)("div",{class:(0,a.C_)(["row item",{selected:null==n.selectedItem}]),onClick:t[0]||(t[0]=e=>n.selectedItem=null)},Ms,2),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.items,((e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:n.selectedItem===t}]),key:t,onClick:e=>n.selectedItem=t},[(0,i._)("div",Zs,[e.IsLocal?((0,i.wg)(),(0,i.iD)("i",Rs)):e.ISO639?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,a.C_)(["flag-icon",`flag-icon-${e.ISO639}`])},null,2)):((0,i.wg)(),(0,i.iD)("i",Ws))]),(0,i.Uk)(" "+(0,a.zw)(e.SubFileName),1)],10,Vs)))),128))]),(0,i._)("div",js,[(0,i._)("button",{onClick:t[1]||(t[1]=t=>e.$emit("select-subs",null==n.selectedItem?null:n.items[n.selectedItem]))},"Select")])])}var Es={name:"Subtitles",mixins:[C.Z],components:{Loading:_.Z},emits:["select-subs"],props:{item:{type:Object,default:()=>{}}},data(){return{loading:!1,items:[],selectedItem:null}},methods:{async refresh(){this.loading=!0;try{this.items=await this.request("media.subtitles.search",{resource:this.item.url,language:"all"})}finally{this.loading=!1}}},mounted(){this.refresh()}};const Ls=(0,te.Z)(Es,[["render",Us],["__scopeId","data-v-77ae3705"]]);var Os=Ls,Fs=s(779);const Hs=e=>((0,i.dD)("data-v-a2e5c946"),e=e(),(0,i.Cn)(),e),Ks={class:"browser-container"},Ys=Hs((()=>(0,i._)("div",{class:"col-10 left side"},[(0,i._)("i",{class:"icon fa fa-folder"}),(0,i._)("span",{class:"name"},"..")],-1))),Bs=[Ys],As=["onClick"],Qs={class:"col-10"},Gs={class:"name"},Xs={class:"col-2 actions"};function Js(e,t,s,l,n,r){const o=(0,i.up)("Loading"),d=(0,i.up)("DropdownItem"),c=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",Ks,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),n.path?.length&&"/"!==n.path?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"row item",onClick:t[0]||(t[0]=e=>n.path=(n.path||"")+"/..")},Bs)):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.filteredFiles,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"row item",key:l,onClick:e=>n.path=t.path},[(0,i._)("div",Qs,[(0,i._)("i",{class:(0,a.C_)(["icon fa",{"fa-file":"directory"!==t.type,"fa-folder":"directory"===t.type}])},null,2),(0,i._)("span",Gs,(0,a.zw)(t.name),1)]),(0,i._)("div",Xs,[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[s.isMedia&&e.mediaExtensions.has(t.name.split(".").pop())?((0,i.wg)(),(0,i.j4)(d,{key:0,"icon-class":"fa fa-play",text:"Play",onClick:s=>e.$emit("play",{type:"file",url:`file://${t.path}`})},null,8,["onClick"])):(0,i.kq)("",!0)])),_:2},1024)])],8,As)))),128))])}var ei={name:"Browser",components:{DropdownItem:A.Z,Dropdown:B.Z,Loading:_.Z},mixins:[C.Z,b.Z],emits:["path-change"],props:{initialPath:{type:String},isMedia:{type:Boolean},filter:{type:String,default:""}},data(){return{loading:!1,path:this.initialPath,files:[]}},computed:{filteredFiles(){return this.filter?.length?this.files.filter((e=>(e?.name||"").toLowerCase().indexOf(this.filter.toLowerCase())>=0)):this.files}},methods:{async refresh(){this.loading=!0;try{this.files=await this.request("file.list",{path:this.path}),this.$emit("path-change",this.path)}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.path),(()=>this.refresh())),this.refresh()}};const ti=(0,te.Z)(ei,[["render",Js],["__scopeId","data-v-a2e5c946"]]);var si=ti,ii={name:"Media",mixins:[C.Z,b.Z],components:{Browser:si,Loading:_.Z,MediaView:x.Z,Header:Ne,Results:qs,Modal:k.Z,Info:ms,Nav:fs,TorrentView:Fs.Z,Subtitles:Os},props:{pluginName:{type:String,required:!0},mediaButtons:{type:Object,default:()=>({previous:!1,next:!1,stop:!0})}},data(){return{loading:!1,results:[],selectedResult:null,selectedPlayer:null,selectedView:"search",selectedSubtitles:null,showSubtitlesModal:!1,awaitingPlayTorrent:null,urlPlay:null,browserFilter:null,torrentPlugin:null,torrentPlugins:["torrent","rtorrent"],sources:{file:!0,youtube:!0,torrent:!0}}},computed:{hasSubtitlesPlugin(){return"media.subtitles"in this.$root.config}},methods:{async search(e){this.loading=!0;try{this.results=await this.request(`${this.pluginName}.search`,e)}finally{this.loading=!1}},async play(e){if("torrent"===e?.type)return this.awaitingPlayTorrent=e.url,void await this.download(e);this.selectedPlayer.component.supports(e)||(e=await this.startStreaming(e)),await this.selectedPlayer.component.play(e,this.selectedSubtitles,this.selectedPlayer),await this.refresh()},async pause(){await this.selectedPlayer.component.pause(this.selectedPlayer),await this.refresh()},async stop(){await this.selectedPlayer.component.stop(this.selectedPlayer),await this.refresh()},async setVolume(e){await this.selectedPlayer.component.setVolume(e,this.selectedPlayer),await this.refresh()},async seek(e){await this.selectedPlayer.component.seek(e,this.selectedPlayer),await this.refresh()},async view(e){const t=await this.startStreaming(e,!0);window.open(t.url,"_blank")},async download(e){"torrent"===e?.type&&await this.downloadTorrent(e)},async refresh(){this.selectedPlayer.status=await this.selectedPlayer.component.status(this.selectedPlayer)},onStatusUpdate(e){this.selectedPlayer&&(this.selectedPlayer.status=e)},onTorrentQueued(e){this.notify({title:"Torrent queued for download",text:e.name,image:{iconClass:"fa fa-magnet"}})},onTorrentMetadata(e){this.notify({title:"Torrent metadata downloaded",text:e.name,image:{iconClass:"fa fa-info"}})},onTorrentDownloadStart(e){this.notify({title:"Torrent download started",text:e.name,image:{iconClass:"fa fa-download"}})},onTorrentDownloadCompleted(e){this.notify({title:"Torrent download completed",text:e.name,image:{iconClass:"fa fa-check"}})},getTorrentPlugin(){const e=this.$root.config[this.pluginName]||{};let t=e.torrent_plugin;if(!t)for(let s of this.torrentPlugins)if(s in this.$root.config){t=s;break}return t},async downloadTorrent(e){const t=this.getTorrentPlugin();if(t)return await this.request(`${t}.download`,{torrent:e?.url||e});this.notify({text:"No torrent plugins configured",error:!0})},async selectSubtitles(e){if(this.$refs.subtitlesSelector.close(),!e)return void(this.selectedSubtitles=null);this.notify({text:"Downloading subtitles track",image:{iconClass:"fa fa-download"}});const t=await this.request("media.subtitles.download",{link:e.SubDownloadLink});this.selectedSubtitles=t.filename,this.notify({text:"Subtitles track downloaded",image:{iconClass:"fa fa-check"}})},onResultSelect(e){null!=this.selectedResult&&this.selectedResult===e||(this.selectedResult=e,this.selectedSubtitles=null)},async playUrl(e){this.loading=!0;try{await this.play({url:e}),this.$refs.playUrlModal.close()}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selectedPlayer),(e=>{e&&this.refresh()})),this.$watch((()=>this.selectedSubtitles),(e=>{new Set(["play","pause"]).has(this.selectedPlayer?.status?.state)&&(e?this.selectedPlayer.component.addSubtitles(e):this.selectedPlayer.component.removeSubtitles())})),this.torrentPlugin=this.getTorrentPlugin(),this.subscribe(this.onTorrentQueued,"notify-on-torrent-queued","platypush.message.event.torrent.TorrentQueuedEvent"),this.subscribe(this.onTorrentMetadata,"on-torrent-metadata","platypush.message.event.torrent.TorrentDownloadedMetadataEvent"),this.subscribe(this.onTorrentDownloadStart,"notify-on-torrent-download-start","platypush.message.event.torrent.TorrentDownloadStartEvent"),this.subscribe(this.onTorrentDownloadCompleted,"notify-on-torrent-download-completed","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),"media.plex"in this.$root.config&&(this.sources.plex=!0),"media.jellyfin"in this.$root.config&&(this.sources.jellyfin=!0)},destroy(){this.unsubscribe("notify-on-torrent-queued"),this.unsubscribe("on-torrent-metadata"),this.unsubscribe("notify-on-torrent-download-start"),this.unsubscribe("notify-on-torrent-download-completed")}};const ai=(0,te.Z)(ii,[["render",v],["__scopeId","data-v-040b2676"]]);var li=ai},779:function(e,t,s){s.d(t,{Z:function(){return me}});var i=s(6252),a=s(3577);const l=e=>((0,i.dD)("data-v-7eb04934"),e=e(),(0,i.Cn)(),e),n={key:1,class:"torrent-transfers fade-in"},r={key:0,class:"no-content"},o=["onClick"],d={class:"col-8 left side"},c=["textContent"],u={class:"col-2 right side"},m=["textContent"],p={class:"col-2 right side"},h={key:0,class:"modal-body torrent-info"},y={key:0,class:"row"},w=l((()=>(0,i._)("div",{class:"attr"},"Name",-1))),f=["textContent"],g={key:1,class:"row"},v=l((()=>(0,i._)("div",{class:"attr"},"State",-1))),_=["textContent"],k={class:"row"},C=l((()=>(0,i._)("div",{class:"attr"},"Progress",-1))),b=["textContent"],x={class:"row"},P=l((()=>(0,i._)("div",{class:"attr"},"DL rate",-1))),D=["textContent"],S={class:"row"},q=l((()=>(0,i._)("div",{class:"attr"},"UL rate",-1))),N=["textContent"],$={class:"row"},I=l((()=>(0,i._)("div",{class:"attr"},"Size",-1))),z=["textContent"],T={key:2,class:"row"},M=l((()=>(0,i._)("div",{class:"attr"},"Remaining",-1))),V=["textContent"],Z={class:"row"},R=l((()=>(0,i._)("div",{class:"attr"},"URL",-1))),W={class:"value nowrap"},j=["href","textContent"],U={class:"row"},E=l((()=>(0,i._)("div",{class:"attr"},"Peers",-1))),L=["textContent"],O={key:3,class:"row"},F=l((()=>(0,i._)("div",{class:"attr"},"Started",-1))),H=["textContent"],K={key:4,class:"row"},Y=l((()=>(0,i._)("div",{class:"attr"},"Finished",-1))),B=["textContent"],A={key:5,class:"row"},Q=l((()=>(0,i._)("div",{class:"attr"},"Save path",-1))),G=["textContent"],X={key:0,class:"modal-body torrent-files"},J={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function se(e,t,s,l,se,ie){const ae=(0,i.up)("Loading"),le=(0,i.up)("DropdownItem"),ne=(0,i.up)("Dropdown"),re=(0,i.up)("Modal");return se.loading?((0,i.wg)(),(0,i.j4)(ae,{key:0})):((0,i.wg)(),(0,i.iD)("div",n,[Object.keys(se.transfers).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",r,"No torrent transfers in progress")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(se.transfers,((s,l)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row item",{selected:se.selectedItem===l}]),key:l,onClick:e=>se.selectedItem=l},[(0,i._)("div",d,[(0,i._)("i",{class:(0,a.C_)(["icon fa",{"fa-check":null!=s.finish_date,"fa-play":!s.finish_date&&"downloading"===s.state,"fa-pause":!s.finish_date&&"paused"===s.state,"fa-stop":!s.finish_date&&"stopped"===s.state}])},null,2),(0,i._)("div",{class:"title",textContent:(0,a.zw)(s.name||s.hash||s.url)},null,8,c)]),(0,i._)("div",u,[(0,i._)("span",{textContent:(0,a.zw)(`${s.progress}%`)},null,8,m)]),(0,i._)("div",p,[(0,i.Wm)(ne,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:e=>se.selectedItem=l},{default:(0,i.w5)((()=>["downloading"===s.state?((0,i.wg)(),(0,i.j4)(le,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:e=>ie.pause(ie.torrentId(s))},null,8,["onClick"])):(0,i.kq)("",!0),"paused"===s.state?((0,i.wg)(),(0,i.j4)(le,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:e=>ie.resume(ie.torrentId(s))},null,8,["onClick"])):(0,i.kq)("",!0),(0,i.Wm)(le,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:e=>ie.remove(ie.torrentId(s))},null,8,["onClick"]),(0,i.Wm)(le,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=t=>e.$refs.torrentFiles.isVisible=!0)}),(0,i.Wm)(le,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=t=>e.$refs.torrentInfo.isVisible=!0)})])),_:2},1032,["onClick"])])],10,o)))),128)),(0,i.Wm)(re,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,i.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,i.wg)(),(0,i.iD)("div",h,[se.transfers[se.selectedItem].name?((0,i.wg)(),(0,i.iD)("div",y,[w,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].name)},null,8,f)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].state?((0,i.wg)(),(0,i.iD)("div",g,[v,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].state)},null,8,_)])):(0,i.kq)("",!0),(0,i._)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${se.transfers[se.selectedItem].progress||0}%`)},null,8,b)]),(0,i._)("div",x,[P,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].download_rate||0)}/s`)},null,8,D)]),(0,i._)("div",S,[q,(0,i._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].upload_rate||0)}/s`)},null,8,N)]),(0,i._)("div",$,[I,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].size||0))},null,8,z)]),se.transfers[se.selectedItem].remaining_bytes?((0,i.wg)(),(0,i.iD)("div",T,[M,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].remaining_bytes))},null,8,V)])):(0,i.kq)("",!0),(0,i._)("div",Z,[R,(0,i._)("div",W,[(0,i._)("a",{href:se.transfers[se.selectedItem].url,target:"_blank",textContent:(0,a.zw)(se.transfers[se.selectedItem].url)},null,8,j)])]),(0,i._)("div",U,[E,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].peers||0)},null,8,L)]),se.transfers[se.selectedItem].start_date?((0,i.wg)(),(0,i.iD)("div",O,[F,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].start_date))},null,8,H)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].finish_date?((0,i.wg)(),(0,i.iD)("div",K,[Y,(0,i._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].finish_date))},null,8,B)])):(0,i.kq)("",!0),se.transfers[se.selectedItem].save_path?((0,i.wg)(),(0,i.iD)("div",A,[Q,(0,i._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].save_path)},null,8,G)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512),(0,i.Wm)(re,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,i.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,i.wg)(),(0,i.iD)("div",X,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(ie.relativeFiles,((t,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"row",key:t},[(0,i._)("div",J,[s.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,i.wg)(),(0,i.j4)(ne,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(le,{"icon-class":"fa fa-play",text:"Play",onClick:t=>e.$emit("play",{url:`file://${se.transfers[se.selectedItem].files[l]}`,type:"file"})},null,8,["onClick"])])),_:2},1024)):((0,i.wg)(),(0,i.iD)("i",ee))]),(0,i._)("div",{class:"col-11 name",textContent:(0,a.zw)(t)},null,8,te)])))),128))])):(0,i.kq)("",!0)])),_:1},512)]))}var ie=s(1232),ae=s(6813),le=s(8337),ne=s(8453),re=s(5771),oe=s(9015),de={name:"View",emits:["play","play-with-captions"],components:{Dropdown:re.Z,DropdownItem:oe.Z,Loading:ie.Z,Modal:ne.Z},mixins:[ae.Z,le.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles(){return null!=this.selectedItem&&this.transfers[this.selectedItem]?.files?.length?this.transfers[this.selectedItem].files.map((e=>e.split("/").pop())):[]}},methods:{torrentId(e){return e?.hash&&e.hash.length?e.hash:e.url},async refresh(){this.loading=!0;try{this.transfers=Object.values(await this.request(`${this.pluginName}.status`)||{}).reduce(((e,t)=>(e[this.torrentId(t)]=t,e)),{})}finally{this.loading=!1}},async pause(e){await this.request(`${this.pluginName}.pause`,{torrent:e}),await this.refresh()},async resume(e){await this.request(`${this.pluginName}.resume`,{torrent:e}),await this.refresh()},async remove(e){await this.request(`${this.pluginName}.remove`,{torrent:e}),await this.refresh()},onTorrentUpdate(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove(e){const t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},ce=s(3744);const ue=(0,ce.Z)(de,[["render",se],["__scopeId","data-v-7eb04934"]]);var me=ue}}]); +//# sourceMappingURL=4196.cec98eba.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js.map b/platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js.map rename to platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js.map index 5711c6f10..0dd6df230 100644 --- a/platypush/backend/http/webapp/dist/static/js/4196.c3e5b6b2.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4196.cec98eba.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4196.c3e5b6b2.js","mappings":"2MAESA,MAAM,wB,GAOAA,MAAM,iB,GAINA,MAAM,kB,GAyBVA,MAAM,wB,GAMNA,MAAM,uB,SAGFA,MAAM,qB,GAQVA,MAAM,sB,GAGAA,MAAM,O,WACF,mB,WACa,W,WAAY,6B,GAK7BA,MAAM,c,0SAhErB,QAuEa,YAtEX,OAqEM,MArEN,EAqEM,CApEW,EAAAC,UAAA,WAAf,Q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,GAAEF,KAAK3E,mBAAoB,CAACqN,QAASA,UACnD1I,KAAKX,SACZ,EAEDU,aAAa2I,SACL1I,KAAKE,QAAS,GAAEF,KAAK3E,oBAAqB,CAACqN,QAASA,UACpD1I,KAAKX,SACZ,EAEDU,aAAa2I,SACL1I,KAAKE,QAAS,GAAEF,KAAK3E,oBAAqB,CAACqN,QAASA,UACpD1I,KAAKX,SACZ,EAEDsL,gBAAgBjC,GACd1I,KAAKuJ,UAAUvJ,KAAK0J,UAAUhB,IAAYA,CAC3C,EAEDkC,gBAAgBlC,GACd,MAAMgB,EAAY1J,KAAK0J,UAAUhB,GAC7BgB,KAAa1J,KAAKuJ,kBACbvJ,KAAKuJ,UAAUG,EACzB,GAGHvI,UACEnB,KAAKX,UAELW,KAAKoB,UACDpB,KAAK2K,gBAAgB,oBACrB,qDACA,iEACA,4DACA,+DACA,sDACA,qDACA,2DACA,0DACA,2DACA,iEAEJ3K,KAAKoB,UAAUpB,KAAK4K,gBAAgB,oBAChC,sDACL,EAEDtJ,UACEtB,KAAKuB,YAAY,qBACjBvB,KAAKuB,YAAY,oBAClB,G,WCjOH,MAAMC,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS8H,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Media/Index.vue","webpack://platypush/./src/components/panels/Media/Header.vue","webpack://platypush/./src/components/panels/Media/Players.vue","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue?8a34","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue?c107","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue?6dfd","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue?eab0","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue?06ab","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue?69bd","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue?4868","webpack://platypush/./src/components/panels/Media/Players.vue?c223","webpack://platypush/./src/components/panels/Media/Header.vue?b895","webpack://platypush/./src/components/panels/Media/Info.vue","webpack://platypush/./src/components/panels/Media/Info.vue?c19c","webpack://platypush/./src/components/panels/Media/Nav.vue","webpack://platypush/./src/components/panels/Media/Nav.vue?bae0","webpack://platypush/./src/components/panels/Media/Results.vue","webpack://platypush/./src/components/panels/Media/Results.vue?23d6","webpack://platypush/./src/components/panels/Media/Subtitles.vue","webpack://platypush/./src/components/panels/Media/Subtitles.vue?17fa","webpack://platypush/./src/components/File/Browser.vue","webpack://platypush/./src/components/File/Browser.vue?8abf","webpack://platypush/./src/components/panels/Media/Index.vue?1f2c","webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Chromecast.vue?vue&type=template&id=55476f3a\"\nimport script from \"./Chromecast.vue?vue&type=script&lang=js\"\nexport * from \"./Chromecast.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Kodi.vue?vue&type=template&id=25a1a1cf\"\nimport script from \"./Kodi.vue?vue&type=script&lang=js\"\nexport * from \"./Kodi.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mplayer.vue?vue&type=template&id=0caf2d73\"\nimport script from \"./Mplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Mplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mpv.vue?vue&type=template&id=3b3bb533\"\nimport script from \"./Mpv.vue?vue&type=script&lang=js\"\nexport * from \"./Mpv.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Omxplayer.vue?vue&type=template&id=0f086473\"\nimport script from \"./Omxplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Omxplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Vlc.vue?vue&type=template&id=5b5bcdd3\"\nimport script from \"./Vlc.vue?vue&type=script&lang=js\"\nexport * from \"./Vlc.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Players.vue?vue&type=template&id=27e87a29&scoped=true\"\nimport script from \"./Players.vue?vue&type=script&lang=js\"\nexport * from \"./Players.vue?vue&type=script&lang=js\"\n\nimport \"./Players.vue?vue&type=style&index=0&id=27e87a29&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27e87a29\"]])\n\nexport default __exports__","import { render } from \"./Header.vue?vue&type=template&id=37a493ac&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=37a493ac&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-37a493ac\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=28611e6c&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=28611e6c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28611e6c\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=4597e14d&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=4597e14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4597e14d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Results.vue?vue&type=template&id=28f7c518&scoped=true\"\nimport script from \"./Results.vue?vue&type=script&lang=js\"\nexport * from \"./Results.vue?vue&type=script&lang=js\"\n\nimport \"./Results.vue?vue&type=style&index=0&id=28f7c518&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28f7c518\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Subtitles.vue?vue&type=template&id=77ae3705&scoped=true\"\nimport script from \"./Subtitles.vue?vue&type=script&lang=js\"\nexport * from \"./Subtitles.vue?vue&type=script&lang=js\"\n\nimport \"./Subtitles.vue?vue&type=style&index=0&id=77ae3705&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-77ae3705\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Browser.vue?vue&type=template&id=a2e5c946&scoped=true\"\nimport script from \"./Browser.vue?vue&type=script&lang=js\"\nexport * from \"./Browser.vue?vue&type=script&lang=js\"\n\nimport \"./Browser.vue?vue&type=style&index=0&id=a2e5c946&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a2e5c946\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=040b2676&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=040b2676&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-040b2676\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["class","loading","pluginName","status","selectedPlayer","track","buttons","mediaButtons","pause","stop","setVolume","seek","search","selectedView","$event","hasSubtitlesPlugin","ref","sources","selectedSubtitles","browserFilter","onStatusUpdate","downloadTorrent","showSubtitlesModal","$refs","playUrlModal","show","header","filterVisible","results","selectedResult","onResultSelect","play","mediaInfo","isVisible","view","download","torrentPlugin","filter","title","item","visible","selectSubtitles","playUrlInput","focus","playUrl","urlPlay","type","autofocus","disabled","length","placeholder","query","$emit","torrentURL","value","target","selectedItem","Object","keys","source","key","checked","player","name","iconClass","text","refresh","players","i","select","mixins","Utils","emits","props","data","methods","async","this","component","request","resource","subs","url","subtitles","volume","position","event","isMine","onMediaEvent","notify","device","image","plugin","filename","supports","startsWith","mounted","subscribe","onNewMedia","destroy","unsubscribe","__exports__","Mixin","devices","Promise","all","map","chromecast","getPlayerName","$root","config","host","components","Loading","DropdownItem","Dropdown","Chromecast","Kodi","Mplayer","Mpv","Omxplayer","Vlc","String","required","plugins","loadPlugins","entries","p","endsWith","getPlayers","push","Players","Boolean","default","types","$watch","imdb_id","href","series","season","episode","num_seasons","synopsis","description","summary","overview","duration","country","network","rating","percentage","votes","genres","join","channelId","channelTitle","year","publishedAt","file","trailer","size","quality","seeds","peers","language","views","displayName","collapsed","browser","torrents","result","typeIcons","Array","Number","items","sub","IsLocal","ISO639","SubFileName","path","filteredFiles","isMedia","mediaExtensions","has","split","pop","initialPath","files","computed","toLowerCase","indexOf","Browser","MediaView","Header","Results","Modal","Info","Nav","TorrentView","Subtitles","previous","next","awaitingPlayTorrent","torrentPlugins","startStreaming","ret","window","open","onTorrentQueued","onTorrentMetadata","onTorrentDownloadStart","onTorrentDownloadCompleted","getTorrentPlugin","pluginConf","torrent_plugin","torrent","error","subtitlesSelector","close","link","SubDownloadLink","Set","state","addSubtitles","removeSubtitles","plex","jellyfin","render","transfers","hash","progress","torrentId","resume","remove","torrentFiles","torrentInfo","width","convertSize","download_rate","upload_rate","remaining_bytes","start_date","finish_date","save_path","relativeFiles","values","reduce","obj","onTorrentUpdate","onTorrentRemove"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4196.cec98eba.js","mappings":"2MAESA,MAAM,wB,GAOAA,MAAM,iB,GAINA,MAAM,kB,GAyBVA,MAAM,wB,GAMNA,MAAM,uB,SAGFA,MAAM,qB,GAQVA,MAAM,sB,GAGAA,MAAM,O,WACF,mB,WACa,W,WAAY,6B,GAK7BA,MAAM,c,0SAhErB,QAuEa,YAtEX,OAqEM,MArEN,EAqEM,CApEW,EAAAC,UAAA,WAAf,QAA0B,aAA1B,gBAEA,QA+BY,GA/BA,cAAa,EAAAC,WAAaC,OAAQ,EAAAC,gBAAgBD,QAAM,GAASE,MAAO,EAAAD,gBAAgBD,QAAM,GAC9FG,QAAS,EAAAC,aAAe,OAAM,EAAAC,MAAQ,QAAO,EAAAA,MAAQ,OAAM,EAAAC,KAAO,YAAY,EAAAC,UAC9E,OAAM,EAAAC,KAAO,SAAQ,EAAAC,QAFjC,C,kBAGE,IA2BO,EA3BP,OA2BO,cA1BL,OAEM,MAFN,EAEM,EADJ,QAAoE,GAA9D,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GACd,MAAMgB,EAAY1J,KAAK0J,UAAUhB,GAC7BgB,KAAa1J,KAAKuJ,kBACbvJ,KAAKuJ,UAAUG,EACzB,GAGHvI,UACEnB,KAAKX,UAELW,KAAKoB,UACDpB,KAAK2K,gBAAgB,oBACrB,qDACA,iEACA,4DACA,+DACA,sDACA,qDACA,2DACA,0DACA,2DACA,iEAEJ3K,KAAKoB,UAAUpB,KAAK4K,gBAAgB,oBAChC,sDACL,EAEDtJ,UACEtB,KAAKuB,YAAY,qBACjBvB,KAAKuB,YAAY,oBAClB,G,WCjOH,MAAMC,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS8H,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Media/Index.vue","webpack://platypush/./src/components/panels/Media/Header.vue","webpack://platypush/./src/components/panels/Media/Players.vue","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue","webpack://platypush/./src/components/panels/Media/Players/Mixin.vue?8a34","webpack://platypush/./src/components/panels/Media/Players/Chromecast.vue?c107","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue","webpack://platypush/./src/components/panels/Media/Players/Kodi.vue?6dfd","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Mplayer.vue?eab0","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue","webpack://platypush/./src/components/panels/Media/Players/Mpv.vue?06ab","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue","webpack://platypush/./src/components/panels/Media/Players/Omxplayer.vue?69bd","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue","webpack://platypush/./src/components/panels/Media/Players/Vlc.vue?4868","webpack://platypush/./src/components/panels/Media/Players.vue?c223","webpack://platypush/./src/components/panels/Media/Header.vue?b895","webpack://platypush/./src/components/panels/Media/Info.vue","webpack://platypush/./src/components/panels/Media/Info.vue?c19c","webpack://platypush/./src/components/panels/Media/Nav.vue","webpack://platypush/./src/components/panels/Media/Nav.vue?bae0","webpack://platypush/./src/components/panels/Media/Results.vue","webpack://platypush/./src/components/panels/Media/Results.vue?23d6","webpack://platypush/./src/components/panels/Media/Subtitles.vue","webpack://platypush/./src/components/panels/Media/Subtitles.vue?17fa","webpack://platypush/./src/components/File/Browser.vue","webpack://platypush/./src/components/File/Browser.vue?8abf","webpack://platypush/./src/components/panels/Media/Index.vue?1f2c","webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Chromecast.vue?vue&type=template&id=55476f3a\"\nimport script from \"./Chromecast.vue?vue&type=script&lang=js\"\nexport * from \"./Chromecast.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Kodi.vue?vue&type=template&id=25a1a1cf\"\nimport script from \"./Kodi.vue?vue&type=script&lang=js\"\nexport * from \"./Kodi.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mplayer.vue?vue&type=template&id=0caf2d73\"\nimport script from \"./Mplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Mplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Mpv.vue?vue&type=template&id=3b3bb533\"\nimport script from \"./Mpv.vue?vue&type=script&lang=js\"\nexport * from \"./Mpv.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Omxplayer.vue?vue&type=template&id=0f086473\"\nimport script from \"./Omxplayer.vue?vue&type=script&lang=js\"\nexport * from \"./Omxplayer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Vlc.vue?vue&type=template&id=5b5bcdd3\"\nimport script from \"./Vlc.vue?vue&type=script&lang=js\"\nexport * from \"./Vlc.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Players.vue?vue&type=template&id=27e87a29&scoped=true\"\nimport script from \"./Players.vue?vue&type=script&lang=js\"\nexport * from \"./Players.vue?vue&type=script&lang=js\"\n\nimport \"./Players.vue?vue&type=style&index=0&id=27e87a29&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27e87a29\"]])\n\nexport default __exports__","import { render } from \"./Header.vue?vue&type=template&id=37a493ac&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=37a493ac&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-37a493ac\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=28611e6c&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=28611e6c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28611e6c\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=4597e14d&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=4597e14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4597e14d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Results.vue?vue&type=template&id=28f7c518&scoped=true\"\nimport script from \"./Results.vue?vue&type=script&lang=js\"\nexport * from \"./Results.vue?vue&type=script&lang=js\"\n\nimport \"./Results.vue?vue&type=style&index=0&id=28f7c518&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28f7c518\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Subtitles.vue?vue&type=template&id=77ae3705&scoped=true\"\nimport script from \"./Subtitles.vue?vue&type=script&lang=js\"\nexport * from \"./Subtitles.vue?vue&type=script&lang=js\"\n\nimport \"./Subtitles.vue?vue&type=style&index=0&id=77ae3705&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-77ae3705\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Browser.vue?vue&type=template&id=a2e5c946&scoped=true\"\nimport script from \"./Browser.vue?vue&type=script&lang=js\"\nexport * from \"./Browser.vue?vue&type=script&lang=js\"\n\nimport \"./Browser.vue?vue&type=style&index=0&id=a2e5c946&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a2e5c946\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=040b2676&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=040b2676&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-040b2676\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["class","loading","pluginName","status","selectedPlayer","track","buttons","mediaButtons","pause","stop","setVolume","seek","search","selectedView","$event","hasSubtitlesPlugin","ref","sources","selectedSubtitles","browserFilter","onStatusUpdate","downloadTorrent","showSubtitlesModal","$refs","playUrlModal","show","header","filterVisible","results","selectedResult","onResultSelect","play","mediaInfo","isVisible","view","download","torrentPlugin","filter","title","item","visible","selectSubtitles","playUrlInput","focus","playUrl","urlPlay","type","autofocus","disabled","length","placeholder","query","$emit","torrentURL","value","target","selectedItem","Object","keys","source","key","checked","player","name","iconClass","text","refresh","players","i","select","mixins","Utils","emits","props","data","methods","async","this","component","request","resource","subs","url","subtitles","volume","position","event","isMine","onMediaEvent","notify","device","image","plugin","filename","supports","startsWith","mounted","subscribe","onNewMedia","destroy","unsubscribe","__exports__","Mixin","devices","Promise","all","map","chromecast","getPlayerName","$root","config","host","components","Loading","DropdownItem","Dropdown","Chromecast","Kodi","Mplayer","Mpv","Omxplayer","Vlc","String","required","plugins","loadPlugins","entries","p","endsWith","getPlayers","push","Players","Boolean","default","types","$watch","imdb_id","href","series","season","episode","num_seasons","synopsis","description","summary","overview","duration","country","network","rating","percentage","votes","genres","join","channelId","channelTitle","year","publishedAt","file","trailer","size","quality","seeds","peers","language","views","displayName","collapsed","browser","torrents","result","typeIcons","Array","Number","items","sub","IsLocal","ISO639","SubFileName","path","filteredFiles","isMedia","mediaExtensions","has","split","pop","initialPath","files","computed","toLowerCase","indexOf","Browser","MediaView","Header","Results","Modal","Info","Nav","TorrentView","Subtitles","previous","next","awaitingPlayTorrent","torrentPlugins","startStreaming","ret","window","open","onTorrentQueued","onTorrentMetadata","onTorrentDownloadStart","onTorrentDownloadCompleted","getTorrentPlugin","pluginConf","torrent_plugin","torrent","error","subtitlesSelector","close","link","SubDownloadLink","Set","state","addSubtitles","removeSubtitles","plex","jellyfin","render","transfers","hash","progress","torrentId","resume","remove","torrentFiles","torrentInfo","width","convertSize","download_rate","upload_rate","remaining_bytes","start_date","finish_date","save_path","relativeFiles","values","reduce","obj","onTorrentUpdate","onTorrentRemove"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js b/platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js rename to platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js index 3fa997de8..9948636aa 100644 --- a/platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js +++ b/platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4548,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},u={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},P={class:"row"},q=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",u,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",P,[q,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ua=(0,pa.Z)(ca,[["render",sa]]);var ha=ua},4548:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"pi"})}var i=e(5528),r={name:"CameraPi",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); -//# sourceMappingURL=4548.27d0217c.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4548,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},u={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},P={class:"row"},q=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",u,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",P,[q,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ua=(0,pa.Z)(ca,[["render",sa]]);var ha=ua},4548:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"pi"})}var i=e(5528),r={name:"CameraPi",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); +//# sourceMappingURL=4548.686dd66b.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js.map b/platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js.map rename to platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js.map index 96c845b13..e39b58092 100644 --- a/platypush/backend/http/webapp/dist/static/js/4548.27d0217c.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4548.686dd66b.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4548.27d0217c.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAyC,QAAnCA,MAAM,QAAO,mBAAe,G,GAI7BA,MAAM,O,GACX,OAAuC,QAAjCA,MAAM,QAAO,iBAAa,G,GAI3BA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,IACX,OAA2C,QAArCA,MAAM,QAAO,qBAAiB,G,I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iBmB,KAAKpB,eACnDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMO,eAAeiB,KAAKpB,eACjDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAA6B,GAArB,gBAAc,M,eAMxB,GACE3E,KAAM,WACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraPi/Index.vue","webpack://platypush/./src/components/panels/CameraPi/Index.vue?7074"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6f4a0590\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4548.686dd66b.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,k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,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAA6B,GAArB,gBAAc,M,eAMxB,GACE3E,KAAM,WACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraPi/Index.vue","webpack://platypush/./src/components/panels/CameraPi/Index.vue?7074"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6f4a0590\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js b/platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js rename to platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js index 8a0c4eb44..46b198be1 100644 --- a/platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js +++ b/platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var r=n(3070).f,i=n(30),a=n(9190),s=n(9974),o=n(5787),u=n(408),l=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),f=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){o(e,p),f(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),p=c.prototype,g=m(t),h=function(e,t,n){var r,i,a=g(e),s=b(e,t);return s?s.value=n:(a.last=s={index:i=v(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),d?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},b=function(e,t){var n,r=g(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(p,{clear:function(){var e=this,t=g(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),a(p,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return h(this,0===e?0:e,t)}}:{add:function(e){return h(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return g(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),i=n(7854),a=n(1702),s=n(4705),o=n(8052),u=n(2423),l=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),f=n(7072),m=n(8003),g=n(9587);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=h?"set":"add",w=i[e],_=w&&w.prototype,k=w,x={},q=function(e){var t=a(_[e]);o(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},z=s(e,!d(w)||!(b||_.forEach&&!p((function(){(new w).entries().next()}))));if(z)k=n.getConstructor(t,e,h,y),u.enable();else if(s(e,!0)){var C=new k,D=C[y](b?{}:-0,1)!=C,R=p((function(){C.has(1)})),Z=f((function(e){new w(e)})),M=!b&&p((function(){var e=new w,t=5;while(t--)e[y](t,t);return!e.has(-0)}));Z||(k=t((function(e,t){c(e,_);var n=g(new w,e,k);return void 0!=t&&l(t,n[y],{that:n,AS_ENTRIES:h}),n})),k.prototype=_,_.constructor=k),(R||M)&&(q("delete"),q("has"),h&&q("get")),(M||D)&&q(y),b&&_.clear&&delete _.clear}return x[e]=k,r({global:!0,constructor:!0,forced:k!=w},x),m(k,e),b||n.setStrong(k,e,h),k}},9190:function(e,t,n){var r=n(8052);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},647:function(e,t,n){var r=n(1702),i=n(7908),a=Math.floor,s=r("".charAt),o=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,v){var p=n+e.length,f=r.length,m=c;return void 0!==d&&(d=i(d),m=l),o(v,m,(function(i,o){var l;switch(s(o,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=d[u(o,1,-1)];break;default:var c=+o;if(0===c)return i;if(c>f){var v=a(c/10);return 0===v?i:v<=f?void 0===r[v-1]?s(o,1):r[v-1]+s(o,1):i}l=r[c-1]}return void 0===l?"":l}))}},2423:function(e,t,n){var r=n(2109),i=n(1702),a=n(3501),s=n(111),o=n(2597),u=n(3070).f,l=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),f=!1,m=v("meta"),g=0,h=function(e){u(e,m,{value:{objectID:"O"+g++,weakData:{}}})},b=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},y=function(e,t){if(!o(e,m)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},w=function(e){return p&&f&&d(e)&&!o(e,m)&&h(e),e},_=function(){k.enable=function(){},f=!0;var e=l.f,t=i([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,a=r.length;i")}));s("replace",(function(e,t,n){var a=R?"$":"$0";return[function(e,n){var r=p(this),a=void 0==e?void 0:m(e,y);return a?i(a,e,r,n):i(t,v(r),e,n)},function(e,i){var s=u(this),o=v(e);if("string"==typeof i&&-1===q(i,a)&&-1===q(i,"$<")){var p=n(t,s,o,i);if(p.done)return p.value}var m=l(i);m||(i=v(i));var b=s.global;if(b){var y=s.unicode;s.lastIndex=0}var D=[];while(1){var R=h(s,o);if(null===R)break;if(x(D,R),!b)break;var Z=v(R[0]);""===Z&&(s.lastIndex=f(o,d(s.lastIndex),y))}for(var M="",I=0,E=0;E=I&&(M+=z(o,I,j)+V,I=j+G.length)}return M+z(o,I)}]}),!Z||!D||R)},3210:function(e,t,n){"use strict";var r=n(2109),i=n(3111).trim,a=n(6091);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return i(this)}})},634:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n.5?u/(2-a-s):u/(a+s),a){case e:r=(t-n)/u+(tl&&o>u&&o>1?(u/=o,l/=o,o=1):u>l&&u>o&&u>1?(o/=u,l/=u,u=1):l>o&&l>u&&l>1&&(o/=l,u/=l,l=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,o=Math.round(255*o),u=Math.round(255*u),l=Math.round(255*l),isNaN(o)&&(o=0),isNaN(u)&&(u=0),isNaN(l)&&(l=0),[o,u,l].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var r=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,a=88e-6*e+.07231*t+.986039*n,s=parseFloat((r/(r+i+a)).toFixed(4)),o=parseFloat((i/(r+i+a)).toFixed(4));return isNaN(s)&&(s=0),isNaN(o)&&(o=0),[s,o]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,r.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,r.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"hexToRgb",value:function(e){return[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((function(e){return parseInt(e,16)}))}},{key:"rgbToHex",value:function(e){return"#"+e.map((function(e){var t=e.toString(16);return t.length<2&&(t="0"+t),t})).join("")}}]),e}()},376:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(6252),i=n(9963),a=n(3577),s={class:"slider-wrapper"},o=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,t,n,v,p,f){return(0,r.wg)(),(0,r.iD)("label",s,[(0,r._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"]))},null,40,o),(0,r._)("div",u,[(0,r._)("div",l,null,512)]),(0,r._)("div",c,null,512),n.withLabel?((0,r.wg)(),(0,r.iD)("span",{key:0,class:"label",textContent:(0,a.zw)(n.value)},null,8,d)):(0,r.kq)("",!0)])}var p=n(4648),f=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),m=n(3744);const g=(0,m.Z)(f,[["render",v],["__scopeId","data-v-95edc28a"]]);var h=g},6:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(6252),i=n(3577),a=n(9963),s=function(e){return(0,r.dD)("data-v-a6396ae8"),e=e(),(0,r.Cn)(),e},o=["checked"],u=s((function(){return(0,r._)("div",{class:"switch"},[(0,r._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,t,n,s,c,d){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,r._)("input",{type:"checkbox",checked:n.value},null,8,o),(0,r._)("label",null,[u,(0,r._)("span",l,[(0,r.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(d,[["render",c],["__scopeId","data-v-a6396ae8"]]);var f=p},4604:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return bn}});n(4916),n(5306),n(7042),n(7941);var r=n(6252),i=n(3577),a={class:"zigbee-container"},s={key:0,class:"info-body"},o={class:"row"},u=(0,r._)("div",{class:"param-name"},"State",-1),l=["textContent"],c={class:"row"},d=(0,r._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},f=(0,r._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},h=(0,r._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),b=["textContent"],y={key:1,class:"row"},w=(0,r._)("div",{class:"param-name"},"MQTT Server",-1),_=["textContent"],k={key:2,class:"row"},x=(0,r._)("div",{class:"param-name"},"Serial Port",-1),q=["textContent"],z={key:3,class:"row"},C=(0,r._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],R={key:4,class:"row"},Z=(0,r._)("div",{class:"param-name"},"Firmware Version",-1),M={class:"param-value"},I={key:5,class:"row"},E=(0,r._)("div",{class:"param-name"},"Firmware Revision",-1),G=["textContent"],j={class:"view-options"},N={class:"view-selector col-s-8 col-m-9 col-l-10"},T=["value"],S=["textContent","selected","value"],O={class:"buttons"},V=["disabled"],A=(0,r._)("i",{class:"fa fa-plus"},null,-1),$=[A],U=["disabled"],F=(0,r._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},P={key:0,class:"view devices"},L={key:0,class:"no-items"},H={key:0,class:"loading"},K={key:1,class:"empty"},W={key:1,class:"view groups"},X={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,n,A,F,ee){var te=this,ne=(0,r.up)("Loading"),re=(0,r.up)("Modal"),ie=(0,r.up)("DropdownItem"),ae=(0,r.up)("Dropdown"),se=(0,r.up)("Device"),oe=(0,r.up)("Group");return(0,r.wg)(),(0,r.iD)("div",a,[F.loading?((0,r.wg)(),(0,r.j4)(ne,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(re,{title:"Network Info",ref:"infoModal"},{default:(0,r.w5)((function(){var e,t,n,a,j;return[F.status.info?((0,r.wg)(),(0,r.iD)("div",s,[(0,r._)("div",o,[u,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,l)]),(0,r._)("div",c,[d,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,r.wg)(),(0,r.iD)("div",p,[f,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,r.kq)("",!0),(0,r._)("div",g,[h,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,b)]),null!==(e=F.status.info.config)&&void 0!==e&&e.mqtt?((0,r.wg)(),(0,r.iD)("div",y,[w,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,_)])):(0,r.kq)("",!0),null!==(t=F.status.info.config)&&void 0!==t&&t.serial?((0,r.wg)(),(0,r.iD)("div",k,[x,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,q)])):(0,r.kq)("",!0),null!==(n=F.status.info.coordinator)&&void 0!==n&&n.type?((0,r.wg)(),(0,r.iD)("div",z,[C,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,r.kq)("",!0),null!==(a=F.status.info.coordinator)&&void 0!==a&&a.meta?((0,r.wg)(),(0,r.iD)("div",R,[Z,(0,r._)("div",M,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,r.kq)("",!0),null!==(j=F.status.info.coordinator)&&void 0!==j&&j.meta?((0,r.wg)(),(0,r.iD)("div",I,[E,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r._)("div",j,[(0,r._)("div",N,[(0,r._)("label",null,[(0,r._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=function(e){return te.selected.view=e.target.value})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.views,(function(e,t){return(0,r.wg)(),(0,r.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,S)})),128))],40,T)])]),(0,r._)("div",O,["groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=function(){return ee.addGroup&&ee.addGroup.apply(ee,arguments)})},$,8,V)):(0,r.kq)("",!0),(0,r.Wm)(ae,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,r.w5)((function(){var n;return[(0,r.Wm)(ie,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=function(t){return e.$refs.infoModal.show()})},null,8,["disabled"]),null!==(n=F.status.info)&&void 0!==n&&n.permit_join?((0,r.wg)(),(0,r.j4)(ie,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=function(e){return ee.permitJoin(!1)})},null,8,["disabled"])):((0,r.wg)(),(0,r.j4)(ie,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=function(e){return ee.permitJoin(!0)})},null,8,["disabled"])),(0,r.Wm)(ie,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])]})),_:1},512),(0,r._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=function(){return ee.refresh&&ee.refresh.apply(ee,arguments)})},B,8,U)])]),(0,r._)("div",Y,["devices"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",P,[Object.keys(F.devices).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",L,[F.loading?((0,r.wg)(),(0,r.iD)("div",H,"Loading devices...")):((0,r.wg)(),(0,r.iD)("div",K,"No devices found on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.devices,(function(e,t){return(0,r.wg)(),(0,r.j4)(se,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:function(e){return F.selected.deviceId=F.selected.deviceId===t?null:t},onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])})),128))])):"groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",W,[Object.keys(F.groups).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",X,[F.loading?((0,r.wg)(),(0,r.iD)("div",J,"Loading groups...")):((0,r.wg)(),(0,r.iD)("div",Q,"No groups available on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.groups,(function(e,t){return(0,r.wg)(),(0,r.j4)(oe,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:function(e){return F.selected.groupId=F.selected.groupId===t?null:t},onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])})),128))])):(0,r.kq)("",!0)])])}var te=n(4648),ne=n(8534),re=(n(5666),n(1539),n(3948),n(5771)),ie=n(9015),ae=n(1232),se=n(6813),oe=(n(2526),n(1817),n(9600),n(1249),n(9714),n(9653),n(9963)),ue=function(e){return(0,r.dD)("data-v-b05d09fc"),e=e(),(0,r.Cn)(),e},le={class:"groups"},ce=["value","checked"],de=["textContent"],ve=ue((function(){return(0,r._)("div",{class:"footer buttons"},[(0,r._)("button",{type:"submit"},"Save")],-1)})),pe=["textContent"],fe={key:1,class:"params"},me={class:"row"},ge=ue((function(){return(0,r._)("div",{class:"param-name"},"Name",-1)})),he={class:"param-value"},be=["value"],ye={class:"buttons"},we=ue((function(){return(0,r._)("i",{class:"fas fa-times"},null,-1)})),_e=[we],ke=ue((function(){return(0,r._)("button",{type:"submit",class:"btn btn-default"},[(0,r._)("i",{class:"fa fa-check"})],-1)})),xe=["textContent"],qe={class:"buttons"},ze=ue((function(){return(0,r._)("i",{class:"fa fa-edit"},null,-1)})),Ce=[ze],De={class:"row"},Re=ue((function(){return(0,r._)("div",{class:"param-name"},"IEEE Address",-1)})),Ze=["textContent"],Me={key:0,class:"row"},Ie=ue((function(){return(0,r._)("div",{class:"param-name"},"Network Address",-1)})),Ee=["textContent"],Ge={class:"row"},je=ue((function(){return(0,r._)("div",{class:"param-name"},"Type",-1)})),Ne=["textContent"],Te={key:1,class:"row"},Se=ue((function(){return(0,r._)("div",{class:"param-name"},"Vendor",-1)})),Oe={class:"param-value"},Ve={key:2,class:"row"},Ae=ue((function(){return(0,r._)("div",{class:"param-name"},"Model",-1)})),$e={class:"param-value"},Ue={key:3,class:"row"},Fe=ue((function(){return(0,r._)("div",{class:"param-name"},"Model ID",-1)})),Be={class:"param-value"},Ye={key:4,class:"row"},Pe=ue((function(){return(0,r._)("div",{class:"param-name"},"Description",-1)})),Le={class:"param-value"},He={key:5,class:"row"},Ke=ue((function(){return(0,r._)("div",{class:"param-name"},"Software Build ID",-1)})),We={class:"param-value"},Xe={key:6,class:"row"},Je=ue((function(){return(0,r._)("div",{class:"param-name"},"Date Code",-1)})),Qe={class:"param-value"},et={key:7,class:"row"},tt=ue((function(){return(0,r._)("div",{class:"param-name"},"Power Source",-1)})),nt={class:"param-value"},rt={key:8,class:"section values"},it=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Values")],-1)})),at={class:"body"},st={class:"param-name"},ot={key:0,class:"text"},ut=["textContent"],lt=["textContent"],ct={class:"param-value"},dt={key:2},vt=["value","disabled","onChange"],pt={key:3},ft=["value","onChange"],mt={key:0},gt=["value","textContent","selected","disabled"],ht={key:4},bt=["onChange","value"],yt={key:5},wt=["disabled","value","onChange"],_t={class:"section actions"},kt=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),xt={class:"body"},qt=ue((function(){return(0,r._)("div",{class:"param-name"},"Manage groups",-1)})),zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-network-wired"})],-1)})),Ct=[qt,zt],Dt={key:0,class:"param-name"},Rt={key:1,class:"param-name"},Zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-sync-alt"})],-1)})),Mt=ue((function(){return(0,r._)("div",{class:"param-name"},"Remove Device",-1)})),It=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Et=[Mt,It],Gt=ue((function(){return(0,r._)("div",{class:"param-name"},"Force Remove Device",-1)})),jt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Nt=[Gt,jt];function Tt(e,t,n,a,s,o){var u,l,c,d,v=(0,r.up)("Loading"),p=(0,r.up)("Modal"),f=(0,r.up)("ToggleSwitch"),m=(0,r.up)("Slider");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item device",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(p,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,r.w5)((function(){return[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,oe.iM)((function(){return o.manageGroups&&o.manageGroups.apply(o,arguments)}),["prevent"]))},[(0,r._)("div",le,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.groups,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row group",key:t},[(0,r._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,ce),(0,r._)("span",{class:"name",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:"[Group #".concat(e.id,"]"))},null,8,de)])})),128))]),ve],32)]})),_:1},512),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.device.friendly_name||n.device.ieee_address),onClick:t[1]||(t[1]=function(t){return e.$emit("select")})},null,10,pe),n.selected?((0,r.wg)(),(0,r.iD)("div",fe,[(0,r._)("div",me,[ge,(0,r._)("div",he,[(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:!s.editName}])},[(0,r._)("form",{onSubmit:t[3]||(t[3]=(0,oe.iM)((function(){return o.rename&&o.rename.apply(o,arguments)}),["prevent"]))},[(0,r._)("label",null,[(0,r._)("input",{type:"text",name:"name",ref:"name",value:n.device.friendly_name},null,8,be)]),(0,r._)("span",ye,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=function(e){return s.editName=!1})},_e),ke])],32)],2),(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:s.editName}])},[(0,r._)("span",{textContent:(0,i.zw)(n.device.friendly_name)},null,8,xe),(0,r._)("span",qe,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=function(e){return s.editName=!0})},Ce)])],2)])]),(0,r._)("div",De,[Re,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.ieee_address)},null,8,Ze)]),n.device.network_address?((0,r.wg)(),(0,r.iD)("div",Me,[Ie,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.network_address)},null,8,Ee)])):(0,r.kq)("",!0),(0,r._)("div",Ge,[je,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.type)},null,8,Ne)]),null!==(u=n.device.definition)&&void 0!==u&&u.vendor?((0,r.wg)(),(0,r.iD)("div",Te,[Se,(0,r._)("div",Oe,(0,i.zw)(n.device.definition.vendor),1)])):(0,r.kq)("",!0),null!==(l=n.device.definition)&&void 0!==l&&l.model?((0,r.wg)(),(0,r.iD)("div",Ve,[Ae,(0,r._)("div",$e,(0,i.zw)(n.device.definition.model),1)])):(0,r.kq)("",!0),n.device.model_id?((0,r.wg)(),(0,r.iD)("div",Ue,[Fe,(0,r._)("div",Be,(0,i.zw)(n.device.model_id),1)])):(0,r.kq)("",!0),null!==(c=n.device.definition)&&void 0!==c&&c.description?((0,r.wg)(),(0,r.iD)("div",Ye,[Pe,(0,r._)("div",Le,(0,i.zw)(n.device.definition.description),1)])):(0,r.kq)("",!0),n.device.software_build_id?((0,r.wg)(),(0,r.iD)("div",He,[Ke,(0,r._)("div",We,(0,i.zw)(n.device.software_build_id),1)])):(0,r.kq)("",!0),null!==(d=n.device.definition)&&void 0!==d&&d.date_code?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",Qe,(0,i.zw)(n.device.definition.date_code),1)])):(0,r.kq)("",!0),n.device.power_source?((0,r.wg)(),(0,r.iD)("div",et,[tt,(0,r._)("div",nt,(0,i.zw)(n.device.power_source),1)])):(0,r.kq)("",!0),Object.keys(o.displayedValues).length?((0,r.wg)(),(0,r.iD)("div",rt,[it,(0,r._)("div",at,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.displayedValues,(function(e,t){var n,a,s,u,l,c,d,v;return(0,r.wg)(),(0,r.iD)("div",{class:"row value",key:t},[(0,r._)("div",st,[(0,r.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=(null===(n=e.value)||void 0===n?void 0:n.x)&&null!=(null===(a=e.value)||void 0===a?void 0:a.y)||null!=(null===(s=e.value)||void 0===s?void 0:s.hue)&&null!=(null===(u=e.value)||void 0===u?void 0:u.saturation)?((0,r.wg)(),(0,r.iD)("span",ot,"Color")):(0,r.kq)("",!0),e.property?((0,r.wg)(),(0,r.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,ut)):(0,r.kq)("",!0),e.unit?((0,r.wg)(),(0,r.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,lt)):(0,r.kq)("",!0)]),(0,r._)("div",ct,["binary"===e.type?((0,r.wg)(),(0,r.j4)(f,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:function(t){return o.setValue(e,t)}},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,r.wg)(),(0,r.j4)(m,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,r.wg)(),(0,r.iD)("label",pt,[(0,r._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:function(t){return o.setValue(e,t)}},[e.readable?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("option",mt)),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.values,(function(t){return(0,r.wg)(),(0,r.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,gt)})),128))],40,ft)])):null!=o.rgbColor&&null!=(null===(l=e.value)||void 0===l?void 0:l.x)&&null!=(null===(c=e.value)||void 0===c?void 0:c.y)||null!=(null===(d=e.value)||void 0===d?void 0:d.hue)&&null!=(null===(v=e.value)||void 0===v?void 0:v.saturation)?((0,r.wg)(),(0,r.iD)("label",ht,[(0,r._)("input",{type:"color",onChange:(0,oe.iM)((function(t){return o.setValue(e,t)}),["stop"]),value:"#"+o.rgbColor.map((function(e){return e=Number(e).toString(16),1===e.length?"0"+e:e})).join("")},null,40,bt)])):((0,r.wg)(),(0,r.iD)("label",yt,[(0,r._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:function(t){return o.setValue(e,t)}},null,40,wt)])):((0,r.wg)(),(0,r.iD)("label",dt,[(0,r._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,40,vt)]))])])})),128))])])):(0,r.kq)("",!0),(0,r._)("div",_t,[kt,(0,r._)("div",xt,[(0,r._)("div",{class:"row",onClick:t[5]||(t[5]=function(t){return e.$refs.groupsModal.show()})},Ct),(0,r._)("div",{class:"row",onClick:t[6]||(t[6]=function(e){return s.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates()})},[s.otaUpdatesAvailable?((0,r.wg)(),(0,r.iD)("div",Rt,"Install updates")):((0,r.wg)(),(0,r.iD)("div",Dt,"Check for updates")),Zt]),(0,r._)("div",{class:"row",onClick:t[7]||(t[7]=function(e){return o.remove(!1)})},Et),(0,r._)("div",{class:"row error",onClick:t[8]||(t[8]=function(e){return o.remove(!0)})},Nt)])])])):(0,r.kq)("",!0)],2)}var St=n(9584),Ot=n(6084),Vt=n(6347),At=(n(7327),n(9720),n(189),n(8783),n(2479),n(3210),n(8309),n(3123),n(376)),$t=n(6),Ut=n(634),Ft=n(9642),Bt={name:"Device",components:{Modal:Ft.Z,ToggleSwitch:$t.Z,Slider:At.Z,Loading:ae.Z},mixins:[se.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:function(){}},selected:{type:Boolean,default:!1}},data:function(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values:function(){var e;if(null===(e=this.device.definition)||void 0===e||!e.exposes)return{};var t=function(e){var t,n=function e(t,n){if(t.features){t.property&&(n[t.property]=n[t.property]||{},n=n[t.property]);var r,i=(0,Vt.Z)(t.features);try{for(i.s();!(r=i.n()).done;){var a=r.value;e(a,n)}}catch(s){i.e(s)}finally{i.f()}}else t.property&&(n[t.property]=t)},r={},i=(0,Vt.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n(a,r)}}catch(s){i.e(s)}finally{i.f()}return r};return t(this.device.definition.exposes)},displayedValues:function(){var e=this,t={},n=function t(n,r){var i=(0,Ot.Z)(r,2),a=i[0],s=i[1];return a in e.status&&(s=(0,te.Z)((0,te.Z)({},s),{},{value:e.status[a]})),null!=s.access&&(s.readable=!!(1&s.access),s.writable=!!(2&s.access),delete s.access),n[a]=s,Object.entries(s).filter((function(e){return e[1]instanceof Object})).reduce(t,n[a]),n};return Object.entries(this.values).reduce(n,t),t},rgbColor:function(){var e;if(this.displayedValues.color){var t=null===(e=this.displayedValues.color)||void 0===e?void 0:e.value;if(t){if(null!=t.x&&null!=t.y){var n,r,i=new Ut.N({bri:[(null===(n=this.displayedValues.brightness)||void 0===n?void 0:n.value_min)||0,(null===(r=this.displayedValues.brightness)||void 0===r?void 0:r.value_max)||255]});return i.xyToRgb(t.x,t.y,this.displayedValues.brightness.value)}if(null!=t.hue&&(null!=t.saturation||null!=t.sat)){var a,s,o,u,l=null!=t.saturation?"saturation":"sat",c=new Ut.N({hue:[(null===(a=this.displayedValues.color.hue)||void 0===a?void 0:a.value_min)||0,this.displayedValues.color.hue.value_max||65535],sat:[(null===(s=this.displayedValues.color[l])||void 0===s?void 0:s.value_min)||0,this.displayedValues.color[l].value_max||255],bri:[(null===(o=this.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=this.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]});return c.hslToRgb(t.hue,t[l],this.displayedValues.brightness.value)}return null}}},associatedGroups:function(){var e=this;return new Set(Object.values(this.groups).filter((function(t){return new Set((t.members||[]).map((function(e){return e.ieee_address}))).has(e.device.ieee_address)})).map((function(e){return parseInt(e.id)})))}},methods:{refresh:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_get",{device:e.device.friendly_name||e.device.ieee_address});case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=(e.$refs.name.value||"").trim(),n.length&&n!==e.device.friendly_name){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.device_rename",{device:null!==(r=e.device.friendly_name)&&void 0!==r&&r.length?e.device.friendly_name:e.device.ieee_address,name:n});case 7:e.$emit("rename",{name:e.device.friendly_name,newName:n});case 8:return t.prev=8,e.editName=!1,e.loading=!1,t.finish(8);case 12:case"end":return t.stop()}}),t,null,[[4,,8,12]])})))()},remove:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you really sure that you want to remove this device from the network?")){n.next=2;break}return n.abrupt("return");case 2:return e=!!e,t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.device_remove",{device:null!==(r=t.device.friendly_name)&&void 0!==r&&r.length?t.device.friendly_name:t.device.ieee_address,force:e});case 7:t.$emit("remove",{device:t.device.friendly_name||t.device.ieee_address});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()},setValue:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i,a,s,o,u,l,c,d,v,p,f,m,g,h;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:a={device:n.device.friendly_name||n.device.ieee_address,property:e.property,value:null},r.t0=e.type,r.next="binary"===r.t0?4:"numeric"===r.t0?6:"enum"===r.t0?8:10;break;case 4:return e.value_toggle?a.value=e.value_toggle:e.value_on&&e.value_off?a.value=e.value===e.value_on?e.value_off:e.value_on:a.value=!e.value,r.abrupt("break",12);case 6:return a.value=parseFloat(t.target.value),r.abrupt("break",12);case 8:return null!==(i=t.target.value)&&void 0!==i&&i.length&&(a.value=t.target.value),r.abrupt("break",12);case 10:return(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat))&&(a.property="color",s=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter((function(e,t){return t%2})).map((function(e){return parseInt(e,16)})),null!=e.x&&null!=e.y?(l=new Ut.N({bri:[(null===(o=n.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=n.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]}),c=l.rgbToXY.apply(l,(0,St.Z)(s)),a.value={color:{x:c[0],y:c[1]}}):(m=null!=n.displayedValues.color.saturation?"saturation":"sat",g=new Ut.N({hue:[(null===(d=n.displayedValues.color.hue)||void 0===d?void 0:d.value_min)||0,n.displayedValues.color.hue.value_max||65535],sat:[(null===(v=n.displayedValues.color[m])||void 0===v?void 0:v.value_min)||0,n.displayedValues.color[m].value_max||255],bri:[(null===(p=n.displayedValues.brightness)||void 0===p?void 0:p.value_min)||0,(null===(f=n.displayedValues.brightness)||void 0===f?void 0:f.value_max)||255]}),h=g.rgbToHsl.apply(g,(0,St.Z)(s)),a.value={brightness:h[2],color:{hue:h[0]}},a.value.color[m]=h[1])),r.abrupt("break",12);case 12:if(null!=a.value){r.next=14;break}return r.abrupt("return");case 14:return n.loading=!0,r.prev=15,r.next=18,n.request("zigbee.mqtt.device_set",a);case 18:return r.next=20,n.refresh();case 20:return r.prev=20,n.loading=!1,r.finish(20);case 23:case"end":return r.stop()}}),r,null,[[15,,20,23]])})))()},manageGroups:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,St.Z)(e.target.querySelectorAll("input[type=checkbox]")).reduce((function(e,n){var r=parseInt(n.value);return n.checked&&!t.associatedGroups.has(r)?e.add.add(r):!n.checked&&t.associatedGroups.has(r)&&e.remove.add(r),e}),{add:new Set,remove:new Set}),i=function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all((0,St.Z)(r[n]).map(function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.request("zigbee.mqtt.group_".concat(n,"_device"),{group:t.groups[r].friendly_name,device:null!==(i=t.device.friendly_name)&&void 0!==i&&i.length?t.device.friendly_name:t.device.ieee_address});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.loading=!0,n.prev=3,n.next=6,Promise.all(Object.keys(r).map(i));case 6:t.$emit("groups-edit",r);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},checkOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_check_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:e.otaUpdatesAvailable=t.sent.update_available,e.otaUpdatesAvailable?e.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):e.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}});case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},installOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_install_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.status.update_available}),(function(t){e.otaUpdatesAvailable=t})),this.subscribe((function(t){t.device!==e.device.friendly_name&&t.device!==e.device.ieee_address||(e.status=(0,te.Z)((0,te.Z)({},e.status),t.properties))}),"on-property-change-".concat(this.device.ieee_address),"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted:function(){this.unsubscribe("on-property-change-".concat(this.device.ieee_address))}},Yt=n(3744);const Pt=(0,Yt.Z)(Bt,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Lt=Pt,Ht=function(e){return(0,r.dD)("data-v-7667f7ba"),e=e(),(0,r.Cn)(),e},Kt=["textContent"],Wt={key:1,class:"params"},Xt={class:"section devices"},Jt=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Devices")],-1)})),Qt={class:"body"},en=["checked","value","onChange"],tn=["textContent"],nn={class:"section actions"},rn=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),an={class:"body"},sn=Ht((function(){return(0,r._)("div",{class:"col-10"},"Rename Group",-1)})),on=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-edit"})],-1)})),un=[sn,on],ln=Ht((function(){return(0,r._)("div",{class:"col-10"},"Remove Group",-1)})),cn=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),dn=[ln,cn];function vn(e,t,n,a,s,o){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item group",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.group.friendly_name),onClick:t[0]||(t[0]=function(t){return e.$emit("select")})},null,10,Kt),n.selected?((0,r.wg)(),(0,r.iD)("div",Wt,[(0,r._)("div",Xt,[Jt,(0,r._)("div",Qt,[(0,r._)("form",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.devices,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row",key:t},[(0,r._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:function(t){return o.toggleDevice(e.ieee_address)}},null,40,en),(0,r._)("span",{class:"label",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:e.ieee_address)},null,8,tn)])})),128))])])]),(0,r._)("div",nn,[rn,(0,r._)("div",an,[(0,r._)("div",{class:"row",onClick:t[1]||(t[1]=function(){return o.rename&&o.rename.apply(o,arguments)})},un),(0,r._)("div",{class:"row",onClick:t[2]||(t[2]=function(){return o.remove&&o.remove.apply(o,arguments)})},dn)])])])):(0,r.kq)("",!0)],2)}var pn={name:"Group",emits:["select","remove","edit"],mixins:[se.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,values:{}}},computed:{devicesByAddress:function(){return Object.entries(this.devices).reduce((function(e,t){var n=t[1];return e[n.ieee_address]=n,e}),{})},members:function(){return new Set((this.group.members||[]).map((function(e){return e.ieee_address})))}},methods:{remove:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this group?")){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,t.prev=3,t.next=6,e.request("zigbee.mqtt.group_remove",{name:e.group.friendly_name});case 6:e.$emit("remove",{name:e.group.friendly_name});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[3,,7,10]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=prompt("New group name",e.group.friendly_name),null!==(n=r)&&void 0!==n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return r=r.trim(),e.loading=!0,t.prev=5,t.next=8,e.request("zigbee.mqtt.group_rename",{group:e.group.friendly_name||e.group.id,name:r});case 8:e.$emit("rename",{name:e.group.friendly_name,newName:r});case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[5,,9,12]])})))()},toggleDevice:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.devicesByAddress[e],a=null!==(r=i.friendly_name)&&void 0!==r&&r.length?i.friendly_name:e,s=t.members.has(e)?"remove":"add",t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.group_".concat(s,"_device"),{group:t.group.friendly_name,device:a});case 7:t.$emit("edit",{device:a,method:s});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()}}};const fn=(0,Yt.Z)(pn,[["render",vn],["__scopeId","data-v-7667f7ba"]]);var mn=fn,gn={name:"ZigbeeMqtt",components:{Modal:Ft.Z,Dropdown:re.Z,DropdownItem:ie.Z,Loading:ae.Z,Device:Lt,Group:mn},mixins:[se.Z],data:function(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{refreshDevices:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.devices");case 4:e.devices=t.sent.reduce((function(t,n){return n.friendly_name in e.devices&&(n=(0,te.Z)({values:e.devices[n.friendly_name].values||{}},e.devices[n.friendly_name])),t[n.friendly_name]=n,t}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshGroups:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.groups");case 4:e.groups=t.sent.reduce((function(e,t){return e[t.id]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshInfo:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.info");case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refresh:function(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties:function(e,t){this.devices[e].values=t},addGroup:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=prompt("Group name"),n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.group_add",{name:n});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:return t.next=12,e.refreshGroups();case 12:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},permitJoin:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={permit:!!e},e&&(i=prompt("Join allow period in seconds (0 or empty for no time limits)","60"),r.seconds=i.length?parseInt(i):null),t.loading=!0,n.prev=3,n.next=6,t.request("zigbee.mqtt.permit_join",r);case 6:setTimeout(t.refreshInfo,1e3);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},factoryReset:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you SURE that you want to do a device factory reset?")){t.next=3;break}if(confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.factory_reset");case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},addToGroup:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,n.request("zigbee.mqtt.group_add_device",{device:e,group:t});case 3:n.loading=!1,i=n,setTimeout((function(){i.refresh(),i.refreshGroups()}),100);case 6:case"end":return r.stop()}}),r)})))()}},created:function(){var e=this;this.subscribe((function(){e.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((function(){e.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((function(t){e.notify({text:t.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted:function(){this.refresh()},unmounted:function(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const hn=(0,Yt.Z)(gn,[["render",ee]]);var bn=hn}}]); -//# sourceMappingURL=4604-legacy.beb1d238.js.map \ No newline at end of file +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var r=n(3070).f,i=n(30),a=n(9190),s=n(9974),o=n(5787),u=n(408),l=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),f=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){o(e,p),f(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),p=c.prototype,g=m(t),h=function(e,t,n){var r,i,a=g(e),s=b(e,t);return s?s.value=n:(a.last=s={index:i=v(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),d?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},b=function(e,t){var n,r=g(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(p,{clear:function(){var e=this,t=g(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),a(p,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return h(this,0===e?0:e,t)}}:{add:function(e){return h(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return g(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),i=n(7854),a=n(1702),s=n(4705),o=n(8052),u=n(2423),l=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),f=n(7072),m=n(8003),g=n(9587);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=h?"set":"add",w=i[e],_=w&&w.prototype,k=w,x={},q=function(e){var t=a(_[e]);o(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},z=s(e,!d(w)||!(b||_.forEach&&!p((function(){(new w).entries().next()}))));if(z)k=n.getConstructor(t,e,h,y),u.enable();else if(s(e,!0)){var C=new k,D=C[y](b?{}:-0,1)!=C,R=p((function(){C.has(1)})),Z=f((function(e){new w(e)})),M=!b&&p((function(){var e=new w,t=5;while(t--)e[y](t,t);return!e.has(-0)}));Z||(k=t((function(e,t){c(e,_);var n=g(new w,e,k);return void 0!=t&&l(t,n[y],{that:n,AS_ENTRIES:h}),n})),k.prototype=_,_.constructor=k),(R||M)&&(q("delete"),q("has"),h&&q("get")),(M||D)&&q(y),b&&_.clear&&delete _.clear}return x[e]=k,r({global:!0,constructor:!0,forced:k!=w},x),m(k,e),b||n.setStrong(k,e,h),k}},9190:function(e,t,n){var r=n(8052);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},647:function(e,t,n){var r=n(1702),i=n(7908),a=Math.floor,s=r("".charAt),o=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,v){var p=n+e.length,f=r.length,m=c;return void 0!==d&&(d=i(d),m=l),o(v,m,(function(i,o){var l;switch(s(o,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=d[u(o,1,-1)];break;default:var c=+o;if(0===c)return i;if(c>f){var v=a(c/10);return 0===v?i:v<=f?void 0===r[v-1]?s(o,1):r[v-1]+s(o,1):i}l=r[c-1]}return void 0===l?"":l}))}},2423:function(e,t,n){var r=n(2109),i=n(1702),a=n(3501),s=n(111),o=n(2597),u=n(3070).f,l=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),f=!1,m=v("meta"),g=0,h=function(e){u(e,m,{value:{objectID:"O"+g++,weakData:{}}})},b=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},y=function(e,t){if(!o(e,m)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},w=function(e){return p&&f&&d(e)&&!o(e,m)&&h(e),e},_=function(){k.enable=function(){},f=!0;var e=l.f,t=i([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,a=r.length;i")}));s("replace",(function(e,t,n){var a=R?"$":"$0";return[function(e,n){var r=p(this),a=void 0==e?void 0:m(e,y);return a?i(a,e,r,n):i(t,v(r),e,n)},function(e,i){var s=u(this),o=v(e);if("string"==typeof i&&-1===q(i,a)&&-1===q(i,"$<")){var p=n(t,s,o,i);if(p.done)return p.value}var m=l(i);m||(i=v(i));var b=s.global;if(b){var y=s.unicode;s.lastIndex=0}var D=[];while(1){var R=h(s,o);if(null===R)break;if(x(D,R),!b)break;var Z=v(R[0]);""===Z&&(s.lastIndex=f(o,d(s.lastIndex),y))}for(var M="",I=0,E=0;E=I&&(M+=z(o,I,j)+V,I=j+G.length)}return M+z(o,I)}]}),!Z||!D||R)},3210:function(e,t,n){"use strict";var r=n(2109),i=n(3111).trim,a=n(6091);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return i(this)}})},634:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n.5?u/(2-a-s):u/(a+s),a){case e:r=(t-n)/u+(tl&&o>u&&o>1?(u/=o,l/=o,o=1):u>l&&u>o&&u>1?(o/=u,l/=u,u=1):l>o&&l>u&&l>1&&(o/=l,u/=l,l=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,o=Math.round(255*o),u=Math.round(255*u),l=Math.round(255*l),isNaN(o)&&(o=0),isNaN(u)&&(u=0),isNaN(l)&&(l=0),[o,u,l].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var r=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,a=88e-6*e+.07231*t+.986039*n,s=parseFloat((r/(r+i+a)).toFixed(4)),o=parseFloat((i/(r+i+a)).toFixed(4));return isNaN(s)&&(s=0),isNaN(o)&&(o=0),[s,o]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,r.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,r.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"hexToRgb",value:function(e){return[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((function(e){return parseInt(e,16)}))}},{key:"rgbToHex",value:function(e){return"#"+e.map((function(e){var t=e.toString(16);return t.length<2&&(t="0"+t),t})).join("")}}]),e}()},376:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(6252),i=n(9963),a=n(3577),s={class:"slider-wrapper"},o=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,t,n,v,p,f){return(0,r.wg)(),(0,r.iD)("label",s,[(0,r._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"]))},null,40,o),(0,r._)("div",u,[(0,r._)("div",l,null,512)]),(0,r._)("div",c,null,512),n.withLabel?((0,r.wg)(),(0,r.iD)("span",{key:0,class:"label",textContent:(0,a.zw)(n.value)},null,8,d)):(0,r.kq)("",!0)])}var p=n(4648),f=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),m=n(3744);const g=(0,m.Z)(f,[["render",v],["__scopeId","data-v-95edc28a"]]);var h=g},6:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(6252),i=n(3577),a=n(9963),s=function(e){return(0,r.dD)("data-v-a6396ae8"),e=e(),(0,r.Cn)(),e},o=["checked"],u=s((function(){return(0,r._)("div",{class:"switch"},[(0,r._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,t,n,s,c,d){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,r._)("input",{type:"checkbox",checked:n.value},null,8,o),(0,r._)("label",null,[u,(0,r._)("span",l,[(0,r.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(d,[["render",c],["__scopeId","data-v-a6396ae8"]]);var f=p},4604:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return bn}});n(4916),n(5306),n(7042),n(7941);var r=n(6252),i=n(3577),a={class:"zigbee-container"},s={key:0,class:"info-body"},o={class:"row"},u=(0,r._)("div",{class:"param-name"},"State",-1),l=["textContent"],c={class:"row"},d=(0,r._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},f=(0,r._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},h=(0,r._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),b=["textContent"],y={key:1,class:"row"},w=(0,r._)("div",{class:"param-name"},"MQTT Server",-1),_=["textContent"],k={key:2,class:"row"},x=(0,r._)("div",{class:"param-name"},"Serial Port",-1),q=["textContent"],z={key:3,class:"row"},C=(0,r._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],R={key:4,class:"row"},Z=(0,r._)("div",{class:"param-name"},"Firmware Version",-1),M={class:"param-value"},I={key:5,class:"row"},E=(0,r._)("div",{class:"param-name"},"Firmware Revision",-1),G=["textContent"],j={class:"view-options"},N={class:"view-selector col-s-8 col-m-9 col-l-10"},T=["value"],S=["textContent","selected","value"],O={class:"buttons"},V=["disabled"],A=(0,r._)("i",{class:"fa fa-plus"},null,-1),$=[A],U=["disabled"],F=(0,r._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},P={key:0,class:"view devices"},L={key:0,class:"no-items"},H={key:0,class:"loading"},K={key:1,class:"empty"},W={key:1,class:"view groups"},X={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,n,A,F,ee){var te=this,ne=(0,r.up)("Loading"),re=(0,r.up)("Modal"),ie=(0,r.up)("DropdownItem"),ae=(0,r.up)("Dropdown"),se=(0,r.up)("Device"),oe=(0,r.up)("Group");return(0,r.wg)(),(0,r.iD)("div",a,[F.loading?((0,r.wg)(),(0,r.j4)(ne,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(re,{title:"Network Info",ref:"infoModal"},{default:(0,r.w5)((function(){var e,t,n,a,j;return[F.status.info?((0,r.wg)(),(0,r.iD)("div",s,[(0,r._)("div",o,[u,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,l)]),(0,r._)("div",c,[d,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,r.wg)(),(0,r.iD)("div",p,[f,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,r.kq)("",!0),(0,r._)("div",g,[h,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,b)]),null!==(e=F.status.info.config)&&void 0!==e&&e.mqtt?((0,r.wg)(),(0,r.iD)("div",y,[w,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,_)])):(0,r.kq)("",!0),null!==(t=F.status.info.config)&&void 0!==t&&t.serial?((0,r.wg)(),(0,r.iD)("div",k,[x,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,q)])):(0,r.kq)("",!0),null!==(n=F.status.info.coordinator)&&void 0!==n&&n.type?((0,r.wg)(),(0,r.iD)("div",z,[C,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,r.kq)("",!0),null!==(a=F.status.info.coordinator)&&void 0!==a&&a.meta?((0,r.wg)(),(0,r.iD)("div",R,[Z,(0,r._)("div",M,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,r.kq)("",!0),null!==(j=F.status.info.coordinator)&&void 0!==j&&j.meta?((0,r.wg)(),(0,r.iD)("div",I,[E,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r._)("div",j,[(0,r._)("div",N,[(0,r._)("label",null,[(0,r._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=function(e){return te.selected.view=e.target.value})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.views,(function(e,t){return(0,r.wg)(),(0,r.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,S)})),128))],40,T)])]),(0,r._)("div",O,["groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=function(){return ee.addGroup&&ee.addGroup.apply(ee,arguments)})},$,8,V)):(0,r.kq)("",!0),(0,r.Wm)(ae,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,r.w5)((function(){var n;return[(0,r.Wm)(ie,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=function(t){return e.$refs.infoModal.show()})},null,8,["disabled"]),null!==(n=F.status.info)&&void 0!==n&&n.permit_join?((0,r.wg)(),(0,r.j4)(ie,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=function(e){return ee.permitJoin(!1)})},null,8,["disabled"])):((0,r.wg)(),(0,r.j4)(ie,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=function(e){return ee.permitJoin(!0)})},null,8,["disabled"])),(0,r.Wm)(ie,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])]})),_:1},512),(0,r._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=function(){return ee.refresh&&ee.refresh.apply(ee,arguments)})},B,8,U)])]),(0,r._)("div",Y,["devices"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",P,[Object.keys(F.devices).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",L,[F.loading?((0,r.wg)(),(0,r.iD)("div",H,"Loading devices...")):((0,r.wg)(),(0,r.iD)("div",K,"No devices found on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.devices,(function(e,t){return(0,r.wg)(),(0,r.j4)(se,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:function(e){return F.selected.deviceId=F.selected.deviceId===t?null:t},onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])})),128))])):"groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",W,[Object.keys(F.groups).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",X,[F.loading?((0,r.wg)(),(0,r.iD)("div",J,"Loading groups...")):((0,r.wg)(),(0,r.iD)("div",Q,"No groups available on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.groups,(function(e,t){return(0,r.wg)(),(0,r.j4)(oe,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:function(e){return F.selected.groupId=F.selected.groupId===t?null:t},onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])})),128))])):(0,r.kq)("",!0)])])}var te=n(4648),ne=n(8534),re=(n(5666),n(1539),n(3948),n(5771)),ie=n(9015),ae=n(1232),se=n(6813),oe=(n(2526),n(1817),n(9600),n(1249),n(9714),n(9653),n(9963)),ue=function(e){return(0,r.dD)("data-v-b05d09fc"),e=e(),(0,r.Cn)(),e},le={class:"groups"},ce=["value","checked"],de=["textContent"],ve=ue((function(){return(0,r._)("div",{class:"footer buttons"},[(0,r._)("button",{type:"submit"},"Save")],-1)})),pe=["textContent"],fe={key:1,class:"params"},me={class:"row"},ge=ue((function(){return(0,r._)("div",{class:"param-name"},"Name",-1)})),he={class:"param-value"},be=["value"],ye={class:"buttons"},we=ue((function(){return(0,r._)("i",{class:"fas fa-times"},null,-1)})),_e=[we],ke=ue((function(){return(0,r._)("button",{type:"submit",class:"btn btn-default"},[(0,r._)("i",{class:"fa fa-check"})],-1)})),xe=["textContent"],qe={class:"buttons"},ze=ue((function(){return(0,r._)("i",{class:"fa fa-edit"},null,-1)})),Ce=[ze],De={class:"row"},Re=ue((function(){return(0,r._)("div",{class:"param-name"},"IEEE Address",-1)})),Ze=["textContent"],Me={key:0,class:"row"},Ie=ue((function(){return(0,r._)("div",{class:"param-name"},"Network Address",-1)})),Ee=["textContent"],Ge={class:"row"},je=ue((function(){return(0,r._)("div",{class:"param-name"},"Type",-1)})),Ne=["textContent"],Te={key:1,class:"row"},Se=ue((function(){return(0,r._)("div",{class:"param-name"},"Vendor",-1)})),Oe={class:"param-value"},Ve={key:2,class:"row"},Ae=ue((function(){return(0,r._)("div",{class:"param-name"},"Model",-1)})),$e={class:"param-value"},Ue={key:3,class:"row"},Fe=ue((function(){return(0,r._)("div",{class:"param-name"},"Model ID",-1)})),Be={class:"param-value"},Ye={key:4,class:"row"},Pe=ue((function(){return(0,r._)("div",{class:"param-name"},"Description",-1)})),Le={class:"param-value"},He={key:5,class:"row"},Ke=ue((function(){return(0,r._)("div",{class:"param-name"},"Software Build ID",-1)})),We={class:"param-value"},Xe={key:6,class:"row"},Je=ue((function(){return(0,r._)("div",{class:"param-name"},"Date Code",-1)})),Qe={class:"param-value"},et={key:7,class:"row"},tt=ue((function(){return(0,r._)("div",{class:"param-name"},"Power Source",-1)})),nt={class:"param-value"},rt={key:8,class:"section values"},it=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Values")],-1)})),at={class:"body"},st={class:"param-name"},ot={key:0,class:"text"},ut=["textContent"],lt=["textContent"],ct={class:"param-value"},dt={key:2},vt=["value","disabled","onChange"],pt={key:3},ft=["value","onChange"],mt={key:0},gt=["value","textContent","selected","disabled"],ht={key:4},bt=["onChange","value"],yt={key:5},wt=["disabled","value","onChange"],_t={class:"section actions"},kt=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),xt={class:"body"},qt=ue((function(){return(0,r._)("div",{class:"param-name"},"Manage groups",-1)})),zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-network-wired"})],-1)})),Ct=[qt,zt],Dt={key:0,class:"param-name"},Rt={key:1,class:"param-name"},Zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-sync-alt"})],-1)})),Mt=ue((function(){return(0,r._)("div",{class:"param-name"},"Remove Device",-1)})),It=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Et=[Mt,It],Gt=ue((function(){return(0,r._)("div",{class:"param-name"},"Force Remove Device",-1)})),jt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Nt=[Gt,jt];function Tt(e,t,n,a,s,o){var u,l,c,d,v=(0,r.up)("Loading"),p=(0,r.up)("Modal"),f=(0,r.up)("ToggleSwitch"),m=(0,r.up)("Slider");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item device",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(p,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,r.w5)((function(){return[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,oe.iM)((function(){return o.manageGroups&&o.manageGroups.apply(o,arguments)}),["prevent"]))},[(0,r._)("div",le,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.groups,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row group",key:t},[(0,r._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,ce),(0,r._)("span",{class:"name",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:"[Group #".concat(e.id,"]"))},null,8,de)])})),128))]),ve],32)]})),_:1},512),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.device.friendly_name||n.device.ieee_address),onClick:t[1]||(t[1]=function(t){return e.$emit("select")})},null,10,pe),n.selected?((0,r.wg)(),(0,r.iD)("div",fe,[(0,r._)("div",me,[ge,(0,r._)("div",he,[(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:!s.editName}])},[(0,r._)("form",{onSubmit:t[3]||(t[3]=(0,oe.iM)((function(){return o.rename&&o.rename.apply(o,arguments)}),["prevent"]))},[(0,r._)("label",null,[(0,r._)("input",{type:"text",name:"name",ref:"name",value:n.device.friendly_name},null,8,be)]),(0,r._)("span",ye,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=function(e){return s.editName=!1})},_e),ke])],32)],2),(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:s.editName}])},[(0,r._)("span",{textContent:(0,i.zw)(n.device.friendly_name)},null,8,xe),(0,r._)("span",qe,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=function(e){return s.editName=!0})},Ce)])],2)])]),(0,r._)("div",De,[Re,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.ieee_address)},null,8,Ze)]),n.device.network_address?((0,r.wg)(),(0,r.iD)("div",Me,[Ie,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.network_address)},null,8,Ee)])):(0,r.kq)("",!0),(0,r._)("div",Ge,[je,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.type)},null,8,Ne)]),null!==(u=n.device.definition)&&void 0!==u&&u.vendor?((0,r.wg)(),(0,r.iD)("div",Te,[Se,(0,r._)("div",Oe,(0,i.zw)(n.device.definition.vendor),1)])):(0,r.kq)("",!0),null!==(l=n.device.definition)&&void 0!==l&&l.model?((0,r.wg)(),(0,r.iD)("div",Ve,[Ae,(0,r._)("div",$e,(0,i.zw)(n.device.definition.model),1)])):(0,r.kq)("",!0),n.device.model_id?((0,r.wg)(),(0,r.iD)("div",Ue,[Fe,(0,r._)("div",Be,(0,i.zw)(n.device.model_id),1)])):(0,r.kq)("",!0),null!==(c=n.device.definition)&&void 0!==c&&c.description?((0,r.wg)(),(0,r.iD)("div",Ye,[Pe,(0,r._)("div",Le,(0,i.zw)(n.device.definition.description),1)])):(0,r.kq)("",!0),n.device.software_build_id?((0,r.wg)(),(0,r.iD)("div",He,[Ke,(0,r._)("div",We,(0,i.zw)(n.device.software_build_id),1)])):(0,r.kq)("",!0),null!==(d=n.device.definition)&&void 0!==d&&d.date_code?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",Qe,(0,i.zw)(n.device.definition.date_code),1)])):(0,r.kq)("",!0),n.device.power_source?((0,r.wg)(),(0,r.iD)("div",et,[tt,(0,r._)("div",nt,(0,i.zw)(n.device.power_source),1)])):(0,r.kq)("",!0),Object.keys(o.displayedValues).length?((0,r.wg)(),(0,r.iD)("div",rt,[it,(0,r._)("div",at,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.displayedValues,(function(e,t){var n,a,s,u,l,c,d,v;return(0,r.wg)(),(0,r.iD)("div",{class:"row value",key:t},[(0,r._)("div",st,[(0,r.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=(null===(n=e.value)||void 0===n?void 0:n.x)&&null!=(null===(a=e.value)||void 0===a?void 0:a.y)||null!=(null===(s=e.value)||void 0===s?void 0:s.hue)&&null!=(null===(u=e.value)||void 0===u?void 0:u.saturation)?((0,r.wg)(),(0,r.iD)("span",ot,"Color")):(0,r.kq)("",!0),e.property?((0,r.wg)(),(0,r.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,ut)):(0,r.kq)("",!0),e.unit?((0,r.wg)(),(0,r.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,lt)):(0,r.kq)("",!0)]),(0,r._)("div",ct,["binary"===e.type?((0,r.wg)(),(0,r.j4)(f,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:function(t){return o.setValue(e,t)}},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,r.wg)(),(0,r.j4)(m,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,r.wg)(),(0,r.iD)("label",pt,[(0,r._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:function(t){return o.setValue(e,t)}},[e.readable?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("option",mt)),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.values,(function(t){return(0,r.wg)(),(0,r.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,gt)})),128))],40,ft)])):null!=o.rgbColor&&null!=(null===(l=e.value)||void 0===l?void 0:l.x)&&null!=(null===(c=e.value)||void 0===c?void 0:c.y)||null!=(null===(d=e.value)||void 0===d?void 0:d.hue)&&null!=(null===(v=e.value)||void 0===v?void 0:v.saturation)?((0,r.wg)(),(0,r.iD)("label",ht,[(0,r._)("input",{type:"color",onChange:(0,oe.iM)((function(t){return o.setValue(e,t)}),["stop"]),value:"#"+o.rgbColor.map((function(e){return e=Number(e).toString(16),1===e.length?"0"+e:e})).join("")},null,40,bt)])):((0,r.wg)(),(0,r.iD)("label",yt,[(0,r._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:function(t){return o.setValue(e,t)}},null,40,wt)])):((0,r.wg)(),(0,r.iD)("label",dt,[(0,r._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,40,vt)]))])])})),128))])])):(0,r.kq)("",!0),(0,r._)("div",_t,[kt,(0,r._)("div",xt,[(0,r._)("div",{class:"row",onClick:t[5]||(t[5]=function(t){return e.$refs.groupsModal.show()})},Ct),(0,r._)("div",{class:"row",onClick:t[6]||(t[6]=function(e){return s.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates()})},[s.otaUpdatesAvailable?((0,r.wg)(),(0,r.iD)("div",Rt,"Install updates")):((0,r.wg)(),(0,r.iD)("div",Dt,"Check for updates")),Zt]),(0,r._)("div",{class:"row",onClick:t[7]||(t[7]=function(e){return o.remove(!1)})},Et),(0,r._)("div",{class:"row error",onClick:t[8]||(t[8]=function(e){return o.remove(!0)})},Nt)])])])):(0,r.kq)("",!0)],2)}var St=n(9584),Ot=n(6084),Vt=n(6347),At=(n(7327),n(9720),n(189),n(8783),n(2479),n(3210),n(8309),n(3123),n(376)),$t=n(6),Ut=n(634),Ft=n(8453),Bt={name:"Device",components:{Modal:Ft.Z,ToggleSwitch:$t.Z,Slider:At.Z,Loading:ae.Z},mixins:[se.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:function(){}},selected:{type:Boolean,default:!1}},data:function(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values:function(){var e;if(null===(e=this.device.definition)||void 0===e||!e.exposes)return{};var t=function(e){var t,n=function e(t,n){if(t.features){t.property&&(n[t.property]=n[t.property]||{},n=n[t.property]);var r,i=(0,Vt.Z)(t.features);try{for(i.s();!(r=i.n()).done;){var a=r.value;e(a,n)}}catch(s){i.e(s)}finally{i.f()}}else t.property&&(n[t.property]=t)},r={},i=(0,Vt.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n(a,r)}}catch(s){i.e(s)}finally{i.f()}return r};return t(this.device.definition.exposes)},displayedValues:function(){var e=this,t={},n=function t(n,r){var i=(0,Ot.Z)(r,2),a=i[0],s=i[1];return a in e.status&&(s=(0,te.Z)((0,te.Z)({},s),{},{value:e.status[a]})),null!=s.access&&(s.readable=!!(1&s.access),s.writable=!!(2&s.access),delete s.access),n[a]=s,Object.entries(s).filter((function(e){return e[1]instanceof Object})).reduce(t,n[a]),n};return Object.entries(this.values).reduce(n,t),t},rgbColor:function(){var e;if(this.displayedValues.color){var t=null===(e=this.displayedValues.color)||void 0===e?void 0:e.value;if(t){if(null!=t.x&&null!=t.y){var n,r,i=new Ut.N({bri:[(null===(n=this.displayedValues.brightness)||void 0===n?void 0:n.value_min)||0,(null===(r=this.displayedValues.brightness)||void 0===r?void 0:r.value_max)||255]});return i.xyToRgb(t.x,t.y,this.displayedValues.brightness.value)}if(null!=t.hue&&(null!=t.saturation||null!=t.sat)){var a,s,o,u,l=null!=t.saturation?"saturation":"sat",c=new Ut.N({hue:[(null===(a=this.displayedValues.color.hue)||void 0===a?void 0:a.value_min)||0,this.displayedValues.color.hue.value_max||65535],sat:[(null===(s=this.displayedValues.color[l])||void 0===s?void 0:s.value_min)||0,this.displayedValues.color[l].value_max||255],bri:[(null===(o=this.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=this.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]});return c.hslToRgb(t.hue,t[l],this.displayedValues.brightness.value)}return null}}},associatedGroups:function(){var e=this;return new Set(Object.values(this.groups).filter((function(t){return new Set((t.members||[]).map((function(e){return e.ieee_address}))).has(e.device.ieee_address)})).map((function(e){return parseInt(e.id)})))}},methods:{refresh:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_get",{device:e.device.friendly_name||e.device.ieee_address});case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=(e.$refs.name.value||"").trim(),n.length&&n!==e.device.friendly_name){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.device_rename",{device:null!==(r=e.device.friendly_name)&&void 0!==r&&r.length?e.device.friendly_name:e.device.ieee_address,name:n});case 7:e.$emit("rename",{name:e.device.friendly_name,newName:n});case 8:return t.prev=8,e.editName=!1,e.loading=!1,t.finish(8);case 12:case"end":return t.stop()}}),t,null,[[4,,8,12]])})))()},remove:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you really sure that you want to remove this device from the network?")){n.next=2;break}return n.abrupt("return");case 2:return e=!!e,t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.device_remove",{device:null!==(r=t.device.friendly_name)&&void 0!==r&&r.length?t.device.friendly_name:t.device.ieee_address,force:e});case 7:t.$emit("remove",{device:t.device.friendly_name||t.device.ieee_address});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()},setValue:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i,a,s,o,u,l,c,d,v,p,f,m,g,h;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:a={device:n.device.friendly_name||n.device.ieee_address,property:e.property,value:null},r.t0=e.type,r.next="binary"===r.t0?4:"numeric"===r.t0?6:"enum"===r.t0?8:10;break;case 4:return e.value_toggle?a.value=e.value_toggle:e.value_on&&e.value_off?a.value=e.value===e.value_on?e.value_off:e.value_on:a.value=!e.value,r.abrupt("break",12);case 6:return a.value=parseFloat(t.target.value),r.abrupt("break",12);case 8:return null!==(i=t.target.value)&&void 0!==i&&i.length&&(a.value=t.target.value),r.abrupt("break",12);case 10:return(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat))&&(a.property="color",s=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter((function(e,t){return t%2})).map((function(e){return parseInt(e,16)})),null!=e.x&&null!=e.y?(l=new Ut.N({bri:[(null===(o=n.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=n.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]}),c=l.rgbToXY.apply(l,(0,St.Z)(s)),a.value={color:{x:c[0],y:c[1]}}):(m=null!=n.displayedValues.color.saturation?"saturation":"sat",g=new Ut.N({hue:[(null===(d=n.displayedValues.color.hue)||void 0===d?void 0:d.value_min)||0,n.displayedValues.color.hue.value_max||65535],sat:[(null===(v=n.displayedValues.color[m])||void 0===v?void 0:v.value_min)||0,n.displayedValues.color[m].value_max||255],bri:[(null===(p=n.displayedValues.brightness)||void 0===p?void 0:p.value_min)||0,(null===(f=n.displayedValues.brightness)||void 0===f?void 0:f.value_max)||255]}),h=g.rgbToHsl.apply(g,(0,St.Z)(s)),a.value={brightness:h[2],color:{hue:h[0]}},a.value.color[m]=h[1])),r.abrupt("break",12);case 12:if(null!=a.value){r.next=14;break}return r.abrupt("return");case 14:return n.loading=!0,r.prev=15,r.next=18,n.request("zigbee.mqtt.device_set",a);case 18:return r.next=20,n.refresh();case 20:return r.prev=20,n.loading=!1,r.finish(20);case 23:case"end":return r.stop()}}),r,null,[[15,,20,23]])})))()},manageGroups:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,St.Z)(e.target.querySelectorAll("input[type=checkbox]")).reduce((function(e,n){var r=parseInt(n.value);return n.checked&&!t.associatedGroups.has(r)?e.add.add(r):!n.checked&&t.associatedGroups.has(r)&&e.remove.add(r),e}),{add:new Set,remove:new Set}),i=function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all((0,St.Z)(r[n]).map(function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.request("zigbee.mqtt.group_".concat(n,"_device"),{group:t.groups[r].friendly_name,device:null!==(i=t.device.friendly_name)&&void 0!==i&&i.length?t.device.friendly_name:t.device.ieee_address});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.loading=!0,n.prev=3,n.next=6,Promise.all(Object.keys(r).map(i));case 6:t.$emit("groups-edit",r);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},checkOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_check_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:e.otaUpdatesAvailable=t.sent.update_available,e.otaUpdatesAvailable?e.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):e.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}});case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},installOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_install_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.status.update_available}),(function(t){e.otaUpdatesAvailable=t})),this.subscribe((function(t){t.device!==e.device.friendly_name&&t.device!==e.device.ieee_address||(e.status=(0,te.Z)((0,te.Z)({},e.status),t.properties))}),"on-property-change-".concat(this.device.ieee_address),"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted:function(){this.unsubscribe("on-property-change-".concat(this.device.ieee_address))}},Yt=n(3744);const Pt=(0,Yt.Z)(Bt,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Lt=Pt,Ht=function(e){return(0,r.dD)("data-v-7667f7ba"),e=e(),(0,r.Cn)(),e},Kt=["textContent"],Wt={key:1,class:"params"},Xt={class:"section devices"},Jt=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Devices")],-1)})),Qt={class:"body"},en=["checked","value","onChange"],tn=["textContent"],nn={class:"section actions"},rn=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),an={class:"body"},sn=Ht((function(){return(0,r._)("div",{class:"col-10"},"Rename Group",-1)})),on=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-edit"})],-1)})),un=[sn,on],ln=Ht((function(){return(0,r._)("div",{class:"col-10"},"Remove Group",-1)})),cn=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),dn=[ln,cn];function vn(e,t,n,a,s,o){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item group",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.group.friendly_name),onClick:t[0]||(t[0]=function(t){return e.$emit("select")})},null,10,Kt),n.selected?((0,r.wg)(),(0,r.iD)("div",Wt,[(0,r._)("div",Xt,[Jt,(0,r._)("div",Qt,[(0,r._)("form",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.devices,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row",key:t},[(0,r._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:function(t){return o.toggleDevice(e.ieee_address)}},null,40,en),(0,r._)("span",{class:"label",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:e.ieee_address)},null,8,tn)])})),128))])])]),(0,r._)("div",nn,[rn,(0,r._)("div",an,[(0,r._)("div",{class:"row",onClick:t[1]||(t[1]=function(){return o.rename&&o.rename.apply(o,arguments)})},un),(0,r._)("div",{class:"row",onClick:t[2]||(t[2]=function(){return o.remove&&o.remove.apply(o,arguments)})},dn)])])])):(0,r.kq)("",!0)],2)}var pn={name:"Group",emits:["select","remove","edit"],mixins:[se.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,values:{}}},computed:{devicesByAddress:function(){return Object.entries(this.devices).reduce((function(e,t){var n=t[1];return e[n.ieee_address]=n,e}),{})},members:function(){return new Set((this.group.members||[]).map((function(e){return e.ieee_address})))}},methods:{remove:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this group?")){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,t.prev=3,t.next=6,e.request("zigbee.mqtt.group_remove",{name:e.group.friendly_name});case 6:e.$emit("remove",{name:e.group.friendly_name});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[3,,7,10]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=prompt("New group name",e.group.friendly_name),null!==(n=r)&&void 0!==n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return r=r.trim(),e.loading=!0,t.prev=5,t.next=8,e.request("zigbee.mqtt.group_rename",{group:e.group.friendly_name||e.group.id,name:r});case 8:e.$emit("rename",{name:e.group.friendly_name,newName:r});case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[5,,9,12]])})))()},toggleDevice:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.devicesByAddress[e],a=null!==(r=i.friendly_name)&&void 0!==r&&r.length?i.friendly_name:e,s=t.members.has(e)?"remove":"add",t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.group_".concat(s,"_device"),{group:t.group.friendly_name,device:a});case 7:t.$emit("edit",{device:a,method:s});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()}}};const fn=(0,Yt.Z)(pn,[["render",vn],["__scopeId","data-v-7667f7ba"]]);var mn=fn,gn={name:"ZigbeeMqtt",components:{Modal:Ft.Z,Dropdown:re.Z,DropdownItem:ie.Z,Loading:ae.Z,Device:Lt,Group:mn},mixins:[se.Z],data:function(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{refreshDevices:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.devices");case 4:e.devices=t.sent.reduce((function(t,n){return n.friendly_name in e.devices&&(n=(0,te.Z)({values:e.devices[n.friendly_name].values||{}},e.devices[n.friendly_name])),t[n.friendly_name]=n,t}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshGroups:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.groups");case 4:e.groups=t.sent.reduce((function(e,t){return e[t.id]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshInfo:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.info");case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refresh:function(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties:function(e,t){this.devices[e].values=t},addGroup:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=prompt("Group name"),n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.group_add",{name:n});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:return t.next=12,e.refreshGroups();case 12:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},permitJoin:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={permit:!!e},e&&(i=prompt("Join allow period in seconds (0 or empty for no time limits)","60"),r.seconds=i.length?parseInt(i):null),t.loading=!0,n.prev=3,n.next=6,t.request("zigbee.mqtt.permit_join",r);case 6:setTimeout(t.refreshInfo,1e3);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},factoryReset:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you SURE that you want to do a device factory reset?")){t.next=3;break}if(confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.factory_reset");case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},addToGroup:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,n.request("zigbee.mqtt.group_add_device",{device:e,group:t});case 3:n.loading=!1,i=n,setTimeout((function(){i.refresh(),i.refreshGroups()}),100);case 6:case"end":return r.stop()}}),r)})))()}},created:function(){var e=this;this.subscribe((function(){e.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((function(){e.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((function(t){e.notify({text:t.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted:function(){this.refresh()},unmounted:function(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const hn=(0,Yt.Z)(gn,[["render",ee]]);var bn=hn}}]); +//# sourceMappingURL=4604-legacy.2f44612f.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js.map b/platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js.map rename to platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js.map index d16a658c0..77312e18c 100644 --- a/platypush/backend/http/webapp/dist/static/js/4604-legacy.beb1d238.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4604-legacy.2f44612f.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4604-legacy.beb1d238.js","mappings":"qGACA,IAAIA,EAAQ,EAAQ,MAEpBC,EAAOC,QAAUF,GAAM,WACrB,GAA0B,mBAAfG,YAA2B,CACpC,IAAIC,EAAS,IAAID,YAAY,GAEzBE,OAAOC,aAAaF,IAASC,OAAOE,eAAeH,EAAQ,IAAK,CAAEI,MAAO,GAC/E,CACF,G,oCCRA,IAAID,EAAiB,UACjBE,EAAS,EAAQ,IACjBC,EAAiB,EAAQ,MACzBC,EAAO,EAAQ,MACfC,EAAa,EAAQ,MACrBC,EAAU,EAAQ,KAClBC,EAAiB,EAAQ,KACzBC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MACtBC,EAAU,gBACVC,EAAsB,EAAQ,MAE9BC,EAAmBD,EAAoBE,IACvCC,EAAyBH,EAAoBI,UAEjDrB,EAAOC,QAAU,CACfqB,eAAgB,SAAUC,EAASC,EAAkBC,EAAQC,GAC3D,IAAIC,EAAcJ,GAAQ,SAAUK,EAAMC,GACxClB,EAAWiB,EAAME,GACjBZ,EAAiBU,EAAM,CACrBG,KAAMP,EACNQ,MAAOxB,EAAO,MACdyB,WAAOC,EACPC,UAAMD,EACNE,KAAM,IAEHr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extensible.js","webpack://platypush/./node_modules/core-js/internals/collection-strong.js","webpack://platypush/./node_modules/core-js/internals/collection.js","webpack://platypush/./node_modules/core-js/internals/define-built-ins.js","webpack://platypush/./node_modules/core-js/internals/freezing.js","webpack://platypush/./node_modules/core-js/internals/get-substitution.js","webpack://platypush/./node_modules/core-js/internals/internal-metadata.js","webpack://platypush/./node_modules/core-js/internals/object-is-extensible.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.set.constructor.js","webpack://platypush/./node_modules/core-js/modules/es.set.js","webpack://platypush/./node_modules/core-js/modules/es.string.replace.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n hexToRgb(hex) {\n return [\n hex.slice(1, 3),\n hex.slice(3, 5),\n hex.slice(5, 7),\n ].map(_ => parseInt(_, 16))\n }\n\n rgbToHex(rgb) {\n return '#' + rgb.map((x) => {\n let hex = x.toString(16)\n if (hex.length < 2)\n hex = '0' + hex\n return hex\n }).join('')\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","defineBuiltIns","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","defineBuiltIn","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","src","options","preventExtensions","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","str","position","captures","namedCaptures","replacement","tailPos","m","symbols","match","ch","capture","n","f","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","apply","call","fixRegExpWellKnownSymbolLogic","anObject","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","max","min","concat","push","stringIndexOf","maybeToString","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","replacer","string","rx","S","res","functionalReplace","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","j","replacerArgs","$trim","forcedStringTrimMethod","proto","trim","_classCallCheck","TypeError","_defineProperties","props","descriptor","enumerable","configurable","writable","_createClass","protoProps","staticProps","ColorConverter","ranges","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","k","color","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","hex","join","class","ref","range","step","disabled","onUpdate","withLabel","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","setValue","value_min","value_max","readable","values","option","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","filter","v","reduce","converter","saturation","satAttr","Set","members","member","request","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","editGroups","action","Promise","all","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","addToGroup","self","created","error"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4604-legacy.2f44612f.js","mappings":"qGACA,IAAIA,EAAQ,EAAQ,MAEpBC,EAAOC,QAAUF,GAAM,WACrB,GAA0B,mBAAfG,YAA2B,CACpC,IAAIC,EAAS,IAAID,YAAY,GAEzBE,OAAOC,aAAaF,IAASC,OAAOE,eAAeH,EAAQ,IAAK,CAAEI,MAAO,GAC/E,CACF,G,oCCRA,IAAID,EAAiB,UACjBE,EAAS,EAAQ,IACjBC,EAAiB,EAAQ,MACzBC,EAAO,EAAQ,MACfC,EAAa,EAAQ,MACrBC,EAAU,EAAQ,KAClBC,EAAiB,EAAQ,KACzBC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MACtBC,EAAU,gBACVC,EAAsB,EAAQ,MAE9BC,EAAmBD,EAAoBE,IACvCC,EAAyBH,EAAoBI,UAEjDrB,EAAOC,QAAU,CACfqB,eAAgB,SAAUC,EAASC,EAAkBC,EAAQC,GAC3D,IAAIC,EAAcJ,GAAQ,SAAUK,EAAMC,GACxClB,EAAWiB,EAAME,GACjBZ,EAAiBU,EAAM,CACrBG,KAAMP,EACNQ,MAAOxB,EAAO,MACdyB,WAAOC,EACPC,UAAMD,EACNE,KAAM,IAEHrB,IAAaa,EAAKQ,KAAO,QACdF,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mX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,qCACNoH,OAAO,GAEV,GAAE,oBAAqB,8DAExB3Y,KAAKmX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,+BACNyF,UAAW,gBAEd,GAAE,mBAAoB,6DAEvBhX,KAAKmX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,8BACNoH,OAAO,GAEV,GAAE,iCAAkC,0EAErC3Y,KAAKmX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,0BACNoH,OAAO,GAEV,GAAE,6BAA8B,uEAEjC3Y,KAAKmX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,yBACNoH,OAAO,GAEV,GAAE,gCAAiC,yEAEpC3Y,KAAKmX,WAAU,WACb,EAAKL,OAAO,CACVvF,KAAM,0CACNoH,OAAO,GAEV,GAAE,8BACC,2EAEJ3Y,KAAKmX,WAAU,SAACrI,GACd,EAAKgI,OAAO,CACVvF,KAAMzC,EAAM6J,OAAS,kBACrBA,OAAO,GAEV,GAAE,kBAAmB,4DAEtB3Y,KAAKmX,UAAUnX,KAAK4R,QAAS,0BACzB,4DACA,mEACA,qEACA,kEACA,mEACA,uEACA,mEACA,gEACA,mEAGJ5R,KAAKmX,UAAUnX,KAAKiS,cAAe,yBAC/B,gEACA,kEACA,oEAEL,EAEDxC,QArNa,WAsNXzP,KAAK4R,SACN,EAEDyF,UAzNa,WA0NXrX,KAAKsX,YAAY,mBACjBtX,KAAKsX,YAAY,+BACjBtX,KAAKsX,YAAY,iCACjBtX,KAAKsX,YAAY,8BACjBtX,KAAKsX,YAAY,kCACjBtX,KAAKsX,YAAY,oBACjBtX,KAAKsX,YAAY,qBACjBtX,KAAKsX,YAAY,2BACjBtX,KAAKsX,YAAY,yBAClB,GKzVH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS3H,MAEpE,S","sources":["webpack://platypush/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://platypush/./node_modules/core-js/internals/collection-strong.js","webpack://platypush/./node_modules/core-js/internals/collection.js","webpack://platypush/./node_modules/core-js/internals/define-built-ins.js","webpack://platypush/./node_modules/core-js/internals/freezing.js","webpack://platypush/./node_modules/core-js/internals/get-substitution.js","webpack://platypush/./node_modules/core-js/internals/internal-metadata.js","webpack://platypush/./node_modules/core-js/internals/object-is-extensible.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.set.constructor.js","webpack://platypush/./node_modules/core-js/modules/es.set.js","webpack://platypush/./node_modules/core-js/modules/es.string.replace.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n hexToRgb(hex) {\n return [\n hex.slice(1, 3),\n hex.slice(3, 5),\n hex.slice(5, 7),\n ].map(_ => parseInt(_, 16))\n }\n\n rgbToHex(rgb) {\n return '#' + rgb.map((x) => {\n let hex = x.toString(16)\n if (hex.length < 2)\n hex = '0' + hex\n return hex\n }).join('')\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","defineBuiltIns","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","defineBuiltIn","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","src","options","preventExtensions","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","str","position","captures","namedCaptures","replacement","tailPos","m","symbols","match","ch","capture","n","f","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","apply","call","fixRegExpWellKnownSymbolLogic","anObject","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","max","min","concat","push","stringIndexOf","maybeToString","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","replacer","string","rx","S","res","functionalReplace","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","j","replacerArgs","$trim","forcedStringTrimMethod","proto","trim","_classCallCheck","TypeError","_defineProperties","props","descriptor","enumerable","configurable","writable","_createClass","protoProps","staticProps","ColorConverter","ranges","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","k","color","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","hex","join","class","ref","range","step","disabled","onUpdate","withLabel","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","setValue","value_min","value_max","readable","values","option","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","filter","v","reduce","converter","saturation","satAttr","Set","members","member","request","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","editGroups","action","Promise","all","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","addToGroup","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js b/platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js rename to platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js index 327908f68..092506d77 100644 --- a/platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js +++ b/platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{4212:function(e,t,s){s.d(t,{N:function(){return a}});class a{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,s){return s[0]+(e-t[0])*(s[1]-s[0])/(t[1]-t[0])}hslToRgb(e,t,s){[e,t,s]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(s,this.ranges.bri,[0,100])],s/=100;const a=t*Math.min(s,1-s)/100,i=t=>{const i=(t+e/30)%12,n=s-a*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*n)};return[i(0),i(8),i(4)]}rgbToHsl(e,t,s){e/=255,t/=255,s/=255;const a=Math.max(e,t,s),i=Math.min(e,t,s);let n,l,o=(a+i)/2;if(a===i)n=l=0;else{const r=a-i;switch(l=o>.5?r/(2-a-i):r/(a+i),a){case e:n=(t-s)/r+(td&&o>r&&o>1?(r/=o,d/=o,o=1):r>d&&r>o&&r>1?(o/=r,d/=r,r=1):d>o&&d>r&&d>1&&(o/=d,r/=d,d=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,d=d<=.0031308?12.92*d:1.055*Math.pow(d,1/2.4)-.055,o=Math.round(255*o),r=Math.round(255*r),d=Math.round(255*d),isNaN(o)&&(o=0),isNaN(r)&&(r=0),isNaN(d)&&(d=0),[o,r,d].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,s){e>1&&(e/=255),t>1&&(t/=255),s>1&&(s/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;const a=.664511*e+.154324*t+.162028*s,i=.283881*e+.668433*t+.047685*s,n=88e-6*e+.07231*t+.986039*s;let l=parseFloat((a/(a+i+n)).toFixed(4)),o=parseFloat((i/(a+i+n)).toFixed(4));return isNaN(l)&&(l=0),isNaN(o)&&(o=0),[l,o]}rgbToBri(e,t,s){return Math.min(2*this.rgbToHsl(e,t,s)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const s=this.getXY(e);return s&&e.bri?this.xyToRgb(...s,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const s=this.getRGB(e);if(s)return this.rgbToXY(...s);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const s=this.getXY(e);if(s&&e.bri){const t=this.xyToRgb(...s,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}hexToRgb(e){return[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((e=>parseInt(e,16)))}rgbToHex(e){return"#"+e.map((e=>{let t=e.toString(16);return t.length<2&&(t="0"+t),t})).join("")}}},376:function(e,t,s){s.d(t,{Z:function(){return g}});var a=s(6252),i=s(9963),n=s(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],r={class:"track"},d={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},c=["textContent"];function v(e,t,s,v,p,h){return(0,a.wg)(),(0,a.iD)("label",l,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,o),(0,a._)("div",r,[(0,a._)("div",d,null,512)]),(0,a._)("div",u,null,512),s.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,c)):(0,a.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=s(3744);const m=(0,h.Z)(p,[["render",v],["__scopeId","data-v-95edc28a"]]);var g=m},6:function(e,t,s){s.d(t,{Z:function(){return h}});var a=s(6252),i=s(3577),n=s(9963);const l=e=>((0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e),o=["checked"],r=l((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,s,l,u,c){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>c.onInput&&c.onInput(...e)),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:s.value},null,8,o),(0,a._)("label",null,[r,(0,a._)("span",d,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=s(3744);const p=(0,v.Z)(c,[["render",u],["__scopeId","data-v-a6396ae8"]]);var h=p},4604:function(e,t,s){s.r(t),s.d(t,{default:function(){return vs}});var a=s(6252),i=s(3577);const n={class:"zigbee-container"},l={key:0,class:"info-body"},o={class:"row"},r=(0,a._)("div",{class:"param-name"},"State",-1),d=["textContent"],u={class:"row"},c=(0,a._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},h=(0,a._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},b=(0,a._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),y=["textContent"],f={key:1,class:"row"},_=(0,a._)("div",{class:"param-name"},"MQTT Server",-1),w=["textContent"],k={key:2,class:"row"},q=(0,a._)("div",{class:"param-name"},"Serial Port",-1),x=["textContent"],C={key:3,class:"row"},z=(0,a._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],M={key:4,class:"row"},G=(0,a._)("div",{class:"param-name"},"Firmware Version",-1),R={class:"param-value"},Z={key:5,class:"row"},I=(0,a._)("div",{class:"param-name"},"Firmware Revision",-1),N=["textContent"],T={class:"view-options"},V={class:"view-selector col-s-8 col-m-9 col-l-10"},U=["value"],j=["textContent","selected","value"],E={class:"buttons"},S=["disabled"],A=(0,a._)("i",{class:"fa fa-plus"},null,-1),$=[A],O=["disabled"],F=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},L={key:0,class:"view devices"},H={key:0,class:"no-items"},K={key:0,class:"loading"},P={key:1,class:"empty"},X={key:1,class:"view groups"},W={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,s,A,F,ee){const te=(0,a.up)("Loading"),se=(0,a.up)("Modal"),ae=(0,a.up)("DropdownItem"),ie=(0,a.up)("Dropdown"),ne=(0,a.up)("Device"),le=(0,a.up)("Group");return(0,a.wg)(),(0,a.iD)("div",n,[F.loading?((0,a.wg)(),(0,a.j4)(te,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(se,{title:"Network Info",ref:"infoModal"},{default:(0,a.w5)((()=>[F.status.info?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",o,[r,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,d)]),(0,a._)("div",u,[c,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,a.wg)(),(0,a.iD)("div",p,[h,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,a.kq)("",!0),(0,a._)("div",g,[b,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,y)]),F.status.info.config?.mqtt?((0,a.wg)(),(0,a.iD)("div",f,[_,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,w)])):(0,a.kq)("",!0),F.status.info.config?.serial?((0,a.wg)(),(0,a.iD)("div",k,[q,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,x)])):(0,a.kq)("",!0),F.status.info.coordinator?.type?((0,a.wg)(),(0,a.iD)("div",C,[z,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",M,[G,(0,a._)("div",R,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",Z,[I,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,N)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])),_:1},512),(0,a._)("div",T,[(0,a._)("div",V,[(0,a._)("label",null,[(0,a._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=e=>this.selected.view=e.target.value)},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.views,((e,t)=>((0,a.wg)(),(0,a.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,j)))),128))],40,U)])]),(0,a._)("div",E,["groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=(...e)=>ee.addGroup&&ee.addGroup(...e))},$,8,S)):(0,a.kq)("",!0),(0,a.Wm)(ie,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,a.w5)((()=>[(0,a.Wm)(ae,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=t=>e.$refs.infoModal.show())},null,8,["disabled"]),F.status.info?.permit_join?((0,a.wg)(),(0,a.j4)(ae,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=e=>ee.permitJoin(!1))},null,8,["disabled"])):((0,a.wg)(),(0,a.j4)(ae,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=e=>ee.permitJoin(!0))},null,8,["disabled"])),(0,a.Wm)(ae,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])])),_:1},512),(0,a._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=(...e)=>ee.refresh&&ee.refresh(...e))},B,8,O)])]),(0,a._)("div",Y,["devices"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",L,[Object.keys(F.devices).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,[F.loading?((0,a.wg)(),(0,a.iD)("div",K,"Loading devices...")):((0,a.wg)(),(0,a.iD)("div",P,"No devices found on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.devices,((e,t)=>((0,a.wg)(),(0,a.j4)(ne,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:e=>F.selected.deviceId=F.selected.deviceId===t?null:t,onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])))),128))])):"groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",X,[Object.keys(F.groups).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",W,[F.loading?((0,a.wg)(),(0,a.iD)("div",J,"Loading groups...")):((0,a.wg)(),(0,a.iD)("div",Q,"No groups available on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.groups,((e,t)=>((0,a.wg)(),(0,a.j4)(le,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:e=>F.selected.groupId=F.selected.groupId===t?null:t,onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])))),128))])):(0,a.kq)("",!0)])])}var te=s(5771),se=s(9015),ae=s(1232),ie=s(6813),ne=s(9963);const le=e=>((0,a.dD)("data-v-b05d09fc"),e=e(),(0,a.Cn)(),e),oe={class:"groups"},re=["value","checked"],de=["textContent"],ue=le((()=>(0,a._)("div",{class:"footer buttons"},[(0,a._)("button",{type:"submit"},"Save")],-1))),ce=["textContent"],ve={key:1,class:"params"},pe={class:"row"},he=le((()=>(0,a._)("div",{class:"param-name"},"Name",-1))),me={class:"param-value"},ge=["value"],be={class:"buttons"},ye=le((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),fe=[ye],_e=le((()=>(0,a._)("button",{type:"submit",class:"btn btn-default"},[(0,a._)("i",{class:"fa fa-check"})],-1))),we=["textContent"],ke={class:"buttons"},qe=le((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),xe=[qe],Ce={class:"row"},ze=le((()=>(0,a._)("div",{class:"param-name"},"IEEE Address",-1))),De=["textContent"],Me={key:0,class:"row"},Ge=le((()=>(0,a._)("div",{class:"param-name"},"Network Address",-1))),Re=["textContent"],Ze={class:"row"},Ie=le((()=>(0,a._)("div",{class:"param-name"},"Type",-1))),Ne=["textContent"],Te={key:1,class:"row"},Ve=le((()=>(0,a._)("div",{class:"param-name"},"Vendor",-1))),Ue={class:"param-value"},je={key:2,class:"row"},Ee=le((()=>(0,a._)("div",{class:"param-name"},"Model",-1))),Se={class:"param-value"},Ae={key:3,class:"row"},$e=le((()=>(0,a._)("div",{class:"param-name"},"Model ID",-1))),Oe={class:"param-value"},Fe={key:4,class:"row"},Be=le((()=>(0,a._)("div",{class:"param-name"},"Description",-1))),Ye={class:"param-value"},Le={key:5,class:"row"},He=le((()=>(0,a._)("div",{class:"param-name"},"Software Build ID",-1))),Ke={class:"param-value"},Pe={key:6,class:"row"},Xe=le((()=>(0,a._)("div",{class:"param-name"},"Date Code",-1))),We={class:"param-value"},Je={key:7,class:"row"},Qe=le((()=>(0,a._)("div",{class:"param-name"},"Power Source",-1))),et={class:"param-value"},tt={key:8,class:"section values"},st=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1))),at={class:"body"},it={class:"param-name"},nt={key:0,class:"text"},lt=["textContent"],ot=["textContent"],rt={class:"param-value"},dt={key:2},ut=["value","disabled","onChange"],ct={key:3},vt=["value","onChange"],pt={key:0},ht=["value","textContent","selected","disabled"],mt={key:4},gt=["onChange","value"],bt={key:5},yt=["disabled","value","onChange"],ft={class:"section actions"},_t=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),wt={class:"body"},kt=le((()=>(0,a._)("div",{class:"param-name"},"Manage groups",-1))),qt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-network-wired"})],-1))),xt=[kt,qt],Ct={key:0,class:"param-name"},zt={key:1,class:"param-name"},Dt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1))),Mt=le((()=>(0,a._)("div",{class:"param-name"},"Remove Device",-1))),Gt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Rt=[Mt,Gt],Zt=le((()=>(0,a._)("div",{class:"param-name"},"Force Remove Device",-1))),It=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Nt=[Zt,It];function Tt(e,t,s,n,l,o){const r=(0,a.up)("Loading"),d=(0,a.up)("Modal"),u=(0,a.up)("ToggleSwitch"),c=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item device",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(d,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,a.w5)((()=>[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,ne.iM)(((...e)=>o.manageGroups&&o.manageGroups(...e)),["prevent"]))},[(0,a._)("div",oe,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.groups,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row group",key:t},[(0,a._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,re),(0,a._)("span",{class:"name",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:`[Group #${e.id}]`)},null,8,de)])))),128))]),ue],32)])),_:1},512),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.device.friendly_name||s.device.ieee_address),onClick:t[1]||(t[1]=t=>e.$emit("select"))},null,10,ce),s.selected?((0,a.wg)(),(0,a.iD)("div",ve,[(0,a._)("div",pe,[he,(0,a._)("div",me,[(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:!l.editName}])},[(0,a._)("form",{onSubmit:t[3]||(t[3]=(0,ne.iM)(((...e)=>o.rename&&o.rename(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",ref:"name",value:s.device.friendly_name},null,8,ge)]),(0,a._)("span",be,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=e=>l.editName=!1)},fe),_e])],32)],2),(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:l.editName}])},[(0,a._)("span",{textContent:(0,i.zw)(s.device.friendly_name)},null,8,we),(0,a._)("span",ke,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=e=>l.editName=!0)},xe)])],2)])]),(0,a._)("div",Ce,[ze,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.ieee_address)},null,8,De)]),s.device.network_address?((0,a.wg)(),(0,a.iD)("div",Me,[Ge,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.network_address)},null,8,Re)])):(0,a.kq)("",!0),(0,a._)("div",Ze,[Ie,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.type)},null,8,Ne)]),s.device.definition?.vendor?((0,a.wg)(),(0,a.iD)("div",Te,[Ve,(0,a._)("div",Ue,(0,i.zw)(s.device.definition.vendor),1)])):(0,a.kq)("",!0),s.device.definition?.model?((0,a.wg)(),(0,a.iD)("div",je,[Ee,(0,a._)("div",Se,(0,i.zw)(s.device.definition.model),1)])):(0,a.kq)("",!0),s.device.model_id?((0,a.wg)(),(0,a.iD)("div",Ae,[$e,(0,a._)("div",Oe,(0,i.zw)(s.device.model_id),1)])):(0,a.kq)("",!0),s.device.definition?.description?((0,a.wg)(),(0,a.iD)("div",Fe,[Be,(0,a._)("div",Ye,(0,i.zw)(s.device.definition.description),1)])):(0,a.kq)("",!0),s.device.software_build_id?((0,a.wg)(),(0,a.iD)("div",Le,[He,(0,a._)("div",Ke,(0,i.zw)(s.device.software_build_id),1)])):(0,a.kq)("",!0),s.device.definition?.date_code?((0,a.wg)(),(0,a.iD)("div",Pe,[Xe,(0,a._)("div",We,(0,i.zw)(s.device.definition.date_code),1)])):(0,a.kq)("",!0),s.device.power_source?((0,a.wg)(),(0,a.iD)("div",Je,[Qe,(0,a._)("div",et,(0,i.zw)(s.device.power_source),1)])):(0,a.kq)("",!0),Object.keys(o.displayedValues).length?((0,a.wg)(),(0,a.iD)("div",tt,[st,(0,a._)("div",at,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(o.displayedValues,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"row value",key:t},[(0,a._)("div",it,[(0,a.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("span",nt,"Color")):(0,a.kq)("",!0),e.property?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,lt)):(0,a.kq)("",!0),e.unit?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,ot)):(0,a.kq)("",!0)]),(0,a._)("div",rt,["binary"===e.type?((0,a.wg)(),(0,a.j4)(u,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:t=>o.setValue(e,t)},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,a.wg)(),(0,a.j4)(c,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,a.wg)(),(0,a.iD)("label",ct,[(0,a._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:t=>o.setValue(e,t)},[e.readable?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("option",pt)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.values,(t=>((0,a.wg)(),(0,a.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,ht)))),128))],40,vt)])):null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("label",mt,[(0,a._)("input",{type:"color",onChange:(0,ne.iM)((t=>o.setValue(e,t)),["stop"]),value:"#"+o.rgbColor.map((e=>(e=Number(e).toString(16),1===e.length?"0"+e:e))).join("")},null,40,gt)])):((0,a.wg)(),(0,a.iD)("label",bt,[(0,a._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:t=>o.setValue(e,t)},null,40,yt)])):((0,a.wg)(),(0,a.iD)("label",dt,[(0,a._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,40,ut)]))])])))),128))])])):(0,a.kq)("",!0),(0,a._)("div",ft,[_t,(0,a._)("div",wt,[(0,a._)("div",{class:"row",onClick:t[5]||(t[5]=t=>e.$refs.groupsModal.show())},xt),(0,a._)("div",{class:"row",onClick:t[6]||(t[6]=e=>l.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates())},[l.otaUpdatesAvailable?((0,a.wg)(),(0,a.iD)("div",zt,"Install updates")):((0,a.wg)(),(0,a.iD)("div",Ct,"Check for updates")),Dt]),(0,a._)("div",{class:"row",onClick:t[7]||(t[7]=e=>o.remove(!1))},Rt),(0,a._)("div",{class:"row error",onClick:t[8]||(t[8]=e=>o.remove(!0))},Nt)])])])):(0,a.kq)("",!0)],2)}var Vt=s(376),Ut=s(6),jt=s(4212),Et=s(9642),St={name:"Device",components:{Modal:Et.Z,ToggleSwitch:Ut.Z,Slider:Vt.Z,Loading:ae.Z},mixins:[ie.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:()=>{}},selected:{type:Boolean,default:!1}},data(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values(){if(!this.device.definition?.exposes)return{};const e=e=>{const t=(e,s)=>{if(e.features){e.property&&(s[e.property]=s[e.property]||{},s=s[e.property]);for(const a of e.features)t(a,s)}else e.property&&(s[e.property]=e)},s={};for(const a of e)t(a,s);return s};return e(this.device.definition.exposes)},displayedValues(){const e={},t=(e,[s,a])=>(s in this.status&&(a={...a,value:this.status[s]}),null!=a.access&&(a.readable=!!(1&a.access),a.writable=!!(2&a.access),delete a.access),e[s]=a,Object.entries(a).filter((e=>e[1]instanceof Object)).reduce(t,e[s]),e);return Object.entries(this.values).reduce(t,e),e},rgbColor(){if(!this.displayedValues.color)return;const e=this.displayedValues.color?.value;if(e){if(null!=e.x&&null!=e.y){const t=new jt.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return t.xyToRgb(e.x,e.y,this.displayedValues.brightness.value)}if(null!=e.hue&&(null!=e.saturation||null!=e.sat)){const t=null!=e.saturation?"saturation":"sat",s=new jt.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[t]?.value_min||0,this.displayedValues.color[t].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return s.hslToRgb(e.hue,e[t],this.displayedValues.brightness.value)}return null}},associatedGroups(){return new Set(Object.values(this.groups).filter((e=>new Set((e.members||[]).map((e=>e.ieee_address))).has(this.device.ieee_address))).map((e=>parseInt(e.id))))}},methods:{async refresh(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.device_get",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}},async rename(){const e=(this.$refs.name.value||"").trim();if(e.length&&e!==this.device.friendly_name){this.loading=!0;try{await this.request("zigbee.mqtt.device_rename",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,name:e}),this.$emit("rename",{name:this.device.friendly_name,newName:e})}finally{this.editName=!1,this.loading=!1}}},async remove(e){if(confirm("Are you really sure that you want to remove this device from the network?")){e=!!e,this.loading=!0;try{await this.request("zigbee.mqtt.device_remove",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,force:e}),this.$emit("remove",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}}},async setValue(e,t){const s={device:this.device.friendly_name||this.device.ieee_address,property:e.property,value:null};switch(e.type){case"binary":e.value_toggle?s.value=e.value_toggle:e.value_on&&e.value_off?s.value=e.value===e.value_on?e.value_off:e.value_on:s.value=!e.value;break;case"numeric":s.value=parseFloat(t.target.value);break;case"enum":t.target.value?.length&&(s.value=t.target.value);break;default:if(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat)){s.property="color";const a=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter(((e,t)=>t%2)).map((e=>parseInt(e,16)));if(null!=e.x&&null!=e.y){const e=new jt.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),t=e.rgbToXY(...a);s.value={color:{x:t[0],y:t[1]}}}else{const e=null!=this.displayedValues.color.saturation?"saturation":"sat",t=new jt.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[e]?.value_min||0,this.displayedValues.color[e].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),i=t.rgbToHsl(...a);s.value={brightness:i[2],color:{hue:i[0]}},s.value.color[e]=i[1]}}break}if(null!=s.value){this.loading=!0;try{await this.request("zigbee.mqtt.device_set",s),await this.refresh()}finally{this.loading=!1}}},async manageGroups(e){const t=[...e.target.querySelectorAll("input[type=checkbox]")].reduce(((e,t)=>{const s=parseInt(t.value);return t.checked&&!this.associatedGroups.has(s)?e.add.add(s):!t.checked&&this.associatedGroups.has(s)&&e.remove.add(s),e}),{add:new Set,remove:new Set}),s=async e=>{await Promise.all([...t[e]].map((async t=>{await this.request(`zigbee.mqtt.group_${e}_device`,{group:this.groups[t].friendly_name,device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})})))};this.loading=!0;try{await Promise.all(Object.keys(t).map(s)),this.$emit("groups-edit",t)}finally{this.loading=!1}},async checkOtaUpdates(){this.loading=!0;try{this.otaUpdatesAvailable=(await this.request("zigbee.mqtt.device_check_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})).update_available,this.otaUpdatesAvailable?this.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):this.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}})}finally{this.loading=!1}},async installOtaUpdates(){this.loading=!0;try{await this.request("zigbee.mqtt.device_install_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&this.refresh()})),this.$watch((()=>this.status.update_available),(e=>{this.otaUpdatesAvailable=e})),this.subscribe((e=>{e.device!==this.device.friendly_name&&e.device!==this.device.ieee_address||(this.status={...this.status,...e.properties})}),`on-property-change-${this.device.ieee_address}`,"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted(){this.unsubscribe(`on-property-change-${this.device.ieee_address}`)}},At=s(3744);const $t=(0,At.Z)(St,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Ot=$t;const Ft=e=>((0,a.dD)("data-v-7667f7ba"),e=e(),(0,a.Cn)(),e),Bt=["textContent"],Yt={key:1,class:"params"},Lt={class:"section devices"},Ht=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Devices")],-1))),Kt={class:"body"},Pt=["checked","value","onChange"],Xt=["textContent"],Wt={class:"section actions"},Jt=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),Qt={class:"body"},es=Ft((()=>(0,a._)("div",{class:"col-10"},"Rename Group",-1))),ts=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-edit"})],-1))),ss=[es,ts],as=Ft((()=>(0,a._)("div",{class:"col-10"},"Remove Group",-1))),is=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),ns=[as,is];function ls(e,t,s,n,l,o){const r=(0,a.up)("Loading");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item group",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.group.friendly_name),onClick:t[0]||(t[0]=t=>e.$emit("select"))},null,10,Bt),s.selected?((0,a.wg)(),(0,a.iD)("div",Yt,[(0,a._)("div",Lt,[Ht,(0,a._)("div",Kt,[(0,a._)("form",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.devices,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row",key:t},[(0,a._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:t=>o.toggleDevice(e.ieee_address)},null,40,Pt),(0,a._)("span",{class:"label",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:e.ieee_address)},null,8,Xt)])))),128))])])]),(0,a._)("div",Wt,[Jt,(0,a._)("div",Qt,[(0,a._)("div",{class:"row",onClick:t[1]||(t[1]=(...e)=>o.rename&&o.rename(...e))},ss),(0,a._)("div",{class:"row",onClick:t[2]||(t[2]=(...e)=>o.remove&&o.remove(...e))},ns)])])])):(0,a.kq)("",!0)],2)}var os={name:"Group",emits:["select","remove","edit"],mixins:[ie.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,values:{}}},computed:{devicesByAddress(){return Object.entries(this.devices).reduce(((e,t)=>{const s=t[1];return e[s.ieee_address]=s,e}),{})},members(){return new Set((this.group.members||[]).map((e=>e.ieee_address)))}},methods:{async remove(){if(confirm("Are you sure that you want to remove this group?")){this.loading=!0;try{await this.request("zigbee.mqtt.group_remove",{name:this.group.friendly_name}),this.$emit("remove",{name:this.group.friendly_name})}finally{this.loading=!1}}},async rename(){let e=prompt("New group name",this.group.friendly_name);if(e?.length){e=e.trim(),this.loading=!0;try{await this.request("zigbee.mqtt.group_rename",{group:this.group.friendly_name||this.group.id,name:e}),this.$emit("rename",{name:this.group.friendly_name,newName:e})}finally{this.loading=!1}}},async toggleDevice(e){const t=this.devicesByAddress[e],s=t.friendly_name?.length?t.friendly_name:e,a=this.members.has(e)?"remove":"add";this.loading=!0;try{await this.request(`zigbee.mqtt.group_${a}_device`,{group:this.group.friendly_name,device:s}),this.$emit("edit",{device:s,method:a})}finally{this.loading=!1}}}};const rs=(0,At.Z)(os,[["render",ls],["__scopeId","data-v-7667f7ba"]]);var ds=rs,us={name:"ZigbeeMqtt",components:{Modal:Et.Z,Dropdown:te.Z,DropdownItem:se.Z,Loading:ae.Z,Device:Ot,Group:ds},mixins:[ie.Z],data(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{async refreshDevices(){this.loading=!0;try{this.devices=(await this.request("zigbee.mqtt.devices")).reduce(((e,t)=>(t.friendly_name in this.devices&&(t={values:this.devices[t.friendly_name].values||{},...this.devices[t.friendly_name]}),e[t.friendly_name]=t,e)),{})}finally{this.loading=!1}},async refreshGroups(){this.loading=!0;try{this.groups=(await this.request("zigbee.mqtt.groups")).reduce(((e,t)=>(e[t.id]=t,e)),{})}finally{this.loading=!1}},async refreshInfo(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.info")}finally{this.loading=!1}},refresh(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties(e,t){this.devices[e].values=t},async addGroup(){const e=prompt("Group name");if(e&&e.length){this.loading=!0;try{await this.request("zigbee.mqtt.group_add",{name:e})}finally{this.loading=!1}await this.refreshGroups()}},async permitJoin(e){const t={permit:!!e};if(e){let e=prompt("Join allow period in seconds (0 or empty for no time limits)","60");t.seconds=e.length?parseInt(e):null}this.loading=!0;try{await this.request("zigbee.mqtt.permit_join",t),setTimeout(this.refreshInfo,1e3)}finally{this.loading=!1}},async factoryReset(){if(confirm("Are you SURE that you want to do a device factory reset?")||confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){this.loading=!0;try{await this.request("zigbee.mqtt.factory_reset")}finally{this.loading=!1}}},async addToGroup(e,t){this.loading=!0,await this.request("zigbee.mqtt.group_add_device",{device:e,group:t}),this.loading=!1;const s=this;setTimeout((()=>{s.refresh(),s.refreshGroups()}),100)}},created(){this.subscribe((()=>{this.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((()=>{this.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((e=>{this.notify({text:e.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted(){this.refresh()},unmounted(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const cs=(0,At.Z)(us,[["render",ee]]);var vs=cs}}]); -//# sourceMappingURL=4604.28cc0f11.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{4212:function(e,t,s){s.d(t,{N:function(){return a}});class a{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,s){return s[0]+(e-t[0])*(s[1]-s[0])/(t[1]-t[0])}hslToRgb(e,t,s){[e,t,s]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(s,this.ranges.bri,[0,100])],s/=100;const a=t*Math.min(s,1-s)/100,i=t=>{const i=(t+e/30)%12,n=s-a*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*n)};return[i(0),i(8),i(4)]}rgbToHsl(e,t,s){e/=255,t/=255,s/=255;const a=Math.max(e,t,s),i=Math.min(e,t,s);let n,l,o=(a+i)/2;if(a===i)n=l=0;else{const r=a-i;switch(l=o>.5?r/(2-a-i):r/(a+i),a){case e:n=(t-s)/r+(td&&o>r&&o>1?(r/=o,d/=o,o=1):r>d&&r>o&&r>1?(o/=r,d/=r,r=1):d>o&&d>r&&d>1&&(o/=d,r/=d,d=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,d=d<=.0031308?12.92*d:1.055*Math.pow(d,1/2.4)-.055,o=Math.round(255*o),r=Math.round(255*r),d=Math.round(255*d),isNaN(o)&&(o=0),isNaN(r)&&(r=0),isNaN(d)&&(d=0),[o,r,d].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,s){e>1&&(e/=255),t>1&&(t/=255),s>1&&(s/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;const a=.664511*e+.154324*t+.162028*s,i=.283881*e+.668433*t+.047685*s,n=88e-6*e+.07231*t+.986039*s;let l=parseFloat((a/(a+i+n)).toFixed(4)),o=parseFloat((i/(a+i+n)).toFixed(4));return isNaN(l)&&(l=0),isNaN(o)&&(o=0),[l,o]}rgbToBri(e,t,s){return Math.min(2*this.rgbToHsl(e,t,s)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const s=this.getXY(e);return s&&e.bri?this.xyToRgb(...s,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const s=this.getRGB(e);if(s)return this.rgbToXY(...s);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const s=this.getXY(e);if(s&&e.bri){const t=this.xyToRgb(...s,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}hexToRgb(e){return[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((e=>parseInt(e,16)))}rgbToHex(e){return"#"+e.map((e=>{let t=e.toString(16);return t.length<2&&(t="0"+t),t})).join("")}}},376:function(e,t,s){s.d(t,{Z:function(){return g}});var a=s(6252),i=s(9963),n=s(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],r={class:"track"},d={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},c=["textContent"];function v(e,t,s,v,p,h){return(0,a.wg)(),(0,a.iD)("label",l,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,o),(0,a._)("div",r,[(0,a._)("div",d,null,512)]),(0,a._)("div",u,null,512),s.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,c)):(0,a.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=s(3744);const m=(0,h.Z)(p,[["render",v],["__scopeId","data-v-95edc28a"]]);var g=m},6:function(e,t,s){s.d(t,{Z:function(){return h}});var a=s(6252),i=s(3577),n=s(9963);const l=e=>((0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e),o=["checked"],r=l((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,s,l,u,c){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>c.onInput&&c.onInput(...e)),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:s.value},null,8,o),(0,a._)("label",null,[r,(0,a._)("span",d,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=s(3744);const p=(0,v.Z)(c,[["render",u],["__scopeId","data-v-a6396ae8"]]);var h=p},4604:function(e,t,s){s.r(t),s.d(t,{default:function(){return vs}});var a=s(6252),i=s(3577);const n={class:"zigbee-container"},l={key:0,class:"info-body"},o={class:"row"},r=(0,a._)("div",{class:"param-name"},"State",-1),d=["textContent"],u={class:"row"},c=(0,a._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},h=(0,a._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},b=(0,a._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),y=["textContent"],f={key:1,class:"row"},_=(0,a._)("div",{class:"param-name"},"MQTT Server",-1),w=["textContent"],k={key:2,class:"row"},q=(0,a._)("div",{class:"param-name"},"Serial Port",-1),x=["textContent"],C={key:3,class:"row"},z=(0,a._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],M={key:4,class:"row"},G=(0,a._)("div",{class:"param-name"},"Firmware Version",-1),R={class:"param-value"},Z={key:5,class:"row"},I=(0,a._)("div",{class:"param-name"},"Firmware Revision",-1),N=["textContent"],T={class:"view-options"},V={class:"view-selector col-s-8 col-m-9 col-l-10"},U=["value"],j=["textContent","selected","value"],E={class:"buttons"},S=["disabled"],A=(0,a._)("i",{class:"fa fa-plus"},null,-1),$=[A],O=["disabled"],F=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},L={key:0,class:"view devices"},H={key:0,class:"no-items"},K={key:0,class:"loading"},P={key:1,class:"empty"},X={key:1,class:"view groups"},W={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,s,A,F,ee){const te=(0,a.up)("Loading"),se=(0,a.up)("Modal"),ae=(0,a.up)("DropdownItem"),ie=(0,a.up)("Dropdown"),ne=(0,a.up)("Device"),le=(0,a.up)("Group");return(0,a.wg)(),(0,a.iD)("div",n,[F.loading?((0,a.wg)(),(0,a.j4)(te,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(se,{title:"Network Info",ref:"infoModal"},{default:(0,a.w5)((()=>[F.status.info?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",o,[r,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,d)]),(0,a._)("div",u,[c,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,a.wg)(),(0,a.iD)("div",p,[h,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,a.kq)("",!0),(0,a._)("div",g,[b,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,y)]),F.status.info.config?.mqtt?((0,a.wg)(),(0,a.iD)("div",f,[_,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,w)])):(0,a.kq)("",!0),F.status.info.config?.serial?((0,a.wg)(),(0,a.iD)("div",k,[q,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,x)])):(0,a.kq)("",!0),F.status.info.coordinator?.type?((0,a.wg)(),(0,a.iD)("div",C,[z,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",M,[G,(0,a._)("div",R,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",Z,[I,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,N)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])),_:1},512),(0,a._)("div",T,[(0,a._)("div",V,[(0,a._)("label",null,[(0,a._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=e=>this.selected.view=e.target.value)},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.views,((e,t)=>((0,a.wg)(),(0,a.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,j)))),128))],40,U)])]),(0,a._)("div",E,["groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=(...e)=>ee.addGroup&&ee.addGroup(...e))},$,8,S)):(0,a.kq)("",!0),(0,a.Wm)(ie,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,a.w5)((()=>[(0,a.Wm)(ae,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=t=>e.$refs.infoModal.show())},null,8,["disabled"]),F.status.info?.permit_join?((0,a.wg)(),(0,a.j4)(ae,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=e=>ee.permitJoin(!1))},null,8,["disabled"])):((0,a.wg)(),(0,a.j4)(ae,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=e=>ee.permitJoin(!0))},null,8,["disabled"])),(0,a.Wm)(ae,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])])),_:1},512),(0,a._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=(...e)=>ee.refresh&&ee.refresh(...e))},B,8,O)])]),(0,a._)("div",Y,["devices"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",L,[Object.keys(F.devices).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,[F.loading?((0,a.wg)(),(0,a.iD)("div",K,"Loading devices...")):((0,a.wg)(),(0,a.iD)("div",P,"No devices found on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.devices,((e,t)=>((0,a.wg)(),(0,a.j4)(ne,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:e=>F.selected.deviceId=F.selected.deviceId===t?null:t,onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])))),128))])):"groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",X,[Object.keys(F.groups).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",W,[F.loading?((0,a.wg)(),(0,a.iD)("div",J,"Loading groups...")):((0,a.wg)(),(0,a.iD)("div",Q,"No groups available on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.groups,((e,t)=>((0,a.wg)(),(0,a.j4)(le,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:e=>F.selected.groupId=F.selected.groupId===t?null:t,onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])))),128))])):(0,a.kq)("",!0)])])}var te=s(5771),se=s(9015),ae=s(1232),ie=s(6813),ne=s(9963);const le=e=>((0,a.dD)("data-v-b05d09fc"),e=e(),(0,a.Cn)(),e),oe={class:"groups"},re=["value","checked"],de=["textContent"],ue=le((()=>(0,a._)("div",{class:"footer buttons"},[(0,a._)("button",{type:"submit"},"Save")],-1))),ce=["textContent"],ve={key:1,class:"params"},pe={class:"row"},he=le((()=>(0,a._)("div",{class:"param-name"},"Name",-1))),me={class:"param-value"},ge=["value"],be={class:"buttons"},ye=le((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),fe=[ye],_e=le((()=>(0,a._)("button",{type:"submit",class:"btn btn-default"},[(0,a._)("i",{class:"fa fa-check"})],-1))),we=["textContent"],ke={class:"buttons"},qe=le((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),xe=[qe],Ce={class:"row"},ze=le((()=>(0,a._)("div",{class:"param-name"},"IEEE Address",-1))),De=["textContent"],Me={key:0,class:"row"},Ge=le((()=>(0,a._)("div",{class:"param-name"},"Network Address",-1))),Re=["textContent"],Ze={class:"row"},Ie=le((()=>(0,a._)("div",{class:"param-name"},"Type",-1))),Ne=["textContent"],Te={key:1,class:"row"},Ve=le((()=>(0,a._)("div",{class:"param-name"},"Vendor",-1))),Ue={class:"param-value"},je={key:2,class:"row"},Ee=le((()=>(0,a._)("div",{class:"param-name"},"Model",-1))),Se={class:"param-value"},Ae={key:3,class:"row"},$e=le((()=>(0,a._)("div",{class:"param-name"},"Model ID",-1))),Oe={class:"param-value"},Fe={key:4,class:"row"},Be=le((()=>(0,a._)("div",{class:"param-name"},"Description",-1))),Ye={class:"param-value"},Le={key:5,class:"row"},He=le((()=>(0,a._)("div",{class:"param-name"},"Software Build ID",-1))),Ke={class:"param-value"},Pe={key:6,class:"row"},Xe=le((()=>(0,a._)("div",{class:"param-name"},"Date Code",-1))),We={class:"param-value"},Je={key:7,class:"row"},Qe=le((()=>(0,a._)("div",{class:"param-name"},"Power Source",-1))),et={class:"param-value"},tt={key:8,class:"section values"},st=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1))),at={class:"body"},it={class:"param-name"},nt={key:0,class:"text"},lt=["textContent"],ot=["textContent"],rt={class:"param-value"},dt={key:2},ut=["value","disabled","onChange"],ct={key:3},vt=["value","onChange"],pt={key:0},ht=["value","textContent","selected","disabled"],mt={key:4},gt=["onChange","value"],bt={key:5},yt=["disabled","value","onChange"],ft={class:"section actions"},_t=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),wt={class:"body"},kt=le((()=>(0,a._)("div",{class:"param-name"},"Manage groups",-1))),qt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-network-wired"})],-1))),xt=[kt,qt],Ct={key:0,class:"param-name"},zt={key:1,class:"param-name"},Dt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1))),Mt=le((()=>(0,a._)("div",{class:"param-name"},"Remove Device",-1))),Gt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Rt=[Mt,Gt],Zt=le((()=>(0,a._)("div",{class:"param-name"},"Force Remove Device",-1))),It=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Nt=[Zt,It];function Tt(e,t,s,n,l,o){const r=(0,a.up)("Loading"),d=(0,a.up)("Modal"),u=(0,a.up)("ToggleSwitch"),c=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item device",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(d,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,a.w5)((()=>[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,ne.iM)(((...e)=>o.manageGroups&&o.manageGroups(...e)),["prevent"]))},[(0,a._)("div",oe,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.groups,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row group",key:t},[(0,a._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,re),(0,a._)("span",{class:"name",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:`[Group #${e.id}]`)},null,8,de)])))),128))]),ue],32)])),_:1},512),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.device.friendly_name||s.device.ieee_address),onClick:t[1]||(t[1]=t=>e.$emit("select"))},null,10,ce),s.selected?((0,a.wg)(),(0,a.iD)("div",ve,[(0,a._)("div",pe,[he,(0,a._)("div",me,[(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:!l.editName}])},[(0,a._)("form",{onSubmit:t[3]||(t[3]=(0,ne.iM)(((...e)=>o.rename&&o.rename(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",ref:"name",value:s.device.friendly_name},null,8,ge)]),(0,a._)("span",be,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=e=>l.editName=!1)},fe),_e])],32)],2),(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:l.editName}])},[(0,a._)("span",{textContent:(0,i.zw)(s.device.friendly_name)},null,8,we),(0,a._)("span",ke,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=e=>l.editName=!0)},xe)])],2)])]),(0,a._)("div",Ce,[ze,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.ieee_address)},null,8,De)]),s.device.network_address?((0,a.wg)(),(0,a.iD)("div",Me,[Ge,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.network_address)},null,8,Re)])):(0,a.kq)("",!0),(0,a._)("div",Ze,[Ie,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.type)},null,8,Ne)]),s.device.definition?.vendor?((0,a.wg)(),(0,a.iD)("div",Te,[Ve,(0,a._)("div",Ue,(0,i.zw)(s.device.definition.vendor),1)])):(0,a.kq)("",!0),s.device.definition?.model?((0,a.wg)(),(0,a.iD)("div",je,[Ee,(0,a._)("div",Se,(0,i.zw)(s.device.definition.model),1)])):(0,a.kq)("",!0),s.device.model_id?((0,a.wg)(),(0,a.iD)("div",Ae,[$e,(0,a._)("div",Oe,(0,i.zw)(s.device.model_id),1)])):(0,a.kq)("",!0),s.device.definition?.description?((0,a.wg)(),(0,a.iD)("div",Fe,[Be,(0,a._)("div",Ye,(0,i.zw)(s.device.definition.description),1)])):(0,a.kq)("",!0),s.device.software_build_id?((0,a.wg)(),(0,a.iD)("div",Le,[He,(0,a._)("div",Ke,(0,i.zw)(s.device.software_build_id),1)])):(0,a.kq)("",!0),s.device.definition?.date_code?((0,a.wg)(),(0,a.iD)("div",Pe,[Xe,(0,a._)("div",We,(0,i.zw)(s.device.definition.date_code),1)])):(0,a.kq)("",!0),s.device.power_source?((0,a.wg)(),(0,a.iD)("div",Je,[Qe,(0,a._)("div",et,(0,i.zw)(s.device.power_source),1)])):(0,a.kq)("",!0),Object.keys(o.displayedValues).length?((0,a.wg)(),(0,a.iD)("div",tt,[st,(0,a._)("div",at,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(o.displayedValues,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"row value",key:t},[(0,a._)("div",it,[(0,a.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("span",nt,"Color")):(0,a.kq)("",!0),e.property?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,lt)):(0,a.kq)("",!0),e.unit?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,ot)):(0,a.kq)("",!0)]),(0,a._)("div",rt,["binary"===e.type?((0,a.wg)(),(0,a.j4)(u,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:t=>o.setValue(e,t)},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,a.wg)(),(0,a.j4)(c,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,a.wg)(),(0,a.iD)("label",ct,[(0,a._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:t=>o.setValue(e,t)},[e.readable?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("option",pt)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.values,(t=>((0,a.wg)(),(0,a.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,ht)))),128))],40,vt)])):null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("label",mt,[(0,a._)("input",{type:"color",onChange:(0,ne.iM)((t=>o.setValue(e,t)),["stop"]),value:"#"+o.rgbColor.map((e=>(e=Number(e).toString(16),1===e.length?"0"+e:e))).join("")},null,40,gt)])):((0,a.wg)(),(0,a.iD)("label",bt,[(0,a._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:t=>o.setValue(e,t)},null,40,yt)])):((0,a.wg)(),(0,a.iD)("label",dt,[(0,a._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,40,ut)]))])])))),128))])])):(0,a.kq)("",!0),(0,a._)("div",ft,[_t,(0,a._)("div",wt,[(0,a._)("div",{class:"row",onClick:t[5]||(t[5]=t=>e.$refs.groupsModal.show())},xt),(0,a._)("div",{class:"row",onClick:t[6]||(t[6]=e=>l.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates())},[l.otaUpdatesAvailable?((0,a.wg)(),(0,a.iD)("div",zt,"Install updates")):((0,a.wg)(),(0,a.iD)("div",Ct,"Check for updates")),Dt]),(0,a._)("div",{class:"row",onClick:t[7]||(t[7]=e=>o.remove(!1))},Rt),(0,a._)("div",{class:"row error",onClick:t[8]||(t[8]=e=>o.remove(!0))},Nt)])])])):(0,a.kq)("",!0)],2)}var Vt=s(376),Ut=s(6),jt=s(4212),Et=s(8453),St={name:"Device",components:{Modal:Et.Z,ToggleSwitch:Ut.Z,Slider:Vt.Z,Loading:ae.Z},mixins:[ie.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:()=>{}},selected:{type:Boolean,default:!1}},data(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values(){if(!this.device.definition?.exposes)return{};const e=e=>{const t=(e,s)=>{if(e.features){e.property&&(s[e.property]=s[e.property]||{},s=s[e.property]);for(const a of e.features)t(a,s)}else e.property&&(s[e.property]=e)},s={};for(const a of e)t(a,s);return s};return e(this.device.definition.exposes)},displayedValues(){const e={},t=(e,[s,a])=>(s in this.status&&(a={...a,value:this.status[s]}),null!=a.access&&(a.readable=!!(1&a.access),a.writable=!!(2&a.access),delete a.access),e[s]=a,Object.entries(a).filter((e=>e[1]instanceof Object)).reduce(t,e[s]),e);return Object.entries(this.values).reduce(t,e),e},rgbColor(){if(!this.displayedValues.color)return;const e=this.displayedValues.color?.value;if(e){if(null!=e.x&&null!=e.y){const t=new jt.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return t.xyToRgb(e.x,e.y,this.displayedValues.brightness.value)}if(null!=e.hue&&(null!=e.saturation||null!=e.sat)){const t=null!=e.saturation?"saturation":"sat",s=new jt.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[t]?.value_min||0,this.displayedValues.color[t].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return s.hslToRgb(e.hue,e[t],this.displayedValues.brightness.value)}return null}},associatedGroups(){return new Set(Object.values(this.groups).filter((e=>new Set((e.members||[]).map((e=>e.ieee_address))).has(this.device.ieee_address))).map((e=>parseInt(e.id))))}},methods:{async refresh(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.device_get",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}},async rename(){const e=(this.$refs.name.value||"").trim();if(e.length&&e!==this.device.friendly_name){this.loading=!0;try{await this.request("zigbee.mqtt.device_rename",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,name:e}),this.$emit("rename",{name:this.device.friendly_name,newName:e})}finally{this.editName=!1,this.loading=!1}}},async remove(e){if(confirm("Are you really sure that you want to remove this device from the network?")){e=!!e,this.loading=!0;try{await this.request("zigbee.mqtt.device_remove",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,force:e}),this.$emit("remove",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}}},async setValue(e,t){const s={device:this.device.friendly_name||this.device.ieee_address,property:e.property,value:null};switch(e.type){case"binary":e.value_toggle?s.value=e.value_toggle:e.value_on&&e.value_off?s.value=e.value===e.value_on?e.value_off:e.value_on:s.value=!e.value;break;case"numeric":s.value=parseFloat(t.target.value);break;case"enum":t.target.value?.length&&(s.value=t.target.value);break;default:if(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat)){s.property="color";const a=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter(((e,t)=>t%2)).map((e=>parseInt(e,16)));if(null!=e.x&&null!=e.y){const e=new jt.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),t=e.rgbToXY(...a);s.value={color:{x:t[0],y:t[1]}}}else{const e=null!=this.displayedValues.color.saturation?"saturation":"sat",t=new jt.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[e]?.value_min||0,this.displayedValues.color[e].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),i=t.rgbToHsl(...a);s.value={brightness:i[2],color:{hue:i[0]}},s.value.color[e]=i[1]}}break}if(null!=s.value){this.loading=!0;try{await this.request("zigbee.mqtt.device_set",s),await this.refresh()}finally{this.loading=!1}}},async manageGroups(e){const t=[...e.target.querySelectorAll("input[type=checkbox]")].reduce(((e,t)=>{const s=parseInt(t.value);return t.checked&&!this.associatedGroups.has(s)?e.add.add(s):!t.checked&&this.associatedGroups.has(s)&&e.remove.add(s),e}),{add:new Set,remove:new Set}),s=async e=>{await Promise.all([...t[e]].map((async t=>{await this.request(`zigbee.mqtt.group_${e}_device`,{group:this.groups[t].friendly_name,device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})})))};this.loading=!0;try{await Promise.all(Object.keys(t).map(s)),this.$emit("groups-edit",t)}finally{this.loading=!1}},async checkOtaUpdates(){this.loading=!0;try{this.otaUpdatesAvailable=(await this.request("zigbee.mqtt.device_check_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})).update_available,this.otaUpdatesAvailable?this.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):this.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}})}finally{this.loading=!1}},async installOtaUpdates(){this.loading=!0;try{await this.request("zigbee.mqtt.device_install_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&this.refresh()})),this.$watch((()=>this.status.update_available),(e=>{this.otaUpdatesAvailable=e})),this.subscribe((e=>{e.device!==this.device.friendly_name&&e.device!==this.device.ieee_address||(this.status={...this.status,...e.properties})}),`on-property-change-${this.device.ieee_address}`,"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted(){this.unsubscribe(`on-property-change-${this.device.ieee_address}`)}},At=s(3744);const $t=(0,At.Z)(St,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Ot=$t;const Ft=e=>((0,a.dD)("data-v-7667f7ba"),e=e(),(0,a.Cn)(),e),Bt=["textContent"],Yt={key:1,class:"params"},Lt={class:"section devices"},Ht=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Devices")],-1))),Kt={class:"body"},Pt=["checked","value","onChange"],Xt=["textContent"],Wt={class:"section actions"},Jt=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),Qt={class:"body"},es=Ft((()=>(0,a._)("div",{class:"col-10"},"Rename Group",-1))),ts=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-edit"})],-1))),ss=[es,ts],as=Ft((()=>(0,a._)("div",{class:"col-10"},"Remove Group",-1))),is=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),ns=[as,is];function ls(e,t,s,n,l,o){const r=(0,a.up)("Loading");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item group",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.group.friendly_name),onClick:t[0]||(t[0]=t=>e.$emit("select"))},null,10,Bt),s.selected?((0,a.wg)(),(0,a.iD)("div",Yt,[(0,a._)("div",Lt,[Ht,(0,a._)("div",Kt,[(0,a._)("form",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.devices,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row",key:t},[(0,a._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:t=>o.toggleDevice(e.ieee_address)},null,40,Pt),(0,a._)("span",{class:"label",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:e.ieee_address)},null,8,Xt)])))),128))])])]),(0,a._)("div",Wt,[Jt,(0,a._)("div",Qt,[(0,a._)("div",{class:"row",onClick:t[1]||(t[1]=(...e)=>o.rename&&o.rename(...e))},ss),(0,a._)("div",{class:"row",onClick:t[2]||(t[2]=(...e)=>o.remove&&o.remove(...e))},ns)])])])):(0,a.kq)("",!0)],2)}var os={name:"Group",emits:["select","remove","edit"],mixins:[ie.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,values:{}}},computed:{devicesByAddress(){return Object.entries(this.devices).reduce(((e,t)=>{const s=t[1];return e[s.ieee_address]=s,e}),{})},members(){return new Set((this.group.members||[]).map((e=>e.ieee_address)))}},methods:{async remove(){if(confirm("Are you sure that you want to remove this group?")){this.loading=!0;try{await this.request("zigbee.mqtt.group_remove",{name:this.group.friendly_name}),this.$emit("remove",{name:this.group.friendly_name})}finally{this.loading=!1}}},async rename(){let e=prompt("New group name",this.group.friendly_name);if(e?.length){e=e.trim(),this.loading=!0;try{await this.request("zigbee.mqtt.group_rename",{group:this.group.friendly_name||this.group.id,name:e}),this.$emit("rename",{name:this.group.friendly_name,newName:e})}finally{this.loading=!1}}},async toggleDevice(e){const t=this.devicesByAddress[e],s=t.friendly_name?.length?t.friendly_name:e,a=this.members.has(e)?"remove":"add";this.loading=!0;try{await this.request(`zigbee.mqtt.group_${a}_device`,{group:this.group.friendly_name,device:s}),this.$emit("edit",{device:s,method:a})}finally{this.loading=!1}}}};const rs=(0,At.Z)(os,[["render",ls],["__scopeId","data-v-7667f7ba"]]);var ds=rs,us={name:"ZigbeeMqtt",components:{Modal:Et.Z,Dropdown:te.Z,DropdownItem:se.Z,Loading:ae.Z,Device:Ot,Group:ds},mixins:[ie.Z],data(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{async refreshDevices(){this.loading=!0;try{this.devices=(await this.request("zigbee.mqtt.devices")).reduce(((e,t)=>(t.friendly_name in this.devices&&(t={values:this.devices[t.friendly_name].values||{},...this.devices[t.friendly_name]}),e[t.friendly_name]=t,e)),{})}finally{this.loading=!1}},async refreshGroups(){this.loading=!0;try{this.groups=(await this.request("zigbee.mqtt.groups")).reduce(((e,t)=>(e[t.id]=t,e)),{})}finally{this.loading=!1}},async refreshInfo(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.info")}finally{this.loading=!1}},refresh(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties(e,t){this.devices[e].values=t},async addGroup(){const e=prompt("Group name");if(e&&e.length){this.loading=!0;try{await this.request("zigbee.mqtt.group_add",{name:e})}finally{this.loading=!1}await this.refreshGroups()}},async permitJoin(e){const t={permit:!!e};if(e){let e=prompt("Join allow period in seconds (0 or empty for no time limits)","60");t.seconds=e.length?parseInt(e):null}this.loading=!0;try{await this.request("zigbee.mqtt.permit_join",t),setTimeout(this.refreshInfo,1e3)}finally{this.loading=!1}},async factoryReset(){if(confirm("Are you SURE that you want to do a device factory reset?")||confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){this.loading=!0;try{await this.request("zigbee.mqtt.factory_reset")}finally{this.loading=!1}}},async addToGroup(e,t){this.loading=!0,await this.request("zigbee.mqtt.group_add_device",{device:e,group:t}),this.loading=!1;const s=this;setTimeout((()=>{s.refresh(),s.refreshGroups()}),100)}},created(){this.subscribe((()=>{this.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((()=>{this.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((e=>{this.notify({text:e.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted(){this.refresh()},unmounted(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const cs=(0,At.Z)(us,[["render",ee]]);var vs=cs}}]); +//# sourceMappingURL=4604.78aed65e.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js.map b/platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js.map rename to platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js.map index 94f90890d..6bb389298 100644 --- a/platypush/backend/http/webapp/dist/static/js/4604.28cc0f11.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4604.78aed65e.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4604.28cc0f11.js","mappings":"kJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAKD,OAAS,CACVE,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,GAAI,CAAC,IAAK,MAGVL,EACA,IAAK,MAAMM,KAAQC,OAAOC,KAAKP,KAAKD,QAC5BA,EAAOM,KACPL,KAAKD,OAAOM,GAAQN,EAAOM,GAC1C,CAEDG,UAAUC,EAAGC,EAAQC,GACjB,OAAOA,EAAO,IAAQF,EAAEC,EAAO,KAAOC,EAAO,GAAGA,EAAO,KAAQD,EAAO,GAAGA,EAAO,GACnF,CAEDE,SAASC,EAAGC,EAAGC,IACVF,EAAGC,EAAGC,GAAK,CACRf,KAAKQ,UAAUK,EAAGb,KAAKD,OAAOE,IAAK,CAAC,EAAG,MACvCD,KAAKQ,UAAUM,EAAGd,KAAKD,OAAOG,IAAK,CAAC,EAAG,MACvCF,KAAKQ,UAAUO,EAAGf,KAAKD,OAAOI,IAAK,CAAC,EAAG,OAG3CY,GAAK,IACL,MAAMC,EAAIF,EAAIG,KAAKC,IAAIH,EAAG,EAAIA,GAAK,IAC7BI,EAAIC,I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K0O,YAAY,2BACjB1O,KAAK0O,YAAY,yBAClB,GKzVH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASzI,MAEpE,S","sources":["webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n hexToRgb(hex) {\n return [\n hex.slice(1, 3),\n hex.slice(3, 5),\n hex.slice(5, 7),\n ].map(_ => parseInt(_, 16))\n }\n\n rgbToHex(rgb) {\n return '#' + rgb.map((x) => {\n let hex = x.toString(16)\n if (hex.length < 2)\n hex = '0' + hex\n return hex\n }).join('')\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","hexToRgb","hex","slice","_","rgbToHex","toString","length","join","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","state","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","meta","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","replace","key","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","id","groups","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","has","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","writable","setValue","value_min","value_max","readable","values","option","i","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","data","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","entries","filter","v","reduce","converter","saturation","satAttr","Set","members","member","async","request","trim","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","add","editGroups","Promise","all","action","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","entry","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","undefined","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","self","created","error"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4604.78aed65e.js","mappings":"kJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAK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,KAAKuO,WAAU,KACbvO,KAAKkO,OAAO,CACVjG,KAAM,yBACN+H,OAAO,GAFT,GAIC,gCAAiC,yEAEpChQ,KAAKuO,WAAU,KACbvO,KAAKkO,OAAO,CACVjG,KAAM,0CACN+H,OAAO,GAFT,GAIC,8BACC,2EAEJhQ,KAAKuO,WAAWpJ,IACdnF,KAAKkO,OAAO,CACVjG,KAAM9C,EAAM6K,OAAS,kBACrBA,OAAO,GAFT,GAIC,kBAAmB,4DAEtBhQ,KAAKuO,UAAUvO,KAAKsI,QAAS,0BACzB,4DACA,mEACA,qEACA,kEACA,mEACA,uEACA,mEACA,gEACA,mEAGJtI,KAAKuO,UAAUvO,KAAK6I,cAAe,yBAC/B,gEACA,kEACA,oEAEL,EAED9C,UACE/F,KAAKsI,SACN,EAEDmG,YACEzO,KAAK0O,YAAY,mBACjB1O,KAAK0O,YAAY,+BACjB1O,KAAK0O,YAAY,iCACjB1O,KAAK0O,YAAY,8BACjB1O,KAAK0O,YAAY,kCACjB1O,KAAK0O,YAAY,oBACjB1O,KAAK0O,YAAY,qBACjB1O,KAAK0O,YAAY,2BACjB1O,KAAK0O,YAAY,yBAClB,GKzVH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASzI,MAEpE,S","sources":["webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n hexToRgb(hex) {\n return [\n hex.slice(1, 3),\n hex.slice(3, 5),\n hex.slice(5, 7),\n ].map(_ => parseInt(_, 16))\n }\n\n rgbToHex(rgb) {\n return '#' + rgb.map((x) => {\n let hex = x.toString(16)\n if (hex.length < 2)\n hex = '0' + hex\n return hex\n }).join('')\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","hexToRgb","hex","slice","_","rgbToHex","toString","length","join","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","state","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","meta","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","replace","key","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","id","groups","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","has","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","writable","setValue","value_min","value_max","readable","values","option","i","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","data","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","entries","filter","v","reduce","converter","saturation","satAttr","Set","members","member","async","request","trim","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","add","editGroups","Promise","all","action","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","entry","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","undefined","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4658-legacy.a780f1aa.js b/platypush/backend/http/webapp/dist/static/js/4658-legacy.2b32d64d.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/4658-legacy.a780f1aa.js rename to platypush/backend/http/webapp/dist/static/js/4658-legacy.2b32d64d.js index 40e20021f..a14c3f882 100644 --- a/platypush/backend/http/webapp/dist/static/js/4658-legacy.a780f1aa.js +++ b/platypush/backend/http/webapp/dist/static/js/4658-legacy.2b32d64d.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4658],{647:function(e,n,t){var a=t(1702),r=t(7908),s=Math.floor,o=a("".charAt),i=a("".replace),u=a("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,a,d,v){var m=t+e.length,p=a.length,f=c;return void 0!==d&&(d=r(d),f=l),i(v,f,(function(r,i){var l;switch(o(i,0)){case"$":return"$";case"&":return e;case"`":return u(n,0,t);case"'":return u(n,m);case"<":l=d[u(i,1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var v=s(c/10);return 0===v?r:v<=p?void 0===a[v-1]?o(i,1):a[v-1]+o(i,1):r}l=a[c-1]}return void 0===l?"":l}))}},6091:function(e,n,t){var a=t(6530).PROPER,r=t(7293),s=t(1361),o="​…᠎";e.exports=function(e){return r((function(){return!!s[e]()||o[e]()!==o||a&&s[e].name!==e}))}},5306:function(e,n,t){"use strict";var a=t(2104),r=t(6916),s=t(1702),o=t(7007),i=t(7293),u=t(9670),l=t(614),c=t(9303),d=t(7466),v=t(1340),m=t(4488),p=t(1530),f=t(8173),w=t(647),g=t(7651),_=t(5112),h=_("replace"),k=Math.max,b=Math.min,x=s([].concat),y=s([].push),C=s("".indexOf),R=s("".slice),z=function(e){return void 0===e?e:String(e)},D=function(){return"$0"==="a".replace(/./,"$0")}(),N=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),q=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));o("replace",(function(e,n,t){var s=N?"$":"$0";return[function(e,t){var a=m(this),s=void 0==e?void 0:f(e,h);return s?r(s,e,a,t):r(n,v(a),e,t)},function(e,r){var o=u(this),i=v(e);if("string"==typeof r&&-1===C(r,s)&&-1===C(r,"$<")){var m=t(n,o,i,r);if(m.done)return m.value}var f=l(r);f||(r=v(r));var _=o.global;if(_){var h=o.unicode;o.lastIndex=0}var D=[];while(1){var N=g(o,i);if(null===N)break;if(y(D,N),!_)break;var q=v(N[0]);""===q&&(o.lastIndex=p(i,d(o.lastIndex),h))}for(var S="",I=0,Z=0;Z=I&&(S+=R(i,I,M)+U,I=M+j.length)}return S+R(i,I)}]}),!q||!D||N)},3210:function(e,n,t){"use strict";var a=t(2109),r=t(3111).trim,s=t(6091);a({target:"String",proto:!0,forced:s("trim")},{trim:function(){return r(this)}})},376:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var a=t(6252),r=t(9963),s=t(3577),o={class:"slider-wrapper"},i=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,n,t,v,m,p){return(0,a.wg)(),(0,a.iD)("label",o,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:t.range[0],max:t.range[1],step:t.step,disabled:t.disabled,value:t.value,onInput:n[0]||(n[0]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onChange:n[1]||(n[1]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMouseup:n[2]||(n[2]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMousedown:n[3]||(n[3]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchstart:n[4]||(n[4]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchend:n[5]||(n[5]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeyup:n[6]||(n[6]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeydown:n[7]||(n[7]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"]))},null,40,i),(0,a._)("div",u,[(0,a._)("div",l,null,512)]),(0,a._)("div",c,null,512),t.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,s.zw)(t.value)},null,8,d)):(0,a.kq)("",!0)])}var m=t(4648),p=(t(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,m.Z)((0,m.Z)({},e),{},{target:(0,m.Z)((0,m.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var n=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(n,"%"),this.$refs.thumb.style.transform="translate(-".concat(n,"%, -50%)"),this.$refs.track.style.width="".concat(n,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),f=t(3744);const w=(0,f.Z)(p,[["render",v],["__scopeId","data-v-95edc28a"]]);var g=w},6:function(e,n,t){"use strict";t.d(n,{Z:function(){return p}});var a=t(6252),r=t(3577),s=t(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},i=["checked"],u=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,n,t,o,c,d){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,i),(0,a._)("label",null,[u,(0,a._)("span",l,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const m=(0,v.Z)(d,[["render",c],["__scopeId","data-v-a6396ae8"]]);var p=m},4658:function(e,n,t){"use strict";t.d(n,{Z:function(){return Mr}});t(7327),t(1539),t(2479),t(8309),t(4916),t(5306),t(7042),t(7941),t(1249),t(3948);var a=t(6252),r=t(3577),s={class:"zwave-container"},o={class:"network-info"},i={key:1,class:"params"},u={class:"row"},l=(0,a._)("div",{class:"param-name"},"State",-1),c=["textContent"],d={class:"row"},v=(0,a._)("div",{class:"param-name"},"Device",-1),m=["textContent"],p={class:"section"},f=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Statistics")],-1),w={class:"body"},g=["textContent"],_=["textContent"],h={class:"group-add"},k={class:"params"},b={class:"section"},x=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Select nodes to add")],-1),y={key:0,class:"body"},C=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},S=(0,a._)("i",{class:"fa fa-plus"},null,-1),I=[S],Z=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),j=[Z],M={class:"view-container"},V={key:0,class:"view nodes"},O={key:1,class:"no-items"},A=(0,a._)("div",{class:"empty"},"No nodes available on the network",-1),$=[A],U={key:1,class:"view groups"},T={key:1,class:"no-items"},E=(0,a._)("div",{class:"empty"},"No groups available on the network",-1),W=[E],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,a._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,a._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,a._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},te=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1),ae={class:"body"},re={class:"param-name"},se={class:"param-value"},oe=["textContent"],ie={class:"buttons"},ue=["onClick"],le=(0,a._)("i",{class:"fa fa-trash"},null,-1),ce=[le],de={class:"section actions"},ve=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1),me={class:"body"},pe=["onClick"],fe=(0,a._)("div",{class:"param-name"},"Remove Scene",-1),we=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1),ge=[fe,we],_e=["onClick"],he=(0,a._)("div",{class:"param-name"},"Rename Scene",-1),ke=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-edit"})],-1),be=[he,ke],xe={key:3,class:"view values"},ye={key:1,class:"no-items"},Ce=(0,a._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[Ce],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,t,S,Z,A){var E=(0,a.up)("Loading"),G=(0,a.up)("Modal"),le=(0,a.up)("DropdownItem"),fe=(0,a.up)("Dropdown"),we=(0,a.up)("Node"),he=(0,a.up)("Group"),ke=(0,a.up)("ToggleSwitch"),Ce=(0,a.up)("Value");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[Z.loading.status?((0,a.wg)(),(0,a.j4)(E,{key:0})):((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",u,[l,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.state)},null,8,c)]),(0,a._)("div",d,[v,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.device)},null,8,m)]),(0,a._)("div",p,[f,(0,a._)("div",w,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.status.stats,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(n)},null,8,g),(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e)},null,8,_)])})),128))])])]))])]})),_:1},512),(0,a.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",h,[(0,a._)("div",k,[(0,a._)("div",b,[x,null!=Z.selected.groupId?((0,a.wg)(),(0,a.iD)("div",y,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(Z.nodes||{}).filter((function(e){return Z.groups[Z.selected.groupId].associations.indexOf(e.node_id)<0})),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row clickable",onClick:function(n){return A.addToGroup(e.node_id,Z.selected.groupId)},key:e.node_id},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(e.name)},null,8,R)],8,C)})),128))])):(0,a.kq)("",!0)])])])]})),_:1},512),(0,a._)("div",z,[(0,a._)("div",D,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[0]||(n[0]=function(e){return Z.selected.view=e.target.value})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.views,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{key:e,textContent:(0,r.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===Z.selected.view,value:n},null,8,N)})),128))],32)])]),(0,a._)("div",q,["scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=function(){return A.addScene&&A.addScene.apply(A,arguments)})},I)):(0,a.kq)("",!0),(0,a.Wm)(fe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(le,{text:"Network Info",disabled:Z.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Start Network",disabled:Z.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Stop Network",disabled:Z.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:0,text:"Add Node",disabled:Z.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:1,text:"Remove Node",disabled:Z.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(le,{text:"Switch All On",disabled:Z.commandRunning,onClick:n[2]||(n[2]=function(e){return A.switchAll(!0)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Switch All Off",disabled:Z.commandRunning,onClick:n[3]||(n[3]=function(e){return A.switchAll(!1)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Cancel Command",disabled:Z.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Kill Command",disabled:Z.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Receive Configuration",disabled:Z.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Create New Primary",disabled:Z.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Transfer Primary Role",disabled:Z.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Heal Network",disabled:Z.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Soft Reset",disabled:Z.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Hard Reset",disabled:Z.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])]})),_:1}),(0,a._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=function(){return A.refresh&&A.refresh.apply(A,arguments)})},j)])]),(0,a._)("div",M,["nodes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",V,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",O,$)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.j4)(we,{key:t,node:n,selected:Z.selected.nodeId===t,"plugin-name":e.pluginName,onSelect:function(e){return A.onNodeClick(t)}},null,8,["node","selected","plugin-name","onSelect"])})),128))])):"groups"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",U,[Z.loading.groups?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.groups||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",T,W)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.groups,(function(t,r){return(0,a.wg)(),(0,a.j4)(he,{key:r,group:t,selected:Z.selected.groupId===r,nodes:r in Z.groups?Z.groups[r].associations.map((function(e){return Z.nodes[e]})).reduce((function(e,n){return e[n.node_id]=n,e}),{}):{},owner:null!=t.node_id?Z.nodes[t.node_id]:null,"plugin-name":e.pluginName,onSelect:function(e){return Z.selected.groupId=r===Z.selected.groupId?void 0:r},onOpenAddNodesToGroup:n[5]||(n[5]=function(n){return e.$refs.addNodesToGroupModal.show()})},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])})),128))])):"scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",F,[Z.loading.scenes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.scenes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,K)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.scenes,(function(e,n){var t;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item scene",{selected:Z.selected.sceneId===n}]),key:n},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.sceneId===n}]),textContent:(0,r.zw)(e.label),onClick:function(e){return Z.selected.sceneId=n===Z.selected.sceneId?void 0:n}},null,10,L),Z.selected.sceneId===n?((0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",Y,[P,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(n)},null,8,J)]),(0,a._)("div",Q,[X,(0,a._)("div",ee,[(0,a.Wm)(ke,{value:!1,onInput:function(e){return A.activateScene(n)}},null,8,["onInput"])])]),null!==(t=Object.values(null===e||void 0===e?void 0:e.values))&&void 0!==t&&t.length?((0,a.wg)(),(0,a.iD)("div",ne,[te,(0,a._)("div",ae,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(e.values),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:e.id_on_network},[(0,a._)("div",re,(0,r.zw)(Z.nodes[e.node_id].name)+" ⇨ "+(0,r.zw)(A.valuesMap[e.id_on_network].label),1),(0,a._)("div",se,[(0,a._)("span",{textContent:(0,r.zw)(e.data)},null,8,oe),(0,a._)("span",ie,[(0,a._)("button",{class:"btn btn-default",title:"Remove value",onClick:function(t){return A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})}},ce,8,ue)])])])})),128))])])):(0,a.kq)("",!0),(0,a._)("div",de,[ve,(0,a._)("div",me,[(0,a._)("div",{class:"row",onClick:function(e){return A.removeScene(n)}},ge,8,pe),(0,a._)("div",{class:"row",onClick:function(e){return A.renameScene(n)}},be,8,_e)])])])):(0,a.kq)("",!0)],2)})),128))])):((0,a.wg)(),(0,a.iD)("div",xe,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",ye,Re)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.iD)("div",{class:"node-container",key:t},["values"===Z.selected.view||Object.values(n.values).filter((function(e){return e.id_on_network in Z.values[Z.selected.view]})).length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["item node",{selected:Z.selected.nodeId===t}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.nodeId===t}]),textContent:(0,r.zw)(n.name),onClick:function(e){return A.onNodeClick(t)}},null,10,ze),Z.selected.nodeId===t?((0,a.wg)(),(0,a.iD)("div",De,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.values,(function(t,r){return(0,a.wg)(),(0,a.iD)("div",{class:"value-container",key:r},[t.id_on_network&&("values"===Z.selected.view||t.id_on_network in Z.values[Z.selected.view])?((0,a.wg)(),(0,a.iD)("div",Ne,[(0,a.Wm)(Ce,{value:t,node:n,scenes:Z.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,a.kq)("",!0)])})),128))])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)])})),128))]))])])}var Se=t(8534),Ie=(t(5666),t(3210),function(e){return(0,a.dD)("data-v-56458f8e"),e=e(),(0,a.Cn)(),e}),Ze=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Owner")],-1)})),Oe={class:"body"},Ae=["textContent"],$e={class:"section nodes"},Ue={class:"header"},Te=Ie((function(){return(0,a._)("div",{class:"title col-10"},"Nodes",-1)})),Ee={class:"buttons col-2"},We=Ie((function(){return(0,a._)("i",{class:"fa fa-plus"},null,-1)})),Fe=[We],He={class:"body"},Ge=["textContent"],Ke={class:"buttons col-2"},Le=["disabled","onClick"],Be=Ie((function(){return(0,a._)("i",{class:"fa fa-trash"},null,-1)})),Ye=[Be],Pe={class:"section config"},Je=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Parameters")],-1)})),Qe={class:"body"},Xe={class:"row"},en=Ie((function(){return(0,a._)("div",{class:"param-name"},"Index",-1)})),nn=["textContent"],tn={class:"row"},an=Ie((function(){return(0,a._)("div",{class:"param-name"},"Max associations",-1)})),rn=["textContent"];function sn(e,n,t,s,o,i){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item group",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.group.label),onClick:n[0]||(n[0]=function(n){return e.$emit("select",t.group.index)})},null,10,Ze),t.selected?((0,a.wg)(),(0,a.iD)("div",je,[t.owner&&Object.keys(t.owner).length?((0,a.wg)(),(0,a.iD)("div",Me,[Ve,(0,a._)("div",Oe,[(0,a._)("div",{class:"row",textContent:(0,r.zw)(t.owner.name)},null,8,Ae)])])):(0,a.kq)("",!0),(0,a._)("div",$e,[(0,a._)("div",Ue,[Te,(0,a._)("div",Ee,[!t.group.max_associations||Object.keys(t.nodes||{}).length"))},null,8,Ge),(0,a._)("div",Ke,[(0,a._)("button",{class:"btn btn-default",title:"Remove from group",disabled:o.commandRunning,onClick:function(n){return i.removeFromGroup(e.node_id)}},Ye,8,Le)])])})),128))])]),(0,a._)("div",Pe,[Je,(0,a._)("div",Qe,[(0,a._)("div",Xe,[en,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.index)},null,8,nn)]),(0,a._)("div",tn,[an,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.max_associations)},null,8,rn)])])])])):(0,a.kq)("",!0)],2)}t(2222);var on=t(6813),un={mixins:[on.Z],props:{pluginName:{type:String,required:!0}},methods:{zrequest:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.request("".concat(t.pluginName,".").concat(e),n);case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}),a)})))()}}},ln={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[un],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1}},methods:{removeFromGroup:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this node from "+n.group.label+"?")){t.next=2;break}return t.abrupt("return");case 2:return n.commandRunning=!0,a={node_id:e},null!=n.group.group_id?a.group_id=n.group.group_id:a.group_index=n.group.index,t.prev=5,t.next=8,n.zrequest("remove_node_from_group",a);case 8:return t.prev=8,n.commandRunning=!1,t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[5,,8,11]])})))()}}},cn=t(3744);const dn=(0,cn.Z)(ln,[["render",sn],["__scopeId","data-v-56458f8e"]]);var vn=dn,mn=(t(9600),t(9714),t(9963)),pn=function(e){return(0,a.dD)("data-v-3da196a6"),e=e(),(0,a.Cn)(),e},fn=["textContent"],wn={key:0,class:"params"},gn={class:"row"},_n=pn((function(){return(0,a._)("div",{class:"param-name"},"Name",-1)})),hn={class:"param-value"},kn=["value","disabled"],bn={class:"buttons"},xn=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),yn=[xn],Cn=["disabled"],Rn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),zn=[Rn],Dn=["textContent"],Nn={class:"buttons"},qn=["disabled"],Sn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),In=[Sn],Zn={class:"row"},jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Location",-1)})),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},An=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),$n=[An],Un=["disabled"],Tn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),En=[Tn],Wn=["textContent"],Fn={class:"buttons"},Hn=["disabled"],Gn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Kn=[Gn],Ln={class:"row"},Bn=pn((function(){return(0,a._)("div",{class:"param-name"},"Type",-1)})),Yn=["textContent"],Pn={class:"row"},Jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Role",-1)})),Qn=["textContent"],Xn={class:"row"},et=pn((function(){return(0,a._)("div",{class:"param-name"},"Node ID",-1)})),nt=["textContent"],tt={key:0,class:"row"},at=pn((function(){return(0,a._)("div",{class:"param-name"},"Neighbours",-1)})),rt={class:"param-value"},st=["textContent"],ot={class:"row"},it=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Ready",-1)})),ut=["textContent"],lt={class:"row"},ct=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Failed",-1)})),dt=["textContent"],vt={class:"row"},mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product ID",-1)})),pt=["textContent"],ft={class:"row"},wt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Type",-1)})),gt=["textContent"],_t={key:1,class:"row"},ht=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Name",-1)})),kt=["textContent"],bt={class:"row"},xt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer ID",-1)})),yt=["textContent"],Ct={key:2,class:"row"},Rt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer Name",-1)})),zt=["textContent"],Dt={class:"row"},Nt=pn((function(){return(0,a._)("div",{class:"param-name"},"Capabilities",-1)})),qt=["textContent"],St={class:"row"},It=pn((function(){return(0,a._)("div",{class:"param-name"},"Command Classes",-1)})),Zt=["textContent"],jt={class:"row"},Mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Groups",-1)})),Vt=["textContent"],Ot={key:3,class:"row"},At=pn((function(){return(0,a._)("div",{class:"param-name"},"Home ID",-1)})),$t=["textContent"],Ut={class:"row"},Tt=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Awake",-1)})),Et=["textContent"],Wt={key:4,class:"row"},Ft=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Locked",-1)})),Ht=["textContent"],Gt={key:5,class:"row"},Kt=pn((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),Lt=["textContent"],Bt={key:6,class:"row"},Yt=pn((function(){return(0,a._)("div",{class:"param-name"},"Baud Rate",-1)})),Pt=["textContent"],Jt={key:7,class:"row"},Qt=pn((function(){return(0,a._)("div",{class:"param-name"},"Max Baud Rate",-1)})),Xt=["textContent"],ea={class:"section actions"},na=pn((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1)})),ta={class:"body"},aa=pn((function(){return(0,a._)("div",{class:"param-name"},"Remove Failed Node",-1)})),ra=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),sa=[aa,ra],oa=pn((function(){return(0,a._)("div",{class:"param-name"},"Replace Failed Node",-1)})),ia=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1)})),ua=[oa,ia],la=pn((function(){return(0,a._)("div",{class:"param-name"},"Heal Node",-1)})),ca=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wrench"})],-1)})),da=[la,ca],va=pn((function(){return(0,a._)("div",{class:"param-name"},"Replicate info to secondary controller",-1)})),ma=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-clone"})],-1)})),pa=[va,ma],fa=pn((function(){return(0,a._)("div",{class:"param-name"},"Request network update",-1)})),wa=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wifi"})],-1)})),ga=[fa,wa],_a=pn((function(){return(0,a._)("div",{class:"param-name"},"Request neighbours update",-1)})),ha=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-network-wired"})],-1)})),ka=[_a,ha];function ba(e,n,t,s,o,i){var u,l,c,d;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item node",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.node.name&&t.node.name.length?t.node.name:"")),onClick:n[0]||(n[0]=function(n){return e.$emit("select")})},null,10,fn),t.selected?((0,a.wg)(),(0,a.iD)("div",wn,[(0,a._)("div",gn,[_n,(0,a._)("div",hn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.name}])},[(0,a._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)((function(){return i.editName&&i.editName.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",value:t.node.name,disabled:o.commandRunning},null,8,kn)]),(0,a._)("span",bn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=function(e){return o.editMode.name=!1})},yn),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},zn,8,Cn)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.name})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(u=t.node.name)&&void 0!==u&&u.length?t.node.name:""))},null,8,Dn),(0,a._)("span",Nn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=function(e){return i.onEditMode("name")}),disabled:o.commandRunning},In,8,qn)])],2)])]),(0,a._)("div",Zn,[jn,(0,a._)("div",Mn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.location}])},[(0,a._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)((function(){return i.editLocation&&i.editLocation.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"location",value:t.node.location,disabled:o.commandRunning},null,8,Vn)]),(0,a._)("span",On,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=function(e){return o.editMode.location=!1})},$n),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},En,8,Un)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.location})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(l=t.node.location)&&void 0!==l&&l.length?t.node.location:"")},null,8,Wn),(0,a._)("span",Fn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=function(e){return i.onEditMode("location")}),disabled:o.commandRunning},Kn,8,Hn)])],2)])]),(0,a._)("div",Ln,[Bn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.type)},null,8,Yn)]),(0,a._)("div",Pn,[Jn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.role)},null,8,Qn)]),(0,a._)("div",Xn,[et,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.node_id)},null,8,nt)]),t.node.neighbours.length?((0,a.wg)(),(0,a.iD)("div",tt,[at,(0,a._)("div",rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.node.neighbours,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row pull-right",key:n,textContent:(0,r.zw)(e)},null,8,st)})),128))])])):(0,a.kq)("",!0),(0,a._)("div",ot,[it,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_ready)},null,8,ut)]),(0,a._)("div",lt,[ct,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_failed)},null,8,dt)]),(0,a._)("div",vt,[mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,pt)]),(0,a._)("div",ft,[wt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_type)},null,8,gt)]),null!==(c=t.node.product_name)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",_t,[ht,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_name)},null,8,kt)])):(0,a.kq)("",!0),(0,a._)("div",bt,[xt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,yt)]),null!==(d=t.node.manufacturer_name)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",Ct,[Rt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_name)},null,8,zt)])):(0,a.kq)("",!0),(0,a._)("div",Dt,[Nt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.capabilities.join(", "))},null,8,qt)]),(0,a._)("div",St,[It,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.command_classes.join(", "))},null,8,Zt)]),(0,a._)("div",jt,[Mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Object.values(t.node.groups).map((function(e){return e.label||""})).join(", "))},null,8,Vt)]),t.node.home_id?((0,a.wg)(),(0,a.iD)("div",Ot,[At,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.home_id.toString(16))},null,8,$t)])):(0,a.kq)("",!0),(0,a._)("div",Ut,[Tt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_awake)},null,8,Et)]),null!=t.node.is_locked?((0,a.wg)(),(0,a.iD)("div",Wt,[Ft,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_locked)},null,8,Ht)])):(0,a.kq)("",!0),t.node.last_update?((0,a.wg)(),(0,a.iD)("div",Gt,[Kt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.node.last_update))},null,8,Lt)])):(0,a.kq)("",!0),t.node.baud_rate?((0,a.wg)(),(0,a.iD)("div",Bt,[Yt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.baud_rate)},null,8,Pt)])):(0,a.kq)("",!0),t.node.max_baud_rate?((0,a.wg)(),(0,a.iD)("div",Jt,[Qt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.max_baud_rate)},null,8,Xt)])):(0,a.kq)("",!0),(0,a._)("div",ea,[na,(0,a._)("div",ta,[t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=function(){return i.removeFailedNode&&i.removeFailedNode.apply(i,arguments)})},sa)):(0,a.kq)("",!0),t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=function(){return i.replaceFailedNode&&i.replaceFailedNode.apply(i,arguments)})},ua)):(0,a.kq)("",!0),(0,a._)("div",{class:"row",onClick:n[9]||(n[9]=function(){return i.heal&&i.heal.apply(i,arguments)})},da),(0,a._)("div",{class:"row",onClick:n[10]||(n[10]=function(){return i.replicationSend&&i.replicationSend.apply(i,arguments)})},pa),(0,a._)("div",{class:"row",onClick:n[11]||(n[11]=function(){return i.requestNetworkUpdate&&i.requestNetworkUpdate.apply(i,arguments)})},ga),(0,a._)("div",{class:"row",onClick:n[12]||(n[12]=function(){return i.requestNeighbourUpdate&&i.requestNeighbourUpdate.apply(i,arguments)})},ka)])])])):(0,a.kq)("",!0)],2)}var xa={name:"Node",emits:["select"],mixins:[un],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{removeFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to remove this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("remove_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replaceFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to replace this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("replace_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replicationSend:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("replication_send",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNetworkUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_network_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNeighbourUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_node_neighbour_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},onEditMode:function(e){this.editMode[e]=!0;var n=this.$refs[e+"Form"],t=n.querySelector("input[type=text]");setTimeout((function(){t.focus(),t.select()}),10)},editName:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=name]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_name",{node_id:n.node.node_id,new_name:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.name=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},editLocation:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=location]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_location",{node_id:n.node.node_id,location:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.location=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},heal:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return console.log("A command is already running"),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("node_heal",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()}}};const ya=(0,cn.Z)(xa,[["render",ba],["__scopeId","data-v-3da196a6"]]);var Ca=ya,Ra=t(9642),za=t(5771),Da=t(9015),Na=t(1232),qa=t(6);t(2526),t(1817),t(2165),t(8783);function Sa(e){return Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sa(e)}var Ia=function(e){return(0,a.dD)("data-v-0021cd76"),e=e(),(0,a.Cn)(),e},Za={class:"section value"},ja={class:"header"},Ma={class:"title"},Va=["disabled","data-id-on-network"],Oa=Ia((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Aa=[Oa],$a={class:"body"},Ua={class:"row"},Ta=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value",-1)})),Ea={class:"param-value"},Wa={key:0,class:"value-view"},Fa=["textContent"],Ha=["textContent"],Ga={key:1,class:"value-edit"},Ka={key:0,class:"list"},La=["textContent","selected","value"],Ba={key:1,class:"numeric slider-container"},Ya={class:"col-10"},Pa={class:"row"},Ja=["textContent"],Qa=["textContent"],Xa={class:"row"},er={class:"col-2"},nr=["value"],tr={key:2,class:"boolean"},ar={key:3,class:"value-data"},rr=["value"],sr=["textContent"],or=Ia((function(){return(0,a._)("div",{class:"param-name"},"Remove From Scene",-1)})),ir=Ia((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),ur=[or,ir],lr={key:1,class:"row",style:{cursor:"pointer"}},cr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Add To Scene",-1)})),dr={class:"param-value"},vr={key:2,class:"row"},mr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Help",-1)})),pr=["textContent"],fr={class:"row"},wr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value ID",-1)})),gr=["textContent"],_r={key:3,class:"row"},hr=Ia((function(){return(0,a._)("div",{class:"param-name"},"ID on Network",-1)})),kr=["textContent"],br={class:"row"},xr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Command Class",-1)})),yr=["textContent"],Cr={key:4,class:"row"},Rr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),zr=["textContent"];function Dr(e,n,t,s,o,i){var u,l,c,d,v,m=(0,a.up)("Slider"),p=(0,a.up)("ToggleSwitch"),f=(0,a.up)("DropdownItem"),w=(0,a.up)("Dropdown");return(0,a.wg)(),(0,a.iD)("div",Za,[(0,a._)("div",ja,[(0,a._)("div",Ma,[(0,a._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:o.commandRunning,"data-id-on-network":t.value.id_on_network,onClick:n[0]||(n[0]=function(){return i.editName&&i.editName.apply(i,arguments)})},Aa,8,Va),(0,a.Uk)(" "+(0,r.zw)(t.value.label),1)])]),(0,a._)("div",$a,[(0,a._)("div",Ua,[Ta,(0,a._)("div",Ea,[t.value.is_read_only?((0,a.wg)(),(0,a.iD)("div",Wa,[(0,a._)("div",{class:"value-data",textContent:(0,r.zw)(t.value.data)},null,8,Fa),null!==(u=t.value.units)&&void 0!==u&&u.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"unit",textContent:(0,r.zw)(t.value.units)},null,8,Ha)):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",Ga,[(0,a._)("div",{class:(0,r.C_)(["col-"+(null!==(l=t.value.units)&&void 0!==l&&l.length?"11":"12")])},["List"===t.value.type?((0,a.wg)(),(0,a.iD)("div",Ka,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[1]||(n[1]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.value.data_items,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{textContent:(0,r.zw)("object"===Sa(e)?e.text:e),key:n,selected:"object"===Sa(e)?t.value.data===e.value:t.value.data===e,value:"object"===Sa(e)?e.value:n},null,8,La)})),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",Ba,[(0,a._)("div",Ya,[(0,a._)("div",Pa,[(0,a._)("span",{class:"value-min",textContent:(0,r.zw)(t.value.min)},null,8,Ja),(0,a._)("span",{class:"value-max",textContent:(0,r.zw)(t.value.max)},null,8,Qa)]),(0,a._)("div",Xa,[(0,a._)("label",null,[(0,a.Wm)(m,{range:[t.value.min,t.value.max],value:t.value.data,onChange:i.onValueChange},null,8,["range","value","onChange"])])])]),(0,a._)("div",er,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[2]||(n[2]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,nr)])])])):["Bool","Button"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",tr,[(0,a.Wm)(p,{value:t.value.data,onInput:n[3]||(n[3]=function(e){return i.onValueChange(e,!t.value.data)})},null,8,["value"])])):((0,a.wg)(),(0,a.iD)("div",ar,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[4]||(n[4]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,rr)])]))],2),null!==(c=t.value.units)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"col-1 unit",textContent:(0,r.zw)(t.value.units)},null,8,sr)):(0,a.kq)("",!0)]))])]),null!=t.sceneId?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=function(n){return e.$emit("remove-from-scene",{valueId:t.value.id_on_network,sceneId:t.sceneId})})},ur)):(0,a.kq)("",!0),null!==(d=i.addValueToSceneItems)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",lr,[cr,(0,a._)("div",dr,[(0,a.Wm)(w,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(i.addValueToSceneItems,(function(n,r){return(0,a.wg)(),(0,a.j4)(f,{key:r,text:n.label,disabled:o.commandRunning,onClick:function(a){return e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:t.value.id_on_network})}},null,8,["text","disabled","onClick"])})),128))]})),_:1})])])):(0,a.kq)("",!0),null!==(v=t.value.help)&&void 0!==v&&v.length?((0,a.wg)(),(0,a.iD)("div",vr,[mr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.help)},null,8,pr)])):(0,a.kq)("",!0),(0,a._)("div",fr,[wr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.value_id)},null,8,gr)]),t.value.value_id!==t.value.id_on_network?((0,a.wg)(),(0,a.iD)("div",_r,[hr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.id_on_network)},null,8,kr)])):(0,a.kq)("",!0),(0,a._)("div",br,[xr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.command_class_name||t.value.command_class)},null,8,yr)]),t.value.last_update?((0,a.wg)(),(0,a.iD)("div",Cr,[Rr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.value.last_update))},null,8,zr)])):(0,a.kq)("",!0)])])}t(9653);var Nr=t(376),qr={name:"Value",components:{Slider:Nr.Z,Dropdown:za.Z,DropdownItem:Da.Z,ToggleSwitch:qa.Z},mixins:[un],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:function(){return{}}}},data:function(){return{commandRunning:!1}},computed:{addValueToSceneItems:function(){var e=this;return Object.values(this.scenes||{}).filter((function(n){return!(e.value.id_on_network in n.values)}))}},methods:{editName:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){var t,a,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.node.values[e.value.id_on_network],s=prompt("New name",r.label),null!==(t=s)&&void 0!==t&&t.length&&(s=s.trim()),null!==(a=s)&&void 0!==a&&a.length&&s!==r.label){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("set_value_label",{id_on_network:r.id_on_network,new_label:s});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:e.$emit("refresh"),e.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}});case 14:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},onValueChange:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=e.target?e.target:e.event.target.parentElement,s=t.node.values[t.value.id_on_network],void 0===n&&(n=null!=r.value?r.value:e.value),a.t0=s.type,a.next="List"===a.t0?6:"Int"===a.t0||"Short"===a.t0||"Long"===a.t0||"Byte"===a.t0?8:"Decimal"===a.t0?10:12;break;case 6:return n=s.data_items[e.target.value],a.abrupt("break",12);case 8:return n=parseInt(n),a.abrupt("break",12);case 10:return n=parseFloat(n),a.abrupt("break",12);case 12:return"object"===Sa(n)&&(n=n.value),t.commandRunning=!0,a.prev=14,a.next=17,t.zrequest("set_value",{id_on_network:s.id_on_network,data:n});case 17:return a.prev=17,t.commandRunning=!1,a.finish(17);case 20:t.$emit("refresh"),t.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}});case 22:case"end":return a.stop()}}),a,null,[[14,,17,20]])})))()}}};const Sr=(0,cn.Z)(qr,[["render",Dr],["__scopeId","data-v-0021cd76"]]);var Ir=Sr,Zr={name:"Zwave",components:{Value:Ir,ToggleSwitch:qa.Z,Loading:Na.Z,DropdownItem:Da.Z,Dropdown:za.Z,Modal:Ra.Z,Group:vn,Node:Ca},mixins:[un],data:function(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap:function(){for(var e={},n=0,t=Object.values(this.nodes);n]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,a,d,v){var m=t+e.length,p=a.length,f=c;return void 0!==d&&(d=r(d),f=l),i(v,f,(function(r,i){var l;switch(o(i,0)){case"$":return"$";case"&":return e;case"`":return u(n,0,t);case"'":return u(n,m);case"<":l=d[u(i,1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var v=s(c/10);return 0===v?r:v<=p?void 0===a[v-1]?o(i,1):a[v-1]+o(i,1):r}l=a[c-1]}return void 0===l?"":l}))}},6091:function(e,n,t){var a=t(6530).PROPER,r=t(7293),s=t(1361),o="​…᠎";e.exports=function(e){return r((function(){return!!s[e]()||o[e]()!==o||a&&s[e].name!==e}))}},5306:function(e,n,t){"use strict";var a=t(2104),r=t(6916),s=t(1702),o=t(7007),i=t(7293),u=t(9670),l=t(614),c=t(9303),d=t(7466),v=t(1340),m=t(4488),p=t(1530),f=t(8173),w=t(647),g=t(7651),_=t(5112),h=_("replace"),k=Math.max,b=Math.min,x=s([].concat),y=s([].push),C=s("".indexOf),R=s("".slice),z=function(e){return void 0===e?e:String(e)},D=function(){return"$0"==="a".replace(/./,"$0")}(),N=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),q=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));o("replace",(function(e,n,t){var s=N?"$":"$0";return[function(e,t){var a=m(this),s=void 0==e?void 0:f(e,h);return s?r(s,e,a,t):r(n,v(a),e,t)},function(e,r){var o=u(this),i=v(e);if("string"==typeof r&&-1===C(r,s)&&-1===C(r,"$<")){var m=t(n,o,i,r);if(m.done)return m.value}var f=l(r);f||(r=v(r));var _=o.global;if(_){var h=o.unicode;o.lastIndex=0}var D=[];while(1){var N=g(o,i);if(null===N)break;if(y(D,N),!_)break;var q=v(N[0]);""===q&&(o.lastIndex=p(i,d(o.lastIndex),h))}for(var S="",I=0,Z=0;Z=I&&(S+=R(i,I,M)+U,I=M+j.length)}return S+R(i,I)}]}),!q||!D||N)},3210:function(e,n,t){"use strict";var a=t(2109),r=t(3111).trim,s=t(6091);a({target:"String",proto:!0,forced:s("trim")},{trim:function(){return r(this)}})},376:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var a=t(6252),r=t(9963),s=t(3577),o={class:"slider-wrapper"},i=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,n,t,v,m,p){return(0,a.wg)(),(0,a.iD)("label",o,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:t.range[0],max:t.range[1],step:t.step,disabled:t.disabled,value:t.value,onInput:n[0]||(n[0]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onChange:n[1]||(n[1]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMouseup:n[2]||(n[2]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMousedown:n[3]||(n[3]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchstart:n[4]||(n[4]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchend:n[5]||(n[5]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeyup:n[6]||(n[6]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeydown:n[7]||(n[7]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"]))},null,40,i),(0,a._)("div",u,[(0,a._)("div",l,null,512)]),(0,a._)("div",c,null,512),t.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,s.zw)(t.value)},null,8,d)):(0,a.kq)("",!0)])}var m=t(4648),p=(t(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,m.Z)((0,m.Z)({},e),{},{target:(0,m.Z)((0,m.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var n=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(n,"%"),this.$refs.thumb.style.transform="translate(-".concat(n,"%, -50%)"),this.$refs.track.style.width="".concat(n,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),f=t(3744);const w=(0,f.Z)(p,[["render",v],["__scopeId","data-v-95edc28a"]]);var g=w},6:function(e,n,t){"use strict";t.d(n,{Z:function(){return p}});var a=t(6252),r=t(3577),s=t(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},i=["checked"],u=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,n,t,o,c,d){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,i),(0,a._)("label",null,[u,(0,a._)("span",l,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const m=(0,v.Z)(d,[["render",c],["__scopeId","data-v-a6396ae8"]]);var p=m},4658:function(e,n,t){"use strict";t.d(n,{Z:function(){return Mr}});t(7327),t(1539),t(2479),t(8309),t(4916),t(5306),t(7042),t(7941),t(1249),t(3948);var a=t(6252),r=t(3577),s={class:"zwave-container"},o={class:"network-info"},i={key:1,class:"params"},u={class:"row"},l=(0,a._)("div",{class:"param-name"},"State",-1),c=["textContent"],d={class:"row"},v=(0,a._)("div",{class:"param-name"},"Device",-1),m=["textContent"],p={class:"section"},f=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Statistics")],-1),w={class:"body"},g=["textContent"],_=["textContent"],h={class:"group-add"},k={class:"params"},b={class:"section"},x=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Select nodes to add")],-1),y={key:0,class:"body"},C=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},S=(0,a._)("i",{class:"fa fa-plus"},null,-1),I=[S],Z=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),j=[Z],M={class:"view-container"},V={key:0,class:"view nodes"},O={key:1,class:"no-items"},A=(0,a._)("div",{class:"empty"},"No nodes available on the network",-1),$=[A],U={key:1,class:"view groups"},T={key:1,class:"no-items"},E=(0,a._)("div",{class:"empty"},"No groups available on the network",-1),W=[E],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,a._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,a._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,a._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},te=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1),ae={class:"body"},re={class:"param-name"},se={class:"param-value"},oe=["textContent"],ie={class:"buttons"},ue=["onClick"],le=(0,a._)("i",{class:"fa fa-trash"},null,-1),ce=[le],de={class:"section actions"},ve=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1),me={class:"body"},pe=["onClick"],fe=(0,a._)("div",{class:"param-name"},"Remove Scene",-1),we=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1),ge=[fe,we],_e=["onClick"],he=(0,a._)("div",{class:"param-name"},"Rename Scene",-1),ke=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-edit"})],-1),be=[he,ke],xe={key:3,class:"view values"},ye={key:1,class:"no-items"},Ce=(0,a._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[Ce],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,t,S,Z,A){var E=(0,a.up)("Loading"),G=(0,a.up)("Modal"),le=(0,a.up)("DropdownItem"),fe=(0,a.up)("Dropdown"),we=(0,a.up)("Node"),he=(0,a.up)("Group"),ke=(0,a.up)("ToggleSwitch"),Ce=(0,a.up)("Value");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[Z.loading.status?((0,a.wg)(),(0,a.j4)(E,{key:0})):((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",u,[l,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.state)},null,8,c)]),(0,a._)("div",d,[v,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.device)},null,8,m)]),(0,a._)("div",p,[f,(0,a._)("div",w,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.status.stats,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(n)},null,8,g),(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e)},null,8,_)])})),128))])])]))])]})),_:1},512),(0,a.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",h,[(0,a._)("div",k,[(0,a._)("div",b,[x,null!=Z.selected.groupId?((0,a.wg)(),(0,a.iD)("div",y,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(Z.nodes||{}).filter((function(e){return Z.groups[Z.selected.groupId].associations.indexOf(e.node_id)<0})),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row clickable",onClick:function(n){return A.addToGroup(e.node_id,Z.selected.groupId)},key:e.node_id},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(e.name)},null,8,R)],8,C)})),128))])):(0,a.kq)("",!0)])])])]})),_:1},512),(0,a._)("div",z,[(0,a._)("div",D,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[0]||(n[0]=function(e){return Z.selected.view=e.target.value})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.views,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{key:e,textContent:(0,r.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===Z.selected.view,value:n},null,8,N)})),128))],32)])]),(0,a._)("div",q,["scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=function(){return A.addScene&&A.addScene.apply(A,arguments)})},I)):(0,a.kq)("",!0),(0,a.Wm)(fe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(le,{text:"Network Info",disabled:Z.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Start Network",disabled:Z.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Stop Network",disabled:Z.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:0,text:"Add Node",disabled:Z.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:1,text:"Remove Node",disabled:Z.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(le,{text:"Switch All On",disabled:Z.commandRunning,onClick:n[2]||(n[2]=function(e){return A.switchAll(!0)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Switch All Off",disabled:Z.commandRunning,onClick:n[3]||(n[3]=function(e){return A.switchAll(!1)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Cancel Command",disabled:Z.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Kill Command",disabled:Z.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Receive Configuration",disabled:Z.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Create New Primary",disabled:Z.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Transfer Primary Role",disabled:Z.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Heal Network",disabled:Z.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Soft Reset",disabled:Z.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Hard Reset",disabled:Z.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])]})),_:1}),(0,a._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=function(){return A.refresh&&A.refresh.apply(A,arguments)})},j)])]),(0,a._)("div",M,["nodes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",V,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",O,$)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.j4)(we,{key:t,node:n,selected:Z.selected.nodeId===t,"plugin-name":e.pluginName,onSelect:function(e){return A.onNodeClick(t)}},null,8,["node","selected","plugin-name","onSelect"])})),128))])):"groups"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",U,[Z.loading.groups?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.groups||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",T,W)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.groups,(function(t,r){return(0,a.wg)(),(0,a.j4)(he,{key:r,group:t,selected:Z.selected.groupId===r,nodes:r in Z.groups?Z.groups[r].associations.map((function(e){return Z.nodes[e]})).reduce((function(e,n){return e[n.node_id]=n,e}),{}):{},owner:null!=t.node_id?Z.nodes[t.node_id]:null,"plugin-name":e.pluginName,onSelect:function(e){return Z.selected.groupId=r===Z.selected.groupId?void 0:r},onOpenAddNodesToGroup:n[5]||(n[5]=function(n){return e.$refs.addNodesToGroupModal.show()})},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])})),128))])):"scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",F,[Z.loading.scenes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.scenes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,K)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.scenes,(function(e,n){var t;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item scene",{selected:Z.selected.sceneId===n}]),key:n},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.sceneId===n}]),textContent:(0,r.zw)(e.label),onClick:function(e){return Z.selected.sceneId=n===Z.selected.sceneId?void 0:n}},null,10,L),Z.selected.sceneId===n?((0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",Y,[P,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(n)},null,8,J)]),(0,a._)("div",Q,[X,(0,a._)("div",ee,[(0,a.Wm)(ke,{value:!1,onInput:function(e){return A.activateScene(n)}},null,8,["onInput"])])]),null!==(t=Object.values(null===e||void 0===e?void 0:e.values))&&void 0!==t&&t.length?((0,a.wg)(),(0,a.iD)("div",ne,[te,(0,a._)("div",ae,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(e.values),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:e.id_on_network},[(0,a._)("div",re,(0,r.zw)(Z.nodes[e.node_id].name)+" ⇨ "+(0,r.zw)(A.valuesMap[e.id_on_network].label),1),(0,a._)("div",se,[(0,a._)("span",{textContent:(0,r.zw)(e.data)},null,8,oe),(0,a._)("span",ie,[(0,a._)("button",{class:"btn btn-default",title:"Remove value",onClick:function(t){return A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})}},ce,8,ue)])])])})),128))])])):(0,a.kq)("",!0),(0,a._)("div",de,[ve,(0,a._)("div",me,[(0,a._)("div",{class:"row",onClick:function(e){return A.removeScene(n)}},ge,8,pe),(0,a._)("div",{class:"row",onClick:function(e){return A.renameScene(n)}},be,8,_e)])])])):(0,a.kq)("",!0)],2)})),128))])):((0,a.wg)(),(0,a.iD)("div",xe,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",ye,Re)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.iD)("div",{class:"node-container",key:t},["values"===Z.selected.view||Object.values(n.values).filter((function(e){return e.id_on_network in Z.values[Z.selected.view]})).length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["item node",{selected:Z.selected.nodeId===t}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.nodeId===t}]),textContent:(0,r.zw)(n.name),onClick:function(e){return A.onNodeClick(t)}},null,10,ze),Z.selected.nodeId===t?((0,a.wg)(),(0,a.iD)("div",De,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.values,(function(t,r){return(0,a.wg)(),(0,a.iD)("div",{class:"value-container",key:r},[t.id_on_network&&("values"===Z.selected.view||t.id_on_network in Z.values[Z.selected.view])?((0,a.wg)(),(0,a.iD)("div",Ne,[(0,a.Wm)(Ce,{value:t,node:n,scenes:Z.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,a.kq)("",!0)])})),128))])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)])})),128))]))])])}var Se=t(8534),Ie=(t(5666),t(3210),function(e){return(0,a.dD)("data-v-56458f8e"),e=e(),(0,a.Cn)(),e}),Ze=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Owner")],-1)})),Oe={class:"body"},Ae=["textContent"],$e={class:"section nodes"},Ue={class:"header"},Te=Ie((function(){return(0,a._)("div",{class:"title col-10"},"Nodes",-1)})),Ee={class:"buttons col-2"},We=Ie((function(){return(0,a._)("i",{class:"fa fa-plus"},null,-1)})),Fe=[We],He={class:"body"},Ge=["textContent"],Ke={class:"buttons col-2"},Le=["disabled","onClick"],Be=Ie((function(){return(0,a._)("i",{class:"fa fa-trash"},null,-1)})),Ye=[Be],Pe={class:"section config"},Je=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Parameters")],-1)})),Qe={class:"body"},Xe={class:"row"},en=Ie((function(){return(0,a._)("div",{class:"param-name"},"Index",-1)})),nn=["textContent"],tn={class:"row"},an=Ie((function(){return(0,a._)("div",{class:"param-name"},"Max associations",-1)})),rn=["textContent"];function sn(e,n,t,s,o,i){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item group",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.group.label),onClick:n[0]||(n[0]=function(n){return e.$emit("select",t.group.index)})},null,10,Ze),t.selected?((0,a.wg)(),(0,a.iD)("div",je,[t.owner&&Object.keys(t.owner).length?((0,a.wg)(),(0,a.iD)("div",Me,[Ve,(0,a._)("div",Oe,[(0,a._)("div",{class:"row",textContent:(0,r.zw)(t.owner.name)},null,8,Ae)])])):(0,a.kq)("",!0),(0,a._)("div",$e,[(0,a._)("div",Ue,[Te,(0,a._)("div",Ee,[!t.group.max_associations||Object.keys(t.nodes||{}).length"))},null,8,Ge),(0,a._)("div",Ke,[(0,a._)("button",{class:"btn btn-default",title:"Remove from group",disabled:o.commandRunning,onClick:function(n){return i.removeFromGroup(e.node_id)}},Ye,8,Le)])])})),128))])]),(0,a._)("div",Pe,[Je,(0,a._)("div",Qe,[(0,a._)("div",Xe,[en,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.index)},null,8,nn)]),(0,a._)("div",tn,[an,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.max_associations)},null,8,rn)])])])])):(0,a.kq)("",!0)],2)}t(2222);var on=t(6813),un={mixins:[on.Z],props:{pluginName:{type:String,required:!0}},methods:{zrequest:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.request("".concat(t.pluginName,".").concat(e),n);case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}),a)})))()}}},ln={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[un],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1}},methods:{removeFromGroup:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this node from "+n.group.label+"?")){t.next=2;break}return t.abrupt("return");case 2:return n.commandRunning=!0,a={node_id:e},null!=n.group.group_id?a.group_id=n.group.group_id:a.group_index=n.group.index,t.prev=5,t.next=8,n.zrequest("remove_node_from_group",a);case 8:return t.prev=8,n.commandRunning=!1,t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[5,,8,11]])})))()}}},cn=t(3744);const dn=(0,cn.Z)(ln,[["render",sn],["__scopeId","data-v-56458f8e"]]);var vn=dn,mn=(t(9600),t(9714),t(9963)),pn=function(e){return(0,a.dD)("data-v-3da196a6"),e=e(),(0,a.Cn)(),e},fn=["textContent"],wn={key:0,class:"params"},gn={class:"row"},_n=pn((function(){return(0,a._)("div",{class:"param-name"},"Name",-1)})),hn={class:"param-value"},kn=["value","disabled"],bn={class:"buttons"},xn=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),yn=[xn],Cn=["disabled"],Rn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),zn=[Rn],Dn=["textContent"],Nn={class:"buttons"},qn=["disabled"],Sn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),In=[Sn],Zn={class:"row"},jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Location",-1)})),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},An=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),$n=[An],Un=["disabled"],Tn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),En=[Tn],Wn=["textContent"],Fn={class:"buttons"},Hn=["disabled"],Gn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Kn=[Gn],Ln={class:"row"},Bn=pn((function(){return(0,a._)("div",{class:"param-name"},"Type",-1)})),Yn=["textContent"],Pn={class:"row"},Jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Role",-1)})),Qn=["textContent"],Xn={class:"row"},et=pn((function(){return(0,a._)("div",{class:"param-name"},"Node ID",-1)})),nt=["textContent"],tt={key:0,class:"row"},at=pn((function(){return(0,a._)("div",{class:"param-name"},"Neighbours",-1)})),rt={class:"param-value"},st=["textContent"],ot={class:"row"},it=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Ready",-1)})),ut=["textContent"],lt={class:"row"},ct=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Failed",-1)})),dt=["textContent"],vt={class:"row"},mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product ID",-1)})),pt=["textContent"],ft={class:"row"},wt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Type",-1)})),gt=["textContent"],_t={key:1,class:"row"},ht=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Name",-1)})),kt=["textContent"],bt={class:"row"},xt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer ID",-1)})),yt=["textContent"],Ct={key:2,class:"row"},Rt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer Name",-1)})),zt=["textContent"],Dt={class:"row"},Nt=pn((function(){return(0,a._)("div",{class:"param-name"},"Capabilities",-1)})),qt=["textContent"],St={class:"row"},It=pn((function(){return(0,a._)("div",{class:"param-name"},"Command Classes",-1)})),Zt=["textContent"],jt={class:"row"},Mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Groups",-1)})),Vt=["textContent"],Ot={key:3,class:"row"},At=pn((function(){return(0,a._)("div",{class:"param-name"},"Home ID",-1)})),$t=["textContent"],Ut={class:"row"},Tt=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Awake",-1)})),Et=["textContent"],Wt={key:4,class:"row"},Ft=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Locked",-1)})),Ht=["textContent"],Gt={key:5,class:"row"},Kt=pn((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),Lt=["textContent"],Bt={key:6,class:"row"},Yt=pn((function(){return(0,a._)("div",{class:"param-name"},"Baud Rate",-1)})),Pt=["textContent"],Jt={key:7,class:"row"},Qt=pn((function(){return(0,a._)("div",{class:"param-name"},"Max Baud Rate",-1)})),Xt=["textContent"],ea={class:"section actions"},na=pn((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1)})),ta={class:"body"},aa=pn((function(){return(0,a._)("div",{class:"param-name"},"Remove Failed Node",-1)})),ra=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),sa=[aa,ra],oa=pn((function(){return(0,a._)("div",{class:"param-name"},"Replace Failed Node",-1)})),ia=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1)})),ua=[oa,ia],la=pn((function(){return(0,a._)("div",{class:"param-name"},"Heal Node",-1)})),ca=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wrench"})],-1)})),da=[la,ca],va=pn((function(){return(0,a._)("div",{class:"param-name"},"Replicate info to secondary controller",-1)})),ma=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-clone"})],-1)})),pa=[va,ma],fa=pn((function(){return(0,a._)("div",{class:"param-name"},"Request network update",-1)})),wa=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wifi"})],-1)})),ga=[fa,wa],_a=pn((function(){return(0,a._)("div",{class:"param-name"},"Request neighbours update",-1)})),ha=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-network-wired"})],-1)})),ka=[_a,ha];function ba(e,n,t,s,o,i){var u,l,c,d;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item node",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.node.name&&t.node.name.length?t.node.name:"")),onClick:n[0]||(n[0]=function(n){return e.$emit("select")})},null,10,fn),t.selected?((0,a.wg)(),(0,a.iD)("div",wn,[(0,a._)("div",gn,[_n,(0,a._)("div",hn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.name}])},[(0,a._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)((function(){return i.editName&&i.editName.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",value:t.node.name,disabled:o.commandRunning},null,8,kn)]),(0,a._)("span",bn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=function(e){return o.editMode.name=!1})},yn),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},zn,8,Cn)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.name})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(u=t.node.name)&&void 0!==u&&u.length?t.node.name:""))},null,8,Dn),(0,a._)("span",Nn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=function(e){return i.onEditMode("name")}),disabled:o.commandRunning},In,8,qn)])],2)])]),(0,a._)("div",Zn,[jn,(0,a._)("div",Mn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.location}])},[(0,a._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)((function(){return i.editLocation&&i.editLocation.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"location",value:t.node.location,disabled:o.commandRunning},null,8,Vn)]),(0,a._)("span",On,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=function(e){return o.editMode.location=!1})},$n),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},En,8,Un)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.location})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(l=t.node.location)&&void 0!==l&&l.length?t.node.location:"")},null,8,Wn),(0,a._)("span",Fn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=function(e){return i.onEditMode("location")}),disabled:o.commandRunning},Kn,8,Hn)])],2)])]),(0,a._)("div",Ln,[Bn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.type)},null,8,Yn)]),(0,a._)("div",Pn,[Jn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.role)},null,8,Qn)]),(0,a._)("div",Xn,[et,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.node_id)},null,8,nt)]),t.node.neighbours.length?((0,a.wg)(),(0,a.iD)("div",tt,[at,(0,a._)("div",rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.node.neighbours,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row pull-right",key:n,textContent:(0,r.zw)(e)},null,8,st)})),128))])])):(0,a.kq)("",!0),(0,a._)("div",ot,[it,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_ready)},null,8,ut)]),(0,a._)("div",lt,[ct,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_failed)},null,8,dt)]),(0,a._)("div",vt,[mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,pt)]),(0,a._)("div",ft,[wt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_type)},null,8,gt)]),null!==(c=t.node.product_name)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",_t,[ht,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_name)},null,8,kt)])):(0,a.kq)("",!0),(0,a._)("div",bt,[xt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,yt)]),null!==(d=t.node.manufacturer_name)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",Ct,[Rt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_name)},null,8,zt)])):(0,a.kq)("",!0),(0,a._)("div",Dt,[Nt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.capabilities.join(", "))},null,8,qt)]),(0,a._)("div",St,[It,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.command_classes.join(", "))},null,8,Zt)]),(0,a._)("div",jt,[Mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Object.values(t.node.groups).map((function(e){return e.label||""})).join(", "))},null,8,Vt)]),t.node.home_id?((0,a.wg)(),(0,a.iD)("div",Ot,[At,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.home_id.toString(16))},null,8,$t)])):(0,a.kq)("",!0),(0,a._)("div",Ut,[Tt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_awake)},null,8,Et)]),null!=t.node.is_locked?((0,a.wg)(),(0,a.iD)("div",Wt,[Ft,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_locked)},null,8,Ht)])):(0,a.kq)("",!0),t.node.last_update?((0,a.wg)(),(0,a.iD)("div",Gt,[Kt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.node.last_update))},null,8,Lt)])):(0,a.kq)("",!0),t.node.baud_rate?((0,a.wg)(),(0,a.iD)("div",Bt,[Yt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.baud_rate)},null,8,Pt)])):(0,a.kq)("",!0),t.node.max_baud_rate?((0,a.wg)(),(0,a.iD)("div",Jt,[Qt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.max_baud_rate)},null,8,Xt)])):(0,a.kq)("",!0),(0,a._)("div",ea,[na,(0,a._)("div",ta,[t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=function(){return i.removeFailedNode&&i.removeFailedNode.apply(i,arguments)})},sa)):(0,a.kq)("",!0),t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=function(){return i.replaceFailedNode&&i.replaceFailedNode.apply(i,arguments)})},ua)):(0,a.kq)("",!0),(0,a._)("div",{class:"row",onClick:n[9]||(n[9]=function(){return i.heal&&i.heal.apply(i,arguments)})},da),(0,a._)("div",{class:"row",onClick:n[10]||(n[10]=function(){return i.replicationSend&&i.replicationSend.apply(i,arguments)})},pa),(0,a._)("div",{class:"row",onClick:n[11]||(n[11]=function(){return i.requestNetworkUpdate&&i.requestNetworkUpdate.apply(i,arguments)})},ga),(0,a._)("div",{class:"row",onClick:n[12]||(n[12]=function(){return i.requestNeighbourUpdate&&i.requestNeighbourUpdate.apply(i,arguments)})},ka)])])])):(0,a.kq)("",!0)],2)}var xa={name:"Node",emits:["select"],mixins:[un],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{removeFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to remove this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("remove_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replaceFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to replace this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("replace_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replicationSend:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("replication_send",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNetworkUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_network_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNeighbourUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_node_neighbour_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},onEditMode:function(e){this.editMode[e]=!0;var n=this.$refs[e+"Form"],t=n.querySelector("input[type=text]");setTimeout((function(){t.focus(),t.select()}),10)},editName:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=name]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_name",{node_id:n.node.node_id,new_name:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.name=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},editLocation:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=location]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_location",{node_id:n.node.node_id,location:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.location=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},heal:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return console.log("A command is already running"),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("node_heal",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()}}};const ya=(0,cn.Z)(xa,[["render",ba],["__scopeId","data-v-3da196a6"]]);var Ca=ya,Ra=t(8453),za=t(5771),Da=t(9015),Na=t(1232),qa=t(6);t(2526),t(1817),t(2165),t(8783);function Sa(e){return Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sa(e)}var Ia=function(e){return(0,a.dD)("data-v-0021cd76"),e=e(),(0,a.Cn)(),e},Za={class:"section value"},ja={class:"header"},Ma={class:"title"},Va=["disabled","data-id-on-network"],Oa=Ia((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Aa=[Oa],$a={class:"body"},Ua={class:"row"},Ta=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value",-1)})),Ea={class:"param-value"},Wa={key:0,class:"value-view"},Fa=["textContent"],Ha=["textContent"],Ga={key:1,class:"value-edit"},Ka={key:0,class:"list"},La=["textContent","selected","value"],Ba={key:1,class:"numeric slider-container"},Ya={class:"col-10"},Pa={class:"row"},Ja=["textContent"],Qa=["textContent"],Xa={class:"row"},er={class:"col-2"},nr=["value"],tr={key:2,class:"boolean"},ar={key:3,class:"value-data"},rr=["value"],sr=["textContent"],or=Ia((function(){return(0,a._)("div",{class:"param-name"},"Remove From Scene",-1)})),ir=Ia((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),ur=[or,ir],lr={key:1,class:"row",style:{cursor:"pointer"}},cr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Add To Scene",-1)})),dr={class:"param-value"},vr={key:2,class:"row"},mr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Help",-1)})),pr=["textContent"],fr={class:"row"},wr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value ID",-1)})),gr=["textContent"],_r={key:3,class:"row"},hr=Ia((function(){return(0,a._)("div",{class:"param-name"},"ID on Network",-1)})),kr=["textContent"],br={class:"row"},xr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Command Class",-1)})),yr=["textContent"],Cr={key:4,class:"row"},Rr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),zr=["textContent"];function Dr(e,n,t,s,o,i){var u,l,c,d,v,m=(0,a.up)("Slider"),p=(0,a.up)("ToggleSwitch"),f=(0,a.up)("DropdownItem"),w=(0,a.up)("Dropdown");return(0,a.wg)(),(0,a.iD)("div",Za,[(0,a._)("div",ja,[(0,a._)("div",Ma,[(0,a._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:o.commandRunning,"data-id-on-network":t.value.id_on_network,onClick:n[0]||(n[0]=function(){return i.editName&&i.editName.apply(i,arguments)})},Aa,8,Va),(0,a.Uk)(" "+(0,r.zw)(t.value.label),1)])]),(0,a._)("div",$a,[(0,a._)("div",Ua,[Ta,(0,a._)("div",Ea,[t.value.is_read_only?((0,a.wg)(),(0,a.iD)("div",Wa,[(0,a._)("div",{class:"value-data",textContent:(0,r.zw)(t.value.data)},null,8,Fa),null!==(u=t.value.units)&&void 0!==u&&u.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"unit",textContent:(0,r.zw)(t.value.units)},null,8,Ha)):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",Ga,[(0,a._)("div",{class:(0,r.C_)(["col-"+(null!==(l=t.value.units)&&void 0!==l&&l.length?"11":"12")])},["List"===t.value.type?((0,a.wg)(),(0,a.iD)("div",Ka,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[1]||(n[1]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.value.data_items,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{textContent:(0,r.zw)("object"===Sa(e)?e.text:e),key:n,selected:"object"===Sa(e)?t.value.data===e.value:t.value.data===e,value:"object"===Sa(e)?e.value:n},null,8,La)})),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",Ba,[(0,a._)("div",Ya,[(0,a._)("div",Pa,[(0,a._)("span",{class:"value-min",textContent:(0,r.zw)(t.value.min)},null,8,Ja),(0,a._)("span",{class:"value-max",textContent:(0,r.zw)(t.value.max)},null,8,Qa)]),(0,a._)("div",Xa,[(0,a._)("label",null,[(0,a.Wm)(m,{range:[t.value.min,t.value.max],value:t.value.data,onChange:i.onValueChange},null,8,["range","value","onChange"])])])]),(0,a._)("div",er,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[2]||(n[2]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,nr)])])])):["Bool","Button"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",tr,[(0,a.Wm)(p,{value:t.value.data,onInput:n[3]||(n[3]=function(e){return i.onValueChange(e,!t.value.data)})},null,8,["value"])])):((0,a.wg)(),(0,a.iD)("div",ar,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[4]||(n[4]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,rr)])]))],2),null!==(c=t.value.units)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"col-1 unit",textContent:(0,r.zw)(t.value.units)},null,8,sr)):(0,a.kq)("",!0)]))])]),null!=t.sceneId?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=function(n){return e.$emit("remove-from-scene",{valueId:t.value.id_on_network,sceneId:t.sceneId})})},ur)):(0,a.kq)("",!0),null!==(d=i.addValueToSceneItems)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",lr,[cr,(0,a._)("div",dr,[(0,a.Wm)(w,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(i.addValueToSceneItems,(function(n,r){return(0,a.wg)(),(0,a.j4)(f,{key:r,text:n.label,disabled:o.commandRunning,onClick:function(a){return e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:t.value.id_on_network})}},null,8,["text","disabled","onClick"])})),128))]})),_:1})])])):(0,a.kq)("",!0),null!==(v=t.value.help)&&void 0!==v&&v.length?((0,a.wg)(),(0,a.iD)("div",vr,[mr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.help)},null,8,pr)])):(0,a.kq)("",!0),(0,a._)("div",fr,[wr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.value_id)},null,8,gr)]),t.value.value_id!==t.value.id_on_network?((0,a.wg)(),(0,a.iD)("div",_r,[hr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.id_on_network)},null,8,kr)])):(0,a.kq)("",!0),(0,a._)("div",br,[xr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.command_class_name||t.value.command_class)},null,8,yr)]),t.value.last_update?((0,a.wg)(),(0,a.iD)("div",Cr,[Rr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.value.last_update))},null,8,zr)])):(0,a.kq)("",!0)])])}t(9653);var Nr=t(376),qr={name:"Value",components:{Slider:Nr.Z,Dropdown:za.Z,DropdownItem:Da.Z,ToggleSwitch:qa.Z},mixins:[un],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:function(){return{}}}},data:function(){return{commandRunning:!1}},computed:{addValueToSceneItems:function(){var e=this;return Object.values(this.scenes||{}).filter((function(n){return!(e.value.id_on_network in n.values)}))}},methods:{editName:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){var t,a,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.node.values[e.value.id_on_network],s=prompt("New name",r.label),null!==(t=s)&&void 0!==t&&t.length&&(s=s.trim()),null!==(a=s)&&void 0!==a&&a.length&&s!==r.label){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("set_value_label",{id_on_network:r.id_on_network,new_label:s});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:e.$emit("refresh"),e.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}});case 14:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},onValueChange:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=e.target?e.target:e.event.target.parentElement,s=t.node.values[t.value.id_on_network],void 0===n&&(n=null!=r.value?r.value:e.value),a.t0=s.type,a.next="List"===a.t0?6:"Int"===a.t0||"Short"===a.t0||"Long"===a.t0||"Byte"===a.t0?8:"Decimal"===a.t0?10:12;break;case 6:return n=s.data_items[e.target.value],a.abrupt("break",12);case 8:return n=parseInt(n),a.abrupt("break",12);case 10:return n=parseFloat(n),a.abrupt("break",12);case 12:return"object"===Sa(n)&&(n=n.value),t.commandRunning=!0,a.prev=14,a.next=17,t.zrequest("set_value",{id_on_network:s.id_on_network,data:n});case 17:return a.prev=17,t.commandRunning=!1,a.finish(17);case 20:t.$emit("refresh"),t.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}});case 22:case"end":return a.stop()}}),a,null,[[14,,17,20]])})))()}}};const Sr=(0,cn.Z)(qr,[["render",Dr],["__scopeId","data-v-0021cd76"]]);var Ir=Sr,Zr={name:"Zwave",components:{Value:Ir,ToggleSwitch:qa.Z,Loading:Na.Z,DropdownItem:Da.Z,Dropdown:za.Z,Modal:Ra.Z,Group:vn,Node:Ca},mixins:[un],data:function(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap:function(){for(var e={},n=0,t=Object.values(this.nodes);n]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=c573354c\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=c573354c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["uncurryThis","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","module","exports","matched","str","position","captures","namedCaptures","replacement","tailPos","length","m","symbols","undefined","match","ch","capture","n","f","PROPER_FUNCTION_NAME","fails","whitespaces","non","METHOD_NAME","name","apply","call","fixRegExpWellKnownSymbolLogic","anObject","isCallable","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","REPLACE","max","min","concat","push","stringIndexOf","indexOf","maybeToString","it","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","result","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","this","replacer","string","rx","S","res","done","value","functionalReplace","global","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","i","index","j","replacerArgs","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","class","ref","type","range","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","nodeId","pluginName","onNodeClick","group","associations","map","owner","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","max_associations","removeFromGroup","mixins","Utils","required","zrequest","method","args","request","mixin","confirm","group_id","group_index","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","_typeof","obj","Symbol","iterator","constructor","prototype","is_read_only","units","onValueChange","data_items","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","refreshGroups","reduce","refreshScenes","refreshValues","item","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4658-legacy.2b32d64d.js","mappings":"oGAAA,IAAIA,EAAc,EAAQ,MACtBC,EAAW,EAAQ,MAEnBC,EAAQC,KAAKD,MACbE,EAASJ,EAAY,GAAGI,QACxBC,EAAUL,EAAY,GAAGK,SACzBC,EAAcN,EAAY,GAAGO,OAC7BC,EAAuB,8BACvBC,EAAgC,sBAIpCC,EAAOC,QAAU,S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a,4DASnB,EAEKF,UA7TC,WA6TW,oJACXqC,QAAQ,6FADG,iEAIV,EAAKL,SAAS,cAJJ,4CAKjB,EAEK/B,UApUC,WAoUW,oJACXoC,QAAQ,+FADG,iEAIV,EAAKL,SAAS,cAJJ,4CAKjB,EAEKf,cA3UC,SA2UaF,GAAS,wJAC3B,EAAK5B,gBAAiB,EADK,kBAGnB,EAAK6C,SAAS,iBAAkB,CAAC4D,SAAU7E,IAHxB,uBAKzB,EAAK5B,gBAAiB,EALG,wEAO5B,EAEKsC,gBApVC,SAoVe7E,GAAO,wJAC3B,EAAKuC,gBAAiB,EADK,kBAGnB,EAAK6C,SAAS,kBAAmB,CACrCd,cAAetE,EAAM4E,QACrBoE,SAAUhJ,EAAMmE,QAChBK,KAAM,EAAKD,UAAUvE,EAAM4E,SAASJ,OANb,uBASzB,EAAKjC,gBAAiB,EATG,mBAY3B,EAAKe,UAZsB,4DAa5B,GAGH3C,QA1Za,WA2ZXtD,KAAKiG,UAELjG,KAAKwO,UAAUxO,KAAK4N,cAAe,4BAC/B,qDAEJ5N,KAAKwO,UAAUxO,KAAK8N,cAAe,4BAC/B,qDAEJ9N,KAAKwO,UAAUxO,KAAKyH,aAAc,8BAC9B,uDAEJzH,KAAKwO,UAAUxO,KAAKoO,eAAgB,yBAChC,mDAEJpO,KAAKwO,UAAUxO,KAAKiO,cAAe,yBAC/B,uDACA,yDACA,uDACA,wDAEJjO,KAAKwO,UAAUxO,KAAKkO,aAAc,6BAC9B,+CACA,oDACA,sDACA,oDACA,qDACA,uDACA,uDACA,yDACL,EAEDO,UA1ba,WA0bD,WACV,CACE,4BAA6B,4BAA6B,8BAA+B,yBACzF,yBAA0B,8BAC1BC,SAAQ,SAACC,GAAD,OAAe,EAAKC,YAAYD,EAAhC,GACX,GSjqBH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASnL,MAEpE,S","sources":["webpack://platypush/./node_modules/core-js/internals/get-substitution.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.string.replace.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Zwave/Zwave.vue","webpack://platypush/./src/components/panels/Zwave/Group.vue","webpack://platypush/./src/components/panels/Zwave/mixin.js","webpack://platypush/./src/components/panels/Zwave/Group.vue?d37f","webpack://platypush/./src/components/panels/Zwave/Node.vue","webpack://platypush/./src/components/panels/Zwave/Node.vue?4a32","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://platypush/./src/components/panels/Zwave/Value.vue","webpack://platypush/./src/components/panels/Zwave/Value.vue?c87f","webpack://platypush/./src/components/panels/Zwave/Zwave.vue?dac2"],"sourcesContent":["var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=c573354c\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=c573354c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["uncurryThis","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","module","exports","matched","str","position","captures","namedCaptures","replacement","tailPos","length","m","symbols","undefined","match","ch","capture","n","f","PROPER_FUNCTION_NAME","fails","whitespaces","non","METHOD_NAME","name","apply","call","fixRegExpWellKnownSymbolLogic","anObject","isCallable","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","REPLACE","max","min","concat","push","stringIndexOf","indexOf","maybeToString","it","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","result","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","this","replacer","string","rx","S","res","done","value","functionalReplace","global","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","i","index","j","replacerArgs","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","class","ref","type","range","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","nodeId","pluginName","onNodeClick","group","associations","map","owner","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","max_associations","removeFromGroup","mixins","Utils","required","zrequest","method","args","request","mixin","confirm","group_id","group_index","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","_typeof","obj","Symbol","iterator","constructor","prototype","is_read_only","units","onValueChange","data_items","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","refreshGroups","reduce","refreshScenes","refreshValues","item","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js b/platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js rename to platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js index bea55cb48..6498089a8 100644 --- a/platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js +++ b/platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5111,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},u={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",u,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ua=(0,pa.Z)(ca,[["render",sa]]);var ha=ua},5111:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"ffmpeg"})}var i=e(5528),r={name:"CameraFfmpeg",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); -//# sourceMappingURL=5111.b166dd43.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5111,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},u={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",u,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ua=(0,pa.Z)(ca,[["render",sa]]);var ha=ua},5111:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"ffmpeg"})}var i=e(5528),r={name:"CameraFfmpeg",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); +//# sourceMappingURL=5111.d348fed1.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js.map b/platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js.map rename to platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js.map index 3635e3147..634dac9f6 100644 --- a/platypush/backend/http/webapp/dist/static/js/5111.b166dd43.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5111.d348fed1.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5111.b166dd43.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAyC,QAAnCA,MAAM,QAAO,mBAAe,G,GAI7BA,MAAM,O,GACX,OAAuC,QAAjCA,MAAM,QAAO,iBAAa,G,GAI3BA,MA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,EAAOnB,eAAiB,QAE1C,EAEDqB,UACErC,KAAKjC,MAAMuE,MAAMC,iBAAiB,OAAQvC,KAAKkB,eAC/ClB,KAAKpB,gBACLoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMG,YAAYqB,KAAKpB,eAC9CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMK,iBAAiBmB,KAAKpB,eACnDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMO,eAAeiB,KAAKpB,eACjDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAAiC,GAAzB,gBAAc,U,eAMxB,GACE3E,KAAM,eACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraFfmpeg/Index.vue","webpack://platypush/./src/components/panels/CameraFfmpeg/Index.vue?3548"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=dd632828\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file +{"version":3,"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AMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAAiC,GAAzB,gBAAc,U,eAMxB,GACE3E,KAAM,eACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraFfmpeg/Index.vue","webpack://platypush/./src/components/panels/CameraFfmpeg/Index.vue?3548"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=dd632828\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js b/platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js rename to platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js index 6c8e9d72d..fc8267628 100644 --- a/platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js +++ b/platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),s=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],r=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-a6396ae8"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e},s={class:"switches wemo-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var y=(0,i.up)("Loading"),k=(0,i.up)("Switch"),b=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(k,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(b,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),y=t(4004),k=t(8671),b=t(9642),I={name:"SwitchWemo",components:{Modal:b.Z,Switch:k.Z,Loading:_.Z},mixins:[y.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var x=D}}]); -//# sourceMappingURL=5210-legacy.64ff6a12.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),s=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],r=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-a6396ae8"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e},s={class:"switches wemo-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var y=(0,i.up)("Loading"),k=(0,i.up)("Switch"),b=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(k,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(b,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),y=t(4004),k=t(8671),b=t(8453),I={name:"SwitchWemo",components:{Modal:b.Z,Switch:k.Z,Loading:_.Z},mixins:[y.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var x=D}}]); +//# sourceMappingURL=5210-legacy.e39ce8e4.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js.map b/platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js.map rename to platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js.map index 7e1ccfee3..1d74e1dc8 100644 --- a/platypush/backend/http/webapp/dist/static/js/5210-legacy.64ff6a12.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5210-legacy.e39ce8e4.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5210-legacy.64ff6a12.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAA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,gBAAgBvB,OAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBiC,KAAnD,gBAbJ,mB,KADF,M,6CA2BJ,GACExD,KAAM,aACN6C,WAAY,CAACY,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQZ,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/5210-legacy.e39ce8e4.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAA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ACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBiC,KAAnD,gBAbJ,mB,KADF,M,6CA2BJ,GACExD,KAAM,aACN6C,WAAY,CAACY,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQZ,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js b/platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js similarity index 97% rename from platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js rename to platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js index 8b1518168..38b71ad50 100644 --- a/platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js +++ b/platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6:function(e,t,n){n.d(t,{Z:function(){return v}});var i=n(6252),s=n(3577),o=n(9963);const a=e=>((0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e),l=["checked"],c=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(6813),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(6252),s=n(9963),o=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,i.up)("Loading"),v=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6),v=n(1232),p={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},f=n(3744);const w=(0,f.Z)(p,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e),a={class:"switches wemo-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"On",-1))),v=["textContent"],p={class:"row"},f=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,i.up)("Loading"),b=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",a,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[u,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,i._)("div",h,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,i._)("div",p,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchWemo",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var Z=D}}]); -//# sourceMappingURL=5210.3bf2535c.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6:function(e,t,n){n.d(t,{Z:function(){return v}});var i=n(6252),s=n(3577),o=n(9963);const a=e=>((0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e),l=["checked"],c=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(6813),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(6252),s=n(9963),o=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,i.up)("Loading"),v=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6),v=n(1232),p={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},f=n(3744);const w=(0,f.Z)(p,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e),a={class:"switches wemo-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"On",-1))),v=["textContent"],p={class:"row"},f=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,i.up)("Loading"),b=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",a,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[u,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,i._)("div",h,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,i._)("div",p,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(8453),I={name:"SwitchWemo",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var Z=D}}]); +//# sourceMappingURL=5210.d6ee4d6c.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js.map b/platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js.map rename to platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js.map index d96839813..01152aa5d 100644 --- a/platypush/backend/http/webapp/dist/static/js/5210.3bf2535c.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5210.d6ee4d6c.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5210.3bf2535c.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,qECNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,UAAU,GAGZG,OAAQ,CACNrB,KAAMoB,OACNb,QAAS,KAAe,CAAC,IAG3Be,SAAU,CACRtB,KAAMM,QACNC,SAAS,IAIbgB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,CAAC,EAEb,EAEDnB,QAAS,CACPoB,eAAeZ,GACTA,IA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,mBAA/B,C,kBACE,IAeM,CAfyB,EAAAjC,iBAAA,WAA/B,QAeM,MAfN,EAeM,EAdJ,OAGM,MAHN,EAGM,CAFJ,GACA,OAA2D,OAAtD7B,MAAM,Q,aAAQ,QAAqC,EAAtB,QAAC,EAAA6B,gBAAgBvB,OAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBkC,KAAnD,gBAbJ,kB,KADF,M,6CA2BJ,GACEzD,KAAM,aACN6C,WAAY,CAACa,MAAD,IAAQC,OAAR,IAAgBb,QAAO,KACnCnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/5210.d6ee4d6c.js","mappings":"qQAMM,OAE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AAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBkC,KAAnD,gBAbJ,kB,KADF,M,6CA2BJ,GACEzD,KAAM,aACN6C,WAAY,CAACa,MAAD,IAAQC,OAAR,IAAgBb,QAAO,KACnCnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js b/platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js rename to platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js index f15aa5b25..5efe8652e 100644 --- a/platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js +++ b/platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5528],{5528:function(t,a,e){e.r(a),e.d(a,{default:function(){return ft}});var n=e(6252),r=e(9963),i={class:"camera"},s={class:"camera-container"},o={class:"frame-container",ref:"frameContainer"},l={key:0,class:"no-frame"},u=["src"],c={class:"controls"},p={class:"left"},h=["disabled"],d=(0,n._)("i",{class:"fa fa-play"},null,-1),f=[d],m=["disabled"],g=(0,n._)("i",{class:"fa fa-stop"},null,-1),_=[g],y=["disabled"],C=(0,n._)("i",{class:"fas fa-camera"},null,-1),v=[C],w={class:"right"},b=(0,n._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,n._)("i",{class:"fas fa-volume-up"},null,-1),x=[k],z=(0,n._)("i",{class:"fas fa-cog"},null,-1),F=[z],U={class:"audio-container"},D={key:0,autoplay:"",preload:"none",ref:"player"},M=["src"],V=(0,n.Uk)(" Your browser does not support audio elements "),$={key:0,class:"url"},q={class:"row"},P=(0,n._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},R=(0,n._)("span",{class:"name"},"Device",-1),Z={class:"row"},j=(0,n._)("span",{class:"name"},"Width",-1),G={class:"row"},I=(0,n._)("span",{class:"name"},"Height",-1),T={class:"row"},W=(0,n._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,n._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,n._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,n._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,n._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},tt=(0,n._)("span",{class:"name"},"Frames per second",-1),at={class:"row"},et=(0,n._)("span",{class:"name"},"Grayscale",-1);function nt(t,a,e,d,g,C){var b,k=(0,n.up)("Slot"),z=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",s,[(0,n._)("div",o,[t.streaming||t.capturing||t.captured?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",l,"The camera is not active")),(0,n._)("img",{class:"frame",src:t.url,ref:"frame",alt:""},null,8,u)],512),(0,n._)("div",c,[(0,n._)("div",p,[t.streaming?((0,n.wg)(),(0,n.iD)("button",{key:1,type:"button",onClick:a[1]||(a[1]=function(){return t.stopStreaming&&t.stopStreaming.apply(t,arguments)}),disabled:t.capturing,title:"Stop video"},_,8,m)):((0,n.wg)(),(0,n.iD)("button",{key:0,type:"button",onClick:a[0]||(a[0]=function(){return C.startStreaming&&C.startStreaming.apply(C,arguments)}),disabled:t.capturing,title:"Start video"},f,8,h)),t.streaming?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("button",{key:2,type:"button",onClick:a[2]||(a[2]=function(){return C.capture&&C.capture.apply(C,arguments)}),disabled:t.streaming||t.capturing,title:"Take a picture"},v,8,y))]),(0,n._)("div",w,[t.audioOn?((0,n.wg)(),(0,n.iD)("button",{key:1,type:"button",onClick:a[4]||(a[4]=function(){return t.stopAudio&&t.stopAudio.apply(t,arguments)}),title:"Stop audio"},x)):((0,n.wg)(),(0,n.iD)("button",{key:0,type:"button",onClick:a[3]||(a[3]=function(){return t.startAudio&&t.startAudio.apply(t,arguments)}),title:"Start audio"},S)),(0,n._)("button",{type:"button",onClick:a[5]||(a[5]=function(a){return t.$refs.paramsModal.show()}),title:"Settings"},F)])])]),(0,n._)("div",U,[t.audioOn?((0,n.wg)(),(0,n.iD)("audio",D,[(0,n._)("source",{src:"/sound/stream?t=".concat((new Date).getTime()),type:"audio/x-wav;codec=pcm"},null,8,M),V],512)):(0,n.kq)("",!0)]),null!==(b=t.url)&&void 0!==b&&b.length?((0,n.wg)(),(0,n.iD)("div",$,[(0,n._)("label",q,[P,(0,n._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,n.kq)("",!0),(0,n.Wm)(z,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,n.w5)((function(){return[(0,n._)("div",L,[(0,n._)("label",O,[R,(0,n.wy)((0,n._)("input",{name:"device",type:"text","onUpdate:modelValue":a[6]||(a[6]=function(a){return t.attrs.device=a}),onChange:a[7]||(a[7]=function(){return t.onDeviceChanged&&t.onDeviceChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.device]])]),(0,n._)("label",Z,[j,(0,n.wy)((0,n._)("input",{name:"width",type:"text","onUpdate:modelValue":a[8]||(a[8]=function(a){return t.attrs.resolution[0]=a}),onChange:a[9]||(a[9]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.resolution[0]]])]),(0,n._)("label",G,[I,(0,n.wy)((0,n._)("input",{name:"height",type:"text","onUpdate:modelValue":a[10]||(a[10]=function(a){return t.attrs.resolution[1]=a}),onChange:a[11]||(a[11]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.resolution[1]]])]),(0,n._)("label",T,[W,(0,n.wy)((0,n._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":a[12]||(a[12]=function(a){return t.attrs.horizontal_flip=a}),onChange:a[13]||(a[13]=function(){return t.onFlipChanged&&t.onFlipChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.horizontal_flip]])]),(0,n._)("label",H,[Y,(0,n.wy)((0,n._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":a[14]||(a[14]=function(a){return t.attrs.vertical_flip=a}),onChange:a[15]||(a[15]=function(){return t.onFlipChanged&&t.onFlipChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.vertical_flip]])]),(0,n._)("label",E,[X,(0,n.wy)((0,n._)("input",{name:"rotate",type:"text","onUpdate:modelValue":a[16]||(a[16]=function(a){return t.attrs.rotate=a}),onChange:a[17]||(a[17]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.rotate]])]),(0,n._)("label",B,[J,(0,n.wy)((0,n._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":a[18]||(a[18]=function(a){return t.attrs.scale_x=a}),onChange:a[19]||(a[19]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.scale_x]])]),(0,n._)("label",K,[N,(0,n.wy)((0,n._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":a[20]||(a[20]=function(a){return t.attrs.scale_y=a}),onChange:a[21]||(a[21]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.scale_y]])]),(0,n._)("label",Q,[tt,(0,n.wy)((0,n._)("input",{name:"fps",type:"text","onUpdate:modelValue":a[22]||(a[22]=function(a){return t.attrs.fps=a}),onChange:a[23]||(a[23]=function(){return t.onFpsChanged&&t.onFpsChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.fps]])]),(0,n._)("label",at,[et,(0,n.wy)((0,n._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":a[24]||(a[24]=function(a){return t.attrs.grayscale=a}),onChange:a[25]||(a[25]=function(){return t.onGrayscaleChanged&&t.onGrayscaleChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.grayscale]])]),(0,n.Wm)(k)])]})),_:1},512)])}e(2222);var rt=e(8534),it=e(6084),st=(e(5666),e(9600),e(1249),e(7327),e(1539),e(9720),e(6813)),ot={name:"CameraMixin",mixins:[st.Z],props:{cameraPlugin:{type:String,required:!0}},data:function(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params:function(){var t;return{resolution:this.attrs.resolution,device:null!==(t=this.attrs.device)&&void 0!==t&&t.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl:function(t,a){return"/camera/"+t+"/"+a+"?"+Object.entries(this.params).filter((function(t){return null!=t[1]&&(""+t[1]).length>0})).map((function(t){var a=(0,it.Z)(t,2),e=a[0],n=a[1];return e+"="+n})).join("&")},_startStreaming:function(t){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(t,"video."+this.attrs.stream_format))},stopStreaming:function(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture:function(t){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(t,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded:function(){this.capturing&&(this.capturing=!1)},onDeviceChanged:function(){},onFlipChanged:function(){},onSizeChanged:function(){var t=function(t){return t*Math.PI/180},a=t(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(a)+this.params.resolution[1]*Math.sin(a)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(a)+this.params.resolution[1]*Math.cos(a)))+"px"},onFpsChanged:function(){},onGrayscaleChanged:function(){},startAudio:function(){this.audioOn=!0},stopAudio:function(){var t=this;return(0,rt.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.audioOn=!1,a.next=3,t.request("sound.stop_recording");case 3:case"end":return a.stop()}}),a)})))()}},created:function(){var t=this.$root.config["camera.".concat(this.cameraPlugin)]||{};this.attrs={resolution:t.resolution||[640,480],device:t.device,horizontal_flip:t.horizontal_flip||0,vertical_flip:t.vertical_flip||0,rotate:t.rotate||0,scale_x:t.scale_x||1,scale_y:t.scale_y||1,fps:t.fps||16,grayscale:t.grayscale||0,stream_format:t.stream_format||"mjpeg"}},mounted:function(){var t=this;this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((function(){return t.attrs.resolution}),this.onSizeChanged),this.$watch((function(){return t.attrs.horizontal_flip}),this.onSizeChanged),this.$watch((function(){return t.attrs.vertical_flip}),this.onSizeChanged),this.$watch((function(){return t.attrs.rotate}),this.onSizeChanged),this.$watch((function(){return t.attrs.scale_x}),this.onSizeChanged),this.$watch((function(){return t.attrs.scale_y}),this.onSizeChanged)}};const lt=ot;var ut=lt,ct=e(9642),pt={name:"Camera",components:{Modal:ct.Z},mixins:[ut],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL:function(){return"".concat(window.location.protocol,"//").concat(window.location.host).concat(this.url)}},methods:{startStreaming:function(){this._startStreaming(this.cameraPlugin)},capture:function(){this._capture(this.cameraPlugin)}}},ht=e(3744);const dt=(0,ht.Z)(pt,[["render",nt]]);var ft=dt}}]); -//# sourceMappingURL=5528-legacy.9ed2c6bd.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5528],{5528:function(t,a,e){e.r(a),e.d(a,{default:function(){return ft}});var n=e(6252),r=e(9963),i={class:"camera"},s={class:"camera-container"},o={class:"frame-container",ref:"frameContainer"},l={key:0,class:"no-frame"},u=["src"],c={class:"controls"},p={class:"left"},h=["disabled"],d=(0,n._)("i",{class:"fa fa-play"},null,-1),f=[d],m=["disabled"],g=(0,n._)("i",{class:"fa fa-stop"},null,-1),_=[g],y=["disabled"],C=(0,n._)("i",{class:"fas fa-camera"},null,-1),v=[C],w={class:"right"},b=(0,n._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,n._)("i",{class:"fas fa-volume-up"},null,-1),x=[k],z=(0,n._)("i",{class:"fas fa-cog"},null,-1),F=[z],U={class:"audio-container"},D={key:0,autoplay:"",preload:"none",ref:"player"},M=["src"],V=(0,n.Uk)(" Your browser does not support audio elements "),$={key:0,class:"url"},q={class:"row"},P=(0,n._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},R=(0,n._)("span",{class:"name"},"Device",-1),Z={class:"row"},j=(0,n._)("span",{class:"name"},"Width",-1),G={class:"row"},I=(0,n._)("span",{class:"name"},"Height",-1),T={class:"row"},W=(0,n._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,n._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,n._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,n._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,n._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},tt=(0,n._)("span",{class:"name"},"Frames per second",-1),at={class:"row"},et=(0,n._)("span",{class:"name"},"Grayscale",-1);function nt(t,a,e,d,g,C){var b,k=(0,n.up)("Slot"),z=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",s,[(0,n._)("div",o,[t.streaming||t.capturing||t.captured?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",l,"The camera is not active")),(0,n._)("img",{class:"frame",src:t.url,ref:"frame",alt:""},null,8,u)],512),(0,n._)("div",c,[(0,n._)("div",p,[t.streaming?((0,n.wg)(),(0,n.iD)("button",{key:1,type:"button",onClick:a[1]||(a[1]=function(){return t.stopStreaming&&t.stopStreaming.apply(t,arguments)}),disabled:t.capturing,title:"Stop video"},_,8,m)):((0,n.wg)(),(0,n.iD)("button",{key:0,type:"button",onClick:a[0]||(a[0]=function(){return C.startStreaming&&C.startStreaming.apply(C,arguments)}),disabled:t.capturing,title:"Start video"},f,8,h)),t.streaming?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("button",{key:2,type:"button",onClick:a[2]||(a[2]=function(){return C.capture&&C.capture.apply(C,arguments)}),disabled:t.streaming||t.capturing,title:"Take a picture"},v,8,y))]),(0,n._)("div",w,[t.audioOn?((0,n.wg)(),(0,n.iD)("button",{key:1,type:"button",onClick:a[4]||(a[4]=function(){return t.stopAudio&&t.stopAudio.apply(t,arguments)}),title:"Stop audio"},x)):((0,n.wg)(),(0,n.iD)("button",{key:0,type:"button",onClick:a[3]||(a[3]=function(){return t.startAudio&&t.startAudio.apply(t,arguments)}),title:"Start audio"},S)),(0,n._)("button",{type:"button",onClick:a[5]||(a[5]=function(a){return t.$refs.paramsModal.show()}),title:"Settings"},F)])])]),(0,n._)("div",U,[t.audioOn?((0,n.wg)(),(0,n.iD)("audio",D,[(0,n._)("source",{src:"/sound/stream?t=".concat((new Date).getTime()),type:"audio/x-wav;codec=pcm"},null,8,M),V],512)):(0,n.kq)("",!0)]),null!==(b=t.url)&&void 0!==b&&b.length?((0,n.wg)(),(0,n.iD)("div",$,[(0,n._)("label",q,[P,(0,n._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,n.kq)("",!0),(0,n.Wm)(z,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,n.w5)((function(){return[(0,n._)("div",L,[(0,n._)("label",O,[R,(0,n.wy)((0,n._)("input",{name:"device",type:"text","onUpdate:modelValue":a[6]||(a[6]=function(a){return t.attrs.device=a}),onChange:a[7]||(a[7]=function(){return t.onDeviceChanged&&t.onDeviceChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.device]])]),(0,n._)("label",Z,[j,(0,n.wy)((0,n._)("input",{name:"width",type:"text","onUpdate:modelValue":a[8]||(a[8]=function(a){return t.attrs.resolution[0]=a}),onChange:a[9]||(a[9]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.resolution[0]]])]),(0,n._)("label",G,[I,(0,n.wy)((0,n._)("input",{name:"height",type:"text","onUpdate:modelValue":a[10]||(a[10]=function(a){return t.attrs.resolution[1]=a}),onChange:a[11]||(a[11]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.resolution[1]]])]),(0,n._)("label",T,[W,(0,n.wy)((0,n._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":a[12]||(a[12]=function(a){return t.attrs.horizontal_flip=a}),onChange:a[13]||(a[13]=function(){return t.onFlipChanged&&t.onFlipChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.horizontal_flip]])]),(0,n._)("label",H,[Y,(0,n.wy)((0,n._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":a[14]||(a[14]=function(a){return t.attrs.vertical_flip=a}),onChange:a[15]||(a[15]=function(){return t.onFlipChanged&&t.onFlipChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.vertical_flip]])]),(0,n._)("label",E,[X,(0,n.wy)((0,n._)("input",{name:"rotate",type:"text","onUpdate:modelValue":a[16]||(a[16]=function(a){return t.attrs.rotate=a}),onChange:a[17]||(a[17]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.rotate]])]),(0,n._)("label",B,[J,(0,n.wy)((0,n._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":a[18]||(a[18]=function(a){return t.attrs.scale_x=a}),onChange:a[19]||(a[19]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.scale_x]])]),(0,n._)("label",K,[N,(0,n.wy)((0,n._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":a[20]||(a[20]=function(a){return t.attrs.scale_y=a}),onChange:a[21]||(a[21]=function(){return t.onSizeChanged&&t.onSizeChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.scale_y]])]),(0,n._)("label",Q,[tt,(0,n.wy)((0,n._)("input",{name:"fps",type:"text","onUpdate:modelValue":a[22]||(a[22]=function(a){return t.attrs.fps=a}),onChange:a[23]||(a[23]=function(){return t.onFpsChanged&&t.onFpsChanged.apply(t,arguments)})},null,544),[[r.nr,t.attrs.fps]])]),(0,n._)("label",at,[et,(0,n.wy)((0,n._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":a[24]||(a[24]=function(a){return t.attrs.grayscale=a}),onChange:a[25]||(a[25]=function(){return t.onGrayscaleChanged&&t.onGrayscaleChanged.apply(t,arguments)})},null,544),[[r.e8,t.attrs.grayscale]])]),(0,n.Wm)(k)])]})),_:1},512)])}e(2222);var rt=e(8534),it=e(6084),st=(e(5666),e(9600),e(1249),e(7327),e(1539),e(9720),e(6813)),ot={name:"CameraMixin",mixins:[st.Z],props:{cameraPlugin:{type:String,required:!0}},data:function(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params:function(){var t;return{resolution:this.attrs.resolution,device:null!==(t=this.attrs.device)&&void 0!==t&&t.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl:function(t,a){return"/camera/"+t+"/"+a+"?"+Object.entries(this.params).filter((function(t){return null!=t[1]&&(""+t[1]).length>0})).map((function(t){var a=(0,it.Z)(t,2),e=a[0],n=a[1];return e+"="+n})).join("&")},_startStreaming:function(t){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(t,"video."+this.attrs.stream_format))},stopStreaming:function(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture:function(t){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(t,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded:function(){this.capturing&&(this.capturing=!1)},onDeviceChanged:function(){},onFlipChanged:function(){},onSizeChanged:function(){var t=function(t){return t*Math.PI/180},a=t(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(a)+this.params.resolution[1]*Math.sin(a)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(a)+this.params.resolution[1]*Math.cos(a)))+"px"},onFpsChanged:function(){},onGrayscaleChanged:function(){},startAudio:function(){this.audioOn=!0},stopAudio:function(){var t=this;return(0,rt.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.audioOn=!1,a.next=3,t.request("sound.stop_recording");case 3:case"end":return a.stop()}}),a)})))()}},created:function(){var t=this.$root.config["camera.".concat(this.cameraPlugin)]||{};this.attrs={resolution:t.resolution||[640,480],device:t.device,horizontal_flip:t.horizontal_flip||0,vertical_flip:t.vertical_flip||0,rotate:t.rotate||0,scale_x:t.scale_x||1,scale_y:t.scale_y||1,fps:t.fps||16,grayscale:t.grayscale||0,stream_format:t.stream_format||"mjpeg"}},mounted:function(){var t=this;this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((function(){return t.attrs.resolution}),this.onSizeChanged),this.$watch((function(){return t.attrs.horizontal_flip}),this.onSizeChanged),this.$watch((function(){return t.attrs.vertical_flip}),this.onSizeChanged),this.$watch((function(){return t.attrs.rotate}),this.onSizeChanged),this.$watch((function(){return t.attrs.scale_x}),this.onSizeChanged),this.$watch((function(){return t.attrs.scale_y}),this.onSizeChanged)}};const lt=ot;var ut=lt,ct=e(8453),pt={name:"Camera",components:{Modal:ct.Z},mixins:[ut],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL:function(){return"".concat(window.location.protocol,"//").concat(window.location.host).concat(this.url)}},methods:{startStreaming:function(){this._startStreaming(this.cameraPlugin)},capture:function(){this._capture(this.cameraPlugin)}}},ht=e(3744);const dt=(0,ht.Z)(pt,[["render",nt]]);var ft=dt}}]); +//# sourceMappingURL=5528-legacy.5b7db199.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js.map b/platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js.map rename to platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js.map index 935b626a9..f6fc7f8c1 100644 --- a/platypush/backend/http/webapp/dist/static/js/5528-legacy.9ed2c6bd.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5528-legacy.5b7db199.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5528-legacy.9ed2c6bd.js","mappings":"2LACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAyC,QAAnCA,MAAM,QAAO,mBAAe,G,GAI7BA,MAAM,O,GACX,OAAuC,QAAjCA,MAAM,QAAO,iBAAa,G,GAI3BA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,IACX,OAA2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/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/5528-legacy.5b7db199.js","mappings":"2LACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MA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eAC9CoB,KAAKuC,QAAO,kBAAM,EAAK/D,MAAMK,eAAjB,GAAkCmB,KAAKpB,eACnDoB,KAAKuC,QAAO,kBAAM,EAAK/D,MAAMO,aAAjB,GAAgCiB,KAAKpB,eACjDoB,KAAKuC,QAAO,kBAAM,EAAK/D,MAAMQ,MAAjB,GAAyBgB,KAAKpB,eAC1CoB,KAAKuC,QAAO,kBAAM,EAAK/D,MAAMS,OAAjB,GAA0Be,KAAKpB,eAC3CoB,KAAKuC,QAAO,kBAAM,EAAK/D,MAAMU,OAAjB,GAA0Bc,KAAKpB,cAC5C,GC/HH,MAAM4D,GAAc,GAEpB,U,WFgHA,IACEnE,KAAM,SACNoE,WAAY,CAACC,MAAAA,GAAA,GACbnD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,QADQ,WAEN,gBAAUoE,OAAOC,SAASC,SAA1B,aAAuCF,OAAOC,SAASE,MAAvD,OAA8D9C,KAAK5C,IACpE,GAGH+C,QAAS,CACPzC,eADO,WAELsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,QALO,WAMLqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASqD,MAEpE,S","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js b/platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js rename to platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js index 49bba28d0..7788829e9 100644 --- a/platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js +++ b/platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ua}});var s=e(6252),n=e(9963);const i={class:"camera"},l={class:"camera-container"},r={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},h={class:"left"},u=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),W={class:"row"},Z=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",l,[(0,s._)("div",r,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",h,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,u)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",W,[Z,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const la=ia;var ra=la,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[ra],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ha=(0,pa.Z)(ca,[["render",sa]]);var ua=ha}}]); -//# sourceMappingURL=5528.1559d45a.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ua}});var s=e(6252),n=e(9963);const i={class:"camera"},l={class:"camera-container"},r={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],p={class:"controls"},h={class:"left"},u=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),W={class:"row"},Z=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",l,[(0,s._)("div",r,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",p,[(0,s._)("div",h,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,u)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",W,[Z,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const la=ia;var ra=la,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[ra],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},pa=e(3744);const ha=(0,pa.Z)(ca,[["render",sa]]);var ua=ha}}]); +//# sourceMappingURL=5528.f33f80c6.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js.map b/platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js.map rename to platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js.map index 623c21fef..3f4d9267c 100644 --- a/platypush/backend/http/webapp/dist/static/js/5528.1559d45a.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5528.f33f80c6.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5528.1559d45a.js","mappings":"iMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAyC,QAAnCA,MAAM,QAAO,mBAAe,G,GAI7BA,MAAM,O,GACX,OAAuC,QAAjCA,MAAM,QAAO,iBAAa,G,GAI3BA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,G,GAIrBA,MAAM,O,IACX,OAA2C,QAArCA,MAAM,QAAO,qBAAiB,G,IAI/BA,MAAM,O,IACX,OAAmC,Q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C,QAAO,IAAMxC,KAAKxB,MAAMO,eAAeiB,KAAKpB,eACjDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/5528.f33f80c6.js","mappings":"iMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OA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CC,OAAQmD,EAAOnD,QAAU,EACzBC,QAASkD,EAAOlD,SAAW,EAC3BC,QAASiD,EAAOjD,SAAW,EAC3BC,IAAKgD,EAAOhD,KAAO,GACnBE,UAAW8C,EAAO9C,WAAa,EAC/B2B,cAAemB,EAAOnB,eAAiB,QAE1C,EAEDqB,UACErC,KAAKjC,MAAMuE,MAAMC,iBAAiB,OAAQvC,KAAKkB,eAC/ClB,KAAKpB,gBACLoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMG,YAAYqB,KAAKpB,eAC9CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMK,iBAAiBmB,KAAKpB,eACnDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMO,eAAeiB,KAAKpB,eACjDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5810.20e20935.js b/platypush/backend/http/webapp/dist/static/js/5810.d365373f.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5810.20e20935.js rename to platypush/backend/http/webapp/dist/static/js/5810.d365373f.js index 81d8788ba..ff3e0d1a7 100644 --- a/platypush/backend/http/webapp/dist/static/js/5810.20e20935.js +++ b/platypush/backend/http/webapp/dist/static/js/5810.d365373f.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5810],{376:function(e,n,a){a.d(n,{Z:function(){return h}});var t=a(6252),s=a(9963),l=a(3577);const i={class:"slider-wrapper"},o=["min","max","step","disabled","value"],d={class:"track"},c={class:"track-inner",ref:"track"},r={class:"thumb",ref:"thumb"},u=["textContent"];function m(e,n,a,m,v,_){return(0,t.wg)(),(0,t.iD)("label",i,[(0,t._)("input",{class:"slider",type:"range",ref:"range",min:a.range[0],max:a.range[1],step:a.step,disabled:a.disabled,value:a.value,onInput:n[0]||(n[0]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onChange:n[1]||(n[1]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onMouseup:n[2]||(n[2]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onMousedown:n[3]||(n[3]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onTouchstart:n[4]||(n[4]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onTouchend:n[5]||(n[5]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onKeyup:n[6]||(n[6]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onKeydown:n[7]||(n[7]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"]))},null,40,o),(0,t._)("div",d,[(0,t._)("div",c,null,512)]),(0,t._)("div",r,null,512),a.withLabel?((0,t.wg)(),(0,t.iD)("span",{key:0,class:"label",textContent:(0,l.zw)(a.value)},null,8,u)):(0,t.kq)("",!0)])}var v={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const n=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${n}%`,this.$refs.thumb.style.transform=`translate(-${n}%, -50%)`,this.$refs.track.style.width=`${n}%`}},mounted(){null!=this.value&&this.update(this.value)}},_=a(3744);const p=(0,_.Z)(v,[["render",m],["__scopeId","data-v-95edc28a"]]);var h=p},6:function(e,n,a){a.d(n,{Z:function(){return _}});var t=a(6252),s=a(3577),l=a(9963);const i=e=>((0,t.dD)("data-v-a6396ae8"),e=e(),(0,t.Cn)(),e),o=["checked"],d=i((()=>(0,t._)("div",{class:"switch"},[(0,t._)("div",{class:"dot"})],-1))),c={class:"label"};function r(e,n,a,i,r,u){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:a.disabled}]),onClick:n[0]||(n[0]=(0,l.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,t._)("input",{type:"checkbox",checked:a.value},null,8,o),(0,t._)("label",null,[d,(0,t._)("span",c,[(0,t.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},m=a(3744);const v=(0,m.Z)(u,[["render",r],["__scopeId","data-v-a6396ae8"]]);var _=v},5810:function(e,n,a){a.d(n,{Z:function(){return js}});var t=a(6252),s=a(3577);const l={class:"zwave-container"},i={class:"network-info"},o={key:1,class:"params"},d={class:"row"},c=(0,t._)("div",{class:"param-name"},"State",-1),r=["textContent"],u={class:"row"},m=(0,t._)("div",{class:"param-name"},"Device",-1),v=["textContent"],_={class:"section"},p=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Statistics")],-1),h={class:"body"},w=["textContent"],g=["textContent"],y={class:"group-add"},f={class:"params"},k={class:"section"},b=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Select nodes to add")],-1),C={key:0,class:"body"},x=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},I=(0,t._)("i",{class:"fa fa-plus"},null,-1),S=[I],j=(0,t._)("i",{class:"fa fa-sync-alt"},null,-1),M=[j],V={class:"view-container"},O={key:0,class:"view nodes"},Z={key:1,class:"no-items"},A=(0,t._)("div",{class:"empty"},"No nodes available on the network",-1),U=[A],T={key:1,class:"view groups"},E={key:1,class:"no-items"},$=(0,t._)("div",{class:"empty"},"No groups available on the network",-1),W=[$],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,t._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,t._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,t._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},ae=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Values")],-1),te={class:"body"},se={class:"param-name"},le={class:"param-value"},ie=["textContent"],oe={class:"buttons"},de=["onClick"],ce=(0,t._)("i",{class:"fa fa-trash"},null,-1),re=[ce],ue={class:"section actions"},me=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1),ve={class:"body"},_e=["onClick"],pe=(0,t._)("div",{class:"param-name"},"Remove Scene",-1),he=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1),we=[pe,he],ge=["onClick"],ye=(0,t._)("div",{class:"param-name"},"Rename Scene",-1),fe=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-edit"})],-1),ke=[ye,fe],be={key:3,class:"view values"},Ce={key:1,class:"no-items"},xe=(0,t._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[xe],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,a,I,j,A){const $=(0,t.up)("Loading"),G=(0,t.up)("Modal"),ce=(0,t.up)("DropdownItem"),pe=(0,t.up)("Dropdown"),he=(0,t.up)("Node"),ye=(0,t.up)("Group"),fe=(0,t.up)("ToggleSwitch"),xe=(0,t.up)("Value");return(0,t.wg)(),(0,t.iD)("div",l,[(0,t.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,t.w5)((()=>[(0,t._)("div",i,[j.loading.status?((0,t.wg)(),(0,t.j4)($,{key:0})):((0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",d,[c,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.state)},null,8,r)]),(0,t._)("div",u,[m,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.device)},null,8,v)]),(0,t._)("div",_,[p,(0,t._)("div",h,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.status.stats,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(n)},null,8,w),(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e)},null,8,g)])))),128))])])]))])])),_:1},512),(0,t.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,t.w5)((()=>[(0,t._)("div",y,[(0,t._)("div",f,[(0,t._)("div",k,[b,null!=j.selected.groupId?((0,t.wg)(),(0,t.iD)("div",C,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(j.nodes||{}).filter((e=>j.groups[j.selected.groupId].associations.indexOf(e.node_id)<0)),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row clickable",onClick:n=>A.addToGroup(e.node_id,j.selected.groupId),key:e.node_id},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(e.name)},null,8,R)],8,x)))),128))])):(0,t.kq)("",!0)])])])])),_:1},512),(0,t._)("div",z,[(0,t._)("div",D,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[0]||(n[0]=e=>j.selected.view=e.target.value)},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.views,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{key:e,textContent:(0,s.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===j.selected.view,value:n},null,8,N)))),128))],32)])]),(0,t._)("div",q,["scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=(...e)=>A.addScene&&A.addScene(...e))},S)):(0,t.kq)("",!0),(0,t.Wm)(pe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,t.w5)((()=>[(0,t.Wm)(ce,{text:"Network Info",disabled:j.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Start Network",disabled:j.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Stop Network",disabled:j.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:0,text:"Add Node",disabled:j.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:1,text:"Remove Node",disabled:j.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),(0,t.Wm)(ce,{text:"Switch All On",disabled:j.commandRunning,onClick:n[2]||(n[2]=e=>A.switchAll(!0))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Switch All Off",disabled:j.commandRunning,onClick:n[3]||(n[3]=e=>A.switchAll(!1))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Cancel Command",disabled:j.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Kill Command",disabled:j.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Receive Configuration",disabled:j.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Create New Primary",disabled:j.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Transfer Primary Role",disabled:j.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Heal Network",disabled:j.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Soft Reset",disabled:j.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Hard Reset",disabled:j.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])])),_:1}),(0,t._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=(...e)=>A.refresh&&A.refresh(...e))},M)])]),(0,t._)("div",V,["nodes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",O,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Z,U)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.j4)(he,{key:a,node:n,selected:j.selected.nodeId===a,"plugin-name":e.pluginName,onSelect:e=>A.onNodeClick(a)},null,8,["node","selected","plugin-name","onSelect"])))),128))])):"groups"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",T,[j.loading.groups?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.groups||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",E,W)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.groups,((a,s)=>((0,t.wg)(),(0,t.j4)(ye,{key:s,group:a,selected:j.selected.groupId===s,nodes:s in j.groups?j.groups[s].associations.map((e=>j.nodes[e])).reduce(((e,n)=>(e[n.node_id]=n,e)),{}):{},owner:null!=a.node_id?j.nodes[a.node_id]:null,"plugin-name":e.pluginName,onSelect:e=>j.selected.groupId=s===j.selected.groupId?void 0:s,onOpenAddNodesToGroup:n[5]||(n[5]=n=>e.$refs.addNodesToGroupModal.show())},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])))),128))])):"scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",F,[j.loading.scenes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.scenes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",H,K)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.scenes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item scene",{selected:j.selected.sceneId===n}]),key:n},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.sceneId===n}]),textContent:(0,s.zw)(e.label),onClick:e=>j.selected.sceneId=n===j.selected.sceneId?void 0:n},null,10,L),j.selected.sceneId===n?((0,t.wg)(),(0,t.iD)("div",B,[(0,t._)("div",Y,[P,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(n)},null,8,J)]),(0,t._)("div",Q,[X,(0,t._)("div",ee,[(0,t.Wm)(fe,{value:!1,onInput:e=>A.activateScene(n)},null,8,["onInput"])])]),Object.values(e?.values)?.length?((0,t.wg)(),(0,t.iD)("div",ne,[ae,(0,t._)("div",te,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(e.values),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:e.id_on_network},[(0,t._)("div",se,(0,s.zw)(j.nodes[e.node_id].name)+" ⇨ "+(0,s.zw)(A.valuesMap[e.id_on_network].label),1),(0,t._)("div",le,[(0,t._)("span",{textContent:(0,s.zw)(e.data)},null,8,ie),(0,t._)("span",oe,[(0,t._)("button",{class:"btn btn-default",title:"Remove value",onClick:a=>A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})},re,8,de)])])])))),128))])])):(0,t.kq)("",!0),(0,t._)("div",ue,[me,(0,t._)("div",ve,[(0,t._)("div",{class:"row",onClick:e=>A.removeScene(n)},we,8,_e),(0,t._)("div",{class:"row",onClick:e=>A.renameScene(n)},ke,8,ge)])])])):(0,t.kq)("",!0)],2)))),128))])):((0,t.wg)(),(0,t.iD)("div",be,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Ce,Re)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"node-container",key:a},["values"===j.selected.view||Object.values(n.values).filter((e=>e.id_on_network in j.values[j.selected.view])).length>0?((0,t.wg)(),(0,t.iD)("div",{key:0,class:(0,s.C_)(["item node",{selected:j.selected.nodeId===a}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.nodeId===a}]),textContent:(0,s.zw)(n.name),onClick:e=>A.onNodeClick(a)},null,10,ze),j.selected.nodeId===a?((0,t.wg)(),(0,t.iD)("div",De,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(n.values,((a,s)=>((0,t.wg)(),(0,t.iD)("div",{class:"value-container",key:s},[a.id_on_network&&("values"===j.selected.view||a.id_on_network in j.values[j.selected.view])?((0,t.wg)(),(0,t.iD)("div",Ne,[(0,t.Wm)(xe,{value:a,node:n,scenes:j.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,t.kq)("",!0)])))),128))])):(0,t.kq)("",!0)],2)):(0,t.kq)("",!0)])))),128))]))])])}const Ie=e=>((0,t.dD)("data-v-56458f8e"),e=e(),(0,t.Cn)(),e),Se=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Owner")],-1))),Oe={class:"body"},Ze=["textContent"],Ae={class:"section nodes"},Ue={class:"header"},Te=Ie((()=>(0,t._)("div",{class:"title col-10"},"Nodes",-1))),Ee={class:"buttons col-2"},$e=Ie((()=>(0,t._)("i",{class:"fa fa-plus"},null,-1))),We=[$e],Fe={class:"body"},He=["textContent"],Ge={class:"buttons col-2"},Ke=["disabled","onClick"],Le=Ie((()=>(0,t._)("i",{class:"fa fa-trash"},null,-1))),Be=[Le],Ye={class:"section config"},Pe=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Parameters")],-1))),Je={class:"body"},Qe={class:"row"},Xe=Ie((()=>(0,t._)("div",{class:"param-name"},"Index",-1))),en=["textContent"],nn={class:"row"},an=Ie((()=>(0,t._)("div",{class:"param-name"},"Max associations",-1))),tn=["textContent"];function sn(e,n,a,l,i,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item group",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.group.label),onClick:n[0]||(n[0]=n=>e.$emit("select",a.group.index))},null,10,Se),a.selected?((0,t.wg)(),(0,t.iD)("div",je,[a.owner&&Object.keys(a.owner).length?((0,t.wg)(),(0,t.iD)("div",Me,[Ve,(0,t._)("div",Oe,[(0,t._)("div",{class:"row",textContent:(0,s.zw)(a.owner.name)},null,8,Ze)])])):(0,t.kq)("",!0),(0,t._)("div",Ae,[(0,t._)("div",Ue,[Te,(0,t._)("div",Ee,[!a.group.max_associations||Object.keys(a.nodes||{}).lengthe.$emit("open-add-nodes-to-group",a.group.index))},We)):(0,t.kq)("",!0)])]),(0,t._)("div",Fe,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.nodes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"col-10",textContent:(0,s.zw)(e.name?.length?e.name:``)},null,8,He),(0,t._)("div",Ge,[(0,t._)("button",{class:"btn btn-default",title:"Remove from group",disabled:i.commandRunning,onClick:n=>o.removeFromGroup(e.node_id)},Be,8,Ke)])])))),128))])]),(0,t._)("div",Ye,[Pe,(0,t._)("div",Je,[(0,t._)("div",Qe,[Xe,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.index)},null,8,en)]),(0,t._)("div",nn,[an,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.max_associations)},null,8,tn)])])])])):(0,t.kq)("",!0)],2)}var ln=a(6813),on={mixins:[ln.Z],props:{pluginName:{type:String,required:!0}},methods:{async zrequest(e,n){return await this.request(`${this.pluginName}.${e}`,n)}}},dn={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[on],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1}},methods:{async removeFromGroup(e){if(!confirm("Are you sure that you want to remove this node from "+this.group.label+"?"))return;this.commandRunning=!0;const n={node_id:e};null!=this.group.group_id?n.group_id=this.group.group_id:n.group_index=this.group.index;try{await this.zrequest("remove_node_from_group",n)}finally{this.commandRunning=!1}}}},cn=a(3744);const rn=(0,cn.Z)(dn,[["render",sn],["__scopeId","data-v-56458f8e"]]);var un=rn,mn=a(9963);const vn=e=>((0,t.dD)("data-v-3da196a6"),e=e(),(0,t.Cn)(),e),_n=["textContent"],pn={key:0,class:"params"},hn={class:"row"},wn=vn((()=>(0,t._)("div",{class:"param-name"},"Name",-1))),gn={class:"param-value"},yn=["value","disabled"],fn={class:"buttons"},kn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),bn=[kn],Cn=["disabled"],xn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),Rn=[xn],zn=["textContent"],Dn={class:"buttons"},Nn=["disabled"],qn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),In=[qn],Sn={class:"row"},jn=vn((()=>(0,t._)("div",{class:"param-name"},"Location",-1))),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},Zn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),An=[Zn],Un=["disabled"],Tn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),En=[Tn],$n=["textContent"],Wn={class:"buttons"},Fn=["disabled"],Hn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Gn=[Hn],Kn={class:"row"},Ln=vn((()=>(0,t._)("div",{class:"param-name"},"Type",-1))),Bn=["textContent"],Yn={class:"row"},Pn=vn((()=>(0,t._)("div",{class:"param-name"},"Role",-1))),Jn=["textContent"],Qn={class:"row"},Xn=vn((()=>(0,t._)("div",{class:"param-name"},"Node ID",-1))),ea=["textContent"],na={key:0,class:"row"},aa=vn((()=>(0,t._)("div",{class:"param-name"},"Neighbours",-1))),ta={class:"param-value"},sa=["textContent"],la={class:"row"},ia=vn((()=>(0,t._)("div",{class:"param-name"},"Is Ready",-1))),oa=["textContent"],da={class:"row"},ca=vn((()=>(0,t._)("div",{class:"param-name"},"Is Failed",-1))),ra=["textContent"],ua={class:"row"},ma=vn((()=>(0,t._)("div",{class:"param-name"},"Product ID",-1))),va=["textContent"],_a={class:"row"},pa=vn((()=>(0,t._)("div",{class:"param-name"},"Product Type",-1))),ha=["textContent"],wa={key:1,class:"row"},ga=vn((()=>(0,t._)("div",{class:"param-name"},"Product Name",-1))),ya=["textContent"],fa={class:"row"},ka=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer ID",-1))),ba=["textContent"],Ca={key:2,class:"row"},xa=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer Name",-1))),Ra=["textContent"],za={class:"row"},Da=vn((()=>(0,t._)("div",{class:"param-name"},"Capabilities",-1))),Na=["textContent"],qa={class:"row"},Ia=vn((()=>(0,t._)("div",{class:"param-name"},"Command Classes",-1))),Sa=["textContent"],ja={class:"row"},Ma=vn((()=>(0,t._)("div",{class:"param-name"},"Groups",-1))),Va=["textContent"],Oa={key:3,class:"row"},Za=vn((()=>(0,t._)("div",{class:"param-name"},"Home ID",-1))),Aa=["textContent"],Ua={class:"row"},Ta=vn((()=>(0,t._)("div",{class:"param-name"},"Is Awake",-1))),Ea=["textContent"],$a={key:4,class:"row"},Wa=vn((()=>(0,t._)("div",{class:"param-name"},"Is Locked",-1))),Fa=["textContent"],Ha={key:5,class:"row"},Ga=vn((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),Ka=["textContent"],La={key:6,class:"row"},Ba=vn((()=>(0,t._)("div",{class:"param-name"},"Baud Rate",-1))),Ya=["textContent"],Pa={key:7,class:"row"},Ja=vn((()=>(0,t._)("div",{class:"param-name"},"Max Baud Rate",-1))),Qa=["textContent"],Xa={class:"section actions"},et=vn((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1))),nt={class:"body"},at=vn((()=>(0,t._)("div",{class:"param-name"},"Remove Failed Node",-1))),tt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),st=[at,tt],lt=vn((()=>(0,t._)("div",{class:"param-name"},"Replace Failed Node",-1))),it=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-sync-alt"})],-1))),ot=[lt,it],dt=vn((()=>(0,t._)("div",{class:"param-name"},"Heal Node",-1))),ct=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wrench"})],-1))),rt=[dt,ct],ut=vn((()=>(0,t._)("div",{class:"param-name"},"Replicate info to secondary controller",-1))),mt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-clone"})],-1))),vt=[ut,mt],_t=vn((()=>(0,t._)("div",{class:"param-name"},"Request network update",-1))),pt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wifi"})],-1))),ht=[_t,pt],wt=vn((()=>(0,t._)("div",{class:"param-name"},"Request neighbours update",-1))),gt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-network-wired"})],-1))),yt=[wt,gt];function ft(e,n,a,l,i,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item node",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.node.name&&a.node.name.length?a.node.name:``),onClick:n[0]||(n[0]=n=>e.$emit("select"))},null,10,_n),a.selected?((0,t.wg)(),(0,t.iD)("div",pn,[(0,t._)("div",hn,[wn,(0,t._)("div",gn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!i.editMode.name}])},[(0,t._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)(((...e)=>o.editName&&o.editName(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"name",value:a.node.name,disabled:i.commandRunning},null,8,yn)]),(0,t._)("span",fn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=e=>i.editMode.name=!1)},bn),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:i.commandRunning},Rn,8,Cn)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:i.editMode.name})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.name?.length?a.node.name:``)},null,8,zn),(0,t._)("span",Dn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=e=>o.onEditMode("name")),disabled:i.commandRunning},In,8,Nn)])],2)])]),(0,t._)("div",Sn,[jn,(0,t._)("div",Mn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!i.editMode.location}])},[(0,t._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)(((...e)=>o.editLocation&&o.editLocation(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"location",value:a.node.location,disabled:i.commandRunning},null,8,Vn)]),(0,t._)("span",On,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=e=>i.editMode.location=!1)},An),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:i.commandRunning},En,8,Un)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:i.editMode.location})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.location?.length?a.node.location:"")},null,8,$n),(0,t._)("span",Wn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=e=>o.onEditMode("location")),disabled:i.commandRunning},Gn,8,Fn)])],2)])]),(0,t._)("div",Kn,[Ln,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.type)},null,8,Bn)]),(0,t._)("div",Yn,[Pn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.role)},null,8,Jn)]),(0,t._)("div",Qn,[Xn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.node_id)},null,8,ea)]),a.node.neighbours.length?((0,t.wg)(),(0,t.iD)("div",na,[aa,(0,t._)("div",ta,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.node.neighbours,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row pull-right",key:n,textContent:(0,s.zw)(e)},null,8,sa)))),128))])])):(0,t.kq)("",!0),(0,t._)("div",la,[ia,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_ready)},null,8,oa)]),(0,t._)("div",da,[ca,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_failed)},null,8,ra)]),(0,t._)("div",ua,[ma,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,va)]),(0,t._)("div",_a,[pa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_type)},null,8,ha)]),a.node.product_name?.length?((0,t.wg)(),(0,t.iD)("div",wa,[ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_name)},null,8,ya)])):(0,t.kq)("",!0),(0,t._)("div",fa,[ka,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,ba)]),a.node.manufacturer_name?.length?((0,t.wg)(),(0,t.iD)("div",Ca,[xa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_name)},null,8,Ra)])):(0,t.kq)("",!0),(0,t._)("div",za,[Da,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.capabilities.join(", "))},null,8,Na)]),(0,t._)("div",qa,[Ia,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.command_classes.join(", "))},null,8,Sa)]),(0,t._)("div",ja,[Ma,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(Object.values(a.node.groups).map((e=>e.label||"")).join(", "))},null,8,Va)]),a.node.home_id?((0,t.wg)(),(0,t.iD)("div",Oa,[Za,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.home_id.toString(16))},null,8,Aa)])):(0,t.kq)("",!0),(0,t._)("div",Ua,[Ta,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_awake)},null,8,Ea)]),null!=a.node.is_locked?((0,t.wg)(),(0,t.iD)("div",$a,[Wa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_locked)},null,8,Fa)])):(0,t.kq)("",!0),a.node.last_update?((0,t.wg)(),(0,t.iD)("div",Ha,[Ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.node.last_update))},null,8,Ka)])):(0,t.kq)("",!0),a.node.baud_rate?((0,t.wg)(),(0,t.iD)("div",La,[Ba,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.baud_rate)},null,8,Ya)])):(0,t.kq)("",!0),a.node.max_baud_rate?((0,t.wg)(),(0,t.iD)("div",Pa,[Ja,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.max_baud_rate)},null,8,Qa)])):(0,t.kq)("",!0),(0,t._)("div",Xa,[et,(0,t._)("div",nt,[a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=(...e)=>o.removeFailedNode&&o.removeFailedNode(...e))},st)):(0,t.kq)("",!0),a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=(...e)=>o.replaceFailedNode&&o.replaceFailedNode(...e))},ot)):(0,t.kq)("",!0),(0,t._)("div",{class:"row",onClick:n[9]||(n[9]=(...e)=>o.heal&&o.heal(...e))},rt),(0,t._)("div",{class:"row",onClick:n[10]||(n[10]=(...e)=>o.replicationSend&&o.replicationSend(...e))},vt),(0,t._)("div",{class:"row",onClick:n[11]||(n[11]=(...e)=>o.requestNetworkUpdate&&o.requestNetworkUpdate(...e))},ht),(0,t._)("div",{class:"row",onClick:n[12]||(n[12]=(...e)=>o.requestNeighbourUpdate&&o.requestNeighbourUpdate(...e))},yt)])])])):(0,t.kq)("",!0)],2)}var kt={name:"Node",emits:["select"],mixins:[on],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{async removeFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to remove this node?")){this.commandRunning=!0;try{await this.zrequest("remove_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replaceFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to replace this node?")){this.commandRunning=!0;try{await this.zrequest("replace_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replicationSend(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("replication_send",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNetworkUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_network_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNeighbourUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_node_neighbour_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},onEditMode(e){this.editMode[e]=!0;const n=this.$refs[e+"Form"],a=n.querySelector("input[type=text]");setTimeout((()=>{a.focus(),a.select()}),10)},async editName(e){const n=e.target.querySelector("input[name=name]").value;this.commandRunning=!0;try{await this.zrequest("set_node_name",{node_id:this.node.node_id,new_name:n})}finally{this.commandRunning=!1}this.editMode.name=!1},async editLocation(e){const n=e.target.querySelector("input[name=location]").value;this.commandRunning=!0;try{await this.zrequest("set_node_location",{node_id:this.node.node_id,location:n})}finally{this.commandRunning=!1}this.editMode.location=!1},async heal(){if(this.commandRunning)console.log("A command is already running");else{this.commandRunning=!0;try{await this.zrequest("node_heal",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}}}};const bt=(0,cn.Z)(kt,[["render",ft],["__scopeId","data-v-3da196a6"]]);var Ct=bt,xt=a(9642),Rt=a(5771),zt=a(9015),Dt=a(1232),Nt=a(6);const qt=e=>((0,t.dD)("data-v-0021cd76"),e=e(),(0,t.Cn)(),e),It={class:"section value"},St={class:"header"},jt={class:"title"},Mt=["disabled","data-id-on-network"],Vt=qt((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Ot=[Vt],Zt={class:"body"},At={class:"row"},Ut=qt((()=>(0,t._)("div",{class:"param-name"},"Value",-1))),Tt={class:"param-value"},Et={key:0,class:"value-view"},$t=["textContent"],Wt=["textContent"],Ft={key:1,class:"value-edit"},Ht={key:0,class:"list"},Gt=["textContent","selected","value"],Kt={key:1,class:"numeric slider-container"},Lt={class:"col-10"},Bt={class:"row"},Yt=["textContent"],Pt=["textContent"],Jt={class:"row"},Qt={class:"col-2"},Xt=["value"],es={key:2,class:"boolean"},ns={key:3,class:"value-data"},as=["value"],ts=["textContent"],ss=qt((()=>(0,t._)("div",{class:"param-name"},"Remove From Scene",-1))),ls=qt((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),is=[ss,ls],os={key:1,class:"row",style:{cursor:"pointer"}},ds=qt((()=>(0,t._)("div",{class:"param-name"},"Add To Scene",-1))),cs={class:"param-value"},rs={key:2,class:"row"},us=qt((()=>(0,t._)("div",{class:"param-name"},"Help",-1))),ms=["textContent"],vs={class:"row"},_s=qt((()=>(0,t._)("div",{class:"param-name"},"Value ID",-1))),ps=["textContent"],hs={key:3,class:"row"},ws=qt((()=>(0,t._)("div",{class:"param-name"},"ID on Network",-1))),gs=["textContent"],ys={class:"row"},fs=qt((()=>(0,t._)("div",{class:"param-name"},"Command Class",-1))),ks=["textContent"],bs={key:4,class:"row"},Cs=qt((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),xs=["textContent"];function Rs(e,n,a,l,i,o){const d=(0,t.up)("Slider"),c=(0,t.up)("ToggleSwitch"),r=(0,t.up)("DropdownItem"),u=(0,t.up)("Dropdown");return(0,t.wg)(),(0,t.iD)("div",It,[(0,t._)("div",St,[(0,t._)("div",jt,[(0,t._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:i.commandRunning,"data-id-on-network":a.value.id_on_network,onClick:n[0]||(n[0]=(...e)=>o.editName&&o.editName(...e))},Ot,8,Mt),(0,t.Uk)(" "+(0,s.zw)(a.value.label),1)])]),(0,t._)("div",Zt,[(0,t._)("div",At,[Ut,(0,t._)("div",Tt,[a.value.is_read_only?((0,t.wg)(),(0,t.iD)("div",Et,[(0,t._)("div",{class:"value-data",textContent:(0,s.zw)(a.value.data)},null,8,$t),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"unit",textContent:(0,s.zw)(a.value.units)},null,8,Wt)):(0,t.kq)("",!0)])):((0,t.wg)(),(0,t.iD)("div",Ft,[(0,t._)("div",{class:(0,s.C_)(["col-"+(a.value.units?.length?"11":"12")])},["List"===a.value.type?((0,t.wg)(),(0,t.iD)("div",Ht,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[1]||(n[1]=(...e)=>o.onValueChange&&o.onValueChange(...e))},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.value.data_items,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{textContent:(0,s.zw)("object"===typeof e?e.text:e),key:n,selected:"object"===typeof e?a.value.data===e.value:a.value.data===e,value:"object"===typeof e?e.value:n},null,8,Gt)))),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",Kt,[(0,t._)("div",Lt,[(0,t._)("div",Bt,[(0,t._)("span",{class:"value-min",textContent:(0,s.zw)(a.value.min)},null,8,Yt),(0,t._)("span",{class:"value-max",textContent:(0,s.zw)(a.value.max)},null,8,Pt)]),(0,t._)("div",Jt,[(0,t._)("label",null,[(0,t.Wm)(d,{range:[a.value.min,a.value.max],value:a.value.data,onChange:o.onValueChange},null,8,["range","value","onChange"])])])]),(0,t._)("div",Qt,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[2]||(n[2]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,Xt)])])])):["Bool","Button"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",es,[(0,t.Wm)(c,{value:a.value.data,onInput:n[3]||(n[3]=e=>o.onValueChange(e,!a.value.data))},null,8,["value"])])):((0,t.wg)(),(0,t.iD)("div",ns,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[4]||(n[4]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,as)])]))],2),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"col-1 unit",textContent:(0,s.zw)(a.value.units)},null,8,ts)):(0,t.kq)("",!0)]))])]),null!=a.sceneId?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=n=>e.$emit("remove-from-scene",{valueId:a.value.id_on_network,sceneId:a.sceneId}))},is)):(0,t.kq)("",!0),o.addValueToSceneItems?.length?((0,t.wg)(),(0,t.iD)("div",os,[ds,(0,t._)("div",cs,[(0,t.Wm)(u,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(o.addValueToSceneItems,((n,s)=>((0,t.wg)(),(0,t.j4)(r,{key:s,text:n.label,disabled:i.commandRunning,onClick:t=>e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:a.value.id_on_network})},null,8,["text","disabled","onClick"])))),128))])),_:1})])])):(0,t.kq)("",!0),a.value.help?.length?((0,t.wg)(),(0,t.iD)("div",rs,[us,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.help)},null,8,ms)])):(0,t.kq)("",!0),(0,t._)("div",vs,[_s,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.value_id)},null,8,ps)]),a.value.value_id!==a.value.id_on_network?((0,t.wg)(),(0,t.iD)("div",hs,[ws,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.id_on_network)},null,8,gs)])):(0,t.kq)("",!0),(0,t._)("div",ys,[fs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.command_class_name||a.value.command_class)},null,8,ks)]),a.value.last_update?((0,t.wg)(),(0,t.iD)("div",bs,[Cs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.value.last_update))},null,8,xs)])):(0,t.kq)("",!0)])])}var zs=a(376),Ds={name:"Value",components:{Slider:zs.Z,Dropdown:Rt.Z,DropdownItem:zt.Z,ToggleSwitch:Nt.Z},mixins:[on],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:()=>({})}},data(){return{commandRunning:!1}},computed:{addValueToSceneItems(){return Object.values(this.scenes||{}).filter((e=>!(this.value.id_on_network in e.values)))}},methods:{async editName(){const e=this.node.values[this.value.id_on_network];let n=prompt("New name",e.label);if(n?.length&&(n=n.trim()),n?.length&&n!==e.label){this.commandRunning=!0;try{await this.zrequest("set_value_label",{id_on_network:e.id_on_network,new_label:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}})}},async onValueChange(e,n){const a=e.target?e.target:e.event.target.parentElement,t=this.node.values[this.value.id_on_network];switch(void 0===n&&(n=null!=a.value?a.value:e.value),t.type){case"List":n=t.data_items[e.target.value];break;case"Int":case"Short":case"Long":case"Byte":n=parseInt(n);break;case"Decimal":n=parseFloat(n);break}"object"===typeof n&&(n=n.value),this.commandRunning=!0;try{await this.zrequest("set_value",{id_on_network:t.id_on_network,data:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}})}}};const Ns=(0,cn.Z)(Ds,[["render",Rs],["__scopeId","data-v-0021cd76"]]);var qs=Ns,Is={name:"Zwave",components:{Value:qs,ToggleSwitch:Nt.Z,Loading:Dt.Z,DropdownItem:zt.Z,Dropdown:Rt.Z,Modal:xt.Z,Group:un,Node:Ct},mixins:[on],data(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap(){const e={};for(const n of Object.values(this.nodes))for(const a of Object.values(n.values))e[a.id_on_network]=a;return e}},methods:{async refreshNodes(){this.loading.nodes=!0;try{this.nodes=await this.zrequest("get_nodes")}finally{this.loading.nodes=!1}Object.keys(this.nodes||{}).length&&(this.views.values=!0)},async refreshGroups(){this.loading.groups=!0;try{this.groups=Object.values(await this.zrequest("get_groups")).filter((e=>e.index)).reduce(((e,n)=>{const a=n.group_id||n.index;return e[a]=n,e}),{})}finally{this.loading.groups=!1}Object.keys(this.groups||{}).length&&(this.views.groups=!0)},async refreshScenes(){this.loading.scenes=!0;try{this.scenes=Object.values(await this.zrequest("get_scenes")).filter((e=>e.scene_id)).reduce(((e,n)=>(e[n.scene_id]=n,e)),{})}finally{this.loading.scenes=!1}Object.keys(this.scenes||{}).length&&(this.views.values=!0)},async refreshValues(e){this.loading.values=!0;try{this.values[e]=Object.values(await this.zrequest("get_"+e)).filter((e=>e.id_on_network)).reduce(((e,n)=>(e[n.id_on_network]=!0,e)),{})}finally{this.loading.values=!1}Object.keys(this.values[e]).length&&(this.views[e]=!0)},async refreshStatus(){this.loading.status=!0;try{this.status=await this.zrequest("controller_status")}finally{this.loading.status=!1}},refresh(){this.views={nodes:!0,scenes:!0},this.refreshNodes(),this.refreshGroups(),this.refreshScenes(),this.refreshValues("switches"),this.refreshValues("dimmers"),this.refreshValues("sensors"),this.refreshValues("bulbs"),this.refreshValues("doorlocks"),this.refreshValues("usercodes"),this.refreshValues("thermostats"),this.refreshValues("protections"),this.refreshValues("battery_levels"),this.refreshValues("power_levels"),this.refreshValues("node_config"),this.refreshStatus()},async addScene(){let e=prompt("Scene name");if(e?.length&&(e=e.trim()),e?.length){this.commandRunning=!0;try{await this.zrequest("create_scene",{label:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},async removeScene(e){if(confirm("Are you sure that you want to delete this scene?")){this.commandRunning=!0;try{await this.zrequest("remove_scene",{scene_id:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},onNodeUpdate(e){this.nodes[e.node.node_id]=e.node,e.value&&(this.nodes[e.node.node_id].values[e.value.id_on_network]=e.value)},onNodeClick(e){this.selected.nodeId=e===this.selected.nodeId?void 0:e},networkInfoModalOpen(){this.refreshStatus(),this.$refs.networkInfoModal.show()},onCommandEvent(e){e.error&&e.error.length&&this.notify({text:e.state_description+": "+e.error_description,error:!0})},async addNode(){this.commandRunning=!0;try{await this.zrequest("add_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async addToGroup(e,n){this.commandRunning=!0;try{await this.zrequest("add_node_to_group",{node_id:e,group_index:n})}finally{this.commandRunning=!1}await this.refreshGroups()},async removeNode(){this.commandRunning=!0;try{await this.zrequest("remove_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async removeValueFromScene(e){if(confirm("Are you sure that you want to remove this value from the scene?")){this.commandRunning=!0;try{await this.zrequest("scene_remove_value",{id_on_network:e.valueId,scene_id:e.sceneId})}finally{this.commandRunning=!1}await this.refreshScenes()}},async renameScene(e){const n=this.scenes[e];let a=prompt("New name",n.label);if(a&&(a=a.trim()),a?.length&&a!==n.label){this.commandRunning=!0;try{await this.zrequest("set_scene_label",{new_label:a,scene_id:e})}finally{this.commandRunning=!1}await this.refreshScenes()}},async startNetwork(){this.commandRunning=!0;try{await this.zrequest("start_network")}finally{this.commandRunning=!1}},async stopNetwork(){this.commandRunning=!0;try{await this.zrequest("stop_network")}finally{this.commandRunning=!1}},async switchAll(e){this.commandRunning=!0;try{await this.zrequest("switch_all",{state:e}),this.refresh()}finally{this.commandRunning=!1}},async cancelCommand(){this.commandRunning=!0;try{await this.zrequest("cancel_command")}finally{this.commandRunning=!1}},async killCommand(){this.commandRunning=!0;try{await this.zrequest("kill_command")}finally{this.commandRunning=!1}},async receiveConfiguration(){this.commandRunning=!0;try{await this.zrequest("receive_configuration")}finally{this.commandRunning=!1}this.refresh()},async createNewPrimary(){this.commandRunning=!0;try{await this.zrequest("create_new_primary")}finally{this.commandRunning=!1}this.refresh()},async transferPrimaryRole(){this.commandRunning=!0;try{await this.zrequest("transfer_primary_role")}finally{this.commandRunning=!1}this.refresh()},async healNetwork(){this.commandRunning=!0;try{await this.zrequest("heal")}finally{this.commandRunning=!1}this.refresh()},async softReset(){confirm("Are you sure that you want to do a device soft reset? This won't lose network information")&&await this.zrequest("soft_reset")},async hardReset(){confirm("Are you sure that you want to do a device soft reset? All network information will be LOST!")&&await this.zrequest("hard_reset")},async activateScene(e){this.commandRunning=!0;try{await this.zrequest("activate_scene",{scene_id:e})}finally{this.commandRunning=!1}},async addValueToScene(e){this.commandRunning=!0;try{await this.zrequest("scene_add_value",{id_on_network:e.valueId,scene_id:e.sceneId,data:this.valuesMap[e.valueId].data})}finally{this.commandRunning=!1}this.refresh()}},mounted(){this.refresh(),this.subscribe(this.refreshGroups,"on-zwave-node-group-event","platypush.message.event.zwave.ZwaveNodeGroupEvent"),this.subscribe(this.refreshScenes,"on-zwave-node-scene-event","platypush.message.event.zwave.ZwaveNodeSceneEvent"),this.subscribe(this.refreshNodes,"on-zwave-node-removed-event","platypush.message.event.zwave.ZwaveNodeRemovedEvent"),this.subscribe(this.onCommandEvent,"on-zwave-command-event","platypush.message.event.zwave.ZwaveCommandEvent"),this.subscribe(this.refreshStatus,"on-zwave-network-event","platypush.message.event.zwave.ZwaveNetworkReadyEvent","platypush.message.event.zwave.ZwaveNetworkStoppedEvent","platypush.message.event.zwave.ZwaveNetworkErrorEvent","platypush.message.event.zwave.ZwaveNetworkResetEvent"),this.subscribe(this.onNodeUpdate,"on-zwave-node-update-event","platypush.message.event.zwave.ZwaveNodeEvent","platypush.message.event.zwave.ZwaveNodeAddedEvent","platypush.message.event.zwave.ZwaveNodeRenamedEvent","platypush.message.event.zwave.ZwaveNodeReadyEvent","platypush.message.event.zwave.ZwaveValueAddedEvent","platypush.message.event.zwave.ZwaveValueChangedEvent","platypush.message.event.zwave.ZwaveValueRemovedEvent","platypush.message.event.zwave.ZwaveValueRefreshedEvent")},unmounted(){["on-zwave-node-group-event","on-zwave-node-scene-event","on-zwave-node-removed-event","on-zwave-command-event","on-zwave-network-event","on-zwave-node-update-event"].forEach((e=>this.unsubscribe(e)))}};const Ss=(0,cn.Z)(Is,[["render",qe]]);var js=Ss}}]); -//# sourceMappingURL=5810.20e20935.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5810],{376:function(e,n,a){a.d(n,{Z:function(){return h}});var t=a(6252),s=a(9963),l=a(3577);const i={class:"slider-wrapper"},o=["min","max","step","disabled","value"],d={class:"track"},c={class:"track-inner",ref:"track"},r={class:"thumb",ref:"thumb"},u=["textContent"];function m(e,n,a,m,v,_){return(0,t.wg)(),(0,t.iD)("label",i,[(0,t._)("input",{class:"slider",type:"range",ref:"range",min:a.range[0],max:a.range[1],step:a.step,disabled:a.disabled,value:a.value,onInput:n[0]||(n[0]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onChange:n[1]||(n[1]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onMouseup:n[2]||(n[2]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onMousedown:n[3]||(n[3]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onTouchstart:n[4]||(n[4]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onTouchend:n[5]||(n[5]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onKeyup:n[6]||(n[6]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"])),onKeydown:n[7]||(n[7]=(0,s.iM)(((...e)=>_.onUpdate&&_.onUpdate(...e)),["stop"]))},null,40,o),(0,t._)("div",d,[(0,t._)("div",c,null,512)]),(0,t._)("div",r,null,512),a.withLabel?((0,t.wg)(),(0,t.iD)("span",{key:0,class:"label",textContent:(0,l.zw)(a.value)},null,8,u)):(0,t.kq)("",!0)])}var v={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const n=100*(e-this.range[0])/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${n}%`,this.$refs.thumb.style.transform=`translate(-${n}%, -50%)`,this.$refs.track.style.width=`${n}%`}},mounted(){null!=this.value&&this.update(this.value)}},_=a(3744);const p=(0,_.Z)(v,[["render",m],["__scopeId","data-v-95edc28a"]]);var h=p},6:function(e,n,a){a.d(n,{Z:function(){return _}});var t=a(6252),s=a(3577),l=a(9963);const i=e=>((0,t.dD)("data-v-a6396ae8"),e=e(),(0,t.Cn)(),e),o=["checked"],d=i((()=>(0,t._)("div",{class:"switch"},[(0,t._)("div",{class:"dot"})],-1))),c={class:"label"};function r(e,n,a,i,r,u){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:a.disabled}]),onClick:n[0]||(n[0]=(0,l.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,t._)("input",{type:"checkbox",checked:a.value},null,8,o),(0,t._)("label",null,[d,(0,t._)("span",c,[(0,t.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},m=a(3744);const v=(0,m.Z)(u,[["render",r],["__scopeId","data-v-a6396ae8"]]);var _=v},5810:function(e,n,a){a.d(n,{Z:function(){return js}});var t=a(6252),s=a(3577);const l={class:"zwave-container"},i={class:"network-info"},o={key:1,class:"params"},d={class:"row"},c=(0,t._)("div",{class:"param-name"},"State",-1),r=["textContent"],u={class:"row"},m=(0,t._)("div",{class:"param-name"},"Device",-1),v=["textContent"],_={class:"section"},p=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Statistics")],-1),h={class:"body"},w=["textContent"],g=["textContent"],y={class:"group-add"},f={class:"params"},k={class:"section"},b=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Select nodes to add")],-1),C={key:0,class:"body"},x=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},I=(0,t._)("i",{class:"fa fa-plus"},null,-1),S=[I],j=(0,t._)("i",{class:"fa fa-sync-alt"},null,-1),M=[j],V={class:"view-container"},O={key:0,class:"view nodes"},Z={key:1,class:"no-items"},A=(0,t._)("div",{class:"empty"},"No nodes available on the network",-1),U=[A],T={key:1,class:"view groups"},E={key:1,class:"no-items"},$=(0,t._)("div",{class:"empty"},"No groups available on the network",-1),W=[$],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,t._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,t._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,t._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},ae=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Values")],-1),te={class:"body"},se={class:"param-name"},le={class:"param-value"},ie=["textContent"],oe={class:"buttons"},de=["onClick"],ce=(0,t._)("i",{class:"fa fa-trash"},null,-1),re=[ce],ue={class:"section actions"},me=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1),ve={class:"body"},_e=["onClick"],pe=(0,t._)("div",{class:"param-name"},"Remove Scene",-1),he=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1),we=[pe,he],ge=["onClick"],ye=(0,t._)("div",{class:"param-name"},"Rename Scene",-1),fe=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-edit"})],-1),ke=[ye,fe],be={key:3,class:"view values"},Ce={key:1,class:"no-items"},xe=(0,t._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[xe],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,a,I,j,A){const $=(0,t.up)("Loading"),G=(0,t.up)("Modal"),ce=(0,t.up)("DropdownItem"),pe=(0,t.up)("Dropdown"),he=(0,t.up)("Node"),ye=(0,t.up)("Group"),fe=(0,t.up)("ToggleSwitch"),xe=(0,t.up)("Value");return(0,t.wg)(),(0,t.iD)("div",l,[(0,t.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,t.w5)((()=>[(0,t._)("div",i,[j.loading.status?((0,t.wg)(),(0,t.j4)($,{key:0})):((0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",d,[c,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.state)},null,8,r)]),(0,t._)("div",u,[m,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.device)},null,8,v)]),(0,t._)("div",_,[p,(0,t._)("div",h,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.status.stats,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(n)},null,8,w),(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e)},null,8,g)])))),128))])])]))])])),_:1},512),(0,t.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,t.w5)((()=>[(0,t._)("div",y,[(0,t._)("div",f,[(0,t._)("div",k,[b,null!=j.selected.groupId?((0,t.wg)(),(0,t.iD)("div",C,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(j.nodes||{}).filter((e=>j.groups[j.selected.groupId].associations.indexOf(e.node_id)<0)),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row clickable",onClick:n=>A.addToGroup(e.node_id,j.selected.groupId),key:e.node_id},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(e.name)},null,8,R)],8,x)))),128))])):(0,t.kq)("",!0)])])])])),_:1},512),(0,t._)("div",z,[(0,t._)("div",D,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[0]||(n[0]=e=>j.selected.view=e.target.value)},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.views,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{key:e,textContent:(0,s.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===j.selected.view,value:n},null,8,N)))),128))],32)])]),(0,t._)("div",q,["scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=(...e)=>A.addScene&&A.addScene(...e))},S)):(0,t.kq)("",!0),(0,t.Wm)(pe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,t.w5)((()=>[(0,t.Wm)(ce,{text:"Network Info",disabled:j.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Start Network",disabled:j.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Stop Network",disabled:j.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:0,text:"Add Node",disabled:j.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:1,text:"Remove Node",disabled:j.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),(0,t.Wm)(ce,{text:"Switch All On",disabled:j.commandRunning,onClick:n[2]||(n[2]=e=>A.switchAll(!0))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Switch All Off",disabled:j.commandRunning,onClick:n[3]||(n[3]=e=>A.switchAll(!1))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Cancel Command",disabled:j.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Kill Command",disabled:j.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Receive Configuration",disabled:j.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Create New Primary",disabled:j.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Transfer Primary Role",disabled:j.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Heal Network",disabled:j.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Soft Reset",disabled:j.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Hard Reset",disabled:j.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])])),_:1}),(0,t._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=(...e)=>A.refresh&&A.refresh(...e))},M)])]),(0,t._)("div",V,["nodes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",O,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Z,U)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.j4)(he,{key:a,node:n,selected:j.selected.nodeId===a,"plugin-name":e.pluginName,onSelect:e=>A.onNodeClick(a)},null,8,["node","selected","plugin-name","onSelect"])))),128))])):"groups"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",T,[j.loading.groups?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.groups||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",E,W)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.groups,((a,s)=>((0,t.wg)(),(0,t.j4)(ye,{key:s,group:a,selected:j.selected.groupId===s,nodes:s in j.groups?j.groups[s].associations.map((e=>j.nodes[e])).reduce(((e,n)=>(e[n.node_id]=n,e)),{}):{},owner:null!=a.node_id?j.nodes[a.node_id]:null,"plugin-name":e.pluginName,onSelect:e=>j.selected.groupId=s===j.selected.groupId?void 0:s,onOpenAddNodesToGroup:n[5]||(n[5]=n=>e.$refs.addNodesToGroupModal.show())},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])))),128))])):"scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",F,[j.loading.scenes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.scenes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",H,K)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.scenes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item scene",{selected:j.selected.sceneId===n}]),key:n},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.sceneId===n}]),textContent:(0,s.zw)(e.label),onClick:e=>j.selected.sceneId=n===j.selected.sceneId?void 0:n},null,10,L),j.selected.sceneId===n?((0,t.wg)(),(0,t.iD)("div",B,[(0,t._)("div",Y,[P,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(n)},null,8,J)]),(0,t._)("div",Q,[X,(0,t._)("div",ee,[(0,t.Wm)(fe,{value:!1,onInput:e=>A.activateScene(n)},null,8,["onInput"])])]),Object.values(e?.values)?.length?((0,t.wg)(),(0,t.iD)("div",ne,[ae,(0,t._)("div",te,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(e.values),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:e.id_on_network},[(0,t._)("div",se,(0,s.zw)(j.nodes[e.node_id].name)+" ⇨ "+(0,s.zw)(A.valuesMap[e.id_on_network].label),1),(0,t._)("div",le,[(0,t._)("span",{textContent:(0,s.zw)(e.data)},null,8,ie),(0,t._)("span",oe,[(0,t._)("button",{class:"btn btn-default",title:"Remove value",onClick:a=>A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})},re,8,de)])])])))),128))])])):(0,t.kq)("",!0),(0,t._)("div",ue,[me,(0,t._)("div",ve,[(0,t._)("div",{class:"row",onClick:e=>A.removeScene(n)},we,8,_e),(0,t._)("div",{class:"row",onClick:e=>A.renameScene(n)},ke,8,ge)])])])):(0,t.kq)("",!0)],2)))),128))])):((0,t.wg)(),(0,t.iD)("div",be,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Ce,Re)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"node-container",key:a},["values"===j.selected.view||Object.values(n.values).filter((e=>e.id_on_network in j.values[j.selected.view])).length>0?((0,t.wg)(),(0,t.iD)("div",{key:0,class:(0,s.C_)(["item node",{selected:j.selected.nodeId===a}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.nodeId===a}]),textContent:(0,s.zw)(n.name),onClick:e=>A.onNodeClick(a)},null,10,ze),j.selected.nodeId===a?((0,t.wg)(),(0,t.iD)("div",De,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(n.values,((a,s)=>((0,t.wg)(),(0,t.iD)("div",{class:"value-container",key:s},[a.id_on_network&&("values"===j.selected.view||a.id_on_network in j.values[j.selected.view])?((0,t.wg)(),(0,t.iD)("div",Ne,[(0,t.Wm)(xe,{value:a,node:n,scenes:j.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,t.kq)("",!0)])))),128))])):(0,t.kq)("",!0)],2)):(0,t.kq)("",!0)])))),128))]))])])}const Ie=e=>((0,t.dD)("data-v-56458f8e"),e=e(),(0,t.Cn)(),e),Se=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Owner")],-1))),Oe={class:"body"},Ze=["textContent"],Ae={class:"section nodes"},Ue={class:"header"},Te=Ie((()=>(0,t._)("div",{class:"title col-10"},"Nodes",-1))),Ee={class:"buttons col-2"},$e=Ie((()=>(0,t._)("i",{class:"fa fa-plus"},null,-1))),We=[$e],Fe={class:"body"},He=["textContent"],Ge={class:"buttons col-2"},Ke=["disabled","onClick"],Le=Ie((()=>(0,t._)("i",{class:"fa fa-trash"},null,-1))),Be=[Le],Ye={class:"section config"},Pe=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Parameters")],-1))),Je={class:"body"},Qe={class:"row"},Xe=Ie((()=>(0,t._)("div",{class:"param-name"},"Index",-1))),en=["textContent"],nn={class:"row"},an=Ie((()=>(0,t._)("div",{class:"param-name"},"Max associations",-1))),tn=["textContent"];function sn(e,n,a,l,i,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item group",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.group.label),onClick:n[0]||(n[0]=n=>e.$emit("select",a.group.index))},null,10,Se),a.selected?((0,t.wg)(),(0,t.iD)("div",je,[a.owner&&Object.keys(a.owner).length?((0,t.wg)(),(0,t.iD)("div",Me,[Ve,(0,t._)("div",Oe,[(0,t._)("div",{class:"row",textContent:(0,s.zw)(a.owner.name)},null,8,Ze)])])):(0,t.kq)("",!0),(0,t._)("div",Ae,[(0,t._)("div",Ue,[Te,(0,t._)("div",Ee,[!a.group.max_associations||Object.keys(a.nodes||{}).lengthe.$emit("open-add-nodes-to-group",a.group.index))},We)):(0,t.kq)("",!0)])]),(0,t._)("div",Fe,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.nodes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"col-10",textContent:(0,s.zw)(e.name?.length?e.name:``)},null,8,He),(0,t._)("div",Ge,[(0,t._)("button",{class:"btn btn-default",title:"Remove from group",disabled:i.commandRunning,onClick:n=>o.removeFromGroup(e.node_id)},Be,8,Ke)])])))),128))])]),(0,t._)("div",Ye,[Pe,(0,t._)("div",Je,[(0,t._)("div",Qe,[Xe,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.index)},null,8,en)]),(0,t._)("div",nn,[an,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.max_associations)},null,8,tn)])])])])):(0,t.kq)("",!0)],2)}var ln=a(6813),on={mixins:[ln.Z],props:{pluginName:{type:String,required:!0}},methods:{async zrequest(e,n){return await this.request(`${this.pluginName}.${e}`,n)}}},dn={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[on],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1}},methods:{async removeFromGroup(e){if(!confirm("Are you sure that you want to remove this node from "+this.group.label+"?"))return;this.commandRunning=!0;const n={node_id:e};null!=this.group.group_id?n.group_id=this.group.group_id:n.group_index=this.group.index;try{await this.zrequest("remove_node_from_group",n)}finally{this.commandRunning=!1}}}},cn=a(3744);const rn=(0,cn.Z)(dn,[["render",sn],["__scopeId","data-v-56458f8e"]]);var un=rn,mn=a(9963);const vn=e=>((0,t.dD)("data-v-3da196a6"),e=e(),(0,t.Cn)(),e),_n=["textContent"],pn={key:0,class:"params"},hn={class:"row"},wn=vn((()=>(0,t._)("div",{class:"param-name"},"Name",-1))),gn={class:"param-value"},yn=["value","disabled"],fn={class:"buttons"},kn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),bn=[kn],Cn=["disabled"],xn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),Rn=[xn],zn=["textContent"],Dn={class:"buttons"},Nn=["disabled"],qn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),In=[qn],Sn={class:"row"},jn=vn((()=>(0,t._)("div",{class:"param-name"},"Location",-1))),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},Zn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),An=[Zn],Un=["disabled"],Tn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),En=[Tn],$n=["textContent"],Wn={class:"buttons"},Fn=["disabled"],Hn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Gn=[Hn],Kn={class:"row"},Ln=vn((()=>(0,t._)("div",{class:"param-name"},"Type",-1))),Bn=["textContent"],Yn={class:"row"},Pn=vn((()=>(0,t._)("div",{class:"param-name"},"Role",-1))),Jn=["textContent"],Qn={class:"row"},Xn=vn((()=>(0,t._)("div",{class:"param-name"},"Node ID",-1))),ea=["textContent"],na={key:0,class:"row"},aa=vn((()=>(0,t._)("div",{class:"param-name"},"Neighbours",-1))),ta={class:"param-value"},sa=["textContent"],la={class:"row"},ia=vn((()=>(0,t._)("div",{class:"param-name"},"Is Ready",-1))),oa=["textContent"],da={class:"row"},ca=vn((()=>(0,t._)("div",{class:"param-name"},"Is Failed",-1))),ra=["textContent"],ua={class:"row"},ma=vn((()=>(0,t._)("div",{class:"param-name"},"Product ID",-1))),va=["textContent"],_a={class:"row"},pa=vn((()=>(0,t._)("div",{class:"param-name"},"Product Type",-1))),ha=["textContent"],wa={key:1,class:"row"},ga=vn((()=>(0,t._)("div",{class:"param-name"},"Product Name",-1))),ya=["textContent"],fa={class:"row"},ka=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer ID",-1))),ba=["textContent"],Ca={key:2,class:"row"},xa=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer Name",-1))),Ra=["textContent"],za={class:"row"},Da=vn((()=>(0,t._)("div",{class:"param-name"},"Capabilities",-1))),Na=["textContent"],qa={class:"row"},Ia=vn((()=>(0,t._)("div",{class:"param-name"},"Command Classes",-1))),Sa=["textContent"],ja={class:"row"},Ma=vn((()=>(0,t._)("div",{class:"param-name"},"Groups",-1))),Va=["textContent"],Oa={key:3,class:"row"},Za=vn((()=>(0,t._)("div",{class:"param-name"},"Home ID",-1))),Aa=["textContent"],Ua={class:"row"},Ta=vn((()=>(0,t._)("div",{class:"param-name"},"Is Awake",-1))),Ea=["textContent"],$a={key:4,class:"row"},Wa=vn((()=>(0,t._)("div",{class:"param-name"},"Is Locked",-1))),Fa=["textContent"],Ha={key:5,class:"row"},Ga=vn((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),Ka=["textContent"],La={key:6,class:"row"},Ba=vn((()=>(0,t._)("div",{class:"param-name"},"Baud Rate",-1))),Ya=["textContent"],Pa={key:7,class:"row"},Ja=vn((()=>(0,t._)("div",{class:"param-name"},"Max Baud Rate",-1))),Qa=["textContent"],Xa={class:"section actions"},et=vn((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1))),nt={class:"body"},at=vn((()=>(0,t._)("div",{class:"param-name"},"Remove Failed Node",-1))),tt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),st=[at,tt],lt=vn((()=>(0,t._)("div",{class:"param-name"},"Replace Failed Node",-1))),it=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-sync-alt"})],-1))),ot=[lt,it],dt=vn((()=>(0,t._)("div",{class:"param-name"},"Heal Node",-1))),ct=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wrench"})],-1))),rt=[dt,ct],ut=vn((()=>(0,t._)("div",{class:"param-name"},"Replicate info to secondary controller",-1))),mt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-clone"})],-1))),vt=[ut,mt],_t=vn((()=>(0,t._)("div",{class:"param-name"},"Request network update",-1))),pt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wifi"})],-1))),ht=[_t,pt],wt=vn((()=>(0,t._)("div",{class:"param-name"},"Request neighbours update",-1))),gt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-network-wired"})],-1))),yt=[wt,gt];function ft(e,n,a,l,i,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item node",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.node.name&&a.node.name.length?a.node.name:``),onClick:n[0]||(n[0]=n=>e.$emit("select"))},null,10,_n),a.selected?((0,t.wg)(),(0,t.iD)("div",pn,[(0,t._)("div",hn,[wn,(0,t._)("div",gn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!i.editMode.name}])},[(0,t._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)(((...e)=>o.editName&&o.editName(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"name",value:a.node.name,disabled:i.commandRunning},null,8,yn)]),(0,t._)("span",fn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=e=>i.editMode.name=!1)},bn),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:i.commandRunning},Rn,8,Cn)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:i.editMode.name})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.name?.length?a.node.name:``)},null,8,zn),(0,t._)("span",Dn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=e=>o.onEditMode("name")),disabled:i.commandRunning},In,8,Nn)])],2)])]),(0,t._)("div",Sn,[jn,(0,t._)("div",Mn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!i.editMode.location}])},[(0,t._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)(((...e)=>o.editLocation&&o.editLocation(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"location",value:a.node.location,disabled:i.commandRunning},null,8,Vn)]),(0,t._)("span",On,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=e=>i.editMode.location=!1)},An),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:i.commandRunning},En,8,Un)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:i.editMode.location})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.location?.length?a.node.location:"")},null,8,$n),(0,t._)("span",Wn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=e=>o.onEditMode("location")),disabled:i.commandRunning},Gn,8,Fn)])],2)])]),(0,t._)("div",Kn,[Ln,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.type)},null,8,Bn)]),(0,t._)("div",Yn,[Pn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.role)},null,8,Jn)]),(0,t._)("div",Qn,[Xn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.node_id)},null,8,ea)]),a.node.neighbours.length?((0,t.wg)(),(0,t.iD)("div",na,[aa,(0,t._)("div",ta,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.node.neighbours,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row pull-right",key:n,textContent:(0,s.zw)(e)},null,8,sa)))),128))])])):(0,t.kq)("",!0),(0,t._)("div",la,[ia,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_ready)},null,8,oa)]),(0,t._)("div",da,[ca,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_failed)},null,8,ra)]),(0,t._)("div",ua,[ma,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,va)]),(0,t._)("div",_a,[pa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_type)},null,8,ha)]),a.node.product_name?.length?((0,t.wg)(),(0,t.iD)("div",wa,[ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_name)},null,8,ya)])):(0,t.kq)("",!0),(0,t._)("div",fa,[ka,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,ba)]),a.node.manufacturer_name?.length?((0,t.wg)(),(0,t.iD)("div",Ca,[xa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_name)},null,8,Ra)])):(0,t.kq)("",!0),(0,t._)("div",za,[Da,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.capabilities.join(", "))},null,8,Na)]),(0,t._)("div",qa,[Ia,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.command_classes.join(", "))},null,8,Sa)]),(0,t._)("div",ja,[Ma,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(Object.values(a.node.groups).map((e=>e.label||"")).join(", "))},null,8,Va)]),a.node.home_id?((0,t.wg)(),(0,t.iD)("div",Oa,[Za,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.home_id.toString(16))},null,8,Aa)])):(0,t.kq)("",!0),(0,t._)("div",Ua,[Ta,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_awake)},null,8,Ea)]),null!=a.node.is_locked?((0,t.wg)(),(0,t.iD)("div",$a,[Wa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_locked)},null,8,Fa)])):(0,t.kq)("",!0),a.node.last_update?((0,t.wg)(),(0,t.iD)("div",Ha,[Ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.node.last_update))},null,8,Ka)])):(0,t.kq)("",!0),a.node.baud_rate?((0,t.wg)(),(0,t.iD)("div",La,[Ba,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.baud_rate)},null,8,Ya)])):(0,t.kq)("",!0),a.node.max_baud_rate?((0,t.wg)(),(0,t.iD)("div",Pa,[Ja,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.max_baud_rate)},null,8,Qa)])):(0,t.kq)("",!0),(0,t._)("div",Xa,[et,(0,t._)("div",nt,[a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=(...e)=>o.removeFailedNode&&o.removeFailedNode(...e))},st)):(0,t.kq)("",!0),a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=(...e)=>o.replaceFailedNode&&o.replaceFailedNode(...e))},ot)):(0,t.kq)("",!0),(0,t._)("div",{class:"row",onClick:n[9]||(n[9]=(...e)=>o.heal&&o.heal(...e))},rt),(0,t._)("div",{class:"row",onClick:n[10]||(n[10]=(...e)=>o.replicationSend&&o.replicationSend(...e))},vt),(0,t._)("div",{class:"row",onClick:n[11]||(n[11]=(...e)=>o.requestNetworkUpdate&&o.requestNetworkUpdate(...e))},ht),(0,t._)("div",{class:"row",onClick:n[12]||(n[12]=(...e)=>o.requestNeighbourUpdate&&o.requestNeighbourUpdate(...e))},yt)])])])):(0,t.kq)("",!0)],2)}var kt={name:"Node",emits:["select"],mixins:[on],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{async removeFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to remove this node?")){this.commandRunning=!0;try{await this.zrequest("remove_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replaceFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to replace this node?")){this.commandRunning=!0;try{await this.zrequest("replace_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replicationSend(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("replication_send",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNetworkUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_network_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNeighbourUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_node_neighbour_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},onEditMode(e){this.editMode[e]=!0;const n=this.$refs[e+"Form"],a=n.querySelector("input[type=text]");setTimeout((()=>{a.focus(),a.select()}),10)},async editName(e){const n=e.target.querySelector("input[name=name]").value;this.commandRunning=!0;try{await this.zrequest("set_node_name",{node_id:this.node.node_id,new_name:n})}finally{this.commandRunning=!1}this.editMode.name=!1},async editLocation(e){const n=e.target.querySelector("input[name=location]").value;this.commandRunning=!0;try{await this.zrequest("set_node_location",{node_id:this.node.node_id,location:n})}finally{this.commandRunning=!1}this.editMode.location=!1},async heal(){if(this.commandRunning)console.log("A command is already running");else{this.commandRunning=!0;try{await this.zrequest("node_heal",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}}}};const bt=(0,cn.Z)(kt,[["render",ft],["__scopeId","data-v-3da196a6"]]);var Ct=bt,xt=a(8453),Rt=a(5771),zt=a(9015),Dt=a(1232),Nt=a(6);const qt=e=>((0,t.dD)("data-v-0021cd76"),e=e(),(0,t.Cn)(),e),It={class:"section value"},St={class:"header"},jt={class:"title"},Mt=["disabled","data-id-on-network"],Vt=qt((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Ot=[Vt],Zt={class:"body"},At={class:"row"},Ut=qt((()=>(0,t._)("div",{class:"param-name"},"Value",-1))),Tt={class:"param-value"},Et={key:0,class:"value-view"},$t=["textContent"],Wt=["textContent"],Ft={key:1,class:"value-edit"},Ht={key:0,class:"list"},Gt=["textContent","selected","value"],Kt={key:1,class:"numeric slider-container"},Lt={class:"col-10"},Bt={class:"row"},Yt=["textContent"],Pt=["textContent"],Jt={class:"row"},Qt={class:"col-2"},Xt=["value"],es={key:2,class:"boolean"},ns={key:3,class:"value-data"},as=["value"],ts=["textContent"],ss=qt((()=>(0,t._)("div",{class:"param-name"},"Remove From Scene",-1))),ls=qt((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),is=[ss,ls],os={key:1,class:"row",style:{cursor:"pointer"}},ds=qt((()=>(0,t._)("div",{class:"param-name"},"Add To Scene",-1))),cs={class:"param-value"},rs={key:2,class:"row"},us=qt((()=>(0,t._)("div",{class:"param-name"},"Help",-1))),ms=["textContent"],vs={class:"row"},_s=qt((()=>(0,t._)("div",{class:"param-name"},"Value ID",-1))),ps=["textContent"],hs={key:3,class:"row"},ws=qt((()=>(0,t._)("div",{class:"param-name"},"ID on Network",-1))),gs=["textContent"],ys={class:"row"},fs=qt((()=>(0,t._)("div",{class:"param-name"},"Command Class",-1))),ks=["textContent"],bs={key:4,class:"row"},Cs=qt((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),xs=["textContent"];function Rs(e,n,a,l,i,o){const d=(0,t.up)("Slider"),c=(0,t.up)("ToggleSwitch"),r=(0,t.up)("DropdownItem"),u=(0,t.up)("Dropdown");return(0,t.wg)(),(0,t.iD)("div",It,[(0,t._)("div",St,[(0,t._)("div",jt,[(0,t._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:i.commandRunning,"data-id-on-network":a.value.id_on_network,onClick:n[0]||(n[0]=(...e)=>o.editName&&o.editName(...e))},Ot,8,Mt),(0,t.Uk)(" "+(0,s.zw)(a.value.label),1)])]),(0,t._)("div",Zt,[(0,t._)("div",At,[Ut,(0,t._)("div",Tt,[a.value.is_read_only?((0,t.wg)(),(0,t.iD)("div",Et,[(0,t._)("div",{class:"value-data",textContent:(0,s.zw)(a.value.data)},null,8,$t),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"unit",textContent:(0,s.zw)(a.value.units)},null,8,Wt)):(0,t.kq)("",!0)])):((0,t.wg)(),(0,t.iD)("div",Ft,[(0,t._)("div",{class:(0,s.C_)(["col-"+(a.value.units?.length?"11":"12")])},["List"===a.value.type?((0,t.wg)(),(0,t.iD)("div",Ht,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[1]||(n[1]=(...e)=>o.onValueChange&&o.onValueChange(...e))},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.value.data_items,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{textContent:(0,s.zw)("object"===typeof e?e.text:e),key:n,selected:"object"===typeof e?a.value.data===e.value:a.value.data===e,value:"object"===typeof e?e.value:n},null,8,Gt)))),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",Kt,[(0,t._)("div",Lt,[(0,t._)("div",Bt,[(0,t._)("span",{class:"value-min",textContent:(0,s.zw)(a.value.min)},null,8,Yt),(0,t._)("span",{class:"value-max",textContent:(0,s.zw)(a.value.max)},null,8,Pt)]),(0,t._)("div",Jt,[(0,t._)("label",null,[(0,t.Wm)(d,{range:[a.value.min,a.value.max],value:a.value.data,onChange:o.onValueChange},null,8,["range","value","onChange"])])])]),(0,t._)("div",Qt,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[2]||(n[2]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,Xt)])])])):["Bool","Button"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",es,[(0,t.Wm)(c,{value:a.value.data,onInput:n[3]||(n[3]=e=>o.onValueChange(e,!a.value.data))},null,8,["value"])])):((0,t.wg)(),(0,t.iD)("div",ns,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[4]||(n[4]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,as)])]))],2),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"col-1 unit",textContent:(0,s.zw)(a.value.units)},null,8,ts)):(0,t.kq)("",!0)]))])]),null!=a.sceneId?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=n=>e.$emit("remove-from-scene",{valueId:a.value.id_on_network,sceneId:a.sceneId}))},is)):(0,t.kq)("",!0),o.addValueToSceneItems?.length?((0,t.wg)(),(0,t.iD)("div",os,[ds,(0,t._)("div",cs,[(0,t.Wm)(u,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(o.addValueToSceneItems,((n,s)=>((0,t.wg)(),(0,t.j4)(r,{key:s,text:n.label,disabled:i.commandRunning,onClick:t=>e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:a.value.id_on_network})},null,8,["text","disabled","onClick"])))),128))])),_:1})])])):(0,t.kq)("",!0),a.value.help?.length?((0,t.wg)(),(0,t.iD)("div",rs,[us,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.help)},null,8,ms)])):(0,t.kq)("",!0),(0,t._)("div",vs,[_s,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.value_id)},null,8,ps)]),a.value.value_id!==a.value.id_on_network?((0,t.wg)(),(0,t.iD)("div",hs,[ws,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.id_on_network)},null,8,gs)])):(0,t.kq)("",!0),(0,t._)("div",ys,[fs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.command_class_name||a.value.command_class)},null,8,ks)]),a.value.last_update?((0,t.wg)(),(0,t.iD)("div",bs,[Cs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.value.last_update))},null,8,xs)])):(0,t.kq)("",!0)])])}var zs=a(376),Ds={name:"Value",components:{Slider:zs.Z,Dropdown:Rt.Z,DropdownItem:zt.Z,ToggleSwitch:Nt.Z},mixins:[on],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:()=>({})}},data(){return{commandRunning:!1}},computed:{addValueToSceneItems(){return Object.values(this.scenes||{}).filter((e=>!(this.value.id_on_network in e.values)))}},methods:{async editName(){const e=this.node.values[this.value.id_on_network];let n=prompt("New name",e.label);if(n?.length&&(n=n.trim()),n?.length&&n!==e.label){this.commandRunning=!0;try{await this.zrequest("set_value_label",{id_on_network:e.id_on_network,new_label:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}})}},async onValueChange(e,n){const a=e.target?e.target:e.event.target.parentElement,t=this.node.values[this.value.id_on_network];switch(void 0===n&&(n=null!=a.value?a.value:e.value),t.type){case"List":n=t.data_items[e.target.value];break;case"Int":case"Short":case"Long":case"Byte":n=parseInt(n);break;case"Decimal":n=parseFloat(n);break}"object"===typeof n&&(n=n.value),this.commandRunning=!0;try{await this.zrequest("set_value",{id_on_network:t.id_on_network,data:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}})}}};const Ns=(0,cn.Z)(Ds,[["render",Rs],["__scopeId","data-v-0021cd76"]]);var qs=Ns,Is={name:"Zwave",components:{Value:qs,ToggleSwitch:Nt.Z,Loading:Dt.Z,DropdownItem:zt.Z,Dropdown:Rt.Z,Modal:xt.Z,Group:un,Node:Ct},mixins:[on],data(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap(){const e={};for(const n of Object.values(this.nodes))for(const a of Object.values(n.values))e[a.id_on_network]=a;return e}},methods:{async refreshNodes(){this.loading.nodes=!0;try{this.nodes=await this.zrequest("get_nodes")}finally{this.loading.nodes=!1}Object.keys(this.nodes||{}).length&&(this.views.values=!0)},async refreshGroups(){this.loading.groups=!0;try{this.groups=Object.values(await this.zrequest("get_groups")).filter((e=>e.index)).reduce(((e,n)=>{const a=n.group_id||n.index;return e[a]=n,e}),{})}finally{this.loading.groups=!1}Object.keys(this.groups||{}).length&&(this.views.groups=!0)},async refreshScenes(){this.loading.scenes=!0;try{this.scenes=Object.values(await this.zrequest("get_scenes")).filter((e=>e.scene_id)).reduce(((e,n)=>(e[n.scene_id]=n,e)),{})}finally{this.loading.scenes=!1}Object.keys(this.scenes||{}).length&&(this.views.values=!0)},async refreshValues(e){this.loading.values=!0;try{this.values[e]=Object.values(await this.zrequest("get_"+e)).filter((e=>e.id_on_network)).reduce(((e,n)=>(e[n.id_on_network]=!0,e)),{})}finally{this.loading.values=!1}Object.keys(this.values[e]).length&&(this.views[e]=!0)},async refreshStatus(){this.loading.status=!0;try{this.status=await this.zrequest("controller_status")}finally{this.loading.status=!1}},refresh(){this.views={nodes:!0,scenes:!0},this.refreshNodes(),this.refreshGroups(),this.refreshScenes(),this.refreshValues("switches"),this.refreshValues("dimmers"),this.refreshValues("sensors"),this.refreshValues("bulbs"),this.refreshValues("doorlocks"),this.refreshValues("usercodes"),this.refreshValues("thermostats"),this.refreshValues("protections"),this.refreshValues("battery_levels"),this.refreshValues("power_levels"),this.refreshValues("node_config"),this.refreshStatus()},async addScene(){let e=prompt("Scene name");if(e?.length&&(e=e.trim()),e?.length){this.commandRunning=!0;try{await this.zrequest("create_scene",{label:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},async removeScene(e){if(confirm("Are you sure that you want to delete this scene?")){this.commandRunning=!0;try{await this.zrequest("remove_scene",{scene_id:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},onNodeUpdate(e){this.nodes[e.node.node_id]=e.node,e.value&&(this.nodes[e.node.node_id].values[e.value.id_on_network]=e.value)},onNodeClick(e){this.selected.nodeId=e===this.selected.nodeId?void 0:e},networkInfoModalOpen(){this.refreshStatus(),this.$refs.networkInfoModal.show()},onCommandEvent(e){e.error&&e.error.length&&this.notify({text:e.state_description+": "+e.error_description,error:!0})},async addNode(){this.commandRunning=!0;try{await this.zrequest("add_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async addToGroup(e,n){this.commandRunning=!0;try{await this.zrequest("add_node_to_group",{node_id:e,group_index:n})}finally{this.commandRunning=!1}await this.refreshGroups()},async removeNode(){this.commandRunning=!0;try{await this.zrequest("remove_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async removeValueFromScene(e){if(confirm("Are you sure that you want to remove this value from the scene?")){this.commandRunning=!0;try{await this.zrequest("scene_remove_value",{id_on_network:e.valueId,scene_id:e.sceneId})}finally{this.commandRunning=!1}await this.refreshScenes()}},async renameScene(e){const n=this.scenes[e];let a=prompt("New name",n.label);if(a&&(a=a.trim()),a?.length&&a!==n.label){this.commandRunning=!0;try{await this.zrequest("set_scene_label",{new_label:a,scene_id:e})}finally{this.commandRunning=!1}await this.refreshScenes()}},async startNetwork(){this.commandRunning=!0;try{await this.zrequest("start_network")}finally{this.commandRunning=!1}},async stopNetwork(){this.commandRunning=!0;try{await this.zrequest("stop_network")}finally{this.commandRunning=!1}},async switchAll(e){this.commandRunning=!0;try{await this.zrequest("switch_all",{state:e}),this.refresh()}finally{this.commandRunning=!1}},async cancelCommand(){this.commandRunning=!0;try{await this.zrequest("cancel_command")}finally{this.commandRunning=!1}},async killCommand(){this.commandRunning=!0;try{await this.zrequest("kill_command")}finally{this.commandRunning=!1}},async receiveConfiguration(){this.commandRunning=!0;try{await this.zrequest("receive_configuration")}finally{this.commandRunning=!1}this.refresh()},async createNewPrimary(){this.commandRunning=!0;try{await this.zrequest("create_new_primary")}finally{this.commandRunning=!1}this.refresh()},async transferPrimaryRole(){this.commandRunning=!0;try{await this.zrequest("transfer_primary_role")}finally{this.commandRunning=!1}this.refresh()},async healNetwork(){this.commandRunning=!0;try{await this.zrequest("heal")}finally{this.commandRunning=!1}this.refresh()},async softReset(){confirm("Are you sure that you want to do a device soft reset? This won't lose network information")&&await this.zrequest("soft_reset")},async hardReset(){confirm("Are you sure that you want to do a device soft reset? All network information will be LOST!")&&await this.zrequest("hard_reset")},async activateScene(e){this.commandRunning=!0;try{await this.zrequest("activate_scene",{scene_id:e})}finally{this.commandRunning=!1}},async addValueToScene(e){this.commandRunning=!0;try{await this.zrequest("scene_add_value",{id_on_network:e.valueId,scene_id:e.sceneId,data:this.valuesMap[e.valueId].data})}finally{this.commandRunning=!1}this.refresh()}},mounted(){this.refresh(),this.subscribe(this.refreshGroups,"on-zwave-node-group-event","platypush.message.event.zwave.ZwaveNodeGroupEvent"),this.subscribe(this.refreshScenes,"on-zwave-node-scene-event","platypush.message.event.zwave.ZwaveNodeSceneEvent"),this.subscribe(this.refreshNodes,"on-zwave-node-removed-event","platypush.message.event.zwave.ZwaveNodeRemovedEvent"),this.subscribe(this.onCommandEvent,"on-zwave-command-event","platypush.message.event.zwave.ZwaveCommandEvent"),this.subscribe(this.refreshStatus,"on-zwave-network-event","platypush.message.event.zwave.ZwaveNetworkReadyEvent","platypush.message.event.zwave.ZwaveNetworkStoppedEvent","platypush.message.event.zwave.ZwaveNetworkErrorEvent","platypush.message.event.zwave.ZwaveNetworkResetEvent"),this.subscribe(this.onNodeUpdate,"on-zwave-node-update-event","platypush.message.event.zwave.ZwaveNodeEvent","platypush.message.event.zwave.ZwaveNodeAddedEvent","platypush.message.event.zwave.ZwaveNodeRenamedEvent","platypush.message.event.zwave.ZwaveNodeReadyEvent","platypush.message.event.zwave.ZwaveValueAddedEvent","platypush.message.event.zwave.ZwaveValueChangedEvent","platypush.message.event.zwave.ZwaveValueRemovedEvent","platypush.message.event.zwave.ZwaveValueRefreshedEvent")},unmounted(){["on-zwave-node-group-event","on-zwave-node-scene-event","on-zwave-node-removed-event","on-zwave-command-event","on-zwave-network-event","on-zwave-node-update-event"].forEach((e=>this.unsubscribe(e)))}};const Ss=(0,cn.Z)(Is,[["render",qe]]);var js=Ss}}]); +//# sourceMappingURL=5810.d365373f.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5810.20e20935.js.map b/platypush/backend/http/webapp/dist/static/js/5810.d365373f.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/5810.20e20935.js.map rename to platypush/backend/http/webapp/dist/static/js/5810.d365373f.js.map index 172d5d494..1d60a6dd1 100644 --- a/platypush/backend/http/webapp/dist/static/js/5810.20e20935.js.map +++ b/platypush/backend/http/webapp/dist/static/js/5810.d365373f.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/5810.20e20935.js","mappings":"4LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,KAAOC,SAAU,EAAAA,SAAWC,MAAO,EAAAA,MACzC,QAAK,8BAAO,EAAAC,UAAA,EAAAA,YAAA,IAAQ,WACpB,SAAM,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACrB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACtB,YAAS,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACxB,aAAU,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACzB,WAAQ,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACvB,QAAK,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACpB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,YAT9B,YAWD,OAEM,MAFN,EAEM,EADJ,OAA2C,MAA3C,EAA2C,aAE7C,OAAqC,MAArC,EAAqC,UACX,EAAAC,YAAA,WAA1B,QAA2D,Q,MAArDV,MAAM,Q,aAAyB,QAAc,EAAD,QAAlD,4B,CAKH,OACEW,KAAM,SACNC,MAAO,CAAC,QAAS,SAAU,UAA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Ac,6BAC9B,+CACA,oDACA,sDACA,oDACA,qDACA,uDACA,uDACA,yDACL,EAEDO,YACE,CACE,4BAA6B,4BAA6B,8BAA+B,yBACzF,yBAA0B,8BAC1BC,SAASC,GAAcvM,KAAKwM,YAAYD,IAC3C,GQjqBH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASzL,MAEpE,S","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Zwave/Zwave.vue","webpack://platypush/./src/components/panels/Zwave/Group.vue","webpack://platypush/./src/components/panels/Zwave/mixin.js","webpack://platypush/./src/components/panels/Zwave/Group.vue?d37f","webpack://platypush/./src/components/panels/Zwave/Node.vue","webpack://platypush/./src/components/panels/Zwave/Node.vue?4a32","webpack://platypush/./src/components/panels/Zwave/Value.vue","webpack://platypush/./src/components/panels/Zwave/Value.vue?c87f","webpack://platypush/./src/components/panels/Zwave/Zwave.vue?dac2"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=c573354c\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=c573354c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","slice","replace","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","length","nodeId","pluginName","onNodeClick","groups","group","associations","map","owner","undefined","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","index","max_associations","i","removeFromGroup","mixins","Utils","String","required","async","method","args","request","mixin","confirm","group_id","group_index","zrequest","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","toString","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","is_read_only","units","onValueChange","data_items","indexOf","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","trim","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","reduce","item","refreshGroups","refreshScenes","refreshValues","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/5810.d365373f.js","mappings":"4LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,KAAOC,SAAU,EAAAA,SAAWC,MAAO,EAAAA,MACzC,QAAK,8BAAO,EAAAC,UAAA,EAAAA,YAAA,IAAQ,WACpB,SAAM,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACrB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACtB,YAAS,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACxB,aAAU,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACzB,WAAQ,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACvB,QAAK,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACpB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,YAT9B,YAWD,OAEM,MAFN,EAEM,EADJ,OAA2C,MAA3C,EAA2C,aAE7C,OAAqC,MAArC,EAAqC,UACX,EAAAC,YAAA,WAA1B,QAA2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DAEJhM,KAAKoM,UAAUpM,KAAK6L,cAAe,yBAC/B,uDACA,yDACA,uDACA,wDAEJ7L,KAAKoM,UAAUpM,KAAK8L,aAAc,6BAC9B,+CACA,oDACA,sDACA,oDACA,qDACA,uDACA,uDACA,yDACL,EAEDO,YACE,CACE,4BAA6B,4BAA6B,8BAA+B,yBACzF,yBAA0B,8BAC1BC,SAASC,GAAcvM,KAAKwM,YAAYD,IAC3C,GQjqBH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASzL,MAEpE,S","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Zwave/Zwave.vue","webpack://platypush/./src/components/panels/Zwave/Group.vue","webpack://platypush/./src/components/panels/Zwave/mixin.js","webpack://platypush/./src/components/panels/Zwave/Group.vue?d37f","webpack://platypush/./src/components/panels/Zwave/Node.vue","webpack://platypush/./src/components/panels/Zwave/Node.vue?4a32","webpack://platypush/./src/components/panels/Zwave/Value.vue","webpack://platypush/./src/components/panels/Zwave/Value.vue?c87f","webpack://platypush/./src/components/panels/Zwave/Zwave.vue?dac2"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=95edc28a&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=95edc28a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-95edc28a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=c573354c\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=c573354c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","slice","replace","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","length","nodeId","pluginName","onNodeClick","groups","group","associations","map","owner","undefined","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","index","max_associations","i","removeFromGroup","mixins","Utils","String","required","async","method","args","request","mixin","confirm","group_id","group_index","zrequest","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","toString","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","is_read_only","units","onValueChange","data_items","indexOf","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","trim","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","reduce","item","refreshGroups","refreshScenes","refreshValues","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js b/platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js rename to platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js index 86632c031..c504e3e9f 100644 --- a/platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js +++ b/platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6833],{561:function(e,t,n){var l=n(2109),i=n(7908),a=n(1400),s=n(9303),r=n(6244),c=n(7207),o=n(5417),u=n(6135),d=n(5117),f=n(1194),v=f("splice"),p=Math.max,y=Math.min;l({target:"Array",proto:!0,forced:!v},{splice:function(e,t){var n,l,f,v,k,h,m=i(this),g=r(m),w=a(e,g),C=arguments.length;for(0===C?n=l=0:1===C?(n=0,l=g-w):(n=C-2,l=y(p(s(t),0),g-w)),c(g+n-l),f=o(m,l),v=0;vg-l+n;v--)d(m,v-1)}else if(n>l)for(v=g-l;v>w;v--)k=v+l-1,h=v+n-1,k in m?m[h]=m[k]:d(m,h);for(v=0;v0&&e.name.toLowerCase().indexOf(U.playlistFilter.toLowerCase())<0}]),key:t},[(0,i._)("input",{type:"checkbox",checked:U.selectedPlaylists[t],onChange:function(e){return U.selectedPlaylists[t]=e.target.checked}},null,40,H),(0,i._)("span",{class:"name",textContent:(0,a.zw)(e.name)},null,8,K)],2)})),128))]),(0,i.Wm)(ie,null,{default:(0,i.w5)((function(){return[(0,i._)("button",{onClick:t[40]||(t[40]=function(){return Y.addToPlaylist&&Y.addToPlaylist.apply(Y,arguments)})},B)]})),_:1})]})),_:1},512)])],64)}var G=n(8534),J=(n(5666),n(9653),n(2222),n(7327),{class:"form-footer"});function X(e,t,n,l,a,s){return(0,i.wg)(),(0,i.iD)("div",J,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])}var ee={name:"FormFooter"},te=n(3744);const ne=(0,te.Z)(ee,[["render",X],["__scopeId","data-v-2495ce8a"]]);var le=ne,ie=n(1232),ae=n(9642),se=n(8337),re=n(9978),ce=["title","onClick"];function oe(e,t,n,l,s,r){return(0,i.wg)(),(0,i.iD)("nav",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.views,(function(t,l){return(0,i.wg)(),(0,i.iD)("li",{key:l,title:t.displayName,class:(0,a.C_)({selected:l===n.selectedView}),onClick:function(t){return e.$emit("input",l)}},[(0,i._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ce)})),128))])}var ue={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:function(){return{playing:{iconClass:"fas fa-play",displayName:"Queue"},search:{iconClass:"fas fa-search",displayName:"Search"},playlists:{iconClass:"fas fa-list-ul",displayName:"Playlists"},library:{iconClass:"fas fa-compact-disc",displayName:"Library"}}}}}};const de=(0,te.Z)(ue,[["render",oe],["__scopeId","data-v-edee6494"]]);var fe=de,ve=(n(189),n(8783),n(7941),function(e){return(0,i.dD)("data-v-ee1cc6f4"),e=e(),(0,i.Cn)(),e}),pe={key:1,class:"playlist fade-in"},ye={class:"header-container"},ke={class:"col-8 filter"},he={class:"col-4 buttons"},me=ve((function(){return(0,i._)("i",{class:"fa fa-plus"},null,-1)})),ge=[me],we=ve((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),Ce=[we],_e={class:"body",ref:"body"},be={key:0,class:"no-content"},De=["onDragstart","onDragend","onDragover","onClick","onDblclick"],xe={class:"col-10"},Te={class:"title"},$e={key:0,class:"artist"},Pe=["href","textContent","onClick"],Se={key:1,class:"album"},Re=["href","textContent","onClick"],Ze={class:"col-2 right-side"},Ae=["textContent"],Ie={class:"actions"};function qe(e,t,n,r,c,o){var u,d=(0,i.up)("Loading"),f=(0,i.up)("DropdownItem"),v=(0,i.up)("Dropdown"),p=(0,i.up)("MusicHeader");return n.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):((0,i.wg)(),(0,i.iD)("div",pe,[(0,i._)("div",ye,[(0,i.Wm)(p,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",ke,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=function(e){return c.filter=e})},null,512),[[s.nr,c.filter]])])]),(0,i._)("div",he,[(0,i.Wm)(v,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){var a,s,r,u,d,v,p;return[(0,i.Wm)(f,{text:"Save as playlist","icon-class":"fa fa-save",disabled:!(null!==(a=n.tracks)&&void 0!==a&&a.length),onClick:o.playlistSave},null,8,["disabled","onClick"]),2===(null===(s=c.selectedTracks)||void 0===s?void 0:s.length)?((0,i.wg)(),(0,i.j4)(f,{key:0,text:"Swap tracks","icon-class":"fa fa-retweet",onClick:t[1]||(t[1]=function(t){return e.$emit("swap",c.selectedTracks)})})):(0,i.kq)("",!0),(0,i.Wm)(f,{text:c.selectionMode?"End selection":"Start selection","icon-class":"far fa-check-square",disabled:!(null!==(r=n.tracks)&&void 0!==r&&r.length),onClick:t[2]||(t[2]=function(e){return c.selectionMode=!c.selectionMode})},null,8,["text","disabled"]),(0,i.Wm)(f,{text:(null===(u=c.selectedTracks)||void 0===u?void 0:u.length)===(null===(d=n.tracks)||void 0===d?void 0:d.length)?"Unselect all":"Select all","icon-class":"fa fa-check-double",disabled:!(null!==(v=n.tracks)&&void 0!==v&&v.length),onClick:t[3]||(t[3]=function(e){return c.selectedTracks=c.selectedTracks.length===n.tracks.length?[]:(0,l.Z)(Array(n.tracks.length).keys())})},null,8,["text","disabled"]),c.selectedTracks.length>0?((0,i.wg)(),(0,i.j4)(f,{key:1,text:"Remove track"+(c.selectedTracks.length>1?"s":""),"icon-class":"fa fa-trash",onClick:t[4]||(t[4]=function(t){return e.$emit("remove",(0,l.Z)(new Set(c.selectedTracks)))})},null,8,["text"])):(0,i.kq)("",!0),(0,i.Wm)(f,{text:"Clear playlist","icon-class":"fa fa-ban",disabled:!(null!==(p=n.tracks)&&void 0!==p&&p.length),onClick:t[5]||(t[5]=function(t){return e.$emit("clear")})},null,8,["disabled"])]})),_:1}),(0,i._)("button",{title:"Add track",onClick:t[6]||(t[6]=function(){return o.addTrack&&o.addTrack.apply(o,arguments)})},ge),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:0,title:"Refresh status",onClick:t[7]||(t[7]=function(t){return e.$emit("refresh-status")})},Ce)):(0,i.kq)("",!0),Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(v,{key:1,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(f,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0)])]})),_:1},512)]),(0,i._)("div",_e,[null!==(u=n.tracks)&&void 0!==u&&u.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",be," No tracks are loaded ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.tracks,(function(t,r){var u,d,p,y,k;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(r),active:(null===(u=n.status)||void 0===u?void 0:u.playingPos)===r,hidden:!o.displayedTracks.has(r)}]),onDragstart:function(e){return o.onTrackDragStart(r)},onDragend:function(e){return o.onTrackDragEnd(r)},onDragover:function(e){return o.onTrackDragOver(r)},draggable:"true",key:r,onClick:function(e){return o.onTrackClick(e,r)},onDblclick:function(t){return e.$emit("play",{pos:r})}},[(0,i._)("div",xe,[(0,i._)("div",Te,[(0,i.Uk)((0,a.zw)(t.title||"[No Title]")+" ",1),(null===(d=n.status)||void 0===d?void 0:d.playingPos)!==r||"play"!==(null===(p=n.status)||void 0===p?void 0:p.state)&&"pause"!==(null===(y=n.status)||void 0===y?void 0:y.state)?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,a.C_)(["playing-icon",{paused:"pause"===(null===(k=n.status)||void 0===k?void 0:k.state)}])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,l.Z)(Array(3).keys()),(function(e){return(0,i.wg)(),(0,i.iD)("span",{key:e})})),128))],2))]),t.artist?((0,i.wg)(),(0,i.iD)("div",$e,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist})}),["prevent"])},null,8,Pe)])):(0,i.kq)("",!0),t.album?((0,i.wg)(),(0,i.iD)("div",Se,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist,album:t.album})}),["prevent"])},null,8,Re)])):(0,i.kq)("",!0)]),(0,i._)("div",Ze,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,Ae),(0,i._)("span",Ie,[(0,i.Wm)(v,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(f,{text:"Play","icon-class":"fa fa-play",onClick:function(t){return e.$emit("play",{pos:r})}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Remove","icon-class":"fa fa-trash",onClick:function(t){return e.$emit("remove",(0,l.Z)(new Set([].concat((0,l.Z)(c.selectedTracks),[r]))))}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Info","icon-class":"fa fa-info",onClick:function(t){return e.$emit("info",n.tracks[r])}},null,8,["onClick"])]})),_:2},1024)])])],42,De)})),128))],512)]))}n(2707),n(561),n(4747);var Me={class:"header"};function Le(e,t,n,l,a,s){return(0,i.wg)(),(0,i.iD)("div",Me,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])}var We={name:"Header"};const ze=(0,te.Z)(We,[["render",Le],["__scopeId","data-v-8beb55c6"]]);var Oe=ze,je=n(5771),Ee=n(9015),Fe={name:"Playlist",mixins:[se.Z],components:{DropdownItem:Ee.Z,Dropdown:je.Z,MusicHeader:Oe,Loading:ie.Z},emits:["play","clear","add","remove","swap","search","move","save","info","refresh-status","select-device"],props:{tracks:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},status:{type:Object,default:function(){}},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectionMode:!1,selectedTracks:[],filter:"",infoTrack:null,sourcePos:null,targetPos:null}},computed:{selectedTracksSet:function(){return new Set(this.selectedTracks)},displayedTracks:function(){var e,t=this,n=(0,l.Z)(Array(this.tracks.length).keys());if(null===(e=this.filter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.filter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.tracks[e];return((null===n||void 0===n?void 0:n.artist)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.title)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.album)||"").toLowerCase().indexOf(a)>=0})))}},methods:{onTrackClick:function(e,t){if(e.shiftKey){var n=this.selectedTracks.sort();n.length?tn[n.length-1]&&(this.selectedTracks=[].concat((0,l.Z)(this.selectedTracks),(0,l.Z)((0,l.Z)(Array(t-n[n.length-1]+1).keys()).map((function(e){return e+n[n.length-1]}))))):this.selectedTracks=[t]}else{var i=this.selectedTracks.indexOf(t);this.selectionMode||e.ctrlKey?i>=0?this.selectedTracks.splice(i,1):this.selectedTracks.push(t):this.selectedTracks=i>=0?[]:[t]}},addTrack:function(){var e=prompt("Item path or URL");null!==e&&void 0!==e&&e.length&&this.$emit("add",e)},onTrackDragStart:function(e){this.sourcePos=e},onTrackDragEnd:function(){this.$refs.body.querySelectorAll(".track").forEach((function(e){return e.classList.remove("dragover")})),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("move",{from:this.sourcePos,to:this.targetPos}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver:function(e){this.targetPos=e;var t=this.$refs.body.querySelectorAll(".track");t.forEach((function(e){return e.classList.remove("dragover")})),(0,l.Z)(t)[e].classList.add("dragover")},playlistSave:function(){var e=prompt("Playlist name");null!==e&&void 0!==e&&e.length&&this.$emit("save",e)}},mounted:function(){var e=this;this.$watch((function(){var t;return null===(t=e.status)||void 0===t?void 0:t.playingPos}),(function(t){if(null!=t){var n=(0,l.Z)(e.$refs.body.querySelectorAll(".track"))[t],i=n.offsetTop-parseFloat(getComputedStyle(e.$refs.header.$el).height);e.$refs.body.scrollTo(0,i)}}))}};const Ve=(0,te.Z)(Fe,[["render",qe],["__scopeId","data-v-ee1cc6f4"]]);var Ne=Ve,He=function(e){return(0,i.dD)("data-v-c01651b6"),e=e(),(0,i.Cn)(),e},Ke={key:1,class:"editor-container fade-in"},Ue={class:"header-container"},Ye={class:"col-8 filter"},Be=He((function(){return(0,i._)("i",{class:"fas fa-arrow-left"},null,-1)})),Qe=[Be],Ge={class:"search-box"},Je={class:"buttons pull-right"},Xe=He((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),et=[Xe],tt=He((function(){return(0,i._)("i",{class:"fas fa-plus"},null,-1)})),nt=[tt],lt={class:"editor",ref:"editor"},it={key:0,class:"no-content"},at=["onDragstart","onDragend","onDragover","onClick","onDblclick"],st={class:"col-10"},rt={class:"title"},ct={key:0,class:"artist"},ot=["href","textContent","onClick"],ut={key:1,class:"album"},dt=["href","textContent","onClick"],ft={class:"col-2 right-side"},vt=["textContent"],pt={class:"actions"},yt={key:2,class:"playlists fade-in"},kt={class:"header-container"},ht={class:"col-8 filter"},mt={class:"col-4 buttons"},gt=He((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),wt=[gt],Ct={class:"body",ref:"body"},_t={key:0,class:"no-content"},bt=["onClick","onDblclick"],Dt={class:"col-10"},xt=["textContent"],Tt={class:"col-2 right-side"},$t={class:"actions"};function Pt(e,t,n,r,c,o){var u,d,f=(0,i.up)("Loading"),v=(0,i.up)("DropdownItem"),p=(0,i.up)("Dropdown"),y=(0,i.up)("MusicHeader");return n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):null!=n.editedPlaylist?((0,i.wg)(),(0,i.iD)("div",Ke,[(0,i._)("div",Ue,[(0,i.Wm)(y,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",Ye,[(0,i._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=function(t){return e.$emit("playlist-edit",null)})},Qe),(0,i._)("label",Ge,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[1]||(t[1]=function(e){return c.trackFilter=e})},null,512),[[s.nr,c.trackFilter]])])]),(0,i._)("div",Je,[Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(p,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(v,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:1,title:"Refresh status",onClick:t[2]||(t[2]=function(t){return e.$emit("refresh-status")})},et)):(0,i.kq)("",!0),(0,i._)("button",{class:"add-btn",title:"Add track",onClick:t[3]||(t[3]=function(){return o.addTrack&&o.addTrack.apply(o,arguments)})},nt)])]})),_:1},512)]),(0,i._)("div",lt,[null!==(u=n.tracks)&&void 0!==u&&u.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",it," No tracks found ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.tracks,(function(t,r){var u;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(r),active:(null===(u=e.status)||void 0===u?void 0:u.playingPos)===r,hidden:!o.displayedTracks.has(r)}]),draggable:"true",key:r,onDragstart:function(e){return o.onTrackDragStart(r)},onDragend:function(e){return o.onTrackDragEnd(r)},onDragover:function(e){return o.onTrackDragOver(r)},onClick:function(e){return o.onTrackClick(e,r)},onDblclick:function(t){return e.$emit("load-track",{pos:r,play:!0})}},[(0,i._)("div",st,[(0,i._)("div",rt,(0,a.zw)(t.title||"[No Title]"),1),t.artist?((0,i.wg)(),(0,i.iD)("div",ct,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist})}),["prevent"])},null,8,ot)])):(0,i.kq)("",!0),t.album?((0,i.wg)(),(0,i.iD)("div",ut,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist,album:t.album})}),["prevent"])},null,8,dt)])):(0,i.kq)("",!0)]),(0,i._)("div",ft,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,vt),(0,i._)("span",pt,[(0,i.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(v,{text:"Play","icon-class":"fa fa-play",onClick:function(t){return e.$emit("load-track",{pos:r,play:!0})}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(t){return e.$emit("load-track",{pos:r,play:!1})}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Remove","icon-class":"fa fa-trash",onClick:function(t){return e.$emit("remove-track",(0,l.Z)(new Set([].concat((0,l.Z)(c.selectedTracks),[r]))))}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Info","icon-class":"fa fa-info",onClick:(0,s.iM)((function(t){return e.$emit("info",n.tracks[r])}),["stop"])},null,8,["onClick"])]})),_:2},1024)])])],42,at)})),128))],512)])):((0,i.wg)(),(0,i.iD)("div",yt,[(0,i._)("div",kt,[(0,i.Wm)(y,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",ht,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[4]||(t[4]=function(e){return c.filter=e})},null,512),[[s.nr,c.filter]])])]),(0,i._)("div",mt,[Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(p,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(v,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:1,title:"Refresh status",onClick:t[5]||(t[5]=function(t){return e.$emit("refresh-status")})},wt)):(0,i.kq)("",!0)])]})),_:1},512)]),(0,i._)("div",Ct,[null!==(d=n.playlists)&&void 0!==d&&d.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",_t," No playlists found ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.playlists,(function(t,n){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row playlist",{hidden:!o.displayedPlaylists.has(n)}]),key:n,onClick:function(t){return e.$emit("playlist-edit",n)},onDblclick:function(t){return e.$emit("load",n)}},[(0,i._)("div",Dt,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(t.name||"[No Name]")},null,8,xt)]),(0,i._)("div",Tt,[(0,i._)("span",$t,[(0,i.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(v,{text:"Play","icon-class":"fa fa-play",onClick:(0,s.iM)((function(t){return e.$emit("play",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Load","icon-class":"fa fa-list-ul",onClick:(0,s.iM)((function(t){return e.$emit("load",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Edit","icon-class":"fa fa-edit",onClick:(0,s.iM)((function(t){return e.$emit("playlist-edit",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Remove","icon-class":"fa fa-trash",onClick:(0,s.iM)((function(t){return e.$emit("remove",n)}),["stop"])},null,8,["onClick"])]})),_:2},1024)])])],42,bt)})),128))],512)]))}var St={name:"Playlists",mixins:[se.Z],components:{DropdownItem:Ee.Z,Dropdown:je.Z,MusicHeader:Oe,Loading:ie.Z},emits:["play","load","remove","playlist-edit","search","remove-track","load-track","info","playlist-add","add-to-playlist","track-move","refresh-status","select-device"],props:{playlists:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},tracks:{type:Array,default:function(){return[]}},editedPlaylist:{type:Number},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedTracks:[],filter:"",trackFilter:"",sourcePos:null,targetPos:null}},computed:{selectedTracksSet:function(){return new Set(this.selectedTracks)},displayedPlaylists:function(){var e,t=this,n=(0,l.Z)(Array(this.playlists.length).keys());if(null===(e=this.filter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.filter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.playlists[e];return((null===n||void 0===n?void 0:n.name)||"").toLowerCase().indexOf(a)>=0})))},displayedTracks:function(){var e,t=this,n=(0,l.Z)(Array(this.tracks.length).keys());if(null===(e=this.trackFilter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.trackFilter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.tracks[e];return((null===n||void 0===n?void 0:n.artist)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.title)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.album)||"").toLowerCase().indexOf(a)>=0})))}},methods:{onTrackClick:function(e,t){if(e.shiftKey){var n=this.selectedTracks.sort();n.length?tn[n.length-1]&&(this.selectedTracks=[].concat((0,l.Z)(this.selectedTracks),(0,l.Z)((0,l.Z)(Array(t-n[n.length-1]+1).keys()).map((function(e){return e+n[n.length-1]}))))):this.selectedTracks=[t]}else{var i=this.selectedTracks.indexOf(t);e.ctrlKey?i>=0?this.selectedTracks.splice(i,1):this.selectedTracks.push(t):this.selectedTracks=i>=0?[]:[t]}},addTrack:function(){var e=prompt("Track path or URL");null!==e&&void 0!==e&&e.length&&this.$emit("playlist-add",e)},onTrackDragStart:function(e){this.sourcePos=e},onTrackDragEnd:function(){this.$refs.editor.querySelectorAll(".track").forEach((function(e){return e.classList.remove("dragover")})),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("track-move",{from:this.sourcePos,to:this.targetPos,playlist:this.editedPlaylist}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver:function(e){this.targetPos=e;var t=this.$refs.editor.querySelectorAll(".track");t.forEach((function(e){return e.classList.remove("dragover")})),(0,l.Z)(t)[e].classList.add("dragover")}}};const Rt=(0,te.Z)(St,[["render",Pt],["__scopeId","data-v-c01651b6"]]);var Zt=Rt,At=function(e){return(0,i.dD)("data-v-6fe42598"),e=e(),(0,i.Cn)(),e},It={class:"search-form"},qt={class:"row"},Mt={class:"row"},Lt={class:"row"},Wt={class:"row"},zt=At((function(){return(0,i._)("i",{class:"icon fa fa-times"},null,-1)})),Ot=At((function(){return(0,i._)("span",{class:"btn-title"},"Clear",-1)})),jt=[zt,Ot],Et=At((function(){return(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"icon fa fa-search"}),(0,i._)("span",{class:"btn-title"},"Search")],-1)})),Ft={class:"search-box"},Vt={class:"buttons"},Nt=At((function(){return(0,i._)("i",{class:"icon fa fa-times"},null,-1)})),Ht=At((function(){return(0,i._)("span",{class:"btn-title"},"Clear",-1)})),Kt=[Nt,Ht],Ut={class:"results"},Yt=["onClick"],Bt={class:"col-10"},Qt={class:"title"},Gt=["textContent"],Jt=["textContent"],Xt={class:"col-2 right-side"},en=["textContent"],tn={class:"actions"};function nn(e,t,n,l,r,c){var o=(0,i.up)("FormFooter"),u=(0,i.up)("MusicHeader"),d=(0,i.up)("DropdownItem"),f=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["search fade-in",{"form-collapsed":c.formCollapsed}])},[c.formCollapsed?((0,i.wg)(),(0,i.j4)(u,{key:1},{default:(0,i.w5)((function(){return[(0,i._)("label",Ft,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[6]||(t[6]=function(e){return r.filter=e})},null,512),[[s.nr,r.filter]])]),(0,i._)("span",Vt,[(0,i._)("button",{onClick:t[7]||(t[7]=function(){return c.clear&&c.clear.apply(c,arguments)})},Kt)])]})),_:1})):((0,i.wg)(),(0,i.iD)("div",{key:0,class:"form-container",onSubmit:t[5]||(t[5]=(0,s.iM)((function(t){return e.$emit("search",c.filteredQuery)}),["prevent"]))},[(0,i._)("form",It,[(0,i._)("div",qt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Any","onUpdate:modelValue":t[0]||(t[0]=function(e){return r.query.any=e})},null,512),[[s.nr,r.query.any]])])]),(0,i._)("div",Mt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Artist","onUpdate:modelValue":t[1]||(t[1]=function(e){return r.query.artist=e})},null,512),[[s.nr,r.query.artist]])])]),(0,i._)("div",Lt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[2]||(t[2]=function(e){return r.query.title=e})},null,512),[[s.nr,r.query.title]])])]),(0,i._)("div",Wt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Album","onUpdate:modelValue":t[3]||(t[3]=function(e){return r.query.album=e})},null,512),[[s.nr,r.query.album]])])]),(0,i.Wm)(o,null,{default:(0,i.w5)((function(){return[(0,i._)("button",{onClick:t[4]||(t[4]=function(){return c.clear&&c.clear.apply(c,arguments)})},jt),Et]})),_:1})])],32)),(0,i._)("div",Ut,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.results,(function(t,n){var l,s;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:r.selectedResults.has(n),hidden:!c.displayedTracks.has(n)}]),key:n,onClick:function(e){return c.resultClick(n,e)}},[(0,i._)("div",Bt,[(0,i._)("div",Qt,(0,a.zw)(t.title||"[No Title]"),1),null!==(l=t.artist)&&void 0!==l&&l.length?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Gt)):(0,i.kq)("",!0),null!==(s=t.album)&&void 0!==s&&s.length?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Jt)):(0,i.kq)("",!0)]),(0,i._)("div",Xt,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,en),(0,i._)("span",tn,[(0,i.Wm)(f,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:function(e){return c.play(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(e){return c.load(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1024)])])],10,Yt)})),128))])],2)}var ln=n(6084),an=(n(9720),{name:"Search",components:{Dropdown:je.Z,DropdownItem:Ee.Z,FormFooter:le,MusicHeader:Oe},mixins:[se.Z],emits:["search","clear","play","load","add-to-playlist","info","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{formCollapsed:function(){var e;return(null===(e=this.results)||void 0===e?void 0:e.length)>0},filteredQuery:function(){return Object.entries(this.query).filter((function(e){var t;return null===(t=e[1])||void 0===t?void 0:t.length})).reduce((function(e,t){var n=(0,ln.Z)(t,2),l=n[0],i=n[1];return e[l]=i,e}),{})},displayedTracks:function(){var e,t=this;return new Set((0,l.Z)(Array((null===(e=this.results)||void 0===e?void 0:e.length)||0).keys()).filter((function(e){var n,l=t.results[e];if(null===(n=t.filter)||void 0===n||!n.length)return l;var i=t.filter.toLowerCase();return((null===l||void 0===l?void 0:l.artist)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.title)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.album)||"").toLowerCase().indexOf(i)>=0})))}},methods:{clear:function(){this.$emit("clear"),this.selectedResults=new Set},resultClick:function(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){var n=(0,l.Z)(this.selectedResults),i=Math.min(Math.min(n),e),a=Math.max(Math.max(n),e);this.selectedResults=new Set((0,l.Z)(Array(a-i+1).keys()).map((function(e){return e+i})))}}else t.ctrlKey||(this.selectedResults=new Set),this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e)},play:function(e){var t=this;this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((function(e){t.$emit("load",e)}))},load:function(e){var t=this;this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((function(e){t.$emit("load",t.results[e])}))}}});const sn=(0,te.Z)(an,[["render",nn],["__scopeId","data-v-6fe42598"]]);var rn=sn,cn=(n(3123),function(e){return(0,i.dD)("data-v-c3245ea8"),e=e(),(0,i.Cn)(),e}),on={class:"library fade-in"},un={class:"search-box"},dn={class:"results"},fn=cn((function(){return(0,i._)("div",{class:"icon-container"},[(0,i._)("i",{class:"icon fa fa-folder"})],-1)})),vn=cn((function(){return(0,i._)("div",{class:"result-container"},[(0,i._)("div",{class:"title"},"..")],-1)})),pn=[fn,vn],yn=["onClick"],kn={class:"col-10 left-side"},hn={class:"icon-container"},mn={key:0,class:"icon fa fa-folder"},gn={key:1,class:"icon fa fa-music"},wn={class:"info"},Cn={class:"title"},_n=["textContent"],bn=["textContent"],Dn={class:"artist-album"},xn=["textContent"],Tn=["textContent"],$n={class:"col-2 right-side"},Pn=["textContent"],Sn={class:"actions"};function Rn(e,t,n,l,r,c){var o=(0,i.up)("Loading"),u=(0,i.up)("MusicHeader"),d=(0,i.up)("DropdownItem"),f=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",on,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),(0,i.Wm)(u,null,{default:(0,i.w5)((function(){return[(0,i._)("label",un,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=function(e){return r.filter=e})},null,512),[[s.nr,r.filter]])])]})),_:1}),(0,i._)("div",dn,["/"!==n.path?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"row track back-track",onClick:t[1]||(t[1]=function(){return c.back&&c.back.apply(c,arguments)})},pn)):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.results,(function(t,n){var l,s;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:r.selectedResults.has(n),hidden:!c.displayedResults.has(n)}]),key:n,onClick:function(e){return c.resultClick(n,e)}},[(0,i._)("div",kn,[(0,i._)("div",hn,[t.directory?((0,i.wg)(),(0,i.iD)("i",mn)):t.file?((0,i.wg)(),(0,i.iD)("i",gn)):(0,i.kq)("",!0)]),(0,i._)("div",wn,[(0,i._)("div",Cn,[t.directory?((0,i.wg)(),(0,i.iD)("span",{key:0,textContent:(0,a.zw)(t.directory.split("/").pop())},null,8,_n)):t.title?((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,a.zw)(t.title)},null,8,bn)):(0,i.kq)("",!0)]),(0,i._)("div",Dn,[null!==(l=t.artist)&&void 0!==l&&l.length?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,xn)):(0,i.kq)("",!0),null!==(s=t.album)&&void 0!==s&&s.length?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Tn)):(0,i.kq)("",!0)])])]),(0,i._)("div",$n,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Pn),(0,i._)("span",Sn,[(0,i.Wm)(f,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:function(e){return c.play(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(e){return c.load(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1024)])])],10,yn)})),128))])])}n(9600),n(7042);var Zn={name:"Library",components:{Dropdown:je.Z,DropdownItem:Ee.Z,MusicHeader:Oe,Loading:ie.Z},mixins:[se.Z],emits:["search","play","load","add-to-playlist","info","cd","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},path:{type:String},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{displayedResults:function(){var e,t=this;return new Set((0,l.Z)(Array((null===(e=this.results)||void 0===e?void 0:e.length)||0).keys()).filter((function(e){var n,l=t.results[e];if(null===(n=t.filter)||void 0===n||!n.length)return l;var i=t.filter.toLowerCase();return((null===l||void 0===l?void 0:l.artist)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.title)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.album)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.directory)||"").toLowerCase().indexOf(i)>=0})))}},methods:{resultClick:function(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){var n=(0,l.Z)(this.selectedResults),i=Math.min(Math.min(n),e),a=Math.max(Math.max(n),e);this.selectedResults=new Set((0,l.Z)(Array(a-i+1).keys()).map((function(e){return e+i})))}}else t.ctrlKey?this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e):this.results[e].directory?this.$emit("cd",this.results[e].directory):(this.selectedResults=new Set,this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e))},play:function(e){var t=this;this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((function(e){t.$emit("load",e)}))},load:function(e){var t=this;this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((function(e){t.$emit("load",t.results[e])}))},back:function(){var e=this.path.split("/");this.$emit("cd",e.slice(0,e.length-1).join("/"))}}};const An=(0,te.Z)(Zn,[["render",Rn],["__scopeId","data-v-c3245ea8"]]);var In=An,qn=n(6813),Mn={name:"Music",emits:["play","pause","stop","clear","previous","next","set-volume","seek","consume","repeat","random","status-update","playlist-update","new-playing-track","add-to-tracklist","remove-from-tracklist","swap-tracks","play-playlist","load-playlist","remove-playlist","tracklist-move","tracklist-save","add-to-tracklist-from-edited-playlist","remove-from-playlist","info","playlist-add","add-to-playlist","playlist-track-move","search","search-clear","cd","refresh-status","select-device"],mixins:[qn.Z,se.Z],components:{Loading:ie.Z,Modal:ae.Z,Nav:fe,MediaView:re.Z,Playlist:Ne,Playlists:Zt,FormFooter:le,Search:rn,Library:In},props:{pluginName:{type:String,required:!0},loading:{type:Boolean,default:!1},config:{type:Object,default:function(){}},tracks:{type:Array,default:function(){return[]}},editedPlaylistTracks:{type:Array,default:function(){return[]}},playlists:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){}},editedPlaylist:{type:Number},trackInfo:{type:String},searchResults:{type:Array},libraryResults:{type:Array},path:{type:String},devices:{type:Object},activeDevice:{type:String},selectedDevice:{type:String}},data:function(){return{selectedView:"playing",selectedPlaylists:[],addToPlaylistTrack:null,playlistFilter:""}},computed:{track:function(){var e;return null==(null===(e=this.status)||void 0===e?void 0:e.playingPos)?null:this.tracks[this.status.playingPos]}},methods:{onStatusEvent:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.$emit("status-update",e);case 3:case"end":return n.stop()}}),n)})))()},onPlaylistEvent:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.$emit("playlist-update",e);case 3:case"end":return n.stop()}}),n)})))()},onNewPlayingTrack:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){var l,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.notify({html:"".concat(null===(l=e.track)||void 0===l?void 0:l.artist,"
").concat(null===(i=e.track)||void 0===i?void 0:i.title),image:{iconClass:"fa fa-play"}}),t.$emit("new-playing-track",e);case 4:case"end":return n.stop()}}),n)})))()},openAddToPlaylist:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.addToPlaylistTrack=e,t.$refs.playlistsModal.isVisible=!0;case 2:case"end":return n.stop()}}),n)})))()},addToPlaylist:function(){var e=this;return(0,G.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$emit("add-to-playlist",{track:e.addToPlaylistTrack,playlists:(0,l.Z)(Array(e.selectedPlaylists.length).keys()).filter((function(t){return e.selectedPlaylists[t]}))}),e.$refs.playlistsModal.isVisible=!1,e.addToPlaylistTrack=null,e.playlistFilter="";case 4:case"end":return t.stop()}}),t)})))()},search:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.$emit("search",e),t.$refs.trackInfo.isVisible=!1,t.selectedView="search";case 3:case"end":return n.stop()}}),n)})))()},selectDevice:function(e){this.$emit("select-device",e)},refreshStatus:function(){this.$emit("refresh-status")}},mounted:function(){var e=this;this.subscribe(this.onStatusEvent,"on-status-update","platypush.message.event.music.MusicPlayEvent","platypush.message.event.music.MusicPauseEvent","platypush.message.event.music.MusicStopEvent","platypush.message.event.music.SeekChangeEvent","platypush.message.event.music.VolumeChangeEvent","platypush.message.event.music.MuteChangeEvent","platypush.message.event.music.PlaybackRepeatModeChangeEvent","platypush.message.event.music.PlaybackRandomModeChangeEvent","platypush.message.event.music.PlaybackConsumeModeChangeEvent","platypush.message.event.music.PlaybackSingleModeChangeEvent"),this.subscribe(this.onPlaylistEvent,"on-playlist-update","platypush.message.event.music.PlaylistChangeEvent"),this.subscribe(this.onNewPlayingTrack,"on-new-playing-track","platypush.message.event.music.NewPlayingTrackEvent"),this.$watch((function(){return e.trackInfo}),(function(t){null!=t&&(e.$refs.trackInfo.isVisible=!0)}))},unmounted:function(){this.unsubscribe("on-status-update"),this.unsubscribe("on-playlist-update")}};const Ln=(0,te.Z)(Mn,[["render",Q],["__scopeId","data-v-2cd8b8d5"]]);var Wn=Ln}}]); -//# sourceMappingURL=6833-legacy.1d80511f.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6833],{561:function(e,t,n){var l=n(2109),i=n(7908),a=n(1400),s=n(9303),r=n(6244),c=n(7207),o=n(5417),u=n(6135),d=n(5117),f=n(1194),v=f("splice"),p=Math.max,y=Math.min;l({target:"Array",proto:!0,forced:!v},{splice:function(e,t){var n,l,f,v,k,h,m=i(this),g=r(m),w=a(e,g),C=arguments.length;for(0===C?n=l=0:1===C?(n=0,l=g-w):(n=C-2,l=y(p(s(t),0),g-w)),c(g+n-l),f=o(m,l),v=0;vg-l+n;v--)d(m,v-1)}else if(n>l)for(v=g-l;v>w;v--)k=v+l-1,h=v+n-1,k in m?m[h]=m[k]:d(m,h);for(v=0;v0&&e.name.toLowerCase().indexOf(U.playlistFilter.toLowerCase())<0}]),key:t},[(0,i._)("input",{type:"checkbox",checked:U.selectedPlaylists[t],onChange:function(e){return U.selectedPlaylists[t]=e.target.checked}},null,40,H),(0,i._)("span",{class:"name",textContent:(0,a.zw)(e.name)},null,8,K)],2)})),128))]),(0,i.Wm)(ie,null,{default:(0,i.w5)((function(){return[(0,i._)("button",{onClick:t[40]||(t[40]=function(){return Y.addToPlaylist&&Y.addToPlaylist.apply(Y,arguments)})},B)]})),_:1})]})),_:1},512)])],64)}var G=n(8534),J=(n(5666),n(9653),n(2222),n(7327),{class:"form-footer"});function X(e,t,n,l,a,s){return(0,i.wg)(),(0,i.iD)("div",J,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])}var ee={name:"FormFooter"},te=n(3744);const ne=(0,te.Z)(ee,[["render",X],["__scopeId","data-v-2495ce8a"]]);var le=ne,ie=n(1232),ae=n(8453),se=n(8337),re=n(9978),ce=["title","onClick"];function oe(e,t,n,l,s,r){return(0,i.wg)(),(0,i.iD)("nav",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.views,(function(t,l){return(0,i.wg)(),(0,i.iD)("li",{key:l,title:t.displayName,class:(0,a.C_)({selected:l===n.selectedView}),onClick:function(t){return e.$emit("input",l)}},[(0,i._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ce)})),128))])}var ue={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:function(){return{playing:{iconClass:"fas fa-play",displayName:"Queue"},search:{iconClass:"fas fa-search",displayName:"Search"},playlists:{iconClass:"fas fa-list-ul",displayName:"Playlists"},library:{iconClass:"fas fa-compact-disc",displayName:"Library"}}}}}};const de=(0,te.Z)(ue,[["render",oe],["__scopeId","data-v-edee6494"]]);var fe=de,ve=(n(189),n(8783),n(7941),function(e){return(0,i.dD)("data-v-ee1cc6f4"),e=e(),(0,i.Cn)(),e}),pe={key:1,class:"playlist fade-in"},ye={class:"header-container"},ke={class:"col-8 filter"},he={class:"col-4 buttons"},me=ve((function(){return(0,i._)("i",{class:"fa fa-plus"},null,-1)})),ge=[me],we=ve((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),Ce=[we],_e={class:"body",ref:"body"},be={key:0,class:"no-content"},De=["onDragstart","onDragend","onDragover","onClick","onDblclick"],xe={class:"col-10"},Te={class:"title"},$e={key:0,class:"artist"},Pe=["href","textContent","onClick"],Se={key:1,class:"album"},Re=["href","textContent","onClick"],Ze={class:"col-2 right-side"},Ae=["textContent"],Ie={class:"actions"};function qe(e,t,n,r,c,o){var u,d=(0,i.up)("Loading"),f=(0,i.up)("DropdownItem"),v=(0,i.up)("Dropdown"),p=(0,i.up)("MusicHeader");return n.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):((0,i.wg)(),(0,i.iD)("div",pe,[(0,i._)("div",ye,[(0,i.Wm)(p,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",ke,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=function(e){return c.filter=e})},null,512),[[s.nr,c.filter]])])]),(0,i._)("div",he,[(0,i.Wm)(v,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){var a,s,r,u,d,v,p;return[(0,i.Wm)(f,{text:"Save as playlist","icon-class":"fa fa-save",disabled:!(null!==(a=n.tracks)&&void 0!==a&&a.length),onClick:o.playlistSave},null,8,["disabled","onClick"]),2===(null===(s=c.selectedTracks)||void 0===s?void 0:s.length)?((0,i.wg)(),(0,i.j4)(f,{key:0,text:"Swap tracks","icon-class":"fa fa-retweet",onClick:t[1]||(t[1]=function(t){return e.$emit("swap",c.selectedTracks)})})):(0,i.kq)("",!0),(0,i.Wm)(f,{text:c.selectionMode?"End selection":"Start selection","icon-class":"far fa-check-square",disabled:!(null!==(r=n.tracks)&&void 0!==r&&r.length),onClick:t[2]||(t[2]=function(e){return c.selectionMode=!c.selectionMode})},null,8,["text","disabled"]),(0,i.Wm)(f,{text:(null===(u=c.selectedTracks)||void 0===u?void 0:u.length)===(null===(d=n.tracks)||void 0===d?void 0:d.length)?"Unselect all":"Select all","icon-class":"fa fa-check-double",disabled:!(null!==(v=n.tracks)&&void 0!==v&&v.length),onClick:t[3]||(t[3]=function(e){return c.selectedTracks=c.selectedTracks.length===n.tracks.length?[]:(0,l.Z)(Array(n.tracks.length).keys())})},null,8,["text","disabled"]),c.selectedTracks.length>0?((0,i.wg)(),(0,i.j4)(f,{key:1,text:"Remove track"+(c.selectedTracks.length>1?"s":""),"icon-class":"fa fa-trash",onClick:t[4]||(t[4]=function(t){return e.$emit("remove",(0,l.Z)(new Set(c.selectedTracks)))})},null,8,["text"])):(0,i.kq)("",!0),(0,i.Wm)(f,{text:"Clear playlist","icon-class":"fa fa-ban",disabled:!(null!==(p=n.tracks)&&void 0!==p&&p.length),onClick:t[5]||(t[5]=function(t){return e.$emit("clear")})},null,8,["disabled"])]})),_:1}),(0,i._)("button",{title:"Add track",onClick:t[6]||(t[6]=function(){return o.addTrack&&o.addTrack.apply(o,arguments)})},ge),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:0,title:"Refresh status",onClick:t[7]||(t[7]=function(t){return e.$emit("refresh-status")})},Ce)):(0,i.kq)("",!0),Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(v,{key:1,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(f,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0)])]})),_:1},512)]),(0,i._)("div",_e,[null!==(u=n.tracks)&&void 0!==u&&u.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",be," No tracks are loaded ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.tracks,(function(t,r){var u,d,p,y,k;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(r),active:(null===(u=n.status)||void 0===u?void 0:u.playingPos)===r,hidden:!o.displayedTracks.has(r)}]),onDragstart:function(e){return o.onTrackDragStart(r)},onDragend:function(e){return o.onTrackDragEnd(r)},onDragover:function(e){return o.onTrackDragOver(r)},draggable:"true",key:r,onClick:function(e){return o.onTrackClick(e,r)},onDblclick:function(t){return e.$emit("play",{pos:r})}},[(0,i._)("div",xe,[(0,i._)("div",Te,[(0,i.Uk)((0,a.zw)(t.title||"[No Title]")+" ",1),(null===(d=n.status)||void 0===d?void 0:d.playingPos)!==r||"play"!==(null===(p=n.status)||void 0===p?void 0:p.state)&&"pause"!==(null===(y=n.status)||void 0===y?void 0:y.state)?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,a.C_)(["playing-icon",{paused:"pause"===(null===(k=n.status)||void 0===k?void 0:k.state)}])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,l.Z)(Array(3).keys()),(function(e){return(0,i.wg)(),(0,i.iD)("span",{key:e})})),128))],2))]),t.artist?((0,i.wg)(),(0,i.iD)("div",$e,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist})}),["prevent"])},null,8,Pe)])):(0,i.kq)("",!0),t.album?((0,i.wg)(),(0,i.iD)("div",Se,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist,album:t.album})}),["prevent"])},null,8,Re)])):(0,i.kq)("",!0)]),(0,i._)("div",Ze,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,Ae),(0,i._)("span",Ie,[(0,i.Wm)(v,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(f,{text:"Play","icon-class":"fa fa-play",onClick:function(t){return e.$emit("play",{pos:r})}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Remove","icon-class":"fa fa-trash",onClick:function(t){return e.$emit("remove",(0,l.Z)(new Set([].concat((0,l.Z)(c.selectedTracks),[r]))))}},null,8,["onClick"]),(0,i.Wm)(f,{text:"Info","icon-class":"fa fa-info",onClick:function(t){return e.$emit("info",n.tracks[r])}},null,8,["onClick"])]})),_:2},1024)])])],42,De)})),128))],512)]))}n(2707),n(561),n(4747);var Me={class:"header"};function Le(e,t,n,l,a,s){return(0,i.wg)(),(0,i.iD)("div",Me,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])}var We={name:"Header"};const ze=(0,te.Z)(We,[["render",Le],["__scopeId","data-v-8beb55c6"]]);var Oe=ze,je=n(5771),Ee=n(9015),Fe={name:"Playlist",mixins:[se.Z],components:{DropdownItem:Ee.Z,Dropdown:je.Z,MusicHeader:Oe,Loading:ie.Z},emits:["play","clear","add","remove","swap","search","move","save","info","refresh-status","select-device"],props:{tracks:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},status:{type:Object,default:function(){}},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectionMode:!1,selectedTracks:[],filter:"",infoTrack:null,sourcePos:null,targetPos:null}},computed:{selectedTracksSet:function(){return new Set(this.selectedTracks)},displayedTracks:function(){var e,t=this,n=(0,l.Z)(Array(this.tracks.length).keys());if(null===(e=this.filter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.filter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.tracks[e];return((null===n||void 0===n?void 0:n.artist)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.title)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.album)||"").toLowerCase().indexOf(a)>=0})))}},methods:{onTrackClick:function(e,t){if(e.shiftKey){var n=this.selectedTracks.sort();n.length?tn[n.length-1]&&(this.selectedTracks=[].concat((0,l.Z)(this.selectedTracks),(0,l.Z)((0,l.Z)(Array(t-n[n.length-1]+1).keys()).map((function(e){return e+n[n.length-1]}))))):this.selectedTracks=[t]}else{var i=this.selectedTracks.indexOf(t);this.selectionMode||e.ctrlKey?i>=0?this.selectedTracks.splice(i,1):this.selectedTracks.push(t):this.selectedTracks=i>=0?[]:[t]}},addTrack:function(){var e=prompt("Item path or URL");null!==e&&void 0!==e&&e.length&&this.$emit("add",e)},onTrackDragStart:function(e){this.sourcePos=e},onTrackDragEnd:function(){this.$refs.body.querySelectorAll(".track").forEach((function(e){return e.classList.remove("dragover")})),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("move",{from:this.sourcePos,to:this.targetPos}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver:function(e){this.targetPos=e;var t=this.$refs.body.querySelectorAll(".track");t.forEach((function(e){return e.classList.remove("dragover")})),(0,l.Z)(t)[e].classList.add("dragover")},playlistSave:function(){var e=prompt("Playlist name");null!==e&&void 0!==e&&e.length&&this.$emit("save",e)}},mounted:function(){var e=this;this.$watch((function(){var t;return null===(t=e.status)||void 0===t?void 0:t.playingPos}),(function(t){if(null!=t){var n=(0,l.Z)(e.$refs.body.querySelectorAll(".track"))[t],i=n.offsetTop-parseFloat(getComputedStyle(e.$refs.header.$el).height);e.$refs.body.scrollTo(0,i)}}))}};const Ve=(0,te.Z)(Fe,[["render",qe],["__scopeId","data-v-ee1cc6f4"]]);var Ne=Ve,He=function(e){return(0,i.dD)("data-v-c01651b6"),e=e(),(0,i.Cn)(),e},Ke={key:1,class:"editor-container fade-in"},Ue={class:"header-container"},Ye={class:"col-8 filter"},Be=He((function(){return(0,i._)("i",{class:"fas fa-arrow-left"},null,-1)})),Qe=[Be],Ge={class:"search-box"},Je={class:"buttons pull-right"},Xe=He((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),et=[Xe],tt=He((function(){return(0,i._)("i",{class:"fas fa-plus"},null,-1)})),nt=[tt],lt={class:"editor",ref:"editor"},it={key:0,class:"no-content"},at=["onDragstart","onDragend","onDragover","onClick","onDblclick"],st={class:"col-10"},rt={class:"title"},ct={key:0,class:"artist"},ot=["href","textContent","onClick"],ut={key:1,class:"album"},dt=["href","textContent","onClick"],ft={class:"col-2 right-side"},vt=["textContent"],pt={class:"actions"},yt={key:2,class:"playlists fade-in"},kt={class:"header-container"},ht={class:"col-8 filter"},mt={class:"col-4 buttons"},gt=He((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),wt=[gt],Ct={class:"body",ref:"body"},_t={key:0,class:"no-content"},bt=["onClick","onDblclick"],Dt={class:"col-10"},xt=["textContent"],Tt={class:"col-2 right-side"},$t={class:"actions"};function Pt(e,t,n,r,c,o){var u,d,f=(0,i.up)("Loading"),v=(0,i.up)("DropdownItem"),p=(0,i.up)("Dropdown"),y=(0,i.up)("MusicHeader");return n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):null!=n.editedPlaylist?((0,i.wg)(),(0,i.iD)("div",Ke,[(0,i._)("div",Ue,[(0,i.Wm)(y,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",Ye,[(0,i._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=function(t){return e.$emit("playlist-edit",null)})},Qe),(0,i._)("label",Ge,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[1]||(t[1]=function(e){return c.trackFilter=e})},null,512),[[s.nr,c.trackFilter]])])]),(0,i._)("div",Je,[Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(p,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(v,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:1,title:"Refresh status",onClick:t[2]||(t[2]=function(t){return e.$emit("refresh-status")})},et)):(0,i.kq)("",!0),(0,i._)("button",{class:"add-btn",title:"Add track",onClick:t[3]||(t[3]=function(){return o.addTrack&&o.addTrack.apply(o,arguments)})},nt)])]})),_:1},512)]),(0,i._)("div",lt,[null!==(u=n.tracks)&&void 0!==u&&u.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",it," No tracks found ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.tracks,(function(t,r){var u;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(r),active:(null===(u=e.status)||void 0===u?void 0:u.playingPos)===r,hidden:!o.displayedTracks.has(r)}]),draggable:"true",key:r,onDragstart:function(e){return o.onTrackDragStart(r)},onDragend:function(e){return o.onTrackDragEnd(r)},onDragover:function(e){return o.onTrackDragOver(r)},onClick:function(e){return o.onTrackClick(e,r)},onDblclick:function(t){return e.$emit("load-track",{pos:r,play:!0})}},[(0,i._)("div",st,[(0,i._)("div",rt,(0,a.zw)(t.title||"[No Title]"),1),t.artist?((0,i.wg)(),(0,i.iD)("div",ct,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist})}),["prevent"])},null,8,ot)])):(0,i.kq)("",!0),t.album?((0,i.wg)(),(0,i.iD)("div",ut,[(0,i._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,s.iM)((function(n){return e.$emit("search",{artist:t.artist,album:t.album})}),["prevent"])},null,8,dt)])):(0,i.kq)("",!0)]),(0,i._)("div",ft,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,vt),(0,i._)("span",pt,[(0,i.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(v,{text:"Play","icon-class":"fa fa-play",onClick:function(t){return e.$emit("load-track",{pos:r,play:!0})}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(t){return e.$emit("load-track",{pos:r,play:!1})}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Remove","icon-class":"fa fa-trash",onClick:function(t){return e.$emit("remove-track",(0,l.Z)(new Set([].concat((0,l.Z)(c.selectedTracks),[r]))))}},null,8,["onClick"]),(0,i.Wm)(v,{text:"Info","icon-class":"fa fa-info",onClick:(0,s.iM)((function(t){return e.$emit("info",n.tracks[r])}),["stop"])},null,8,["onClick"])]})),_:2},1024)])])],42,at)})),128))],512)])):((0,i.wg)(),(0,i.iD)("div",yt,[(0,i._)("div",kt,[(0,i.Wm)(y,{ref:"header"},{default:(0,i.w5)((function(){return[(0,i._)("div",ht,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[4]||(t[4]=function(e){return c.filter=e})},null,512),[[s.nr,c.filter]])])]),(0,i._)("div",mt,[Object.keys(n.devices||{}).length?((0,i.wg)(),(0,i.j4)(p,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(t,l){return(0,i.wg)(),(0,i.j4)(v,{key:l,textContent:(0,a.zw)(t.name),"item-class":{active:n.activeDevice===l,selected:n.selectedDevice===l},"icon-class":"fa fa-volume-up",onClick:function(t){return e.$emit("select-device",l)}},null,8,["textContent","item-class","onClick"])})),128))]})),_:1})):(0,i.kq)("",!0),null!=n.devices?((0,i.wg)(),(0,i.iD)("button",{key:1,title:"Refresh status",onClick:t[5]||(t[5]=function(t){return e.$emit("refresh-status")})},wt)):(0,i.kq)("",!0)])]})),_:1},512)]),(0,i._)("div",Ct,[null!==(d=n.playlists)&&void 0!==d&&d.length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",_t," No playlists found ")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.playlists,(function(t,n){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row playlist",{hidden:!o.displayedPlaylists.has(n)}]),key:n,onClick:function(t){return e.$emit("playlist-edit",n)},onDblclick:function(t){return e.$emit("load",n)}},[(0,i._)("div",Dt,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(t.name||"[No Name]")},null,8,xt)]),(0,i._)("div",Tt,[(0,i._)("span",$t,[(0,i.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(v,{text:"Play","icon-class":"fa fa-play",onClick:(0,s.iM)((function(t){return e.$emit("play",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Load","icon-class":"fa fa-list-ul",onClick:(0,s.iM)((function(t){return e.$emit("load",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Edit","icon-class":"fa fa-edit",onClick:(0,s.iM)((function(t){return e.$emit("playlist-edit",n)}),["stop"])},null,8,["onClick"]),(0,i.Wm)(v,{text:"Remove","icon-class":"fa fa-trash",onClick:(0,s.iM)((function(t){return e.$emit("remove",n)}),["stop"])},null,8,["onClick"])]})),_:2},1024)])])],42,bt)})),128))],512)]))}var St={name:"Playlists",mixins:[se.Z],components:{DropdownItem:Ee.Z,Dropdown:je.Z,MusicHeader:Oe,Loading:ie.Z},emits:["play","load","remove","playlist-edit","search","remove-track","load-track","info","playlist-add","add-to-playlist","track-move","refresh-status","select-device"],props:{playlists:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},tracks:{type:Array,default:function(){return[]}},editedPlaylist:{type:Number},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedTracks:[],filter:"",trackFilter:"",sourcePos:null,targetPos:null}},computed:{selectedTracksSet:function(){return new Set(this.selectedTracks)},displayedPlaylists:function(){var e,t=this,n=(0,l.Z)(Array(this.playlists.length).keys());if(null===(e=this.filter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.filter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.playlists[e];return((null===n||void 0===n?void 0:n.name)||"").toLowerCase().indexOf(a)>=0})))},displayedTracks:function(){var e,t=this,n=(0,l.Z)(Array(this.tracks.length).keys());if(null===(e=this.trackFilter)||void 0===e||!e.length)return new Set(n);var i=this,a=(i.trackFilter||"").toLowerCase();return new Set(n.filter((function(e){var n=t.tracks[e];return((null===n||void 0===n?void 0:n.artist)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.title)||"").toLowerCase().indexOf(a)>=0||((null===n||void 0===n?void 0:n.album)||"").toLowerCase().indexOf(a)>=0})))}},methods:{onTrackClick:function(e,t){if(e.shiftKey){var n=this.selectedTracks.sort();n.length?tn[n.length-1]&&(this.selectedTracks=[].concat((0,l.Z)(this.selectedTracks),(0,l.Z)((0,l.Z)(Array(t-n[n.length-1]+1).keys()).map((function(e){return e+n[n.length-1]}))))):this.selectedTracks=[t]}else{var i=this.selectedTracks.indexOf(t);e.ctrlKey?i>=0?this.selectedTracks.splice(i,1):this.selectedTracks.push(t):this.selectedTracks=i>=0?[]:[t]}},addTrack:function(){var e=prompt("Track path or URL");null!==e&&void 0!==e&&e.length&&this.$emit("playlist-add",e)},onTrackDragStart:function(e){this.sourcePos=e},onTrackDragEnd:function(){this.$refs.editor.querySelectorAll(".track").forEach((function(e){return e.classList.remove("dragover")})),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("track-move",{from:this.sourcePos,to:this.targetPos,playlist:this.editedPlaylist}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver:function(e){this.targetPos=e;var t=this.$refs.editor.querySelectorAll(".track");t.forEach((function(e){return e.classList.remove("dragover")})),(0,l.Z)(t)[e].classList.add("dragover")}}};const Rt=(0,te.Z)(St,[["render",Pt],["__scopeId","data-v-c01651b6"]]);var Zt=Rt,At=function(e){return(0,i.dD)("data-v-6fe42598"),e=e(),(0,i.Cn)(),e},It={class:"search-form"},qt={class:"row"},Mt={class:"row"},Lt={class:"row"},Wt={class:"row"},zt=At((function(){return(0,i._)("i",{class:"icon fa fa-times"},null,-1)})),Ot=At((function(){return(0,i._)("span",{class:"btn-title"},"Clear",-1)})),jt=[zt,Ot],Et=At((function(){return(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"icon fa fa-search"}),(0,i._)("span",{class:"btn-title"},"Search")],-1)})),Ft={class:"search-box"},Vt={class:"buttons"},Nt=At((function(){return(0,i._)("i",{class:"icon fa fa-times"},null,-1)})),Ht=At((function(){return(0,i._)("span",{class:"btn-title"},"Clear",-1)})),Kt=[Nt,Ht],Ut={class:"results"},Yt=["onClick"],Bt={class:"col-10"},Qt={class:"title"},Gt=["textContent"],Jt=["textContent"],Xt={class:"col-2 right-side"},en=["textContent"],tn={class:"actions"};function nn(e,t,n,l,r,c){var o=(0,i.up)("FormFooter"),u=(0,i.up)("MusicHeader"),d=(0,i.up)("DropdownItem"),f=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["search fade-in",{"form-collapsed":c.formCollapsed}])},[c.formCollapsed?((0,i.wg)(),(0,i.j4)(u,{key:1},{default:(0,i.w5)((function(){return[(0,i._)("label",Ft,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[6]||(t[6]=function(e){return r.filter=e})},null,512),[[s.nr,r.filter]])]),(0,i._)("span",Vt,[(0,i._)("button",{onClick:t[7]||(t[7]=function(){return c.clear&&c.clear.apply(c,arguments)})},Kt)])]})),_:1})):((0,i.wg)(),(0,i.iD)("div",{key:0,class:"form-container",onSubmit:t[5]||(t[5]=(0,s.iM)((function(t){return e.$emit("search",c.filteredQuery)}),["prevent"]))},[(0,i._)("form",It,[(0,i._)("div",qt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Any","onUpdate:modelValue":t[0]||(t[0]=function(e){return r.query.any=e})},null,512),[[s.nr,r.query.any]])])]),(0,i._)("div",Mt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Artist","onUpdate:modelValue":t[1]||(t[1]=function(e){return r.query.artist=e})},null,512),[[s.nr,r.query.artist]])])]),(0,i._)("div",Lt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[2]||(t[2]=function(e){return r.query.title=e})},null,512),[[s.nr,r.query.title]])])]),(0,i._)("div",Wt,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"text",placeholder:"Album","onUpdate:modelValue":t[3]||(t[3]=function(e){return r.query.album=e})},null,512),[[s.nr,r.query.album]])])]),(0,i.Wm)(o,null,{default:(0,i.w5)((function(){return[(0,i._)("button",{onClick:t[4]||(t[4]=function(){return c.clear&&c.clear.apply(c,arguments)})},jt),Et]})),_:1})])],32)),(0,i._)("div",Ut,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.results,(function(t,n){var l,s;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:r.selectedResults.has(n),hidden:!c.displayedTracks.has(n)}]),key:n,onClick:function(e){return c.resultClick(n,e)}},[(0,i._)("div",Bt,[(0,i._)("div",Qt,(0,a.zw)(t.title||"[No Title]"),1),null!==(l=t.artist)&&void 0!==l&&l.length?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Gt)):(0,i.kq)("",!0),null!==(s=t.album)&&void 0!==s&&s.length?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Jt)):(0,i.kq)("",!0)]),(0,i._)("div",Xt,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,en),(0,i._)("span",tn,[(0,i.Wm)(f,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:function(e){return c.play(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(e){return c.load(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1024)])])],10,Yt)})),128))])],2)}var ln=n(6084),an=(n(9720),{name:"Search",components:{Dropdown:je.Z,DropdownItem:Ee.Z,FormFooter:le,MusicHeader:Oe},mixins:[se.Z],emits:["search","clear","play","load","add-to-playlist","info","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{formCollapsed:function(){var e;return(null===(e=this.results)||void 0===e?void 0:e.length)>0},filteredQuery:function(){return Object.entries(this.query).filter((function(e){var t;return null===(t=e[1])||void 0===t?void 0:t.length})).reduce((function(e,t){var n=(0,ln.Z)(t,2),l=n[0],i=n[1];return e[l]=i,e}),{})},displayedTracks:function(){var e,t=this;return new Set((0,l.Z)(Array((null===(e=this.results)||void 0===e?void 0:e.length)||0).keys()).filter((function(e){var n,l=t.results[e];if(null===(n=t.filter)||void 0===n||!n.length)return l;var i=t.filter.toLowerCase();return((null===l||void 0===l?void 0:l.artist)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.title)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.album)||"").toLowerCase().indexOf(i)>=0})))}},methods:{clear:function(){this.$emit("clear"),this.selectedResults=new Set},resultClick:function(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){var n=(0,l.Z)(this.selectedResults),i=Math.min(Math.min(n),e),a=Math.max(Math.max(n),e);this.selectedResults=new Set((0,l.Z)(Array(a-i+1).keys()).map((function(e){return e+i})))}}else t.ctrlKey||(this.selectedResults=new Set),this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e)},play:function(e){var t=this;this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((function(e){t.$emit("load",e)}))},load:function(e){var t=this;this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((function(e){t.$emit("load",t.results[e])}))}}});const sn=(0,te.Z)(an,[["render",nn],["__scopeId","data-v-6fe42598"]]);var rn=sn,cn=(n(3123),function(e){return(0,i.dD)("data-v-c3245ea8"),e=e(),(0,i.Cn)(),e}),on={class:"library fade-in"},un={class:"search-box"},dn={class:"results"},fn=cn((function(){return(0,i._)("div",{class:"icon-container"},[(0,i._)("i",{class:"icon fa fa-folder"})],-1)})),vn=cn((function(){return(0,i._)("div",{class:"result-container"},[(0,i._)("div",{class:"title"},"..")],-1)})),pn=[fn,vn],yn=["onClick"],kn={class:"col-10 left-side"},hn={class:"icon-container"},mn={key:0,class:"icon fa fa-folder"},gn={key:1,class:"icon fa fa-music"},wn={class:"info"},Cn={class:"title"},_n=["textContent"],bn=["textContent"],Dn={class:"artist-album"},xn=["textContent"],Tn=["textContent"],$n={class:"col-2 right-side"},Pn=["textContent"],Sn={class:"actions"};function Rn(e,t,n,l,r,c){var o=(0,i.up)("Loading"),u=(0,i.up)("MusicHeader"),d=(0,i.up)("DropdownItem"),f=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",on,[n.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):(0,i.kq)("",!0),(0,i.Wm)(u,null,{default:(0,i.w5)((function(){return[(0,i._)("label",un,[(0,i.wy)((0,i._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=function(e){return r.filter=e})},null,512),[[s.nr,r.filter]])])]})),_:1}),(0,i._)("div",dn,["/"!==n.path?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"row track back-track",onClick:t[1]||(t[1]=function(){return c.back&&c.back.apply(c,arguments)})},pn)):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.results,(function(t,n){var l,s;return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["row track",{selected:r.selectedResults.has(n),hidden:!c.displayedResults.has(n)}]),key:n,onClick:function(e){return c.resultClick(n,e)}},[(0,i._)("div",kn,[(0,i._)("div",hn,[t.directory?((0,i.wg)(),(0,i.iD)("i",mn)):t.file?((0,i.wg)(),(0,i.iD)("i",gn)):(0,i.kq)("",!0)]),(0,i._)("div",wn,[(0,i._)("div",Cn,[t.directory?((0,i.wg)(),(0,i.iD)("span",{key:0,textContent:(0,a.zw)(t.directory.split("/").pop())},null,8,_n)):t.title?((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,a.zw)(t.title)},null,8,bn)):(0,i.kq)("",!0)]),(0,i._)("div",Dn,[null!==(l=t.artist)&&void 0!==l&&l.length?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,xn)):(0,i.kq)("",!0),null!==(s=t.album)&&void 0!==s&&s.length?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Tn)):(0,i.kq)("",!0)])])]),(0,i._)("div",$n,[(0,i._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Pn),(0,i._)("span",Sn,[(0,i.Wm)(f,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,i.w5)((function(){return[(0,i.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:function(e){return c.play(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:function(e){return c.load(n)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:function(n){return e.$emit("add-to-playlist",t)}},null,8,["onClick"]),(0,i.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:function(n){return e.$emit("info",t)}},null,8,["onClick"])]})),_:2},1024)])])],10,yn)})),128))])])}n(9600),n(7042);var Zn={name:"Library",components:{Dropdown:je.Z,DropdownItem:Ee.Z,MusicHeader:Oe,Loading:ie.Z},mixins:[se.Z],emits:["search","play","load","add-to-playlist","info","cd","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},path:{type:String},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data:function(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{displayedResults:function(){var e,t=this;return new Set((0,l.Z)(Array((null===(e=this.results)||void 0===e?void 0:e.length)||0).keys()).filter((function(e){var n,l=t.results[e];if(null===(n=t.filter)||void 0===n||!n.length)return l;var i=t.filter.toLowerCase();return((null===l||void 0===l?void 0:l.artist)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.title)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.album)||"").toLowerCase().indexOf(i)>=0||((null===l||void 0===l?void 0:l.directory)||"").toLowerCase().indexOf(i)>=0})))}},methods:{resultClick:function(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){var n=(0,l.Z)(this.selectedResults),i=Math.min(Math.min(n),e),a=Math.max(Math.max(n),e);this.selectedResults=new Set((0,l.Z)(Array(a-i+1).keys()).map((function(e){return e+i})))}}else t.ctrlKey?this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e):this.results[e].directory?this.$emit("cd",this.results[e].directory):(this.selectedResults=new Set,this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e))},play:function(e){var t=this;this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((function(e){t.$emit("load",e)}))},load:function(e){var t=this;this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((function(e){t.$emit("load",t.results[e])}))},back:function(){var e=this.path.split("/");this.$emit("cd",e.slice(0,e.length-1).join("/"))}}};const An=(0,te.Z)(Zn,[["render",Rn],["__scopeId","data-v-c3245ea8"]]);var In=An,qn=n(6813),Mn={name:"Music",emits:["play","pause","stop","clear","previous","next","set-volume","seek","consume","repeat","random","status-update","playlist-update","new-playing-track","add-to-tracklist","remove-from-tracklist","swap-tracks","play-playlist","load-playlist","remove-playlist","tracklist-move","tracklist-save","add-to-tracklist-from-edited-playlist","remove-from-playlist","info","playlist-add","add-to-playlist","playlist-track-move","search","search-clear","cd","refresh-status","select-device"],mixins:[qn.Z,se.Z],components:{Loading:ie.Z,Modal:ae.Z,Nav:fe,MediaView:re.Z,Playlist:Ne,Playlists:Zt,FormFooter:le,Search:rn,Library:In},props:{pluginName:{type:String,required:!0},loading:{type:Boolean,default:!1},config:{type:Object,default:function(){}},tracks:{type:Array,default:function(){return[]}},editedPlaylistTracks:{type:Array,default:function(){return[]}},playlists:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){}},editedPlaylist:{type:Number},trackInfo:{type:String},searchResults:{type:Array},libraryResults:{type:Array},path:{type:String},devices:{type:Object},activeDevice:{type:String},selectedDevice:{type:String}},data:function(){return{selectedView:"playing",selectedPlaylists:[],addToPlaylistTrack:null,playlistFilter:""}},computed:{track:function(){var e;return null==(null===(e=this.status)||void 0===e?void 0:e.playingPos)?null:this.tracks[this.status.playingPos]}},methods:{onStatusEvent:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.$emit("status-update",e);case 3:case"end":return n.stop()}}),n)})))()},onPlaylistEvent:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.$emit("playlist-update",e);case 3:case"end":return n.stop()}}),n)})))()},onNewPlayingTrack:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){var l,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.plugin_name===t.pluginName){n.next=2;break}return n.abrupt("return");case 2:t.notify({html:"".concat(null===(l=e.track)||void 0===l?void 0:l.artist,"
").concat(null===(i=e.track)||void 0===i?void 0:i.title),image:{iconClass:"fa fa-play"}}),t.$emit("new-playing-track",e);case 4:case"end":return n.stop()}}),n)})))()},openAddToPlaylist:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.addToPlaylistTrack=e,t.$refs.playlistsModal.isVisible=!0;case 2:case"end":return n.stop()}}),n)})))()},addToPlaylist:function(){var e=this;return(0,G.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$emit("add-to-playlist",{track:e.addToPlaylistTrack,playlists:(0,l.Z)(Array(e.selectedPlaylists.length).keys()).filter((function(t){return e.selectedPlaylists[t]}))}),e.$refs.playlistsModal.isVisible=!1,e.addToPlaylistTrack=null,e.playlistFilter="";case 4:case"end":return t.stop()}}),t)})))()},search:function(e){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.$emit("search",e),t.$refs.trackInfo.isVisible=!1,t.selectedView="search";case 3:case"end":return n.stop()}}),n)})))()},selectDevice:function(e){this.$emit("select-device",e)},refreshStatus:function(){this.$emit("refresh-status")}},mounted:function(){var e=this;this.subscribe(this.onStatusEvent,"on-status-update","platypush.message.event.music.MusicPlayEvent","platypush.message.event.music.MusicPauseEvent","platypush.message.event.music.MusicStopEvent","platypush.message.event.music.SeekChangeEvent","platypush.message.event.music.VolumeChangeEvent","platypush.message.event.music.MuteChangeEvent","platypush.message.event.music.PlaybackRepeatModeChangeEvent","platypush.message.event.music.PlaybackRandomModeChangeEvent","platypush.message.event.music.PlaybackConsumeModeChangeEvent","platypush.message.event.music.PlaybackSingleModeChangeEvent"),this.subscribe(this.onPlaylistEvent,"on-playlist-update","platypush.message.event.music.PlaylistChangeEvent"),this.subscribe(this.onNewPlayingTrack,"on-new-playing-track","platypush.message.event.music.NewPlayingTrackEvent"),this.$watch((function(){return e.trackInfo}),(function(t){null!=t&&(e.$refs.trackInfo.isVisible=!0)}))},unmounted:function(){this.unsubscribe("on-status-update"),this.unsubscribe("on-playlist-update")}};const Ln=(0,te.Z)(Mn,[["render",Q],["__scopeId","data-v-2cd8b8d5"]]);var Wn=Ln}}]); +//# sourceMappingURL=6833-legacy.00db1080.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js.map b/platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js.map rename to platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js.map index b5500f727..1aa95cf84 100644 --- a/platypush/backend/http/webapp/dist/static/js/6833-legacy.1d80511f.js.map +++ b/platypush/backend/http/webapp/dist/static/js/6833-legacy.00db1080.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/6833-legacy.1d80511f.js","mappings":"iHACA,IAAIA,EAAI,EAAQ,MACZC,EAAW,EAAQ,MACnBC,EAAkB,EAAQ,MAC1BC,EAAsB,EAAQ,MAC9BC,EAAoB,EAAQ,MAC5BC,EAA2B,EAAQ,MACnCC,EAAqB,EAAQ,MAC7BC,EAAiB,EAAQ,MACzBC,EAAwB,EAAQ,MAChCC,EAA+B,EAAQ,MAEvCC,EAAsBD,EAA6B,UAEnDE,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IAKfb,EAAE,CAAEc,OAAQ,QAASC,OAAO,EAAMC,QAASN,GAAuB,CAChEO,OAAQ,SAAgBC,EAAOC,GAC7B,IAIIC,EAAaC,EAAmBC,EAAGC,EAAGC,EAAMC,EAJ5CC,EAAIzB,EAAS0B,MACbC,EAAMxB,EAAkBsB,GACxBG,EAAc3B,EAAgBgB,EAAOU,GACrCE,EAAkBC,UAAUC,OAahC,IAXwB,IAApBF,EACFV,EAAcC,EAAoB,EACL,IAApBS,GACTV,EAAc,EACdC,EAAoBO,EAAMC,IAE1BT,EAAcU,EAAkB,EAChCT,EAAoBR,EAAIF,EAAIR,EAAoBgB,GAAc,GAAIS,EAAMC,IAE1ExB,EAAyBuB,EAAMR,EAAcC,GAC7CC,EAAIhB,EAAmBoB,EAAGL,GACrBE,EAAI,EAAGA,EAAIF,EAAmBE,IACjCC,EAAOK,EAAcN,EACjBC,KAAQE,GAAGnB,EAAee,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ZrB,WAAW,OAAIuB,MAAM,EAAKD,kBAAkBvC,QAAQyC,QAAQ2B,QAAO,SAACrB,GAAD,OAAO,EAAKR,kBAAkBQ,EAA9B,MAGrE,EAAKgE,MAAMgE,eAAeC,WAAY,EACtC,EAAK1I,mBAAqB,KAC1B,EAAKO,eAAiB,GARF,4CASrB,EAEKrC,OA7CC,SA6CM4D,GAAQ,gJACnB,EAAK9D,MAAM,SAAU8D,GACrB,EAAK2C,MAAMrF,UAAUsJ,WAAY,EACjC,EAAKvK,aAAe,SAHD,4CAIpB,EAEDO,aAnDO,SAmDM6D,GACXlF,KAAKW,MAAM,gBAAiBuE,EAC7B,EAED9D,cAvDO,WAwDLpB,KAAKW,MAAM,iBACZ,GAGHgH,QA7Ja,WA6JH,WACR3H,KAAKsL,UAAUtL,KAAK6K,cAAe,mBAC/B,+CACA,gDACA,+CACA,gDACA,kDACA,gDACA,8DACA,8DACA,+DACA,+DAGJ7K,KAAKsL,UAAUtL,KAAK+K,gBAAiB,qBACjC,qDAEJ/K,KAAKsL,UAAUtL,KAAKgL,kBAAmB,uBACnC,sDAEJhL,KAAK4H,QAAO,kBAAM,EAAK7F,SAAX,IAAsB,SAACwJ,GACrB,MAARA,IACF,EAAKnE,MAAMrF,UAAUsJ,WAAY,EACpC,GACF,EAEDG,UAvLa,WAwLXxL,KAAKyL,YAAY,oBACjBzL,KAAKyL,YAAY,qBAClB,GerUH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/core-js/modules/es.array.splice.js","webpack://platypush/./src/components/panels/Music/Index.vue","webpack://platypush/./src/components/elements/FormFooter.vue","webpack://platypush/./src/components/elements/FormFooter.vue?94ab","webpack://platypush/./src/components/panels/Music/Nav.vue","webpack://platypush/./src/components/panels/Music/Nav.vue?b815","webpack://platypush/./src/components/panels/Music/Playlist.vue","webpack://platypush/./src/components/panels/Music/Header.vue","webpack://platypush/./src/components/panels/Music/Header.vue?7826","webpack://platypush/./src/components/panels/Music/Playlist.vue?b3da","webpack://platypush/./src/components/panels/Music/Playlists.vue","webpack://platypush/./src/components/panels/Music/Playlists.vue?6fa1","webpack://platypush/./src/components/panels/Music/Search.vue","webpack://platypush/./src/components/panels/Music/Search.vue?7e62","webpack://platypush/./src/components/panels/Music/Library.vue","webpack://platypush/./src/components/panels/Music/Library.vue?ee0e","webpack://platypush/./src/components/panels/Music/Index.vue?aab7"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./FormFooter.vue?vue&type=template&id=2495ce8a&scoped=true\"\nimport script from \"./FormFooter.vue?vue&type=script&lang=js\"\nexport * from \"./FormFooter.vue?vue&type=script&lang=js\"\n\nimport \"./FormFooter.vue?vue&type=style&index=0&id=2495ce8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2495ce8a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=edee6494&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=edee6494&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-edee6494\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=8beb55c6&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=8beb55c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8beb55c6\"]])\n\nexport default __exports__","import { render } from \"./Playlist.vue?vue&type=template&id=ee1cc6f4&scoped=true\"\nimport script from \"./Playlist.vue?vue&type=script&lang=js\"\nexport * from \"./Playlist.vue?vue&type=script&lang=js\"\n\nimport \"./Playlist.vue?vue&type=style&index=0&id=ee1cc6f4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ee1cc6f4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Playlists.vue?vue&type=template&id=c01651b6&scoped=true\"\nimport script from \"./Playlists.vue?vue&type=script&lang=js\"\nexport * from \"./Playlists.vue?vue&type=script&lang=js\"\n\nimport \"./Playlists.vue?vue&type=style&index=0&id=c01651b6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c01651b6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Search.vue?vue&type=template&id=6fe42598&scoped=true\"\nimport script from \"./Search.vue?vue&type=script&lang=js\"\nexport * from \"./Search.vue?vue&type=script&lang=js\"\n\nimport \"./Search.vue?vue&type=style&index=0&id=6fe42598&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fe42598\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Library.vue?vue&type=template&id=c3245ea8&scoped=true\"\nimport script from \"./Library.vue?vue&type=script&lang=js\"\nexport * from \"./Library.vue?vue&type=script&lang=js\"\n\nimport \"./Library.vue?vue&type=style&index=0&id=c3245ea8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c3245ea8\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=2cd8b8d5&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=2cd8b8d5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2cd8b8d5\"]])\n\nexport default __exports__"],"names":["$","toObject","toAbsoluteIndex","toIntegerOrInfinity","lengthOfArrayLike","doesNotExceedSafeInteger","arraySpeciesCreate","createProperty","deletePropertyOrThrow","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","max","Math","min","target","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","this","len","actualStart","argumentsLength","arguments","length","class","loading","pluginName","status","track","$emit","$event","search","selectedView","tracks","devices","selectedDevice","activeDevice","openAddToPlaylist","refreshStatus","selectDevice","playlists","editedPlaylist","editedPlaylistTracks","results","searchResults","libraryResults","path","title","ref","trackInfo","file","artist","href","$route","fullPath","album","date","time","disc","url","uri","addToPlaylistTrack","selectedPlaylists","Array","keys","map","type","placeholder","playlistFilter","playlist","i","name","toLowerCase","indexOf","key","checked","addToPlaylist","__exports__","views","view","displayName","iconClass","emits","props","String","collapsed","Boolean","default","Object","playing","library","filter","text","disabled","playlistSave","selectedTracks","selectionMode","Set","addTrack","device","id","selectedTracksSet","has","playingPos","displayedTracks","onTrackDragStart","onTrackDragEnd","onTrackDragOver","draggable","onTrackClick","state","convertTime","mixins","components","DropdownItem","Dropdown","MusicHeader","Loading","data","infoTrack","sourcePos","targetPos","computed","positions","self","pos","methods","event","shiftKey","sort","idx","ctrlKey","push","prompt","$refs","body","querySelectorAll","forEach","classList","remove","add","mounted","$watch","trackElement","offset","offsetTop","parseFloat","getComputedStyle","header","$el","height","scrollTo","trackFilter","displayedPlaylists","Number","editor","formCollapsed","clear","filteredQuery","query","any","result","selectedResults","resultClick","parseInt","play","load","FormFooter","entries","o","reduce","obj","v","size","delete","back","displayedResults","directory","split","pop","slice","join","Modal","Nav","MediaView","Playlist","Playlists","Search","Library","required","config","onStatusEvent","plugin_name","onPlaylistEvent","onNewPlayingTrack","notify","html","image","playlistsModal","isVisible","subscribe","info","unmounted","unsubscribe","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/6833-legacy.00db1080.js","mappings":"iHACA,IAAIA,EAAI,EAAQ,MACZC,EAAW,EAAQ,MACnBC,EAAkB,EAAQ,MAC1BC,EAAsB,EAAQ,MAC9BC,EAAoB,EAAQ,MAC5BC,EAA2B,EAAQ,MACnCC,EAAqB,EAAQ,MAC7BC,EAAiB,EAAQ,MACzBC,EAAwB,EAAQ,MAChCC,EAA+B,EAAQ,MAEvCC,EAAsBD,EAA6B,UAEnDE,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IAKfb,EAAE,CAAEc,OAAQ,QAASC,OAAO,EAAMC,QAASN,GAAuB,CAChEO,OAAQ,SAAgBC,EAAOC,G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ACF,EAAKnE,MAAMrF,UAAUsJ,WAAY,EACpC,GACF,EAEDG,UAvLa,WAwLXxL,KAAKyL,YAAY,oBACjBzL,KAAKyL,YAAY,qBAClB,GerUH,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/core-js/modules/es.array.splice.js","webpack://platypush/./src/components/panels/Music/Index.vue","webpack://platypush/./src/components/elements/FormFooter.vue","webpack://platypush/./src/components/elements/FormFooter.vue?94ab","webpack://platypush/./src/components/panels/Music/Nav.vue","webpack://platypush/./src/components/panels/Music/Nav.vue?b815","webpack://platypush/./src/components/panels/Music/Playlist.vue","webpack://platypush/./src/components/panels/Music/Header.vue","webpack://platypush/./src/components/panels/Music/Header.vue?7826","webpack://platypush/./src/components/panels/Music/Playlist.vue?b3da","webpack://platypush/./src/components/panels/Music/Playlists.vue","webpack://platypush/./src/components/panels/Music/Playlists.vue?6fa1","webpack://platypush/./src/components/panels/Music/Search.vue","webpack://platypush/./src/components/panels/Music/Search.vue?7e62","webpack://platypush/./src/components/panels/Music/Library.vue","webpack://platypush/./src/components/panels/Music/Library.vue?ee0e","webpack://platypush/./src/components/panels/Music/Index.vue?aab7"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./FormFooter.vue?vue&type=template&id=2495ce8a&scoped=true\"\nimport script from \"./FormFooter.vue?vue&type=script&lang=js\"\nexport * from \"./FormFooter.vue?vue&type=script&lang=js\"\n\nimport \"./FormFooter.vue?vue&type=style&index=0&id=2495ce8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2495ce8a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=edee6494&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=edee6494&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-edee6494\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=8beb55c6&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=8beb55c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8beb55c6\"]])\n\nexport default __exports__","import { render } from \"./Playlist.vue?vue&type=template&id=ee1cc6f4&scoped=true\"\nimport script from \"./Playlist.vue?vue&type=script&lang=js\"\nexport * from \"./Playlist.vue?vue&type=script&lang=js\"\n\nimport \"./Playlist.vue?vue&type=style&index=0&id=ee1cc6f4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ee1cc6f4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Playlists.vue?vue&type=template&id=c01651b6&scoped=true\"\nimport script from \"./Playlists.vue?vue&type=script&lang=js\"\nexport * from \"./Playlists.vue?vue&type=script&lang=js\"\n\nimport \"./Playlists.vue?vue&type=style&index=0&id=c01651b6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c01651b6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Search.vue?vue&type=template&id=6fe42598&scoped=true\"\nimport script from \"./Search.vue?vue&type=script&lang=js\"\nexport * from \"./Search.vue?vue&type=script&lang=js\"\n\nimport \"./Search.vue?vue&type=style&index=0&id=6fe42598&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fe42598\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Library.vue?vue&type=template&id=c3245ea8&scoped=true\"\nimport script from \"./Library.vue?vue&type=script&lang=js\"\nexport * from \"./Library.vue?vue&type=script&lang=js\"\n\nimport \"./Library.vue?vue&type=style&index=0&id=c3245ea8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c3245ea8\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=2cd8b8d5&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=2cd8b8d5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2cd8b8d5\"]])\n\nexport default __exports__"],"names":["$","toObject","toAbsoluteIndex","toIntegerOrInfinity","lengthOfArrayLike","doesNotExceedSafeInteger","arraySpeciesCreate","createProperty","deletePropertyOrThrow","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","max","Math","min","target","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","this","len","actualStart","argumentsLength","arguments","length","class","loading","pluginName","status","track","$emit","$event","search","selectedView","tracks","devices","selectedDevice","activeDevice","openAddToPlaylist","refreshStatus","selectDevice","playlists","editedPlaylist","editedPlaylistTracks","results","searchResults","libraryResults","path","title","ref","trackInfo","file","artist","href","$route","fullPath","album","date","time","disc","url","uri","addToPlaylistTrack","selectedPlaylists","Array","keys","map","type","placeholder","playlistFilter","playlist","i","name","toLowerCase","indexOf","key","checked","addToPlaylist","__exports__","views","view","displayName","iconClass","emits","props","String","collapsed","Boolean","default","Object","playing","library","filter","text","disabled","playlistSave","selectedTracks","selectionMode","Set","addTrack","device","id","selectedTracksSet","has","playingPos","displayedTracks","onTrackDragStart","onTrackDragEnd","onTrackDragOver","draggable","onTrackClick","state","convertTime","mixins","components","DropdownItem","Dropdown","MusicHeader","Loading","data","infoTrack","sourcePos","targetPos","computed","positions","self","pos","methods","event","shiftKey","sort","idx","ctrlKey","push","prompt","$refs","body","querySelectorAll","forEach","classList","remove","add","mounted","$watch","trackElement","offset","offsetTop","parseFloat","getComputedStyle","header","$el","height","scrollTo","trackFilter","displayedPlaylists","Number","editor","formCollapsed","clear","filteredQuery","query","any","result","selectedResults","resultClick","parseInt","play","load","FormFooter","entries","o","reduce","obj","v","size","delete","back","displayedResults","directory","split","pop","slice","join","Modal","Nav","MediaView","Playlist","Playlists","Search","Library","required","config","onStatusEvent","plugin_name","onPlaylistEvent","onNewPlayingTrack","notify","html","image","playlistsModal","isVisible","subscribe","info","unmounted","unsubscribe","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js b/platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js rename to platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js index 87e517496..549f268e7 100644 --- a/platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js +++ b/platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6833],{6833:function(e,t,s){s.r(t),s.d(t,{default:function(){return qs}});var l=s(6252),a=s(3577),i=s(9963);const c=e=>((0,l.dD)("data-v-2cd8b8d5"),e=e(),(0,l.Cn)(),e),n={class:"nav-container"},o={class:"view-container"},r={class:"track-info-container"},d={key:0,class:"track-info-content"},u={key:0,class:"row file"},p=c((()=>(0,l._)("div",{class:"col-3 attr"},"File",-1))),y=["textContent"],k={key:1,class:"row artist"},h=c((()=>(0,l._)("div",{class:"col-3 attr"},"Artist",-1))),f={class:"col-9 value"},m=["href","textContent"],v={key:2,class:"row track-title"},g=c((()=>(0,l._)("div",{class:"col-3 attr"},"Title",-1))),w=["textContent"],C={key:3,class:"row album"},_=c((()=>(0,l._)("div",{class:"col-3 attr"},"Album",-1))),b={class:"col-9 value"},D=["href","textContent"],x={key:4,class:"row date"},$=c((()=>(0,l._)("div",{class:"col-3 attr"},"Date",-1))),T=["textContent"],P={key:5,class:"row duration"},S=c((()=>(0,l._)("div",{class:"col-3 attr"},"Duration",-1))),A=["textContent"],R={key:6,class:"row track"},I=c((()=>(0,l._)("div",{class:"col-3 attr"},"Track",-1))),q=["textContent"],M={key:7,class:"row disc"},L=c((()=>(0,l._)("div",{class:"col-3 attr"},"Disc",-1))),W=["textContent"],z={key:8,class:"row url"},O=c((()=>(0,l._)("div",{class:"col-3 attr"},"URL",-1))),j={class:"col-9 value"},E=["href","textContent"],F={class:"playlists-modal-container"},V={class:"filter"},Z={class:"playlists"},N=["checked","onChange"],H=["textContent"],K=c((()=>(0,l._)("i",{class:"fa fa-plus"},null,-1))),U=(0,l.Uk)("   Add "),Y=[K,U];function B(e,t,s,c,K,U){const B=(0,l.up)("Loading"),Q=(0,l.up)("Nav"),G=(0,l.up)("Playlist"),J=(0,l.up)("Playlists"),X=(0,l.up)("Search"),ee=(0,l.up)("Library"),te=(0,l.up)("MediaView"),se=(0,l.up)("Modal"),le=(0,l.up)("FormFooter");return(0,l.wg)(),(0,l.iD)(l.HY,null,[s.loading?((0,l.wg)(),(0,l.j4)(B,{key:0})):((0,l.wg)(),(0,l.j4)(te,{key:1,"plugin-name":s.pluginName,status:s.status,track:U.track,onPlay:t[27]||(t[27]=t=>e.$emit("play",t)),onPause:t[28]||(t[28]=t=>e.$emit("pause")),onStop:t[29]||(t[29]=t=>e.$emit("stop")),onPrevious:t[30]||(t[30]=t=>e.$emit("previous")),onNext:t[31]||(t[31]=t=>e.$emit("next")),onSetVolume:t[32]||(t[32]=t=>e.$emit("set-volume",t)),onSeek:t[33]||(t[33]=t=>e.$emit("seek",t)),onConsume:t[34]||(t[34]=t=>e.$emit("consume",t)),onRepeat:t[35]||(t[35]=t=>e.$emit("repeat",t)),onRandom:t[36]||(t[36]=t=>e.$emit("random",t)),onSearch:U.search},{default:(0,l.w5)((()=>[(0,l._)("main",null,[(0,l._)("div",n,[(0,l.Wm)(Q,{"selected-view":K.selectedView,onInput:t[0]||(t[0]=e=>K.selectedView=e)},null,8,["selected-view"])]),(0,l._)("div",o,["playing"===K.selectedView?((0,l.wg)(),(0,l.j4)(G,{key:0,tracks:s.tracks,status:s.status,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onPlay:t[1]||(t[1]=t=>e.$emit("play",t)),onClear:t[2]||(t[2]=t=>e.$emit("clear")),onSwap:t[3]||(t[3]=t=>e.$emit("swap-tracks",t)),onAdd:t[4]||(t[4]=t=>e.$emit("add-to-tracklist",t)),onRemove:t[5]||(t[5]=t=>e.$emit("remove-from-tracklist",t)),onMove:t[6]||(t[6]=t=>e.$emit("tracklist-move",t)),onSave:t[7]||(t[7]=t=>e.$emit("tracklist-save",t)),onInfo:t[8]||(t[8]=t=>e.$emit("info",t)),onAddToPlaylist:U.openAddToPlaylist,onSearch:U.search,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["tracks","status","loading","devices","selected-device","active-device","onAddToPlaylist","onSearch","onRefreshStatus","onSelectDevice"])):"playlists"===K.selectedView?((0,l.wg)(),(0,l.j4)(J,{key:1,playlists:s.playlists,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,"edited-playlist":s.editedPlaylist,tracks:s.editedPlaylistTracks,onPlay:t[9]||(t[9]=t=>e.$emit("play-playlist",t)),onLoad:t[10]||(t[10]=t=>e.$emit("load-playlist",t)),onRemove:t[11]||(t[11]=t=>e.$emit("remove-playlist",t)),onPlaylistEdit:t[12]||(t[12]=t=>e.$emit("playlist-edit",t)),onLoadTrack:t[13]||(t[13]=t=>e.$emit("add-to-tracklist-from-edited-playlist",t)),onRemoveTrack:t[14]||(t[14]=t=>e.$emit("remove-from-playlist",t)),onInfo:t[15]||(t[15]=t=>e.$emit("info",t)),onPlaylistAdd:t[16]||(t[16]=t=>e.$emit("playlist-add",t)),onAddToPlaylist:U.openAddToPlaylist,onTrackMove:t[17]||(t[17]=t=>e.$emit("playlist-track-move",t)),onSearch:U.search,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["playlists","loading","devices","selected-device","active-device","edited-playlist","tracks","onAddToPlaylist","onSearch","onRefreshStatus","onSelectDevice"])):"search"===K.selectedView?((0,l.wg)(),(0,l.j4)(X,{key:2,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onSearch:U.search,results:s.searchResults,onClear:t[18]||(t[18]=t=>e.$emit("search-clear")),onInfo:t[19]||(t[19]=t=>e.$emit("info",t)),onPlay:t[20]||(t[20]=t=>e.$emit("play",t)),onLoad:t[21]||(t[21]=t=>e.$emit("add-to-tracklist",t)),onAddToPlaylist:U.openAddToPlaylist,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["loading","devices","selected-device","active-device","onSearch","results","onAddToPlaylist","onRefreshStatus","onSelectDevice"])):"library"===K.selectedView?((0,l.wg)(),(0,l.j4)(ee,{key:3,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onSearch:U.search,results:s.libraryResults,path:s.path,onClear:t[22]||(t[22]=t=>e.$emit("search-clear")),onInfo:t[23]||(t[23]=t=>e.$emit("info",t)),onPlay:t[24]||(t[24]=t=>e.$emit("play",t)),onLoad:t[25]||(t[25]=t=>e.$emit("add-to-tracklist",t)),onAddToPlaylist:U.openAddToPlaylist,onCd:t[26]||(t[26]=t=>e.$emit("cd",t)),onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["loading","devices","selected-device","active-device","onSearch","results","path","onAddToPlaylist","onRefreshStatus","onSelectDevice"])):(0,l.kq)("",!0)])])])),_:1},8,["plugin-name","status","track","onSearch"])),(0,l._)("div",r,[(0,l.Wm)(se,{title:"Track info",ref:"trackInfo"},{default:(0,l.w5)((()=>[s.trackInfo?((0,l.wg)(),(0,l.iD)("div",d,[s.trackInfo.file?((0,l.wg)(),(0,l.iD)("div",u,[p,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.file)},null,8,y)])):(0,l.kq)("",!0),s.trackInfo.artist?((0,l.wg)(),(0,l.iD)("div",k,[h,(0,l._)("div",f,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(s.trackInfo.artist),onClick:t[37]||(t[37]=(0,i.iM)((e=>U.search({artist:s.trackInfo.artist})),["prevent"]))},null,8,m)])])):(0,l.kq)("",!0),s.trackInfo.title?((0,l.wg)(),(0,l.iD)("div",v,[g,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.title)},null,8,w)])):(0,l.kq)("",!0),s.trackInfo.album?((0,l.wg)(),(0,l.iD)("div",C,[_,(0,l._)("div",b,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(s.trackInfo.album),onClick:t[38]||(t[38]=(0,i.iM)((e=>U.search({artist:s.trackInfo.artist,album:s.trackInfo.album})),["prevent"]))},null,8,D)])])):(0,l.kq)("",!0),s.trackInfo.date?((0,l.wg)(),(0,l.iD)("div",x,[$,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.date)},null,8,T)])):(0,l.kq)("",!0),s.trackInfo.time?((0,l.wg)(),(0,l.iD)("div",P,[S,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(e.convertTime(s.trackInfo.time))},null,8,A)])):(0,l.kq)("",!0),s.trackInfo.track?((0,l.wg)(),(0,l.iD)("div",R,[I,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.track)},null,8,q)])):(0,l.kq)("",!0),s.trackInfo.disc?((0,l.wg)(),(0,l.iD)("div",M,[L,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.disc)},null,8,W)])):(0,l.kq)("",!0),s.trackInfo.url?((0,l.wg)(),(0,l.iD)("div",z,[O,(0,l._)("div",j,[(0,l._)("a",{href:s.trackInfo.url,textContent:(0,a.zw)(s.trackInfo.uri||s.trackInfo.url),target:"_blank"},null,8,E)])])):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])),_:1},512)]),(0,l._)("div",F,[(0,l.Wm)(se,{title:"Playlists",ref:"playlistsModal",onClose:t[41]||(t[41]=e=>K.addToPlaylistTrack=null),onOpen:t[42]||(t[42]=e=>K.selectedPlaylists=[...Array(s.playlists.length).keys()].map((()=>!1)))},{default:(0,l.w5)((()=>[(0,l._)("div",V,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[39]||(t[39]=e=>K.playlistFilter=e)},null,512),[[i.nr,K.playlistFilter]])])]),(0,l._)("div",Z,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.playlists,((e,t)=>((0,l.wg)(),(0,l.iD)("label",{class:(0,a.C_)(["row playlist",{hidden:K.playlistFilter?.length>0&&e.name.toLowerCase().indexOf(K.playlistFilter.toLowerCase())<0}]),key:t},[(0,l._)("input",{type:"checkbox",checked:K.selectedPlaylists[t],onChange:e=>K.selectedPlaylists[t]=e.target.checked},null,40,N),(0,l._)("span",{class:"name",textContent:(0,a.zw)(e.name)},null,8,H)],2)))),128))]),(0,l.Wm)(le,null,{default:(0,l.w5)((()=>[(0,l._)("button",{onClick:t[40]||(t[40]=(...e)=>U.addToPlaylist&&U.addToPlaylist(...e))},Y)])),_:1})])),_:1},512)])],64)}const Q={class:"form-footer"};function G(e,t,s,a,i,c){return(0,l.wg)(),(0,l.iD)("div",Q,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}var J={name:"FormFooter"},X=s(3744);const ee=(0,X.Z)(J,[["render",G],["__scopeId","data-v-2495ce8a"]]);var te=ee,se=s(1232),le=s(9642),ae=s(8337),ie=s(9978);const ce=["title","onClick"];function ne(e,t,s,i,c,n){return(0,l.wg)(),(0,l.iD)("nav",null,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.views,((t,i)=>((0,l.wg)(),(0,l.iD)("li",{key:i,title:t.displayName,class:(0,a.C_)({selected:i===s.selectedView}),onClick:t=>e.$emit("input",i)},[(0,l._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ce)))),128))])}var oe={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:()=>({playing:{iconClass:"fas fa-play",displayName:"Queue"},search:{iconClass:"fas fa-search",displayName:"Search"},playlists:{iconClass:"fas fa-list-ul",displayName:"Playlists"},library:{iconClass:"fas fa-compact-disc",displayName:"Library"}})}}};const re=(0,X.Z)(oe,[["render",ne],["__scopeId","data-v-edee6494"]]);var de=re;const ue=e=>((0,l.dD)("data-v-ee1cc6f4"),e=e(),(0,l.Cn)(),e),pe={key:1,class:"playlist fade-in"},ye={class:"header-container"},ke={class:"col-8 filter"},he={class:"col-4 buttons"},fe=ue((()=>(0,l._)("i",{class:"fa fa-plus"},null,-1))),me=[fe],ve=ue((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),ge=[ve],we={class:"body",ref:"body"},Ce={key:0,class:"no-content"},_e=["onDragstart","onDragend","onDragover","onClick","onDblclick"],be={class:"col-10"},De={class:"title"},xe={key:0,class:"artist"},$e=["href","textContent","onClick"],Te={key:1,class:"album"},Pe=["href","textContent","onClick"],Se={class:"col-2 right-side"},Ae=["textContent"],Re={class:"actions"};function Ie(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("DropdownItem"),u=(0,l.up)("Dropdown"),p=(0,l.up)("MusicHeader");return s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):((0,l.wg)(),(0,l.iD)("div",pe,[(0,l._)("div",ye,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",ke,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])]),(0,l._)("div",he,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Save as playlist","icon-class":"fa fa-save",disabled:!s.tracks?.length,onClick:o.playlistSave},null,8,["disabled","onClick"]),2===n.selectedTracks?.length?((0,l.wg)(),(0,l.j4)(d,{key:0,text:"Swap tracks","icon-class":"fa fa-retweet",onClick:t[1]||(t[1]=t=>e.$emit("swap",n.selectedTracks))})):(0,l.kq)("",!0),(0,l.Wm)(d,{text:n.selectionMode?"End selection":"Start selection","icon-class":"far fa-check-square",disabled:!s.tracks?.length,onClick:t[2]||(t[2]=e=>n.selectionMode=!n.selectionMode)},null,8,["text","disabled"]),(0,l.Wm)(d,{text:n.selectedTracks?.length===s.tracks?.length?"Unselect all":"Select all","icon-class":"fa fa-check-double",disabled:!s.tracks?.length,onClick:t[3]||(t[3]=e=>n.selectedTracks=n.selectedTracks.length===s.tracks.length?[]:[...Array(s.tracks.length).keys()])},null,8,["text","disabled"]),n.selectedTracks.length>0?((0,l.wg)(),(0,l.j4)(d,{key:1,text:"Remove track"+(n.selectedTracks.length>1?"s":""),"icon-class":"fa fa-trash",onClick:t[4]||(t[4]=t=>e.$emit("remove",[...new Set(n.selectedTracks)]))},null,8,["text"])):(0,l.kq)("",!0),(0,l.Wm)(d,{text:"Clear playlist","icon-class":"fa fa-ban",disabled:!s.tracks?.length,onClick:t[5]||(t[5]=t=>e.$emit("clear"))},null,8,["disabled"])])),_:1}),(0,l._)("button",{title:"Add track",onClick:t[6]||(t[6]=(...e)=>o.addTrack&&o.addTrack(...e))},me),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:0,title:"Refresh status",onClick:t[7]||(t[7]=t=>e.$emit("refresh-status"))},ge)):(0,l.kq)("",!0),Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:1,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0)])])),_:1},512)]),(0,l._)("div",we,[s.tracks?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",Ce," No tracks are loaded ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.tracks,((t,c)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(c),active:s.status?.playingPos===c,hidden:!o.displayedTracks.has(c)}]),onDragstart:e=>o.onTrackDragStart(c),onDragend:e=>o.onTrackDragEnd(c),onDragover:e=>o.onTrackDragOver(c),draggable:"true",key:c,onClick:e=>o.onTrackClick(e,c),onDblclick:t=>e.$emit("play",{pos:c})},[(0,l._)("div",be,[(0,l._)("div",De,[(0,l.Uk)((0,a.zw)(t.title||"[No Title]")+" ",1),s.status?.playingPos!==c||"play"!==s.status?.state&&"pause"!==s.status?.state?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",{key:0,class:(0,a.C_)(["playing-icon",{paused:"pause"===s.status?.state}])},[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)([...Array(3).keys()],(e=>((0,l.wg)(),(0,l.iD)("span",{key:e})))),128))],2))]),t.artist?((0,l.wg)(),(0,l.iD)("div",xe,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist})),["prevent"])},null,8,$e)])):(0,l.kq)("",!0),t.album?((0,l.wg)(),(0,l.iD)("div",Te,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist,album:t.album})),["prevent"])},null,8,Pe)])):(0,l.kq)("",!0)]),(0,l._)("div",Se,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,Ae),(0,l._)("span",Re,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:t=>e.$emit("play",{pos:c})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:t=>e.$emit("remove",[...new Set([...n.selectedTracks,c])])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:t=>e.$emit("info",s.tracks[c])},null,8,["onClick"])])),_:2},1024)])])],42,_e)))),128))],512)]))}const qe={class:"header"};function Me(e,t,s,a,i,c){return(0,l.wg)(),(0,l.iD)("div",qe,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}var Le={name:"Header"};const We=(0,X.Z)(Le,[["render",Me],["__scopeId","data-v-8beb55c6"]]);var ze=We,Oe=s(5771),je=s(9015),Ee={name:"Playlist",mixins:[ae.Z],components:{DropdownItem:je.Z,Dropdown:Oe.Z,MusicHeader:ze,Loading:se.Z},emits:["play","clear","add","remove","swap","search","move","save","info","refresh-status","select-device"],props:{tracks:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},status:{type:Object,default:()=>{}},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectionMode:!1,selectedTracks:[],filter:"",infoTrack:null,sourcePos:null,targetPos:null}},computed:{selectedTracksSet(){return new Set(this.selectedTracks)},displayedTracks(){const e=[...Array(this.tracks.length).keys()];if(!this.filter?.length)return new Set(e);const t=this,s=(t.filter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.tracks[e];return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{onTrackClick(e,t){if(e.shiftKey){const e=this.selectedTracks.sort();e.length?te+t))]:t>e[e.length-1]&&(this.selectedTracks=[...this.selectedTracks,...[...Array(t-e[e.length-1]+1).keys()].map((t=>t+e[e.length-1]))]):this.selectedTracks=[t]}else{const s=this.selectedTracks.indexOf(t);this.selectionMode||e.ctrlKey?s>=0?this.selectedTracks.splice(s,1):this.selectedTracks.push(t):this.selectedTracks=s>=0?[]:[t]}},addTrack(){const e=prompt("Item path or URL");e?.length&&this.$emit("add",e)},onTrackDragStart(e){this.sourcePos=e},onTrackDragEnd(){this.$refs.body.querySelectorAll(".track").forEach((e=>e.classList.remove("dragover"))),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("move",{from:this.sourcePos,to:this.targetPos}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver(e){this.targetPos=e;const t=this.$refs.body.querySelectorAll(".track");t.forEach((e=>e.classList.remove("dragover"))),[...t][e].classList.add("dragover")},playlistSave(){const e=prompt("Playlist name");e?.length&&this.$emit("save",e)}},mounted(){const e=this;this.$watch((()=>e.status?.playingPos),(t=>{if(null==t)return;const s=[...e.$refs.body.querySelectorAll(".track")][t],l=s.offsetTop-parseFloat(getComputedStyle(e.$refs.header.$el).height);e.$refs.body.scrollTo(0,l)}))}};const Fe=(0,X.Z)(Ee,[["render",Ie],["__scopeId","data-v-ee1cc6f4"]]);var Ve=Fe;const Ze=e=>((0,l.dD)("data-v-c01651b6"),e=e(),(0,l.Cn)(),e),Ne={key:1,class:"editor-container fade-in"},He={class:"header-container"},Ke={class:"col-8 filter"},Ue=Ze((()=>(0,l._)("i",{class:"fas fa-arrow-left"},null,-1))),Ye=[Ue],Be={class:"search-box"},Qe={class:"buttons pull-right"},Ge=Ze((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),Je=[Ge],Xe=Ze((()=>(0,l._)("i",{class:"fas fa-plus"},null,-1))),et=[Xe],tt={class:"editor",ref:"editor"},st={key:0,class:"no-content"},lt=["onDragstart","onDragend","onDragover","onClick","onDblclick"],at={class:"col-10"},it={class:"title"},ct={key:0,class:"artist"},nt=["href","textContent","onClick"],ot={key:1,class:"album"},rt=["href","textContent","onClick"],dt={class:"col-2 right-side"},ut=["textContent"],pt={class:"actions"},yt={key:2,class:"playlists fade-in"},kt={class:"header-container"},ht={class:"col-8 filter"},ft={class:"col-4 buttons"},mt=Ze((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),vt=[mt],gt={class:"body",ref:"body"},wt={key:0,class:"no-content"},Ct=["onClick","onDblclick"],_t={class:"col-10"},bt=["textContent"],Dt={class:"col-2 right-side"},xt={class:"actions"};function $t(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("DropdownItem"),u=(0,l.up)("Dropdown"),p=(0,l.up)("MusicHeader");return s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):null!=s.editedPlaylist?((0,l.wg)(),(0,l.iD)("div",Ne,[(0,l._)("div",He,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",Ke,[(0,l._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=t=>e.$emit("playlist-edit",null))},Ye),(0,l._)("label",Be,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[1]||(t[1]=e=>n.trackFilter=e)},null,512),[[i.nr,n.trackFilter]])])]),(0,l._)("div",Qe,[Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:1,title:"Refresh status",onClick:t[2]||(t[2]=t=>e.$emit("refresh-status"))},Je)):(0,l.kq)("",!0),(0,l._)("button",{class:"add-btn",title:"Add track",onClick:t[3]||(t[3]=(...e)=>o.addTrack&&o.addTrack(...e))},et)])])),_:1},512)]),(0,l._)("div",tt,[s.tracks?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",st," No tracks found ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.tracks,((t,c)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(c),active:e.status?.playingPos===c,hidden:!o.displayedTracks.has(c)}]),draggable:"true",key:c,onDragstart:e=>o.onTrackDragStart(c),onDragend:e=>o.onTrackDragEnd(c),onDragover:e=>o.onTrackDragOver(c),onClick:e=>o.onTrackClick(e,c),onDblclick:t=>e.$emit("load-track",{pos:c,play:!0})},[(0,l._)("div",at,[(0,l._)("div",it,(0,a.zw)(t.title||"[No Title]"),1),t.artist?((0,l.wg)(),(0,l.iD)("div",ct,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist})),["prevent"])},null,8,nt)])):(0,l.kq)("",!0),t.album?((0,l.wg)(),(0,l.iD)("div",ot,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist,album:t.album})),["prevent"])},null,8,rt)])):(0,l.kq)("",!0)]),(0,l._)("div",dt,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,ut),(0,l._)("span",pt,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:t=>e.$emit("load-track",{pos:c,play:!0})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:t=>e.$emit("load-track",{pos:c,play:!1})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:t=>e.$emit("remove-track",[...new Set([...n.selectedTracks,c])])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:(0,i.iM)((t=>e.$emit("info",s.tracks[c])),["stop"])},null,8,["onClick"])])),_:2},1024)])])],42,lt)))),128))],512)])):((0,l.wg)(),(0,l.iD)("div",yt,[(0,l._)("div",kt,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",ht,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[4]||(t[4]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])]),(0,l._)("div",ft,[Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:1,title:"Refresh status",onClick:t[5]||(t[5]=t=>e.$emit("refresh-status"))},vt)):(0,l.kq)("",!0)])])),_:1},512)]),(0,l._)("div",gt,[s.playlists?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",wt," No playlists found ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.playlists,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row playlist",{hidden:!o.displayedPlaylists.has(s)}]),key:s,onClick:t=>e.$emit("playlist-edit",s),onDblclick:t=>e.$emit("load",s)},[(0,l._)("div",_t,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.name||"[No Name]")},null,8,bt)]),(0,l._)("div",Dt,[(0,l._)("span",xt,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:(0,i.iM)((t=>e.$emit("play",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Load","icon-class":"fa fa-list-ul",onClick:(0,i.iM)((t=>e.$emit("load",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Edit","icon-class":"fa fa-edit",onClick:(0,i.iM)((t=>e.$emit("playlist-edit",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:(0,i.iM)((t=>e.$emit("remove",s)),["stop"])},null,8,["onClick"])])),_:2},1024)])])],42,Ct)))),128))],512)]))}var Tt={name:"Playlists",mixins:[ae.Z],components:{DropdownItem:je.Z,Dropdown:Oe.Z,MusicHeader:ze,Loading:se.Z},emits:["play","load","remove","playlist-edit","search","remove-track","load-track","info","playlist-add","add-to-playlist","track-move","refresh-status","select-device"],props:{playlists:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},tracks:{type:Array,default:()=>[]},editedPlaylist:{type:Number},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedTracks:[],filter:"",trackFilter:"",sourcePos:null,targetPos:null}},computed:{selectedTracksSet(){return new Set(this.selectedTracks)},displayedPlaylists(){const e=[...Array(this.playlists.length).keys()];if(!this.filter?.length)return new Set(e);const t=this,s=(t.filter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.playlists[e];return(t?.name||"").toLowerCase().indexOf(s)>=0})))},displayedTracks(){const e=[...Array(this.tracks.length).keys()];if(!this.trackFilter?.length)return new Set(e);const t=this,s=(t.trackFilter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.tracks[e];return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{onTrackClick(e,t){if(e.shiftKey){const e=this.selectedTracks.sort();e.length?te+t))]:t>e[e.length-1]&&(this.selectedTracks=[...this.selectedTracks,...[...Array(t-e[e.length-1]+1).keys()].map((t=>t+e[e.length-1]))]):this.selectedTracks=[t]}else{const s=this.selectedTracks.indexOf(t);e.ctrlKey?s>=0?this.selectedTracks.splice(s,1):this.selectedTracks.push(t):this.selectedTracks=s>=0?[]:[t]}},addTrack(){const e=prompt("Track path or URL");e?.length&&this.$emit("playlist-add",e)},onTrackDragStart(e){this.sourcePos=e},onTrackDragEnd(){this.$refs.editor.querySelectorAll(".track").forEach((e=>e.classList.remove("dragover"))),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("track-move",{from:this.sourcePos,to:this.targetPos,playlist:this.editedPlaylist}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver(e){this.targetPos=e;const t=this.$refs.editor.querySelectorAll(".track");t.forEach((e=>e.classList.remove("dragover"))),[...t][e].classList.add("dragover")}}};const Pt=(0,X.Z)(Tt,[["render",$t],["__scopeId","data-v-c01651b6"]]);var St=Pt;const At=e=>((0,l.dD)("data-v-6fe42598"),e=e(),(0,l.Cn)(),e),Rt={class:"search-form"},It={class:"row"},qt={class:"row"},Mt={class:"row"},Lt={class:"row"},Wt=At((()=>(0,l._)("i",{class:"icon fa fa-times"},null,-1))),zt=At((()=>(0,l._)("span",{class:"btn-title"},"Clear",-1))),Ot=[Wt,zt],jt=At((()=>(0,l._)("button",{type:"submit"},[(0,l._)("i",{class:"icon fa fa-search"}),(0,l._)("span",{class:"btn-title"},"Search")],-1))),Et={class:"search-box"},Ft={class:"buttons"},Vt=At((()=>(0,l._)("i",{class:"icon fa fa-times"},null,-1))),Zt=At((()=>(0,l._)("span",{class:"btn-title"},"Clear",-1))),Nt=[Vt,Zt],Ht={class:"results"},Kt=["onClick"],Ut={class:"col-10"},Yt={class:"title"},Bt=["textContent"],Qt=["textContent"],Gt={class:"col-2 right-side"},Jt=["textContent"],Xt={class:"actions"};function es(e,t,s,c,n,o){const r=(0,l.up)("FormFooter"),d=(0,l.up)("MusicHeader"),u=(0,l.up)("DropdownItem"),p=(0,l.up)("Dropdown");return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["search fade-in",{"form-collapsed":o.formCollapsed}])},[o.formCollapsed?((0,l.wg)(),(0,l.j4)(d,{key:1},{default:(0,l.w5)((()=>[(0,l._)("label",Et,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[6]||(t[6]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])]),(0,l._)("span",Ft,[(0,l._)("button",{onClick:t[7]||(t[7]=(...e)=>o.clear&&o.clear(...e))},Nt)])])),_:1})):((0,l.wg)(),(0,l.iD)("div",{key:0,class:"form-container",onSubmit:t[5]||(t[5]=(0,i.iM)((t=>e.$emit("search",o.filteredQuery)),["prevent"]))},[(0,l._)("form",Rt,[(0,l._)("div",It,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Any","onUpdate:modelValue":t[0]||(t[0]=e=>n.query.any=e)},null,512),[[i.nr,n.query.any]])])]),(0,l._)("div",qt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Artist","onUpdate:modelValue":t[1]||(t[1]=e=>n.query.artist=e)},null,512),[[i.nr,n.query.artist]])])]),(0,l._)("div",Mt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[2]||(t[2]=e=>n.query.title=e)},null,512),[[i.nr,n.query.title]])])]),(0,l._)("div",Lt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Album","onUpdate:modelValue":t[3]||(t[3]=e=>n.query.album=e)},null,512),[[i.nr,n.query.album]])])]),(0,l.Wm)(r,null,{default:(0,l.w5)((()=>[(0,l._)("button",{onClick:t[4]||(t[4]=(...e)=>o.clear&&o.clear(...e))},Ot),jt])),_:1})])],32)),(0,l._)("div",Ht,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.results,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:n.selectedResults.has(s),hidden:!o.displayedTracks.has(s)}]),key:s,onClick:e=>o.resultClick(s,e)},[(0,l._)("div",Ut,[(0,l._)("div",Yt,(0,a.zw)(t.title||"[No Title]"),1),t.artist?.length?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Bt)):(0,l.kq)("",!0),t.album?.length?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Qt)):(0,l.kq)("",!0)]),(0,l._)("div",Gt,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Jt),(0,l._)("span",Xt,[(0,l.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{text:"Play","icon-class":"fa fa-play",onClick:e=>o.play(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to queue","icon-class":"fa fa-plus",onClick:e=>o.load(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Info","icon-class":"fa fa-info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1024)])])],10,Kt)))),128))])],2)}var ts={name:"Search",components:{Dropdown:Oe.Z,DropdownItem:je.Z,FormFooter:te,MusicHeader:ze},mixins:[ae.Z],emits:["search","clear","play","load","add-to-playlist","info","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{formCollapsed(){return this.results?.length>0},filteredQuery(){return Object.entries(this.query).filter((e=>e[1]?.length)).reduce(((e,[t,s])=>(e[t]=s,e)),{})},displayedTracks(){return new Set([...Array(this.results?.length||0).keys()].filter((e=>{const t=this.results[e];if(!this.filter?.length)return t;const s=this.filter.toLowerCase();return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{clear(){this.$emit("clear"),this.selectedResults=new Set},resultClick(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){const t=[...this.selectedResults],s=Math.min(Math.min(t),e),l=Math.max(Math.max(t),e);this.selectedResults=new Set([...Array(l-s+1).keys()].map((e=>e+s)))}}else t.ctrlKey||(this.selectedResults=new Set),this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e)},play(e){this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((e=>{this.$emit("load",e)}))},load(e){this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((e=>{this.$emit("load",this.results[e])}))}}};const ss=(0,X.Z)(ts,[["render",es],["__scopeId","data-v-6fe42598"]]);var ls=ss;const as=e=>((0,l.dD)("data-v-c3245ea8"),e=e(),(0,l.Cn)(),e),is={class:"library fade-in"},cs={class:"search-box"},ns={class:"results"},os=as((()=>(0,l._)("div",{class:"icon-container"},[(0,l._)("i",{class:"icon fa fa-folder"})],-1))),rs=as((()=>(0,l._)("div",{class:"result-container"},[(0,l._)("div",{class:"title"},"..")],-1))),ds=[os,rs],us=["onClick"],ps={class:"col-10 left-side"},ys={class:"icon-container"},ks={key:0,class:"icon fa fa-folder"},hs={key:1,class:"icon fa fa-music"},fs={class:"info"},ms={class:"title"},vs=["textContent"],gs=["textContent"],ws={class:"artist-album"},Cs=["textContent"],_s=["textContent"],bs={class:"col-2 right-side"},Ds=["textContent"],xs={class:"actions"};function $s(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("MusicHeader"),u=(0,l.up)("DropdownItem"),p=(0,l.up)("Dropdown");return(0,l.wg)(),(0,l.iD)("div",is,[s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):(0,l.kq)("",!0),(0,l.Wm)(d,null,{default:(0,l.w5)((()=>[(0,l._)("label",cs,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])])),_:1}),(0,l._)("div",ns,["/"!==s.path?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"row track back-track",onClick:t[1]||(t[1]=(...e)=>o.back&&o.back(...e))},ds)):(0,l.kq)("",!0),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.results,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:n.selectedResults.has(s),hidden:!o.displayedResults.has(s)}]),key:s,onClick:e=>o.resultClick(s,e)},[(0,l._)("div",ps,[(0,l._)("div",ys,[t.directory?((0,l.wg)(),(0,l.iD)("i",ks)):t.file?((0,l.wg)(),(0,l.iD)("i",hs)):(0,l.kq)("",!0)]),(0,l._)("div",fs,[(0,l._)("div",ms,[t.directory?((0,l.wg)(),(0,l.iD)("span",{key:0,textContent:(0,a.zw)(t.directory.split("/").pop())},null,8,vs)):t.title?((0,l.wg)(),(0,l.iD)("span",{key:1,textContent:(0,a.zw)(t.title)},null,8,gs)):(0,l.kq)("",!0)]),(0,l._)("div",ws,[t.artist?.length?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Cs)):(0,l.kq)("",!0),t.album?.length?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,_s)):(0,l.kq)("",!0)])])]),(0,l._)("div",bs,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Ds),(0,l._)("span",xs,[(0,l.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{text:"Play","icon-class":"fa fa-play",onClick:e=>o.play(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to queue","icon-class":"fa fa-plus",onClick:e=>o.load(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Info","icon-class":"fa fa-info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1024)])])],10,us)))),128))])])}var Ts={name:"Library",components:{Dropdown:Oe.Z,DropdownItem:je.Z,MusicHeader:ze,Loading:se.Z},mixins:[ae.Z],emits:["search","play","load","add-to-playlist","info","cd","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},path:{type:String},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{displayedResults(){return new Set([...Array(this.results?.length||0).keys()].filter((e=>{const t=this.results[e];if(!this.filter?.length)return t;const s=this.filter.toLowerCase();return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0||(t?.directory||"").toLowerCase().indexOf(s)>=0})))}},methods:{resultClick(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){const t=[...this.selectedResults],s=Math.min(Math.min(t),e),l=Math.max(Math.max(t),e);this.selectedResults=new Set([...Array(l-s+1).keys()].map((e=>e+s)))}}else t.ctrlKey?this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e):this.results[e].directory?this.$emit("cd",this.results[e].directory):(this.selectedResults=new Set,this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e))},play(e){this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((e=>{this.$emit("load",e)}))},load(e){this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((e=>{this.$emit("load",this.results[e])}))},back(){const e=this.path.split("/");this.$emit("cd",e.slice(0,e.length-1).join("/"))}}};const Ps=(0,X.Z)(Ts,[["render",$s],["__scopeId","data-v-c3245ea8"]]);var Ss=Ps,As=s(6813),Rs={name:"Music",emits:["play","pause","stop","clear","previous","next","set-volume","seek","consume","repeat","random","status-update","playlist-update","new-playing-track","add-to-tracklist","remove-from-tracklist","swap-tracks","play-playlist","load-playlist","remove-playlist","tracklist-move","tracklist-save","add-to-tracklist-from-edited-playlist","remove-from-playlist","info","playlist-add","add-to-playlist","playlist-track-move","search","search-clear","cd","refresh-status","select-device"],mixins:[As.Z,ae.Z],components:{Loading:se.Z,Modal:le.Z,Nav:de,MediaView:ie.Z,Playlist:Ve,Playlists:St,FormFooter:te,Search:ls,Library:Ss},props:{pluginName:{type:String,required:!0},loading:{type:Boolean,default:!1},config:{type:Object,default:()=>{}},tracks:{type:Array,default:()=>[]},editedPlaylistTracks:{type:Array,default:()=>[]},playlists:{type:Array,default:()=>[]},status:{type:Object,default:()=>{}},editedPlaylist:{type:Number},trackInfo:{type:String},searchResults:{type:Array},libraryResults:{type:Array},path:{type:String},devices:{type:Object},activeDevice:{type:String},selectedDevice:{type:String}},data(){return{selectedView:"playing",selectedPlaylists:[],addToPlaylistTrack:null,playlistFilter:""}},computed:{track(){return null==this.status?.playingPos?null:this.tracks[this.status.playingPos]}},methods:{async onStatusEvent(e){e.plugin_name===this.pluginName&&this.$emit("status-update",e)},async onPlaylistEvent(e){e.plugin_name===this.pluginName&&this.$emit("playlist-update",e)},async onNewPlayingTrack(e){e.plugin_name===this.pluginName&&(this.notify({html:`${e.track?.artist}
${e.track?.title}`,image:{iconClass:"fa fa-play"}}),this.$emit("new-playing-track",e))},async openAddToPlaylist(e){this.addToPlaylistTrack=e,this.$refs.playlistsModal.isVisible=!0},async addToPlaylist(){this.$emit("add-to-playlist",{track:this.addToPlaylistTrack,playlists:[...Array(this.selectedPlaylists.length).keys()].filter((e=>this.selectedPlaylists[e]))}),this.$refs.playlistsModal.isVisible=!1,this.addToPlaylistTrack=null,this.playlistFilter=""},async search(e){this.$emit("search",e),this.$refs.trackInfo.isVisible=!1,this.selectedView="search"},selectDevice(e){this.$emit("select-device",e)},refreshStatus(){this.$emit("refresh-status")}},mounted(){this.subscribe(this.onStatusEvent,"on-status-update","platypush.message.event.music.MusicPlayEvent","platypush.message.event.music.MusicPauseEvent","platypush.message.event.music.MusicStopEvent","platypush.message.event.music.SeekChangeEvent","platypush.message.event.music.VolumeChangeEvent","platypush.message.event.music.MuteChangeEvent","platypush.message.event.music.PlaybackRepeatModeChangeEvent","platypush.message.event.music.PlaybackRandomModeChangeEvent","platypush.message.event.music.PlaybackConsumeModeChangeEvent","platypush.message.event.music.PlaybackSingleModeChangeEvent"),this.subscribe(this.onPlaylistEvent,"on-playlist-update","platypush.message.event.music.PlaylistChangeEvent"),this.subscribe(this.onNewPlayingTrack,"on-new-playing-track","platypush.message.event.music.NewPlayingTrackEvent"),this.$watch((()=>this.trackInfo),(e=>{null!=e&&(this.$refs.trackInfo.isVisible=!0)}))},unmounted(){this.unsubscribe("on-status-update"),this.unsubscribe("on-playlist-update")}};const Is=(0,X.Z)(Rs,[["render",B],["__scopeId","data-v-2cd8b8d5"]]);var qs=Is}}]); -//# sourceMappingURL=6833.7d7776ab.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6833],{6833:function(e,t,s){s.r(t),s.d(t,{default:function(){return qs}});var l=s(6252),a=s(3577),i=s(9963);const c=e=>((0,l.dD)("data-v-2cd8b8d5"),e=e(),(0,l.Cn)(),e),n={class:"nav-container"},o={class:"view-container"},r={class:"track-info-container"},d={key:0,class:"track-info-content"},u={key:0,class:"row file"},p=c((()=>(0,l._)("div",{class:"col-3 attr"},"File",-1))),y=["textContent"],k={key:1,class:"row artist"},h=c((()=>(0,l._)("div",{class:"col-3 attr"},"Artist",-1))),f={class:"col-9 value"},m=["href","textContent"],v={key:2,class:"row track-title"},g=c((()=>(0,l._)("div",{class:"col-3 attr"},"Title",-1))),w=["textContent"],C={key:3,class:"row album"},_=c((()=>(0,l._)("div",{class:"col-3 attr"},"Album",-1))),b={class:"col-9 value"},D=["href","textContent"],x={key:4,class:"row date"},$=c((()=>(0,l._)("div",{class:"col-3 attr"},"Date",-1))),T=["textContent"],P={key:5,class:"row duration"},S=c((()=>(0,l._)("div",{class:"col-3 attr"},"Duration",-1))),A=["textContent"],R={key:6,class:"row track"},I=c((()=>(0,l._)("div",{class:"col-3 attr"},"Track",-1))),q=["textContent"],M={key:7,class:"row disc"},L=c((()=>(0,l._)("div",{class:"col-3 attr"},"Disc",-1))),W=["textContent"],z={key:8,class:"row url"},O=c((()=>(0,l._)("div",{class:"col-3 attr"},"URL",-1))),j={class:"col-9 value"},E=["href","textContent"],F={class:"playlists-modal-container"},V={class:"filter"},Z={class:"playlists"},N=["checked","onChange"],H=["textContent"],K=c((()=>(0,l._)("i",{class:"fa fa-plus"},null,-1))),U=(0,l.Uk)("   Add "),Y=[K,U];function B(e,t,s,c,K,U){const B=(0,l.up)("Loading"),Q=(0,l.up)("Nav"),G=(0,l.up)("Playlist"),J=(0,l.up)("Playlists"),X=(0,l.up)("Search"),ee=(0,l.up)("Library"),te=(0,l.up)("MediaView"),se=(0,l.up)("Modal"),le=(0,l.up)("FormFooter");return(0,l.wg)(),(0,l.iD)(l.HY,null,[s.loading?((0,l.wg)(),(0,l.j4)(B,{key:0})):((0,l.wg)(),(0,l.j4)(te,{key:1,"plugin-name":s.pluginName,status:s.status,track:U.track,onPlay:t[27]||(t[27]=t=>e.$emit("play",t)),onPause:t[28]||(t[28]=t=>e.$emit("pause")),onStop:t[29]||(t[29]=t=>e.$emit("stop")),onPrevious:t[30]||(t[30]=t=>e.$emit("previous")),onNext:t[31]||(t[31]=t=>e.$emit("next")),onSetVolume:t[32]||(t[32]=t=>e.$emit("set-volume",t)),onSeek:t[33]||(t[33]=t=>e.$emit("seek",t)),onConsume:t[34]||(t[34]=t=>e.$emit("consume",t)),onRepeat:t[35]||(t[35]=t=>e.$emit("repeat",t)),onRandom:t[36]||(t[36]=t=>e.$emit("random",t)),onSearch:U.search},{default:(0,l.w5)((()=>[(0,l._)("main",null,[(0,l._)("div",n,[(0,l.Wm)(Q,{"selected-view":K.selectedView,onInput:t[0]||(t[0]=e=>K.selectedView=e)},null,8,["selected-view"])]),(0,l._)("div",o,["playing"===K.selectedView?((0,l.wg)(),(0,l.j4)(G,{key:0,tracks:s.tracks,status:s.status,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onPlay:t[1]||(t[1]=t=>e.$emit("play",t)),onClear:t[2]||(t[2]=t=>e.$emit("clear")),onSwap:t[3]||(t[3]=t=>e.$emit("swap-tracks",t)),onAdd:t[4]||(t[4]=t=>e.$emit("add-to-tracklist",t)),onRemove:t[5]||(t[5]=t=>e.$emit("remove-from-tracklist",t)),onMove:t[6]||(t[6]=t=>e.$emit("tracklist-move",t)),onSave:t[7]||(t[7]=t=>e.$emit("tracklist-save",t)),onInfo:t[8]||(t[8]=t=>e.$emit("info",t)),onAddToPlaylist:U.openAddToPlaylist,onSearch:U.search,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["tracks","status","loading","devices","selected-device","active-device","onAddToPlaylist","onSearch","onRefreshStatus","onSelectDevice"])):"playlists"===K.selectedView?((0,l.wg)(),(0,l.j4)(J,{key:1,playlists:s.playlists,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,"edited-playlist":s.editedPlaylist,tracks:s.editedPlaylistTracks,onPlay:t[9]||(t[9]=t=>e.$emit("play-playlist",t)),onLoad:t[10]||(t[10]=t=>e.$emit("load-playlist",t)),onRemove:t[11]||(t[11]=t=>e.$emit("remove-playlist",t)),onPlaylistEdit:t[12]||(t[12]=t=>e.$emit("playlist-edit",t)),onLoadTrack:t[13]||(t[13]=t=>e.$emit("add-to-tracklist-from-edited-playlist",t)),onRemoveTrack:t[14]||(t[14]=t=>e.$emit("remove-from-playlist",t)),onInfo:t[15]||(t[15]=t=>e.$emit("info",t)),onPlaylistAdd:t[16]||(t[16]=t=>e.$emit("playlist-add",t)),onAddToPlaylist:U.openAddToPlaylist,onTrackMove:t[17]||(t[17]=t=>e.$emit("playlist-track-move",t)),onSearch:U.search,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["playlists","loading","devices","selected-device","active-device","edited-playlist","tracks","onAddToPlaylist","onSearch","onRefreshStatus","onSelectDevice"])):"search"===K.selectedView?((0,l.wg)(),(0,l.j4)(X,{key:2,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onSearch:U.search,results:s.searchResults,onClear:t[18]||(t[18]=t=>e.$emit("search-clear")),onInfo:t[19]||(t[19]=t=>e.$emit("info",t)),onPlay:t[20]||(t[20]=t=>e.$emit("play",t)),onLoad:t[21]||(t[21]=t=>e.$emit("add-to-tracklist",t)),onAddToPlaylist:U.openAddToPlaylist,onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["loading","devices","selected-device","active-device","onSearch","results","onAddToPlaylist","onRefreshStatus","onSelectDevice"])):"library"===K.selectedView?((0,l.wg)(),(0,l.j4)(ee,{key:3,loading:s.loading,devices:s.devices,"selected-device":s.selectedDevice,"active-device":s.activeDevice,onSearch:U.search,results:s.libraryResults,path:s.path,onClear:t[22]||(t[22]=t=>e.$emit("search-clear")),onInfo:t[23]||(t[23]=t=>e.$emit("info",t)),onPlay:t[24]||(t[24]=t=>e.$emit("play",t)),onLoad:t[25]||(t[25]=t=>e.$emit("add-to-tracklist",t)),onAddToPlaylist:U.openAddToPlaylist,onCd:t[26]||(t[26]=t=>e.$emit("cd",t)),onRefreshStatus:U.refreshStatus,onSelectDevice:U.selectDevice},null,8,["loading","devices","selected-device","active-device","onSearch","results","path","onAddToPlaylist","onRefreshStatus","onSelectDevice"])):(0,l.kq)("",!0)])])])),_:1},8,["plugin-name","status","track","onSearch"])),(0,l._)("div",r,[(0,l.Wm)(se,{title:"Track info",ref:"trackInfo"},{default:(0,l.w5)((()=>[s.trackInfo?((0,l.wg)(),(0,l.iD)("div",d,[s.trackInfo.file?((0,l.wg)(),(0,l.iD)("div",u,[p,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.file)},null,8,y)])):(0,l.kq)("",!0),s.trackInfo.artist?((0,l.wg)(),(0,l.iD)("div",k,[h,(0,l._)("div",f,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(s.trackInfo.artist),onClick:t[37]||(t[37]=(0,i.iM)((e=>U.search({artist:s.trackInfo.artist})),["prevent"]))},null,8,m)])])):(0,l.kq)("",!0),s.trackInfo.title?((0,l.wg)(),(0,l.iD)("div",v,[g,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.title)},null,8,w)])):(0,l.kq)("",!0),s.trackInfo.album?((0,l.wg)(),(0,l.iD)("div",C,[_,(0,l._)("div",b,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(s.trackInfo.album),onClick:t[38]||(t[38]=(0,i.iM)((e=>U.search({artist:s.trackInfo.artist,album:s.trackInfo.album})),["prevent"]))},null,8,D)])])):(0,l.kq)("",!0),s.trackInfo.date?((0,l.wg)(),(0,l.iD)("div",x,[$,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.date)},null,8,T)])):(0,l.kq)("",!0),s.trackInfo.time?((0,l.wg)(),(0,l.iD)("div",P,[S,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(e.convertTime(s.trackInfo.time))},null,8,A)])):(0,l.kq)("",!0),s.trackInfo.track?((0,l.wg)(),(0,l.iD)("div",R,[I,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.track)},null,8,q)])):(0,l.kq)("",!0),s.trackInfo.disc?((0,l.wg)(),(0,l.iD)("div",M,[L,(0,l._)("div",{class:"col-9 value",textContent:(0,a.zw)(s.trackInfo.disc)},null,8,W)])):(0,l.kq)("",!0),s.trackInfo.url?((0,l.wg)(),(0,l.iD)("div",z,[O,(0,l._)("div",j,[(0,l._)("a",{href:s.trackInfo.url,textContent:(0,a.zw)(s.trackInfo.uri||s.trackInfo.url),target:"_blank"},null,8,E)])])):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])),_:1},512)]),(0,l._)("div",F,[(0,l.Wm)(se,{title:"Playlists",ref:"playlistsModal",onClose:t[41]||(t[41]=e=>K.addToPlaylistTrack=null),onOpen:t[42]||(t[42]=e=>K.selectedPlaylists=[...Array(s.playlists.length).keys()].map((()=>!1)))},{default:(0,l.w5)((()=>[(0,l._)("div",V,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[39]||(t[39]=e=>K.playlistFilter=e)},null,512),[[i.nr,K.playlistFilter]])])]),(0,l._)("div",Z,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.playlists,((e,t)=>((0,l.wg)(),(0,l.iD)("label",{class:(0,a.C_)(["row playlist",{hidden:K.playlistFilter?.length>0&&e.name.toLowerCase().indexOf(K.playlistFilter.toLowerCase())<0}]),key:t},[(0,l._)("input",{type:"checkbox",checked:K.selectedPlaylists[t],onChange:e=>K.selectedPlaylists[t]=e.target.checked},null,40,N),(0,l._)("span",{class:"name",textContent:(0,a.zw)(e.name)},null,8,H)],2)))),128))]),(0,l.Wm)(le,null,{default:(0,l.w5)((()=>[(0,l._)("button",{onClick:t[40]||(t[40]=(...e)=>U.addToPlaylist&&U.addToPlaylist(...e))},Y)])),_:1})])),_:1},512)])],64)}const Q={class:"form-footer"};function G(e,t,s,a,i,c){return(0,l.wg)(),(0,l.iD)("div",Q,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}var J={name:"FormFooter"},X=s(3744);const ee=(0,X.Z)(J,[["render",G],["__scopeId","data-v-2495ce8a"]]);var te=ee,se=s(1232),le=s(8453),ae=s(8337),ie=s(9978);const ce=["title","onClick"];function ne(e,t,s,i,c,n){return(0,l.wg)(),(0,l.iD)("nav",null,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.views,((t,i)=>((0,l.wg)(),(0,l.iD)("li",{key:i,title:t.displayName,class:(0,a.C_)({selected:i===s.selectedView}),onClick:t=>e.$emit("input",i)},[(0,l._)("i",{class:(0,a.C_)(t.iconClass)},null,2)],10,ce)))),128))])}var oe={name:"Nav",emits:["input"],props:{selectedView:{type:String},collapsed:{type:Boolean,default:!1},views:{type:Object,default:()=>({playing:{iconClass:"fas fa-play",displayName:"Queue"},search:{iconClass:"fas fa-search",displayName:"Search"},playlists:{iconClass:"fas fa-list-ul",displayName:"Playlists"},library:{iconClass:"fas fa-compact-disc",displayName:"Library"}})}}};const re=(0,X.Z)(oe,[["render",ne],["__scopeId","data-v-edee6494"]]);var de=re;const ue=e=>((0,l.dD)("data-v-ee1cc6f4"),e=e(),(0,l.Cn)(),e),pe={key:1,class:"playlist fade-in"},ye={class:"header-container"},ke={class:"col-8 filter"},he={class:"col-4 buttons"},fe=ue((()=>(0,l._)("i",{class:"fa fa-plus"},null,-1))),me=[fe],ve=ue((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),ge=[ve],we={class:"body",ref:"body"},Ce={key:0,class:"no-content"},_e=["onDragstart","onDragend","onDragover","onClick","onDblclick"],be={class:"col-10"},De={class:"title"},xe={key:0,class:"artist"},$e=["href","textContent","onClick"],Te={key:1,class:"album"},Pe=["href","textContent","onClick"],Se={class:"col-2 right-side"},Ae=["textContent"],Re={class:"actions"};function Ie(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("DropdownItem"),u=(0,l.up)("Dropdown"),p=(0,l.up)("MusicHeader");return s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):((0,l.wg)(),(0,l.iD)("div",pe,[(0,l._)("div",ye,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",ke,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])]),(0,l._)("div",he,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Save as playlist","icon-class":"fa fa-save",disabled:!s.tracks?.length,onClick:o.playlistSave},null,8,["disabled","onClick"]),2===n.selectedTracks?.length?((0,l.wg)(),(0,l.j4)(d,{key:0,text:"Swap tracks","icon-class":"fa fa-retweet",onClick:t[1]||(t[1]=t=>e.$emit("swap",n.selectedTracks))})):(0,l.kq)("",!0),(0,l.Wm)(d,{text:n.selectionMode?"End selection":"Start selection","icon-class":"far fa-check-square",disabled:!s.tracks?.length,onClick:t[2]||(t[2]=e=>n.selectionMode=!n.selectionMode)},null,8,["text","disabled"]),(0,l.Wm)(d,{text:n.selectedTracks?.length===s.tracks?.length?"Unselect all":"Select all","icon-class":"fa fa-check-double",disabled:!s.tracks?.length,onClick:t[3]||(t[3]=e=>n.selectedTracks=n.selectedTracks.length===s.tracks.length?[]:[...Array(s.tracks.length).keys()])},null,8,["text","disabled"]),n.selectedTracks.length>0?((0,l.wg)(),(0,l.j4)(d,{key:1,text:"Remove track"+(n.selectedTracks.length>1?"s":""),"icon-class":"fa fa-trash",onClick:t[4]||(t[4]=t=>e.$emit("remove",[...new Set(n.selectedTracks)]))},null,8,["text"])):(0,l.kq)("",!0),(0,l.Wm)(d,{text:"Clear playlist","icon-class":"fa fa-ban",disabled:!s.tracks?.length,onClick:t[5]||(t[5]=t=>e.$emit("clear"))},null,8,["disabled"])])),_:1}),(0,l._)("button",{title:"Add track",onClick:t[6]||(t[6]=(...e)=>o.addTrack&&o.addTrack(...e))},me),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:0,title:"Refresh status",onClick:t[7]||(t[7]=t=>e.$emit("refresh-status"))},ge)):(0,l.kq)("",!0),Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:1,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0)])])),_:1},512)]),(0,l._)("div",we,[s.tracks?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",Ce," No tracks are loaded ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.tracks,((t,c)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(c),active:s.status?.playingPos===c,hidden:!o.displayedTracks.has(c)}]),onDragstart:e=>o.onTrackDragStart(c),onDragend:e=>o.onTrackDragEnd(c),onDragover:e=>o.onTrackDragOver(c),draggable:"true",key:c,onClick:e=>o.onTrackClick(e,c),onDblclick:t=>e.$emit("play",{pos:c})},[(0,l._)("div",be,[(0,l._)("div",De,[(0,l.Uk)((0,a.zw)(t.title||"[No Title]")+" ",1),s.status?.playingPos!==c||"play"!==s.status?.state&&"pause"!==s.status?.state?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",{key:0,class:(0,a.C_)(["playing-icon",{paused:"pause"===s.status?.state}])},[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)([...Array(3).keys()],(e=>((0,l.wg)(),(0,l.iD)("span",{key:e})))),128))],2))]),t.artist?((0,l.wg)(),(0,l.iD)("div",xe,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist})),["prevent"])},null,8,$e)])):(0,l.kq)("",!0),t.album?((0,l.wg)(),(0,l.iD)("div",Te,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist,album:t.album})),["prevent"])},null,8,Pe)])):(0,l.kq)("",!0)]),(0,l._)("div",Se,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,Ae),(0,l._)("span",Re,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:t=>e.$emit("play",{pos:c})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:t=>e.$emit("remove",[...new Set([...n.selectedTracks,c])])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:t=>e.$emit("info",s.tracks[c])},null,8,["onClick"])])),_:2},1024)])])],42,_e)))),128))],512)]))}const qe={class:"header"};function Me(e,t,s,a,i,c){return(0,l.wg)(),(0,l.iD)("div",qe,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}var Le={name:"Header"};const We=(0,X.Z)(Le,[["render",Me],["__scopeId","data-v-8beb55c6"]]);var ze=We,Oe=s(5771),je=s(9015),Ee={name:"Playlist",mixins:[ae.Z],components:{DropdownItem:je.Z,Dropdown:Oe.Z,MusicHeader:ze,Loading:se.Z},emits:["play","clear","add","remove","swap","search","move","save","info","refresh-status","select-device"],props:{tracks:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},status:{type:Object,default:()=>{}},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectionMode:!1,selectedTracks:[],filter:"",infoTrack:null,sourcePos:null,targetPos:null}},computed:{selectedTracksSet(){return new Set(this.selectedTracks)},displayedTracks(){const e=[...Array(this.tracks.length).keys()];if(!this.filter?.length)return new Set(e);const t=this,s=(t.filter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.tracks[e];return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{onTrackClick(e,t){if(e.shiftKey){const e=this.selectedTracks.sort();e.length?te+t))]:t>e[e.length-1]&&(this.selectedTracks=[...this.selectedTracks,...[...Array(t-e[e.length-1]+1).keys()].map((t=>t+e[e.length-1]))]):this.selectedTracks=[t]}else{const s=this.selectedTracks.indexOf(t);this.selectionMode||e.ctrlKey?s>=0?this.selectedTracks.splice(s,1):this.selectedTracks.push(t):this.selectedTracks=s>=0?[]:[t]}},addTrack(){const e=prompt("Item path or URL");e?.length&&this.$emit("add",e)},onTrackDragStart(e){this.sourcePos=e},onTrackDragEnd(){this.$refs.body.querySelectorAll(".track").forEach((e=>e.classList.remove("dragover"))),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("move",{from:this.sourcePos,to:this.targetPos}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver(e){this.targetPos=e;const t=this.$refs.body.querySelectorAll(".track");t.forEach((e=>e.classList.remove("dragover"))),[...t][e].classList.add("dragover")},playlistSave(){const e=prompt("Playlist name");e?.length&&this.$emit("save",e)}},mounted(){const e=this;this.$watch((()=>e.status?.playingPos),(t=>{if(null==t)return;const s=[...e.$refs.body.querySelectorAll(".track")][t],l=s.offsetTop-parseFloat(getComputedStyle(e.$refs.header.$el).height);e.$refs.body.scrollTo(0,l)}))}};const Fe=(0,X.Z)(Ee,[["render",Ie],["__scopeId","data-v-ee1cc6f4"]]);var Ve=Fe;const Ze=e=>((0,l.dD)("data-v-c01651b6"),e=e(),(0,l.Cn)(),e),Ne={key:1,class:"editor-container fade-in"},He={class:"header-container"},Ke={class:"col-8 filter"},Ue=Ze((()=>(0,l._)("i",{class:"fas fa-arrow-left"},null,-1))),Ye=[Ue],Be={class:"search-box"},Qe={class:"buttons pull-right"},Ge=Ze((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),Je=[Ge],Xe=Ze((()=>(0,l._)("i",{class:"fas fa-plus"},null,-1))),et=[Xe],tt={class:"editor",ref:"editor"},st={key:0,class:"no-content"},lt=["onDragstart","onDragend","onDragover","onClick","onDblclick"],at={class:"col-10"},it={class:"title"},ct={key:0,class:"artist"},nt=["href","textContent","onClick"],ot={key:1,class:"album"},rt=["href","textContent","onClick"],dt={class:"col-2 right-side"},ut=["textContent"],pt={class:"actions"},yt={key:2,class:"playlists fade-in"},kt={class:"header-container"},ht={class:"col-8 filter"},ft={class:"col-4 buttons"},mt=Ze((()=>(0,l._)("i",{class:"fa fa-sync"},null,-1))),vt=[mt],gt={class:"body",ref:"body"},wt={key:0,class:"no-content"},Ct=["onClick","onDblclick"],_t={class:"col-10"},bt=["textContent"],Dt={class:"col-2 right-side"},xt={class:"actions"};function $t(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("DropdownItem"),u=(0,l.up)("Dropdown"),p=(0,l.up)("MusicHeader");return s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):null!=s.editedPlaylist?((0,l.wg)(),(0,l.iD)("div",Ne,[(0,l._)("div",He,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",Ke,[(0,l._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=t=>e.$emit("playlist-edit",null))},Ye),(0,l._)("label",Be,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[1]||(t[1]=e=>n.trackFilter=e)},null,512),[[i.nr,n.trackFilter]])])]),(0,l._)("div",Qe,[Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:1,title:"Refresh status",onClick:t[2]||(t[2]=t=>e.$emit("refresh-status"))},Je)):(0,l.kq)("",!0),(0,l._)("button",{class:"add-btn",title:"Add track",onClick:t[3]||(t[3]=(...e)=>o.addTrack&&o.addTrack(...e))},et)])])),_:1},512)]),(0,l._)("div",tt,[s.tracks?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",st," No tracks found ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.tracks,((t,c)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:o.selectedTracksSet.has(c),active:e.status?.playingPos===c,hidden:!o.displayedTracks.has(c)}]),draggable:"true",key:c,onDragstart:e=>o.onTrackDragStart(c),onDragend:e=>o.onTrackDragEnd(c),onDragover:e=>o.onTrackDragOver(c),onClick:e=>o.onTrackClick(e,c),onDblclick:t=>e.$emit("load-track",{pos:c,play:!0})},[(0,l._)("div",at,[(0,l._)("div",it,(0,a.zw)(t.title||"[No Title]"),1),t.artist?((0,l.wg)(),(0,l.iD)("div",ct,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.artist),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist})),["prevent"])},null,8,nt)])):(0,l.kq)("",!0),t.album?((0,l.wg)(),(0,l.iD)("div",ot,[(0,l._)("a",{href:e.$route.fullPath,textContent:(0,a.zw)(t.album),onClick:(0,i.iM)((s=>e.$emit("search",{artist:t.artist,album:t.album})),["prevent"])},null,8,rt)])):(0,l.kq)("",!0)]),(0,l._)("div",dt,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time?e.convertTime(t.time):"-:--")},null,8,ut),(0,l._)("span",pt,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:t=>e.$emit("load-track",{pos:c,play:!0})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to queue","icon-class":"fa fa-plus",onClick:t=>e.$emit("load-track",{pos:c,play:!1})},null,8,["onClick"]),(0,l.Wm)(d,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:t=>e.$emit("remove-track",[...new Set([...n.selectedTracks,c])])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Info","icon-class":"fa fa-info",onClick:(0,i.iM)((t=>e.$emit("info",s.tracks[c])),["stop"])},null,8,["onClick"])])),_:2},1024)])])],42,lt)))),128))],512)])):((0,l.wg)(),(0,l.iD)("div",yt,[(0,l._)("div",kt,[(0,l.Wm)(p,{ref:"header"},{default:(0,l.w5)((()=>[(0,l._)("div",ht,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[4]||(t[4]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])]),(0,l._)("div",ft,[Object.keys(s.devices||{}).length?((0,l.wg)(),(0,l.j4)(u,{key:0,title:"Players","icon-class":"fa fa-volume-up"},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.devices,((t,i)=>((0,l.wg)(),(0,l.j4)(d,{key:i,textContent:(0,a.zw)(t.name),"item-class":{active:s.activeDevice===i,selected:s.selectedDevice===i},"icon-class":"fa fa-volume-up",onClick:t=>e.$emit("select-device",i)},null,8,["textContent","item-class","onClick"])))),128))])),_:1})):(0,l.kq)("",!0),null!=s.devices?((0,l.wg)(),(0,l.iD)("button",{key:1,title:"Refresh status",onClick:t[5]||(t[5]=t=>e.$emit("refresh-status"))},vt)):(0,l.kq)("",!0)])])),_:1},512)]),(0,l._)("div",gt,[s.playlists?.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",wt," No playlists found ")),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.playlists,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row playlist",{hidden:!o.displayedPlaylists.has(s)}]),key:s,onClick:t=>e.$emit("playlist-edit",s),onDblclick:t=>e.$emit("load",s)},[(0,l._)("div",_t,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.name||"[No Name]")},null,8,bt)]),(0,l._)("div",Dt,[(0,l._)("span",xt,[(0,l.Wm)(u,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{text:"Play","icon-class":"fa fa-play",onClick:(0,i.iM)((t=>e.$emit("play",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Load","icon-class":"fa fa-list-ul",onClick:(0,i.iM)((t=>e.$emit("load",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Edit","icon-class":"fa fa-edit",onClick:(0,i.iM)((t=>e.$emit("playlist-edit",s)),["stop"])},null,8,["onClick"]),(0,l.Wm)(d,{text:"Remove","icon-class":"fa fa-trash",onClick:(0,i.iM)((t=>e.$emit("remove",s)),["stop"])},null,8,["onClick"])])),_:2},1024)])])],42,Ct)))),128))],512)]))}var Tt={name:"Playlists",mixins:[ae.Z],components:{DropdownItem:je.Z,Dropdown:Oe.Z,MusicHeader:ze,Loading:se.Z},emits:["play","load","remove","playlist-edit","search","remove-track","load-track","info","playlist-add","add-to-playlist","track-move","refresh-status","select-device"],props:{playlists:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},tracks:{type:Array,default:()=>[]},editedPlaylist:{type:Number},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedTracks:[],filter:"",trackFilter:"",sourcePos:null,targetPos:null}},computed:{selectedTracksSet(){return new Set(this.selectedTracks)},displayedPlaylists(){const e=[...Array(this.playlists.length).keys()];if(!this.filter?.length)return new Set(e);const t=this,s=(t.filter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.playlists[e];return(t?.name||"").toLowerCase().indexOf(s)>=0})))},displayedTracks(){const e=[...Array(this.tracks.length).keys()];if(!this.trackFilter?.length)return new Set(e);const t=this,s=(t.trackFilter||"").toLowerCase();return new Set(e.filter((e=>{const t=this.tracks[e];return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{onTrackClick(e,t){if(e.shiftKey){const e=this.selectedTracks.sort();e.length?te+t))]:t>e[e.length-1]&&(this.selectedTracks=[...this.selectedTracks,...[...Array(t-e[e.length-1]+1).keys()].map((t=>t+e[e.length-1]))]):this.selectedTracks=[t]}else{const s=this.selectedTracks.indexOf(t);e.ctrlKey?s>=0?this.selectedTracks.splice(s,1):this.selectedTracks.push(t):this.selectedTracks=s>=0?[]:[t]}},addTrack(){const e=prompt("Track path or URL");e?.length&&this.$emit("playlist-add",e)},onTrackDragStart(e){this.sourcePos=e},onTrackDragEnd(){this.$refs.editor.querySelectorAll(".track").forEach((e=>e.classList.remove("dragover"))),null!=this.sourcePos&&null!=this.targetPos&&this.sourcePos!==this.targetPos&&(this.$emit("track-move",{from:this.sourcePos,to:this.targetPos,playlist:this.editedPlaylist}),this.sourcePos=null,this.targetPos=null)},onTrackDragOver(e){this.targetPos=e;const t=this.$refs.editor.querySelectorAll(".track");t.forEach((e=>e.classList.remove("dragover"))),[...t][e].classList.add("dragover")}}};const Pt=(0,X.Z)(Tt,[["render",$t],["__scopeId","data-v-c01651b6"]]);var St=Pt;const At=e=>((0,l.dD)("data-v-6fe42598"),e=e(),(0,l.Cn)(),e),Rt={class:"search-form"},It={class:"row"},qt={class:"row"},Mt={class:"row"},Lt={class:"row"},Wt=At((()=>(0,l._)("i",{class:"icon fa fa-times"},null,-1))),zt=At((()=>(0,l._)("span",{class:"btn-title"},"Clear",-1))),Ot=[Wt,zt],jt=At((()=>(0,l._)("button",{type:"submit"},[(0,l._)("i",{class:"icon fa fa-search"}),(0,l._)("span",{class:"btn-title"},"Search")],-1))),Et={class:"search-box"},Ft={class:"buttons"},Vt=At((()=>(0,l._)("i",{class:"icon fa fa-times"},null,-1))),Zt=At((()=>(0,l._)("span",{class:"btn-title"},"Clear",-1))),Nt=[Vt,Zt],Ht={class:"results"},Kt=["onClick"],Ut={class:"col-10"},Yt={class:"title"},Bt=["textContent"],Qt=["textContent"],Gt={class:"col-2 right-side"},Jt=["textContent"],Xt={class:"actions"};function es(e,t,s,c,n,o){const r=(0,l.up)("FormFooter"),d=(0,l.up)("MusicHeader"),u=(0,l.up)("DropdownItem"),p=(0,l.up)("Dropdown");return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["search fade-in",{"form-collapsed":o.formCollapsed}])},[o.formCollapsed?((0,l.wg)(),(0,l.j4)(d,{key:1},{default:(0,l.w5)((()=>[(0,l._)("label",Et,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[6]||(t[6]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])]),(0,l._)("span",Ft,[(0,l._)("button",{onClick:t[7]||(t[7]=(...e)=>o.clear&&o.clear(...e))},Nt)])])),_:1})):((0,l.wg)(),(0,l.iD)("div",{key:0,class:"form-container",onSubmit:t[5]||(t[5]=(0,i.iM)((t=>e.$emit("search",o.filteredQuery)),["prevent"]))},[(0,l._)("form",Rt,[(0,l._)("div",It,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Any","onUpdate:modelValue":t[0]||(t[0]=e=>n.query.any=e)},null,512),[[i.nr,n.query.any]])])]),(0,l._)("div",qt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Artist","onUpdate:modelValue":t[1]||(t[1]=e=>n.query.artist=e)},null,512),[[i.nr,n.query.artist]])])]),(0,l._)("div",Mt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[2]||(t[2]=e=>n.query.title=e)},null,512),[[i.nr,n.query.title]])])]),(0,l._)("div",Lt,[(0,l._)("label",null,[(0,l.wy)((0,l._)("input",{type:"text",placeholder:"Album","onUpdate:modelValue":t[3]||(t[3]=e=>n.query.album=e)},null,512),[[i.nr,n.query.album]])])]),(0,l.Wm)(r,null,{default:(0,l.w5)((()=>[(0,l._)("button",{onClick:t[4]||(t[4]=(...e)=>o.clear&&o.clear(...e))},Ot),jt])),_:1})])],32)),(0,l._)("div",Ht,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.results,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:n.selectedResults.has(s),hidden:!o.displayedTracks.has(s)}]),key:s,onClick:e=>o.resultClick(s,e)},[(0,l._)("div",Ut,[(0,l._)("div",Yt,(0,a.zw)(t.title||"[No Title]"),1),t.artist?.length?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Bt)):(0,l.kq)("",!0),t.album?.length?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,Qt)):(0,l.kq)("",!0)]),(0,l._)("div",Gt,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Jt),(0,l._)("span",Xt,[(0,l.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{text:"Play","icon-class":"fa fa-play",onClick:e=>o.play(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to queue","icon-class":"fa fa-plus",onClick:e=>o.load(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Info","icon-class":"fa fa-info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1024)])])],10,Kt)))),128))])],2)}var ts={name:"Search",components:{Dropdown:Oe.Z,DropdownItem:je.Z,FormFooter:te,MusicHeader:ze},mixins:[ae.Z],emits:["search","clear","play","load","add-to-playlist","info","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{formCollapsed(){return this.results?.length>0},filteredQuery(){return Object.entries(this.query).filter((e=>e[1]?.length)).reduce(((e,[t,s])=>(e[t]=s,e)),{})},displayedTracks(){return new Set([...Array(this.results?.length||0).keys()].filter((e=>{const t=this.results[e];if(!this.filter?.length)return t;const s=this.filter.toLowerCase();return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0})))}},methods:{clear(){this.$emit("clear"),this.selectedResults=new Set},resultClick(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){const t=[...this.selectedResults],s=Math.min(Math.min(t),e),l=Math.max(Math.max(t),e);this.selectedResults=new Set([...Array(l-s+1).keys()].map((e=>e+s)))}}else t.ctrlKey||(this.selectedResults=new Set),this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e)},play(e){this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((e=>{this.$emit("load",e)}))},load(e){this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((e=>{this.$emit("load",this.results[e])}))}}};const ss=(0,X.Z)(ts,[["render",es],["__scopeId","data-v-6fe42598"]]);var ls=ss;const as=e=>((0,l.dD)("data-v-c3245ea8"),e=e(),(0,l.Cn)(),e),is={class:"library fade-in"},cs={class:"search-box"},ns={class:"results"},os=as((()=>(0,l._)("div",{class:"icon-container"},[(0,l._)("i",{class:"icon fa fa-folder"})],-1))),rs=as((()=>(0,l._)("div",{class:"result-container"},[(0,l._)("div",{class:"title"},"..")],-1))),ds=[os,rs],us=["onClick"],ps={class:"col-10 left-side"},ys={class:"icon-container"},ks={key:0,class:"icon fa fa-folder"},hs={key:1,class:"icon fa fa-music"},fs={class:"info"},ms={class:"title"},vs=["textContent"],gs=["textContent"],ws={class:"artist-album"},Cs=["textContent"],_s=["textContent"],bs={class:"col-2 right-side"},Ds=["textContent"],xs={class:"actions"};function $s(e,t,s,c,n,o){const r=(0,l.up)("Loading"),d=(0,l.up)("MusicHeader"),u=(0,l.up)("DropdownItem"),p=(0,l.up)("Dropdown");return(0,l.wg)(),(0,l.iD)("div",is,[s.loading?((0,l.wg)(),(0,l.j4)(r,{key:0})):(0,l.kq)("",!0),(0,l.Wm)(d,null,{default:(0,l.w5)((()=>[(0,l._)("label",cs,[(0,l.wy)((0,l._)("input",{type:"search",placeholder:"Filter","onUpdate:modelValue":t[0]||(t[0]=e=>n.filter=e)},null,512),[[i.nr,n.filter]])])])),_:1}),(0,l._)("div",ns,["/"!==s.path?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"row track back-track",onClick:t[1]||(t[1]=(...e)=>o.back&&o.back(...e))},ds)):(0,l.kq)("",!0),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(s.results,((t,s)=>((0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["row track",{selected:n.selectedResults.has(s),hidden:!o.displayedResults.has(s)}]),key:s,onClick:e=>o.resultClick(s,e)},[(0,l._)("div",ps,[(0,l._)("div",ys,[t.directory?((0,l.wg)(),(0,l.iD)("i",ks)):t.file?((0,l.wg)(),(0,l.iD)("i",hs)):(0,l.kq)("",!0)]),(0,l._)("div",fs,[(0,l._)("div",ms,[t.directory?((0,l.wg)(),(0,l.iD)("span",{key:0,textContent:(0,a.zw)(t.directory.split("/").pop())},null,8,vs)):t.title?((0,l.wg)(),(0,l.iD)("span",{key:1,textContent:(0,a.zw)(t.title)},null,8,gs)):(0,l.kq)("",!0)]),(0,l._)("div",ws,[t.artist?.length?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"artist",textContent:(0,a.zw)(t.artist)},null,8,Cs)):(0,l.kq)("",!0),t.album?.length?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"album",textContent:(0,a.zw)(t.album)},null,8,_s)):(0,l.kq)("",!0)])])]),(0,l._)("div",bs,[(0,l._)("span",{class:"duration",textContent:(0,a.zw)(t.time&&parseInt(t.time)?e.convertTime(t.time):"-:--")},null,8,Ds),(0,l._)("span",xs,[(0,l.Wm)(p,{title:"Actions","icon-class":"fa fa-ellipsis-h"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{text:"Play","icon-class":"fa fa-play",onClick:e=>o.play(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to queue","icon-class":"fa fa-plus",onClick:e=>o.load(s)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Add to playlist","icon-class":"fa fa-list-ul",onClick:s=>e.$emit("add-to-playlist",t)},null,8,["onClick"]),(0,l.Wm)(u,{text:"Info","icon-class":"fa fa-info",onClick:s=>e.$emit("info",t)},null,8,["onClick"])])),_:2},1024)])])],10,us)))),128))])])}var Ts={name:"Library",components:{Dropdown:Oe.Z,DropdownItem:je.Z,MusicHeader:ze,Loading:se.Z},mixins:[ae.Z],emits:["search","play","load","add-to-playlist","info","cd","refresh-status","select-device"],props:{loading:{type:Boolean,default:!1},results:{type:Array},path:{type:String},devices:{type:Object},selectedDevice:{type:String},activeDevice:{type:String}},data(){return{selectedResults:new Set,filter:"",query:{any:"",artist:"",title:"",album:""}}},computed:{displayedResults(){return new Set([...Array(this.results?.length||0).keys()].filter((e=>{const t=this.results[e];if(!this.filter?.length)return t;const s=this.filter.toLowerCase();return(t?.artist||"").toLowerCase().indexOf(s)>=0||(t?.title||"").toLowerCase().indexOf(s)>=0||(t?.album||"").toLowerCase().indexOf(s)>=0||(t?.directory||"").toLowerCase().indexOf(s)>=0})))}},methods:{resultClick(e,t){if(t.shiftKey){if(this.selectedResults.size>0&&!this.selectedResults.has(e)){const t=[...this.selectedResults],s=Math.min(Math.min(t),e),l=Math.max(Math.max(t),e);this.selectedResults=new Set([...Array(l-s+1).keys()].map((e=>e+s)))}}else t.ctrlKey?this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e):this.results[e].directory?this.$emit("cd",this.results[e].directory):(this.selectedResults=new Set,this.selectedResults.has(e)?this.selectedResults.delete(e):this.selectedResults.add(e))},play(e){this.$emit("play",this.results[e]),this.selectedResults.size&&this.selectedResults.forEach((e=>{this.$emit("load",e)}))},load(e){this.selectedResults.has(e)||this.selectedResults.add(e),this.selectedResults.forEach((e=>{this.$emit("load",this.results[e])}))},back(){const e=this.path.split("/");this.$emit("cd",e.slice(0,e.length-1).join("/"))}}};const Ps=(0,X.Z)(Ts,[["render",$s],["__scopeId","data-v-c3245ea8"]]);var Ss=Ps,As=s(6813),Rs={name:"Music",emits:["play","pause","stop","clear","previous","next","set-volume","seek","consume","repeat","random","status-update","playlist-update","new-playing-track","add-to-tracklist","remove-from-tracklist","swap-tracks","play-playlist","load-playlist","remove-playlist","tracklist-move","tracklist-save","add-to-tracklist-from-edited-playlist","remove-from-playlist","info","playlist-add","add-to-playlist","playlist-track-move","search","search-clear","cd","refresh-status","select-device"],mixins:[As.Z,ae.Z],components:{Loading:se.Z,Modal:le.Z,Nav:de,MediaView:ie.Z,Playlist:Ve,Playlists:St,FormFooter:te,Search:ls,Library:Ss},props:{pluginName:{type:String,required:!0},loading:{type:Boolean,default:!1},config:{type:Object,default:()=>{}},tracks:{type:Array,default:()=>[]},editedPlaylistTracks:{type:Array,default:()=>[]},playlists:{type:Array,default:()=>[]},status:{type:Object,default:()=>{}},editedPlaylist:{type:Number},trackInfo:{type:String},searchResults:{type:Array},libraryResults:{type:Array},path:{type:String},devices:{type:Object},activeDevice:{type:String},selectedDevice:{type:String}},data(){return{selectedView:"playing",selectedPlaylists:[],addToPlaylistTrack:null,playlistFilter:""}},computed:{track(){return null==this.status?.playingPos?null:this.tracks[this.status.playingPos]}},methods:{async onStatusEvent(e){e.plugin_name===this.pluginName&&this.$emit("status-update",e)},async onPlaylistEvent(e){e.plugin_name===this.pluginName&&this.$emit("playlist-update",e)},async onNewPlayingTrack(e){e.plugin_name===this.pluginName&&(this.notify({html:`${e.track?.artist}
${e.track?.title}`,image:{iconClass:"fa fa-play"}}),this.$emit("new-playing-track",e))},async openAddToPlaylist(e){this.addToPlaylistTrack=e,this.$refs.playlistsModal.isVisible=!0},async addToPlaylist(){this.$emit("add-to-playlist",{track:this.addToPlaylistTrack,playlists:[...Array(this.selectedPlaylists.length).keys()].filter((e=>this.selectedPlaylists[e]))}),this.$refs.playlistsModal.isVisible=!1,this.addToPlaylistTrack=null,this.playlistFilter=""},async search(e){this.$emit("search",e),this.$refs.trackInfo.isVisible=!1,this.selectedView="search"},selectDevice(e){this.$emit("select-device",e)},refreshStatus(){this.$emit("refresh-status")}},mounted(){this.subscribe(this.onStatusEvent,"on-status-update","platypush.message.event.music.MusicPlayEvent","platypush.message.event.music.MusicPauseEvent","platypush.message.event.music.MusicStopEvent","platypush.message.event.music.SeekChangeEvent","platypush.message.event.music.VolumeChangeEvent","platypush.message.event.music.MuteChangeEvent","platypush.message.event.music.PlaybackRepeatModeChangeEvent","platypush.message.event.music.PlaybackRandomModeChangeEvent","platypush.message.event.music.PlaybackConsumeModeChangeEvent","platypush.message.event.music.PlaybackSingleModeChangeEvent"),this.subscribe(this.onPlaylistEvent,"on-playlist-update","platypush.message.event.music.PlaylistChangeEvent"),this.subscribe(this.onNewPlayingTrack,"on-new-playing-track","platypush.message.event.music.NewPlayingTrackEvent"),this.$watch((()=>this.trackInfo),(e=>{null!=e&&(this.$refs.trackInfo.isVisible=!0)}))},unmounted(){this.unsubscribe("on-status-update"),this.unsubscribe("on-playlist-update")}};const Is=(0,X.Z)(Rs,[["render",B],["__scopeId","data-v-2cd8b8d5"]]);var qs=Is}}]); +//# sourceMappingURL=6833.135ef1e4.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js.map b/platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js.map rename to platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js.map index c02105cb1..fa960b17c 100644 --- a/platypush/backend/http/webapp/dist/static/js/6833.7d7776ab.js.map +++ b/platypush/backend/http/webapp/dist/static/js/6833.135ef1e4.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/6833.7d7776ab.js","mappings":"iQAQWA,MAAM,iB,GAINA,MAAM,kB,GAoCVA,MAAM,wB,SAEFA,MAAM,sB,SACJA,MAAM,Y,UACT,OAAkC,OAA7BA,MAAM,cAAa,QAAI,K,2BAIzBA,MAAM,c,UACT,OAAoC,OAA/BA,MAAM,cAAa,UAAM,K,GACzBA,MAAM,e,kCAKRA,MAAM,mB,UACT,OAAmC,OAA9BA,MAAM,cAAa,SAAK,K,2BAI1BA,MAAM,a,UACT,OAAmC,OAA9BA,MAAM,cAAa,SAAK,K,GACxBA,MAAM,e,kCAMRA,MAAM,Y,UACT,OAAkC,OAA7BA,MAAM,cAAa,QAAI,K,2BAIzBA,MAAM,gB,UACT,OAAsC,OAAjCA,MAAM,cAAa,YAAQ,K,2BAI7BA,MAAM,a,UACT,OAAmC,OAA9BA,MAAM,cAAa,SAAK,K,2BAI1BA,MAAM,Y,UACT,OAA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O,IAAMvB,KAAK5E,YAAYmK,IACrB,MAARA,IACFvF,KAAKa,MAAMzF,UAAU8J,WAAY,EAAjC,GAEL,EAEDM,YACExF,KAAKyF,YAAY,oBACjBzF,KAAKyF,YAAY,qBAClB,GerUH,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Music/Index.vue","webpack://platypush/./src/components/elements/FormFooter.vue","webpack://platypush/./src/components/elements/FormFooter.vue?94ab","webpack://platypush/./src/components/panels/Music/Nav.vue","webpack://platypush/./src/components/panels/Music/Nav.vue?b815","webpack://platypush/./src/components/panels/Music/Playlist.vue","webpack://platypush/./src/components/panels/Music/Header.vue","webpack://platypush/./src/components/panels/Music/Header.vue?7826","webpack://platypush/./src/components/panels/Music/Playlist.vue?b3da","webpack://platypush/./src/components/panels/Music/Playlists.vue","webpack://platypush/./src/components/panels/Music/Playlists.vue?6fa1","webpack://platypush/./src/components/panels/Music/Search.vue","webpack://platypush/./src/components/panels/Music/Search.vue?7e62","webpack://platypush/./src/components/panels/Music/Library.vue","webpack://platypush/./src/components/panels/Music/Library.vue?ee0e","webpack://platypush/./src/components/panels/Music/Index.vue?aab7"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./FormFooter.vue?vue&type=template&id=2495ce8a&scoped=true\"\nimport script from \"./FormFooter.vue?vue&type=script&lang=js\"\nexport * from \"./FormFooter.vue?vue&type=script&lang=js\"\n\nimport \"./FormFooter.vue?vue&type=style&index=0&id=2495ce8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2495ce8a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=edee6494&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=edee6494&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-edee6494\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=8beb55c6&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=8beb55c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8beb55c6\"]])\n\nexport default __exports__","import { render } from \"./Playlist.vue?vue&type=template&id=ee1cc6f4&scoped=true\"\nimport script from \"./Playlist.vue?vue&type=script&lang=js\"\nexport * from \"./Playlist.vue?vue&type=script&lang=js\"\n\nimport \"./Playlist.vue?vue&type=style&index=0&id=ee1cc6f4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ee1cc6f4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Playlists.vue?vue&type=template&id=c01651b6&scoped=true\"\nimport script from \"./Playlists.vue?vue&type=script&lang=js\"\nexport * from \"./Playlists.vue?vue&type=script&lang=js\"\n\nimport \"./Playlists.vue?vue&type=style&index=0&id=c01651b6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c01651b6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Search.vue?vue&type=template&id=6fe42598&scoped=true\"\nimport script from \"./Search.vue?vue&type=script&lang=js\"\nexport * from \"./Search.vue?vue&type=script&lang=js\"\n\nimport \"./Search.vue?vue&type=style&index=0&id=6fe42598&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fe42598\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Library.vue?vue&type=template&id=c3245ea8&scoped=true\"\nimport script from \"./Library.vue?vue&type=script&lang=js\"\nexport * from \"./Library.vue?vue&type=script&lang=js\"\n\nimport \"./Library.vue?vue&type=style&index=0&id=c3245ea8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c3245ea8\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=2cd8b8d5&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=2cd8b8d5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2cd8b8d5\"]])\n\nexport default __exports__"],"names":["class","loading","pluginName","status","track","$emit","$event","search","selectedView","tracks","devices","selectedDevice","activeDevice","openAddToPlaylist","refreshStatus","selectDevice","playlists","editedPlaylist","editedPlaylistTracks","results","searchResults","libraryResults","path","title","ref","trackInfo","file","artist","href","$route","fullPath","album","date","time","disc","url","uri","target","addToPlaylistTrack","selectedPlaylists","Array","length","keys","map","type","placeholder","playlistFilter","playlist","i","name","toLowerCase","indexOf","key","checked","addToPlaylist","__exports__","views","view","displayName","iconClass","emits","props","String","collapsed","Boolean","default","Object","playing","library","filter","text","disabled","playlistSave","selectedTracks","selectionMode","Set","addTrack","device","id","selectedTracksSet","has","playingPos","displayedTracks","onTrackDragStart","onTrackDragEnd","onTrackDragOver","draggable","onTrackClick","state","convertTime","mixins","components","DropdownItem","Dropdown","MusicHeader","Loading","data","infoTrack","sourcePos","targetPos","computed","this","positions","self","pos","methods","event","shiftKey","sort","idx","ctrlKey","splice","push","prompt","$refs","body","querySelectorAll","forEach","classList","remove","from","to","add","mounted","$watch","trackElement","offset","offsetTop","parseFloat","getComputedStyle","header","$el","height","scrollTo","trackFilter","displayedPlaylists","Number","editor","formCollapsed","clear","filteredQuery","query","any","result","selectedResults","resultClick","parseInt","play","load","FormFooter","entries","o","reduce","obj","k","v","size","min","Math","max","delete","back","displayedResults","directory","split","pop","slice","join","Modal","Nav","MediaView","Playlist","Playlists","Search","Library","required","config","async","plugin_name","notify","html","image","playlistsModal","isVisible","subscribe","onStatusEvent","onPlaylistEvent","onNewPlayingTrack","info","unmounted","unsubscribe","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/6833.135ef1e4.js","mappings":"iQAQWA,MAAM,iB,GAINA,MAAM,kB,GAoCVA,MAAM,wB,SAEFA,MAAM,sB,SACJA,MAAM,Y,UACT,OAAkC,OAA7BA,MAAM,cAAa,QAAI,K,2BAIzBA,MAAM,c,UACT,OAAoC,OAA/BA,MAAM,cAAa,UAAM,K,GACzBA,MAAM,e,kCAKRA,MAAM,mB,UACT,OAAmC,OAA9BA,MAAM,cAAa,SAAK,K,2BAI1BA,MAAM,a,UACT,OAAmC,OAA9BA,MAAM,cAAa,SAAK,K,GACxBA,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AAKmF,UAAUnF,KAAKoF,cAAe,mBAC/B,+CACA,gDACA,+CACA,gDACA,kDACA,gDACA,8DACA,8DACA,+DACA,+DAGJpF,KAAKmF,UAAUnF,KAAKqF,gBAAiB,qBACjC,qDAEJrF,KAAKmF,UAAUnF,KAAKsF,kBAAmB,uBACnC,sDAEJtF,KAAKuB,QAAO,IAAMvB,KAAK5E,YAAYmK,IACrB,MAARA,IACFvF,KAAKa,MAAMzF,UAAU8J,WAAY,EAAjC,GAEL,EAEDM,YACExF,KAAKyF,YAAY,oBACjBzF,KAAKyF,YAAY,qBAClB,GerUH,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Music/Index.vue","webpack://platypush/./src/components/elements/FormFooter.vue","webpack://platypush/./src/components/elements/FormFooter.vue?94ab","webpack://platypush/./src/components/panels/Music/Nav.vue","webpack://platypush/./src/components/panels/Music/Nav.vue?b815","webpack://platypush/./src/components/panels/Music/Playlist.vue","webpack://platypush/./src/components/panels/Music/Header.vue","webpack://platypush/./src/components/panels/Music/Header.vue?7826","webpack://platypush/./src/components/panels/Music/Playlist.vue?b3da","webpack://platypush/./src/components/panels/Music/Playlists.vue","webpack://platypush/./src/components/panels/Music/Playlists.vue?6fa1","webpack://platypush/./src/components/panels/Music/Search.vue","webpack://platypush/./src/components/panels/Music/Search.vue?7e62","webpack://platypush/./src/components/panels/Music/Library.vue","webpack://platypush/./src/components/panels/Music/Library.vue?ee0e","webpack://platypush/./src/components/panels/Music/Index.vue?aab7"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./FormFooter.vue?vue&type=template&id=2495ce8a&scoped=true\"\nimport script from \"./FormFooter.vue?vue&type=script&lang=js\"\nexport * from \"./FormFooter.vue?vue&type=script&lang=js\"\n\nimport \"./FormFooter.vue?vue&type=style&index=0&id=2495ce8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2495ce8a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=edee6494&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=edee6494&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-edee6494\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=8beb55c6&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=8beb55c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8beb55c6\"]])\n\nexport default __exports__","import { render } from \"./Playlist.vue?vue&type=template&id=ee1cc6f4&scoped=true\"\nimport script from \"./Playlist.vue?vue&type=script&lang=js\"\nexport * from \"./Playlist.vue?vue&type=script&lang=js\"\n\nimport \"./Playlist.vue?vue&type=style&index=0&id=ee1cc6f4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ee1cc6f4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Playlists.vue?vue&type=template&id=c01651b6&scoped=true\"\nimport script from \"./Playlists.vue?vue&type=script&lang=js\"\nexport * from \"./Playlists.vue?vue&type=script&lang=js\"\n\nimport \"./Playlists.vue?vue&type=style&index=0&id=c01651b6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c01651b6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Search.vue?vue&type=template&id=6fe42598&scoped=true\"\nimport script from \"./Search.vue?vue&type=script&lang=js\"\nexport * from \"./Search.vue?vue&type=script&lang=js\"\n\nimport \"./Search.vue?vue&type=style&index=0&id=6fe42598&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fe42598\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Library.vue?vue&type=template&id=c3245ea8&scoped=true\"\nimport script from \"./Library.vue?vue&type=script&lang=js\"\nexport * from \"./Library.vue?vue&type=script&lang=js\"\n\nimport \"./Library.vue?vue&type=style&index=0&id=c3245ea8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c3245ea8\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=2cd8b8d5&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=2cd8b8d5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2cd8b8d5\"]])\n\nexport default __exports__"],"names":["class","loading","pluginName","status","track","$emit","$event","search","selectedView","tracks","devices","selectedDevice","activeDevice","openAddToPlaylist","refreshStatus","selectDevice","playlists","editedPlaylist","editedPlaylistTracks","results","searchResults","libraryResults","path","title","ref","trackInfo","file","artist","href","$route","fullPath","album","date","time","disc","url","uri","target","addToPlaylistTrack","selectedPlaylists","Array","length","keys","map","type","placeholder","playlistFilter","playlist","i","name","toLowerCase","indexOf","key","checked","addToPlaylist","__exports__","views","view","displayName","iconClass","emits","props","String","collapsed","Boolean","default","Object","playing","library","filter","text","disabled","playlistSave","selectedTracks","selectionMode","Set","addTrack","device","id","selectedTracksSet","has","playingPos","displayedTracks","onTrackDragStart","onTrackDragEnd","onTrackDragOver","draggable","onTrackClick","state","convertTime","mixins","components","DropdownItem","Dropdown","MusicHeader","Loading","data","infoTrack","sourcePos","targetPos","computed","this","positions","self","pos","methods","event","shiftKey","sort","idx","ctrlKey","splice","push","prompt","$refs","body","querySelectorAll","forEach","classList","remove","from","to","add","mounted","$watch","trackElement","offset","offsetTop","parseFloat","getComputedStyle","header","$el","height","scrollTo","trackFilter","displayedPlaylists","Number","editor","formCollapsed","clear","filteredQuery","query","any","result","selectedResults","resultClick","parseInt","play","load","FormFooter","entries","o","reduce","obj","k","v","size","min","Math","max","delete","back","displayedResults","directory","split","pop","slice","join","Modal","Nav","MediaView","Playlist","Playlists","Search","Library","required","config","async","plugin_name","notify","html","image","playlistsModal","isVisible","subscribe","onStatusEvent","onPlaylistEvent","onNewPlayingTrack","info","unmounted","unsubscribe","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js b/platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js rename to platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js index b14e4ce79..1b840ee58 100644 --- a/platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js +++ b/platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6899],{8337:function(e,t,s){s.d(t,{Z:function(){return i}});var n=s(6813),a={name:"Utils",mixins:[n.Z],computed:{audioExtensions(){return new Set(["3gp","aa","aac","aax","act","aiff","amr","ape","au","awb","dct","dss","dvf","flac","gsm","iklax","ivs","m4a","m4b","m4p","mmf","mp3","mpc","msv","nmf","nsf","ogg,","opus","ra,","raw","sln","tta","vox","wav","wma","wv","webm","8svx"])},videoExtensions(){return new Set(["webm","mkv","flv","flv","vob","ogv","ogg","drc","gif","gifv","mng","avi","mts","m2ts","mov","qt","wmv","yuv","rm","rmvb","asf","amv","mp4","m4p","m4v","mpg","mp2","mpeg","mpe","mpv","mpg","mpeg","m2v","m4v","svi","3gp","3g2","mxf","roq","nsv","flv","f4v","f4p","f4a","f4b"])},mediaExtensions(){return new Set([...this.videoExtensions,...this.audioExtensions])}},methods:{convertTime(e){e=parseFloat(e);const t={};t.h=""+parseInt(e/3600),t.m=""+parseInt(e/60-60*t.h),t.s=""+parseInt(e-(3600*t.h+60*t.m));for(const n of["m","s"])parseInt(t[n])<10&&(t[n]="0"+t[n]);const s=[];return parseInt(t.h)&&s.push(t.h),s.push(t.m,t.s),s.join(":")},async startStreaming(e,t=!1){let s=e,n=null;e instanceof Object?(s=e.url,n=e.subtitles):e={url:s};const a=await this.request("media.start_streaming",{media:s,subtitles:n,download:t});return{...e,...a}},async stopStreaming(e){await this.request("media.stop_streaming",{media_id:e})}}};const r=a;var i=r},6899:function(e,t,s){s.d(t,{Z:function(){return k}});var n=s(6252);const a={class:"torrent-container"},r={class:"header-container"},i={class:"view-container"};function l(e,t,s,l,o,d){const c=(0,n.up)("Header"),m=(0,n.up)("TorrentView");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("div",r,[(0,n.Wm)(c,{onTorrentAdd:t[0]||(t[0]=e=>d.download(e))})]),(0,n._)("div",i,[(0,n.Wm)(m,{"plugin-name":s.pluginName},null,8,["plugin-name"])])])}var o=s(3577),d=s(9963);const c={class:"row"},m={class:"col-s-12 col-m-9 col-l-7 left side"},u={class:"search-box"};function v(e,t,s,a,r,i){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["header",{"with-filter":e.filterVisible}])},[(0,n._)("div",c,[(0,n._)("div",m,[(0,n._)("form",{onSubmit:t[1]||(t[1]=(0,d.iM)((t=>e.$emit("torrent-add",r.torrentURL)),["prevent"]))},[(0,n._)("label",u,[(0,n.wy)((0,n._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[0]||(t[0]=e=>r.torrentURL=e)},null,512),[[d.nr,r.torrentURL]])])],32)])])],2)}var f={name:"Header",emits:["torrent-add"],data(){return{torrentURL:""}}},p=s(3744);const h=(0,p.Z)(f,[["render",v],["__scopeId","data-v-6133f14d"]]);var w=h,g=s(779),_=s(6813),y={name:"Panel",components:{TorrentView:g.Z,Header:w},mixins:[_.Z],props:{pluginName:{type:String,required:!0}},methods:{async download(e){await this.request(`${this.pluginName}.download`,{torrent:e})}}};const C=(0,p.Z)(y,[["render",l],["__scopeId","data-v-1502d8a8"]]);var k=C},779:function(e,t,s){s.d(t,{Z:function(){return ue}});var n=s(6252),a=s(3577);const r=e=>((0,n.dD)("data-v-7eb04934"),e=e(),(0,n.Cn)(),e),i={key:1,class:"torrent-transfers fade-in"},l={key:0,class:"no-content"},o=["onClick"],d={class:"col-8 left side"},c=["textContent"],m={class:"col-2 right side"},u=["textContent"],v={class:"col-2 right side"},f={key:0,class:"modal-body torrent-info"},p={key:0,class:"row"},h=r((()=>(0,n._)("div",{class:"attr"},"Name",-1))),w=["textContent"],g={key:1,class:"row"},_=r((()=>(0,n._)("div",{class:"attr"},"State",-1))),y=["textContent"],C={class:"row"},k=r((()=>(0,n._)("div",{class:"attr"},"Progress",-1))),x=["textContent"],I={class:"row"},b=r((()=>(0,n._)("div",{class:"attr"},"DL rate",-1))),D=["textContent"],T={class:"row"},q=r((()=>(0,n._)("div",{class:"attr"},"UL rate",-1))),z=["textContent"],S={class:"row"},E=r((()=>(0,n._)("div",{class:"attr"},"Size",-1))),Z=["textContent"],$={key:2,class:"row"},R=r((()=>(0,n._)("div",{class:"attr"},"Remaining",-1))),U=["textContent"],L={class:"row"},N=r((()=>(0,n._)("div",{class:"attr"},"URL",-1))),W={class:"value nowrap"},j=["href","textContent"],V={class:"row"},P=r((()=>(0,n._)("div",{class:"attr"},"Peers",-1))),F=["textContent"],M={key:3,class:"row"},H=r((()=>(0,n._)("div",{class:"attr"},"Started",-1))),A=["textContent"],O={key:4,class:"row"},K=r((()=>(0,n._)("div",{class:"attr"},"Finished",-1))),Y=["textContent"],B={key:5,class:"row"},Q=r((()=>(0,n._)("div",{class:"attr"},"Save path",-1))),G=["textContent"],J={key:0,class:"modal-body torrent-files"},X={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function se(e,t,s,r,se,ne){const ae=(0,n.up)("Loading"),re=(0,n.up)("DropdownItem"),ie=(0,n.up)("Dropdown"),le=(0,n.up)("Modal");return se.loading?((0,n.wg)(),(0,n.j4)(ae,{key:0})):((0,n.wg)(),(0,n.iD)("div",i,[Object.keys(se.transfers).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",l,"No torrent transfers in progress")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(se.transfers,((s,r)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,a.C_)(["row item",{selected:se.selectedItem===r}]),key:r,onClick:e=>se.selectedItem=r},[(0,n._)("div",d,[(0,n._)("i",{class:(0,a.C_)(["icon fa",{"fa-check":null!=s.finish_date,"fa-play":!s.finish_date&&"downloading"===s.state,"fa-pause":!s.finish_date&&"paused"===s.state,"fa-stop":!s.finish_date&&"stopped"===s.state}])},null,2),(0,n._)("div",{class:"title",textContent:(0,a.zw)(s.name||s.hash||s.url)},null,8,c)]),(0,n._)("div",m,[(0,n._)("span",{textContent:(0,a.zw)(`${s.progress}%`)},null,8,u)]),(0,n._)("div",v,[(0,n.Wm)(ie,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:e=>se.selectedItem=r},{default:(0,n.w5)((()=>["downloading"===s.state?((0,n.wg)(),(0,n.j4)(re,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:e=>ne.pause(ne.torrentId(s))},null,8,["onClick"])):(0,n.kq)("",!0),"paused"===s.state?((0,n.wg)(),(0,n.j4)(re,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:e=>ne.resume(ne.torrentId(s))},null,8,["onClick"])):(0,n.kq)("",!0),(0,n.Wm)(re,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:e=>ne.remove(ne.torrentId(s))},null,8,["onClick"]),(0,n.Wm)(re,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=t=>e.$refs.torrentFiles.isVisible=!0)}),(0,n.Wm)(re,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=t=>e.$refs.torrentInfo.isVisible=!0)})])),_:2},1032,["onClick"])])],10,o)))),128)),(0,n.Wm)(le,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,n.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,n.wg)(),(0,n.iD)("div",f,[se.transfers[se.selectedItem].name?((0,n.wg)(),(0,n.iD)("div",p,[h,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].name)},null,8,w)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].state?((0,n.wg)(),(0,n.iD)("div",g,[_,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].state)},null,8,y)])):(0,n.kq)("",!0),(0,n._)("div",C,[k,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${se.transfers[se.selectedItem].progress||0}%`)},null,8,x)]),(0,n._)("div",I,[b,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].download_rate||0)}/s`)},null,8,D)]),(0,n._)("div",T,[q,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].upload_rate||0)}/s`)},null,8,z)]),(0,n._)("div",S,[E,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].size||0))},null,8,Z)]),se.transfers[se.selectedItem].remaining_bytes?((0,n.wg)(),(0,n.iD)("div",$,[R,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].remaining_bytes))},null,8,U)])):(0,n.kq)("",!0),(0,n._)("div",L,[N,(0,n._)("div",W,[(0,n._)("a",{href:se.transfers[se.selectedItem].url,target:"_blank",textContent:(0,a.zw)(se.transfers[se.selectedItem].url)},null,8,j)])]),(0,n._)("div",V,[P,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].peers||0)},null,8,F)]),se.transfers[se.selectedItem].start_date?((0,n.wg)(),(0,n.iD)("div",M,[H,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].start_date))},null,8,A)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].finish_date?((0,n.wg)(),(0,n.iD)("div",O,[K,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].finish_date))},null,8,Y)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].save_path?((0,n.wg)(),(0,n.iD)("div",B,[Q,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].save_path)},null,8,G)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512),(0,n.Wm)(le,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,n.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,n.wg)(),(0,n.iD)("div",J,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(ne.relativeFiles,((t,r)=>((0,n.wg)(),(0,n.iD)("div",{class:"row",key:t},[(0,n._)("div",X,[s.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,n.wg)(),(0,n.j4)(ie,{key:0},{default:(0,n.w5)((()=>[(0,n.Wm)(re,{"icon-class":"fa fa-play",text:"Play",onClick:t=>e.$emit("play",{url:`file://${se.transfers[se.selectedItem].files[r]}`,type:"file"})},null,8,["onClick"])])),_:2},1024)):((0,n.wg)(),(0,n.iD)("i",ee))]),(0,n._)("div",{class:"col-11 name",textContent:(0,a.zw)(t)},null,8,te)])))),128))])):(0,n.kq)("",!0)])),_:1},512)]))}var ne=s(1232),ae=s(6813),re=s(8337),ie=s(9642),le=s(5771),oe=s(9015),de={name:"View",emits:["play","play-with-captions"],components:{Dropdown:le.Z,DropdownItem:oe.Z,Loading:ne.Z,Modal:ie.Z},mixins:[ae.Z,re.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles(){return null!=this.selectedItem&&this.transfers[this.selectedItem]?.files?.length?this.transfers[this.selectedItem].files.map((e=>e.split("/").pop())):[]}},methods:{torrentId(e){return e?.hash&&e.hash.length?e.hash:e.url},async refresh(){this.loading=!0;try{this.transfers=Object.values(await this.request(`${this.pluginName}.status`)||{}).reduce(((e,t)=>(e[this.torrentId(t)]=t,e)),{})}finally{this.loading=!1}},async pause(e){await this.request(`${this.pluginName}.pause`,{torrent:e}),await this.refresh()},async resume(e){await this.request(`${this.pluginName}.resume`,{torrent:e}),await this.refresh()},async remove(e){await this.request(`${this.pluginName}.remove`,{torrent:e}),await this.refresh()},onTorrentUpdate(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove(e){const t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},ce=s(3744);const me=(0,ce.Z)(de,[["render",se],["__scopeId","data-v-7eb04934"]]);var ue=me}}]); -//# sourceMappingURL=6899.6f5c41d1.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6899],{8337:function(e,t,s){s.d(t,{Z:function(){return i}});var n=s(6813),a={name:"Utils",mixins:[n.Z],computed:{audioExtensions(){return new Set(["3gp","aa","aac","aax","act","aiff","amr","ape","au","awb","dct","dss","dvf","flac","gsm","iklax","ivs","m4a","m4b","m4p","mmf","mp3","mpc","msv","nmf","nsf","ogg,","opus","ra,","raw","sln","tta","vox","wav","wma","wv","webm","8svx"])},videoExtensions(){return new Set(["webm","mkv","flv","flv","vob","ogv","ogg","drc","gif","gifv","mng","avi","mts","m2ts","mov","qt","wmv","yuv","rm","rmvb","asf","amv","mp4","m4p","m4v","mpg","mp2","mpeg","mpe","mpv","mpg","mpeg","m2v","m4v","svi","3gp","3g2","mxf","roq","nsv","flv","f4v","f4p","f4a","f4b"])},mediaExtensions(){return new Set([...this.videoExtensions,...this.audioExtensions])}},methods:{convertTime(e){e=parseFloat(e);const t={};t.h=""+parseInt(e/3600),t.m=""+parseInt(e/60-60*t.h),t.s=""+parseInt(e-(3600*t.h+60*t.m));for(const n of["m","s"])parseInt(t[n])<10&&(t[n]="0"+t[n]);const s=[];return parseInt(t.h)&&s.push(t.h),s.push(t.m,t.s),s.join(":")},async startStreaming(e,t=!1){let s=e,n=null;e instanceof Object?(s=e.url,n=e.subtitles):e={url:s};const a=await this.request("media.start_streaming",{media:s,subtitles:n,download:t});return{...e,...a}},async stopStreaming(e){await this.request("media.stop_streaming",{media_id:e})}}};const r=a;var i=r},6899:function(e,t,s){s.d(t,{Z:function(){return k}});var n=s(6252);const a={class:"torrent-container"},r={class:"header-container"},i={class:"view-container"};function l(e,t,s,l,o,d){const c=(0,n.up)("Header"),m=(0,n.up)("TorrentView");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("div",r,[(0,n.Wm)(c,{onTorrentAdd:t[0]||(t[0]=e=>d.download(e))})]),(0,n._)("div",i,[(0,n.Wm)(m,{"plugin-name":s.pluginName},null,8,["plugin-name"])])])}var o=s(3577),d=s(9963);const c={class:"row"},m={class:"col-s-12 col-m-9 col-l-7 left side"},u={class:"search-box"};function v(e,t,s,a,r,i){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["header",{"with-filter":e.filterVisible}])},[(0,n._)("div",c,[(0,n._)("div",m,[(0,n._)("form",{onSubmit:t[1]||(t[1]=(0,d.iM)((t=>e.$emit("torrent-add",r.torrentURL)),["prevent"]))},[(0,n._)("label",u,[(0,n.wy)((0,n._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":t[0]||(t[0]=e=>r.torrentURL=e)},null,512),[[d.nr,r.torrentURL]])])],32)])])],2)}var f={name:"Header",emits:["torrent-add"],data(){return{torrentURL:""}}},p=s(3744);const h=(0,p.Z)(f,[["render",v],["__scopeId","data-v-6133f14d"]]);var w=h,g=s(779),_=s(6813),y={name:"Panel",components:{TorrentView:g.Z,Header:w},mixins:[_.Z],props:{pluginName:{type:String,required:!0}},methods:{async download(e){await this.request(`${this.pluginName}.download`,{torrent:e})}}};const C=(0,p.Z)(y,[["render",l],["__scopeId","data-v-1502d8a8"]]);var k=C},779:function(e,t,s){s.d(t,{Z:function(){return ue}});var n=s(6252),a=s(3577);const r=e=>((0,n.dD)("data-v-7eb04934"),e=e(),(0,n.Cn)(),e),i={key:1,class:"torrent-transfers fade-in"},l={key:0,class:"no-content"},o=["onClick"],d={class:"col-8 left side"},c=["textContent"],m={class:"col-2 right side"},u=["textContent"],v={class:"col-2 right side"},f={key:0,class:"modal-body torrent-info"},p={key:0,class:"row"},h=r((()=>(0,n._)("div",{class:"attr"},"Name",-1))),w=["textContent"],g={key:1,class:"row"},_=r((()=>(0,n._)("div",{class:"attr"},"State",-1))),y=["textContent"],C={class:"row"},k=r((()=>(0,n._)("div",{class:"attr"},"Progress",-1))),x=["textContent"],I={class:"row"},b=r((()=>(0,n._)("div",{class:"attr"},"DL rate",-1))),D=["textContent"],T={class:"row"},q=r((()=>(0,n._)("div",{class:"attr"},"UL rate",-1))),z=["textContent"],S={class:"row"},E=r((()=>(0,n._)("div",{class:"attr"},"Size",-1))),Z=["textContent"],$={key:2,class:"row"},R=r((()=>(0,n._)("div",{class:"attr"},"Remaining",-1))),U=["textContent"],L={class:"row"},N=r((()=>(0,n._)("div",{class:"attr"},"URL",-1))),W={class:"value nowrap"},j=["href","textContent"],V={class:"row"},P=r((()=>(0,n._)("div",{class:"attr"},"Peers",-1))),F=["textContent"],M={key:3,class:"row"},H=r((()=>(0,n._)("div",{class:"attr"},"Started",-1))),A=["textContent"],O={key:4,class:"row"},K=r((()=>(0,n._)("div",{class:"attr"},"Finished",-1))),Y=["textContent"],B={key:5,class:"row"},Q=r((()=>(0,n._)("div",{class:"attr"},"Save path",-1))),G=["textContent"],J={key:0,class:"modal-body torrent-files"},X={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function se(e,t,s,r,se,ne){const ae=(0,n.up)("Loading"),re=(0,n.up)("DropdownItem"),ie=(0,n.up)("Dropdown"),le=(0,n.up)("Modal");return se.loading?((0,n.wg)(),(0,n.j4)(ae,{key:0})):((0,n.wg)(),(0,n.iD)("div",i,[Object.keys(se.transfers).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",l,"No torrent transfers in progress")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(se.transfers,((s,r)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,a.C_)(["row item",{selected:se.selectedItem===r}]),key:r,onClick:e=>se.selectedItem=r},[(0,n._)("div",d,[(0,n._)("i",{class:(0,a.C_)(["icon fa",{"fa-check":null!=s.finish_date,"fa-play":!s.finish_date&&"downloading"===s.state,"fa-pause":!s.finish_date&&"paused"===s.state,"fa-stop":!s.finish_date&&"stopped"===s.state}])},null,2),(0,n._)("div",{class:"title",textContent:(0,a.zw)(s.name||s.hash||s.url)},null,8,c)]),(0,n._)("div",m,[(0,n._)("span",{textContent:(0,a.zw)(`${s.progress}%`)},null,8,u)]),(0,n._)("div",v,[(0,n.Wm)(ie,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:e=>se.selectedItem=r},{default:(0,n.w5)((()=>["downloading"===s.state?((0,n.wg)(),(0,n.j4)(re,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:e=>ne.pause(ne.torrentId(s))},null,8,["onClick"])):(0,n.kq)("",!0),"paused"===s.state?((0,n.wg)(),(0,n.j4)(re,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:e=>ne.resume(ne.torrentId(s))},null,8,["onClick"])):(0,n.kq)("",!0),(0,n.Wm)(re,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:e=>ne.remove(ne.torrentId(s))},null,8,["onClick"]),(0,n.Wm)(re,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=t=>e.$refs.torrentFiles.isVisible=!0)}),(0,n.Wm)(re,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=t=>e.$refs.torrentInfo.isVisible=!0)})])),_:2},1032,["onClick"])])],10,o)))),128)),(0,n.Wm)(le,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,n.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,n.wg)(),(0,n.iD)("div",f,[se.transfers[se.selectedItem].name?((0,n.wg)(),(0,n.iD)("div",p,[h,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].name)},null,8,w)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].state?((0,n.wg)(),(0,n.iD)("div",g,[_,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].state)},null,8,y)])):(0,n.kq)("",!0),(0,n._)("div",C,[k,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${se.transfers[se.selectedItem].progress||0}%`)},null,8,x)]),(0,n._)("div",I,[b,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].download_rate||0)}/s`)},null,8,D)]),(0,n._)("div",T,[q,(0,n._)("div",{class:"value",textContent:(0,a.zw)(`${e.convertSize(se.transfers[se.selectedItem].upload_rate||0)}/s`)},null,8,z)]),(0,n._)("div",S,[E,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].size||0))},null,8,Z)]),se.transfers[se.selectedItem].remaining_bytes?((0,n.wg)(),(0,n.iD)("div",$,[R,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.convertSize(se.transfers[se.selectedItem].remaining_bytes))},null,8,U)])):(0,n.kq)("",!0),(0,n._)("div",L,[N,(0,n._)("div",W,[(0,n._)("a",{href:se.transfers[se.selectedItem].url,target:"_blank",textContent:(0,a.zw)(se.transfers[se.selectedItem].url)},null,8,j)])]),(0,n._)("div",V,[P,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].peers||0)},null,8,F)]),se.transfers[se.selectedItem].start_date?((0,n.wg)(),(0,n.iD)("div",M,[H,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].start_date))},null,8,A)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].finish_date?((0,n.wg)(),(0,n.iD)("div",O,[K,(0,n._)("div",{class:"value",textContent:(0,a.zw)(e.formatDateTime(se.transfers[se.selectedItem].finish_date))},null,8,Y)])):(0,n.kq)("",!0),se.transfers[se.selectedItem].save_path?((0,n.wg)(),(0,n.iD)("div",B,[Q,(0,n._)("div",{class:"value",textContent:(0,a.zw)(se.transfers[se.selectedItem].save_path)},null,8,G)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512),(0,n.Wm)(le,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,n.w5)((()=>[null!=se.selectedItem&&se.transfers[se.selectedItem]?((0,n.wg)(),(0,n.iD)("div",J,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(ne.relativeFiles,((t,r)=>((0,n.wg)(),(0,n.iD)("div",{class:"row",key:t},[(0,n._)("div",X,[s.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,n.wg)(),(0,n.j4)(ie,{key:0},{default:(0,n.w5)((()=>[(0,n.Wm)(re,{"icon-class":"fa fa-play",text:"Play",onClick:t=>e.$emit("play",{url:`file://${se.transfers[se.selectedItem].files[r]}`,type:"file"})},null,8,["onClick"])])),_:2},1024)):((0,n.wg)(),(0,n.iD)("i",ee))]),(0,n._)("div",{class:"col-11 name",textContent:(0,a.zw)(t)},null,8,te)])))),128))])):(0,n.kq)("",!0)])),_:1},512)]))}var ne=s(1232),ae=s(6813),re=s(8337),ie=s(8453),le=s(5771),oe=s(9015),de={name:"View",emits:["play","play-with-captions"],components:{Dropdown:le.Z,DropdownItem:oe.Z,Loading:ne.Z,Modal:ie.Z},mixins:[ae.Z,re.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles(){return null!=this.selectedItem&&this.transfers[this.selectedItem]?.files?.length?this.transfers[this.selectedItem].files.map((e=>e.split("/").pop())):[]}},methods:{torrentId(e){return e?.hash&&e.hash.length?e.hash:e.url},async refresh(){this.loading=!0;try{this.transfers=Object.values(await this.request(`${this.pluginName}.status`)||{}).reduce(((e,t)=>(e[this.torrentId(t)]=t,e)),{})}finally{this.loading=!1}},async pause(e){await this.request(`${this.pluginName}.pause`,{torrent:e}),await this.refresh()},async resume(e){await this.request(`${this.pluginName}.resume`,{torrent:e}),await this.refresh()},async remove(e){await this.request(`${this.pluginName}.remove`,{torrent:e}),await this.refresh()},onTorrentUpdate(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove(e){const t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},ce=s(3744);const me=(0,ce.Z)(de,[["render",se],["__scopeId","data-v-7eb04934"]]);var ue=me}}]); +//# sourceMappingURL=6899.d74c1b00.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js.map b/platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js.map rename to platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js.map index 2c68c2353..5f15511d3 100644 --- a/platypush/backend/http/webapp/dist/static/js/6899.6f5c41d1.js.map +++ b/platypush/backend/http/webapp/dist/static/js/6899.d74c1b00.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/6899.6f5c41d1.js","mappings":"gKAGA,GACEA,KAAM,QACNC,OAAQ,CAACC,EAAA,GAETC,SAAU,CACRC,kBACE,OAAO,IAAIC,IAAI,CACb,MAAO,KAAM,MAAO,MAAO,MAAO,OAAQ,MAAO,MAAO,KACxD,MAAO,MAAO,MAAO,MAAO,OAAQ,MAAO,QAAS,MACpD,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACxD,OAAQ,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MACnD,MAAO,KAAM,OAAQ,QAExB,EAEDC,kBACE,OAAO,IAAID,IAAI,CACb,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACzD,OAAQ,MAAO,MAAO,MAAO,OAAQ,MAAO,KAAM,MAAO,MACzD,KAAM,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACxD,OAAQ,MAAO,MAAO,MAAO,OAAQ,MAAO,MAAO,MACnD,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OAElE,EAEDE,kBACE,OAAO,IAAIF,IAAI,IAAIG,KAAKF,mBAAoBE,KAAKJ,iBAClD,GAGHK,QAAS,CACPC,YAAYC,GACVA,EAAOC,WAAWD,GAClB,MAAME,EAAI,CAAC,EACXA,EAAEC,EAAI,GAAKC,SAASJ,EAAK,MACzBE,EAAEG,EAAI,GAAKD,SAASJ,EAAK,GAAS,GAAJE,EAAEC,GAChCD,EAAEI,EAAI,GAAKF,SAASJ,GAAY,KAAJE,EAAEC,EAAa,GAAJD,EAAEG,IAEzC,IAAK,MAAME,IAAQ,CAAC,IAAI,KAClBH,SAASF,EAAEK,IAAS,KACtBL,EAAEK,GAAQ,IAAML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,QAAS,GAAEpB,KAAK2B,mBAAoB,CAACc,QAASA,UACnDzC,KAAK6F,SACZ,EAED/E,aAAa2B,SACLzC,KAAKoB,QAAS,GAAEpB,KAAK2B,oBAAqB,CAACc,QAASA,UACpDzC,KAAK6F,SACZ,EAED/E,aAAa2B,SACLzC,KAAKoB,QAAS,GAAEpB,KAAK2B,oBAAqB,CAACc,QAASA,UACpDzC,KAAK6F,SACZ,EAEDC,gBAAgBrD,GACdzC,KAAK6C,UAAU7C,KAAKwD,UAAUf,IAAYA,CAC3C,EAEDsD,gBAAgBtD,GACd,MAAMe,EAAYxD,KAAKwD,UAAUf,GAC7Be,KAAaxD,KAAK6C,kBACb7C,KAAK6C,UAAUW,EACzB,GAGHwC,UACEhG,KAAK6F,UAEL7F,KAAKiG,UACDjG,KAAK8F,gBAAgB,oBACrB,qDACA,iEACA,4DACA,+DACA,sDACA,qDACA,2DACA,0DACA,2DACA,iEAEJ9F,KAAKiG,UAAUjG,KAAK+F,gBAAgB,oBAChC,sDACL,EAEDG,UACElG,KAAKmG,YAAY,qBACjBnG,KAAKmG,YAAY,oBAClB,G,WCjOH,MAAM3E,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASkB,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/Media/Utils.vue","webpack://platypush/./src/components/Media/Utils.vue?af63","webpack://platypush/./src/components/panels/Torrent/Panel.vue","webpack://platypush/./src/components/panels/Torrent/Header.vue","webpack://platypush/./src/components/panels/Torrent/Header.vue?da39","webpack://platypush/./src/components/panels/Torrent/Panel.vue?046c","webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=6133f14d&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=6133f14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6133f14d\"]])\n\nexport default __exports__","import { render } from \"./Panel.vue?vue&type=template&id=1502d8a8&scoped=true\"\nimport script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nimport \"./Panel.vue?vue&type=style&index=0&id=1502d8a8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1502d8a8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["name","mixins","Utils","computed","audioExtensions","Set","videoExtensions","mediaExtensions","this","methods","convertTime","time","parseFloat","t","h","parseInt","m","s","attr","ret","push","join","async","resource","download","url","subtitles","Object","request","media","mediaId","media_id","__exports__","class","$event","pluginName","filterVisible","$emit","torrentURL","type","placeholder","emits","data","components","TorrentView","Header","props","String","required","torrent","render","loading","keys","transfers","length","i","selectedItem","key","hash","progress","title","state","text","pause","torrentId","resume","remove","$refs","torrentFiles","isVisible","torrentInfo","ref","width","convertSize","download_rate","upload_rate","size","remaining_bytes","href","target","peers","start_date","finish_date","save_path","relativeFiles","file","isMedia","has","split","pop","files","Dropdown","DropdownItem","Loading","Modal","Boolean","default","map","values","reduce","obj","refresh","onTorrentUpdate","onTorrentRemove","mounted","subscribe","destroy","unsubscribe"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/6899.d74c1b00.js","mappings":"gKAGA,GACEA,KAAM,QACNC,OAAQ,CAACC,EAAA,GAETC,SAAU,CACRC,kBACE,OAAO,IAAIC,IAAI,CACb,MAAO,KAAM,MAAO,MAAO,MAAO,OAAQ,MAAO,MAAO,KACxD,MAAO,MAAO,MAAO,MAAO,OAAQ,MAAO,QAAS,MACpD,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACxD,OAAQ,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MACnD,MAAO,KAAM,OAAQ,QAExB,EAEDC,kBACE,OAAO,IAAID,IAAI,CACb,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACzD,OAAQ,MAAO,MAAO,MAAO,OAAQ,MAAO,KAAM,MAAO,MACzD,KAAM,OAAQ,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACxD,OAAQ,MAAO,MAAO,MAAO,OAAQ,MAAO,MAAO,MACnD,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OAElE,EAEDE,kBACE,OAAO,IAAIF,IAAI,IAAIG,KAAKF,mBAAoBE,KAAKJ,iBAClD,GAGHK,QAAS,CACPC,YAAYC,GACVA,EAAOC,WAAWD,GAClB,MAAME,EAAI,CAAC,EACXA,EAAEC,EAAI,GAAKC,SAASJ,EAAK,MACzBE,EAAEG,EAAI,GAAKD,SAASJ,EAAK,GAAS,GAAJE,EAAEC,GAChCD,EAAEI,EAAI,GAAKF,SAASJ,GAAY,KAAJE,EAAEC,EAAa,GAAJ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IAAYA,EACxBmD,IACN,CAAC,EAGV,CARA,QAOE5F,KAAK2C,SAAU,CACjB,CACD,EAED7B,YAAY2B,SACJzC,KAAKoB,QAAS,GAAEpB,KAAK2B,mBAAoB,CAACc,QAASA,UACnDzC,KAAK6F,SACZ,EAED/E,aAAa2B,SACLzC,KAAKoB,QAAS,GAAEpB,KAAK2B,oBAAqB,CAACc,QAASA,UACpDzC,KAAK6F,SACZ,EAED/E,aAAa2B,SACLzC,KAAKoB,QAAS,GAAEpB,KAAK2B,oBAAqB,CAACc,QAASA,UACpDzC,KAAK6F,SACZ,EAEDC,gBAAgBrD,GACdzC,KAAK6C,UAAU7C,KAAKwD,UAAUf,IAAYA,CAC3C,EAEDsD,gBAAgBtD,GACd,MAAMe,EAAYxD,KAAKwD,UAAUf,GAC7Be,KAAaxD,KAAK6C,kBACb7C,KAAK6C,UAAUW,EACzB,GAGHwC,UACEhG,KAAK6F,UAEL7F,KAAKiG,UACDjG,KAAK8F,gBAAgB,oBACrB,qDACA,iEACA,4DACA,+DACA,sDACA,qDACA,2DACA,0DACA,2DACA,iEAEJ9F,KAAKiG,UAAUjG,KAAK+F,gBAAgB,oBAChC,sDACL,EAEDG,UACElG,KAAKmG,YAAY,qBACjBnG,KAAKmG,YAAY,oBAClB,G,WCjOH,MAAM3E,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASkB,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/Media/Utils.vue","webpack://platypush/./src/components/Media/Utils.vue?af63","webpack://platypush/./src/components/panels/Torrent/Panel.vue","webpack://platypush/./src/components/panels/Torrent/Header.vue","webpack://platypush/./src/components/panels/Torrent/Header.vue?da39","webpack://platypush/./src/components/panels/Torrent/Panel.vue?046c","webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Header.vue?vue&type=template&id=6133f14d&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=js\"\nexport * from \"./Header.vue?vue&type=script&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=6133f14d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6133f14d\"]])\n\nexport default __exports__","import { render } from \"./Panel.vue?vue&type=template&id=1502d8a8&scoped=true\"\nimport script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nimport \"./Panel.vue?vue&type=style&index=0&id=1502d8a8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1502d8a8\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["name","mixins","Utils","computed","audioExtensions","Set","videoExtensions","mediaExtensions","this","methods","convertTime","time","parseFloat","t","h","parseInt","m","s","attr","ret","push","join","async","resource","download","url","subtitles","Object","request","media","mediaId","media_id","__exports__","class","$event","pluginName","filterVisible","$emit","torrentURL","type","placeholder","emits","data","components","TorrentView","Header","props","String","required","torrent","render","loading","keys","transfers","length","i","selectedItem","key","hash","progress","title","state","text","pause","torrentId","resume","remove","$refs","torrentFiles","isVisible","torrentInfo","ref","width","convertSize","download_rate","upload_rate","size","remaining_bytes","href","target","peers","start_date","finish_date","save_path","relativeFiles","file","isMedia","has","split","pop","files","Dropdown","DropdownItem","Loading","Modal","Boolean","default","map","values","reduce","obj","refresh","onTorrentUpdate","onTorrentRemove","mounted","subscribe","destroy","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js b/platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js rename to platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js index 663e9553c..71c102e4d 100644 --- a/platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js +++ b/platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[699,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},699:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"gstreamer"})}var i=e(5528),r={name:"CameraGstreamer",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); -//# sourceMappingURL=699.9b8c7c2f.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[699,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},699:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"gstreamer"})}var i=e(5528),r={name:"CameraGstreamer",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); +//# sourceMappingURL=699.cf8f2194.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js.map b/platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js.map rename to platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js.map index c3e1e5ceb..73f635bf2 100644 --- a/platypush/backend/http/webapp/dist/static/js/699.9b8c7c2f.js.map +++ b/platypush/backend/http/webapp/dist/static/js/699.cf8f2194.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/699.9b8c7c2f.js","mappings":"qMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,GAMHA,MAAM,mB,SACFE,SAAA,GAASC,QAAQ,OAAOF,IAAI,U,qBAEuD,kD,SAKvFD,MAAM,O,GACFA,MAAM,O,GACX,OAAoC,QAA9BA,MAAM,QAAO,cAAU,G,eAM1BA,MAAM,U,GACFA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAA+B,QAAzBA,MAAM,QAAO,SAAK,G,GAInBA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAyC,QAAnCA,MAAM,QAAO,mBAAe,G,GAI7BA,MAAM,O,GACX,OAAuC,QAAjCA,MAAM,QAAO,iBAAa,G,GAI3BA,MAAM,O,GACX,OAAgC,QAA1BA,MAAM,QAAO,UAAM,G,GAIpBA,MAAM,O,GACX,OAAiC,QAA3BA,MAAM,QAAO,WAAO,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pB,gBACLoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMG,YAAYqB,KAAKpB,eAC9CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMK,iBAAiBmB,KAAKpB,eACnDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMO,eAAeiB,KAAKpB,eACjDoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMQ,QAAQgB,KAAKpB,eAC1CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,sJCRE,QAAoC,GAA5B,gBAAc,a,eAMxB,GACE3E,KAAM,kBACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraGstreamer/Index.vue","webpack://platypush/./src/components/panels/CameraGstreamer/Index.vue?5a11"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6c669f2b\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/699.cf8f2194.js","mappings":"qMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,M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wC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,sJCRE,QAAoC,GAA5B,gBAAc,a,eAMxB,GACE3E,KAAM,kBACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraGstreamer/Index.vue","webpack://platypush/./src/components/panels/CameraGstreamer/Index.vue?5a11"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6c669f2b\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js b/platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js rename to platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js index 272648fbf..8fb729f30 100644 --- a/platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js +++ b/platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[779],{779:function(e,t,n){n.d(t,{Z:function(){return ve}});n(7941),n(8309),n(4916),n(3123);var r=n(6252),s=n(3577),a=function(e){return(0,r.dD)("data-v-7eb04934"),e=e(),(0,r.Cn)(),e},o={key:1,class:"torrent-transfers fade-in"},i={key:0,class:"no-content"},l=["onClick"],c={class:"col-8 left side"},u=["textContent"],d={class:"col-2 right side"},f=["textContent"],v={class:"col-2 right side"},m={key:0,class:"modal-body torrent-info"},p={key:0,class:"row"},h=a((function(){return(0,r._)("div",{class:"attr"},"Name",-1)})),w=["textContent"],g={key:1,class:"row"},_=a((function(){return(0,r._)("div",{class:"attr"},"State",-1)})),k=["textContent"],C={class:"row"},x=a((function(){return(0,r._)("div",{class:"attr"},"Progress",-1)})),y=["textContent"],I={class:"row"},D=a((function(){return(0,r._)("div",{class:"attr"},"DL rate",-1)})),b=["textContent"],z={class:"row"},T=a((function(){return(0,r._)("div",{class:"attr"},"UL rate",-1)})),q=["textContent"],R={class:"row"},S=a((function(){return(0,r._)("div",{class:"attr"},"Size",-1)})),E=["textContent"],Z={key:2,class:"row"},N=a((function(){return(0,r._)("div",{class:"attr"},"Remaining",-1)})),W=["textContent"],j={class:"row"},P=a((function(){return(0,r._)("div",{class:"attr"},"URL",-1)})),F={class:"value nowrap"},L=["href","textContent"],M={class:"row"},U=a((function(){return(0,r._)("div",{class:"attr"},"Peers",-1)})),V=["textContent"],$={key:3,class:"row"},H=a((function(){return(0,r._)("div",{class:"attr"},"Started",-1)})),K=["textContent"],O={key:4,class:"row"},Y=a((function(){return(0,r._)("div",{class:"attr"},"Finished",-1)})),A=["textContent"],B={key:5,class:"row"},Q=a((function(){return(0,r._)("div",{class:"attr"},"Save path",-1)})),G=["textContent"],J={key:0,class:"modal-body torrent-files"},X={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function ne(e,t,n,a,ne,re){var se=(0,r.up)("Loading"),ae=(0,r.up)("DropdownItem"),oe=(0,r.up)("Dropdown"),ie=(0,r.up)("Modal");return ne.loading?((0,r.wg)(),(0,r.j4)(se,{key:0})):((0,r.wg)(),(0,r.iD)("div",o,[Object.keys(ne.transfers).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",i,"No torrent transfers in progress")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(ne.transfers,(function(n,a){return(0,r.wg)(),(0,r.iD)("div",{class:(0,s.C_)(["row item",{selected:ne.selectedItem===a}]),key:a,onClick:function(e){return ne.selectedItem=a}},[(0,r._)("div",c,[(0,r._)("i",{class:(0,s.C_)(["icon fa",{"fa-check":null!=n.finish_date,"fa-play":!n.finish_date&&"downloading"===n.state,"fa-pause":!n.finish_date&&"paused"===n.state,"fa-stop":!n.finish_date&&"stopped"===n.state}])},null,2),(0,r._)("div",{class:"title",textContent:(0,s.zw)(n.name||n.hash||n.url)},null,8,u)]),(0,r._)("div",d,[(0,r._)("span",{textContent:(0,s.zw)("".concat(n.progress,"%"))},null,8,f)]),(0,r._)("div",v,[(0,r.Wm)(oe,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:function(e){return ne.selectedItem=a}},{default:(0,r.w5)((function(){return["downloading"===n.state?((0,r.wg)(),(0,r.j4)(ae,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:function(e){return re.pause(re.torrentId(n))}},null,8,["onClick"])):(0,r.kq)("",!0),"paused"===n.state?((0,r.wg)(),(0,r.j4)(ae,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:function(e){return re.resume(re.torrentId(n))}},null,8,["onClick"])):(0,r.kq)("",!0),(0,r.Wm)(ae,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:function(e){return re.remove(re.torrentId(n))}},null,8,["onClick"]),(0,r.Wm)(ae,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=function(t){return e.$refs.torrentFiles.isVisible=!0})}),(0,r.Wm)(ae,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=function(t){return e.$refs.torrentInfo.isVisible=!0})})]})),_:2},1032,["onClick"])])],10,l)})),128)),(0,r.Wm)(ie,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,r.w5)((function(){return[null!=ne.selectedItem&&ne.transfers[ne.selectedItem]?((0,r.wg)(),(0,r.iD)("div",m,[ne.transfers[ne.selectedItem].name?((0,r.wg)(),(0,r.iD)("div",p,[h,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].name)},null,8,w)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].state?((0,r.wg)(),(0,r.iD)("div",g,[_,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].state)},null,8,k)])):(0,r.kq)("",!0),(0,r._)("div",C,[x,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(ne.transfers[ne.selectedItem].progress||0,"%"))},null,8,y)]),(0,r._)("div",I,[D,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(e.convertSize(ne.transfers[ne.selectedItem].download_rate||0),"/s"))},null,8,b)]),(0,r._)("div",z,[T,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(e.convertSize(ne.transfers[ne.selectedItem].upload_rate||0),"/s"))},null,8,q)]),(0,r._)("div",R,[S,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.convertSize(ne.transfers[ne.selectedItem].size||0))},null,8,E)]),ne.transfers[ne.selectedItem].remaining_bytes?((0,r.wg)(),(0,r.iD)("div",Z,[N,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.convertSize(ne.transfers[ne.selectedItem].remaining_bytes))},null,8,W)])):(0,r.kq)("",!0),(0,r._)("div",j,[P,(0,r._)("div",F,[(0,r._)("a",{href:ne.transfers[ne.selectedItem].url,target:"_blank",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].url)},null,8,L)])]),(0,r._)("div",M,[U,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].peers||0)},null,8,V)]),ne.transfers[ne.selectedItem].start_date?((0,r.wg)(),(0,r.iD)("div",$,[H,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(ne.transfers[ne.selectedItem].start_date))},null,8,K)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].finish_date?((0,r.wg)(),(0,r.iD)("div",O,[Y,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(ne.transfers[ne.selectedItem].finish_date))},null,8,A)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].save_path?((0,r.wg)(),(0,r.iD)("div",B,[Q,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].save_path)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r.Wm)(ie,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,r.w5)((function(){return[null!=ne.selectedItem&&ne.transfers[ne.selectedItem]?((0,r.wg)(),(0,r.iD)("div",J,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(re.relativeFiles,(function(t,a){return(0,r.wg)(),(0,r.iD)("div",{class:"row",key:t},[(0,r._)("div",X,[n.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,r.wg)(),(0,r.j4)(oe,{key:0},{default:(0,r.w5)((function(){return[(0,r.Wm)(ae,{"icon-class":"fa fa-play",text:"Play",onClick:function(t){return e.$emit("play",{url:"file://".concat(ne.transfers[ne.selectedItem].files[a]),type:"file"})}},null,8,["onClick"])]})),_:2},1024)):((0,r.wg)(),(0,r.iD)("i",ee))]),(0,r._)("div",{class:"col-11 name",textContent:(0,s.zw)(t)},null,8,te)])})),128))])):(0,r.kq)("",!0)]})),_:1},512)]))}var re=n(8534),se=(n(5666),n(1249),n(1539),n(2479),n(3948),n(1232)),ae=n(6813),oe=n(8337),ie=n(9642),le=n(5771),ce=n(9015),ue={name:"View",emits:["play","play-with-captions"],components:{Dropdown:le.Z,DropdownItem:ce.Z,Loading:se.Z,Modal:ie.Z},mixins:[ae.Z,oe.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data:function(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles:function(){var e,t;return null!=this.selectedItem&&null!==(e=this.transfers[this.selectedItem])&&void 0!==e&&null!==(t=e.files)&&void 0!==t&&t.length?this.transfers[this.selectedItem].files.map((function(e){return e.split("/").pop()})):[]}},methods:{torrentId:function(e){return null!==e&&void 0!==e&&e.hash&&e.hash.length?e.hash:e.url},refresh:function(){var e=this;return(0,re.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.t0=Object,t.next=5,e.request("".concat(e.pluginName,".status"));case 5:if(t.t1=t.sent,t.t1){t.next=8;break}t.t1={};case 8:t.t2=t.t1,e.transfers=t.t0.values.call(t.t0,t.t2).reduce((function(t,n){return t[e.torrentId(n)]=n,t}),{});case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},pause:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".pause"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},resume:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".resume"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},remove:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".remove"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},onTorrentUpdate:function(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove:function(e){var t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted:function(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy:function(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},de=n(3744);const fe=(0,de.Z)(ue,[["render",ne],["__scopeId","data-v-7eb04934"]]);var ve=fe}}]); -//# sourceMappingURL=779-legacy.d96325bc.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[779],{779:function(e,t,n){n.d(t,{Z:function(){return ve}});n(7941),n(8309),n(4916),n(3123);var r=n(6252),s=n(3577),a=function(e){return(0,r.dD)("data-v-7eb04934"),e=e(),(0,r.Cn)(),e},o={key:1,class:"torrent-transfers fade-in"},i={key:0,class:"no-content"},l=["onClick"],c={class:"col-8 left side"},u=["textContent"],d={class:"col-2 right side"},f=["textContent"],v={class:"col-2 right side"},m={key:0,class:"modal-body torrent-info"},p={key:0,class:"row"},h=a((function(){return(0,r._)("div",{class:"attr"},"Name",-1)})),w=["textContent"],g={key:1,class:"row"},_=a((function(){return(0,r._)("div",{class:"attr"},"State",-1)})),k=["textContent"],C={class:"row"},x=a((function(){return(0,r._)("div",{class:"attr"},"Progress",-1)})),y=["textContent"],I={class:"row"},D=a((function(){return(0,r._)("div",{class:"attr"},"DL rate",-1)})),b=["textContent"],z={class:"row"},T=a((function(){return(0,r._)("div",{class:"attr"},"UL rate",-1)})),q=["textContent"],R={class:"row"},S=a((function(){return(0,r._)("div",{class:"attr"},"Size",-1)})),E=["textContent"],Z={key:2,class:"row"},N=a((function(){return(0,r._)("div",{class:"attr"},"Remaining",-1)})),W=["textContent"],j={class:"row"},P=a((function(){return(0,r._)("div",{class:"attr"},"URL",-1)})),F={class:"value nowrap"},L=["href","textContent"],M={class:"row"},U=a((function(){return(0,r._)("div",{class:"attr"},"Peers",-1)})),V=["textContent"],$={key:3,class:"row"},H=a((function(){return(0,r._)("div",{class:"attr"},"Started",-1)})),K=["textContent"],O={key:4,class:"row"},Y=a((function(){return(0,r._)("div",{class:"attr"},"Finished",-1)})),A=["textContent"],B={key:5,class:"row"},Q=a((function(){return(0,r._)("div",{class:"attr"},"Save path",-1)})),G=["textContent"],J={key:0,class:"modal-body torrent-files"},X={class:"col-1 icon"},ee={key:1,class:"fa fa-file"},te=["textContent"];function ne(e,t,n,a,ne,re){var se=(0,r.up)("Loading"),ae=(0,r.up)("DropdownItem"),oe=(0,r.up)("Dropdown"),ie=(0,r.up)("Modal");return ne.loading?((0,r.wg)(),(0,r.j4)(se,{key:0})):((0,r.wg)(),(0,r.iD)("div",o,[Object.keys(ne.transfers).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",i,"No torrent transfers in progress")),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(ne.transfers,(function(n,a){return(0,r.wg)(),(0,r.iD)("div",{class:(0,s.C_)(["row item",{selected:ne.selectedItem===a}]),key:a,onClick:function(e){return ne.selectedItem=a}},[(0,r._)("div",c,[(0,r._)("i",{class:(0,s.C_)(["icon fa",{"fa-check":null!=n.finish_date,"fa-play":!n.finish_date&&"downloading"===n.state,"fa-pause":!n.finish_date&&"paused"===n.state,"fa-stop":!n.finish_date&&"stopped"===n.state}])},null,2),(0,r._)("div",{class:"title",textContent:(0,s.zw)(n.name||n.hash||n.url)},null,8,u)]),(0,r._)("div",d,[(0,r._)("span",{textContent:(0,s.zw)("".concat(n.progress,"%"))},null,8,f)]),(0,r._)("div",v,[(0,r.Wm)(oe,{title:"Actions","icon-class":"fa fa-ellipsis-h",onClick:function(e){return ne.selectedItem=a}},{default:(0,r.w5)((function(){return["downloading"===n.state?((0,r.wg)(),(0,r.j4)(ae,{key:0,"icon-class":"fa fa-pause",text:"Pause transfer",onClick:function(e){return re.pause(re.torrentId(n))}},null,8,["onClick"])):(0,r.kq)("",!0),"paused"===n.state?((0,r.wg)(),(0,r.j4)(ae,{key:1,"icon-class":"fa fa-play",text:"Resume transfer",onClick:function(e){return re.resume(re.torrentId(n))}},null,8,["onClick"])):(0,r.kq)("",!0),(0,r.Wm)(ae,{"icon-class":"fa fa-trash",text:"Remove transfer",onClick:function(e){return re.remove(re.torrentId(n))}},null,8,["onClick"]),(0,r.Wm)(ae,{"icon-class":"fa fa-folder",text:"View files",onClick:t[0]||(t[0]=function(t){return e.$refs.torrentFiles.isVisible=!0})}),(0,r.Wm)(ae,{"icon-class":"fa fa-info",text:"Torrent info",onClick:t[1]||(t[1]=function(t){return e.$refs.torrentInfo.isVisible=!0})})]})),_:2},1032,["onClick"])])],10,l)})),128)),(0,r.Wm)(ie,{ref:"torrentInfo",title:"Torrent info",width:"80%"},{default:(0,r.w5)((function(){return[null!=ne.selectedItem&&ne.transfers[ne.selectedItem]?((0,r.wg)(),(0,r.iD)("div",m,[ne.transfers[ne.selectedItem].name?((0,r.wg)(),(0,r.iD)("div",p,[h,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].name)},null,8,w)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].state?((0,r.wg)(),(0,r.iD)("div",g,[_,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].state)},null,8,k)])):(0,r.kq)("",!0),(0,r._)("div",C,[x,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(ne.transfers[ne.selectedItem].progress||0,"%"))},null,8,y)]),(0,r._)("div",I,[D,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(e.convertSize(ne.transfers[ne.selectedItem].download_rate||0),"/s"))},null,8,b)]),(0,r._)("div",z,[T,(0,r._)("div",{class:"value",textContent:(0,s.zw)("".concat(e.convertSize(ne.transfers[ne.selectedItem].upload_rate||0),"/s"))},null,8,q)]),(0,r._)("div",R,[S,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.convertSize(ne.transfers[ne.selectedItem].size||0))},null,8,E)]),ne.transfers[ne.selectedItem].remaining_bytes?((0,r.wg)(),(0,r.iD)("div",Z,[N,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.convertSize(ne.transfers[ne.selectedItem].remaining_bytes))},null,8,W)])):(0,r.kq)("",!0),(0,r._)("div",j,[P,(0,r._)("div",F,[(0,r._)("a",{href:ne.transfers[ne.selectedItem].url,target:"_blank",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].url)},null,8,L)])]),(0,r._)("div",M,[U,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].peers||0)},null,8,V)]),ne.transfers[ne.selectedItem].start_date?((0,r.wg)(),(0,r.iD)("div",$,[H,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(ne.transfers[ne.selectedItem].start_date))},null,8,K)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].finish_date?((0,r.wg)(),(0,r.iD)("div",O,[Y,(0,r._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(ne.transfers[ne.selectedItem].finish_date))},null,8,A)])):(0,r.kq)("",!0),ne.transfers[ne.selectedItem].save_path?((0,r.wg)(),(0,r.iD)("div",B,[Q,(0,r._)("div",{class:"value",textContent:(0,s.zw)(ne.transfers[ne.selectedItem].save_path)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r.Wm)(ie,{ref:"torrentFiles",title:"Torrent files",width:"80%"},{default:(0,r.w5)((function(){return[null!=ne.selectedItem&&ne.transfers[ne.selectedItem]?((0,r.wg)(),(0,r.iD)("div",J,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(re.relativeFiles,(function(t,a){return(0,r.wg)(),(0,r.iD)("div",{class:"row",key:t},[(0,r._)("div",X,[n.isMedia&&e.mediaExtensions.has(t.split(".").pop())?((0,r.wg)(),(0,r.j4)(oe,{key:0},{default:(0,r.w5)((function(){return[(0,r.Wm)(ae,{"icon-class":"fa fa-play",text:"Play",onClick:function(t){return e.$emit("play",{url:"file://".concat(ne.transfers[ne.selectedItem].files[a]),type:"file"})}},null,8,["onClick"])]})),_:2},1024)):((0,r.wg)(),(0,r.iD)("i",ee))]),(0,r._)("div",{class:"col-11 name",textContent:(0,s.zw)(t)},null,8,te)])})),128))])):(0,r.kq)("",!0)]})),_:1},512)]))}var re=n(8534),se=(n(5666),n(1249),n(1539),n(2479),n(3948),n(1232)),ae=n(6813),oe=n(8337),ie=n(8453),le=n(5771),ce=n(9015),ue={name:"View",emits:["play","play-with-captions"],components:{Dropdown:le.Z,DropdownItem:ce.Z,Loading:se.Z,Modal:ie.Z},mixins:[ae.Z,oe.Z],props:{pluginName:{type:String,required:!0},isMedia:{type:Boolean,default:!1}},data:function(){return{loading:!1,transfers:{},selectedItem:null}},computed:{relativeFiles:function(){var e,t;return null!=this.selectedItem&&null!==(e=this.transfers[this.selectedItem])&&void 0!==e&&null!==(t=e.files)&&void 0!==t&&t.length?this.transfers[this.selectedItem].files.map((function(e){return e.split("/").pop()})):[]}},methods:{torrentId:function(e){return null!==e&&void 0!==e&&e.hash&&e.hash.length?e.hash:e.url},refresh:function(){var e=this;return(0,re.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.t0=Object,t.next=5,e.request("".concat(e.pluginName,".status"));case 5:if(t.t1=t.sent,t.t1){t.next=8;break}t.t1={};case 8:t.t2=t.t1,e.transfers=t.t0.values.call(t.t0,t.t2).reduce((function(t,n){return t[e.torrentId(n)]=n,t}),{});case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},pause:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".pause"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},resume:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".resume"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},remove:function(e){var t=this;return(0,re.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".remove"),{torrent:e});case 2:return n.next=4,t.refresh();case 4:case"end":return n.stop()}}),n)})))()},onTorrentUpdate:function(e){this.transfers[this.torrentId(e)]=e},onTorrentRemove:function(e){var t=this.torrentId(e);t in this.transfers&&delete this.transfers[t]}},mounted:function(){this.refresh(),this.subscribe(this.onTorrentUpdate,"on-torrent-update","platypush.message.event.torrent.TorrentQueuedEvent","platypush.message.event.torrent.TorrentDownloadedMetadataEvent","platypush.message.event.torrent.TorrentDownloadStartEvent","platypush.message.event.torrent.TorrentDownloadProgressEvent","platypush.message.event.torrent.TorrentResumedEvent","platypush.message.event.torrent.TorrentPausedEvent","platypush.message.event.torrent.TorrentSeedingStartEvent","platypush.message.event.torrent.TorrentStateChangeEvent","platypush.message.event.torrent.TorrentDownloadStopEvent","platypush.message.event.torrent.TorrentDownloadCompletedEvent"),this.subscribe(this.onTorrentRemove,"on-torrent-remove","platypush.message.event.torrent.TorrentRemovedEvent")},destroy:function(){this.unsubscribe("on-torrent-update"),this.unsubscribe("on-torrent-remove")}},de=n(3744);const fe=(0,de.Z)(ue,[["render",ne],["__scopeId","data-v-7eb04934"]]);var ve=fe}}]); +//# sourceMappingURL=779-legacy.b22c1cc7.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js.map b/platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js.map rename to platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js.map index 0fdebeeea..050850e6d 100644 --- a/platypush/backend/http/webapp/dist/static/js/779-legacy.d96325bc.js.map +++ b/platypush/backend/http/webapp/dist/static/js/779-legacy.b22c1cc7.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/779-legacy.d96325bc.js","mappings":"sRAGOA,MAAM,6B,SACJA,MAAM,c,iBAIJA,MAAM,mB,qBAUNA,MAAM,oB,qBAINA,MAAM,oB,SAcNA,MAAM,2B,SACJA,MAAM,O,uBACT,OAA4B,OAAvBA,MAAM,QAAO,QAAI,E,+BAInBA,MAAM,O,uBACT,OAA6B,OAAxBA,MAAM,QAAO,SAAK,E,yBAIpBA,MAAM,O,uBACT,OAAgC,OAA3BA,MAAM,QAAO,YAAQ,E,yBAIvBA,MAAM,O,uBACT,OAA+B,OAA1BA,MAAM,QAAO,WAAO,E,yBAItBA,MAAM,O,uBACT,OAA+B,OAA1BA,MAAM,QAAO,WAAO,E,yBAItBA,MAAM,O,uBACT,OAA4B,OAAvBA,MAAM,QAAO,QAAI,E,+BAInBA,MAAM,O,uBACT,OAAiC,OAA5BA,MAAM,QAAO,aAAS,E,yBAIxBA,MAAM,O,uBACT,OAA2B,OAAtBA,MAAM,QAAO,OAAG,E,OAChBA,MAAM,gB,4BAKRA,MAAM,O,uBACT,OAA6B,OAAxBA,MAAM,QAAO,SAAK,E,+BAIpBA,MAAM,O,uBACT,OAA+B,OAA1BA,MAAM,QAAO,WAAO,E,+BAItBA,MAAM,O,uBACT,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MAAMC,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASC,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["class","loading","Object","keys","transfers","length","torrent","i","selectedItem","key","name","hash","url","progress","title","state","text","pause","torrentId","resume","remove","$refs","torrentFiles","isVisible","torrentInfo","ref","width","convertSize","download_rate","upload_rate","size","remaining_bytes","href","target","peers","start_date","finish_date","save_path","relativeFiles","file","isMedia","mediaExtensions","has","split","pop","$emit","files","emits","components","Dropdown","DropdownItem","Loading","Modal","mixins","Utils","props","pluginName","type","String","required","Boolean","default","data","computed","this","map","methods","refresh","request","values","reduce","obj","onTorrentUpdate","onTorrentRemove","mounted","subscribe","destroy","unsubscribe","__exports__","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/779-legacy.b22c1cc7.js","mappings":"sRAGOA,MAAM,6B,SACJA,MAAM,c,iBAIJA,MAAM,mB,qBAUNA,MAAM,oB,qBAINA,MAAM,oB,SAcNA,MAAM,2B,SACJA,MAAM,O,uBACT,OAA4B,OAAvBA,MAAM,QAAO,QAAI,E,+BAInBA,MAAM,O,uBACT,OAA6B,OAAxBA,MAAM,QAAO,SAAK,E,yBAIpBA,MAAM,O,uBACT,OAAgC,OAA3BA,MAAM,QAAO,YAAQ,E,yBAIvBA,MAAM,O,uBACT,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,GACd0D,KAAK5D,UAAU4D,KAAK9C,UAAUZ,IAAYA,CAC3C,EAEDmE,gBAzCO,SAyCSnE,GACd,IAAMY,EAAY8C,KAAK9C,UAAUZ,GAC7BY,KAAa8C,KAAK5D,kBACb4D,KAAK5D,UAAUc,EACzB,GAGHwD,QAlFa,WAmFXV,KAAKG,UAELH,KAAKW,UACDX,KAAKQ,gBAAgB,oBACrB,qDACA,iEACA,4DACA,+DACA,sDACA,qDACA,2DACA,0DACA,2DACA,iEAEJR,KAAKW,UAAUX,KAAKS,gBAAgB,oBAChC,sDACL,EAEDG,QAtGa,WAuGXZ,KAAKa,YAAY,qBACjBb,KAAKa,YAAY,oBAClB,G,WCjOH,MAAMC,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASC,IAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./src/components/panels/Torrent/View.vue","webpack://platypush/./src/components/panels/Torrent/View.vue?80df"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./View.vue?vue&type=template&id=7eb04934&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=7eb04934&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7eb04934\"]])\n\nexport default __exports__"],"names":["class","loading","Object","keys","transfers","length","torrent","i","selectedItem","key","name","hash","url","progress","title","state","text","pause","torrentId","resume","remove","$refs","torrentFiles","isVisible","torrentInfo","ref","width","convertSize","download_rate","upload_rate","size","remaining_bytes","href","target","peers","start_date","finish_date","save_path","relativeFiles","file","isMedia","mediaExtensions","has","split","pop","$emit","files","emits","components","Dropdown","DropdownItem","Loading","Modal","mixins","Utils","props","pluginName","type","String","required","Boolean","default","data","computed","this","map","methods","refresh","request","values","reduce","obj","onTorrentUpdate","onTorrentRemove","mounted","subscribe","destroy","unsubscribe","__exports__","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js b/platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js rename to platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js index 904175146..d54db557d 100644 --- a/platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js +++ b/platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8184,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},8184:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"cv"})}var i=e(5528),r={name:"CameraCv",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); -//# sourceMappingURL=8184.59bd4708.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8184,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],k=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),z=[k],x=(0,s._)("i",{class:"fas fa-cog"},null,-1),F=[x],U={class:"audio-container"},$={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},q={class:"row"},P=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),G={class:"row"},I=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},z)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},F)])])]),(0,s._)("div",U,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",$,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",q,[P,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(k,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",G,[I,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},8184:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"cv"})}var i=e(5528),r={name:"CameraCv",components:{Camera:i["default"]}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); +//# sourceMappingURL=8184.6859ae89.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js.map b/platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js.map rename to platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js.map index 4f4b5a940..4919c37b5 100644 --- a/platypush/backend/http/webapp/dist/static/js/8184.59bd4708.js.map +++ b/platypush/backend/http/webapp/dist/static/js/8184.6859ae89.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/8184.59bd4708.js","mappings":"sMACOA,MAAM,U,GACJA,M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MxC,KAAKxB,MAAMS,SAASe,KAAKpB,eAC3CoB,KAAKwC,QAAO,IAAMxC,KAAKxB,MAAMU,SAASc,KAAKpB,cAC5C,GC/HH,MAAM6D,GAAc,GAEpB,U,WFgHA,IACEpE,KAAM,SACNqE,WAAY,CAACC,MAAK,MAClBpD,OAAQ,CAAC,IACTE,MAAO,CACLC,aAAc,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAA6B,GAArB,gBAAc,M,eAMxB,GACE3E,KAAM,WACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraCv/Index.vue","webpack://platypush/./src/components/panels/CameraCv/Index.vue?6f97"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=351194be\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/8184.6859ae89.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAAgC,KAA7BA,MAAM,sBAAoB,S,GAA7B,G,GAIA,OAA8B,KAA3BA,MAAM,oBAAkB,S,GAA3B,G,GAIA,OAAwB,KA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AGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAA6B,GAArB,gBAAc,M,eAMxB,GACE3E,KAAM,WACNqE,WAAY,CAACO,OAAM,e,UCJrB,MAAMR,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraCv/Index.vue","webpack://platypush/./src/components/panels/CameraCv/Index.vue?6f97"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=351194be\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js b/platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js rename to platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js index 6792e1dcf..feb1c20bc 100644 --- a/platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js +++ b/platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),s=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],r=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-a6396ae8"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-7c8cf1b7"),e=e(),(0,i.Cn)(),e},s={class:"switches switchbot-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"Address",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var b=(0,i.up)("Loading"),y=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No SwitchBot switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(y,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),b=t(4004),y=t(8671),k=t(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:y.Z,Loading:_.Z},mixins:[b.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var x=D}}]); -//# sourceMappingURL=9694-legacy.b055b72c.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),s=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],r=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-a6396ae8"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(6813)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-7c8cf1b7"),e=e(),(0,i.Cn)(),e},s={class:"switches switchbot-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"Address",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var b=(0,i.up)("Loading"),y=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No SwitchBot switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(y,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),b=t(4004),y=t(8671),k=t(8453),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:y.Z,Loading:_.Z},mixins:[b.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var x=D}}]); +//# sourceMappingURL=9694-legacy.a11c42e2.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js.map b/platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js.map rename to platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js.map index 3aa4ef638..f94898221 100644 --- a/platypush/backend/http/webapp/dist/static/js/9694-legacy.b055b72c.js.map +++ b/platypush/backend/http/webapp/dist/static/js/9694-legacy.a11c42e2.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/9694-legacy.b055b72c.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MA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AgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/9694-legacy.a11c42e2.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,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AQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.18f23891.js b/platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js similarity index 97% rename from platypush/backend/http/webapp/dist/static/js/9694.18f23891.js rename to platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js index fb91acd86..6af752a75 100644 --- a/platypush/backend/http/webapp/dist/static/js/9694.18f23891.js +++ b/platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(6252),i=n(3577),o=n(9963);const a=e=>((0,s.dD)("data-v-a6396ae8"),e=e(),(0,s.Cn)(),e),l=["checked"],c=a((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,s._)("label",null,[c,(0,s._)("span",d,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var s=n(6813),i={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=i;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),o=n(3577);const a=e=>((0,s.dD)("data-v-38eb9831"),e=e(),(0,s.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,s._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,s.up)("Loading"),v=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,s.wg)(),(0,s.j4)(g,{key:0})):(0,s.kq)("",!0),(0,s._)("div",l,[n.hasInfo?((0,s.wg)(),(0,s.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,s.kq)("",!0),(0,s._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,s._)("div",r,[(0,s.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6),v=n(1232),f={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const w=(0,p.Z)(f,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var s=n(6252),i=n(3577);const o=e=>((0,s.dD)("data-v-7c8cf1b7"),e=e(),(0,s.Cn)(),e),a={class:"switches switchbot-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,s._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,s._)("div",{class:"name"},"On",-1))),v=["textContent"],f={class:"row"},p=o((()=>(0,s._)("div",{class:"name"},"Address",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,s.up)("Loading"),b=(0,s.up)("Switch"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",a,[e.loading?((0,s.wg)(),(0,s.j4)(y,{key:0})):Object.keys(e.devices).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",l,"No SwitchBot switches found.")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.devices,((t,n)=>((0,s.wg)(),(0,s.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,s.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,s.w5)((()=>[e.selectedDevice?((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",d,[u,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,s._)("div",h,[g,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,s._)("div",f,[p,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,s.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var Z=D}}]); -//# sourceMappingURL=9694.18f23891.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(6252),i=n(3577),o=n(9963);const a=e=>((0,s.dD)("data-v-a6396ae8"),e=e(),(0,s.Cn)(),e),l=["checked"],c=a((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,s._)("label",null,[c,(0,s._)("span",d,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var s=n(6813),i={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=i;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),o=n(3577);const a=e=>((0,s.dD)("data-v-38eb9831"),e=e(),(0,s.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,s._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,s.up)("Loading"),v=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,s.wg)(),(0,s.j4)(g,{key:0})):(0,s.kq)("",!0),(0,s._)("div",l,[n.hasInfo?((0,s.wg)(),(0,s.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,s.kq)("",!0),(0,s._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,s._)("div",r,[(0,s.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6),v=n(1232),f={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const w=(0,p.Z)(f,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var s=n(6252),i=n(3577);const o=e=>((0,s.dD)("data-v-7c8cf1b7"),e=e(),(0,s.Cn)(),e),a={class:"switches switchbot-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,s._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,s._)("div",{class:"name"},"On",-1))),v=["textContent"],f={class:"row"},p=o((()=>(0,s._)("div",{class:"name"},"Address",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,s.up)("Loading"),b=(0,s.up)("Switch"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",a,[e.loading?((0,s.wg)(),(0,s.j4)(y,{key:0})):Object.keys(e.devices).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",l,"No SwitchBot switches found.")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.devices,((t,n)=>((0,s.wg)(),(0,s.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,s.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,s.w5)((()=>[e.selectedDevice?((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",d,[u,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,s._)("div",h,[g,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,s._)("div",f,[p,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,s.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(8453),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var Z=D}}]); +//# sourceMappingURL=9694.6487ada9.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.18f23891.js.map b/platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/9694.18f23891.js.map rename to platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js.map index 9feee86f7..cdc546afc 100644 --- a/platypush/backend/http/webapp/dist/static/js/9694.18f23891.js.map +++ b/platypush/backend/http/webapp/dist/static/js/9694.6487ada9.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/9694.18f23891.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAA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,EAAA6B,gBAAgBkC,UAAnD,gBAbJ,kB,KADF,M,6CA2BJ,GACEzD,KAAM,qBACN6C,WAAY,CAACa,MAAD,IAAQC,OAAR,IAAgBb,QAAO,KACnCnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/9694.6487ada9.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,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witch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892-legacy.4cf77440.js b/platypush/backend/http/webapp/dist/static/js/9892-legacy.4cf77440.js new file mode 100644 index 000000000..b16cf51e3 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9892-legacy.4cf77440.js @@ -0,0 +1,2 @@ +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9892],{4964:function(t,e,n){var i=n(5112),r=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(i){}}return!1}},3929:function(t,e,n){var i=n(7850),r=TypeError;t.exports=function(t){if(i(t))throw r("The method doesn't accept regular expressions");return t}},6755:function(t,e,n){"use strict";var i=n(2109),r=n(1702),o=n(1236).f,u=n(7466),l=n(1340),s=n(3929),a=n(4488),c=n(4964),d=n(1913),f=r("".startsWith),p=r("".slice),v=Math.min,m=c("startsWith"),h=!d&&!m&&!!function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!h&&!m},{startsWith:function(t){var e=l(a(this));s(t);var n=u(v(arguments.length>1?arguments[1]:void 0,e.length)),i=l(t);return f?f(e,i,n):p(e,n,n+i.length)===i}})},9892:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(6252),r={class:"row item entity-container"};function o(t,e,n,o,u,l){var s;return(0,i.wg)(),(0,i.iD)("div",r,[((0,i.wg)(),(0,i.j4)((0,i.LL)(u.component),{value:t.value,loading:t.loading,error:t.error||0==(null===(s=t.value)||void 0===s?void 0:s.reachable),onInput:e[0]||(e[0]=function(e){return t.$emit("input",e)}),onLoading:e[1]||(e[1]=function(e){return t.$emit("loading",e)})},null,8,["value","loading","error"]))])}n(1539),n(8783),n(3948);var u=n(7909),l={name:"Entity",mixins:[u["default"]],emits:["input","loading"],data:function(){return{component:null}},mounted:function(){var t=this;"Entity"!==this.type&&(this.component=(0,i.RC)((function(){return n(7243)("./".concat(t.type))})))}},s=n(3744);const a=(0,s.Z)(l,[["render",o],["__scopeId","data-v-3c242632"]]);var c=a},7909:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return u}});n(7042);var i=n(6813),r={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0}},data:function(){return{modalVisible:!1}},computed:{type:function(){var t=this.value.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}};const o=r;var u=o},914:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return A}});n(7941),n(8309);var i=n(6252),r=n(3577),o=function(t){return(0,i.dD)("data-v-fef021ee"),t=t(),(0,i.Cn)(),t},u={class:"row plugin entities-container"},l={class:"col-11 left"},s={class:"col-1 right"},a=o((function(){return(0,i._)("i",{class:"fa fa-sync-alt"},null,-1)})),c=[a],d={class:"groups-canvas"},f=(0,i.Uk)("No entities found"),p={key:2,class:"groups-container"},v={class:"frame"},m={class:"header"},h={class:"section left"},y={class:"section center"},g=["textContent"],w=["textContent"],_={class:"section right"},b=["onClick"],k=o((function(){return(0,i._)("i",{class:"fa fa-sync-alt"},null,-1)})),E=[k],x={class:"body"},C=["onClick"];function I(t,e,n,o,a,k){var I,D=(0,i.up)("Loading"),G=(0,i.up)("Selector"),T=(0,i.up)("EntityModal"),Z=(0,i.up)("NoItems"),j=(0,i.up)("Icon"),S=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",u,[a.loading?((0,i.wg)(),(0,i.j4)(D,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",l,[(0,i.Wm)(G,{"entity-groups":k.entityGroups,value:a.selector,onInput:e[0]||(e[0]=function(t){return a.selector=t})},null,8,["entity-groups","value"])]),(0,i._)("div",s,[(0,i._)("button",{title:"Refresh",onClick:e[1]||(e[1]=function(t){return k.refresh(null)})},c)])]),(0,i._)("div",d,[a.modalEntityId?((0,i.wg)(),(0,i.j4)(T,{key:0,entity:a.entities[a.modalEntityId],visible:a.modalVisible,onClose:e[2]||(e[2]=function(t){return k.onEntityModal(null)})},null,8,["entity","visible"])):(0,i.kq)("",!0),null!==(I=Object.keys(k.displayGroups||{}))&&void 0!==I&&I.length?((0,i.wg)(),(0,i.iD)("div",p,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(k.displayGroups,(function(t){var e,n;return(0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:t.name},[(0,i._)("div",v,[(0,i._)("div",m,[(0,i._)("span",h,["type"===a.selector.grouping&&k.entitiesMeta[t.name]?((0,i.wg)(),(0,i.j4)(j,(0,r.vs)((0,i.dG)({key:0},k.entitiesMeta[t.name].icon||{})),null,16)):"plugin"===a.selector.grouping&&k.pluginIcons[t.name]?((0,i.wg)(),(0,i.j4)(j,{key:1,class:(0,r.C_)(null===(e=k.pluginIcons[t.name])||void 0===e?void 0:e.class),url:null===(n=k.pluginIcons[t.name])||void 0===n?void 0:n.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",y,["type"===a.selector.grouping&&k.entitiesMeta[t.name]?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,r.zw)(k.entitiesMeta[t.name].name_plural)},null,8,g)):"plugin"===a.selector.grouping?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"title",textContent:(0,r.zw)(t.name)},null,8,w)):(0,i.kq)("",!0)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:function(e){return k.refresh(t)}},E,8,b)])]),(0,i._)("div",x,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.entities,(function(t){return(0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",onClick:function(e){return k.onEntityModal(t.id)},key:t.id},[(0,i.Wm)(S,{value:t,onInput:k.onEntityInput,error:!!a.errorEntities[t.id],loading:!!a.loadingEntities[t.id],onLoading:function(e){return a.loadingEntities[t.id]=e}},null,8,["value","onInput","error","loading","onLoading"])],8,C)})),128))])])])})),128))])):((0,i.wg)(),(0,i.j4)(Z,{key:1},{default:(0,i.w5)((function(){return[f]})),_:1}))])])}var D=n(4648),G=n(8534),T=n(6084),Z=(n(5666),n(9653),n(1539),n(9720),n(1249),n(2707),n(7327),n(2479),n(6813)),j=n(1232),S=n(1478),O={class:"no-items-container"},q={class:"no-items fade-in"};function M(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("div",O,[(0,i._)("div",q,[(0,i.WI)(t.$slots,"default",{},void 0,!0)])])}var U={name:"NoItems"},R=n(3744);const N=(0,R.Z)(U,[["render",M],["__scopeId","data-v-6fec32b5"]]);var $=N,L=n(9892),z=n(6647),W=n(6243),F=n(1359),V=n(7369),B={name:"Entities",components:{Loading:j.Z,Icon:S.Z,Entity:L["default"],Selector:z["default"],NoItems:$,EntityModal:W["default"]},mixins:[Z.Z],props:{entityScanTimeout:{type:Number,default:30}},data:function(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"type",selectedEntities:{}}}},computed:{entitiesMeta:function(){return V},pluginIcons:function(){return F},entityGroups:function(){return{id:Object.entries(this.groupEntities("id")).reduce((function(t,e){var n=(0,T.Z)(e,2),i=n[0],r=n[1];return t[i]=r[0],t}),{}),type:this.groupEntities("type"),plugin:this.groupEntities("plugin")}},displayGroups:function(){var t=this;return Object.entries(this.entityGroups[this.selector.grouping]).filter((function(e){return e[1].filter((function(e){return!!t.selector.selectedEntities[e.id]})).length>0})).sort((function(t,e){return t[0].localeCompare(e[0])})).map((function(e){var n=(0,T.Z)(e,2),i=n[0],r=n[1];return{name:i,entities:r.filter((function(e){return e.id in t.selector.selectedEntities}))}}))}},methods:{groupEntities:function(t){return Object.values(this.entities).reduce((function(e,n){var i=e[n[t]]||{};return i[n.id]=n,e[n[t]]=Object.values(i).sort((function(t,e){return t.name.localeCompare(e.name)})),e}),{})},refresh:function(t){var e=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){var i,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=(t?t.entities:e.entities)||{},r={},t&&(r.plugins=Object.keys(i.reduce((function(t,e){return t[e.plugin]=!0,t}),{}))),e.loadingEntities=Object.values(i).reduce((function(t,n){var i=e,r=n.id;return e.entityTimeouts[r]&&clearTimeout(e.entityTimeouts[r]),e.entityTimeouts[r]=setTimeout((function(){i.loadingEntities[r]&&delete i.loadingEntities[r],i.entityTimeouts[r]&&delete i.entityTimeouts[r],i.errorEntities[r]=n,i.notify({error:!0,title:n.plugin,text:"Scan timeout for ".concat(n.name)})}),1e3*e.entityScanTimeout),t[r]=!0,t}),{}),n.next=6,e.request("entities.scan",r);case 6:case"end":return n.stop()}}),n)})))()},sync:function(){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.request("entities.get");case 4:t.entities=e.sent.reduce((function(t,e){var n;return e.name=(null===e||void 0===e||null===(n=e.meta)||void 0===n?void 0:n.name_override)||e.name,e.meta=(0,D.Z)((0,D.Z)({},V[e.type]||{}),e.meta||{}),t[e.id]=e,t}),{}),t.selector.selectedEntities=t.entityGroups.id;case 6:return e.prev=6,t.loading=!1,e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[1,,6,9]])})))()},clearEntityTimeouts:function(t){this.errorEntities[t]&&delete this.errorEntities[t],this.loadingEntities[t]&&delete this.loadingEntities[t],this.entityTimeouts[t]&&(clearTimeout(this.entityTimeouts[t]),delete this.entityTimeouts[t])},onEntityInput:function(t){this.entities[t.id]=t,this.clearEntityTimeouts(t.id),this.loadingEntities[t.id]&&delete this.loadingEntities[t.id]},onEntityUpdate:function(t){var e,n,i,r,o,u,l,s,a,c,d,f=t.entity.id;if(null!=f){this.clearEntityTimeouts(f);var p=(0,D.Z)({},t.entity);null==(null===(e=t.entity)||void 0===e?void 0:e.state)&&(p.state=null===(n=this.entities[f])||void 0===n?void 0:n.state),null!==(i=p.meta)&&void 0!==i&&null!==(r=i.name_override)&&void 0!==r&&r.length?p.name=p.meta.name_override:null!==(o=this.entities[f])&&void 0!==o&&null!==(u=o.meta)&&void 0!==u&&null!==(l=u.name_override)&&void 0!==l&&l.length?p.name=this.entities[f].meta.name_override:p.name=(null===(s=t.entity)||void 0===s?void 0:s.name)||(null===(a=this.entities[f])||void 0===a?void 0:a.name),p.meta=(0,D.Z)((0,D.Z)((0,D.Z)({},V[t.entity.type]||{}),(null===(c=this.entities[f])||void 0===c?void 0:c.meta)||{}),(null===(d=t.entity)||void 0===d?void 0:d.meta)||{}),this.entities[f]=p}},onEntityDelete:function(t){var e,n=null===(e=t.entity)||void 0===e?void 0:e.id;null!=n&&(n===this.modalEntityId&&(this.modalEntityId=null),this.entities[n]&&delete this.entities[n])},onEntityModal:function(t){t?(this.modalEntityId=t,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},mounted:function(){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.subscribe(t.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),t.subscribe(t.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),e.next=4,t.sync();case 4:return e.next=6,t.refresh();case 6:case"end":return e.stop()}}),e)})))()}};const K=(0,R.Z)(B,[["render",I],["__scopeId","data-v-fef021ee"]]);var A=K},6243:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return Lt}});n(8309),n(2526),n(1817);var i=n(6252),r=n(3577),o=function(t){return(0,i.dD)("data-v-628ff73f"),t=t(),(0,i.Cn)(),t},u=(0,i.Uk)(" Are you "),l=o((function(){return(0,i._)("b",null,"sure",-1)})),s=(0,i.Uk)(" that you want to delete this entity? "),a=o((function(){return(0,i._)("br",null,null,-1)})),c=o((function(){return(0,i._)("br",null,null,-1)})),d=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),f=o((function(){return(0,i._)("br",null,null,-1)})),p=o((function(){return(0,i._)("br",null,null,-1)})),v=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),m={class:"table-row"},h={class:"title"},y=(0,i.Uk)(" Name "),g={class:"value"},w=["textContent"],_={class:"table-row"},b={class:"title"},k=(0,i.Uk)(" Icon "),E={class:"value icon-canvas"},x={key:0,class:"icon-editor"},C=o((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),I=[C],D=o((function(){return(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1)})),G={class:"table-row"},T=o((function(){return(0,i._)("div",{class:"title"}," Icon color ",-1)})),Z={class:"value icon-color-picker"},j=["value"],S=o((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),O=[S],q={class:"table-row"},M=o((function(){return(0,i._)("div",{class:"title"},"Plugin",-1)})),U=["textContent"],R={class:"table-row"},N=o((function(){return(0,i._)("div",{class:"title"},"Internal ID",-1)})),$=["textContent"],L={key:0,class:"table-row"},z=o((function(){return(0,i._)("div",{class:"title"},"External ID",-1)})),W=["textContent"],F={key:1,class:"table-row"},V=o((function(){return(0,i._)("div",{class:"title"},"Description",-1)})),B=["textContent"],K={key:0,class:"table-row"},A=["textContent"],H=["textContent"],Y={key:2,class:"table-row"},P=o((function(){return(0,i._)("div",{class:"title"},"Created at",-1)})),J=["textContent"],Q={key:3,class:"table-row"},X=o((function(){return(0,i._)("div",{class:"title"},"Updated at",-1)})),tt=["textContent"],et={class:"table-row delete-entity-container"},nt=o((function(){return(0,i._)("div",{class:"title"},"Delete Entity",-1)})),it={class:"value"},rt=o((function(){return(0,i._)("i",{class:"fas fa-trash"},null,-1)})),ot=[rt];function ut(t,e,n,o,C,S){var rt=(0,i.up)("ConfirmDialog"),ut=(0,i.up)("EditButton"),lt=(0,i.up)("NameEditor"),st=(0,i.up)("Icon"),at=(0,i.up)("Modal",!0);return(0,i.wg)(),(0,i.j4)(at,{visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((function(){var o,at,ct,dt,ft,pt,vt,mt;return[(0,i.Wm)(rt,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:S.onDelete},{default:(0,i.w5)((function(){return[u,l,s,a,c,d,f,p,v]})),_:1},8,["onInput"]),(0,i._)("div",m,[(0,i._)("div",h,[y,C.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ut,{key:0,onClick:e[0]||(e[0]=function(t){return C.editName=!0})}))]),(0,i._)("div",g,[C.editName?((0,i.wg)(),(0,i.j4)(lt,{key:0,value:n.entity.name,onInput:S.onRename,onCancel:e[1]||(e[1]=function(t){return C.editName=!1}),disabled:C.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,r.zw)(n.entity.name)},null,8,w))])]),(0,i._)("div",_,[(0,i._)("div",b,[k,C.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ut,{key:0,onClick:e[2]||(e[2]=function(t){return C.editIcon=!0})}))]),(0,i._)("div",E,[C.editIcon?((0,i.wg)(),(0,i.iD)("span",x,[(0,i.Wm)(lt,{value:(null===(o=n.entity.meta)||void 0===o||null===(at=o.icon)||void 0===at?void 0:at.class)||(null===(ct=n.entity.meta)||void 0===ct||null===(dt=ct.icon)||void 0===dt?void 0:dt.url),onInput:S.onIconEdit,onCancel:e[5]||(e[5]=function(t){return C.editIcon=!1}),disabled:C.loading},{default:(0,i.w5)((function(){return[(0,i._)("button",{type:"button",title:"Reset",onClick:e[3]||(e[3]=function(t){return S.onIconEdit(null)}),onTouch:e[4]||(e[4]=function(t){return S.onIconEdit(null)})},I,32)]})),_:1},8,["value","onInput","disabled"]),D])):((0,i.wg)(),(0,i.j4)(st,(0,r.vs)((0,i.dG)({key:1},(null===(ft=n.entity)||void 0===ft||null===(pt=ft.meta)||void 0===pt?void 0:pt.icon)||{})),null,16))])]),(0,i._)("div",G,[T,(0,i._)("div",Z,[(0,i._)("input",{type:"color",value:null===(vt=n.entity.meta)||void 0===vt||null===(mt=vt.icon)||void 0===mt?void 0:mt.color,onChange:e[6]||(e[6]=function(){return S.onIconColorEdit&&S.onIconColorEdit.apply(S,arguments)})},null,40,j),(0,i._)("button",{type:"button",title:"Reset",onClick:e[7]||(e[7]=function(t){return S.onIconColorEdit(null)}),onTouch:e[8]||(e[8]=function(t){return S.onIconColorEdit(null)})},O,32)])]),(0,i._)("div",q,[M,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.plugin)},null,8,U)]),(0,i._)("div",R,[N,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.id)},null,8,$)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",L,[z,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.external_id)},null,8,W)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",F,[V,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.description)},null,8,B)])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},(function(e,n){return(0,i.wg)(),(0,i.iD)("div",{key:n},[null!=e?((0,i.wg)(),(0,i.iD)("div",K,[(0,i._)("div",{class:"title",textContent:(0,r.zw)(t.prettify(n))},null,8,A),(0,i._)("div",{class:"value",textContent:(0,r.zw)(""+e)},null,8,H)])):(0,i.kq)("",!0)])})),128)),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",Y,[P,(0,i._)("div",{class:"value",textContent:(0,r.zw)(t.formatDateTime(n.entity.created_at))},null,8,J)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",Q,[X,(0,i._)("div",{class:"value",textContent:(0,r.zw)(t.formatDateTime(n.entity.updated_at))},null,8,tt)])):(0,i.kq)("",!0),(0,i._)("div",et,[nt,(0,i._)("div",it,[(0,i._)("button",{onClick:e[9]||(e[9]=function(e){return t.$refs.deleteConfirmDiag.show()})},ot)])])]})),_:1},8,["visible","title"])}var lt=n(8534),st=(n(6755),n(5666),n(8453)),at=n(1478),ct=n(9963),dt=function(t){return(0,i.dD)("data-v-d543b3e4"),t=t(),(0,i.Cn)(),t},ft={class:"dialog-content"},pt=dt((function(){return(0,i._)("i",{class:"fas fa-check"},null,-1)})),vt=dt((function(){return(0,i._)("i",{class:"fas fa-xmark"},null,-1)}));function mt(t,e,n,o,u,l){var s=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(s,{ref:"modal",title:n.title},{default:(0,i.w5)((function(){return[(0,i._)("div",ft,[(0,i.WI)(t.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:e[4]||(e[4]=(0,ct.iM)((function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)}),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:e[0]||(e[0]=function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)}),onTouch:e[1]||(e[1]=function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)})},[pt,(0,i.Uk)("   "+(0,r.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:e[2]||(e[2]=function(){return l.close&&l.close.apply(l,arguments)}),onTouch:e[3]||(e[3]=function(){return l.close&&l.close.apply(l,arguments)})},[vt,(0,i.Uk)("   "+(0,r.zw)(n.cancelText),1)],32)],32)]})),_:3},8,["title"])}var ht={emits:["input","click","touch"],components:{Modal:st.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm:function(){this.$emit("input"),this.close()},show:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()}}},yt=n(3744);const gt=(0,yt.Z)(ht,[["render",mt],["__scopeId","data-v-d543b3e4"]]);var wt=gt,_t=function(t){return(0,i.dD)("data-v-3344f2bf"),t=t(),(0,i.Cn)(),t},bt=_t((function(){return(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1)})),kt=[bt];function Et(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:e[0]||(e[0]=function(t){return u.proxy(t)}),onTouch:e[1]||(e[1]=function(t){return u.proxy(t)}),onInput:e[2]||(e[2]=function(t){return u.proxy(t)})},kt,32)}var xt={emits:["input","click","touch"],methods:{proxy:function(t){this.$emit(t.type,t)}}};const Ct=(0,yt.Z)(xt,[["render",Et],["__scopeId","data-v-3344f2bf"]]);var It=Ct,Dt=function(t){return(0,i.dD)("data-v-1405d90f"),t=t(),(0,i.Cn)(),t},Gt=["disabled"],Tt=Dt((function(){return(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1)})),Zt=Dt((function(){return(0,i._)("i",{class:"fas fa-ban"},null,-1)})),jt=[Zt];function St(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:e[3]||(e[3]=(0,ct.iM)((function(){return u.submit&&u.submit.apply(u,arguments)}),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=function(t){return o.text=t}),disabled:n.disabled},null,8,Gt),[[ct.nr,o.text]]),Tt,(0,i._)("button",{class:"cancel",onClick:e[1]||(e[1]=function(e){return t.$emit("cancel")}),onTouch:e[2]||(e[2]=function(e){return t.$emit("cancel")})},jt,32),(0,i.WI)(t.$slots,"default",{},void 0,!0)],32)}var Ot={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data:function(){return{text:null}},methods:{proxy:function(t){this.$emit(t.type,t)},submit:function(){return this.$emit("input",this.text),!1}},mounted:function(){this.text=this.value}};const qt=(0,yt.Z)(Ot,[["render",St],["__scopeId","data-v-1405d90f"]]);var Mt=qt,Ut=n(6813),Rt=n(7369),Nt={name:"Entity",components:{Modal:st.Z,EditButton:It,NameEditor:Mt,Icon:at.Z,ConfirmDialog:wt},mixins:[Ut.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1}},data:function(){return{loading:!1,editName:!1,editIcon:!1}},methods:{onRename:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,i={},i[e.entity.id]=t,n.next=6,e.request("entities.rename",i);case 6:return n.prev=6,e.loading=!1,e.editName=!1,n.finish(6);case 10:case"end":return n.stop()}}),n,null,[[1,,6,10]])})))()},onDelete:function(){var t=this;return(0,lt.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.request("entities.delete",[t.entity.id]);case 4:return e.prev=4,t.loading=!1,e.finish(4);case 7:case"end":return e.stop()}}),e,null,[[1,,4,7]])})))()},onIconEdit:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i,r,o,u,l,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,i={url:null,class:null},null!==t&&void 0!==t&&t.length?t.startsWith("http")?i.url=t:i.class=t:(i.url=null===(r=Rt[e.entity.type]||{})||void 0===r||null===(o=r.icon)||void 0===o?void 0:o.url,i.class=null===(u=Rt[e.entity.type]||{})||void 0===u||null===(l=u.icon)||void 0===l?void 0:l["class"]),s={},s[e.entity.id]={icon:i},n.next=8,e.request("entities.set_meta",s);case 8:return n.prev=8,e.loading=!1,e.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()},onIconColorEdit:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,r=(null===(i=e.entity.meta)||void 0===i?void 0:i.icon)||{},r.color=t?t.target.value:null,o={},o[e.entity.id]={icon:r},n.next=8,e.request("entities.set_meta",o);case 8:return n.prev=8,e.loading=!1,e.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()}}};const $t=(0,yt.Z)(Nt,[["render",ut],["__scopeId","data-v-628ff73f"]]);var Lt=$t},6647:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return w}});n(7941);var i=n(6252),r=n(3577),o=n(9963),u={class:"entities-selectors-container"},l={class:"selector"},s={key:1,class:"selector"};function a(t,e,n,a,c,d){var f,p=(0,i.up)("DropdownItem"),v=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",u,[(0,i._)("div",l,[(0,i.Wm)(v,{title:"Group by","icon-class":"fas fa-eye",ref:"groupingSelector"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(function(t){var e;return(0,i.wg)(),(0,i.j4)(p,{key:t,text:d.prettifyGroupingName(t),"item-class":{selected:(null===(e=n.value)||void 0===e?void 0:e.grouping)===t},onClick:function(e){return d.onGroupingChanged(t)}},null,8,["text","item-class","onClick"])})),128))]})),_:1},512)]),null!==(f=n.value)&&void 0!==f&&f.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,r.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(v,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(function(t){return(0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:t,text:t},d.iconForGroup(t),{"item-class":{selected:!!c.selectedGroups[t]},onClick:(0,o.iM)((function(e){return d.toggleGroup(t)}),["stop"])}),null,16,["text","item-class","onClick"])})),128))]})),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",s,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":e[0]||(e[0]=function(t){return c.searchTerm=t})},null,512),[[o.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(4648),d=(n(7327),n(1539),n(2707),n(2479),n(8309),n(9714),n(6813)),f=n(5771),p=n(9015),v=n(7369),m=n(1359),h={name:"Selector",emits:["input"],mixins:[d.Z],components:{Dropdown:f.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data:function(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings:function(){return Object.keys(this.entityGroups).filter((function(t){return"id"!==t}))},sortedGroups:function(){var t;return Object.keys(this.entityGroups[null===(t=this.value)||void 0===t?void 0:t.grouping]||{}).sort()},typesMeta:function(){return v},isGroupFilterActive:function(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities:function(){var t=this;return Object.values(this.entityGroups.id).filter((function(e){var n,i;if(!t.selectedGroups[e[null===(n=t.value)||void 0===n?void 0:n.grouping]])return!1;if(null!==(i=t.searchTerm)&&void 0!==i&&i.length){var r=t.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(r)>=0||(e.plugin||"").toLowerCase().indexOf(r)>=0||(e.external_id||"").toLowerCase().indexOf(r)>=0||(e.id||0).toString()==r}return!0})).reduce((function(t,e){return t[e.id]=e,t}),{})}},methods:{prettifyGroupingName:function(t){return t?this.prettify(t)+"s":""},iconForGroup:function(t){if("plugin"===this.value.grouping&&m[t]){var e,n,i=m[t];return{"icon-class":null!==(e=i["class"])&&void 0!==e&&e.length||null===(n=i.imgUrl)||void 0===n||!n.length?i["class"]:"fas fa-gears","icon-url":i.imgUrl}}return{}},synchronizeSelectedEntities:function(){var t=(0,c.Z)({},this.value);t.selectedEntities=this.selectedEntities,this.$emit("input",t)},updateSearchTerm:function(){var t=(0,c.Z)({},this.value);t.searchTerm=this.searchTerm,t.selectedEntities=this.selectedEntities,this.$emit("input",t)},refreshGroupFilter:function(t){var e;if(t)this.selectedGroups=Object.keys(this.entityGroups[null===(e=this.value)||void 0===e?void 0:e.grouping]||{}).reduce((function(t,e){return t[e]=!0,t}),{});else for(var n=0,i=Object.keys(this.entityGroups[null===(r=this.value)||void 0===r?void 0:r.grouping]);n 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=3c242632&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=3c242632&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c242632\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=fef021ee&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=fef021ee&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fef021ee\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=628ff73f&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=628ff73f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-628ff73f\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=63b80935&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=63b80935&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-63b80935\"]])\n\nexport default __exports__","var map = {\n\t\"./Entity\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./Index\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Light.vue\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Modal\": [\n\t\t6243,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t6243,\n\t\t9\n\t],\n\t\"./Selector\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Switch\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./Switch.vue\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$StartsWith","startsWith","stringSlice","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","index","arguments","length","undefined","search","class","component","value","loading","error","reachable","$emit","$event","name","mixins","EntityMixin","emits","data","mounted","type","__exports__","render","Utils","props","Boolean","default","Object","required","modalVisible","computed","entityType","charAt","toUpperCase","entityGroups","selector","title","refresh","modalEntityId","entity","entities","visible","onEntityModal","keys","displayGroups","group","key","grouping","entitiesMeta","icon","pluginIcons","url","imgUrl","name_plural","id","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","Number","entityTimeouts","selectedEntities","meta","icons","entries","groupEntities","reduce","obj","filter","entry","e","sort","a","b","localeCompare","map","methods","attr","values","args","plugins","plugin","self","clearTimeout","setTimeout","notify","text","request","sync","name_override","clearEntityTimeouts","entityId","onEntityUpdate","event","state","onEntityDelete","subscribe","href","external_id","ref","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","created_at","updated_at","$refs","deleteConfirmDiag","show","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","newName","req","newIcon","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","$watch","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all","t"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892-legacy.810d8db8.js b/platypush/backend/http/webapp/dist/static/js/9892-legacy.810d8db8.js deleted file mode 100644 index 4409b9f6b..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9892-legacy.810d8db8.js +++ /dev/null @@ -1,2 +0,0 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9892],{4964:function(t,e,n){var i=n(5112),r=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(i){}}return!1}},3929:function(t,e,n){var i=n(7850),r=TypeError;t.exports=function(t){if(i(t))throw r("The method doesn't accept regular expressions");return t}},6755:function(t,e,n){"use strict";var i=n(2109),r=n(1702),o=n(1236).f,u=n(7466),l=n(1340),s=n(3929),a=n(4488),c=n(4964),d=n(1913),f=r("".startsWith),p=r("".slice),v=Math.min,m=c("startsWith"),h=!d&&!m&&!!function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!h&&!m},{startsWith:function(t){var e=l(a(this));s(t);var n=u(v(arguments.length>1?arguments[1]:void 0,e.length)),i=l(t);return f?f(e,i,n):p(e,n,n+i.length)===i}})},9892:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(6252),r={class:"row item entity-container"};function o(t,e,n,o,u,l){var s;return(0,i.wg)(),(0,i.iD)("div",r,[((0,i.wg)(),(0,i.j4)((0,i.LL)(u.component),{value:t.value,loading:t.loading,error:t.error||0==(null===(s=t.value)||void 0===s?void 0:s.reachable),onInput:e[0]||(e[0]=function(e){return t.$emit("input",e)}),onLoading:e[1]||(e[1]=function(e){return t.$emit("loading",e)})},null,8,["value","loading","error"]))])}n(1539),n(8783),n(3948);var u=n(7909),l={name:"Entity",mixins:[u["default"]],emits:["input","loading"],data:function(){return{component:null}},mounted:function(){var t=this;"Entity"!==this.type&&(this.component=(0,i.RC)((function(){return n(7243)("./".concat(t.type))})))}},s=n(3744);const a=(0,s.Z)(l,[["render",o],["__scopeId","data-v-3c242632"]]);var c=a},7909:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return u}});n(7042);var i=n(6813),r={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0}},data:function(){return{modalVisible:!1}},computed:{type:function(){var t=this.value.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}};const o=r;var u=o},914:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return A}});n(7941),n(8309);var i=n(6252),r=n(3577),o=function(t){return(0,i.dD)("data-v-fef021ee"),t=t(),(0,i.Cn)(),t},u={class:"row plugin entities-container"},l={class:"col-11 left"},s={class:"col-1 right"},a=o((function(){return(0,i._)("i",{class:"fa fa-sync-alt"},null,-1)})),c=[a],d={class:"groups-canvas"},f=(0,i.Uk)("No entities found"),p={key:2,class:"groups-container"},v={class:"frame"},m={class:"header"},h={class:"section left"},y={class:"section center"},g=["textContent"],w=["textContent"],_={class:"section right"},b=["onClick"],k=o((function(){return(0,i._)("i",{class:"fa fa-sync-alt"},null,-1)})),E=[k],x={class:"body"},C=["onClick"];function I(t,e,n,o,a,k){var I,D=(0,i.up)("Loading"),G=(0,i.up)("Selector"),T=(0,i.up)("EntityModal"),Z=(0,i.up)("NoItems"),j=(0,i.up)("Icon"),S=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",u,[a.loading?((0,i.wg)(),(0,i.j4)(D,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",l,[(0,i.Wm)(G,{"entity-groups":k.entityGroups,value:a.selector,onInput:e[0]||(e[0]=function(t){return a.selector=t})},null,8,["entity-groups","value"])]),(0,i._)("div",s,[(0,i._)("button",{title:"Refresh",onClick:e[1]||(e[1]=function(t){return k.refresh(null)})},c)])]),(0,i._)("div",d,[a.modalEntityId?((0,i.wg)(),(0,i.j4)(T,{key:0,entity:a.entities[a.modalEntityId],visible:a.modalVisible,onClose:e[2]||(e[2]=function(t){return k.onEntityModal(null)})},null,8,["entity","visible"])):(0,i.kq)("",!0),null!==(I=Object.keys(k.displayGroups||{}))&&void 0!==I&&I.length?((0,i.wg)(),(0,i.iD)("div",p,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(k.displayGroups,(function(t){var e,n;return(0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:t.name},[(0,i._)("div",v,[(0,i._)("div",m,[(0,i._)("span",h,["type"===a.selector.grouping&&k.entitiesMeta[t.name]?((0,i.wg)(),(0,i.j4)(j,(0,r.vs)((0,i.dG)({key:0},k.entitiesMeta[t.name].icon||{})),null,16)):"plugin"===a.selector.grouping&&k.pluginIcons[t.name]?((0,i.wg)(),(0,i.j4)(j,{key:1,class:(0,r.C_)(null===(e=k.pluginIcons[t.name])||void 0===e?void 0:e.class),url:null===(n=k.pluginIcons[t.name])||void 0===n?void 0:n.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",y,["type"===a.selector.grouping&&k.entitiesMeta[t.name]?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,r.zw)(k.entitiesMeta[t.name].name_plural)},null,8,g)):"plugin"===a.selector.grouping?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"title",textContent:(0,r.zw)(t.name)},null,8,w)):(0,i.kq)("",!0)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:function(e){return k.refresh(t)}},E,8,b)])]),(0,i._)("div",x,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.entities,(function(t){return(0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",onClick:function(e){return k.onEntityModal(t.id)},key:t.id},[(0,i.Wm)(S,{value:t,onInput:k.onEntityInput,error:!!a.errorEntities[t.id],loading:!!a.loadingEntities[t.id],onLoading:function(e){return a.loadingEntities[t.id]=e}},null,8,["value","onInput","error","loading","onLoading"])],8,C)})),128))])])])})),128))])):((0,i.wg)(),(0,i.j4)(Z,{key:1},{default:(0,i.w5)((function(){return[f]})),_:1}))])])}var D=n(4648),G=n(8534),T=n(6084),Z=(n(5666),n(9653),n(1539),n(9720),n(1249),n(2707),n(7327),n(2479),n(6813)),j=n(1232),S=n(1478),O={class:"no-items-container"},q={class:"no-items fade-in"};function M(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("div",O,[(0,i._)("div",q,[(0,i.WI)(t.$slots,"default",{},void 0,!0)])])}var U={name:"NoItems"},R=n(3744);const N=(0,R.Z)(U,[["render",M],["__scopeId","data-v-6fec32b5"]]);var $=N,L=n(9892),z=n(6647),W=n(4117),F=n(1359),V=n(7369),B={name:"Entities",components:{Loading:j.Z,Icon:S.Z,Entity:L["default"],Selector:z["default"],NoItems:$,EntityModal:W["default"]},mixins:[Z.Z],props:{entityScanTimeout:{type:Number,default:30}},data:function(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"type",selectedEntities:{}}}},computed:{entitiesMeta:function(){return V},pluginIcons:function(){return F},entityGroups:function(){return{id:Object.entries(this.groupEntities("id")).reduce((function(t,e){var n=(0,T.Z)(e,2),i=n[0],r=n[1];return t[i]=r[0],t}),{}),type:this.groupEntities("type"),plugin:this.groupEntities("plugin")}},displayGroups:function(){var t=this;return Object.entries(this.entityGroups[this.selector.grouping]).filter((function(e){return e[1].filter((function(e){return!!t.selector.selectedEntities[e.id]})).length>0})).sort((function(t,e){return t[0].localeCompare(e[0])})).map((function(e){var n=(0,T.Z)(e,2),i=n[0],r=n[1];return{name:i,entities:r.filter((function(e){return e.id in t.selector.selectedEntities}))}}))}},methods:{groupEntities:function(t){return Object.values(this.entities).reduce((function(e,n){var i=e[n[t]]||{};return i[n.id]=n,e[n[t]]=Object.values(i).sort((function(t,e){return t.name.localeCompare(e.name)})),e}),{})},refresh:function(t){var e=this;return(0,G.Z)(regeneratorRuntime.mark((function n(){var i,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=(t?t.entities:e.entities)||{},r={},t&&(r.plugins=Object.keys(i.reduce((function(t,e){return t[e.plugin]=!0,t}),{}))),e.loadingEntities=Object.values(i).reduce((function(t,n){var i=e,r=n.id;return e.entityTimeouts[r]&&clearTimeout(e.entityTimeouts[r]),e.entityTimeouts[r]=setTimeout((function(){i.loadingEntities[r]&&delete i.loadingEntities[r],i.entityTimeouts[r]&&delete i.entityTimeouts[r],i.errorEntities[r]=n,i.notify({error:!0,title:n.plugin,text:"Scan timeout for ".concat(n.name)})}),1e3*e.entityScanTimeout),t[r]=!0,t}),{}),n.next=6,e.request("entities.scan",r);case 6:case"end":return n.stop()}}),n)})))()},sync:function(){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.request("entities.get");case 4:t.entities=e.sent.reduce((function(t,e){var n;return e.name=(null===e||void 0===e||null===(n=e.meta)||void 0===n?void 0:n.name_override)||e.name,e.meta=(0,D.Z)((0,D.Z)({},V[e.type]||{}),e.meta||{}),t[e.id]=e,t}),{}),t.selector.selectedEntities=t.entityGroups.id;case 6:return e.prev=6,t.loading=!1,e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[1,,6,9]])})))()},clearEntityTimeouts:function(t){this.errorEntities[t]&&delete this.errorEntities[t],this.loadingEntities[t]&&delete this.loadingEntities[t],this.entityTimeouts[t]&&(clearTimeout(this.entityTimeouts[t]),delete this.entityTimeouts[t])},onEntityInput:function(t){this.entities[t.id]=t,this.clearEntityTimeouts(t.id),this.loadingEntities[t.id]&&delete this.loadingEntities[t.id]},onEntityUpdate:function(t){var e,n,i,r,o,u,l,s,a,c,d,f=t.entity.id;if(null!=f){this.clearEntityTimeouts(f);var p=(0,D.Z)({},t.entity);null==(null===(e=t.entity)||void 0===e?void 0:e.state)&&(p.state=null===(n=this.entities[f])||void 0===n?void 0:n.state),null!==(i=p.meta)&&void 0!==i&&null!==(r=i.name_override)&&void 0!==r&&r.length?p.name=p.meta.name_override:null!==(o=this.entities[f])&&void 0!==o&&null!==(u=o.meta)&&void 0!==u&&null!==(l=u.name_override)&&void 0!==l&&l.length?p.name=this.entities[f].meta.name_override:p.name=(null===(s=t.entity)||void 0===s?void 0:s.name)||(null===(a=this.entities[f])||void 0===a?void 0:a.name),p.meta=(0,D.Z)((0,D.Z)((0,D.Z)({},V[t.entity.type]||{}),(null===(c=this.entities[f])||void 0===c?void 0:c.meta)||{}),(null===(d=t.entity)||void 0===d?void 0:d.meta)||{}),this.entities[f]=p}},onEntityDelete:function(t){var e,n=null===(e=t.entity)||void 0===e?void 0:e.id;null!=n&&(n===this.modalEntityId&&(this.modalEntityId=null),this.entities[n]&&delete this.entities[n])},onEntityModal:function(t){t?(this.modalEntityId=t,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},mounted:function(){var t=this;return(0,G.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.subscribe(t.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),t.subscribe(t.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),e.next=4,t.sync();case 4:return e.next=6,t.refresh();case 6:case"end":return e.stop()}}),e)})))()}};const K=(0,R.Z)(B,[["render",I],["__scopeId","data-v-fef021ee"]]);var A=K},4117:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return Lt}});n(8309),n(2526),n(1817);var i=n(6252),r=n(3577),o=function(t){return(0,i.dD)("data-v-ada8d74e"),t=t(),(0,i.Cn)(),t},u=(0,i.Uk)(" Are you "),l=o((function(){return(0,i._)("b",null,"sure",-1)})),s=(0,i.Uk)(" that you want to delete this entity? "),a=o((function(){return(0,i._)("br",null,null,-1)})),c=o((function(){return(0,i._)("br",null,null,-1)})),d=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),f=o((function(){return(0,i._)("br",null,null,-1)})),p=o((function(){return(0,i._)("br",null,null,-1)})),v=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),m={class:"table-row"},h={class:"title"},y=(0,i.Uk)(" Name "),g={class:"value"},w=["textContent"],_={class:"table-row"},b={class:"title"},k=(0,i.Uk)(" Icon "),E={class:"value icon-canvas"},x={key:0,class:"icon-editor"},C=o((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),I=[C],D=o((function(){return(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1)})),G={class:"table-row"},T=o((function(){return(0,i._)("div",{class:"title"}," Icon color ",-1)})),Z={class:"value icon-color-picker"},j=["value"],S=o((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),O=[S],q={class:"table-row"},M=o((function(){return(0,i._)("div",{class:"title"},"Plugin",-1)})),U=["textContent"],R={class:"table-row"},N=o((function(){return(0,i._)("div",{class:"title"},"Internal ID",-1)})),$=["textContent"],L={key:0,class:"table-row"},z=o((function(){return(0,i._)("div",{class:"title"},"External ID",-1)})),W=["textContent"],F={key:1,class:"table-row"},V=o((function(){return(0,i._)("div",{class:"title"},"Description",-1)})),B=["textContent"],K={key:0,class:"table-row"},A=["textContent"],H=["textContent"],Y={key:2,class:"table-row"},P=o((function(){return(0,i._)("div",{class:"title"},"Created at",-1)})),J=["textContent"],Q={key:3,class:"table-row"},X=o((function(){return(0,i._)("div",{class:"title"},"Updated at",-1)})),tt=["textContent"],et={class:"table-row delete-entity-container"},nt=o((function(){return(0,i._)("div",{class:"title"},"Delete Entity",-1)})),it={class:"value"},rt=o((function(){return(0,i._)("i",{class:"fas fa-trash"},null,-1)})),ot=[rt];function ut(t,e,n,o,C,S){var rt=(0,i.up)("ConfirmDialog"),ut=(0,i.up)("EditButton"),lt=(0,i.up)("NameEditor"),st=(0,i.up)("Icon"),at=(0,i.up)("Modal",!0);return(0,i.wg)(),(0,i.j4)(at,{visible:n.visible,title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((function(){var o,at,ct,dt,ft,pt,vt,mt;return[(0,i.Wm)(rt,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:S.onDelete},{default:(0,i.w5)((function(){return[u,l,s,a,c,d,f,p,v]})),_:1},8,["onInput"]),(0,i._)("div",m,[(0,i._)("div",h,[y,C.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ut,{key:0,onClick:e[0]||(e[0]=function(t){return C.editName=!0})}))]),(0,i._)("div",g,[C.editName?((0,i.wg)(),(0,i.j4)(lt,{key:0,value:n.entity.name,onInput:S.onRename,onCancel:e[1]||(e[1]=function(t){return C.editName=!1}),disabled:C.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,r.zw)(n.entity.name)},null,8,w))])]),(0,i._)("div",_,[(0,i._)("div",b,[k,C.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ut,{key:0,onClick:e[2]||(e[2]=function(t){return C.editIcon=!0})}))]),(0,i._)("div",E,[C.editIcon?((0,i.wg)(),(0,i.iD)("span",x,[(0,i.Wm)(lt,{value:(null===(o=n.entity.meta)||void 0===o||null===(at=o.icon)||void 0===at?void 0:at.class)||(null===(ct=n.entity.meta)||void 0===ct||null===(dt=ct.icon)||void 0===dt?void 0:dt.url),onInput:S.onIconEdit,onCancel:e[5]||(e[5]=function(t){return C.editIcon=!1}),disabled:C.loading},{default:(0,i.w5)((function(){return[(0,i._)("button",{type:"button",title:"Reset",onClick:e[3]||(e[3]=function(t){return S.onIconEdit(null)}),onTouch:e[4]||(e[4]=function(t){return S.onIconEdit(null)})},I,32)]})),_:1},8,["value","onInput","disabled"]),D])):((0,i.wg)(),(0,i.j4)(st,(0,r.vs)((0,i.dG)({key:1},(null===(ft=n.entity)||void 0===ft||null===(pt=ft.meta)||void 0===pt?void 0:pt.icon)||{})),null,16))])]),(0,i._)("div",G,[T,(0,i._)("div",Z,[(0,i._)("input",{type:"color",value:null===(vt=n.entity.meta)||void 0===vt||null===(mt=vt.icon)||void 0===mt?void 0:mt.color,onChange:e[6]||(e[6]=function(){return S.onIconColorEdit&&S.onIconColorEdit.apply(S,arguments)})},null,40,j),(0,i._)("button",{type:"button",title:"Reset",onClick:e[7]||(e[7]=function(t){return S.onIconColorEdit(null)}),onTouch:e[8]||(e[8]=function(t){return S.onIconColorEdit(null)})},O,32)])]),(0,i._)("div",q,[M,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.plugin)},null,8,U)]),(0,i._)("div",R,[N,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.id)},null,8,$)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",L,[z,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.external_id)},null,8,W)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",F,[V,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.description)},null,8,B)])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},(function(e,n){return(0,i.wg)(),(0,i.iD)("div",{key:n},[null!=e?((0,i.wg)(),(0,i.iD)("div",K,[(0,i._)("div",{class:"title",textContent:(0,r.zw)(t.prettify(n))},null,8,A),(0,i._)("div",{class:"value",textContent:(0,r.zw)(""+e)},null,8,H)])):(0,i.kq)("",!0)])})),128)),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",Y,[P,(0,i._)("div",{class:"value",textContent:(0,r.zw)(t.formatDateTime(n.entity.created_at))},null,8,J)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",Q,[X,(0,i._)("div",{class:"value",textContent:(0,r.zw)(t.formatDateTime(n.entity.updated_at))},null,8,tt)])):(0,i.kq)("",!0),(0,i._)("div",et,[nt,(0,i._)("div",it,[(0,i._)("button",{onClick:e[9]||(e[9]=function(e){return t.$refs.deleteConfirmDiag.show()})},ot)])])]})),_:1},8,["visible","title"])}var lt=n(8534),st=(n(6755),n(5666),n(9642)),at=n(1478),ct=n(9963),dt=function(t){return(0,i.dD)("data-v-d543b3e4"),t=t(),(0,i.Cn)(),t},ft={class:"dialog-content"},pt=dt((function(){return(0,i._)("i",{class:"fas fa-check"},null,-1)})),vt=dt((function(){return(0,i._)("i",{class:"fas fa-xmark"},null,-1)}));function mt(t,e,n,o,u,l){var s=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(s,{ref:"modal",title:n.title},{default:(0,i.w5)((function(){return[(0,i._)("div",ft,[(0,i.WI)(t.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:e[4]||(e[4]=(0,ct.iM)((function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)}),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:e[0]||(e[0]=function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)}),onTouch:e[1]||(e[1]=function(){return l.onConfirm&&l.onConfirm.apply(l,arguments)})},[pt,(0,i.Uk)("   "+(0,r.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:e[2]||(e[2]=function(){return l.close&&l.close.apply(l,arguments)}),onTouch:e[3]||(e[3]=function(){return l.close&&l.close.apply(l,arguments)})},[vt,(0,i.Uk)("   "+(0,r.zw)(n.cancelText),1)],32)],32)]})),_:3},8,["title"])}var ht={emits:["input","click","touch"],components:{Modal:st.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm:function(){this.$emit("input"),this.close()},show:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()}}},yt=n(3744);const gt=(0,yt.Z)(ht,[["render",mt],["__scopeId","data-v-d543b3e4"]]);var wt=gt,_t=function(t){return(0,i.dD)("data-v-3344f2bf"),t=t(),(0,i.Cn)(),t},bt=_t((function(){return(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1)})),kt=[bt];function Et(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:e[0]||(e[0]=function(t){return u.proxy(t)}),onTouch:e[1]||(e[1]=function(t){return u.proxy(t)}),onInput:e[2]||(e[2]=function(t){return u.proxy(t)})},kt,32)}var xt={emits:["input","click","touch"],methods:{proxy:function(t){this.$emit(t.type,t)}}};const Ct=(0,yt.Z)(xt,[["render",Et],["__scopeId","data-v-3344f2bf"]]);var It=Ct,Dt=function(t){return(0,i.dD)("data-v-1405d90f"),t=t(),(0,i.Cn)(),t},Gt=["disabled"],Tt=Dt((function(){return(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1)})),Zt=Dt((function(){return(0,i._)("i",{class:"fas fa-ban"},null,-1)})),jt=[Zt];function St(t,e,n,r,o,u){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:e[3]||(e[3]=(0,ct.iM)((function(){return u.submit&&u.submit.apply(u,arguments)}),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=function(t){return o.text=t}),disabled:n.disabled},null,8,Gt),[[ct.nr,o.text]]),Tt,(0,i._)("button",{class:"cancel",onClick:e[1]||(e[1]=function(e){return t.$emit("cancel")}),onTouch:e[2]||(e[2]=function(e){return t.$emit("cancel")})},jt,32),(0,i.WI)(t.$slots,"default",{},void 0,!0)],32)}var Ot={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data:function(){return{text:null}},methods:{proxy:function(t){this.$emit(t.type,t)},submit:function(){return this.$emit("input",this.text),!1}},mounted:function(){this.text=this.value}};const qt=(0,yt.Z)(Ot,[["render",St],["__scopeId","data-v-1405d90f"]]);var Mt=qt,Ut=n(6813),Rt=n(7369),Nt={name:"Entity",components:{Modal:st.Z,EditButton:It,NameEditor:Mt,Icon:at.Z,ConfirmDialog:wt},mixins:[Ut.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1}},data:function(){return{loading:!1,editName:!1,editIcon:!1}},methods:{onRename:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,i={},i[e.entity.id]=t,n.next=6,e.request("entities.rename",i);case 6:return n.prev=6,e.loading=!1,e.editName=!1,n.finish(6);case 10:case"end":return n.stop()}}),n,null,[[1,,6,10]])})))()},onDelete:function(){var t=this;return(0,lt.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.request("entities.delete",[t.entity.id]);case 4:return e.prev=4,t.loading=!1,e.finish(4);case 7:case"end":return e.stop()}}),e,null,[[1,,4,7]])})))()},onIconEdit:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i,r,o,u,l,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,i={url:null,class:null},null!==t&&void 0!==t&&t.length?t.startsWith("http")?i.url=t:i.class=t:(i.url=null===(r=Rt[e.entity.type]||{})||void 0===r||null===(o=r.icon)||void 0===o?void 0:o.url,i.class=null===(u=Rt[e.entity.type]||{})||void 0===u||null===(l=u.icon)||void 0===l?void 0:l["class"]),s={},s[e.entity.id]={icon:i},n.next=8,e.request("entities.set_meta",s);case 8:return n.prev=8,e.loading=!1,e.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()},onIconColorEdit:function(t){var e=this;return(0,lt.Z)(regeneratorRuntime.mark((function n(){var i,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,r=(null===(i=e.entity.meta)||void 0===i?void 0:i.icon)||{},r.color=t?t.target.value:null,o={},o[e.entity.id]={icon:r},n.next=8,e.request("entities.set_meta",o);case 8:return n.prev=8,e.loading=!1,e.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()}}};const $t=(0,yt.Z)(Nt,[["render",ut],["__scopeId","data-v-ada8d74e"]]);var Lt=$t},6647:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return w}});n(7941);var i=n(6252),r=n(3577),o=n(9963),u={class:"entities-selectors-container"},l={class:"selector"},s={key:1,class:"selector"};function a(t,e,n,a,c,d){var f,p=(0,i.up)("DropdownItem"),v=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",u,[(0,i._)("div",l,[(0,i.Wm)(v,{title:"Group by","icon-class":"fas fa-eye",ref:"groupingSelector"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(function(t){var e;return(0,i.wg)(),(0,i.j4)(p,{key:t,text:d.prettifyGroupingName(t),"item-class":{selected:(null===(e=n.value)||void 0===e?void 0:e.grouping)===t},onClick:function(e){return d.onGroupingChanged(t)}},null,8,["text","item-class","onClick"])})),128))]})),_:1},512)]),null!==(f=n.value)&&void 0!==f&&f.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,r.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(v,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(function(t){return(0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:t,text:t},d.iconForGroup(t),{"item-class":{selected:!!c.selectedGroups[t]},onClick:(0,o.iM)((function(e){return d.toggleGroup(t)}),["stop"])}),null,16,["text","item-class","onClick"])})),128))]})),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",s,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":e[0]||(e[0]=function(t){return c.searchTerm=t})},null,512),[[o.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(4648),d=(n(7327),n(1539),n(2707),n(2479),n(8309),n(9714),n(6813)),f=n(5771),p=n(9015),v=n(7369),m=n(1359),h={name:"Selector",emits:["input"],mixins:[d.Z],components:{Dropdown:f.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data:function(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings:function(){return Object.keys(this.entityGroups).filter((function(t){return"id"!==t}))},sortedGroups:function(){var t;return Object.keys(this.entityGroups[null===(t=this.value)||void 0===t?void 0:t.grouping]||{}).sort()},typesMeta:function(){return v},isGroupFilterActive:function(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities:function(){var t=this;return Object.values(this.entityGroups.id).filter((function(e){var n,i;if(!t.selectedGroups[e[null===(n=t.value)||void 0===n?void 0:n.grouping]])return!1;if(null!==(i=t.searchTerm)&&void 0!==i&&i.length){var r=t.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(r)>=0||(e.plugin||"").toLowerCase().indexOf(r)>=0||(e.external_id||"").toLowerCase().indexOf(r)>=0||(e.id||0).toString()==r}return!0})).reduce((function(t,e){return t[e.id]=e,t}),{})}},methods:{prettifyGroupingName:function(t){return t?this.prettify(t)+"s":""},iconForGroup:function(t){if("plugin"===this.value.grouping&&m[t]){var e,n,i=m[t];return{"icon-class":null!==(e=i["class"])&&void 0!==e&&e.length||null===(n=i.imgUrl)||void 0===n||!n.length?i["class"]:"fas fa-gears","icon-url":i.imgUrl}}return{}},synchronizeSelectedEntities:function(){var t=(0,c.Z)({},this.value);t.selectedEntities=this.selectedEntities,this.$emit("input",t)},updateSearchTerm:function(){var t=(0,c.Z)({},this.value);t.searchTerm=this.searchTerm,t.selectedEntities=this.selectedEntities,this.$emit("input",t)},refreshGroupFilter:function(t){var e;if(t)this.selectedGroups=Object.keys(this.entityGroups[null===(e=this.value)||void 0===e?void 0:e.grouping]||{}).reduce((function(t,e){return t[e]=!0,t}),{});else for(var n=0,i=Object.keys(this.entityGroups[null===(r=this.value)||void 0===r?void 0:r.grouping]);n 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=3c242632&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=3c242632&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c242632\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=fef021ee&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=fef021ee&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fef021ee\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=ada8d74e&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=ada8d74e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ada8d74e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=63b80935&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=63b80935&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-63b80935\"]])\n\nexport default __exports__","var map = {\n\t\"./Entity\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./Index\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Light.vue\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Modal\": [\n\t\t4117,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t4117,\n\t\t9\n\t],\n\t\"./Selector\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Switch\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./Switch.vue\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$StartsWith","startsWith","stringSlice","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","index","arguments","length","undefined","search","class","component","value","loading","error","reachable","$emit","$event","name","mixins","EntityMixin","emits","data","mounted","type","__exports__","render","Utils","props","Boolean","default","Object","required","modalVisible","computed","entityType","charAt","toUpperCase","entityGroups","selector","title","refresh","modalEntityId","entity","entities","visible","onEntityModal","keys","displayGroups","group","key","grouping","entitiesMeta","icon","pluginIcons","url","imgUrl","name_plural","id","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","Number","entityTimeouts","selectedEntities","meta","icons","entries","groupEntities","reduce","obj","filter","entry","e","sort","a","b","localeCompare","map","methods","attr","values","args","plugins","plugin","self","clearTimeout","setTimeout","notify","text","request","sync","name_override","clearEntityTimeouts","entityId","onEntityUpdate","event","state","onEntityDelete","subscribe","href","external_id","ref","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","created_at","updated_at","$refs","deleteConfirmDiag","show","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","newName","req","newIcon","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","$watch","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all","t"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js b/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js deleted file mode 100644 index ee1b30f0c..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js +++ /dev/null @@ -1,2 +0,0 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9892],{9892:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return c}});var n=i(6252);const s={class:"row item entity-container"};function l(t,e,i,l,o,a){return(0,n.wg)(),(0,n.iD)("div",s,[((0,n.wg)(),(0,n.j4)((0,n.LL)(o.component),{value:t.value,loading:t.loading,error:t.error||0==t.value?.reachable,onInput:e[0]||(e[0]=e=>t.$emit("input",e)),onLoading:e[1]||(e[1]=e=>t.$emit("loading",e))},null,8,["value","loading","error"]))])}var o=i(7909),a={name:"Entity",mixins:[o["default"]],emits:["input","loading"],data(){return{component:null}},mounted(){"Entity"!==this.type&&(this.component=(0,n.RC)((()=>i(7243)(`./${this.type}`))))}},r=i(3744);const u=(0,r.Z)(a,[["render",l],["__scopeId","data-v-3c242632"]]);var c=u},7909:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return o}});var n=i(6813),s={name:"EntityMixin",mixins:[n.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0}},data(){return{modalVisible:!1}},computed:{type(){let t=this.value.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}};const l=s;var o=l},914:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return V}});var n=i(6252),s=i(3577);const l=t=>((0,n.dD)("data-v-fef021ee"),t=t(),(0,n.Cn)(),t),o={class:"row plugin entities-container"},a={class:"col-11 left"},r={class:"col-1 right"},u=l((()=>(0,n._)("i",{class:"fa fa-sync-alt"},null,-1))),c=[u],d={class:"groups-canvas"},p=(0,n.Uk)("No entities found"),h={key:2,class:"groups-container"},m={class:"frame"},y={class:"header"},g={class:"section left"},v={class:"section center"},f=["textContent"],_=["textContent"],w={class:"section right"},b=["onClick"],k=l((()=>(0,n._)("i",{class:"fa fa-sync-alt"},null,-1))),E=[k],C={class:"body"},I=["onClick"];function x(t,e,i,l,u,k){const x=(0,n.up)("Loading"),D=(0,n.up)("Selector"),G=(0,n.up)("EntityModal"),T=(0,n.up)("NoItems"),j=(0,n.up)("Icon"),O=(0,n.up)("Entity");return(0,n.wg)(),(0,n.iD)("div",o,[u.loading?((0,n.wg)(),(0,n.j4)(x,{key:0})):(0,n.kq)("",!0),(0,n._)("header",null,[(0,n._)("div",a,[(0,n.Wm)(D,{"entity-groups":k.entityGroups,value:u.selector,onInput:e[0]||(e[0]=t=>u.selector=t)},null,8,["entity-groups","value"])]),(0,n._)("div",r,[(0,n._)("button",{title:"Refresh",onClick:e[1]||(e[1]=t=>k.refresh(null))},c)])]),(0,n._)("div",d,[u.modalEntityId?((0,n.wg)(),(0,n.j4)(G,{key:0,entity:u.entities[u.modalEntityId],visible:u.modalVisible,onClose:e[2]||(e[2]=t=>k.onEntityModal(null))},null,8,["entity","visible"])):(0,n.kq)("",!0),Object.keys(k.displayGroups||{})?.length?((0,n.wg)(),(0,n.iD)("div",h,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(k.displayGroups,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"group fade-in",key:t.name},[(0,n._)("div",m,[(0,n._)("div",y,[(0,n._)("span",g,["type"===u.selector.grouping&&k.entitiesMeta[t.name]?((0,n.wg)(),(0,n.j4)(j,(0,s.vs)((0,n.dG)({key:0},k.entitiesMeta[t.name].icon||{})),null,16)):"plugin"===u.selector.grouping&&k.pluginIcons[t.name]?((0,n.wg)(),(0,n.j4)(j,{key:1,class:(0,s.C_)(k.pluginIcons[t.name]?.class),url:k.pluginIcons[t.name]?.imgUrl},null,8,["class","url"])):(0,n.kq)("",!0)]),(0,n._)("span",v,["type"===u.selector.grouping&&k.entitiesMeta[t.name]?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"title",textContent:(0,s.zw)(k.entitiesMeta[t.name].name_plural)},null,8,f)):"plugin"===u.selector.grouping?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"title",textContent:(0,s.zw)(t.name)},null,8,_)):(0,n.kq)("",!0)]),(0,n._)("span",w,[(0,n._)("button",{title:"Refresh",onClick:e=>k.refresh(t)},E,8,b)])]),(0,n._)("div",C,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.entities,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"entity-frame",onClick:e=>k.onEntityModal(t.id),key:t.id},[(0,n.Wm)(O,{value:t,onInput:k.onEntityInput,error:!!u.errorEntities[t.id],loading:!!u.loadingEntities[t.id],onLoading:e=>u.loadingEntities[t.id]=e},null,8,["value","onInput","error","loading","onLoading"])],8,I)))),128))])])])))),128))])):((0,n.wg)(),(0,n.j4)(T,{key:1},{default:(0,n.w5)((()=>[p])),_:1}))])])}var D=i(6813),G=i(1232),T=i(1478);const j={class:"no-items-container"},O={class:"no-items fade-in"};function S(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("div",j,[(0,n._)("div",O,[(0,n.WI)(t.$slots,"default",{},void 0,!0)])])}var q={name:"NoItems"},M=i(3744);const U=(0,M.Z)(q,[["render",S],["__scopeId","data-v-6fec32b5"]]);var $=U,N=i(9892),Z=i(6647),L=i(4117),z=i(1359),F=i(7369),W={name:"Entities",components:{Loading:G.Z,Icon:T.Z,Entity:N["default"],Selector:Z["default"],NoItems:$,EntityModal:L["default"]},mixins:[D.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"type",selectedEntities:{}}}},computed:{entitiesMeta(){return F},pluginIcons(){return z},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((t,[e,i])=>(t[e]=i[0],t)),{}),type:this.groupEntities("type"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((t=>t[1].filter((t=>!!this.selector.selectedEntities[t.id])).length>0)).sort(((t,e)=>t[0].localeCompare(e[0]))).map((([t,e])=>({name:t,entities:e.filter((t=>t.id in this.selector.selectedEntities))})))}},methods:{groupEntities(t){return Object.values(this.entities).reduce(((e,i)=>{const n=e[i[t]]||{};return n[i.id]=i,e[i[t]]=Object.values(n).sort(((t,e)=>t.name.localeCompare(e.name))),e}),{})},async refresh(t){const e=(t?t.entities:this.entities)||{},i={};t&&(i.plugins=Object.keys(e.reduce(((t,e)=>(t[e.plugin]=!0,t)),{}))),this.loadingEntities=Object.values(e).reduce(((t,e)=>{const i=this,n=e.id;return this.entityTimeouts[n]&&clearTimeout(this.entityTimeouts[n]),this.entityTimeouts[n]=setTimeout((()=>{i.loadingEntities[n]&&delete i.loadingEntities[n],i.entityTimeouts[n]&&delete i.entityTimeouts[n],i.errorEntities[n]=e,i.notify({error:!0,title:e.plugin,text:`Scan timeout for ${e.name}`})}),1e3*this.entityScanTimeout),t[n]=!0,t}),{}),await this.request("entities.scan",i)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((t,e)=>(e.name=e?.meta?.name_override||e.name,e.meta={...F[e.type]||{},...e.meta||{}},t[e.id]=e,t)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},clearEntityTimeouts(t){this.errorEntities[t]&&delete this.errorEntities[t],this.loadingEntities[t]&&delete this.loadingEntities[t],this.entityTimeouts[t]&&(clearTimeout(this.entityTimeouts[t]),delete this.entityTimeouts[t])},onEntityInput(t){this.entities[t.id]=t,this.clearEntityTimeouts(t.id),this.loadingEntities[t.id]&&delete this.loadingEntities[t.id]},onEntityUpdate(t){const e=t.entity.id;if(null==e)return;this.clearEntityTimeouts(e);const i={...t.entity};null==t.entity?.state&&(i.state=this.entities[e]?.state),i.meta?.name_override?.length?i.name=i.meta.name_override:this.entities[e]?.meta?.name_override?.length?i.name=this.entities[e].meta.name_override:i.name=t.entity?.name||this.entities[e]?.name,i.meta={...F[t.entity.type]||{},...this.entities[e]?.meta||{},...t.entity?.meta||{}},this.entities[e]=i},onEntityDelete(t){const e=t.entity?.id;null!=e&&(e===this.modalEntityId&&(this.modalEntityId=null),this.entities[e]&&delete this.entities[e])},onEntityModal(t){t?(this.modalEntityId=t,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()}};const R=(0,M.Z)(W,[["render",x],["__scopeId","data-v-fef021ee"]]);var V=R},4117:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return Lt}});var n=i(6252),s=i(3577);const l=t=>((0,n.dD)("data-v-ada8d74e"),t=t(),(0,n.Cn)(),t),o=(0,n.Uk)(" Are you "),a=l((()=>(0,n._)("b",null,"sure",-1))),r=(0,n.Uk)(" that you want to delete this entity? "),u=l((()=>(0,n._)("br",null,null,-1))),c=l((()=>(0,n._)("br",null,null,-1))),d=(0,n.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=l((()=>(0,n._)("br",null,null,-1))),h=l((()=>(0,n._)("br",null,null,-1))),m=(0,n.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),y={class:"table-row"},g={class:"title"},v=(0,n.Uk)(" Name "),f={class:"value"},_=["textContent"],w={class:"table-row"},b={class:"title"},k=(0,n.Uk)(" Icon "),E={class:"value icon-canvas"},C={key:0,class:"icon-editor"},I=l((()=>(0,n._)("i",{class:"fas fa-rotate-left"},null,-1))),x=[I],D=l((()=>(0,n._)("span",{class:"help"},[(0,n.Uk)(" Supported: image URLs or "),(0,n._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,n.Uk)(". ")],-1))),G={class:"table-row"},T=l((()=>(0,n._)("div",{class:"title"}," Icon color ",-1))),j={class:"value icon-color-picker"},O=["value"],S=l((()=>(0,n._)("i",{class:"fas fa-rotate-left"},null,-1))),q=[S],M={class:"table-row"},U=l((()=>(0,n._)("div",{class:"title"},"Plugin",-1))),$=["textContent"],N={class:"table-row"},Z=l((()=>(0,n._)("div",{class:"title"},"Internal ID",-1))),L=["textContent"],z={key:0,class:"table-row"},F=l((()=>(0,n._)("div",{class:"title"},"External ID",-1))),W=["textContent"],R={key:1,class:"table-row"},V=l((()=>(0,n._)("div",{class:"title"},"Description",-1))),B=["textContent"],K={key:0,class:"table-row"},A=["textContent"],H=["textContent"],Y={key:2,class:"table-row"},P=l((()=>(0,n._)("div",{class:"title"},"Created at",-1))),J=["textContent"],Q={key:3,class:"table-row"},X=l((()=>(0,n._)("div",{class:"title"},"Updated at",-1))),tt=["textContent"],et={class:"table-row delete-entity-container"},it=l((()=>(0,n._)("div",{class:"title"},"Delete Entity",-1))),nt={class:"value"},st=l((()=>(0,n._)("i",{class:"fas fa-trash"},null,-1))),lt=[st];function ot(t,e,i,l,I,S){const st=(0,n.up)("ConfirmDialog"),ot=(0,n.up)("EditButton"),at=(0,n.up)("NameEditor"),rt=(0,n.up)("Icon"),ut=(0,n.up)("Modal",!0);return(0,n.wg)(),(0,n.j4)(ut,{visible:i.visible,title:i.entity.name||i.entity.external_id},{default:(0,n.w5)((()=>[(0,n.Wm)(st,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:S.onDelete},{default:(0,n.w5)((()=>[o,a,r,u,c,d,p,h,m])),_:1},8,["onInput"]),(0,n._)("div",y,[(0,n._)("div",g,[v,I.editName?(0,n.kq)("",!0):((0,n.wg)(),(0,n.j4)(ot,{key:0,onClick:e[0]||(e[0]=t=>I.editName=!0)}))]),(0,n._)("div",f,[I.editName?((0,n.wg)(),(0,n.j4)(at,{key:0,value:i.entity.name,onInput:S.onRename,onCancel:e[1]||(e[1]=t=>I.editName=!1),disabled:I.loading},null,8,["value","onInput","disabled"])):((0,n.wg)(),(0,n.iD)("span",{key:1,textContent:(0,s.zw)(i.entity.name)},null,8,_))])]),(0,n._)("div",w,[(0,n._)("div",b,[k,I.editIcon?(0,n.kq)("",!0):((0,n.wg)(),(0,n.j4)(ot,{key:0,onClick:e[2]||(e[2]=t=>I.editIcon=!0)}))]),(0,n._)("div",E,[I.editIcon?((0,n.wg)(),(0,n.iD)("span",C,[(0,n.Wm)(at,{value:i.entity.meta?.icon?.class||i.entity.meta?.icon?.url,onInput:S.onIconEdit,onCancel:e[5]||(e[5]=t=>I.editIcon=!1),disabled:I.loading},{default:(0,n.w5)((()=>[(0,n._)("button",{type:"button",title:"Reset",onClick:e[3]||(e[3]=t=>S.onIconEdit(null)),onTouch:e[4]||(e[4]=t=>S.onIconEdit(null))},x,32)])),_:1},8,["value","onInput","disabled"]),D])):((0,n.wg)(),(0,n.j4)(rt,(0,s.vs)((0,n.dG)({key:1},i.entity?.meta?.icon||{})),null,16))])]),(0,n._)("div",G,[T,(0,n._)("div",j,[(0,n._)("input",{type:"color",value:i.entity.meta?.icon?.color,onChange:e[6]||(e[6]=(...t)=>S.onIconColorEdit&&S.onIconColorEdit(...t))},null,40,O),(0,n._)("button",{type:"button",title:"Reset",onClick:e[7]||(e[7]=t=>S.onIconColorEdit(null)),onTouch:e[8]||(e[8]=t=>S.onIconColorEdit(null))},q,32)])]),(0,n._)("div",M,[U,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.plugin)},null,8,$)]),(0,n._)("div",N,[Z,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.id)},null,8,L)]),i.entity.external_id?((0,n.wg)(),(0,n.iD)("div",z,[F,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.external_id)},null,8,W)])):(0,n.kq)("",!0),i.entity.description?((0,n.wg)(),(0,n.iD)("div",R,[V,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.description)},null,8,B)])):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(i.entity.data||{},((e,i)=>((0,n.wg)(),(0,n.iD)("div",{key:i},[null!=e?((0,n.wg)(),(0,n.iD)("div",K,[(0,n._)("div",{class:"title",textContent:(0,s.zw)(t.prettify(i))},null,8,A),(0,n._)("div",{class:"value",textContent:(0,s.zw)(""+e)},null,8,H)])):(0,n.kq)("",!0)])))),128)),i.entity.created_at?((0,n.wg)(),(0,n.iD)("div",Y,[P,(0,n._)("div",{class:"value",textContent:(0,s.zw)(t.formatDateTime(i.entity.created_at))},null,8,J)])):(0,n.kq)("",!0),i.entity.updated_at?((0,n.wg)(),(0,n.iD)("div",Q,[X,(0,n._)("div",{class:"value",textContent:(0,s.zw)(t.formatDateTime(i.entity.updated_at))},null,8,tt)])):(0,n.kq)("",!0),(0,n._)("div",et,[it,(0,n._)("div",nt,[(0,n._)("button",{onClick:e[9]||(e[9]=e=>t.$refs.deleteConfirmDiag.show())},lt)])])])),_:1},8,["visible","title"])}var at=i(9642),rt=i(1478),ut=i(9963);const ct=t=>((0,n.dD)("data-v-d543b3e4"),t=t(),(0,n.Cn)(),t),dt={class:"dialog-content"},pt=ct((()=>(0,n._)("i",{class:"fas fa-check"},null,-1))),ht=ct((()=>(0,n._)("i",{class:"fas fa-xmark"},null,-1)));function mt(t,e,i,l,o,a){const r=(0,n.up)("Modal");return(0,n.wg)(),(0,n.j4)(r,{ref:"modal",title:i.title},{default:(0,n.w5)((()=>[(0,n._)("div",dt,[(0,n.WI)(t.$slots,"default",{},void 0,!0)]),(0,n._)("form",{class:"buttons",onSubmit:e[4]||(e[4]=(0,ut.iM)(((...t)=>a.onConfirm&&a.onConfirm(...t)),["prevent"]))},[(0,n._)("button",{type:"submit",class:"ok-btn",onClick:e[0]||(e[0]=(...t)=>a.onConfirm&&a.onConfirm(...t)),onTouch:e[1]||(e[1]=(...t)=>a.onConfirm&&a.onConfirm(...t))},[pt,(0,n.Uk)("   "+(0,s.zw)(i.confirmText),1)],32),(0,n._)("button",{type:"button",class:"cancel-btn",onClick:e[2]||(e[2]=(...t)=>a.close&&a.close(...t)),onTouch:e[3]||(e[3]=(...t)=>a.close&&a.close(...t))},[ht,(0,n.Uk)("   "+(0,s.zw)(i.cancelText),1)],32)],32)])),_:3},8,["title"])}var yt={emits:["input","click","touch"],components:{Modal:at.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},gt=i(3744);const vt=(0,gt.Z)(yt,[["render",mt],["__scopeId","data-v-d543b3e4"]]);var ft=vt;const _t=t=>((0,n.dD)("data-v-3344f2bf"),t=t(),(0,n.Cn)(),t),wt=_t((()=>(0,n._)("i",{class:"fas fa-pen-to-square"},null,-1))),bt=[wt];function kt(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("button",{class:"edit-btn",onClick:e[0]||(e[0]=t=>o.proxy(t)),onTouch:e[1]||(e[1]=t=>o.proxy(t)),onInput:e[2]||(e[2]=t=>o.proxy(t))},bt,32)}var Et={emits:["input","click","touch"],methods:{proxy(t){this.$emit(t.type,t)}}};const Ct=(0,gt.Z)(Et,[["render",kt],["__scopeId","data-v-3344f2bf"]]);var It=Ct;const xt=t=>((0,n.dD)("data-v-1405d90f"),t=t(),(0,n.Cn)(),t),Dt=["disabled"],Gt=xt((()=>(0,n._)("button",{type:"submit"},[(0,n._)("i",{class:"fas fa-circle-check"})],-1))),Tt=xt((()=>(0,n._)("i",{class:"fas fa-ban"},null,-1))),jt=[Tt];function Ot(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("form",{onSubmit:e[3]||(e[3]=(0,ut.iM)(((...t)=>o.submit&&o.submit(...t)),["prevent"])),class:"name-editor"},[(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=t=>l.text=t),disabled:i.disabled},null,8,Dt),[[ut.nr,l.text]]),Gt,(0,n._)("button",{class:"cancel",onClick:e[1]||(e[1]=e=>t.$emit("cancel")),onTouch:e[2]||(e[2]=e=>t.$emit("cancel"))},jt,32),(0,n.WI)(t.$slots,"default",{},void 0,!0)],32)}var St={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data(){return{text:null}},methods:{proxy(t){this.$emit(t.type,t)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value}};const qt=(0,gt.Z)(St,[["render",Ot],["__scopeId","data-v-1405d90f"]]);var Mt=qt,Ut=i(6813),$t=i(7369),Nt={name:"Entity",components:{Modal:at.Z,EditButton:It,NameEditor:Mt,Icon:rt.Z,ConfirmDialog:ft},mixins:[Ut.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1}},data(){return{loading:!1,editName:!1,editIcon:!1}},methods:{async onRename(t){this.loading=!0;try{const e={};e[this.entity.id]=t,await this.request("entities.rename",e)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(t){this.loading=!0;try{const e={url:null,class:null};t?.length?t.startsWith("http")?e.url=t:e.class=t:(e.url=($t[this.entity.type]||{})?.icon?.url,e.class=($t[this.entity.type]||{})?.icon?.["class"]);const i={};i[this.entity.id]={icon:e},await this.request("entities.set_meta",i)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(t){this.loading=!0;try{const e=this.entity.meta?.icon||{};e.color=t?t.target.value:null;const i={};i[this.entity.id]={icon:e},await this.request("entities.set_meta",i)}finally{this.loading=!1,this.editIcon=!1}}}};const Zt=(0,gt.Z)(Nt,[["render",ot],["__scopeId","data-v-ada8d74e"]]);var Lt=Zt},6647:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return f}});var n=i(6252),s=i(3577),l=i(9963);const o={class:"entities-selectors-container"},a={class:"selector"},r={key:1,class:"selector"};function u(t,e,i,u,c,d){const p=(0,n.up)("DropdownItem"),h=(0,n.up)("Dropdown");return(0,n.wg)(),(0,n.iD)("div",o,[(0,n._)("div",a,[(0,n.Wm)(h,{title:"Group by","icon-class":"fas fa-eye",ref:"groupingSelector"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(d.visibleGroupings,(t=>((0,n.wg)(),(0,n.j4)(p,{key:t,text:d.prettifyGroupingName(t),"item-class":{selected:i.value?.grouping===t},onClick:e=>d.onGroupingChanged(t)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),i.value?.grouping?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,n.Wm)(h,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(d.sortedGroups,(t=>((0,n.wg)(),(0,n.j4)(p,(0,n.dG)({key:t,text:t},d.iconForGroup(t),{"item-class":{selected:!!c.selectedGroups[t]},onClick:(0,l.iM)((e=>d.toggleGroup(t)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,n.kq)("",!0),Object.keys(i.entityGroups.id||{}).length?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.wy)((0,n._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":e[0]||(e[0]=t=>c.searchTerm=t)},null,512),[[l.nr,c.searchTerm]])])):(0,n.kq)("",!0)])}var c=i(6813),d=i(5771),p=i(9015),h=i(7369),m=i(1359),y={name:"Selector",emits:["input"],mixins:[c.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((t=>"id"!==t))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return h},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((t=>{if(!this.selectedGroups[t[this.value?.grouping]])return!1;if(this.searchTerm?.length){const e=this.searchTerm.toLowerCase();return(t.name||"").toLowerCase().indexOf(e)>=0||(t.plugin||"").toLowerCase().indexOf(e)>=0||(t.external_id||"").toLowerCase().indexOf(e)>=0||(t.id||0).toString()==e}return!0})).reduce(((t,e)=>(t[e.id]=e,t)),{})}},methods:{prettifyGroupingName(t){return t?this.prettify(t)+"s":""},iconForGroup(t){if("plugin"===this.value.grouping&&m[t]){const e=m[t];return{"icon-class":e["class"]?.length||!e.imgUrl?.length?e["class"]:"fas fa-gears","icon-url":e.imgUrl}}return{}},synchronizeSelectedEntities(){const t={...this.value};t.selectedEntities=this.selectedEntities,this.$emit("input",t)},updateSearchTerm(){const t={...this.value};t.searchTerm=this.searchTerm,t.selectedEntities=this.selectedEntities,this.$emit("input",t)},refreshGroupFilter(t){if(t)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((t,e)=>(t[e]=!0,t)),{});else for(const e of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[e]&&(this.selectedGroups[e]=!0);this.synchronizeSelectedEntities()},toggleGroup(t){this.selectedGroups[t]=!this.selectedGroups[t],this.synchronizeSelectedEntities()},onGroupingChanged(t){if(!this.entityGroups[t]||t===this.value?.grouping)return!1;const e={...this.value};e.grouping=t,this.$emit("input",e)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},g=i(3744);const v=(0,g.Z)(y,[["render",u],["__scopeId","data-v-63b80935"]]);var f=v},7243:function(t,e,i){var n={"./Entity":[9892,9],"./Entity.vue":[9892,9],"./EntityIcon":[3499,9,8729,3499],"./EntityIcon.vue":[3499,9,8729,3499],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./Index":[914,9],"./Index.vue":[914,9],"./Light":[1155,9,3490,3803,8729,1155],"./Light.vue":[1155,9,3490,3803,8729,1155],"./Modal":[4117,9],"./Modal.vue":[4117,9],"./Selector":[6647,9],"./Selector.vue":[6647,9],"./Switch":[518,9,3490,8729,518],"./Switch.vue":[518,9,3490,8729,518],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(t){if(!i.o(n,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],s=e[0];return Promise.all(e.slice(2).map(i.e)).then((function(){return i.t(s,16|e[1])}))}s.keys=function(){return Object.keys(n)},s.id=7243,t.exports=s},7369:function(t){"use strict";t.exports=JSON.parse('{"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}}}')}}]); -//# sourceMappingURL=9892.137ee64b.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js.map b/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js.map deleted file mode 100644 index 367fb001c..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9892.137ee64b.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/9892.137ee64b.js","mappings":"sLACOA,MAAM,6B,0CAAX,QAQM,MARN,EAQM,cAPJ,SAME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KAAKgJ,oBAAmB,EAAxB,GAC9C,G,UCjKH,MAAM9I,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,uBCTA,IAAI8D,EAAM,CACT,WAAY,CACX,KACA,GAED,eAAgB,CACf,KACA,GAED,eAAgB,CACf,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,gBAAiB,CAChB,KACA,GAED,oBAAqB,CACpB,KACA,GAED,UAAW,CACV,IACA,GAED,cAAe,CACd,IACA,GAED,UAAW,CACV,KACA,EACA,KACA,KACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,KACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,IACA,EACA,KACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KACA,KAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAASkF,EAAoB1B,GAC5B,IAAI2B,EAAoBC,EAAEpF,EAAKwD,GAC9B,OAAO6B,QAAQC,UAAUC,MAAK,WAC7B,IAAI5F,EAAI,IAAI6F,MAAM,uBAAyBhC,EAAM,KAEjD,MADA7D,EAAE8F,KAAO,mBACH9F,CACP,IAGD,IAAI+F,EAAM1F,EAAIwD,GAAMpF,EAAKsH,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI5I,MAAM,GAAGkD,IAAImF,EAAoBxF,IAAI4F,MAAK,WAChE,OAAOJ,EAAoBS,EAAExH,EAAa,GAATsH,EAAI,GACtC,GACD,CACAR,EAAoB1H,KAAO,WAAa,OAAOjB,OAAOiB,KAAKwC,EAAM,EACjEkF,EAAoB9G,GAAK,KACzByH,EAAOC,QAAUZ,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=3c242632&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=3c242632&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c242632\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=fef021ee&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=fef021ee&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fef021ee\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=ada8d74e&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=ada8d74e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ada8d74e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=63b80935&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=63b80935&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-63b80935\"]])\n\nexport default __exports__","var map = {\n\t\"./Entity\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./Index\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Light.vue\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Modal\": [\n\t\t4117,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t4117,\n\t\t9\n\t],\n\t\"./Selector\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Switch\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./Switch.vue\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["class","component","value","loading","error","reachable","$emit","$event","name","mixins","EntityMixin","emits","data","mounted","this","type","__exports__","render","Utils","props","Boolean","default","Object","required","modalVisible","computed","entityType","charAt","toUpperCase","slice","entityGroups","selector","title","refresh","modalEntityId","entity","entities","visible","onEntityModal","keys","displayGroups","length","group","key","grouping","entitiesMeta","icon","pluginIcons","url","imgUrl","name_plural","id","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","Number","entityTimeouts","selectedEntities","meta","icons","entries","groupEntities","reduce","obj","filter","entry","e","sort","a","b","localeCompare","map","methods","attr","values","async","args","plugins","plugin","self","clearTimeout","setTimeout","notify","text","request","name_override","clearEntityTimeouts","entityId","onEntityUpdate","event","state","onEntityDelete","subscribe","sync","href","target","external_id","ref","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","created_at","updated_at","$refs","deleteConfirmDiag","show","onConfirm","confirmText","close","cancelText","Modal","String","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","newName","req","newIcon","startsWith","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","toString","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","$watch","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all","t","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js b/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js new file mode 100644 index 000000000..0716386d7 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js @@ -0,0 +1,2 @@ +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9892],{9892:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return c}});var n=i(6252);const s={class:"row item entity-container"};function l(t,e,i,l,o,a){return(0,n.wg)(),(0,n.iD)("div",s,[((0,n.wg)(),(0,n.j4)((0,n.LL)(o.component),{value:t.value,loading:t.loading,error:t.error||0==t.value?.reachable,onInput:e[0]||(e[0]=e=>t.$emit("input",e)),onLoading:e[1]||(e[1]=e=>t.$emit("loading",e))},null,8,["value","loading","error"]))])}var o=i(7909),a={name:"Entity",mixins:[o["default"]],emits:["input","loading"],data(){return{component:null}},mounted(){"Entity"!==this.type&&(this.component=(0,n.RC)((()=>i(7243)(`./${this.type}`))))}},r=i(3744);const u=(0,r.Z)(a,[["render",l],["__scopeId","data-v-3c242632"]]);var c=u},7909:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return o}});var n=i(6813),s={name:"EntityMixin",mixins:[n.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0}},data(){return{modalVisible:!1}},computed:{type(){let t=this.value.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}};const l=s;var o=l},914:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return V}});var n=i(6252),s=i(3577);const l=t=>((0,n.dD)("data-v-fef021ee"),t=t(),(0,n.Cn)(),t),o={class:"row plugin entities-container"},a={class:"col-11 left"},r={class:"col-1 right"},u=l((()=>(0,n._)("i",{class:"fa fa-sync-alt"},null,-1))),c=[u],d={class:"groups-canvas"},p=(0,n.Uk)("No entities found"),h={key:2,class:"groups-container"},m={class:"frame"},y={class:"header"},g={class:"section left"},f={class:"section center"},v=["textContent"],_=["textContent"],w={class:"section right"},b=["onClick"],k=l((()=>(0,n._)("i",{class:"fa fa-sync-alt"},null,-1))),E=[k],C={class:"body"},I=["onClick"];function x(t,e,i,l,u,k){const x=(0,n.up)("Loading"),D=(0,n.up)("Selector"),G=(0,n.up)("EntityModal"),T=(0,n.up)("NoItems"),j=(0,n.up)("Icon"),O=(0,n.up)("Entity");return(0,n.wg)(),(0,n.iD)("div",o,[u.loading?((0,n.wg)(),(0,n.j4)(x,{key:0})):(0,n.kq)("",!0),(0,n._)("header",null,[(0,n._)("div",a,[(0,n.Wm)(D,{"entity-groups":k.entityGroups,value:u.selector,onInput:e[0]||(e[0]=t=>u.selector=t)},null,8,["entity-groups","value"])]),(0,n._)("div",r,[(0,n._)("button",{title:"Refresh",onClick:e[1]||(e[1]=t=>k.refresh(null))},c)])]),(0,n._)("div",d,[u.modalEntityId?((0,n.wg)(),(0,n.j4)(G,{key:0,entity:u.entities[u.modalEntityId],visible:u.modalVisible,onClose:e[2]||(e[2]=t=>k.onEntityModal(null))},null,8,["entity","visible"])):(0,n.kq)("",!0),Object.keys(k.displayGroups||{})?.length?((0,n.wg)(),(0,n.iD)("div",h,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(k.displayGroups,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"group fade-in",key:t.name},[(0,n._)("div",m,[(0,n._)("div",y,[(0,n._)("span",g,["type"===u.selector.grouping&&k.entitiesMeta[t.name]?((0,n.wg)(),(0,n.j4)(j,(0,s.vs)((0,n.dG)({key:0},k.entitiesMeta[t.name].icon||{})),null,16)):"plugin"===u.selector.grouping&&k.pluginIcons[t.name]?((0,n.wg)(),(0,n.j4)(j,{key:1,class:(0,s.C_)(k.pluginIcons[t.name]?.class),url:k.pluginIcons[t.name]?.imgUrl},null,8,["class","url"])):(0,n.kq)("",!0)]),(0,n._)("span",f,["type"===u.selector.grouping&&k.entitiesMeta[t.name]?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"title",textContent:(0,s.zw)(k.entitiesMeta[t.name].name_plural)},null,8,v)):"plugin"===u.selector.grouping?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"title",textContent:(0,s.zw)(t.name)},null,8,_)):(0,n.kq)("",!0)]),(0,n._)("span",w,[(0,n._)("button",{title:"Refresh",onClick:e=>k.refresh(t)},E,8,b)])]),(0,n._)("div",C,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.entities,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"entity-frame",onClick:e=>k.onEntityModal(t.id),key:t.id},[(0,n.Wm)(O,{value:t,onInput:k.onEntityInput,error:!!u.errorEntities[t.id],loading:!!u.loadingEntities[t.id],onLoading:e=>u.loadingEntities[t.id]=e},null,8,["value","onInput","error","loading","onLoading"])],8,I)))),128))])])])))),128))])):((0,n.wg)(),(0,n.j4)(T,{key:1},{default:(0,n.w5)((()=>[p])),_:1}))])])}var D=i(6813),G=i(1232),T=i(1478);const j={class:"no-items-container"},O={class:"no-items fade-in"};function S(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("div",j,[(0,n._)("div",O,[(0,n.WI)(t.$slots,"default",{},void 0,!0)])])}var q={name:"NoItems"},M=i(3744);const U=(0,M.Z)(q,[["render",S],["__scopeId","data-v-6fec32b5"]]);var $=U,N=i(9892),Z=i(6647),L=i(6243),z=i(1359),F=i(7369),W={name:"Entities",components:{Loading:G.Z,Icon:T.Z,Entity:N["default"],Selector:Z["default"],NoItems:$,EntityModal:L["default"]},mixins:[D.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"type",selectedEntities:{}}}},computed:{entitiesMeta(){return F},pluginIcons(){return z},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((t,[e,i])=>(t[e]=i[0],t)),{}),type:this.groupEntities("type"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((t=>t[1].filter((t=>!!this.selector.selectedEntities[t.id])).length>0)).sort(((t,e)=>t[0].localeCompare(e[0]))).map((([t,e])=>({name:t,entities:e.filter((t=>t.id in this.selector.selectedEntities))})))}},methods:{groupEntities(t){return Object.values(this.entities).reduce(((e,i)=>{const n=e[i[t]]||{};return n[i.id]=i,e[i[t]]=Object.values(n).sort(((t,e)=>t.name.localeCompare(e.name))),e}),{})},async refresh(t){const e=(t?t.entities:this.entities)||{},i={};t&&(i.plugins=Object.keys(e.reduce(((t,e)=>(t[e.plugin]=!0,t)),{}))),this.loadingEntities=Object.values(e).reduce(((t,e)=>{const i=this,n=e.id;return this.entityTimeouts[n]&&clearTimeout(this.entityTimeouts[n]),this.entityTimeouts[n]=setTimeout((()=>{i.loadingEntities[n]&&delete i.loadingEntities[n],i.entityTimeouts[n]&&delete i.entityTimeouts[n],i.errorEntities[n]=e,i.notify({error:!0,title:e.plugin,text:`Scan timeout for ${e.name}`})}),1e3*this.entityScanTimeout),t[n]=!0,t}),{}),await this.request("entities.scan",i)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((t,e)=>(e.name=e?.meta?.name_override||e.name,e.meta={...F[e.type]||{},...e.meta||{}},t[e.id]=e,t)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},clearEntityTimeouts(t){this.errorEntities[t]&&delete this.errorEntities[t],this.loadingEntities[t]&&delete this.loadingEntities[t],this.entityTimeouts[t]&&(clearTimeout(this.entityTimeouts[t]),delete this.entityTimeouts[t])},onEntityInput(t){this.entities[t.id]=t,this.clearEntityTimeouts(t.id),this.loadingEntities[t.id]&&delete this.loadingEntities[t.id]},onEntityUpdate(t){const e=t.entity.id;if(null==e)return;this.clearEntityTimeouts(e);const i={...t.entity};null==t.entity?.state&&(i.state=this.entities[e]?.state),i.meta?.name_override?.length?i.name=i.meta.name_override:this.entities[e]?.meta?.name_override?.length?i.name=this.entities[e].meta.name_override:i.name=t.entity?.name||this.entities[e]?.name,i.meta={...F[t.entity.type]||{},...this.entities[e]?.meta||{},...t.entity?.meta||{}},this.entities[e]=i},onEntityDelete(t){const e=t.entity?.id;null!=e&&(e===this.modalEntityId&&(this.modalEntityId=null),this.entities[e]&&delete this.entities[e])},onEntityModal(t){t?(this.modalEntityId=t,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()}};const R=(0,M.Z)(W,[["render",x],["__scopeId","data-v-fef021ee"]]);var V=R},6243:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return Lt}});var n=i(6252),s=i(3577);const l=t=>((0,n.dD)("data-v-628ff73f"),t=t(),(0,n.Cn)(),t),o=(0,n.Uk)(" Are you "),a=l((()=>(0,n._)("b",null,"sure",-1))),r=(0,n.Uk)(" that you want to delete this entity? "),u=l((()=>(0,n._)("br",null,null,-1))),c=l((()=>(0,n._)("br",null,null,-1))),d=(0,n.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=l((()=>(0,n._)("br",null,null,-1))),h=l((()=>(0,n._)("br",null,null,-1))),m=(0,n.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),y={class:"table-row"},g={class:"title"},f=(0,n.Uk)(" Name "),v={class:"value"},_=["textContent"],w={class:"table-row"},b={class:"title"},k=(0,n.Uk)(" Icon "),E={class:"value icon-canvas"},C={key:0,class:"icon-editor"},I=l((()=>(0,n._)("i",{class:"fas fa-rotate-left"},null,-1))),x=[I],D=l((()=>(0,n._)("span",{class:"help"},[(0,n.Uk)(" Supported: image URLs or "),(0,n._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,n.Uk)(". ")],-1))),G={class:"table-row"},T=l((()=>(0,n._)("div",{class:"title"}," Icon color ",-1))),j={class:"value icon-color-picker"},O=["value"],S=l((()=>(0,n._)("i",{class:"fas fa-rotate-left"},null,-1))),q=[S],M={class:"table-row"},U=l((()=>(0,n._)("div",{class:"title"},"Plugin",-1))),$=["textContent"],N={class:"table-row"},Z=l((()=>(0,n._)("div",{class:"title"},"Internal ID",-1))),L=["textContent"],z={key:0,class:"table-row"},F=l((()=>(0,n._)("div",{class:"title"},"External ID",-1))),W=["textContent"],R={key:1,class:"table-row"},V=l((()=>(0,n._)("div",{class:"title"},"Description",-1))),B=["textContent"],K={key:0,class:"table-row"},A=["textContent"],H=["textContent"],Y={key:2,class:"table-row"},P=l((()=>(0,n._)("div",{class:"title"},"Created at",-1))),J=["textContent"],Q={key:3,class:"table-row"},X=l((()=>(0,n._)("div",{class:"title"},"Updated at",-1))),tt=["textContent"],et={class:"table-row delete-entity-container"},it=l((()=>(0,n._)("div",{class:"title"},"Delete Entity",-1))),nt={class:"value"},st=l((()=>(0,n._)("i",{class:"fas fa-trash"},null,-1))),lt=[st];function ot(t,e,i,l,I,S){const st=(0,n.up)("ConfirmDialog"),ot=(0,n.up)("EditButton"),at=(0,n.up)("NameEditor"),rt=(0,n.up)("Icon"),ut=(0,n.up)("Modal",!0);return(0,n.wg)(),(0,n.j4)(ut,{visible:i.visible,class:"entity-modal",title:i.entity.name||i.entity.external_id},{default:(0,n.w5)((()=>[(0,n.Wm)(st,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:S.onDelete},{default:(0,n.w5)((()=>[o,a,r,u,c,d,p,h,m])),_:1},8,["onInput"]),(0,n._)("div",y,[(0,n._)("div",g,[f,I.editName?(0,n.kq)("",!0):((0,n.wg)(),(0,n.j4)(ot,{key:0,onClick:e[0]||(e[0]=t=>I.editName=!0)}))]),(0,n._)("div",v,[I.editName?((0,n.wg)(),(0,n.j4)(at,{key:0,value:i.entity.name,onInput:S.onRename,onCancel:e[1]||(e[1]=t=>I.editName=!1),disabled:I.loading},null,8,["value","onInput","disabled"])):((0,n.wg)(),(0,n.iD)("span",{key:1,textContent:(0,s.zw)(i.entity.name)},null,8,_))])]),(0,n._)("div",w,[(0,n._)("div",b,[k,I.editIcon?(0,n.kq)("",!0):((0,n.wg)(),(0,n.j4)(ot,{key:0,onClick:e[2]||(e[2]=t=>I.editIcon=!0)}))]),(0,n._)("div",E,[I.editIcon?((0,n.wg)(),(0,n.iD)("span",C,[(0,n.Wm)(at,{value:i.entity.meta?.icon?.class||i.entity.meta?.icon?.url,onInput:S.onIconEdit,onCancel:e[5]||(e[5]=t=>I.editIcon=!1),disabled:I.loading},{default:(0,n.w5)((()=>[(0,n._)("button",{type:"button",title:"Reset",onClick:e[3]||(e[3]=t=>S.onIconEdit(null)),onTouch:e[4]||(e[4]=t=>S.onIconEdit(null))},x,32)])),_:1},8,["value","onInput","disabled"]),D])):((0,n.wg)(),(0,n.j4)(rt,(0,s.vs)((0,n.dG)({key:1},i.entity?.meta?.icon||{})),null,16))])]),(0,n._)("div",G,[T,(0,n._)("div",j,[(0,n._)("input",{type:"color",value:i.entity.meta?.icon?.color,onChange:e[6]||(e[6]=(...t)=>S.onIconColorEdit&&S.onIconColorEdit(...t))},null,40,O),(0,n._)("button",{type:"button",title:"Reset",onClick:e[7]||(e[7]=t=>S.onIconColorEdit(null)),onTouch:e[8]||(e[8]=t=>S.onIconColorEdit(null))},q,32)])]),(0,n._)("div",M,[U,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.plugin)},null,8,$)]),(0,n._)("div",N,[Z,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.id)},null,8,L)]),i.entity.external_id?((0,n.wg)(),(0,n.iD)("div",z,[F,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.external_id)},null,8,W)])):(0,n.kq)("",!0),i.entity.description?((0,n.wg)(),(0,n.iD)("div",R,[V,(0,n._)("div",{class:"value",textContent:(0,s.zw)(i.entity.description)},null,8,B)])):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(i.entity.data||{},((e,i)=>((0,n.wg)(),(0,n.iD)("div",{key:i},[null!=e?((0,n.wg)(),(0,n.iD)("div",K,[(0,n._)("div",{class:"title",textContent:(0,s.zw)(t.prettify(i))},null,8,A),(0,n._)("div",{class:"value",textContent:(0,s.zw)(""+e)},null,8,H)])):(0,n.kq)("",!0)])))),128)),i.entity.created_at?((0,n.wg)(),(0,n.iD)("div",Y,[P,(0,n._)("div",{class:"value",textContent:(0,s.zw)(t.formatDateTime(i.entity.created_at))},null,8,J)])):(0,n.kq)("",!0),i.entity.updated_at?((0,n.wg)(),(0,n.iD)("div",Q,[X,(0,n._)("div",{class:"value",textContent:(0,s.zw)(t.formatDateTime(i.entity.updated_at))},null,8,tt)])):(0,n.kq)("",!0),(0,n._)("div",et,[it,(0,n._)("div",nt,[(0,n._)("button",{onClick:e[9]||(e[9]=e=>t.$refs.deleteConfirmDiag.show())},lt)])])])),_:1},8,["visible","title"])}var at=i(8453),rt=i(1478),ut=i(9963);const ct=t=>((0,n.dD)("data-v-d543b3e4"),t=t(),(0,n.Cn)(),t),dt={class:"dialog-content"},pt=ct((()=>(0,n._)("i",{class:"fas fa-check"},null,-1))),ht=ct((()=>(0,n._)("i",{class:"fas fa-xmark"},null,-1)));function mt(t,e,i,l,o,a){const r=(0,n.up)("Modal");return(0,n.wg)(),(0,n.j4)(r,{ref:"modal",title:i.title},{default:(0,n.w5)((()=>[(0,n._)("div",dt,[(0,n.WI)(t.$slots,"default",{},void 0,!0)]),(0,n._)("form",{class:"buttons",onSubmit:e[4]||(e[4]=(0,ut.iM)(((...t)=>a.onConfirm&&a.onConfirm(...t)),["prevent"]))},[(0,n._)("button",{type:"submit",class:"ok-btn",onClick:e[0]||(e[0]=(...t)=>a.onConfirm&&a.onConfirm(...t)),onTouch:e[1]||(e[1]=(...t)=>a.onConfirm&&a.onConfirm(...t))},[pt,(0,n.Uk)("   "+(0,s.zw)(i.confirmText),1)],32),(0,n._)("button",{type:"button",class:"cancel-btn",onClick:e[2]||(e[2]=(...t)=>a.close&&a.close(...t)),onTouch:e[3]||(e[3]=(...t)=>a.close&&a.close(...t))},[ht,(0,n.Uk)("   "+(0,s.zw)(i.cancelText),1)],32)],32)])),_:3},8,["title"])}var yt={emits:["input","click","touch"],components:{Modal:at.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},gt=i(3744);const ft=(0,gt.Z)(yt,[["render",mt],["__scopeId","data-v-d543b3e4"]]);var vt=ft;const _t=t=>((0,n.dD)("data-v-3344f2bf"),t=t(),(0,n.Cn)(),t),wt=_t((()=>(0,n._)("i",{class:"fas fa-pen-to-square"},null,-1))),bt=[wt];function kt(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("button",{class:"edit-btn",onClick:e[0]||(e[0]=t=>o.proxy(t)),onTouch:e[1]||(e[1]=t=>o.proxy(t)),onInput:e[2]||(e[2]=t=>o.proxy(t))},bt,32)}var Et={emits:["input","click","touch"],methods:{proxy(t){this.$emit(t.type,t)}}};const Ct=(0,gt.Z)(Et,[["render",kt],["__scopeId","data-v-3344f2bf"]]);var It=Ct;const xt=t=>((0,n.dD)("data-v-1405d90f"),t=t(),(0,n.Cn)(),t),Dt=["disabled"],Gt=xt((()=>(0,n._)("button",{type:"submit"},[(0,n._)("i",{class:"fas fa-circle-check"})],-1))),Tt=xt((()=>(0,n._)("i",{class:"fas fa-ban"},null,-1))),jt=[Tt];function Ot(t,e,i,s,l,o){return(0,n.wg)(),(0,n.iD)("form",{onSubmit:e[3]||(e[3]=(0,ut.iM)(((...t)=>o.submit&&o.submit(...t)),["prevent"])),class:"name-editor"},[(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=t=>l.text=t),disabled:i.disabled},null,8,Dt),[[ut.nr,l.text]]),Gt,(0,n._)("button",{class:"cancel",onClick:e[1]||(e[1]=e=>t.$emit("cancel")),onTouch:e[2]||(e[2]=e=>t.$emit("cancel"))},jt,32),(0,n.WI)(t.$slots,"default",{},void 0,!0)],32)}var St={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data(){return{text:null}},methods:{proxy(t){this.$emit(t.type,t)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value}};const qt=(0,gt.Z)(St,[["render",Ot],["__scopeId","data-v-1405d90f"]]);var Mt=qt,Ut=i(6813),$t=i(7369),Nt={name:"Entity",components:{Modal:at.Z,EditButton:It,NameEditor:Mt,Icon:rt.Z,ConfirmDialog:vt},mixins:[Ut.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1}},data(){return{loading:!1,editName:!1,editIcon:!1}},methods:{async onRename(t){this.loading=!0;try{const e={};e[this.entity.id]=t,await this.request("entities.rename",e)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(t){this.loading=!0;try{const e={url:null,class:null};t?.length?t.startsWith("http")?e.url=t:e.class=t:(e.url=($t[this.entity.type]||{})?.icon?.url,e.class=($t[this.entity.type]||{})?.icon?.["class"]);const i={};i[this.entity.id]={icon:e},await this.request("entities.set_meta",i)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(t){this.loading=!0;try{const e=this.entity.meta?.icon||{};e.color=t?t.target.value:null;const i={};i[this.entity.id]={icon:e},await this.request("entities.set_meta",i)}finally{this.loading=!1,this.editIcon=!1}}}};const Zt=(0,gt.Z)(Nt,[["render",ot],["__scopeId","data-v-628ff73f"]]);var Lt=Zt},6647:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return v}});var n=i(6252),s=i(3577),l=i(9963);const o={class:"entities-selectors-container"},a={class:"selector"},r={key:1,class:"selector"};function u(t,e,i,u,c,d){const p=(0,n.up)("DropdownItem"),h=(0,n.up)("Dropdown");return(0,n.wg)(),(0,n.iD)("div",o,[(0,n._)("div",a,[(0,n.Wm)(h,{title:"Group by","icon-class":"fas fa-eye",ref:"groupingSelector"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(d.visibleGroupings,(t=>((0,n.wg)(),(0,n.j4)(p,{key:t,text:d.prettifyGroupingName(t),"item-class":{selected:i.value?.grouping===t},onClick:e=>d.onGroupingChanged(t)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),i.value?.grouping?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,n.Wm)(h,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(d.sortedGroups,(t=>((0,n.wg)(),(0,n.j4)(p,(0,n.dG)({key:t,text:t},d.iconForGroup(t),{"item-class":{selected:!!c.selectedGroups[t]},onClick:(0,l.iM)((e=>d.toggleGroup(t)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,n.kq)("",!0),Object.keys(i.entityGroups.id||{}).length?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.wy)((0,n._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":e[0]||(e[0]=t=>c.searchTerm=t)},null,512),[[l.nr,c.searchTerm]])])):(0,n.kq)("",!0)])}var c=i(6813),d=i(5771),p=i(9015),h=i(7369),m=i(1359),y={name:"Selector",emits:["input"],mixins:[c.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((t=>"id"!==t))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return h},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((t=>{if(!this.selectedGroups[t[this.value?.grouping]])return!1;if(this.searchTerm?.length){const e=this.searchTerm.toLowerCase();return(t.name||"").toLowerCase().indexOf(e)>=0||(t.plugin||"").toLowerCase().indexOf(e)>=0||(t.external_id||"").toLowerCase().indexOf(e)>=0||(t.id||0).toString()==e}return!0})).reduce(((t,e)=>(t[e.id]=e,t)),{})}},methods:{prettifyGroupingName(t){return t?this.prettify(t)+"s":""},iconForGroup(t){if("plugin"===this.value.grouping&&m[t]){const e=m[t];return{"icon-class":e["class"]?.length||!e.imgUrl?.length?e["class"]:"fas fa-gears","icon-url":e.imgUrl}}return{}},synchronizeSelectedEntities(){const t={...this.value};t.selectedEntities=this.selectedEntities,this.$emit("input",t)},updateSearchTerm(){const t={...this.value};t.searchTerm=this.searchTerm,t.selectedEntities=this.selectedEntities,this.$emit("input",t)},refreshGroupFilter(t){if(t)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((t,e)=>(t[e]=!0,t)),{});else for(const e of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[e]&&(this.selectedGroups[e]=!0);this.synchronizeSelectedEntities()},toggleGroup(t){this.selectedGroups[t]=!this.selectedGroups[t],this.synchronizeSelectedEntities()},onGroupingChanged(t){if(!this.entityGroups[t]||t===this.value?.grouping)return!1;const e={...this.value};e.grouping=t,this.$emit("input",e)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},g=i(3744);const f=(0,g.Z)(y,[["render",u],["__scopeId","data-v-63b80935"]]);var v=f},7243:function(t,e,i){var n={"./Entity":[9892,9],"./Entity.vue":[9892,9],"./EntityIcon":[3499,9,8729,3499],"./EntityIcon.vue":[3499,9,8729,3499],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./Index":[914,9],"./Index.vue":[914,9],"./Light":[1155,9,3490,3803,8729,1155],"./Light.vue":[1155,9,3490,3803,8729,1155],"./Modal":[6243,9],"./Modal.vue":[6243,9],"./Selector":[6647,9],"./Selector.vue":[6647,9],"./Switch":[518,9,3490,8729,518],"./Switch.vue":[518,9,3490,8729,518],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(t){if(!i.o(n,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],s=e[0];return Promise.all(e.slice(2).map(i.e)).then((function(){return i.t(s,16|e[1])}))}s.keys=function(){return Object.keys(n)},s.id=7243,t.exports=s},7369:function(t){"use strict";t.exports=JSON.parse('{"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}}}')}}]); +//# sourceMappingURL=9892.966b4879.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js.map b/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js.map new file mode 100644 index 000000000..e4024de2d --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9892.966b4879.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/9892.966b4879.js","mappings":"sLACOA,MAAM,6B,0CAAX,QAQM,MARN,EAQM,cAPJ,SAME,QANc,EAAAC,WAAS,CACtBC,MAAO,EAAAA,MACPC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAAyB,GAAhB,EAAAF,OAAOG,UACvB,QAAK,eAAE,EAAAC,MAAK,QAAUC,IACtB,UAAO,eAAE,EAAAD,MAAK,UAAYC,KAL7B,sC,eAcJ,GACEC,KAAM,SACNC,OAAQ,CAACC,EAAA,YACTC,MAAO,CAAC,QAAS,WAEjBC,OACE,MAAO,CACLX,UAAW,KAEd,EAEDY,UACoB,WAAdC,KAAKC,OACPD,KA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,cAAe,CACd,IACA,GAED,UAAW,CACV,KACA,EACA,KACA,KACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,KACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,IACA,EACA,KACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KACA,KAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAASkF,EAAoB1B,GAC5B,IAAI2B,EAAoBC,EAAEpF,EAAKwD,GAC9B,OAAO6B,QAAQC,UAAUC,MAAK,WAC7B,IAAI5F,EAAI,IAAI6F,MAAM,uBAAyBhC,EAAM,KAEjD,MADA7D,EAAE8F,KAAO,mBACH9F,CACP,IAGD,IAAI+F,EAAM1F,EAAIwD,GAAMpF,EAAKsH,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI5I,MAAM,GAAGkD,IAAImF,EAAoBxF,IAAI4F,MAAK,WAChE,OAAOJ,EAAoBS,EAAExH,EAAa,GAATsH,EAAI,GACtC,GACD,CACAR,EAAoB1H,KAAO,WAAa,OAAOjB,OAAOiB,KAAKwC,EAAM,EACjEkF,EAAoB9G,GAAK,KACzByH,EAAOC,QAAUZ,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=3c242632&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=3c242632&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c242632\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=fef021ee&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=fef021ee&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fef021ee\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=628ff73f&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=628ff73f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-628ff73f\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=63b80935&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=63b80935&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-63b80935\"]])\n\nexport default __exports__","var map = {\n\t\"./Entity\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t9892,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3499,\n\t\t9,\n\t\t8729,\n\t\t3499\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./Index\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t914,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Light.vue\": [\n\t\t1155,\n\t\t9,\n\t\t3490,\n\t\t3803,\n\t\t8729,\n\t\t1155\n\t],\n\t\"./Modal\": [\n\t\t6243,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t6243,\n\t\t9\n\t],\n\t\"./Selector\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6647,\n\t\t9\n\t],\n\t\"./Switch\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./Switch.vue\": [\n\t\t518,\n\t\t9,\n\t\t3490,\n\t\t8729,\n\t\t518\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["class","component","value","loading","error","reachable","$emit","$event","name","mixins","EntityMixin","emits","data","mounted","this","type","__exports__","render","Utils","props","Boolean","default","Object","required","modalVisible","computed","entityType","charAt","toUpperCase","slice","entityGroups","selector","title","refresh","modalEntityId","entity","entities","visible","onEntityModal","keys","displayGroups","length","group","key","grouping","entitiesMeta","icon","pluginIcons","url","imgUrl","name_plural","id","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","Number","entityTimeouts","selectedEntities","meta","icons","entries","groupEntities","reduce","obj","filter","entry","e","sort","a","b","localeCompare","map","methods","attr","values","async","args","plugins","plugin","self","clearTimeout","setTimeout","notify","text","request","name_override","clearEntityTimeouts","entityId","onEntityUpdate","event","state","onEntityDelete","subscribe","sync","href","target","external_id","ref","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","created_at","updated_at","$refs","deleteConfirmDiag","show","onConfirm","confirmText","close","cancelText","Modal","String","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","newName","req","newIcon","startsWith","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","toString","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","$watch","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all","t","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js b/platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js rename to platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js index 498421bde..9e992d119 100644 --- a/platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js +++ b/platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9895,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],x=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),k=[x],z=(0,s._)("i",{class:"fas fa-cog"},null,-1),$=[z],F={class:"audio-container"},U={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},P={class:"row"},q=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),I={class:"row"},G=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),x=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},k)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},$)])])]),(0,s._)("div",F,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",U,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",P,[q,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(x,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",I,[G,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(9642),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},9895:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"ir.mlx90640",ref:"camera"},null,512)}var i=e(5528),r={name:"CameraIrMlx90640",components:{Camera:i["default"]},mounted(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};a.resolution||(this.$refs.camera.attrs.resolution=[32,24]),a.scale_x||(this.$refs.camera.attrs.scale_x=15),a.scale_y||(this.$refs.camera.attrs.scale_y=15)}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); -//# sourceMappingURL=9895.5f8848ab.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9895,5528],{5528:function(a,t,e){e.r(t),e.d(t,{default:function(){return ha}});var s=e(6252),n=e(9963);const i={class:"camera"},r={class:"camera-container"},l={class:"frame-container",ref:"frameContainer"},o={key:0,class:"no-frame"},c=["src"],u={class:"controls"},p={class:"left"},h=["disabled"],d=(0,s._)("i",{class:"fa fa-play"},null,-1),m=[d],g=["disabled"],_=(0,s._)("i",{class:"fa fa-stop"},null,-1),f=[_],y=["disabled"],C=(0,s._)("i",{class:"fas fa-camera"},null,-1),w=[C],v={class:"right"},b=(0,s._)("i",{class:"fas fa-volume-mute"},null,-1),S=[b],x=(0,s._)("i",{class:"fas fa-volume-up"},null,-1),k=[x],z=(0,s._)("i",{class:"fas fa-cog"},null,-1),$=[z],F={class:"audio-container"},U={key:0,autoplay:"",preload:"none",ref:"player"},D=["src"],M=(0,s.Uk)(" Your browser does not support audio elements "),V={key:0,class:"url"},P={class:"row"},q=(0,s._)("span",{class:"name"},"Stream URL",-1),A=["value"],L={class:"params"},O={class:"row"},j=(0,s._)("span",{class:"name"},"Device",-1),I={class:"row"},G=(0,s._)("span",{class:"name"},"Width",-1),R={class:"row"},T=(0,s._)("span",{class:"name"},"Height",-1),Z={class:"row"},W=(0,s._)("span",{class:"name"},"Horizontal Flip",-1),H={class:"row"},Y=(0,s._)("span",{class:"name"},"Vertical Flip",-1),E={class:"row"},X=(0,s._)("span",{class:"name"},"Rotate",-1),B={class:"row"},J=(0,s._)("span",{class:"name"},"Scale-X",-1),K={class:"row"},N=(0,s._)("span",{class:"name"},"Scale-Y",-1),Q={class:"row"},aa=(0,s._)("span",{class:"name"},"Frames per second",-1),ta={class:"row"},ea=(0,s._)("span",{class:"name"},"Grayscale",-1);function sa(a,t,e,d,_,C){const b=(0,s.up)("Slot"),x=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[(0,s._)("div",l,[a.streaming||a.capturing||a.captured?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",o,"The camera is not active")),(0,s._)("img",{class:"frame",src:a.url,ref:"frame",alt:""},null,8,c)],512),(0,s._)("div",u,[(0,s._)("div",p,[a.streaming?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[1]||(t[1]=(...t)=>a.stopStreaming&&a.stopStreaming(...t)),disabled:a.capturing,title:"Stop video"},f,8,g)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(...a)=>C.startStreaming&&C.startStreaming(...a)),disabled:a.capturing,title:"Start video"},m,8,h)),a.streaming?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("button",{key:2,type:"button",onClick:t[2]||(t[2]=(...a)=>C.capture&&C.capture(...a)),disabled:a.streaming||a.capturing,title:"Take a picture"},w,8,y))]),(0,s._)("div",v,[a.audioOn?((0,s.wg)(),(0,s.iD)("button",{key:1,type:"button",onClick:t[4]||(t[4]=(...t)=>a.stopAudio&&a.stopAudio(...t)),title:"Stop audio"},k)):((0,s.wg)(),(0,s.iD)("button",{key:0,type:"button",onClick:t[3]||(t[3]=(...t)=>a.startAudio&&a.startAudio(...t)),title:"Start audio"},S)),(0,s._)("button",{type:"button",onClick:t[5]||(t[5]=t=>a.$refs.paramsModal.show()),title:"Settings"},$)])])]),(0,s._)("div",F,[a.audioOn?((0,s.wg)(),(0,s.iD)("audio",U,[(0,s._)("source",{src:`/sound/stream?t=${(new Date).getTime()}`,type:"audio/x-wav;codec=pcm"},null,8,D),M],512)):(0,s.kq)("",!0)]),a.url?.length?((0,s.wg)(),(0,s.iD)("div",V,[(0,s._)("label",P,[q,(0,s._)("input",{name:"url",type:"text",value:C.fullURL,disabled:"disabled"},null,8,A)])])):(0,s.kq)("",!0),(0,s.Wm)(x,{ref:"paramsModal",title:"Camera Parameters"},{default:(0,s.w5)((()=>[(0,s._)("div",L,[(0,s._)("label",O,[j,(0,s.wy)((0,s._)("input",{name:"device",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>a.attrs.device=t),onChange:t[7]||(t[7]=(...t)=>a.onDeviceChanged&&a.onDeviceChanged(...t))},null,544),[[n.nr,a.attrs.device]])]),(0,s._)("label",I,[G,(0,s.wy)((0,s._)("input",{name:"width",type:"text","onUpdate:modelValue":t[8]||(t[8]=t=>a.attrs.resolution[0]=t),onChange:t[9]||(t[9]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[0]]])]),(0,s._)("label",R,[T,(0,s.wy)((0,s._)("input",{name:"height",type:"text","onUpdate:modelValue":t[10]||(t[10]=t=>a.attrs.resolution[1]=t),onChange:t[11]||(t[11]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.resolution[1]]])]),(0,s._)("label",Z,[W,(0,s.wy)((0,s._)("input",{name:"horizontal_flip",type:"checkbox","onUpdate:modelValue":t[12]||(t[12]=t=>a.attrs.horizontal_flip=t),onChange:t[13]||(t[13]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.horizontal_flip]])]),(0,s._)("label",H,[Y,(0,s.wy)((0,s._)("input",{name:"vertical_flip",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=t=>a.attrs.vertical_flip=t),onChange:t[15]||(t[15]=(...t)=>a.onFlipChanged&&a.onFlipChanged(...t))},null,544),[[n.e8,a.attrs.vertical_flip]])]),(0,s._)("label",E,[X,(0,s.wy)((0,s._)("input",{name:"rotate",type:"text","onUpdate:modelValue":t[16]||(t[16]=t=>a.attrs.rotate=t),onChange:t[17]||(t[17]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.rotate]])]),(0,s._)("label",B,[J,(0,s.wy)((0,s._)("input",{name:"scale_x",type:"text","onUpdate:modelValue":t[18]||(t[18]=t=>a.attrs.scale_x=t),onChange:t[19]||(t[19]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_x]])]),(0,s._)("label",K,[N,(0,s.wy)((0,s._)("input",{name:"scale_y",type:"text","onUpdate:modelValue":t[20]||(t[20]=t=>a.attrs.scale_y=t),onChange:t[21]||(t[21]=(...t)=>a.onSizeChanged&&a.onSizeChanged(...t))},null,544),[[n.nr,a.attrs.scale_y]])]),(0,s._)("label",Q,[aa,(0,s.wy)((0,s._)("input",{name:"fps",type:"text","onUpdate:modelValue":t[22]||(t[22]=t=>a.attrs.fps=t),onChange:t[23]||(t[23]=(...t)=>a.onFpsChanged&&a.onFpsChanged(...t))},null,544),[[n.nr,a.attrs.fps]])]),(0,s._)("label",ta,[ea,(0,s.wy)((0,s._)("input",{name:"grayscale",type:"checkbox","onUpdate:modelValue":t[24]||(t[24]=t=>a.attrs.grayscale=t),onChange:t[25]||(t[25]=(...t)=>a.onGrayscaleChanged&&a.onGrayscaleChanged(...t))},null,544),[[n.e8,a.attrs.grayscale]])]),(0,s.Wm)(b)])])),_:1},512)])}var na=e(6813),ia={name:"CameraMixin",mixins:[na.Z],props:{cameraPlugin:{type:String,required:!0}},data(){return{streaming:!1,capturing:!1,captured:!1,audioOn:!1,url:null,attrs:{}}},computed:{params(){return{resolution:this.attrs.resolution,device:this.attrs.device?.length?this.attrs.device:null,horizontal_flip:parseInt(0+this.attrs.horizontal_flip),vertical_flip:parseInt(0+this.attrs.vertical_flip),rotate:parseFloat(this.attrs.rotate),scale_x:parseFloat(this.attrs.scale_x),scale_y:parseFloat(this.attrs.scale_y),fps:parseFloat(this.attrs.fps),grayscale:parseInt(0+this.attrs.grayscale)}}},methods:{getUrl(a,t){return"/camera/"+a+"/"+t+"?"+Object.entries(this.params).filter((a=>null!=a[1]&&(""+a[1]).length>0)).map((([a,t])=>a+"="+t)).join("&")},_startStreaming(a){this.streaming||(this.streaming=!0,this.capturing=!1,this.captured=!1,this.url=this.getUrl(a,"video."+this.attrs.stream_format))},stopStreaming(){this.streaming&&(this.streaming=!1,this.capturing=!1,this.url=null)},_capture(a){this.capturing||(this.streaming=!1,this.capturing=!0,this.captured=!0,this.url=this.getUrl(a,"photo.jpg")+"&t="+(new Date).getTime())},onFrameLoaded(){this.capturing&&(this.capturing=!1)},onDeviceChanged(){},onFlipChanged(){},onSizeChanged(){const a=a=>a*Math.PI/180,t=a(this.params.rotate);this.$refs.frameContainer.style.width=Math.round(this.params.scale_x*Math.abs(this.params.resolution[0]*Math.cos(t)+this.params.resolution[1]*Math.sin(t)))+"px",this.$refs.frameContainer.style.height=Math.round(this.params.scale_y*Math.abs(this.params.resolution[0]*Math.sin(t)+this.params.resolution[1]*Math.cos(t)))+"px"},onFpsChanged(){},onGrayscaleChanged(){},startAudio(){this.audioOn=!0},async stopAudio(){this.audioOn=!1,await this.request("sound.stop_recording")}},created(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};this.attrs={resolution:a.resolution||[640,480],device:a.device,horizontal_flip:a.horizontal_flip||0,vertical_flip:a.vertical_flip||0,rotate:a.rotate||0,scale_x:a.scale_x||1,scale_y:a.scale_y||1,fps:a.fps||16,grayscale:a.grayscale||0,stream_format:a.stream_format||"mjpeg"}},mounted(){this.$refs.frame.addEventListener("load",this.onFrameLoaded),this.onSizeChanged(),this.$watch((()=>this.attrs.resolution),this.onSizeChanged),this.$watch((()=>this.attrs.horizontal_flip),this.onSizeChanged),this.$watch((()=>this.attrs.vertical_flip),this.onSizeChanged),this.$watch((()=>this.attrs.rotate),this.onSizeChanged),this.$watch((()=>this.attrs.scale_x),this.onSizeChanged),this.$watch((()=>this.attrs.scale_y),this.onSizeChanged)}};const ra=ia;var la=ra,oa=e(8453),ca={name:"Camera",components:{Modal:oa.Z},mixins:[la],props:{cameraPlugin:{type:String,required:!0}},computed:{fullURL(){return`${window.location.protocol}//${window.location.host}${this.url}`}},methods:{startStreaming(){this._startStreaming(this.cameraPlugin)},capture(){this._capture(this.cameraPlugin)}}},ua=e(3744);const pa=(0,ua.Z)(ca,[["render",sa]]);var ha=pa},9895:function(a,t,e){e.r(t),e.d(t,{default:function(){return c}});var s=e(6252);function n(a,t,e,n,i,r){const l=(0,s.up)("Camera");return(0,s.wg)(),(0,s.j4)(l,{"camera-plugin":"ir.mlx90640",ref:"camera"},null,512)}var i=e(5528),r={name:"CameraIrMlx90640",components:{Camera:i["default"]},mounted(){const a=this.$root.config[`camera.${this.cameraPlugin}`]||{};a.resolution||(this.$refs.camera.attrs.resolution=[32,24]),a.scale_x||(this.$refs.camera.attrs.scale_x=15),a.scale_y||(this.$refs.camera.attrs.scale_y=15)}},l=e(3744);const o=(0,l.Z)(r,[["render",n]]);var c=o}}]); +//# sourceMappingURL=9895.f9b70895.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js.map b/platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js.map rename to platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js.map index 4e8308556..1639add76 100644 --- a/platypush/backend/http/webapp/dist/static/js/9895.5f8848ab.js.map +++ b/platypush/backend/http/webapp/dist/static/js/9895.f9b70895.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/9895.5f8848ab.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G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,CACZpC,KAAMqC,OACNC,UAAU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAAmD,GAA3C,gBAAc,cAAcnG,IAAI,UAAxC,S,eAMF,GACEwB,KAAM,mBACNqE,WAAY,CAACO,OAAM,cAEnBZ,UACE,MAAMF,EAASnC,KAAKoC,MAAMD,OAAQ,UAASnC,KAAKN,iBAAmB,CAAC,EAC/DyC,EAAOxD,aACVqB,KAAKjC,MAAMmF,OAAO1E,MAAMG,WAAa,CAAC,GAAI,KACvCwD,EAAOlD,UACVe,KAAKjC,MAAMmF,OAAO1E,MAAMS,QAAU,IAC/BkD,EAAOjD,UACVc,KAAKjC,MAAMmF,OAAO1E,MAAMU,QAAU,GACrC,G,UCdH,MAAMuD,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraIrMlx90640/Index.vue","webpack://platypush/./src/components/panels/CameraIrMlx90640/Index.vue?0a62"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5585d4f1\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera","camera"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/9895.f9b70895.js","mappings":"sMACOA,MAAM,U,GACJA,MAAM,oB,GACJA,MAAM,kBAAkBC,IAAI,kB,SAC1BD,MAAM,Y,aAIRA,MAAM,Y,GACJA,MAAM,Q,kBAEP,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAIA,OAAwB,KAArBA,MAAM,cAAY,S,GAArB,G,kBAKA,OAA2B,KAAxBA,MAAM,iBAAe,S,GAAxB,G,GAICA,MAAM,S,GAEP,OAA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AU,IAIdE,SAAU,CACRvB,UACE,MAAQ,GAAEqE,OAAOC,SAASC,aAAaF,OAAOC,SAASE,OAAO/C,KAAK5C,KACpE,GAGH+C,QAAS,CACPzC,iBACEsC,KAAKe,gBAAgBf,KAAKN,aAC3B,EAED/B,UACEqC,KAAKiB,SAASjB,KAAKN,aACpB,I,WGtIL,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASsD,MAEpE,S,uJCRE,QAAmD,GAA3C,gBAAc,cAAcnG,IAAI,UAAxC,S,eAMF,GACEwB,KAAM,mBACNqE,WAAY,CAACO,OAAM,cAEnBZ,UACE,MAAMF,EAASnC,KAAKoC,MAAMD,OAAQ,UAASnC,KAAKN,iBAAmB,CAAC,EAC/DyC,EAAOxD,aACVqB,KAAKjC,MAAMmF,OAAO1E,MAAMG,WAAa,CAAC,GAAI,KACvCwD,EAAOlD,UACVe,KAAKjC,MAAMmF,OAAO1E,MAAMS,QAAU,IAC/BkD,EAAOjD,UACVc,KAAKjC,MAAMmF,OAAO1E,MAAMU,QAAU,GACrC,G,UCdH,MAAMuD,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASO,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Camera/Index.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue","webpack://platypush/./src/components/panels/Camera/Mixin.vue?be5e","webpack://platypush/./src/components/panels/Camera/Index.vue?8810","webpack://platypush/./src/components/panels/CameraIrMlx90640/Index.vue","webpack://platypush/./src/components/panels/CameraIrMlx90640/Index.vue?0a62"],"sourcesContent":["\n\n\n\n\n","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=bfa8f2aa\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=bfa8f2aa&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5585d4f1\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","autoplay","preload","streaming","capturing","captured","src","url","alt","type","stopStreaming","disabled","title","startStreaming","capture","audioOn","stopAudio","startAudio","$refs","paramsModal","show","Date","getTime","length","name","value","fullURL","attrs","device","onDeviceChanged","resolution","onSizeChanged","horizontal_flip","onFlipChanged","vertical_flip","rotate","scale_x","scale_y","fps","onFpsChanged","grayscale","onGrayscaleChanged","mixins","Utils","props","cameraPlugin","String","required","data","computed","params","this","parseInt","parseFloat","methods","getUrl","plugin","action","Object","entries","filter","entry","map","k","v","join","_startStreaming","stream_format","_capture","onFrameLoaded","degToRad","deg","Math","PI","rot","frameContainer","style","width","round","abs","cos","sin","height","async","request","created","config","$root","mounted","frame","addEventListener","$watch","__exports__","components","Modal","window","location","protocol","host","render","Camera","camera"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/app-legacy.cf893aa0.js b/platypush/backend/http/webapp/dist/static/js/app-legacy.3e3e09b7.js similarity index 50% rename from platypush/backend/http/webapp/dist/static/js/app-legacy.cf893aa0.js rename to platypush/backend/http/webapp/dist/static/js/app-legacy.3e3e09b7.js index 1cc4f3519..a0daf8097 100644 --- a/platypush/backend/http/webapp/dist/static/js/app-legacy.cf893aa0.js +++ b/platypush/backend/http/webapp/dist/static/js/app-legacy.3e3e09b7.js @@ -1,2 +1,2 @@ -(function(){var e={5250:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var s=n(9652),i=(0,s.Z)()},5736:function(e,t,n){"use strict";n(6992),n(8674),n(9601),n(7727);var s=n(9963),i=n(6252);function r(e,t,n,s,r,a){var o=(0,i.up)("Events"),c=(0,i.up)("Notifications"),l=(0,i.up)("VoiceAssistant"),u=(0,i.up)("Pushbullet"),d=(0,i.up)("Ntfy"),f=(0,i.up)("router-view");return(0,i.wg)(),(0,i.iD)(i.HY,null,[a.hasWebsocket?((0,i.wg)(),(0,i.j4)(o,{key:0,ref:"events","ws-port":r.config["backend.http"].websocket_port},null,8,["ws-port"])):(0,i.kq)("",!0),(0,i.Wm)(c,{ref:"notifications"},null,512),a.hasAssistant?((0,i.wg)(),(0,i.j4)(l,{key:1,ref:"voice-assistant"},null,512)):(0,i.kq)("",!0),a.hasPushbullet?((0,i.wg)(),(0,i.j4)(u,{key:2,ref:"pushbullet"},null,512)):(0,i.kq)("",!0),a.hasNtfy?((0,i.wg)(),(0,i.j4)(d,{key:3,ref:"ntfy"},null,512)):(0,i.kq)("",!0),(0,i.Wm)(f)],64)}var a=n(8534),o=(n(5666),n(9254),{class:"notifications"});function c(e,t,n,s,r,a){var c=(0,i.up)("Notification");return(0,i.wg)(),(0,i.iD)("div",o,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.notifications,(function(e,t,n){return(0,i.wg)(),(0,i.j4)(c,{key:n,id:t,text:e.text,html:e.html,title:e.title,link:e.link,image:e.image,warning:e.warning,error:e.error,onClicked:a.destroy},null,8,["id","text","html","title","link","image","warning","error","onClicked"])})),128))])}n(9653);var l=n(3577),u=["textContent"],d={class:"body"},f={key:0,class:"image col-3"},p={class:"row"},h=["src"],m={key:3,class:"fa fa-exclamation"},g={key:4,class:"fa fa-times"},v=["textContent"],w=["innerHTML"],b=["textContent"],y=["innerHTML"];function k(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",{class:(0,l.C_)(["notification fade-in",{warning:n.warning,error:n.error}]),onClick:t[0]||(t[0]=function(){return a.clicked&&a.clicked.apply(a,arguments)})},[n.title?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,l.zw)(n.title)},null,8,u)):(0,i.kq)("",!0),(0,i._)("div",d,[n.image||n.warning||n.error?((0,i.wg)(),(0,i.iD)("div",f,[(0,i._)("div",p,[n.image&&n.image.src?((0,i.wg)(),(0,i.iD)("img",{key:0,src:n.image.src,alt:""},null,8,h)):n.image&&n.image.icon?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,l.C_)(["fa","fa-"+n.image.icon]),style:(0,l.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.image&&n.image.iconClass?((0,i.wg)(),(0,i.iD)("i",{key:2,class:(0,l.C_)(n.image.iconClass),style:(0,l.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.warning?((0,i.wg)(),(0,i.iD)("i",m)):n.error?((0,i.wg)(),(0,i.iD)("i",g)):(0,i.kq)("",!0)])])):(0,i.kq)("",!0),n.text&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"text col-9",textContent:(0,l.zw)(n.text)},null,8,v)):(0,i.kq)("",!0),n.html&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:2,class:"text col-9",innerHTML:n.html},null,8,w)):(0,i.kq)("",!0),n.text&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:3,class:"text row horizontal-center",textContent:(0,l.zw)(n.text)},null,8,b)):(0,i.kq)("",!0),n.html&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:4,class:"text row horizontal-center",innerHTML:n.html},null,8,y)):(0,i.kq)("",!0)])],2)}var x={name:"Notification",props:["id","text","html","title","image","link","error","warning"],methods:{clicked:function(){this.link&&window.open(this.link,"_blank"),this.$emit("clicked",this.id)}}},_=n(3744);const C=(0,_.Z)(x,[["render",k],["__scopeId","data-v-7646705e"]]);var D=C,I={name:"Notifications",components:{Notification:D},props:{duration:{type:Number,default:1e4}},data:function(){return{index:0,notifications:{},timeouts:{}}},methods:{create:function(e){var t=this.index++;this.notifications[t]=e,null==e.duration&&(e.duration=this.duration);var n=e.duration?parseInt(e.duration):0;n&&(this.timeouts[t]=setTimeout(this.destroy.bind(null,t),n))},destroy:function(e){delete this.notifications[e],delete this.timeouts[e]}}};const S=(0,_.Z)(I,[["render",c],["__scopeId","data-v-6dc8bebc"]]);var T=S,Z=n(6813);function U(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div")}var R=n(6347),P=n(9584),M=(n(2479),n(2222),n(7941),n(5250)),N={name:"Events",props:{wsPort:{type:Number,default:8009}},data:function(){return{ws:null,initialized:!1,pending:!1,opened:!1,timeout:null,reconnectMsecs:3e4,handlers:{},handlerNameToEventTypes:{}}},methods:{onWebsocketTimeout:function(){console.log("Websocket reconnection timed out, retrying"),this.pending=!1,this.ws&&this.ws.close(),this.onClose()},onMessage:function(e){var t=[];if(e=e.data,"string"===typeof e)try{e=JSON.parse(e)}catch(r){console.warn("Received invalid non-JSON event"),console.warn(e)}if(console.debug(e),"event"===e.type){null in this.handlers&&t.push(this.handlers[null]),e.args.type in this.handlers&&t.push.apply(t,(0,P.Z)(Object.values(this.handlers[e.args.type])));for(var n=0,s=t;nPlatypush
',3),Oe={key:0,class:"row"},je=Pe((function(){return(0,i._)("label",null,[(0,i._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1)})),$e=[je],Ee={class:"row buttons"},ze=["value"],We=Pe((function(){return(0,i._)("div",{class:"row pull-right"},[(0,i._)("label",{class:"checkbox"},[(0,i._)("input",{type:"checkbox",name:"remember"}),(0,i.Uk)("  Keep me logged in on this device   ")])],-1)}));function Le(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",Me,[(0,i._)("form",Ne,[qe,a._register?((0,i.wg)(),(0,i.iD)("div",Oe,$e)):(0,i.kq)("",!0),(0,i._)("div",Ee,[(0,i._)("input",{type:"submit",class:"btn btn-primary",value:a._register?"Register":"Login"},null,8,ze)]),We])])}var Ae={name:"Login",mixins:[Z.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register:function(){return this.parseBoolean(this.register)}}};const Ve=(0,_.Z)(Ae,[["render",Le],["__scopeId","data-v-16cef6aa"]]);var He=Ve;function Fe(e,t,n,s,r,a){var o=(0,i.up)("Login");return(0,i.wg)(),(0,i.j4)(o,{register:!0})}var Be={name:"Register",mixins:[He],components:{Login:He},props:{register:{type:Boolean,required:!1,default:!0}}};const Ye=(0,_.Z)(Be,[["render",Fe]]);var Ke=Ye,Ge={key:2,class:"canvas"},Je={class:"panel"},Xe={key:3,class:"canvas"};function Qe(e,t,n,s,r,a){var o=(0,i.up)("Loading"),c=(0,i.up)("Nav"),u=(0,i.up)("Settings");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.j4)(c,{key:1,panels:r.components,"selected-panel":r.selectedPanel,hostname:r.hostname,onSelect:t[0]||(t[0]=function(e){return r.selectedPanel=e})},null,8,["panels","selected-panel","hostname"])),"settings"===r.selectedPanel?((0,i.wg)(),(0,i.iD)("div",Ge,[(0,i._)("div",Je,[(0,i.Wm)(u)])])):((0,i.wg)(),(0,i.iD)("div",Xe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.components,(function(e,t){return(0,i.wg)(),(0,i.iD)("div",{class:(0,l.C_)(["panel",{hidden:t!==r.selectedPanel}]),key:t},[t===r.selectedPanel?((0,i.wg)(),(0,i.j4)((0,i.LL)(e.component),{key:0,config:e.config,"plugin-name":t},null,8,["config","plugin-name"])):(0,i.kq)("",!0)],2)})),128))]))])}var et=n(6084),tt=(n(4723),n(4747),n(9720),n(9600),n(7042),function(e){return(0,i.dD)("data-v-69a507f4"),e=e(),(0,i.Cn)(),e}),nt=tt((function(){return(0,i._)("i",{class:"fas fa-bars"},null,-1)})),st=["textContent"],it={class:"plugins"},rt=["title","onClick"],at=["href"],ot={class:"icon"},ct=["src"],lt={key:2,class:"fas fa-puzzle-piece"},ut=["textContent"],dt={class:"footer"},ft={href:"/#settings"},pt=tt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fa fa-cog"})],-1)})),ht={key:0,class:"name"},mt={href:"/logout"},gt=tt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fas fa-sign-out-alt"})],-1)})),vt={key:0,class:"name"};function wt(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("nav",{class:(0,l.C_)({collapsed:r.collapsed})},[(0,i._)("div",{class:"toggler",onClick:t[0]||(t[0]=function(e){return r.collapsed=!r.collapsed})},[nt,n.hostname?((0,i.wg)(),(0,i.iD)("span",{key:0,class:"hostname",textContent:(0,l.zw)(n.hostname)},null,8,st)):(0,i.kq)("",!0)]),(0,i._)("ul",it,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(a.panelNames,(function(e){var t,s;return(0,i.wg)(),(0,i.iD)("li",{key:e,class:(0,l.C_)(["entry",{selected:e===n.selectedPanel}]),title:e,onClick:function(t){return a.onItemClick(e)}},[(0,i._)("a",{href:"/#".concat(e)},[(0,i._)("span",ot,[null!==(t=r.icons[e])&&void 0!==t&&t.class?((0,i.wg)(),(0,i.iD)("i",{key:0,class:(0,l.C_)(r.icons[e].class)},null,2)):null!==(s=r.icons[e])&&void 0!==s&&s.imgUrl?((0,i.wg)(),(0,i.iD)("img",{key:1,src:r.icons[e].imgUrl,alt:"name"},null,8,ct)):((0,i.wg)(),(0,i.iD)("i",lt))]),r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",{key:0,class:"name",textContent:(0,l.zw)("entities"==e?"Home":e)},null,8,ut))],8,at)],10,rt)})),128))]),(0,i._)("ul",dt,[(0,i._)("li",{class:(0,l.C_)({selected:"settings"===n.selectedPanel}),title:"Settings",onClick:t[1]||(t[1]=function(e){return a.onItemClick("settings")})},[(0,i._)("a",ft,[pt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",ht,"Settings"))])],2),(0,i._)("li",{title:"Logout",onClick:t[2]||(t[2]=function(e){return a.onItemClick("logout")})},[(0,i._)("a",mt,[gt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",vt,"Logout"))])])])],2)}n(2707);var bt=n(1359),yt={name:"Nav",emits:["select"],mixins:[Z.Z],props:{panels:{type:Object,required:!0},selectedPanel:{type:String},hostname:{type:String}},computed:{panelNames:function(){var e=Object.keys(this.panels),t=e.indexOf("entities");return t>=0?["entities"].concat(e.slice(0,t).concat(e.slice(t+1)).sort()):e.sort()}},methods:{onItemClick:function(e){this.$emit("select",e),this.collapsed=!0}},data:function(){return{collapsed:!0,icons:bt,host:null}}};const kt=(0,_.Z)(yt,[["render",wt],["__scopeId","data-v-69a507f4"]]);var xt=kt,_t=n(5392),Ct={name:"Panel",mixins:[Z.Z],components:{Settings:_t["default"],Nav:xt,Loading:ge.Z},data:function(){return{loading:!1,plugins:{},backends:{},procedures:{},components:{},hostname:void 0,selectedPanel:void 0}},methods:{initSelectedPanel:function(){var e=this.$route.hash.match("#?([a-zA-Z0-9.]+)[?]?(.*)"),t=e?e[1]:"entities";null!==t&&void 0!==t&&t.length&&(this.selectedPanel=t)},initPanels:function(){var e=this;this.components={},Object.entries(this.plugins).forEach(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(s){var r,o,c,l,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=(0,et.Z)(s,2),o=r[0],c=r[1],l=o.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,t.prev=3,t.next=6,n(3379)("./".concat(l,"/Index"));case 6:u=t.sent,t.next=12;break;case 9:return t.prev=9,t.t0=t["catch"](3),t.abrupt("return");case 12:d=(0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[o]=d,e.components[o]={component:d,pluginName:o,config:c};case 15:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e){return t.apply(this,arguments)}}())},parseConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.request("config.get_plugins"),e.request("config.get_backends"),e.request("config.get_procedures"),e.request("config.get_device_id")]);case 2:n=t.sent,s=(0,et.Z)(n,4),e.plugins=s[0],e.backends=s[1],e.procedures=s[2],e.hostname=s[3],e.initializeDefaultViews();case 9:case"end":return t.stop()}}),t)})))()},initializeDefaultViews:function(){this.plugins.execute={},this.plugins.entities={}}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.parseConfig();case 4:e.initPanels(),e.initSelectedPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Dt=(0,_.Z)(Ct,[["render",Qe],["__scopeId","data-v-344b6d1a"]]);var It=Dt,St={key:1,class:"canvas"};function Tt(e,t,n,s,r,a){var o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.iD)("div",St,[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{config:r.config,"plugin-name":a.pluginName},null,8,["config","plugin-name"]))]))])}n(9714);var Zt={name:"Panel",mixins:[Z.Z],components:{Settings:_t["default"],Nav:xt,Loading:ge.Z},data:function(){return{loading:!1,config:{},plugins:{},backends:{},procedures:{},component:void 0,hostname:void 0,selectedPanel:void 0}},computed:{pluginName:function(){return this.$route.params.plugin}},methods:{initPanel:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.pluginName.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),r=null,t.prev=2,t.next=5,n(3379)("./".concat(s,"/Index"));case 5:r=t.sent,t.next=13;break;case 8:return t.prev=8,t.t0=t["catch"](2),console.error(t.t0),e.notify({error:!0,title:"Cannot load plugin ".concat(e.pluginName),text:t.t0.toString()}),t.abrupt("return");case 13:e.component=(0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[name]=e.component;case 15:case"end":return t.stop()}}),t,null,[[2,8]])})))()},initConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("config.get");case 2:return n=t.sent,e.config=n[e.pluginName]||{},t.next=6,e.request("config.get_device_id");case 6:e.hostname=t.sent;case 7:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.initConfig();case 4:return t.next=6,e.initPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Ut=(0,_.Z)(Zt,[["render",Tt],["__scopeId","data-v-67571c94"]]);var Rt=Ut,Pt=[{path:"/",name:"Panel",component:It},{path:"/dashboard/:name",name:"Dashboard",component:Se},{path:"/plugin/:plugin",name:"Plugin",component:Rt},{path:"/login",name:"Login",component:He},{path:"/register",name:"Register",component:Ke},{path:"/:catchAll(.*)",component:Re}],Mt=(0,pe.p7)({history:(0,pe.PO)(),routes:Pt}),Nt=Mt,qt=(0,s.ri)(fe);qt.config.globalProperties._config=window.config,qt.use(Nt).mount("#app")},6813:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});n(1539);var s=n(9669),i=n.n(s),r={name:"Api",methods:{execute:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(r.timeout=n),new Promise((function(n,a){i().post("/execute",e,r).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,r=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:r,error:!0}),a(r)}else n(e.output)})).catch((function(e){s&&t.notify({text:e,error:!0}),a(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.execute({type:"request",action:e,args:t},n,s)}}};const a=r;var o=a,c=n(6084),l=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,c.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=l;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var h=p,m=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)}}});const U=Z;var R=U,P={name:"Utils",mixins:[o,d,x,b,h,D,T,R]};const M=P;var N=M},1232:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(6252),i={class:"loading"},r={class:"icon"};function a(e,t){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[((0,s.wg)(),(0,s.iD)(s.HY,null,(0,s.Ko)(4,(function(e){return(0,s._)("div",{key:e})})),64))])])}var o=n(3744);const c={},l=(0,o.Z)(c,[["render",a],["__scopeId","data-v-4d9c871b"]]);var u=l},9642:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(3577),r=["id"],a={class:"modal"},o=["textContent"],c={class:"body"};function l(e,t,n,l,u,d){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["modal-container fade-in",{hidden:!u.isVisible}]),id:n.id,style:(0,i.j5)({"--z-index":d.zIndex}),onClick:t[2]||(t[2]=function(){return d.close&&d.close.apply(d,arguments)})},[(0,s._)("div",a,[(0,s._)("div",{class:"content",style:(0,i.j5)({"--width":n.width,"--height":n.height}),onClick:t[1]||(t[1]=function(e){return e.stopPropagation()})},[n.title?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"header",textContent:(0,i.zw)(n.title)},null,8,o)):(0,s.kq)("",!0),(0,s._)("div",c,[(0,s.WI)(e.$slots,"default",{onModalClose:t[0]||(t[0]=function(){return d.close&&d.close.apply(d,arguments)})},void 0,!0)])],4)])],14,r)}var u=n(6347),d=(n(9653),{name:"Modal",emits:["close","open"],props:{id:{type:String},title:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},visible:{type:Boolean,default:!1},timeout:{type:[Number,String]},level:{type:Number,default:1}},data:function(){return{timeoutId:void 0,prevVisible:this.visible,isVisible:this.visible}},computed:{zIndex:function(){return 500+this.level}},methods:{close:function(){this.prevVisible=this.isVisible,this.isVisible=!1},hide:function(){this.close()},show:function(){this.prevVisible=this.isVisible,this.isVisible=!0},toggle:function(){this.isVisible?this.close():this.show()}},mounted:function(){var e=this,t=this,n=function(e){e?t.$emit("open"):t.$emit("close"),t.isVisible=e};this.$watch((function(){return e.visible}),n),this.$watch((function(){return e.isVisible}),n)},updated:function(){if(this.prevVisible=this.isVisible,this.isVisible){var e,t=parseInt(getComputedStyle(this.$el).zIndex),n=[],s=(0,u.Z)(document.querySelectorAll(".modal-container:not(.hidden)"));try{for(s.s();!(e=s.n()).done;){var i=e.value,r=parseInt(getComputedStyle(i).zIndex);r>t?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),f=n(3744);const p=(0,f.Z)(d,[["render",l],["__scopeId","data-v-010fadd6"]]);var h=p},5771:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],c=["textContent"],l=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,c)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,l)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String},keepOpenOnItemClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-21bf0316"]]);var h=p},9015:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(6252),i=n(3577),r={key:0,class:"col-1 icon"},a=["textContent"];function o(e,t,n,o,c,l){var u,d,f=(0,s.up)("Icon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return l.clicked&&l.clicked.apply(l,arguments)})},[null!==(u=n.iconClass)&&void 0!==u&&u.length||null!==(d=n.iconUrl)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(f,{class:(0,i.C_)(n.iconClass),url:n.iconUrl},null,8,["class","url"])])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-11":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var c=n(1478),l={name:"DropdownItem",components:{Icon:c.Z},props:{iconClass:{type:String},iconUrl:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{type:String}},methods:{clicked:function(e){if(this.disabled)return!1;this.$parent.$emit("click",e),this.$parent.keepOpenOnItemClick||(this.$parent.visible=!1)}}},u=n(3744);const d=(0,u.Z)(l,[["render",o],["__scopeId","data-v-0a3cac88"]]);var f=d},1478:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={class:"icon-container"},a=["src","alt"];function o(e,t,n,o,c,l){var u,d;return(0,s.wg)(),(0,s.iD)("div",r,[null!==(u=n.url)&&void 0!==u&&u.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,a)):null!==(d=l.className)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,i.C_)(["icon",l.className]),style:(0,i.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var c={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className:function(){return this.class}}},l=n(3744);const u=(0,l.Z)(c,[["render",o],["__scopeId","data-v-706a3bd1"]]);var d=u},5392:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ie}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a=["selected"],o=["selected"],c={class:"col-4 pull-right"},l=(0,s._)("i",{class:"fa fa-plus"},null,-1),u=[l];function d(e,t,n,l,d,f){var p=(0,s.up)("Users"),h=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s._)("select",{title:"View",onChange:t[0]||(t[0]=function(e){return d.selectedView=e.target.value})},[(0,s._)("option",{value:"users",selected:"users"===d.selectedView},"Users",8,a),(0,s._)("option",{value:"token",selected:"token"===d.selectedView},"Generate Token",8,o)],32)]),(0,s._)("div",c,["users"===d.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[1]||(t[1]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},u)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===d.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===d.selectedView?((0,s.wg)(),(0,s.j4)(h,{key:1,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var f=n(8534),p=(n(5666),n(3577)),h=n(9963),m={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),w=(0,s._)("br",null,null,-1),b=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),S=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),T=(0,s.Uk)("Specify it on the "),Z=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),P=(0,s.Uk)("X-Token"),M=(0,s.Uk)(" header;"),N=(0,s.Uk)("Specify it as a URL parameter: "),q=(0,s.Uk)("http://site:8008/execute?token=..."),O=(0,s.Uk)(";"),j=(0,s.Uk)("Specify it on the body of your JSON request: "),$=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),E=(0,s.Uk)("."),z=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),W={class:"form-container"},L=(0,s.Uk)(" Username "),A=["value"],V=(0,s._)("label",null,[(0,s.Uk)(" Password "),(0,s._)("input",{type:"password",name:"password"})],-1),H=(0,s._)("label",null,[(0,s.Uk)(" Token validity in days "),(0,s._)("input",{type:"text",name:"validityDays"}),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("input",{type:"submit",value:"Generate token"},null,-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",m,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,w,b,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,S,(0,s._)("ul",null,[(0,s._)("li",null,[T,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[Z]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[P]})),_:1}),M]),(0,s._)("li",null,[N,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[q]})),_:1}),O]),(0,s._)("li",null,[j,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[$]})),_:1}),E])]),z]),(0,s._)("div",W,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,h.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(6813),X=n(9642),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],ce=["disabled"],le=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},he=["onClick"],me=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("input",{type:"submit",value:"Create User",disabled:r.commandRunning},null,8,ae)],544)]})),_:1},512),(0,s.Wm)(c,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("input",{type:"submit",value:"Change Password",disabled:r.commandRunning},null,8,de)],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,me),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(l,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(l,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,he)})),128))])])],64)}var we=n(9584),be=(n(8309),n(5771)),ye=n(9015),ke={name:"Users",components:{DropdownItem:ye.Z,Loading:G.Z,Modal:X.Z,Dropdown:be.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}};const xe=(0,ee.Z)(ke,[["render",ve]]);var _e=xe,Ce={name:"Settings",components:{Users:_e,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const De=(0,ee.Z)(Ce,[["render",d]]);var Ie=De},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Entities/Index":[914,9892],"./Execute/Index":[7643,7643],"./Light/Index":[1406,3490,3803,1406],"./LightHue/Index":[3674,3490,3803,1406,3674],"./Media/Index":[4196,3803,8337,7029,779,4196],"./MediaMplayer/Index":[6509,3803,8337,7029,779,4196,6509],"./MediaMpv/Index":[5895,3803,8337,7029,779,4196,5895],"./MediaOmxplayer/Index":[9633,3803,8337,7029,779,4196,9633],"./MediaVlc/Index":[767,3803,8337,7029,779,4196,767],"./Music/Index":[5781,3803,8337,7029,6833],"./MusicMpd/Index":[2957,3803,8337,7029,6833,2957],"./MusicSnapcast/Index":[2790,3490,3803,2790],"./MusicSpotify/Index":[7196,3803,8337,7029,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[5392],"./Sound/Index":[5193,5193],"./Switches/Index":[4276,4276],"./Switches/LightHue/Index":[2844,3490,6590,2844],"./Switches/Smartthings/Index":[9196,3490,6590,9196],"./Switches/SwitchTplink/Index":[3785,3490,6590,3785],"./Switches/SwitchWemo/Index":[5210,3490,6590,5210],"./Switches/Switchbot/Index":[9694,3490,6590,9694],"./Switches/SwitchbotBluetooth/Index":[9694,3490,6590,9694],"./Switches/ZigbeeMqtt/Index":[5466,3490,6590,5466],"./Switches/Zwave/Index":[7262,3490,6590,7262],"./Switches/ZwaveMqtt/Index":[2380,3490,6590,2380],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4604,3490,3803,4604],"./Zwave/Index":[8586,3490,3803,4658,6027],"./ZwaveMqtt/Index":[2362,3490,3803,4658,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,3490,3803,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[5779,1798,9575,5779],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[4826,4826],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i},1359:function(e){"use strict";e.exports=JSON.parse('{"camera.android.ipcam":{"class":"fab fa-android"},"camera.cv":{"class":"fas fa-camera"},"camera.ffmpeg":{"class":"fas fa-camera"},"camera.gstreamer":{"class":"fas fa-camera"},"camera.ir.mlx90640":{"class":"fas fa-sun"},"camera.pi":{"class":"fas fa-camera"},"entities":{"class":"fa fa-home"},"execute":{"class":"fa fa-play"},"light.hue":{"class":"fas fa-lightbulb"},"media.jellyfin":{"imgUrl":"/icons/jellyfin.svg"},"media.kodi":{"imgUrl":"/icons/kodi.svg"},"media.omxplayer":{"class":"fa fa-film"},"media.mplayer":{"class":"fa fa-film"},"media.mpv":{"class":"fa fa-film"},"media.plex":{"imgUrl":"/icons/plex.svg"},"media.vlc":{"class":"fa fa-film"},"music.mpd":{"class":"fas fa-music"},"music.snapcast":{"class":"fa fa-volume-up"},"music.spotify":{"class":"fab fa-spotify"},"torrent":{"class":"fa fa-magnet"},"rtorrent":{"class":"fa fa-magnet"},"smartthings":{"imgUrl":"/icons/smartthings.png"},"switches":{"class":"fas fa-toggle-on"},"switch.switchbot":{"class":"fas fa-toggle-on"},"switch.tplink":{"class":"fas fa-toggle-on"},"switchbot":{"class":"fas fa-toggle-on"},"sound":{"class":"fa fa-microphone"},"tts":{"class":"far fa-comment"},"tts.google":{"class":"fas fa-comment"},"tv.samsung.ws":{"class":"fas fa-tv"},"zigbee.mqtt":{"imgUrl":"/icons/zigbee.svg"},"zwave":{"imgUrl":"/icons/z-wave.png"},"zwave.mqtt":{"imgUrl":"/icons/z-wave.png"}}')}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[c])}))?s.splice(c--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(s,i){if(1&i&&(s=this(s)),8&i)return s;if("object"===typeof s&&s){if(4&i&&s.__esModule)return s;if(16&i&&"function"===typeof s.then)return s}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var o=2&i&&s;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){a[e]=function(){return s[e]}}));return a["default"]=function(){return s},n.d(r,a),r}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{65:"a4e6662a",345:"dcb6e74e",518:"e665a841",615:"fba0e1b5",699:"cb1ccfbb",767:"f33d812b",779:"d96325bc",1155:"179db4ca",1406:"531be9a8",1595:"69aea4ae",1798:"b42f39d9",1938:"e350f72d",2346:"4845c2ae",2362:"6b95b958",2380:"0d05fcbd",2466:"b6981a49",2790:"b3dfd6bb",2820:"869be689",2844:"1a9ed049",2957:"a0d5f651",3490:"d482e29b",3499:"90eae609",3674:"1f20942d",3785:"c8c1c706",3803:"9202f4bf",4021:"a3380d38",4196:"9c63a429",4276:"18787ca7",4548:"e2883bdd",4604:"beb1d238",4658:"a780f1aa",4826:"f73c82f0",4981:"c4835180",5111:"262ea3c5",5193:"d8c2e027",5207:"b6625280",5210:"64ff6a12",5466:"ba464f70",5528:"9ed2c6bd",5779:"8c634228",5824:"a1aaa126",5895:"e1ce8e90",6003:"f3446996",6013:"b02eb716",6027:"1e7fc2ce",6162:"bf13f6e2",6509:"ab6d64c3",6590:"a024a679",6739:"c665b953",6833:"1d80511f",7029:"66663032",7196:"a47a2493",7262:"13af887b",7420:"a57de4be",7643:"5b846090",8184:"702db0b7",8337:"fcf13df8",8729:"19ca396b",9196:"1cf345e1",9299:"adb4a75b",9575:"fb8eab70",9633:"8a00fadb",9694:"b055b72c",9892:"810d8db8",9895:"acee9428"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{65:"d6cbc229",345:"0d938275",518:"44f63b6e",615:"be187f79",779:"459f0f41",1155:"3c072b53",1406:"3c45f7ef",1798:"5047113b",2346:"f042c092",2380:"7e6cb2ed",2790:"8a938bab",2844:"fa1de455",3490:"3516cb6e",3785:"5ed5a4df",3803:"071120e4",4021:"0331be37",4196:"f1fcf8f5",4276:"07502cf2",4604:"34b220bc",4658:"0aa0c9b4",4826:"437fa334",4981:"8830c3ce",5193:"7f3c2173",5207:"831746a7",5210:"435161f9",5466:"fb0c1b5f",5528:"a4270756",5779:"b285a776",5824:"f9f7ad29",6003:"0868fde4",6013:"2141ef7f",6162:"f3d46bda",6590:"778aa4c7",6739:"649d4b27",6833:"c53bec53",7029:"13387da1",7262:"7ac2a7a5",7420:"e42d1496",7643:"e25374a8",8729:"f98d84da",9196:"18347c3c",9575:"eba29f96",9694:"509f8cb5",9892:"bc7b5f84"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;uPlatypush
',3),Oe={key:0,class:"row"},je=Pe((function(){return(0,i._)("label",null,[(0,i._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1)})),$e=[je],Ee={class:"row buttons"},ze=["value"],We=Pe((function(){return(0,i._)("div",{class:"row pull-right"},[(0,i._)("label",{class:"checkbox"},[(0,i._)("input",{type:"checkbox",name:"remember"}),(0,i.Uk)("  Keep me logged in on this device   ")])],-1)}));function Le(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",Me,[(0,i._)("form",Ne,[qe,a._register?((0,i.wg)(),(0,i.iD)("div",Oe,$e)):(0,i.kq)("",!0),(0,i._)("div",Ee,[(0,i._)("input",{type:"submit",class:"btn btn-primary",value:a._register?"Register":"Login"},null,8,ze)]),We])])}var Ae={name:"Login",mixins:[Z.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register:function(){return this.parseBoolean(this.register)}}};const Ve=(0,_.Z)(Ae,[["render",Le],["__scopeId","data-v-16cef6aa"]]);var He=Ve;function Fe(e,t,n,s,r,a){var o=(0,i.up)("Login");return(0,i.wg)(),(0,i.j4)(o,{register:!0})}var Be={name:"Register",mixins:[He],components:{Login:He},props:{register:{type:Boolean,required:!1,default:!0}}};const Ye=(0,_.Z)(Be,[["render",Fe]]);var Ke=Ye,Ge={key:2,class:"canvas"},Je={class:"panel"},Xe={key:3,class:"canvas"};function Qe(e,t,n,s,r,a){var o=(0,i.up)("Loading"),c=(0,i.up)("Nav"),u=(0,i.up)("Settings");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.j4)(c,{key:1,panels:r.components,"selected-panel":r.selectedPanel,hostname:r.hostname,onSelect:t[0]||(t[0]=function(e){return r.selectedPanel=e})},null,8,["panels","selected-panel","hostname"])),"settings"===r.selectedPanel?((0,i.wg)(),(0,i.iD)("div",Ge,[(0,i._)("div",Je,[(0,i.Wm)(u)])])):((0,i.wg)(),(0,i.iD)("div",Xe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.components,(function(e,t){return(0,i.wg)(),(0,i.iD)("div",{class:(0,l.C_)(["panel",{hidden:t!==r.selectedPanel}]),key:t},[t===r.selectedPanel?((0,i.wg)(),(0,i.j4)((0,i.LL)(e.component),{key:0,config:e.config,"plugin-name":t},null,8,["config","plugin-name"])):(0,i.kq)("",!0)],2)})),128))]))])}var et=n(6084),tt=(n(4723),n(4747),n(9720),n(9600),n(7042),function(e){return(0,i.dD)("data-v-69a507f4"),e=e(),(0,i.Cn)(),e}),nt=tt((function(){return(0,i._)("i",{class:"fas fa-bars"},null,-1)})),st=["textContent"],it={class:"plugins"},rt=["title","onClick"],at=["href"],ot={class:"icon"},ct=["src"],lt={key:2,class:"fas fa-puzzle-piece"},ut=["textContent"],dt={class:"footer"},ft={href:"/#settings"},pt=tt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fa fa-cog"})],-1)})),ht={key:0,class:"name"},mt={href:"/logout"},gt=tt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fas fa-sign-out-alt"})],-1)})),vt={key:0,class:"name"};function wt(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("nav",{class:(0,l.C_)({collapsed:r.collapsed})},[(0,i._)("div",{class:"toggler",onClick:t[0]||(t[0]=function(e){return r.collapsed=!r.collapsed})},[nt,n.hostname?((0,i.wg)(),(0,i.iD)("span",{key:0,class:"hostname",textContent:(0,l.zw)(n.hostname)},null,8,st)):(0,i.kq)("",!0)]),(0,i._)("ul",it,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(a.panelNames,(function(e){var t,s;return(0,i.wg)(),(0,i.iD)("li",{key:e,class:(0,l.C_)(["entry",{selected:e===n.selectedPanel}]),title:e,onClick:function(t){return a.onItemClick(e)}},[(0,i._)("a",{href:"/#".concat(e)},[(0,i._)("span",ot,[null!==(t=r.icons[e])&&void 0!==t&&t.class?((0,i.wg)(),(0,i.iD)("i",{key:0,class:(0,l.C_)(r.icons[e].class)},null,2)):null!==(s=r.icons[e])&&void 0!==s&&s.imgUrl?((0,i.wg)(),(0,i.iD)("img",{key:1,src:r.icons[e].imgUrl,alt:"name"},null,8,ct)):((0,i.wg)(),(0,i.iD)("i",lt))]),r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",{key:0,class:"name",textContent:(0,l.zw)("entities"==e?"Home":e)},null,8,ut))],8,at)],10,rt)})),128))]),(0,i._)("ul",dt,[(0,i._)("li",{class:(0,l.C_)({selected:"settings"===n.selectedPanel}),title:"Settings",onClick:t[1]||(t[1]=function(e){return a.onItemClick("settings")})},[(0,i._)("a",ft,[pt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",ht,"Settings"))])],2),(0,i._)("li",{title:"Logout",onClick:t[2]||(t[2]=function(e){return a.onItemClick("logout")})},[(0,i._)("a",mt,[gt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",vt,"Logout"))])])])],2)}n(2707);var bt=n(1359),yt={name:"Nav",emits:["select"],mixins:[Z.Z],props:{panels:{type:Object,required:!0},selectedPanel:{type:String},hostname:{type:String}},computed:{panelNames:function(){var e=Object.keys(this.panels),t=e.indexOf("entities");return t>=0?["entities"].concat(e.slice(0,t).concat(e.slice(t+1)).sort()):e.sort()}},methods:{onItemClick:function(e){this.$emit("select",e),this.collapsed=!0}},data:function(){return{collapsed:!0,icons:bt,host:null}}};const kt=(0,_.Z)(yt,[["render",wt],["__scopeId","data-v-69a507f4"]]);var xt=kt,_t=n(5392),Ct={name:"Panel",mixins:[Z.Z],components:{Settings:_t["default"],Nav:xt,Loading:ge.Z},data:function(){return{loading:!1,plugins:{},backends:{},procedures:{},components:{},hostname:void 0,selectedPanel:void 0}},methods:{initSelectedPanel:function(){var e=this.$route.hash.match("#?([a-zA-Z0-9.]+)[?]?(.*)"),t=e?e[1]:"entities";null!==t&&void 0!==t&&t.length&&(this.selectedPanel=t)},initPanels:function(){var e=this;this.components={},Object.entries(this.plugins).forEach(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(s){var r,o,c,l,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=(0,et.Z)(s,2),o=r[0],c=r[1],l=o.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,t.prev=3,t.next=6,n(3379)("./".concat(l,"/Index"));case 6:u=t.sent,t.next=12;break;case 9:return t.prev=9,t.t0=t["catch"](3),t.abrupt("return");case 12:d=(0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[o]=d,e.components[o]={component:d,pluginName:o,config:c};case 15:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e){return t.apply(this,arguments)}}())},parseConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.request("config.get_plugins"),e.request("config.get_backends"),e.request("config.get_procedures"),e.request("config.get_device_id")]);case 2:n=t.sent,s=(0,et.Z)(n,4),e.plugins=s[0],e.backends=s[1],e.procedures=s[2],e.hostname=s[3],e.initializeDefaultViews();case 9:case"end":return t.stop()}}),t)})))()},initializeDefaultViews:function(){this.plugins.execute={},this.plugins.entities={}}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.parseConfig();case 4:e.initPanels(),e.initSelectedPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Dt=(0,_.Z)(Ct,[["render",Qe],["__scopeId","data-v-344b6d1a"]]);var It=Dt,St={key:1,class:"canvas"};function Tt(e,t,n,s,r,a){var o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.iD)("div",St,[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{config:r.config,"plugin-name":a.pluginName},null,8,["config","plugin-name"]))]))])}n(9714);var Zt={name:"Panel",mixins:[Z.Z],components:{Settings:_t["default"],Nav:xt,Loading:ge.Z},data:function(){return{loading:!1,config:{},plugins:{},backends:{},procedures:{},component:void 0,hostname:void 0,selectedPanel:void 0}},computed:{pluginName:function(){return this.$route.params.plugin}},methods:{initPanel:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.pluginName.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),r=null,t.prev=2,t.next=5,n(3379)("./".concat(s,"/Index"));case 5:r=t.sent,t.next=13;break;case 8:return t.prev=8,t.t0=t["catch"](2),console.error(t.t0),e.notify({error:!0,title:"Cannot load plugin ".concat(e.pluginName),text:t.t0.toString()}),t.abrupt("return");case 13:e.component=(0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[name]=e.component;case 15:case"end":return t.stop()}}),t,null,[[2,8]])})))()},initConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("config.get");case 2:return n=t.sent,e.config=n[e.pluginName]||{},t.next=6,e.request("config.get_device_id");case 6:e.hostname=t.sent;case 7:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.initConfig();case 4:return t.next=6,e.initPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Ut=(0,_.Z)(Zt,[["render",Tt],["__scopeId","data-v-67571c94"]]);var Rt=Ut,Pt=[{path:"/",name:"Panel",component:It},{path:"/dashboard/:name",name:"Dashboard",component:Se},{path:"/plugin/:plugin",name:"Plugin",component:Rt},{path:"/login",name:"Login",component:He},{path:"/register",name:"Register",component:Ke},{path:"/:catchAll(.*)",component:Re}],Mt=(0,pe.p7)({history:(0,pe.PO)(),routes:Pt}),Nt=Mt,qt=(0,s.ri)(fe);qt.config.globalProperties._config=window.config,qt.use(Nt).mount("#app")},6813:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});n(1539);var s=n(9669),i=n.n(s),r={name:"Api",methods:{execute:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(r.timeout=n),new Promise((function(n,a){i().post("/execute",e,r).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,r=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:r,error:!0}),a(r)}else n(e.output)})).catch((function(e){s&&t.notify({text:e,error:!0}),a(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.execute({type:"request",action:e,args:t},n,s)}}};const a=r;var o=a,c=n(6084),l=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,c.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=l;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var h=p,m=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)}}});const U=Z;var R=U,P={name:"Utils",mixins:[o,d,x,b,h,D,T,R]};const M=P;var N=M},1232:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(6252),i={class:"loading"},r={class:"icon"};function a(e,t){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[((0,s.wg)(),(0,s.iD)(s.HY,null,(0,s.Ko)(4,(function(e){return(0,s._)("div",{key:e})})),64))])])}var o=n(3744);const c={},l=(0,o.Z)(c,[["render",a],["__scopeId","data-v-4d9c871b"]]);var u=l},8453:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var s=n(6252),i=n(3577),r=["id"],a=["textContent"],o={class:"body"};function c(e,t,n,c,l,u){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["modal-container fade-in",{hidden:!l.isVisible}]),id:n.id,style:(0,i.j5)({"--z-index":u.zIndex}),onClick:t[2]||(t[2]=function(){return u.close&&u.close.apply(u,arguments)})},[(0,s._)("div",{class:(0,i.C_)(["modal",e.$attrs.class])},[(0,s._)("div",{class:"content",style:(0,i.j5)({"--width":n.width,"--height":n.height}),onClick:t[1]||(t[1]=function(e){return e.stopPropagation()})},[n.title?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"header",textContent:(0,i.zw)(n.title)},null,8,a)):(0,s.kq)("",!0),(0,s._)("div",o,[(0,s.WI)(e.$slots,"default",{onModalClose:t[0]||(t[0]=function(){return u.close&&u.close.apply(u,arguments)})},void 0,!0)])],4)],2)],14,r)}var l=n(6347),u=(n(9653),{name:"Modal",emits:["close","open"],props:{id:{type:String},title:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},visible:{type:Boolean,default:!1},timeout:{type:[Number,String]},level:{type:Number,default:1}},data:function(){return{timeoutId:void 0,prevVisible:this.visible,isVisible:this.visible}},computed:{zIndex:function(){return 500+this.level}},methods:{close:function(){this.prevVisible=this.isVisible,this.isVisible=!1},hide:function(){this.close()},show:function(){this.prevVisible=this.isVisible,this.isVisible=!0},toggle:function(){this.isVisible?this.close():this.show()}},mounted:function(){var e=this,t=this,n=function(e){e?t.$emit("open"):t.$emit("close"),t.isVisible=e};this.$watch((function(){return e.visible}),n),this.$watch((function(){return e.isVisible}),n)},updated:function(){if(this.prevVisible=this.isVisible,this.isVisible){var e,t=parseInt(getComputedStyle(this.$el).zIndex),n=[],s=(0,l.Z)(document.querySelectorAll(".modal-container:not(.hidden)"));try{for(s.s();!(e=s.n()).done;){var i=e.value,r=parseInt(getComputedStyle(i).zIndex);r>t?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),d=n(3744);const f=(0,d.Z)(u,[["render",c],["__scopeId","data-v-7d1f6e8b"]]);var p=f},5771:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],c=["textContent"],l=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,c)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,l)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String},keepOpenOnItemClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-21bf0316"]]);var h=p},9015:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(6252),i=n(3577),r={key:0,class:"col-1 icon"},a=["textContent"];function o(e,t,n,o,c,l){var u,d,f=(0,s.up)("Icon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return l.clicked&&l.clicked.apply(l,arguments)})},[null!==(u=n.iconClass)&&void 0!==u&&u.length||null!==(d=n.iconUrl)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(f,{class:(0,i.C_)(n.iconClass),url:n.iconUrl},null,8,["class","url"])])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-11":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var c=n(1478),l={name:"DropdownItem",components:{Icon:c.Z},props:{iconClass:{type:String},iconUrl:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{type:String}},methods:{clicked:function(e){if(this.disabled)return!1;this.$parent.$emit("click",e),this.$parent.keepOpenOnItemClick||(this.$parent.visible=!1)}}},u=n(3744);const d=(0,u.Z)(l,[["render",o],["__scopeId","data-v-0a3cac88"]]);var f=d},1478:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={class:"icon-container"},a=["src","alt"];function o(e,t,n,o,c,l){var u,d;return(0,s.wg)(),(0,s.iD)("div",r,[null!==(u=n.url)&&void 0!==u&&u.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,a)):null!==(d=l.className)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,i.C_)(["icon",l.className]),style:(0,i.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var c={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className:function(){return this.class}}},l=n(3744);const u=(0,l.Z)(c,[["render",o],["__scopeId","data-v-706a3bd1"]]);var d=u},5392:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ie}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a=["selected"],o=["selected"],c={class:"col-4 pull-right"},l=(0,s._)("i",{class:"fa fa-plus"},null,-1),u=[l];function d(e,t,n,l,d,f){var p=(0,s.up)("Users"),h=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s._)("select",{title:"View",onChange:t[0]||(t[0]=function(e){return d.selectedView=e.target.value})},[(0,s._)("option",{value:"users",selected:"users"===d.selectedView},"Users",8,a),(0,s._)("option",{value:"token",selected:"token"===d.selectedView},"Generate Token",8,o)],32)]),(0,s._)("div",c,["users"===d.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[1]||(t[1]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},u)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===d.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===d.selectedView?((0,s.wg)(),(0,s.j4)(h,{key:1,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var f=n(8534),p=(n(5666),n(3577)),h=n(9963),m={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),w=(0,s._)("br",null,null,-1),b=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),S=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),T=(0,s.Uk)("Specify it on the "),Z=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),P=(0,s.Uk)("X-Token"),M=(0,s.Uk)(" header;"),N=(0,s.Uk)("Specify it as a URL parameter: "),q=(0,s.Uk)("http://site:8008/execute?token=..."),O=(0,s.Uk)(";"),j=(0,s.Uk)("Specify it on the body of your JSON request: "),$=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),E=(0,s.Uk)("."),z=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),W={class:"form-container"},L=(0,s.Uk)(" Username "),A=["value"],V=(0,s._)("label",null,[(0,s.Uk)(" Password "),(0,s._)("input",{type:"password",name:"password"})],-1),H=(0,s._)("label",null,[(0,s.Uk)(" Token validity in days "),(0,s._)("input",{type:"text",name:"validityDays"}),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("input",{type:"submit",value:"Generate token"},null,-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",m,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,w,b,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,S,(0,s._)("ul",null,[(0,s._)("li",null,[T,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[Z]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[P]})),_:1}),M]),(0,s._)("li",null,[N,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[q]})),_:1}),O]),(0,s._)("li",null,[j,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[$]})),_:1}),E])]),z]),(0,s._)("div",W,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,h.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(6813),X=n(8453),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],ce=["disabled"],le=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},he=["onClick"],me=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("input",{type:"submit",value:"Create User",disabled:r.commandRunning},null,8,ae)],544)]})),_:1},512),(0,s.Wm)(c,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("input",{type:"submit",value:"Change Password",disabled:r.commandRunning},null,8,de)],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,me),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(l,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(l,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,he)})),128))])])],64)}var we=n(9584),be=(n(8309),n(5771)),ye=n(9015),ke={name:"Users",components:{DropdownItem:ye.Z,Loading:G.Z,Modal:X.Z,Dropdown:be.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}};const xe=(0,ee.Z)(ke,[["render",ve]]);var _e=xe,Ce={name:"Settings",components:{Users:_e,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const De=(0,ee.Z)(Ce,[["render",d]]);var Ie=De},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Entities/Index":[914,9892],"./Execute/Index":[7643,7643],"./Light/Index":[1406,3490,3803,1406],"./LightHue/Index":[3674,3490,3803,1406,3674],"./Media/Index":[4196,3803,8337,7029,779,4196],"./MediaMplayer/Index":[6509,3803,8337,7029,779,4196,6509],"./MediaMpv/Index":[5895,3803,8337,7029,779,4196,5895],"./MediaOmxplayer/Index":[9633,3803,8337,7029,779,4196,9633],"./MediaVlc/Index":[767,3803,8337,7029,779,4196,767],"./Music/Index":[5781,3803,8337,7029,6833],"./MusicMpd/Index":[2957,3803,8337,7029,6833,2957],"./MusicSnapcast/Index":[2790,3490,3803,2790],"./MusicSpotify/Index":[7196,3803,8337,7029,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[5392],"./Sound/Index":[5193,5193],"./Switches/Index":[4276,4276],"./Switches/LightHue/Index":[2844,3490,6590,2844],"./Switches/Smartthings/Index":[9196,3490,6590,9196],"./Switches/SwitchTplink/Index":[3785,3490,6590,3785],"./Switches/SwitchWemo/Index":[5210,3490,6590,5210],"./Switches/Switchbot/Index":[9694,3490,6590,9694],"./Switches/SwitchbotBluetooth/Index":[9694,3490,6590,9694],"./Switches/ZigbeeMqtt/Index":[5466,3490,6590,5466],"./Switches/Zwave/Index":[7262,3490,6590,7262],"./Switches/ZwaveMqtt/Index":[2380,3490,6590,2380],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4604,3490,3803,4604],"./Zwave/Index":[8586,3490,3803,4658,6027],"./ZwaveMqtt/Index":[2362,3490,3803,4658,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,3490,3803,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[5779,1798,9575,5779],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[4826,4826],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i},1359:function(e){"use strict";e.exports=JSON.parse('{"camera.android.ipcam":{"class":"fab fa-android"},"camera.cv":{"class":"fas fa-camera"},"camera.ffmpeg":{"class":"fas fa-camera"},"camera.gstreamer":{"class":"fas fa-camera"},"camera.ir.mlx90640":{"class":"fas fa-sun"},"camera.pi":{"class":"fas fa-camera"},"entities":{"class":"fa fa-home"},"execute":{"class":"fa fa-play"},"light.hue":{"class":"fas fa-lightbulb"},"media.jellyfin":{"imgUrl":"/icons/jellyfin.svg"},"media.kodi":{"imgUrl":"/icons/kodi.svg"},"media.omxplayer":{"class":"fa fa-film"},"media.mplayer":{"class":"fa fa-film"},"media.mpv":{"class":"fa fa-film"},"media.plex":{"imgUrl":"/icons/plex.svg"},"media.vlc":{"class":"fa fa-film"},"music.mpd":{"class":"fas fa-music"},"music.snapcast":{"class":"fa fa-volume-up"},"music.spotify":{"class":"fab fa-spotify"},"torrent":{"class":"fa fa-magnet"},"rtorrent":{"class":"fa fa-magnet"},"smartthings":{"imgUrl":"/icons/smartthings.png"},"switches":{"class":"fas fa-toggle-on"},"switch.switchbot":{"class":"fas fa-toggle-on"},"switch.tplink":{"class":"fas fa-toggle-on"},"switchbot":{"class":"fas fa-toggle-on"},"sound":{"class":"fa fa-microphone"},"tts":{"class":"far fa-comment"},"tts.google":{"class":"fas fa-comment"},"tv.samsung.ws":{"class":"fas fa-tv"},"zigbee.mqtt":{"imgUrl":"/icons/zigbee.svg"},"zwave":{"imgUrl":"/icons/z-wave.png"},"zwave.mqtt":{"imgUrl":"/icons/z-wave.png"}}')}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[c])}))?s.splice(c--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(s,i){if(1&i&&(s=this(s)),8&i)return s;if("object"===typeof s&&s){if(4&i&&s.__esModule)return s;if(16&i&&"function"===typeof s.then)return s}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var o=2&i&&s;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){a[e]=function(){return s[e]}}));return a["default"]=function(){return s},n.d(r,a),r}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{65:"a4e6662a",345:"dcb6e74e",518:"e665a841",615:"fba0e1b5",699:"cb1ccfbb",767:"f33d812b",779:"b22c1cc7",1155:"179db4ca",1406:"531be9a8",1595:"69aea4ae",1798:"b42f39d9",1938:"e350f72d",2346:"4845c2ae",2362:"6b95b958",2380:"0d05fcbd",2466:"b6981a49",2790:"2afcb92a",2820:"869be689",2844:"b3683bc2",2957:"a0d5f651",3490:"d482e29b",3499:"90eae609",3674:"1f20942d",3785:"5ec00494",3803:"9202f4bf",4021:"a3380d38",4196:"b3577e2e",4276:"18787ca7",4548:"e2883bdd",4604:"2f44612f",4658:"2b32d64d",4826:"f73c82f0",4981:"c4835180",5111:"262ea3c5",5193:"d8c2e027",5207:"b6625280",5210:"e39ce8e4",5466:"ba464f70",5528:"5b7db199",5779:"8c634228",5824:"a1aaa126",5895:"e1ce8e90",6003:"f3446996",6013:"b02eb716",6027:"1e7fc2ce",6162:"bf13f6e2",6509:"ab6d64c3",6590:"a024a679",6739:"c665b953",6833:"00db1080",7029:"66663032",7196:"a47a2493",7262:"13af887b",7420:"a57de4be",7643:"5b846090",8184:"702db0b7",8337:"fcf13df8",8729:"19ca396b",9196:"1cf345e1",9299:"adb4a75b",9575:"fb8eab70",9633:"8a00fadb",9694:"a11c42e2",9892:"4cf77440",9895:"acee9428"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{65:"d6cbc229",345:"0d938275",518:"44f63b6e",615:"be187f79",779:"459f0f41",1155:"3c072b53",1406:"3c45f7ef",1798:"5047113b",2346:"f042c092",2380:"7e6cb2ed",2790:"8a938bab",2844:"fa1de455",3490:"3516cb6e",3785:"5ed5a4df",3803:"071120e4",4021:"0331be37",4196:"f1fcf8f5",4276:"07502cf2",4604:"34b220bc",4658:"0aa0c9b4",4826:"437fa334",4981:"8830c3ce",5193:"7f3c2173",5207:"831746a7",5210:"435161f9",5466:"fb0c1b5f",5528:"a4270756",5779:"b285a776",5824:"f9f7ad29",6003:"0868fde4",6013:"2141ef7f",6162:"f3d46bda",6590:"778aa4c7",6739:"649d4b27",6833:"c53bec53",7029:"13387da1",7262:"7ac2a7a5",7420:"e42d1496",7643:"e25374a8",8729:"f98d84da",9196:"18347c3c",9575:"eba29f96",9694:"509f8cb5",9892:"68b29dbb"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u\n \n \n \n \n \n\n \n\n\n\n\n\n\n","\n\n\n\n","\n\n\n\n","import { render } from \"./Notification.vue?vue&type=template&id=7646705e&scoped=true\"\nimport script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nimport \"./Notification.vue?vue&type=style&index=0&id=7646705e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7646705e\"]])\n\nexport default __exports__","import { render } from \"./Notifications.vue?vue&type=template&id=6dc8bebc&scoped=true\"\nimport script from \"./Notifications.vue?vue&type=script&lang=js\"\nexport * from \"./Notifications.vue?vue&type=script&lang=js\"\n\nimport \"./Notifications.vue?vue&type=style&index=0&id=6dc8bebc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6dc8bebc\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Events.vue?vue&type=template&id=26b9b70f\"\nimport script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./VoiceAssistant.vue?vue&type=template&id=3f009270\"\nimport script from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\nexport * from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\n\nimport \"./VoiceAssistant.vue?vue&type=style&index=0&id=3f009270&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Ntfy.vue?vue&type=template&id=1c4a4708\"\nimport script from \"./Ntfy.vue?vue&type=script&lang=js\"\nexport * from \"./Ntfy.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Pushbullet.vue?vue&type=template&id=bf9869d4\"\nimport script from \"./Pushbullet.vue?vue&type=script&lang=js\"\nexport * from \"./Pushbullet.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=8d9fac48\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=8d9fac48&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Row.vue?vue&type=template&id=1b4663f2&scoped=true\"\nimport script from \"./Row.vue?vue&type=script&lang=js\"\nexport * from \"./Row.vue?vue&type=script&lang=js\"\n\nimport \"./Row.vue?vue&type=style&index=0&id=1b4663f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1b4663f2\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Widget.vue?vue&type=template&id=5df52982&scoped=true\"\nimport script from \"./Widget.vue?vue&type=script&lang=js\"\nexport * from \"./Widget.vue?vue&type=script&lang=js\"\n\nimport \"./Widget.vue?vue&type=style&index=0&id=5df52982&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5df52982\"]])\n\nexport default __exports__","import { render } from \"./Dashboard.vue?vue&type=template&id=cefcfdfc&scoped=true\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js\"\n\nimport \"./Dashboard.vue?vue&type=style&index=0&id=cefcfdfc&lang=scss&scoped=true\"\nimport \"./Dashboard.vue?vue&type=style&index=1&id=cefcfdfc&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-cefcfdfc\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./NotFound.vue?vue&type=template&id=49501f4d\"\nimport script from \"./NotFound.vue?vue&type=script&lang=js\"\nexport * from \"./NotFound.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Login.vue?vue&type=template&id=16cef6aa&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=16cef6aa&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-16cef6aa\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Register.vue?vue&type=template&id=1244b238\"\nimport script from \"./Register.vue?vue&type=script&lang=js\"\nexport * from \"./Register.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=69a507f4&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=69a507f4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-69a507f4\"]])\n\nexport default __exports__","import { render } from \"./Panel.vue?vue&type=template&id=344b6d1a&scoped=true\"\nimport script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nimport \"./Panel.vue?vue&type=style&index=0&id=344b6d1a&lang=scss&scoped=true\"\nimport \"./Panel.vue?vue&type=style&index=1&id=344b6d1a&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-344b6d1a\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","import { render } from \"./Plugin.vue?vue&type=template&id=67571c94&scoped=true\"\nimport script from \"./Plugin.vue?vue&type=script&lang=js\"\nexport * from \"./Plugin.vue?vue&type=script&lang=js\"\n\nimport \"./Plugin.vue?vue&type=style&index=0&id=67571c94&lang=scss&scoped=true\"\nimport \"./Plugin.vue?vue&type=style&index=1&id=67571c94&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-67571c94\"]])\n\nexport default __exports__","import { createWebHistory, createRouter } from \"vue-router\";\nimport Dashboard from \"@/views/Dashboard.vue\";\nimport NotFound from \"@/views/NotFound\";\nimport Login from \"@/views/Login\";\nimport Register from \"@/views/Register\";\nimport Panel from \"@/views/Panel\";\nimport Plugin from \"@/views/Plugin\";\n\nconst routes = [\n {\n path: \"/\",\n name: \"Panel\",\n component: Panel,\n },\n\n {\n path: \"/dashboard/:name\",\n name: \"Dashboard\",\n component: Dashboard,\n },\n\n {\n path: \"/plugin/:plugin\",\n name: \"Plugin\",\n component: Plugin,\n },\n\n {\n path: \"/login\",\n name: \"Login\",\n component: Login,\n },\n\n {\n path: \"/register\",\n name: \"Register\",\n component: Register,\n },\n\n {\n path: \"/:catchAll(.*)\",\n component: NotFound,\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(),\n routes,\n});\n\nexport default router;\n","import { createApp } from 'vue'\nimport App from '@/App.vue'\nimport router from '@/router'\n\nconst app = createApp(App)\napp.config.globalProperties._config = window.config\napp.use(router).mount('#app')\n","\n\n","import script from \"./Api.vue?vue&type=script&lang=js\"\nexport * from \"./Api.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Cookies.vue?vue&type=script&lang=js\"\nexport * from \"./Cookies.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./DateTime.vue?vue&type=script&lang=js\"\nexport * from \"./DateTime.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Screen.vue?vue&type=script&lang=js\"\nexport * from \"./Screen.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Text.vue?vue&type=script&lang=js\"\nexport * from \"./Text.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Types.vue?vue&type=script&lang=js\"\nexport * from \"./Types.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n","import { render } from \"./Loading.vue?vue&type=template&id=4d9c871b&scoped=true\"\nconst script = {}\n\nimport \"./Loading.vue?vue&type=style&index=0&id=4d9c871b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4d9c871b\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Modal.vue?vue&type=template&id=7d1f6e8b&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=7d1f6e8b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7d1f6e8b\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Dropdown.vue?vue&type=template&id=21bf0316&scoped=true\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=js\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=js\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=21bf0316&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-21bf0316\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./DropdownItem.vue?vue&type=template&id=0a3cac88&scoped=true\"\nimport script from \"./DropdownItem.vue?vue&type=script&lang=js\"\nexport * from \"./DropdownItem.vue?vue&type=script&lang=js\"\n\nimport \"./DropdownItem.vue?vue&type=style&index=0&id=0a3cac88&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0a3cac88\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","\n\n\n\n\n","