From 5eed30b481ef36a70f46bc7b5ff84a3f0249f3c8 Mon Sep 17 00:00:00 2001 From: Nadzeya Mikhailava Date: Fri, 26 Jul 2024 14:49:45 +0300 Subject: [PATCH] publish: v.1.4.10 [fix] color picker opening [fix] track player layout for small windows generated from commit 96b9e2f3327e073f62c91a60a4c5064b5732fd32 --- css/1.678ede0d.css | 1 + css/1.890189ed.css | 1 - index.html | 2 +- js/1.14196e1f.js | 1 - js/1.c5e18fcd.js | 1 + js/app.4e76cb2d.js | 1 + js/app.d01da321.js | 1 - js/{vendor.10f0a22b.js => vendor.9589ac2a.js} | 96 +++++++++---------- package.json | 7 +- 9 files changed, 57 insertions(+), 54 deletions(-) create mode 100644 css/1.678ede0d.css delete mode 100644 css/1.890189ed.css delete mode 100644 js/1.14196e1f.js create mode 100644 js/1.c5e18fcd.js create mode 100644 js/app.4e76cb2d.js delete mode 100644 js/app.d01da321.js rename js/{vendor.10f0a22b.js => vendor.9589ac2a.js} (70%) diff --git a/css/1.678ede0d.css b/css/1.678ede0d.css new file mode 100644 index 00000000..845870ab --- /dev/null +++ b/css/1.678ede0d.css @@ -0,0 +1 @@ +.q-v-date-range-picker .q-btn__wrapper{padding-left:0;padding-right:0}.modal-date-range .q-dialog__inner--minimized{padding:6px}.bg-white-opasity{background-color:hsla(0,0%,100%,0.7)!important}.item--telemetry-inited{background-color:rgba(111,101,19,0.7)!important}.list__item{display:inline-block;min-height:19px;white-space:nowrap;padding-left:5px;text-overflow:ellipsis;overflow:hidden;border-right:2px solid #616161;line-height:19px}.item--active{background-color:#757575}.message-viewer .q-w-list>.missed-items{background-color:hsla(0,0%,100%,0.05)}.message-viewer .q-w-list>.missed-items:nth-child(odd){background-color:hsla(0,0%,100%,0.1)}.message-viewer .list-wrapper{background-color:inherit!important}.message-viewer .list-wrapper .list__content{background-color:rgba(0,0,0,0.15)!important}.message-viewer .list-wrapper .list__header{background-color:rgba(97,97,97,0.8)!important}.no-border-radius{border-radius:none}.player{width:100%;height:46px;padding:0 68px;overflow:hidden}.player .player__main{height:calc(100% - 18px);position:relative;margin-top:10px}.player .player__main .player__container{height:100%;position:relative}.player .player__main .player__container .player__line{height:16%;top:42%;width:100%;position:absolute;background-color:#00b0ff;transition:all 0.2s ease}.player .player__main .player__container .player__line .line{height:100%;position:absolute}.player .player__main .player__container .player__line .line__active{background-color:#fff}.player .player__main .player__container .player__line .line__disabled{background-color:#666;cursor:default}.player .player__main .player__container .player__line .line__disabled--left{left:0}.player .player__main .player__container .player__line .line__disabled--right{top:0;right:0}.player .player__main .player__container .player__control{width:24px;height:24px;border-radius:50%;background-color:rgba(0,255,0,0.8);border:1px solid #fff;position:absolute;top:calc(50% - 1px);transform:translate3d(-50%,-50%,0) rotate(-135deg);border-bottom-left-radius:inherit;z-index:2}.player .player__main .player__container .player__control--mobile{width:16px;height:16px;top:50%}.player .player__main .player__container .player__control--disabled{background-color:hsla(0,0%,39.2%,0.8)}.player .player__main .q-slider{height:7px;top:20px}.player .player__main .q-slider .q-slider__thumb-container{top:50%;z-index:1}.player .player__main .q-slider .q-slider__thumb-container .q-slider__thumb.handle-at-minimum:after{border:none}.player .player__main .q-slider .q-slider__track-container{display:none}#queue{z-index:1000}#queue .color-view{display:inline-block;width:12px;height:12px;border:2px solid #fff;border-radius:50%}#queue .table__wrapper{overflow:auto;font-size:80%;position:relative}#queue .no-messages{min-height:140px;opacity:0.7}#queue .q-tabs__arrow{color:#fff}.color-modal .q-color-inputs{display:none}.leaflet-control-layers{top:110px}.leaflet-control-layers .leaflet-control-layers-toggle{width:24px;height:24px;background-size:20px}.leaflet-container.crosshair-cursor-enabled{cursor:crosshair}.leaflet-control.leaflet-bar{top:50px;left:6px;border:none}.leaflet-control.leaflet-bar .leaflet-control-zoom-in,.leaflet-control.leaflet-bar .leaflet-control-zoom-out{background-color:#fff;color:#333;border-color:#666;box-shadow:0 0 15px rgba(0,0,0,0.5)}.leaflet-control.leaflet-bar .leaflet-control-zoom-in{border-top-left-radius:3px;border-top-right-radius:3px}.leaflet-control.leaflet-bar .leaflet-control-zoom-out{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.my-flag-icon__inner{font-size:35px;position:relative;top:-20px;left:2px}.my-div-icon{z-index:2000!important}.my-div-icon .my-div-icon__name{line-height:20px;font-size:0.9rem;font-weight:bolder;position:absolute;top:0;left:30px;max-width:200px;text-overflow:ellipsis;overflow:hidden;background-color:rgba(0,0,0,0.5);color:#fff;border-radius:5px;padding:0 5px;border:1px solid #fff;box-shadow:3px 3px 10px #999}.direction{border:2px solid #000;border-radius:50% 0 50% 50%;background-color:#fff;opacity:0.5;height:20px;width:20px}.my-round-marker{height:10px;border-radius:50%;background-color:#e53935;transform:scale(1);box-shadow:0 0 0 0 #ff5252;animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(0.95);box-shadow:0 0 0 0 rgba(255,82,82,0.7)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(255,82,82,0)}to{transform:scale(0.95);box-shadow:0 0 0 0 rgba(255,82,82,0)}}.device-item__active{background-color:#757575}.icon__send-active{color:#fff}.floated{z-index:2000;position:absolute}.floated.label{color:#333;top:5px;left:70px;border-radius:5px;opacity:0.9;pointer-events:none;-webkit-user-select:none;user-select:none}.floated.menu{top:5px;left:10px}.floated.github{top:5px;right:50px}.floated.notifications{top:5px;right:100px}.floated.options{top:5px;right:10px}.floated.date{top:60px;right:10px;background-color:#fff;padding:1px;border-radius:3px;box-shadow:0 0 15px rgba(0,0,0,0.5)}.floated.no-devices{bottom:150px;text-align:center;width:100%;pointer-events:none;-webkit-user-select:none;user-select:none}.floated.no-devices .no-devices__message{font-size:3rem;opacity:0.5;font-weight:bolder;text-transform:uppercase}.error-page{height:100vh}.error-page .error-code{height:50vh;width:100%;padding-top:15vh;font-size:10vmax;background-image:url(../img/trackit.09dbec33.png);background-position:50%;background-size:contain;background-repeat:no-repeat;background-color:#333;color:hsla(0,0%,100%,0.7);overflow:hidden}.error-page .error-card{border-radius:2px;margin-top:-50px;width:80vw;max-width:600px;padding:25px}.error-page .error-card>i{font-size:5rem}.modal-date .q-dialog__inner--minimized{padding:6px} \ No newline at end of file diff --git a/css/1.890189ed.css b/css/1.890189ed.css deleted file mode 100644 index 404ad49a..00000000 --- a/css/1.890189ed.css +++ /dev/null @@ -1 +0,0 @@ -.q-v-date-range-picker .q-btn__wrapper{padding-left:0;padding-right:0}.modal-date-range .q-dialog__inner--minimized{padding:6px}.bg-white-opasity{background-color:hsla(0,0%,100%,0.7)!important}.item--telemetry-inited{background-color:rgba(111,101,19,0.7)!important}.list__item{display:inline-block;min-height:19px;white-space:nowrap;padding-left:5px;text-overflow:ellipsis;overflow:hidden;border-right:2px solid #616161;line-height:19px}.item--active{background-color:#757575}.message-viewer .q-w-list>.missed-items{background-color:hsla(0,0%,100%,0.05)}.message-viewer .q-w-list>.missed-items:nth-child(odd){background-color:hsla(0,0%,100%,0.1)}.message-viewer .list-wrapper{background-color:inherit!important}.message-viewer .list-wrapper .list__content{background-color:rgba(0,0,0,0.15)!important}.message-viewer .list-wrapper .list__header{background-color:rgba(97,97,97,0.8)!important}.no-border-radius{border-radius:none}.player{width:100%;padding:0 17px;overflow:hidden}.player .player__main{height:calc(100% - 18px);position:relative;margin-top:10px}.player .player__main .player__container{height:100%;position:relative}.player .player__main .player__container .player__line{height:16%;top:42%;width:100%;position:absolute;background-color:#00b0ff;transition:all 0.2s ease}.player .player__main .player__container .player__line .line{height:100%;position:absolute}.player .player__main .player__container .player__line .line__active{background-color:#fff}.player .player__main .player__container .player__line .line__disabled{background-color:#666;cursor:default}.player .player__main .player__container .player__line .line__disabled--left{left:0}.player .player__main .player__container .player__line .line__disabled--right{top:0;right:0}.player .player__main .player__container .player__control{width:24px;height:24px;border-radius:50%;background-color:rgba(0,255,0,0.8);border:1px solid #fff;position:absolute;top:calc(50% - 1px);transform:translate3d(-50%,-50%,0) rotate(-135deg);border-bottom-left-radius:inherit;z-index:2}.player .player__main .player__container .player__control--mobile{width:16px;height:16px;top:50%}.player .player__main .q-slider{height:7px;top:20px}.player .player__main .q-slider .q-slider__thumb-container{top:50%;z-index:1}.player .player__main .q-slider .q-slider__thumb-container .q-slider__thumb.handle-at-minimum:after{border:none}.player .player__main .q-slider .q-slider__track-container{display:none}#queue{z-index:1000}#queue .color-view{display:inline-block;width:12px;height:12px;border:2px solid #fff;border-radius:50%}#queue .table__wrapper{overflow:auto;font-size:80%;position:relative}#queue .no-messages{min-height:140px;opacity:0.7}#queue .q-tabs__arrow{color:#fff}.color-modal .q-color-inputs{display:none}.leaflet-control-layers{top:110px}.leaflet-control-layers .leaflet-control-layers-toggle{width:24px;height:24px;background-size:20px}.leaflet-container.crosshair-cursor-enabled{cursor:crosshair}.leaflet-control.leaflet-bar{top:50px;left:6px;border:none}.leaflet-control.leaflet-bar .leaflet-control-zoom-in,.leaflet-control.leaflet-bar .leaflet-control-zoom-out{background-color:#fff;color:#333;border-color:#666;box-shadow:0 0 15px rgba(0,0,0,0.5)}.leaflet-control.leaflet-bar .leaflet-control-zoom-in{border-top-left-radius:3px;border-top-right-radius:3px}.leaflet-control.leaflet-bar .leaflet-control-zoom-out{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.my-flag-icon__inner{font-size:35px;position:relative;top:-20px;left:2px}.my-div-icon{z-index:2000!important}.my-div-icon .my-div-icon__name{line-height:20px;font-size:0.9rem;font-weight:bolder;position:absolute;top:0;left:30px;max-width:200px;text-overflow:ellipsis;overflow:hidden;background-color:rgba(0,0,0,0.5);color:#fff;border-radius:5px;padding:0 5px;border:1px solid #fff;box-shadow:3px 3px 10px #999}.direction{border:2px solid #000;border-radius:50% 0 50% 50%;background-color:#fff;opacity:0.5;height:20px;width:20px}.my-round-marker{height:10px;border-radius:50%;background-color:#e53935;transform:scale(1);box-shadow:0 0 0 0 #ff5252;animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(0.95);box-shadow:0 0 0 0 rgba(255,82,82,0.7)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(255,82,82,0)}to{transform:scale(0.95);box-shadow:0 0 0 0 rgba(255,82,82,0)}}.device-item__active{background-color:#757575}.icon__send-active{color:#fff}.floated{z-index:2000;position:absolute}.floated.label{color:#333;top:5px;left:70px;border-radius:5px;opacity:0.9;pointer-events:none;-webkit-user-select:none;user-select:none}.floated.menu{top:5px;left:10px}.floated.github{top:5px;right:50px}.floated.notifications{top:5px;right:100px}.floated.options{top:5px;right:10px}.floated.date{top:60px;right:10px;background-color:#fff;padding:1px;border-radius:3px;box-shadow:0 0 15px rgba(0,0,0,0.5)}.floated.no-devices{bottom:150px;text-align:center;width:100%;pointer-events:none;-webkit-user-select:none;user-select:none}.floated.no-devices .no-devices__message{font-size:3rem;opacity:0.5;font-weight:bolder;text-transform:uppercase}.error-page{height:100vh}.error-page .error-code{height:50vh;width:100%;padding-top:15vh;font-size:10vmax;background-image:url(../img/trackit.09dbec33.png);background-position:50%;background-size:contain;background-repeat:no-repeat;background-color:#333;color:hsla(0,0%,100%,0.7);overflow:hidden}.error-page .error-card{border-radius:2px;margin-top:-50px;width:80vw;max-width:600px;padding:25px}.error-page .error-card>i{font-size:5rem}.modal-date .q-dialog__inner--minimized{padding:6px} \ No newline at end of file diff --git a/index.html b/index.html index 69264d35..73e21b2a 100644 --- a/index.html +++ b/index.html @@ -4,4 +4,4 @@ gtag('js', new Date()); gtag('config', 'UA-93342359-3'); - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/js/1.14196e1f.js b/js/1.14196e1f.js deleted file mode 100644 index 4278dad2..00000000 --- a/js/1.14196e1f.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{1326:function(e,t,s){},"1eb9":function(e,t,s){},"40b2":function(e,t,s){},4678:function(e,t,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df48","./fa.js":"8df48","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b46","./gd.js":"f6b46","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=n(e);return s(t)}function n(e){if(!s.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id="4678"},"472c":function(e,t,s){"use strict";s("1326")},"4d94":function(e,t,s){},7001:function(e,t,s){"use strict";s("1eb9")},"728a":function(e,t,s){},"7a97":function(e,t,s){"use strict";s("8e1f")},"851e":function(e,t,s){"use strict";s("40b2")},"8e1f":function(e,t,s){},a61f:function(e,t,s){},b877:function(e,t,s){"use strict";s("bc7c")},bc7c:function(e,t,s){},db15:function(e,t,s){"use strict";s("4d94")},dfe6:function(e,t,s){"use strict";s("728a")},f241:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e._self._c;return t("q-layout",{ref:"layout",attrs:{view:"hHh LpR lFf"}},[e.isInit&&e.needShowList?t("q-drawer",{attrs:{side:"left","no-swipe-open":e.$q.platform.is.desktop,"no-swipe-close":e.$q.platform.is.desktop,breakpoint:576,behavior:"mobile"},model:{value:e.side_left,callback:function(t){e.side_left=t},expression:"side_left"}},[t("device-list",{directives:[{name:"show",rawName:"v-show",value:e.devices.length,expression:"devices.length"}],attrs:{deviceIdForWatch:e.deviceIdForWatch,activeDevicesID:e.activeDevicesID,devices:e.devices},on:{"update-watch-by-id":e.setWatchToDeviceID,"click-hide":function(t){e.side_left=!1}}})],1):e._e(),t("q-drawer",{attrs:{side:"right","no-swipe-open":"","no-swipe-close":"","content-class":{"bg-grey-9":e.telemetrySettings.inverted}},model:{value:e.side_right,callback:function(t){e.side_right=t},expression:"side_right"}},[t("div",{staticStyle:{position:"relative",height:"100vh",overflow:"hidden"}},[t("q-item",[t("q-item-section",{attrs:{avatar:""}},[t("q-icon",{attrs:{color:e.telemetrySettings.inverted?"white":"",size:"1.8rem",name:"developer_board"}})],1),t("q-item-section",[t("q-item-label",{staticClass:"ellipsis text-bold q-pa-none",class:{"text-white":e.telemetrySettings.inverted},attrs:{header:""}},[e._v("Telemetry")]),e.deviceIdForTelemetry?t("q-item-label",{staticClass:"ellipsis",class:{"text-white":e.telemetrySettings.inverted},attrs:{caption:""}},[t("small",[e._v(e._s(e.deviceForTelemetry.name||`#${e.deviceForTelemetry.id}`))])]):t("q-item-label",{staticClass:"ellipsis",class:{"text-white":e.telemetrySettings.inverted},attrs:{caption:""}},[t("small",[e._v("No selected device")])])],1),t("q-item-section",{attrs:{side:""}},[t("q-btn",{staticClass:"text-grey",attrs:{color:e.telemetrySettings.inverted?"white":"grey",flat:"",icon:"filter_b_and_w"},on:{click:e.telemetrySettingsChangeHandler}},[t("q-tooltip",[e._v("Inverted")])],1)],1)],1),e.deviceIdForTelemetry?t("q-item",[t("q-item-section",[t("q-input",{staticClass:"q-mb-xs",attrs:{type:"text",label:"Search",dark:e.telemetrySettings.inverted,color:e.telemetrySettings.inverted?"white":"grey",outlined:"","hide-bottom-space":""},model:{value:e.telemetrySearch,callback:function(t){e.telemetrySearch=t},expression:"telemetrySearch"}})],1)],1):e._e(),e.deviceIdForTelemetry?t("q-telemetry",{staticClass:"scroll",staticStyle:{height:"calc(100% - 128px)"},attrs:{propHistoryFlag:e.telemetryConfig.propHistoryFlag,device:e.deviceForTelemetry,inverted:e.telemetrySettings.inverted,search:e.telemetrySearch}}):t("div",{staticClass:"text-bold text-center q-mt-sm",class:{"text-white":e.telemetrySettings.inverted}},[e._v("\n Select one by clicking on its "),t("q-icon",{attrs:{name:"mdi-car-sports",size:"1.2rem"}}),e._v(" marker\n ")],1)],1)]),t("q-page-container",[t("q-page",[e.devices.length&&e.needShowList?t("q-btn",{staticClass:"floated menu",attrs:{small:"",round:"",flat:"",color:"bg-grey-9",size:"md"},on:{click:function(t){e.side_left=!e.side_left}}},[t("q-icon",{attrs:{name:"menu"}})],1):e._e(),t("div",{staticClass:"floated label"},[t("img",{staticStyle:{height:"40px","margin-top":"3px",display:"inline-block"},attrs:{src:"track-it-logo.png",alt:"Track it!"}}),t("div",{staticClass:"q-toolbar-title",staticStyle:{color:"rgb(51, 51, 51)",display:"inline-block"}},[e._v("\n Track it! "),t("sup",[e._v(e._s(e.version))]),t("div",{staticClass:"q-toolbar-subtitle"},[e._v("\n Find yourself\n ")])])]),e.errors.length?t("q-btn",{staticClass:"floated notifications",attrs:{small:"",flat:"",round:"",color:"bg-grey-9",size:"md",icon:"notifications"},on:{click:e.clearNotificationCounter}},[e.newNotificationCounter?t("q-chip",{staticClass:"absolute-top-right q-pa-xs text-white",staticStyle:{"font-size":".6rem"},attrs:{color:"red"}},[e._v(e._s(e.newNotificationCounter))]):e._e(),t("q-menu",{ref:"popoverError",attrs:{fit:""}},[t("q-list",{staticClass:"scroll",staticStyle:{"max-height":"200px"},attrs:{"no-border":"",link:"",separator:""}},e._l(e.errors,(function(s,i){return t("q-item",{key:i,staticStyle:{cursor:"default"}},[t("q-item-section",[t("q-item-label",[e._v(e._s(s))])],1)],1)})),1)],1)],1):e._e(),e.devices.length?t("div",{staticClass:"floated date"},[t("date-range-modal",{attrs:{date:e.date,theme:e.dateTheme},on:{save:t=>e.date=[...t],reinit:e.initDate}})],1):e._e(),!e.activeDevicesID.length&&e.devices.length?t("div",{staticClass:"floated no-devices"},[t("span",{staticClass:"no-devices__message"},[e._v("You have no selected devices")]),t("div",{staticStyle:{"margin-top":"15px"}},[t("q-btn",{staticStyle:{"pointer-events":"auto"},attrs:{icon:"menu",color:"black",size:"md"},on:{click:function(t){e.side_left=!e.side_left}}},[e._v("\n select devices\n ")])],1)]):!e.devices.length&&e.hasDevicesInit?t("div",{staticClass:"floated no-devices"},[t("span",{staticClass:"no-devices__message"},[e._v("You have no devices")]),t("div",{staticClass:"q-mt-sm text-bg-grey-9",staticStyle:{"font-size":"1.3rem"}},[e._v("\n Create one on\n "),t("q-btn",{staticStyle:{"pointer-events":"auto"},attrs:{dense:"",color:"red-5",label:"flespi.io"},on:{click:function(t){return e.openURL("https://flespi.io")}}})],1)]):e._e(),e.$q.platform.is.desktop?t("a",{staticClass:"floated github",attrs:{href:"https://github.com/flespi-software/TrackIt/",target:"_blank"}},[t("q-btn",{attrs:{flat:"",round:"",color:"bg-grey-9"}},[t("img",{staticStyle:{height:"30px"},attrs:{src:"GitHub-Mark-32px.png",alt:"GitHub"}}),t("q-tooltip",[e._v("Show on GitHub")])],1)],1):e._e(),t("q-btn",{staticClass:"floated options",attrs:{small:"",round:"",flat:"",size:"md"}},[t("q-icon",{attrs:{color:"bg-grey-9",name:"more_vert"}}),t("q-menu",{ref:"popover-menu"},[t("q-list",{staticClass:"scroll",staticStyle:{"min-width":"200px"},attrs:{link:"",separator:""}},[t("q-item",[t("q-toggle",{attrs:{disabled:!e.devices.length,icon:"dvr",label:"Messages"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowMessages,callback:function(t){e.$set(e.params,"needShowMessages",t)},expression:"params.needShowMessages"}})],1),t("q-item",[t("q-toggle",{attrs:{disable:!e.devices.length,icon:"mdi-play",label:"Player"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowPlayer,callback:function(t){e.$set(e.params,"needShowPlayer",t)},expression:"params.needShowPlayer"}})],1),t("q-item",[t("q-toggle",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{disabled:!e.devices.length,icon:"av_timer",label:"Telemetry"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowTelemetry,callback:function(t){e.$set(e.params,"needShowTelemetry",t)},expression:"params.needShowTelemetry"}})],1),e.needHideNamesInMenu?e._e():t("q-item",[t("q-toggle",{attrs:{disabled:!e.devices.length,icon:"pin_drop",label:"Names"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowNamesOnMap,callback:function(t){e.$set(e.params,"needShowNamesOnMap",t)},expression:"params.needShowNamesOnMap"}})],1),t("q-item",{staticClass:"within-iframe-hide",attrs:{clickable:""},on:{click:e.exitHandler}},[t("q-item-section",{staticClass:"q-pl-md",attrs:{avatar:""}},[t("q-icon",{attrs:{name:"exit_to_app"}})],1),t("q-item-section",[t("q-item-label",[e._v("Exit")])],1)],1)],1)],1)],1),t("map-component",{attrs:{activeDevices:e.activeDevices,deviceIdForWatch:e.deviceIdForWatch,params:e.params,date:e.date},on:{"update-telemetry-device-id":e.updateTelemetryDeviceId,"change-need-show-messages":t=>{e.params.needShowMessages=t}}})],1)],1)],1)},a=[],n=(s("14d9"),s("2b0e")),r=s("2f62"),o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"q-v-date-range-picker",staticStyle:{"min-width":"180px"}},[t("q-btn",{attrs:{color:e.theme.bgColor,flat:"",dense:"",icon:"keyboard_arrow_left"},on:{click:e.prevHandler}},[t("q-tooltip",[e._v("Previous time range")])],1),t("q-btn",{staticClass:"q-pa-none",staticStyle:{"min-width":"124px","font-size":".8rem","line-height":".8rem"},attrs:{flat:"",color:e.theme.bgColor},on:{click:e.dateRangeToggle}},[t("div",[t("div",[e._v(e._s(e.formatDate(e.dateModel[0])))]),t("div",{staticStyle:{"font-size":".5rem"}},[e._v("|")]),t("div",[e._v(e._s(e.formatDate(e.dateModel[1])))])]),t("q-tooltip",[e._v("Change time")])],1),t("q-btn",{attrs:{color:e.theme.bgColor,flat:"",dense:"",icon:"keyboard_arrow_right"},on:{click:e.nextHandler}},[t("q-tooltip",[e._v("Next time range")])],1),t("q-dialog",{ref:"dateRangePickerModal",attrs:{"content-class":"modal-date-range"}},[t("q-card",[t("q-card-section",{staticClass:"scroll q-pa-none",class:{[`bg-${e.theme.bgColor}`]:!0,"text-white":!!e.theme.bgColor}},[t("div",{staticClass:"flex flex-center",staticStyle:{"max-width":"330px"}},[t("div",{staticClass:"fit text-center q-my-sm"},[t("q-btn-toggle",{attrs:{options:e.dateRangeModeOptions,color:e.theme.bgColor,"text-color":"grey","toggle-text-color":e.theme.color,flat:""},model:{value:e.mode,callback:function(t){e.mode=t},expression:"mode"}})],1),t("date-range-picker",{staticClass:"q-ma-sm",attrs:{mode:e.mode,theme:e.theme},on:{"change:mode":e.changeModeDateTimeRangeHandler,error:t=>e.saveDisabled=t},model:{value:e.dateModel,callback:function(t){e.dateModel=t},expression:"dateModel"}})],1)]),t("q-card-actions",{class:{[`bg-${e.theme.bgColor}`]:!0,"text-white":!!e.theme.bgColor},attrs:{align:"between"}},[t("q-btn",{attrs:{flat:"",color:e.theme.color,dense:"",icon:"mdi-map-clock-outline"},on:{click:function(t){e.$emit("reinit"),e.dateRangeModalClose()}}},[t("q-tooltip",[e._v("Reinit time by devices positions")])],1),t("div",[t("q-btn",{attrs:{flat:"",color:e.theme.color},on:{click:e.dateRangeModalClose}},[e._v("close")]),t("q-btn",{attrs:{flat:"",color:e.theme.color,disable:e.saveDisabled},on:{click:e.dateRangeModalSave}},[e._v("save")])],1)],1)],1)],1)],1)},l=[],c=s("bd4c"),h=s("a99f"),d={props:["theme","date"],data(){return{dateModel:this.date,mode:0,saveDisabled:!1,dateRangeModeOptions:[{label:"Day",value:0},{label:"Range",value:3},{label:"Manual",value:4}]}},methods:{dateRangeToggle(){this.$refs.dateRangePickerModal.toggle()},dateRangeModalClose(){this.$refs.dateRangePickerModal.hide()},changeModeDateTimeRangeHandler(e){this.mode=e},dateRangeModalSave(){let[e,t]=this.dateModel;t+=.999,this.$emit("save",[e,t]),this.dateRangeModalClose()},formatDate(e){return c["a"].formatDate(e,"DD/MM/YYYY HH:mm:ss")},prevHandler(){const e=this.dateModel[1]-this.dateModel[0],t=this.dateModel[0]-.001,s=t-e;this.dateModel=[s,t],this.$emit("save",this.dateModel)},nextHandler(){const e=this.dateModel[1]-this.dateModel[0],t=this.dateModel[1]+.001,s=t+e;this.dateModel=[t,s],this.$emit("save",this.dateModel)}},watch:{date(e){this.dateModel=e}},components:{DateRangePicker:h["a"]}},m=d,p=(s("851e"),s("2877")),g=s("9c40"),u=s("05c0"),v=s("24e8"),f=s("f09f"),y=s("a370"),k=s("6a67"),b=s("4b7e"),_=s("eebe"),w=s.n(_),$=Object(p["a"])(m,o,l,!1,null,null,null),S=$.exports;w()($,"components",{QBtn:g["a"],QTooltip:u["a"],QDialog:v["a"],QCard:f["a"],QCardSection:y["a"],QBtnToggle:k["a"],QCardActions:b["a"]});var D=s("5ee7"),M=function(){var e=this,t=e._self._c;return t("div",{staticClass:"map-wrapper absolute-top-left absolute-bottom-right"},[t("div",{style:{height:e.mapHeight},attrs:{id:"map"}},[t("q-resize-observer",{on:{resize:e.onResize}})],1),Object.keys(e.messages).length&&(e.params.needShowMessages||e.params.needShowPlayer)?t("queue",{ref:"queue",attrs:{devices:e.activeDevices,activeDevicesID:e.activeDevicesID,needShowMessages:e.params.needShowMessages,needShowPlayer:e.params.needShowPlayer,messages:e.allMessages,telemetryDeviceId:e.telemetryDeviceId,date:e.date,markers:e.markers,player:e.player},on:{"player-value":t=>e.playProcess(t,"value"),"player-play":t=>e.playProcess(t,"play"),"player-pause":t=>e.playProcess(t,"pause"),"player-stop":t=>e.playProcess(t,"stop"),"player-speed":e.playerSpeedChangeHandler,"player-mode":e.playerModeChange,"change-need-show-messages":t=>{e.$emit("change-need-show-messages",t)},"change-selected":t=>{e.selected=t},"update-color":e.updateColorHandler,"view-on-map":e.viewOnMapHandler}}):e._e(),t("color-modal",{ref:"colorModal",model:{value:e.color,callback:function(t){e.color=t},expression:"color"}})],1)},x=[],C=s("e11e"),I=(s("d88e"),s("6cc5"),s("7998"),s("9ae0"),s("790e"),s("3c65"),function(e){e.Polyline.include({_snakingTimestamp:0,_snakingRings:0,_snakingTailRings:0,_snakingVertices:0,_snakingTailVertices:0,_snakingDistance:0,_snakingTailDistance:0,_snakingIn:!1,_snakingOut:!1,_snakingPaused:!1,_snakingPauseTime:0,snakeIn:function(){if(!this._snakingIn&&!this._snakingOut&&"performance"in window&&"now"in window.performance&&this._map)return this._snakingIn=!0,this._snakingTime=performance.now(),this._snakingVertices=this._snakingRings=this._snakingDistance=0,this._snakeLatLngs||(this._snakeLatLngs=e.LineUtil.isFlat(this._latlngs)?[this._latlngs]:this._latlngs),this._latlngs=[[this._snakeLatLngs[0][0],this._snakeLatLngs[0][0]]],this._update(),this._snake(),this.fire("snakestart"),this.fire("snakeInStart"),this},snakeOut:function(){if(!this._snakingOut&&"performance"in window&&"now"in window.performance&&this._map){if(this._snakingOut=!0,this._snakingTime=performance.now(),this._snakingTailVertices=this._snakingTailRings=this._snakingTailDistance=0,this._snakeLatLngs||(this._snakeLatLngs=e.LineUtil.isFlat(this._latlngs)?[this._latlngs]:this._latlngs),!this._snakingIn){const e=[],t=Object.keys(this._snakeLatLngs);t.forEach((()=>{e.push([]),this._snakeLatLngs[e.length-1].forEach((function(t){e[e.length-1].push([t.lat,t.lng])}))})),this._latlngs=e}return this._update(),this._snakingIn||this._snake(),this.fire("snakeOutStart"),this}},_snake:function(){if(!this._map)return;if(this._snakingPaused)return;const t=performance.now();let s=t-this._snakingTime;s=0===s?.001:s;const i=s*this.options.snakingSpeed/1e3;return this._snakingTime=t,this._snakingIn&&this._latlngs[this._snakingRings].pop(),this._snakingOut&&this._latlngs[this._snakingTailRings].shift(),this._snakingIn&&this._snakeHeadForward(i),this._snakingOut&&this._snakeTailForward(i),this.setLatLngs(this._latlngs),(this._snakingIn||this._snakingOut)&&(this.fire("snake"),e.Util.requestAnimFrame(this._snake,this)),this},_snakeHeadForward:function(e){let t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices+1]),i=t.distanceTo(s);while(this._snakingDistance+e>i){if(this._snakingVertices++,this._latlngs[this._snakingRings].push(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),this._snakingVertices>=this._snakeLatLngs[this._snakingRings].length-1){if(this._snakingRings>=this._snakeLatLngs.length-1)return this._snakeInEnd();this._snakingVertices=0,this._snakingRings++,this._latlngs[this._snakingRings]=[this._snakeLatLngs[this._snakingRings][this._snakingVertices]]}this._snakingDistance-=i,t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices+1]),i=t.distanceTo(s)}this._snakingDistance+=e;const a=this._snakingDistance/i,n=s.multiplyBy(a).add(t.multiplyBy(1-a)),r=this._map.containerPointToLatLng(n);return this._latlngs[this._snakingRings].push(r),this.options.followHead&&this._map.setView(r),this},_snakeTailForward:function(e){let t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices+1]),i=t.distanceTo(s);while(this._snakingTailDistance+e>i){if(this._snakingTailVertices++,this._latlngs[this._snakingTailRings].shift(),this._snakingTailVertices>=this._snakeLatLngs[this._snakingTailRings].length-1){if(this._snakingTailRings>=this._snakeLatLngs.length-1)return this._snakeOutEnd();this._snakingTailVertices=0,this._latlngs[this._snakingTailRings]=[],this._snakingTailRings++,this._latlngs[this._snakingTailRings].shift()}this._snakingTailDistance-=i,t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices+1]),i=t.distanceTo(s)}this._snakingTailDistance+=e;const a=this._snakingTailDistance/i,n=s.multiplyBy(a).add(t.multiplyBy(1-a)),r=this._map.containerPointToLatLng(n);return this._latlngs[this._snakingTailRings].unshift(r),this},_snakeInEnd:function(){return this._snakingIn=!1,this._snakingOut||this.setLatLngs(this._snakeLatLngs),this.fire("snakeend"),this.fire("snakeInEnd"),this},_snakeOutEnd:function(){return this._snakingOut=!1,this.fire("snakeOutEnd"),this},snakeReset:function(){return this._snakingIn=this._snakingOut=!1,this._snakeLatLngs&&this.setLatLngs(this._snakeLatLngs),this},snakePause:function(){this._snakingPaused=!0,this._snakingPauseTime=performance.now()},snakeUnpause:function(){if(!this._snakingPaused)return;this._snakingPaused=!1;const t=performance.now(),s=t-this._snakingPauseTime;this._snakingPauseTime=0,this._snakingTime+=s,e.Util.requestAnimFrame(this._snake,this)}}),e.Polyline.mergeOptions({snakingSpeed:200,followHead:!1}),e.LayerGroup.include({_snakingLayers:[],_snakingLayersDone:0,_snakingTailLayersDone:0,_snakingIn:!1,_snakingOut:!1,_snakeTimeoutsId:[],snakeIn:function(){if("performance"in window&&"now"in window.performance&&this._map&&!this._snakingIn&&!this._snakingOut){if(this._snakingIn=!0,this._snakingLayersDone=0,0===this._snakingLayers.length&&this._initSnakingLayers(),this.options.snakeRemoveLayers)this.clearLayers();else for(const t in this._snakingLayers)this._snakingLayers[t]instanceof e.Polyline&&this.removeLayer(this._snakingLayers[t]);return this.fire("snakestart"),this.fire("snakeInStart"),this._snakeHeadNext()}},snakeOut:function(){if("performance"in window&&"now"in window.performance&&this._map&&!this._snakingOut)return this._snakingOut=!0,this._snakingTailLayersDone=0,this.fire("snakeOutStart"),this._snakeTailNext()},_initSnakingLayers:function(){const e=Object.keys(this._layers);for(const t in e){const s=e[t];this._snakingLayers.push(this._layers[s])}return this},_snakeHeadNext:function(){if(!this._snakingIn)return this;if(this._snakingLayersDone>=this._snakingLayers.length)return this.fire("snakeend"),this.fire("snakeInEnd"),void(this._snakingIn=!1);const e=this._snakingLayers[this._snakingLayersDone];return this._snakingLayersDone++,this.getLayer(e)||this.addLayer(e),"snakeIn"in e?(e.once("snakeInEnd",(function(){this._snakeTimeoutsId.push(setTimeout(this._snakeHeadNext.bind(this),this.options.snakingPause))}),this),e.snakeIn()):this._snakeTimeoutsId.push(setTimeout(this._snakeHeadNext.bind(this),this.options.snakingPause)),this.fire("snake"),this},_snakeTailNext:function(){if(!this._snakingOut)return this;if(this.options.snakeRemoveLayers&&this.removeLayer(this._snakingLayers[this._snakingTailLayersDone-1]),this._snakingTailLayersDone>=this._snakingLayers.length)return this.fire("snakeOutEnd"),void(this._snakingOut=!1);const e=this._snakingLayers[this._snakingTailLayersDone];return this._snakingTailLayersDone++,"snakeOut"in e?(e.once("snakeOutEnd",(function(){this._snakeTimeoutsId.push(setTimeout(this._snakeTailNext.bind(this),this.options.snakingPause))}),this),e.snakeOut()):this._snakeTimeoutsId.push(setTimeout(this._snakeTailNext.bind(this),this.options.snakingPause)),this.fire("snake"),this},snakeReset:function(){this._snakingIn=!1,this._snakingOut=!1,0===this._snakingLayers.length&&this._initSnakingLayers();for(const e in this._snakeTimeoutsId)clearTimeout(e);this._snakeTimeoutsId=[];for(const t in this._snakingLayers)this._snakingLayers[t]instanceof e.Polyline&&this._snakingLayers[t].snakeReset(),this.getLayer(this._snakingLayers[t])||this.addLayer(this._snakingLayers[t]);return this}}),e.LayerGroup.mergeOptions({snakingPause:200,snakeRemoveLayers:!0})}),T=function(){var e=this,t=e._self._c;return t("div",{staticClass:"absolute-bottom-left absolute-bottom-right",attrs:{id:"queue"}},[t("q-tab-panels",{staticStyle:{background:"rgba(0, 0, 0, .5)"},attrs:{animated:""},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.activeDevicesID,(function(s){return t("q-tab-panel",{key:`tab-panel-${s}`,staticClass:"no-padding",attrs:{name:s.toString()}},[t("queue-item",{key:`tab-pane-${s}`,attrs:{id:s,messages:e.messages[s],date:e.date,device:e.devices[s],needShowMessages:e.needShowMessages,needShowPlayer:e.needShowPlayer,player:e.player},on:{"player-value":e.playHandler,"player-play":t=>e.$emit("player-play",t),"player-pause":t=>e.$emit("player-pause",t),"player-stop":e.stopHandler,"player-speed":t=>e.$emit("player-speed",t),"player-mode":t=>e.$emit("player-mode",t),"change-need-show-messages":t=>{e.$emit("change-need-show-messages",t)},"view-on-map":t=>{e.$emit("view-on-map",t)}}})],1)})),1),e.devices.length>1?t("q-tabs",{staticClass:"bg-grey-9",attrs:{align:"left",dark:"","indicator-color":"white"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.activeDevicesID,(function(s){return t("q-tab",{key:`tab-${s}`,attrs:{name:s.toString()},on:{click:function(t){e.messages[s].length&&e.markers[s]&&e.markers[s]._icon&&e.changeTabColorHandler(s)}}},[t("div",{staticClass:"text-white"},[e.messages[s].length&&e.markers[s]&&e.markers[s]._icon?t("div",{staticClass:"color-view q-mr-xs",style:{backgroundColor:e.markers[s].color},on:{click:function(t){return t.stopPropagation(),e.changeColorHandler(s)}}}):e._e(),e._v("\n "+e._s(e.getNameById(s))+"\n ")])])})),1):e._e(),t("color-modal",{ref:"colorModal",model:{value:e.color,callback:function(t){e.color=t},expression:"color"}})],1)},q=[],L=function(){var e=this,t=e._self._c;return t("div",{style:[{height:e.height,position:"relative"}]},[e.needShowMessages?[t("div",{staticClass:"table__wrapper",style:{height:e.needShowPlayer?"calc(100% - 65px)":"100%"}},[t("messages",{staticStyle:{height:"100%"},attrs:{messages:e.messages,item:e.device,activeDeviceId:e.id,limit:0,date:e.date,activeMessagesIds:e.activeMessagesIndexes},on:{view:e.viewMessageHandler,"view-on-map":e.viewOnMapHandler}})],1)]:e._e(),e.needShowPlayer?t("div",{staticStyle:{display:"flex","background-color":"#424242"},style:{height:e.needShowMessages?"65px":"100%"}},[t("q-btn",{attrs:{icon:"dvr",color:e.needShowMessages?"blue":"white",dense:e.$q.platform.is.mobile,size:e.$q.platform.is.desktop?"1.4rem":"md",flat:""},on:{click:function(t){e.messagesFlag=!e.messagesFlag,e.$emit("change-need-show-messages",e.messagesFlag)}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Messages")]):e._e()],1),t("q-btn",{attrs:{icon:"time"===e.player.mode?"mdi-map-clock-outline":"mdi-map-marker-distance",disable:"play"===e.player.status,color:"white",dense:e.$q.platform.is.mobile,size:e.$q.platform.is.desktop?"1.4rem":"md",flat:""},on:{click:function(t){e.playerMode="data"===e.playerMode?"time":"data",e.$emit("player-mode",{mode:e.playerMode,id:e.id})}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Change mode (Time/Data)")]):e._e()],1),t("player",{ref:"player",attrs:{min:e.timeRange.min,max:e.timeRange.max,status:e.player.status,speed:e.player.speed,mode:e.player.mode},on:{"player-next":e.playerNextHandler,"player-prev":e.playerPrevHandler,"player-play":e.playerPlayHandler,"player-pause":e.playerPauseHandler,"player-stop":e.playerStopHandler,"player-speed":e.playerSpeedHandler},model:{value:e.playerValue,callback:function(t){e.playerValue=t},expression:"playerValue"}})],1):e._e()],2)},j=[],P=function(){var e=this,t=e._self._c;return t("div",[t("virtual-scroll-list",{ref:"scrollList",attrs:{cols:e.cols,actions:e.actions,items:e.messages,dateRange:e.dateRange,viewConfig:e.viewConfig,theme:e.theme,title:"Messages",loading:e.isLoading,autoscroll:e.needAutoscroll,scrollOffset:"10%",item:e.listItem,itemprops:e.getItemsProps},on:{"action-to-bottom":e.actionToBottomHandler,"update-cols":e.updateColsHandler,"scroll-bottom":e.scrollBottomHandler,action:e.actionHandler}},[t("div",{staticClass:"no-messages text-center",attrs:{slot:"empty"},slot:"empty"},[t("div",{staticClass:"text-white",staticStyle:{"font-size":"3rem"}},[t("div",[e._v("No messages")]),t("div",{staticStyle:{"font-size":"1.5rem"}},[e._v("or position is empty")])])])]),t("message-viewer",{ref:"messageViewer",attrs:{message:"undefined"!==typeof e.selectedMessage?e.selectedMessage:{},inverted:""},on:{close:e.closeHandler}})],1)},O=[],H=s("de45"),N=function(){var e=this,t=e._self._c;return t("q-dialog",{ref:"modal",on:{hide:function(t){return e.$emit("close")}}},[t("q-card",{class:{"bg-grey-9":void 0!==e.inverted},style:{minWidth:e.$q.platform.is.mobile?"100%":"30vw"}},[t("q-card-section",{staticClass:"scroll q-pa-none",style:{height:e.$q.platform.is.mobile?"calc(100% - 52px)":""}},[t("div",{staticClass:"layout-padding q-pa-md"},e._l(e.message,(function(s,i,a){return t("div",{key:a,staticClass:"row items-center"},[t("div",{staticClass:"text-weight-bold"},[t("span",{staticClass:"message-viewer__copy text-green cursor-pointer"},[t("q-icon",{attrs:{name:"mdi-content-copy"},nativeOn:{click:function(t){return e.copy(`${i}: ${s}`)}}})],1),t("span",{staticClass:"message-viewer__name text-white"},[e._v(e._s(i)+": ")]),t("span",{staticClass:"message-viewer__value text-green"},[e._v(e._s(e.getValue(i,s)))])])])})),0)]),t("q-separator",{attrs:{color:"white"}}),t("q-card-actions",{staticClass:"bg-grey-9 text-white",attrs:{align:"right"}},[t("q-btn",{attrs:{flat:""},on:{click:function(t){return e.copy(e.message)}}},[e._v("Copy full message")]),t("q-btn",{attrs:{flat:""},on:{click:function(t){return e.$refs.modal.hide()}}},[e._v("Close")])],1)],1)],1)},R=[],z=s("cdde"),F={name:"MessageViewer",data(){return{date:c["a"]}},props:{message:{type:Object,required:!0},inverted:{type:Boolean}},methods:{show(){this.$refs.modal.show()},getValue(e,t){return"timestamp"===e?c["a"].formatDate(1e3*t,"DD/MM/YYYY HH:mm:ss"):t},copy(e){Object(z["a"])(JSON.stringify(e)).then((e=>{this.$q.notify({color:"positive",icon:"content_copy",message:"Successfully copied",timeout:1e3})}),(e=>{this.$q.notify({color:"negative",icon:"content_copy",message:"Error coping",timeout:1e3})}))}}},V=F,B=s("0016"),Q=s("eb85"),E=Object(p["a"])(V,N,R,!1,null,null,null),W=E.exports;w()(E,"components",{QDialog:v["a"],QCard:f["a"],QCardSection:y["a"],QIcon:B["a"],QSeparator:Q["a"],QCardActions:b["a"],QBtn:g["a"]});var A=function(){var e=this,t=e._self._c;return t("div",{staticClass:"cursor-pointer",class:{"missed-items":e.item["x-flespi-status"],"bg-white-opasity":e.selected,"item--telemetry-inited":e.item["x-flespi-inited-by-telemetry"]},style:{height:`${e.itemHeight}px`,width:`${e.rowWidth}px`,borderBottom:e.item.delimiter?"solid 1px #f40":"",color:e.selected?"#333":""},on:{click:function(t){return e.itemClickHandler(e.index,e.item)}}},[e._l(e.cols,(function(s,i){return["etc"===s.__dest?t("span",{key:s.name+i,staticClass:"list__item item_etc",class:{[`item_${i}`]:!0,"item--active":e.menuCellActive&&e.menuCellActive.row===e.index&&e.menuCellActive.col===i}},[e._v(e._s(e.values.etc.value||"*Empty*"))]):t("span",{key:s.name+i,staticClass:"list__item",class:{[`item_${i}`]:!0,"item--active":e.menuCellActive&&e.menuCellActive.row===e.index&&e.menuCellActive.col===i},attrs:{title:e.values[s.name].value}},[e._v("\n "+e._s(e.values[s.name].value)+"\n ")])]}))],2)},U=[],Y={props:["item","index","actions","cols","itemHeight","etcVisible","rowWidth","actionsVisible","selected","menuCellActive"],data(){return{date:c["a"]}},computed:{values(){let e={};return e=this.cols.length?this.cols.reduce(((e,t,s,i)=>(e[t.name]={value:this.getValueOfProp(t,this.item)},s===i.length-1&&(e.etc={value:""}),e)),{}):{etc:{value:""}},Object.keys(this.item).forEach((t=>{e[t]||(-1!==t.indexOf("image.bin.")?e.etc.value+=`${t}: `:e.etc.value+=`${t}: ${JSON.stringify(this.item[t])}; `)})),e}},methods:{clickHandler(e,t,s){this.$emit("action",{index:e,type:t,content:s})},itemClickHandler(e,t){this.$emit("item-click",{index:e,content:t})},getValue(e){return"string"===typeof e?e:JSON.stringify(e)},getValueOfProp(e,t){const s=e.name;let i=t[s];return s.match(/timestamp$/)?i=c["a"].formatDate(1e3*i,"DD/MM/YYYY HH:mm:ss"):-1!==s.indexOf("image.bin.")?i="":"string"!==typeof i&&(i=JSON.stringify(i)),i}}},G=Y,Z=(s("b877"),Object(p["a"])(G,A,U,!1,null,null,null)),J=Z.exports;const K={actions:[{icon:"mdi-eye",label:"Show message",classes:"",type:"view"}],viewConfig:{needShowFilter:!1,needShowDate:!1,needShowEtc:!0},theme:{color:"white",bgColor:"grey-9",contentInverted:!0,controlsInverted:!0}};var X={props:["mode","item","activeDeviceId","limit","messages","date","activeMessagesIds"],data(){const e=document.createElement("style");e.type="text/css";const t=document.head||document.getElementsByTagName("head")[0],s=t.appendChild(e);return{listItem:J,selectedMessage:void 0,dynamicCSS:s,theme:K.theme,viewConfig:K.viewConfig,actions:K.actions,moduleName:this.activeDeviceId,autoscroll:!0}},computed:{storedMessages(){const e=this.$store.state.messages[this.moduleName].messages;return this.scrollControlling(e.length),e},cols:{get(){return this.$store.state.messages[this.moduleName].cols},set(e){this.$store.commit(`messages/${this.moduleName}/updateCols`,e)}},from:{get(){return this.$store.state.messages[this.moduleName].from},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setFrom`,e)}},to:{get(){return this.$store.state.messages[this.moduleName].to},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setTo`,e)}},dateRange(){return[this.$store.state.messages[this.moduleName].from,this.$store.state.messages[this.moduleName].to]},reverse:{get(){return this.$store.state.messages[this.moduleName].reverse||!1},set(e){this.$store.commit(`messages/${this.moduleName}/setReverse`,e)}},currentLimit:{get(){return this.$store.state.messages[this.moduleName].limit},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setLimit`,e)}},selected:{get(){const e=this.$store.state.messages[this.moduleName].selected,t=e.slice(-1)[0];return void 0!==t&&this.scrollToSelected(t),e},set(e){e&&e.length&&(this.autoscroll=!1),this.$store.commit(`messages/${this.moduleName}/setSelected`,e)}},realtimeEnabled(){return this.$store.state.messages[this.moduleName].realtimeEnabled},isLoading(){return this.$store.state.messages[this.moduleName].isLoading},needAutoscroll(){return this.realtimeEnabled&&!this.selected.length&&this.autoscroll}},methods:{getItemsProps(e,t){const s=this.messages[e];t.key=s["x-flespi-message-key"],t.class=[`scroll-list-item--${e}`],t.props.selected=this.selected.includes(e),t.on||(t.on={}),t.on.action=this.actionHandler,t.on["item-click"]=this.viewMessageOnMap,t.dataHandler=(e,t,s)=>(this.autoscroll=!1,this.listItem.methods.getValueOfProp(e.data,t.data))},resetParams(){this.$refs.scrollList.resetParams()},updateColsHandler(e){this.cols=e},viewMessagesHandler({index:e,content:t}){this.selectedMessage=t,this.highlightSelected([e]),this.$refs.messageViewer.show(),this.$emit("view")},viewMessageOnMap({index:e,content:t}){this.selected=[e],this.$emit("view-on-map",t)},closeHandler(){let e=[];this.selectedMessage=void 0,this.activeMessagesIds.length&&(e=[this.activeMessagesIds[this.activeMessagesIds.length-1]]),this.highlightSelected(e)},actionToBottomHandler(){this.autoscroll=!0,this.$refs.scrollList.scrollTo(this.messages.length-1)},scrollBottomHandler(){this.autoscroll=!0},copyMessageHandler({index:e,content:t}){Object(z["a"])(JSON.stringify(t)).then((e=>{this.$q.notify({color:"positive",icon:"content_copy",message:"Message copied",timeout:1e3})}),(e=>{this.$q.notify({color:"negative",icon:"content_copy",message:"Error coping messages",timeout:1e3})}))},actionHandler({index:e,type:t,content:s}){switch(t){case"view":this.viewMessagesHandler({index:e,content:s});break}},unselect(){this.selected.length&&(this.selected=[])},updateDynamicCSS(e){this.dynamicCSS.styleSheet?this.dynamicCSS.styleSheet.cssText=e:this.dynamicCSS.innerText=e},highlightSelected(e){let t,s;if(e.length){const i=e[e.length-1];s=[i],t=`.scroll-list-item--${i} {background-color: rgba(255,255,255,0.7)!important; color: #333;}`}else s=[],t="";this.selected=s,this.updateDynamicCSS(t)},scrollToSelected(e){if("number"===typeof e&&e>=0&&this.$refs.scrollList){const t=this.$refs.scrollList.itemsCount;let s=e-Math.floor(t/2);s<0&&(s=0),this.$refs.scrollList.scrollTo(s)}},messageShow(e){this.selected[0]!==e[e.length-1]&&(this.highlightSelected(e),this.scrollToSelected(e[e.length-1]))},scrollControlling(e){this.selected.length&&this.selected[0]+1e3<=e&&this.$store.dispatch(`messages/${this.moduleName}/unsubscribePooling`)}},watch:{limit(e){this.currentLimit=e},activeMessagesIds(e){this.messageShow(e)}},created(){this.currentLimit=this.limit,this.highlightSelected(this.activeMessagesIds)},destroyed(){this.$store.commit(`messages/${this.moduleName}/clearSelected`),this.dynamicCSS.parentNode.removeChild(this.dynamicCSS)},components:{VirtualScrollList:H["a"],MessageViewer:W}},ee=X,te=(s("db15"),Object(p["a"])(ee,P,O,!1,null,null,null)),se=te.exports,ie=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex","background-color":"#424242",width:"100%"}},[t("q-btn",{staticClass:"text-white",attrs:{disable:e.max<=e.min,size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""}},[e._v("\n x"+e._s(e.currentSpeed)+"\n "),t("q-menu",{ref:"currentSpeedPopover",staticStyle:{"background-color":"#424242"},attrs:{anchor:"top left"}},[t("div",{staticClass:"column"},[t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(100)}}},[e._v("x100")]),t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(70)}}},[e._v("x70")]),t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(50)}}},[e._v("x50")]),t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(30)}}},[e._v("x30")]),t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(10)}}},[e._v("x10")]),t("q-btn",{staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.changeSpeed(1)}}},[e._v("x1")])],1)]),e.$q.platform.is.desktop?t("q-tooltip",[e._v("currentSpeed")]):e._e()],1),t("q-btn",{directives:[{name:"touch-hold",rawName:"v-touch-hold.noMouse",value:e.playRepeatClickHandler,expression:"playRepeatClickHandler",modifiers:{noMouse:!0}}],staticClass:"text-white",attrs:{color:"play"===e.currentStatus?"blue":"white",disable:e.max<=e.min,dense:e.$q.platform.is.mobile,size:e.$q.platform.is.desktop?"1.4rem":"md",icon:"play"===e.currentStatus?e.repeatFlag?"mdi-repeat":"mdi-pause":"mdi-play",flat:""},on:{click:[e.playClickHandler,function(t){return t.ctrlKey?e.playRepeatClickHandler.apply(null,arguments):null}]}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Play/Pause (Ctrl+Click to repeat)")]):e._e(),e.$q.platform.is.mobile?t("q-tooltip",[e._v("Play/Pause (Touch hold to repeat)")]):e._e()],1),t("q-btn",{staticClass:"text-white",attrs:{color:"white",disable:e.max<=e.min,dense:e.$q.platform.is.mobile,size:e.$q.platform.is.desktop?"1.4rem":"md",icon:"mdi-stop",flat:""},on:{click:e.stop}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Stop")]):e._e()],1),t("q-btn",{staticClass:"text-white",attrs:{disable:e.max<=e.min||"data"===e.mode,icon:"mdi-skip-previous",size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.$emit("player-prev")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Prev message")]):e._e()],1),t("div",{staticClass:"player"},[t("div",{staticClass:"player__main"},[t("div",{ref:"playerContainer",staticClass:"player__container",staticStyle:{transform:"translate3d(0,0,0)"}},[e.max>e.min&&"time"===e.mode?t("q-range",{attrs:{color:"white",min:e.min,max:e.max,step:1},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}}):e._e(),t("div",{staticClass:"player__line cursor-pointer",class:{disabled:e.max<=e.min||"data"===e.mode},on:{click:e.clickLineHandler}},[t("div",{staticClass:"line line__disabled line__disabled--left",style:{width:100*(e.rangeMin-e.min)/(e.max-e.min)+"%"}}),t("div",{staticClass:"line line__active",style:{left:`${"time"===e.mode?e.current:0}%`,width:100-("time"===e.mode?e.current:0)-100/e.max*(e.max-e.rangeMax)+"%"}}),t("div",{staticClass:"line line__disabled line__disabled--right",style:{width:100/(e.max-e.min)*(e.max-e.rangeMax)+"%"}})]),t("div",{directives:[{name:"touch-pan",rawName:"v-touch-pan.horizontal.mouse",value:e.dragPlayerControl,expression:"dragPlayerControl",modifiers:{horizontal:!0,mouse:!0}}],staticClass:"player__control cursor-pointer",class:{"player__control--mobile":e.$q.platform.is.mobile,disabled:e.max<=e.min||"data"===e.mode},style:{left:`${"time"===e.mode?e.current:0}%`}})],1)])]),t("q-btn",{staticClass:"text-white",attrs:{disable:e.max<=e.min||"data"===e.mode,icon:"mdi-skip-next",size:e.$q.platform.is.desktop?"1.4rem":"md",dense:e.$q.platform.is.mobile,flat:""},on:{click:function(t){return e.$emit("player-next")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Next message")]):e._e()],1)],1)},ae=[],ne=s("b047c"),re=s.n(ne),oe=s("0f32"),le=s.n(oe),ce={name:"Player",props:["min","max","value","status","speed","mode"],data(){return{currentStatus:this.status,currentValue:this.value,rangeMin:this.min,rangeMax:this.max,timer:0,currentMode:this.mode,currentSpeed:this.speed,percentsByPixel:0,current:0,repeatFlag:!1}},computed:{range:{get(){return{min:this.rangeMin,max:this.rangeMax}},set(e){this.pause(),this.currentValue<=e.min&&(this.currentValue=e.min),this.currentValue>e.max&&(this.currentValue=e.max,this.end()),this.rangeMin=e.min,this.rangeMax=e.max}}},mounted(){this.$refs.playerContainer&&(this.percentsByPixel=100/this.$refs.playerContainer.offsetWidth)},watch:{currentValue:le()((function(e){this.$emit("input",Math.round(e))}),100,{trailing:!0}),currentSpeed:re()((function(e){this.$refs.currentSpeedPopover.hide(),"play"===this.currentStatus&&(this.pause(),this.$nextTick(this.play))}),100),value(e){const t=(e-this.min)/(this.max-this.min)*100;if(this.checkNeedRedraw(t),e===this.currentValue)return!1;this.currentValue=e},min(e,t){this.rangeMin===t&&(this.rangeMin=e)},max(e,t){this.rangeMax===t&&(this.rangeMax=e)},status(e,t){e!==this.currentStatus&&(this.currentStatus=e,"play"!==e&&"pause"!==e||this.playClickHandler(),"stop"===e&&this.stop())},mode(e){this.currentMode=e,this.current=0,this.currentValue=this.min,this.timer&&clearInterval(this.timer)}},methods:{checkNeedRedraw(e){Math.abs(e-this.current)>=this.percentsByPixel&&(this.current=e)},playRepeatClickHandler(){this.repeatFlag=!this.repeatFlag,"pause"===this.currentStatus&&this.playClickHandler()},playClickHandler(){switch(this.currentStatus){case"stop":case"pause":this.play();break;case"play":this.pause();break}},emit(e){status!==this.currentStatus&&this.$emit(`player-${e}`)},stop(){this.timer&&(clearInterval(this.timer),this.timer=0,"play"===this.currentStatus&&(this.currentStatus="stop",this.currentValue=this.min)),this.emit("stop")},changeCurrent(){const e=this.currentValue+1;if(e>this.rangeMax)return this.pause(),!1;this.currentValue=e},changeSpeed(e){this.currentSpeed=e,this.$emit("player-speed",e)},play(){"pause"!==this.currentStatus&&"stop"!==this.currentStatus||(this.currentStatus="play",this.emit("play")),this.currentValue===this.max&&(this.currentValue=this.min),this.timer=setInterval(this.changeCurrent,1e3/this.currentSpeed)},pause(){if(this.repeatFlag&&this.currentValue===this.max)return setTimeout((()=>{this.currentValue=this.min}),600),!1;this.timer&&(clearInterval(this.timer),this.timer=0,"play"===this.currentStatus&&(this.end(),this.currentStatus="pause",this.emit("pause")))},end(){this.value!==this.currentValue&&setTimeout((()=>{this.$emit("input",this.currentValue)}),100)},getPlayerParams(){const e=this.$refs.playerContainer,t=e.getBoundingClientRect().left,s=e.offsetWidth,i=s/(this.max-this.min);return{left:t,width:s,step:i}},dragPlayerControl(e){if(this.max<=this.min||"data"===this.mode)return!1;const{left:t,step:s}=this.getPlayerParams();let i=this.min+(e.position.left-t)/s;ithis.rangeMax&&(i=this.rangeMax),this.currentValue=e.isFinal?Math.round(i):i},clickLineHandler(e){if(this.max<=this.min||"data"===this.mode)return!1;const t=e.clientX,{left:s,step:i}=this.getPlayerParams(),a=this.min+(t-s)/i;if(this.currentValue!==a){if(athis.rangeMax)return!1;this.currentValue=Math.round(a)}}},beforeDestroy(){this.stop()}},he=ce,de=(s("dfe6"),s("4e73")),me=s("7bbf"),pe=s("c1d0"),ge=s("f449"),ue=s("75c3"),ve=Object(p["a"])(he,ie,ae,!1,null,null,null),fe=ve.exports;w()(ve,"components",{QBtn:g["a"],QMenu:de["a"],QTooltip:u["a"],QRange:me["a"],QSlider:pe["a"]}),w()(ve,"directives",{TouchHold:ge["a"],TouchPan:ue["a"]});var ye={name:"QueueItem",props:["id","messages","date","device","needShowMessages","needShowPlayer","player"],data(){return{playerMode:this.player.mode||"time",playerValue:0,playerStatus:"stop",activeMessagesIndexes:[],messagesFlag:this.needShowMessages}},computed:{timeRange(){return this.messages.length?{min:Math.floor(this.messages[0].timestamp),max:Math.floor(this.messages[this.messages.length-1].timestamp)}:{min:0,max:0}},indexesByTimestamp(){return this.messages.reduce(((e,t,s)=>{const i=Math.floor(t.timestamp);return e[i]||(e[i]=[]),e[i].push(s),e}),{})},height(){return this.messages.length?this.needShowMessages&&!this.needShowPlayer?"20vh":!this.needShowMessages&&this.needShowPlayer?"65px":"30vh":this.needShowMessages&&this.needShowPlayer?"30vh":this.needShowMessages&&!this.needShowPlayer?"20vh":!this.needShowMessages&&this.needShowPlayer?"65px":"0vh"}},methods:{getCurrentActiveTimestamp(){let e=0;const t=Object.keys(this.indexesByTimestamp);return t.every(((t,s)=>this.playerValue>=t&&(e=t,!0))),e},update(e){"time"===this.playerMode&&(this.$emit("player-value",{id:this.id,messagesIndexes:this.indexesByTimestamp[e]}),this.activeMessagesIndexes=this.indexesByTimestamp[e]||[])},playerNextHandler(){const e=Object.keys(this.indexesByTimestamp),t=e.indexOf(this.getCurrentActiveTimestamp());if(t===e.length-1)return this.$q.notify({message:"That`s last message",color:"info",position:"bottom-left"}),!1;this.playerValue=e[t+1]},playerPrevHandler(){const e=Object.keys(this.indexesByTimestamp),t=e.indexOf(this.getCurrentActiveTimestamp());if(0===t)return this.$q.notify({message:"That`s first message",color:"info",position:"bottom-left"}),!1;this.playerValue=e[t-1]},playerPlayHandler(){this.playerStatus="play",this.playerValue||(this.playerValue=Math.floor(this.messages[0].timestamp)),this.$emit("player-play",{id:this.id})},playerPauseHandler(){this.playerStatus="pause",this.$emit("player-pause",{id:this.id})},playerStopHandler(){this.playerStatus="stop",this.messages.length?this.playerValue=Math.floor(this.messages[0].timestamp):this.playerValue=0,this.$emit("player-stop",{id:this.id})},playerSpeedHandler(e){this.$emit("player-speed",{id:this.id,speed:e})},viewMessageHandler(){this.$refs.player&&"stop"!==this.playerStatus&&this.$refs.player.stop()},viewOnMapHandler(e){this.$emit("view-on-map",e)}},watch:{playerValue(e,t){let s=0,i=!0;const a=Object.keys(this.indexesByTimestamp);a.every(((n,r)=>e>=n?(s=n,r===a.length-1&&(i=!1),!0):((t>=n||tthis.activeDevicesID.includes(e.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{}),playerValue:0,currentColorModel:"#fff",currentColorId:0}},computed:{color:{get(){return this.currentColorModel},set(e){this.$emit("update-color",{id:this.currentColorId,color:e}),this.currentColorModel=e}}},methods:{getNameById(e){return this.devices.filter((t=>t.id===e))[0].name||`<#${e}>`},playHandler(e){this.$emit("player-value",e)},stopHandler(e){this.$emit("player-stop",e)},changeColorHandler(e){this.currentColorId=e,this.currentColorModel=this.markers[e].color,this.$refs.colorModal.show()},changeTabColorHandler(e){e.toString()===this.selected&&this.changeColorHandler(e)}},created(){this.activeDevicesID.length&&this.$emit("change-selected",parseInt(this.activeDevicesID[0]))},watch:{devices:{deep:!0,handler(e){this.telemetryOfActiveDevices=e.filter((e=>this.activeDevicesID.includes(e.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{})}},activeDevicesID(e){this.telemetryOfActiveDevices=this.devices.filter((t=>e.includes(t.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{}),e.length||(this.selected=""),this.selected&&e.includes(parseInt(this.selected))||!e.length||(this.selected=e[0].toString())},telemetryDeviceId(e){e&&(this.selected=e.toString())},selected(e){this.$emit("change-selected",parseInt(e))}},components:{QueueItem:_e,ColorModal:Ce}},Te=Ie,qe=(s("472c"),s("adad")),Le=s("823b"),je=s("429b"),Pe=s("7460"),Oe=Object(p["a"])(Te,T,q,!1,null,null,null),He=Oe.exports;w()(Oe,"components",{QTabPanels:qe["a"],QTabPanel:Le["a"],QTabs:je["a"],QTab:Pe["a"],QColor:Me["a"]});var Ne=s("e24f"),Re=s("bc78"),ze=s("1c16");s("1732");function Fe(e,t,s){const i=`\n \n \n \n \n `,a=`\n
${i}
\n ${s?`
${e}
`:""}\n `;return a}var Ve=s("ef44");I(C);var Be={name:"Map",props:["params","deviceIdForWatch","activeDevices","delay","date"],data(){return{map:null,flyToZoom:15,markers:{},tracks:{},telemetryDeviceId:-1,activeDeviceID:0,activeDevicesID:[],selected:null,currentColorModel:"#fff",currentColorId:0,player:{currentMsgIndex:null,speed:10,status:"stop",mode:"time",tailInterval:0}}},computed:{...Object(r["d"])({messages(e){return this.activeDevicesID.reduce(((t,s)=>(t[s]=e.messages[s].messages.reduce(((e,t,s)=>(t["position.latitude"]&&t["position.longitude"]&&(!t.hasOwnProperty("position.valid")||t.hasOwnProperty("position.valid")&&!0===t["position.valid"])&&(Object.defineProperty(t,"x-flespi-message-index",{value:s,enumerable:!1}),e.push(t)),e)),[]),t)),{})},allMessages(e){return this.activeDevicesID.reduce(((t,s)=>(t[s]=e.messages[s].messages,t)),{})}}),color:{get(){return this.currentColorModel},set(e){this.updateColorHandler({id:this.currentColorId,color:e}),this.currentColorModel=e}},mapHeight(){let e="100%";return this.activeDevices.length?(this.params.needShowMessages&&this.params.needShowPlayer?e="calc(100% - 113px)":this.params.needShowMessages&&!this.params.needShowPlayer?e="calc(100% - 48px)":!this.params.needShowMessages&&this.params.needShowPlayer&&(e="calc(100% - 65px)"),e):e}},methods:{initMap(){if(!this.map){let t=C["tileLayer"]("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{minZoom:3,noWrap:!0});this.map=C["map"]("map",{center:[51.50853,-.12574],zoom:3,maxBounds:[[90,-180],[-90,180]],layers:[t]}),this.map.addEventListener("zoom",(e=>{e.flyTo||(this.flyToZoom=e.target.getZoom())})),this.map.addEventListener("click",this.mapClickHandler);let s=C["tileLayer"]("//server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",{minZoom:3,noWrap:!0,attribution:"© ArcGIS"}),i=C["tileLayer"]("//{s}.tile.opentopomap.org/{z}/{x}/{y}.png",{minZoom:3,maxZoom:19,attribution:"Map data: © OpenStreetMap contributors, SRTM | Map style: © OpenTopoMap (CC-BY-SA)",noWrap:!0}),a=C["tileLayer"].wms("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{layers:"semitransparent",transparent:"true",format:"image/png",maxZoom:21,opacity:.5});var e={OpenStreetMap:t,Satellite:s,OpenTopoMap:i};C["control"].layers(e,{"OpenStreetMaps (0.5)":a}).addTo(this.map),C["control"].polylineMeasure({position:"topleft",showBearings:!1,clearMeasurementsOnStop:!1,showUnitControl:!1,showClearControl:!0,measureControlTitleOn:"Turn on ruler",measureControlTitleOff:"Turn off ruler",tooltipTextFinish:"Click to finish line
",tooltipTextDelete:"Press SHIFT-key and click to delete point",tooltipTextMove:"Click and drag to move point
",tooltipTextResume:"
Press CTRL-key and click to resume line",tooltipTextAdd:"Press CTRL-key and click to add point"}).addTo(this.map)}},flyToWithHideTracks(e,t){const s=[];let i=!1;console.log(e),console.trace(),this.map.once("zoomstart",(e=>{console.log(2);const a=e.target._zoom;a!==t&&(i=!0,Object.keys(this.tracks).forEach((e=>{const t=this.tracks[e];t instanceof C["Polyline"]&&(t.tail&&t.tail instanceof C["Polyline"]&&this.map.hasLayer(t.tail)&&(this.map.removeLayer(t.tail),s.push(t.tail)),t.overview&&t.overview instanceof C["Polyline"]&&this.map.hasLayer(t.overview)&&(this.map.removeLayer(t.overview),s.push(t.overview)),t.overview&&this.map.hasLayer(t.overview)&&(this.map.removeLayer(t),s.push(t)))})))})),this.map.once("zoomend",(e=>{console.log(3),i&&s.forEach((e=>{this.map.addLayer(e)}))})),this.map.flyTo(e,t)},generateIcon(e,t,s){return C["divIcon"]({className:`my-div-icon icon-${e}`,iconSize:new C["Point"](20,35),html:Fe(t,s,this.params.needShowNamesOnMap)})},getColor(){const e="0123456789ABCDEF";let t=`#${e[Math.floor(5*Math.random())]}`;for(let s=0;s<5;s++)t+=e[Math.floor(15*Math.random())];return t},getColorById(e){let t=Object(Ve["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors"});return t||(t={}),t[e]||(t[e]=this.getColor()),Object(Ve["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors",value:t}),t[e]},setColorById(e,t){let s=Object(Ve["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors"});return s||(s={}),s[e]=t,Object(Ve["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors",value:s}),s[e]},getAccuracyParams(e){const t=[e["position.latitude"],e["position.longitude"]],s=e["position.hdop"]||e["position.pdop"]||0,i={stroke:!0,color:"#444",weight:3,opacity:.5,fillOpacity:.15,fillColor:"#444",clickable:!1};return{position:t,accuracy:s,circleStyle:i}},updateMarkerDirection(e,t){if(t){const s=document.querySelector(`.icon-${e} .my-div-icon__inner`);s&&(s.style.transform=`rotate(${t||0}deg)`)}},updateMarker(e,t,s){this.updateMarkerDirection(e,s),this.markers[e].setLatLng(t).update()},initMarker(e,t,s){const i=this.messages[e][this.messages[e].length-1]["position.direction"]?this.messages[e][this.messages[e].length-1]["position.direction"]:0,a=this.tracks[e]&&this.tracks[e].options?this.tracks[e].options.color:this.markers[e]?this.markers[e].color:this.getColorById(e);this.markers[e]=C["marker"](s,{icon:this.generateIcon(e,t,a),draggable:!1,title:t}),this.markers[e].id=e,this.markers[e].color=a;const{position:n,accuracy:r,circleStyle:o}=this.getAccuracyParams(this.messages[e][this.messages[e].length-1]);this.markers[e].accuracy=C["circle"](n,r,o),this.markers[e].accuracy.addTo(this.map),this.markers[e].addEventListener("add",(t=>{this.updateMarkerDirection(e,i),this.messages[e]&&this.messages[e].length&&(this.deviceIdForWatch,parseInt(e))})),this.markers[e].addEventListener("click",(t=>{this.telemetryDeviceId=parseInt(e),this.$emit("update-telemetry-device-id",this.telemetryDeviceId)})),this.markers[e].addEventListener("move",(t=>{"stop"===this.player.status&&this.updateMarkerDirection(e,this.messages[e][this.messages[e].length-1]["position.direction"])})),this.markers[e].addEventListener("contextmenu",(t=>{this.currentColorId=e,this.currentColorModel=this.markers[e].color,this.$refs.colorModal.show()})),this.markers[e].addTo(this.map)},initDeviceOnMap(e){const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0];this.markers[e]||(this.markers[e]={},this.markers[e].id=e,this.markers[e].color=this.getColorById(e),this.tracks[e]={});const s=this.messages[e]&&this.messages[e].length;if(!s)return!1;const i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]],a=t.name||`#${e}`;if(this.initMarker(e,a,i),this.tracks[e]=C["polyline"](this.getLatLngArrByDevice(e),{weight:5,color:this.markers[e].color}).addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e]))),parseInt(e)===this.selected){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}},updateDeviceOnMap(e){const t=this.getLatLngArrByDevice(e),s=this.deviceIdForWatch&&this.deviceIdForWatch===e&&this.markers[this.deviceIdForWatch]&&this.markers[this.deviceIdForWatch]instanceof C["Marker"]?this.markers[this.deviceIdForWatch].getLatLng():{},i=this.deviceIdForWatch&&this.messages[this.deviceIdForWatch]&&this.messages[this.deviceIdForWatch].length&&s.lat&&s.lat!==this.messages[this.deviceIdForWatch][this.messages[this.deviceIdForWatch].length-1]["position.latitude"]&&s.lng&&s.lng!==this.messages[this.deviceIdForWatch][this.messages[this.deviceIdForWatch].length-1]["position.longitude"];if(i){console.log(e);const s=t[t.length-1];s&&this.flyToWithHideTracks(s,this.flyToZoom)}if(t.length){if(!(this.markers[e]instanceof C["Marker"])){const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0].name||`#${e}`,s=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]];this.initMarker(e,t,s)}if(this.tracks[e]instanceof C["Polyline"]||(this.tracks[e]=C["polyline"](this.getLatLngArrByDevice(e),{weight:4,color:this.markers[e]?this.markers[e].color:this.getColorById(e)}).addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e])))),this.markers[e].setLatLng(t[t.length-1]).update(),this.markers[e].accuracy.setRadius(this.getAccuracyParams(this.messages[e][this.messages[e].length-1]).accuracy),this.markers[e].accuracy.setLatLng(t[t.length-1]),this.markers[e].setOpacity(1),this.tracks[e].setLatLngs(t),parseInt(e)===this.selected&&!this.$store.state.messages[e].realtimeEnabled){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}}else this.removeFlags(e),this.tracks[e].tail&&this.tracks[e].tail instanceof C["Polyline"]&&this.tracks[e].tail.remove(),this.tracks[e].overview&&this.tracks[e].overview instanceof C["Polyline"]&&this.tracks[e].overview.remove(),this.markers[e].accuracy&&this.map.removeLayer(this.markers[e].accuracy),this.map.removeLayer(this.tracks[e]),this.map.removeLayer(this.markers[e]),this.tracks[e]={},this.markers[e]={color:this.markers[e].color||void 0,id:e}},getLatLngArrByDevice(e){return this.messages[e]?this.messages[e].reduce(((e,t)=>(e.push([t["position.latitude"],t["position.longitude"]]),e)),[]):[]},onResize(){this.map&&this.map.invalidateSize()},removeMarker(e){this.markers[e]&&this.markers[e]instanceof C["Marker"]&&(this.removeFlags(e),this.map.removeLayer(this.markers[e].accuracy),this.markers[e].remove(),this.tracks[e].tail&&this.tracks[e].tail instanceof C["Polyline"]&&this.tracks[e].tail.remove(),this.tracks[e].overview&&this.tracks[e].overview instanceof C["Polyline"]&&this.tracks[e].overview.remove(),this.tracks[e].remove()),n["default"].delete(this.markers,e),n["default"].delete(this.tracks,e)},flyToDevice(e){const t=this.activeDevices.filter((t=>t.id===e)),s=t.length?t[0]:null;let i=s&&[];this.messages[e]&&this.messages[e].length&&(i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]),i.length?this.flyToWithHideTracks(i,this.flyToZoom):this.$q.notify({message:"No Position!",color:"warning"})},centerOnDevice(e){const t=this.activeDevices.filter((t=>t.id===e)),s=t.length?t[0]:null;let i=s&&[];this.messages[e]&&this.messages[e].length&&(i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]),i.length?this.map.setView(i,14,{animation:!1}):this.$q.notify({message:"No Position!",color:"warning"})},generateFlag(e){let{id:t,status:s}=e||{},i=t?this.getColorById(t):"#e53935",a="map-marker-star-outline";return"start"===s?(i=Re["a"].getBrand("primary"),a="map-marker-outline"):"stop"===s&&(i=Re["a"].getBrand("positive"),a="map-marker-check"),C["divIcon"]({className:`my-flag-icon flag-${s}-${t}`,iconSize:new C["Point"](35,35),html:``})},addFlags(e){if(!this.markers[e])return!1;if(this.markers[e].flags||(this.markers[e].flags={start:{},stop:{}}),this.messages[e].length){const t=[this.messages[e][0]["position.latitude"],this.messages[e][0]["position.longitude"]],s=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]];this.markers[e].flags.start=C["marker"](t,{icon:this.generateFlag({id:e,status:"start"})}),this.markers[e].flags.start.addTo(this.map),this.markers[e].flags.stop=C["marker"](s,{icon:this.generateFlag({id:e,status:"stop"})});const i=this.$store.state.messages[e].to<=Date.now();i&&this.markers[e].flags.stop.addTo(this.map)}},removeFlags(e){if(!this.markers[e]||!this.markers[e].flags||!(this.markers[e].flags.start instanceof C["Marker"])||!(this.markers[e].flags.stop instanceof C["Marker"]))return!1;this.markers[e].flags.start.remove(),this.markers[e].flags.stop.remove(),this.markers[e].flags=void 0},async getDeviceData(e){if(e){this.$store.state.messages[e].realtimeEnabled&&await this.$store.dispatch(`messages/${e}/unsubscribePooling`),this.$store.commit(`messages/${e}/clearMessages`);const t=this.date[0],s=this.date[1];if(this.$store.commit(`messages/${e}/setFrom`,t),this.$store.commit(`messages/${e}/setTo`,s),await this.$store.dispatch(`messages/${e}/get`),s>Date.now()){const t=await this.$store.dispatch(`messages/${e}/pollingGet`);t()}this.addFlags(e),this.$store.state.messages[e].messages.length||await this.$store.dispatch("getInitDataByDeviceId",e)}},async initDevice(e){this.$q.loading.show(),e&&(this.$store.commit(`messages/${e}/setActive`,e),await this.$store.dispatch(`messages/${e}/getCols`,{actions:!0,etc:!0}),await this.getDeviceData(e)),n["default"].connector.socket.on("offline",(()=>{this.$store.commit(`messages/${e}/setOffline`)})),n["default"].connector.socket.on("connect",(()=>{this.$store.state.messages[e].offline&&(this.$store.commit(`messages/${e}/setReconnected`),this.$store.dispatch(`messages/${e}/getMissedMessages`))})),this.needInitWatchingDevice&&e===this.deviceIdForWatch&&(this.telemetryDeviceId=parseInt(e),this.$emit("update-telemetry-device-id",this.telemetryDeviceId),this.centerOnDevice(e)),this.$q.loading.hide()},initActiveDeviceID(e){this.activeDeviceID=e||0},viewOnMapHandler(e){if(e["position.latitude"]&&e["position.longitude"]){const t=[e["position.latitude"],e["position.longitude"]],s=this.map.getZoom();this.map.messagePoint&&this.map.messagePoint.remove(),this.map.messagePoint=C["marker"](t,{icon:C["divIcon"]({className:"my-round-marker-wrapper",iconSize:new C["Point"](10,10),html:'
'})}),this.map.messagePoint.addTo(this.map),this.flyToWithHideTracks(t,s>12?s:12)}else this.$q.notify({message:"No position",color:"warning",position:"bottom-left",icon:"mdi-alert-outline"})},playProcess(e,t){const s="data"===this.player.mode?0:1;switch(t){case"value":s?this.playerTimeValue(e):this.playerDataValue(e);break;case"play":if("play"===this.player.status)return;s?this.playerTimePlay(e):this.playerDataPlay(e);break;case"stop":if("stop"===this.player.status)return;s?this.playerTimeStop(e):this.playerDataStop(e);break;case"pause":if("pause"===this.player.status)return;s?this.playerTimePause(e):this.playerDataPause(e);break}},playerTimeValue({id:e,messagesIndexes:t}){if(!this.messages[e]||!t||"play"!==this.player.status)return!1;let s=0,i=null;const a=t[t.length-1],n=0,r=this.messages[e].slice(n,a+1),o=r.reduce(((e,t,s)=>("number"===typeof t["position.latitude"]&&"number"===typeof t["position.longitude"]&&(i=s,e.push([t["position.latitude"],t["position.longitude"]])),e)),[]);if(t.forEach((a=>{if(this.markers[e]&&this.markers[e]instanceof C["Marker"]){const n=this.messages[e][a],r=n&&"number"===typeof n["position.latitude"]&&"number"===typeof n["position.longitude"];if(this.player.currentMsgIndex=a,r){const i=[n["position.latitude"],n["position.longitude"]];if("play"===this.player.status&&0!==t[0]){let r=1e3/this.player.speed/t.length;if(0!==a){const t=this.messages[e][a-1].timestamp,i=n.timestamp,o=i-t;r=1e3*o/this.player.speed,s=o}r-=50,r?this.markers[e].slideTo(i,{duration:r}):this.markers[e].setLatLng(i).update(),this.updateMarkerDirection(e,n["position.direction"])}else this.markers[e].setLatLng(i).update(),this.updateMarker(e,i,n["position.direction"]);this.markers[e].accuracy.setRadius(this.getAccuracyParams(n).accuracy),this.markers[e].accuracy.setLatLng(i)}else{const t=this.messages[e][i],s=o[o.length-1];this.markers[e].setLatLng(s).update(),this.updateMarker(e,s,t["position.direction"]),this.markers[e].accuracy.setRadius(this.getAccuracyParams(t).accuracy),this.markers[e].accuracy.setLatLng(s)}}})),this.tracks[e]&&this.tracks[e]instanceof C["Polyline"]&&o.length){if(!this.tracks[e].tail||!(this.tracks[e].tail instanceof C["Polyline"]))return this.tracks[e].tail=C["polyline"](o,this.tracks[e].options),this.tracks[e].tail.addTo(this.map),this.tracks[e].tail.addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e].tail))),!0;this.player.tailInterval&&clearTimeout(this.player.tailInterval),this.player.tailInterval=setTimeout((()=>{this.tracks[e].tail&&this.tracks[e].tail.setLatLngs(o)}),700*s/this.player.speed)}},playerTimePlay({id:e}){this.tracks[e]&&this.tracks[e]instanceof C["Polyline"]&&(this.tracks[e].remove(),this.player.status="play")},playerTimeStop({id:e}){if(this.tracks[e]&&this.tracks[e]instanceof C["Polyline"]){this.tracks[e].tail&&(this.tracks[e].tail.remove(),delete this.tracks[e].tail);const t=this.$store.state.messages[e].realtimeEnabled,s=t?this.messages[e].length-1:0,i=this.messages[e][s];this.$nextTick((()=>{this.player.currentMsgIndex=s?null:0})),this.player.status="stop",this.tracks[e].addTo(this.map);const a=[i["position.latitude"],i["position.longitude"]];this.updateMarker(e,a,i["position.direction"])}},playerTimePause({id:e}){this.player.status="pause"},playerDataValue({id:e}){},playerDataPlay({id:e}){if("pause"===this.player.status)return this.tracks[e].overview.snakeUnpause(),void(this.player.status="play");this.player.status="play",this.tracks[e].remove();const t=this.messages[e].map(((e,t)=>({lat:e["position.latitude"],lng:e["position.longitude"],dir:e["position.direction"],index:t})));if(t.length<2)return this.tracks[e].addTo(this.map),this.player.status="stop",void(this.player.currentMsgIndex=null);const s=C["polyline"](t,{snakingSpeed:20*this.player.speed,color:this.tracks[e].options.color});this.tracks[e].overview=s,this.tracks[e].overview.addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e].overview))),s.addTo(this.map).snakeIn(),s.on("snake",(()=>{const i=s.getLatLngs(),a=i.slice(-1)[0],n=a.slice(-1)[0],r=t[i[0].length-1];this.updateMarker(e,n,r.dir),this.player.currentMsgIndex!==r.index&&(this.player.currentMsgIndex=r.index)})),s.on("snakeInEnd",(()=>{this.playerDataStop({id:e})}))},playerDataStop({id:e}){this.player.status="stop",this.tracks[e].overview&&(this.tracks[e].overview.remove(),delete this.tracks[e].overview),this.tracks[e]&&this.tracks[e]instanceof C["Polyline"]&&(this.tracks[e].addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e]))));const t=this.messages[e].slice(-1)[0];if(this.player.currentMsgIndex=null,t){const s=[t["position.latitude"],t["position.longitude"]];this.updateMarker(e,s,t["position.direction"])}},playerDataPause({id:e}){"stop"!==this.player.status&&(this.player.status="pause",this.tracks[e].overview.snakePause())},playerSpeedChangeHandler({speed:e,id:t}){this.player.speed=e,"data"===this.player.mode&&"stop"!==this.player.status&&this.tracks[t].overview.setStyle({snakingSpeed:20*e})},playerModeChange({id:e,mode:t}){"stop"!==this.player.status&&("data"===t?this.playerTimeStop({id:e}):this.playerDataStop({id:e})),this.player.mode=t},updateColorHandler({id:e,color:t}){this.tracks[e].setStyle({color:t}),this.tracks[e].tail&&this.tracks[e].tail.setStyle({color:t}),this.tracks[e].overview&&this.tracks[e].overview.setStyle({color:t}),this.markers[e].color=t,this.markers[e].setIcon(this.generateIcon(e,this.markers[e].options.title,t)),this.setColorById(e,t)},registerModule(e){this.$store.registerModule(["messages",e],Object(Ne["a"])({Vue:n["default"],LocalStorage:this.$q.localStorage,name:{name:"messages",lsNamespace:`${this.$store.state.storeName}.cols`},errorHandler:e=>{this.$store.commit("reqFailed",e)}}))},showMessageByTrackClick(e,t,s){e.originalEvent.view.L.DomEvent.stopPropagation(e);const i=this.messages[t],a=C["GeometryUtil"].closest(this.map,s,e.latlng),n=i.reduce(((e,t,s)=>{const n=t["position.latitude"],r=t["position.longitude"],o=i[s+1];if(!o)return e;const l=o["position.latitude"],c=o["position.longitude"],h=n>=a.lat&&l<=a.lat||n<=a.lat&&l>=a.lat,d=r>=a.lng&&c<=a.lng||r<=a.lng&&c>=a.lng;if(h&&d){const t=C["GeometryUtil"].distance(this.map,a,{lat:n,lng:r}),i=C["GeometryUtil"].distance(this.map,a,{lat:l,lng:c}),o=t>i?s+1:s;e.push(o)}return e}),[]),r=i[n.slice(-1)[0]]||{};this.viewOnMapHandler(r),this.$store.commit(`messages/${t}/setSelected`,n)},mapClickHandler(e){this.map.messagePoint&&this.map.messagePoint.remove(),this.activeDevicesID.forEach((e=>{this.$store.commit(`messages/${e}/clearSelected`)}))},updateOrInitDevice(e,t,s){if(t)return this.activeDevices.filter((t=>t.id===parseInt(e)))[0].telemetry||this.markers[e]?this.updateDeviceOnMap(e):this.initDeviceOnMap(e),!1;s?this.updateDeviceOnMap(e):this.initDeviceOnMap(e)},updateStateByMessages(e){if("play"===this.player.status||"pause"===this.player.status)return!1;const t=Object.keys(e),s=Object.keys(this.markers);if(!t.length)return Object.keys(this.markers).forEach((e=>{this.removeMarker(e)})),!1;if(t.length!t.includes(e)))[0];return this.removeMarker(e),!1}t.forEach((t=>this.updateOrInitDevice(t,!e[t].length,s.includes(t))))}},watch:{messages:{deep:!0,handler(e){this.debouncedUpdateStateByMessages(e)}},activeDevices(e){const t=e.map((e=>e.id));this.activeDeviceID||t.forEach((e=>{this.initActiveDeviceID(e)}));const s=Object.keys(this.messages).map((e=>parseInt(e))),i=s.length>t.length?"remove":"add";switch(t.forEach((e=>{this.$store.state.messages[e]||(this.registerModule(e),this.$store.commit(`messages/${e}/setSortBy`,"timestamp"),this.$store.commit(`messages/${e}/setLimit`,0))})),this.activeDevicesID=t,i){case"remove":{const e=s.filter((e=>!t.includes(e)));1===e.length&&e[0]?this.$store.commit(`messages/${e[0]}/clear`):e.length===s.length&&e.forEach((e=>{this.$store.commit(`messages/${e}/clear`)}));break}case"add":{const e=t.filter((e=>!s.includes(e)));e&&e.forEach((e=>{this.initDevice(e)}));break}}this.map&&C["DomUtil"].hasClass(this.map._container,"crosshair-cursor-enabled")&&C["DomUtil"].removeClass(this.map._container,"crosshair-cursor-enabled")},deviceIdForWatch(e){e&&this.flyToDevice(e)},"params.needShowNamesOnMap":function(e){Object.keys(this.markers).forEach((e=>{const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0],s=this.messages[e]&&this.messages[e].length?[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]:[],i=t.name||`#${e}`;this.markers[e]instanceof C["Marker"]&&(this.markers[e].remove(),this.map.removeLayer(this.markers[e].accuracy),this.initMarker(e,i,s))}))},date(e,t){t&&(this.player.status="stop",this.player.currentMsgIndex=null,this.activeDevicesID.forEach((async e=>{await this.getDeviceData(e)})))},selected(e){if(this.tracks[e]&&this.tracks[e]instanceof C["Polyline"]){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}}},created(){this.debouncedUpdateStateByMessages=Object(ze["a"])(this.updateStateByMessages,100),this.deviceIdForWatch&&(this.needInitWatchingDevice=!0),this.activeDevicesID=this.activeDevices.map((e=>e.id)),this.activeDevicesID.forEach((e=>{this.registerModule(e),this.$store.commit(`messages/${e}/setSortBy`,"timestamp"),this.initDevice(e)})),n["default"].connector.socket.on("offline",(()=>{this.$store.commit("setSocketOffline",!0)})),n["default"].connector.socket.on("connect",(()=>{this.$store.commit("setSocketOffline",!1)}))},destroyed(){n["default"].connector.socket.off("offline"),n["default"].connector.socket.off("connect"),this.activeDevicesID.forEach((async e=>{this.$store.unregisterModule(["messages",e])}))},mounted(){this.initMap()},components:{Queue:He,ColorModal:Ce}},Qe=Be,Ee=(s("7001"),s("3980")),We=Object(p["a"])(Qe,M,x,!1,null,null,null),Ae=We.exports;w()(We,"components",{QResizeObserver:Ee["a"]});var Ue=function(){var e=this,t=e._self._c;return t("q-list",{staticClass:"bg-grey-9 text-white",attrs:{separator:""}},[t("q-item-label",{ref:"header",staticStyle:{height:"138px","line-height":"58px!important"}},[t("big",[t("q-icon",{staticClass:"cursor-pointer",staticStyle:{"margin-right":"15px"},attrs:{name:"mdi-arrow-left",size:"1.8rem"},nativeOn:{click:function(t){return e.$emit("click-hide")}}}),e._v("\n Devices\n ")],1),t("div",{staticClass:"q-px-sm"},[t("q-input",{attrs:{dark:"",color:"white",outlined:"",label:"Filter","hide-bottom-space":""},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1)],1),t("VirtualList",{style:{height:`${e.height}px`},attrs:{size:68,remain:e.itemsCount}},e._l(e.filteredDevices,(function(s){return t("device",{key:s.id,attrs:{device:s,activeDevicesID:e.activeDevicesID,isDeviceWatched:e.deviceIdForWatch===s.id},on:{"update-watch-by-id":e.setWatchByDeviceID}})})),1)],1)},Ye=[],Ge=function(){var e=this,t=e._self._c;return t("q-item",{class:[e.model?"device-item__active":"",e.device.messages_ttl?"":"disabled"],attrs:{highlight:e.$q.platform.is.desktop,clickable:""},on:{click:e.deviceClickHandler}},[e.device.messages_ttl?e._e():t("q-tooltip",[e._v("You should set messages ttl more than 0")]),t("q-item-section",{staticClass:"flex flex-center",class:[e.model?"text-green-2":""],attrs:{avatar:""}},[t("q-icon",{attrs:{name:"developer_board"}}),t("small",[e._v("#"+e._s(e.device.id))])],1),t("q-item-section",[t("q-item-label",{staticClass:"ellipsis q-pa-none text-white",attrs:{header:""}},[e._v(e._s(e.device.name||""))]),t("q-item-label",{staticClass:"ellipsis text-grey-3 full-width",attrs:{caption:""}},[t("q-icon",{attrs:{name:"label_outline"}}),e._v(" "+e._s(e.device.configuration&&e.device.configuration.ident?e.device.configuration.ident:""))],1),t("q-item-label",{staticClass:"text-grey-3",attrs:{caption:""}},[t("q-icon",{attrs:{name:"phone"}}),e._v(" "+e._s(e.device.configuration&&e.device.configuration.phone?e.device.configuration.phone:""))],1)],1),t("q-item-section",{staticClass:"text-center",attrs:{side:""}},[t("q-item-label",[t("q-icon",{class:[e.isDeviceWatched&&e.activeDevicesID.includes(e.device.id)?"icon__send-active":"text-grey-5"],attrs:{size:"1.5rem",name:"gps_fixed"},nativeOn:{click:function(t){return t.stopPropagation(),e.watchDeviceHandler.apply(null,arguments)}}},[e.device.messages_ttl?t("q-tooltip",{model:{value:e.watchTooltip,callback:function(t){e.watchTooltip=t},expression:"watchTooltip"}},[e._v("Show on map")]):e._e()],1)],1)],1)],1)},Ze=[],Je={props:["device","activeDevicesID","isDeviceWatched"],data(){return{watchTooltip:!1}},computed:{model(){return this.activeDevicesID.includes(this.device.id)}},methods:{deviceClickHandler(){this.activeDevicesID.includes(this.device.id)?this.unsetActiveDevice():this.setActiveDevice()},setActiveDevice(){this.device.messages_ttl&&this.$store.commit("setActiveDevice",this.device.id)},unsetActiveDevice(){this.$store.commit("unsetActiveDevice",this.device.id)},watchDeviceHandler(){if(!this.device.messages_ttl)return!1;this.activeDevicesID.includes(this.device.id)||this.setActiveDevice(),setTimeout((()=>{this.isDeviceWatched?this.$emit("update-watch-by-id",null):this.$emit("update-watch-by-id",this.device.id)}),500),setTimeout((()=>{this.watchTooltip=!1}),500)}}},Ke=Je,Xe=(s("fe06"),s("66e5")),et=s("4074"),tt=s("0170"),st=Object(p["a"])(Ke,Ge,Ze,!1,null,null,null),it=st.exports;w()(st,"components",{QItem:Xe["a"],QTooltip:u["a"],QItemSection:et["a"],QIcon:B["a"],QItemLabel:tt["a"]});var at=s("89c1"),nt=s.n(at),rt={name:"DeviceList",data(){return{unsubscribeDevices:()=>{},itemsCount:0,height:0,filter:""}},props:["devices","activeDevicesID","deviceIdForWatch"],components:{Device:it,VirtualList:nt.a},computed:{filteredDevices(){const e=this.filter.toLowerCase(),t=this.filter?this.devices.filter((t=>t&&"undefined"!==typeof t.name&&null!==t.name&&t.name.toLowerCase().indexOf(e)>=0||t&&"undefined"!==typeof t.id&&null!==t.id&&(t.id+"").indexOf(e)>=0||t&&t.configuration&&"undefined"!==typeof t.configuration.ident&&null!==t.configuration.ident&&t.configuration.ident.toLowerCase().indexOf(e)>=0)):this.devices;return t.sort(((e,t)=>{if(!e.name)return-1;if(!t.name)return 1;const s=e.name.toLowerCase(),i=t.name.toLowerCase();return s{}}},computed:{...Object(r["d"])({token:e=>e.token,devices:e=>e.devices,isLoading:e=>e.isLoading,activeDevicesID(e){return e.activeDevicesID},hasDevicesInit:e=>e.hasDevicesInit,activeDevices:e=>e.devices.filter((t=>e.activeDevicesID.includes(t.id))),lastActiveDevicesUpdate(e){return this.activeDevicesID.reduce(((t,s)=>{const i=e.messages[s].messages.filter((e=>!!e["position.latitude"]&&!!e["position.longitude"]));return i.length?t[s]=Math.floor(1e3*i[i.length-1].timestamp):t[s]=0,t}),{})},errors:e=>e.errors,newNotificationCounter:e=>e.newNotificationCounter,deviceForTelemetry(e){return this.deviceIdForTelemetry?e.devices.filter((e=>e.id===this.deviceIdForTelemetry))[0]:{}}}),date:{get(){return this.$store.state.date},set(e){this.$store.commit("setDate",e)}}},components:{DeviceList:dt,MapComponent:Ae,QTelemetry:D["a"],DateRangeModal:S},methods:{openURL:pt["a"],...Object(r["c"])(["clearToken","clearCurrentRegion","setDevicesInit","unsetDevicesInit","setActiveDevice","reqFailed","clearNotificationCounter","clearErrors"]),...Object(r["b"])(["getLastUpdatePosition","poolDevices"]),exitHandler(e){n["default"].connector.socket.off("error"),this.unsetDevicesInit(),this.clearToken(),this.clearCurrentRegion(),this.$router.push("/login")},setWatchToDeviceID(e){this.updateTelemetryDeviceId(e),this.deviceIdForWatch=e},menuChangeHandler(e){Object(Ve["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"params",value:this.params})},telemetrySettingsChangeHandler(){this.$set(this.telemetrySettings,"inverted",!this.telemetrySettings.inverted),Object(Ve["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"telemertySettings",value:this.telemetrySettings})},updateTelemetryDeviceId(e){if(this.deviceIdForTelemetry===e)return this.setWatchToDeviceID(null),!1;const t=this.devices.filter((t=>t.id===e));t.length?(this.deviceIdForTelemetry=e,this.deviceIdForWatch=e,this.params.needShowTelemetry&&this.deviceIdForTelemetry&&this.activeDevicesID.includes(this.deviceIdForTelemetry)&&setTimeout((()=>{if(e===this.deviceIdForWatch&&this.$q.platform.is.mobile)return!1}),0)):this.deviceIdForTelemetry=null},formatDate(e){return c["a"].formatDate(e,"DD/MM/YYYY")},paramsProcess(){const e=Object(Ve["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"params"});e&&(this.$set(this,"params",Object.assign(this.params,e)),this.side_right=e.needShowTelemetry);const t=Object(Ve["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"telemetrySettings"});t&&this.$set(this,"telemetrySettings",Object.assign(this.telemetrySettings,t))},connectProcess(){this.isInit||(n["default"].connector.socket.on("connect",(()=>{this.isInit=!0,this.$q.loading.hide()})),this.$q.loading.show())},initDate(){this.getLastUpdatePosition().then((e=>{this.date=e}))},routeProcess(){const e=this.$route.query.from,t=this.$route.query.to,s=this.$route.query.hidelist||Object(Ve["a"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"hidelist"}),i=this.$route.query.names||Object(Ve["a"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"names"}),a=this.$route.params.devices;if(e&&t?this.date=[1e3*e,1e3*t]:this.date[0]||this.date[1]||this.initDate(),s&&(Object(Ve["b"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"hidelist",value:s}),this.needShowList=!1),i&&(this.needHideNamesInMenu=!0,Object(Ve["b"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"names",value:i}),"true"===i?this.$set(this.params,"needShowNamesOnMap",!0):"false"===i&&this.$set(this.params,"needShowNamesOnMap",!1),this.menuChangeHandler()),a){const e=a.split(",").map((e=>+e));e.forEach((e=>{this.setActiveDevice(e)}))}},loginProcess(){this.$route.params.token?this.$router.push(`/login/${this.$route.params.token}`):this.$router.push("/login")}},watch:{token(e){e||this.$router.push("/login")},hasDevicesInit(e){e?this.$q.loading.hide():this.$q.loading.show()},deviceIdForWatch(e){e&&(this.side_left=!1)},devices(e,t){e.length||(this.side_left=!1,this.side_right=!1)},"params.needShowTelemetry":function(e){this.side_right=e}},created(){if(this.$store.state.telemetry||this.$store.registerModule("telemetry",Object(D["b"])(this.$store,n["default"])),this.clearNotificationCounter(),this.clearErrors(),this.routeProcess(),!this.token)return this.loginProcess(),!1;this.connectProcess(),this.poolDevices().then((e=>{this.unsubscribeDevices=e})),this.activeDevicesID.length&&(this.$router.push(`/devices/${this.activeDevicesID.join(",")}`),1===this.activeDevicesID.length&&(this.deviceIdForWatch=this.activeDevicesID[0])),this.paramsProcess()},destroyed(){this.unsubscribeDevices&&this.unsubscribeDevices(),n["default"].connector.socket.off("connect")}},ut=gt,vt=(s("7a97"),s("4d5a")),ft=s("9404"),yt=s("09e3"),kt=s("9989"),bt=s("6ac5"),_t=s("65c6"),wt=s("b047"),$t=s("9564"),St=s("7f67"),Dt=Object(p["a"])(ut,i,a,!1,null,null,null);t["default"]=Dt.exports;w()(Dt,"components",{QLayout:vt["a"],QDrawer:ft["a"],QItem:Xe["a"],QItemSection:et["a"],QIcon:B["a"],QItemLabel:tt["a"],QBtn:g["a"],QTooltip:u["a"],QInput:ct["a"],QPageContainer:yt["a"],QPage:kt["a"],QToolbarTitle:bt["a"],QToolbar:_t["a"],QChip:wt["a"],QMenu:de["a"],QList:lt["a"],QToggle:$t["a"],QDialog:v["a"]}),w()(Dt,"directives",{ClosePopup:St["a"]})},fe06:function(e,t,s){"use strict";s("a61f")}}]); \ No newline at end of file diff --git a/js/1.c5e18fcd.js b/js/1.c5e18fcd.js new file mode 100644 index 00000000..c2275473 --- /dev/null +++ b/js/1.c5e18fcd.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"0c5c":function(e,t,s){},3042:function(e,t,s){},4678:function(e,t,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df48","./fa.js":"8df48","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b46","./gd.js":"f6b46","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=n(e);return s(t)}function n(e){if(!s.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id="4678"},"4c26":function(e,t,s){"use strict";s("55a9")},5198:function(e,t,s){"use strict";s("3042")},"55a9":function(e,t,s){},"7a97":function(e,t,s){"use strict";s("8e1f")},"7ef3":function(e,t,s){"use strict";s("bbed")},"8e1f":function(e,t,s){},9084:function(e,t,s){},9472:function(e,t,s){"use strict";s("0c5c")},a61f:function(e,t,s){},b877:function(e,t,s){"use strict";s("bc7c")},bbed:function(e,t,s){},bc7c:function(e,t,s){},d0c6:function(e,t,s){"use strict";s("9084")},f241:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e._self._c;return t("q-layout",{ref:"layout",attrs:{view:"hHh LpR lFf"}},[e.isInit&&e.needShowList?t("q-drawer",{attrs:{side:"left","no-swipe-open":e.$q.platform.is.desktop,"no-swipe-close":e.$q.platform.is.desktop,breakpoint:576,behavior:"mobile"},model:{value:e.side_left,callback:function(t){e.side_left=t},expression:"side_left"}},[t("device-list",{directives:[{name:"show",rawName:"v-show",value:e.devices.length,expression:"devices.length"}],attrs:{deviceIdForWatch:e.deviceIdForWatch,activeDevicesID:e.activeDevicesID,devices:e.devices},on:{"update-watch-by-id":e.setWatchToDeviceID,"click-hide":function(t){e.side_left=!1}}})],1):e._e(),t("q-drawer",{attrs:{side:"right","no-swipe-open":"","no-swipe-close":"","content-class":{"bg-grey-9":e.telemetrySettings.inverted}},model:{value:e.side_right,callback:function(t){e.side_right=t},expression:"side_right"}},[t("div",{staticStyle:{position:"relative",height:"100vh",overflow:"hidden"}},[t("q-item",[t("q-item-section",{attrs:{avatar:""}},[t("q-icon",{attrs:{color:e.telemetrySettings.inverted?"white":"",size:"1.8rem",name:"developer_board"}})],1),t("q-item-section",[t("q-item-label",{staticClass:"ellipsis text-bold q-pa-none",class:{"text-white":e.telemetrySettings.inverted},attrs:{header:""}},[e._v("Telemetry")]),e.deviceIdForTelemetry?t("q-item-label",{staticClass:"ellipsis",class:{"text-white":e.telemetrySettings.inverted},attrs:{caption:""}},[t("small",[e._v(e._s(e.deviceForTelemetry.name||`#${e.deviceForTelemetry.id}`))])]):t("q-item-label",{staticClass:"ellipsis",class:{"text-white":e.telemetrySettings.inverted},attrs:{caption:""}},[t("small",[e._v("No selected device")])])],1),t("q-item-section",{attrs:{side:""}},[t("q-btn",{staticClass:"text-grey",attrs:{color:e.telemetrySettings.inverted?"white":"grey",flat:"",icon:"filter_b_and_w"},on:{click:e.telemetrySettingsChangeHandler}},[t("q-tooltip",[e._v("Inverted")])],1)],1)],1),e.deviceIdForTelemetry?t("q-item",[t("q-item-section",[t("q-input",{staticClass:"q-mb-xs",attrs:{type:"text",label:"Search",dark:e.telemetrySettings.inverted,color:e.telemetrySettings.inverted?"white":"grey",outlined:"","hide-bottom-space":""},model:{value:e.telemetrySearch,callback:function(t){e.telemetrySearch=t},expression:"telemetrySearch"}})],1)],1):e._e(),e.deviceIdForTelemetry?t("q-telemetry",{staticClass:"scroll",staticStyle:{height:"calc(100% - 128px)"},attrs:{propHistoryFlag:e.telemetryConfig.propHistoryFlag,device:e.deviceForTelemetry,inverted:e.telemetrySettings.inverted,search:e.telemetrySearch}}):t("div",{staticClass:"text-bold text-center q-mt-sm",class:{"text-white":e.telemetrySettings.inverted}},[e._v("\n Select one by clicking on its "),t("q-icon",{attrs:{name:"mdi-car-sports",size:"1.2rem"}}),e._v(" marker\n ")],1)],1)]),t("q-page-container",[t("q-page",[e.devices.length&&e.needShowList?t("q-btn",{staticClass:"floated menu",attrs:{small:"",round:"",flat:"",color:"bg-grey-9",size:"md"},on:{click:function(t){e.side_left=!e.side_left}}},[t("q-icon",{attrs:{name:"menu"}})],1):e._e(),t("div",{staticClass:"floated label"},[t("img",{staticStyle:{height:"40px","margin-top":"3px",display:"inline-block"},attrs:{src:"track-it-logo.png",alt:"Track it!"}}),t("div",{staticClass:"q-toolbar-title",staticStyle:{color:"rgb(51, 51, 51)",display:"inline-block"}},[e._v("\n Track it! "),t("sup",[e._v(e._s(e.version))]),t("div",{staticClass:"q-toolbar-subtitle"},[e._v("\n Find yourself\n ")])])]),e.errors.length?t("q-btn",{staticClass:"floated notifications",attrs:{small:"",flat:"",round:"",color:"bg-grey-9",size:"md",icon:"notifications"},on:{click:e.clearNotificationCounter}},[e.newNotificationCounter?t("q-chip",{staticClass:"absolute-top-right q-pa-xs text-white",staticStyle:{"font-size":".6rem"},attrs:{color:"red"}},[e._v(e._s(e.newNotificationCounter))]):e._e(),t("q-menu",{ref:"popoverError",attrs:{fit:""}},[t("q-list",{staticClass:"scroll",staticStyle:{"max-height":"200px"},attrs:{"no-border":"",link:"",separator:""}},e._l(e.errors,(function(s,i){return t("q-item",{key:i,staticStyle:{cursor:"default"}},[t("q-item-section",[t("q-item-label",[e._v(e._s(s))])],1)],1)})),1)],1)],1):e._e(),e.devices.length?t("div",{staticClass:"floated date"},[t("date-range-modal",{attrs:{date:e.date,theme:e.dateTheme},on:{save:t=>e.date=[...t],reinit:e.initDate}})],1):e._e(),!e.activeDevicesID.length&&e.devices.length?t("div",{staticClass:"floated no-devices"},[t("span",{staticClass:"no-devices__message"},[e._v("You have no selected devices")]),t("div",{staticStyle:{"margin-top":"15px"}},[t("q-btn",{staticStyle:{"pointer-events":"auto"},attrs:{icon:"menu",color:"black",size:"md"},on:{click:function(t){e.side_left=!e.side_left}}},[e._v("\n select devices\n ")])],1)]):!e.devices.length&&e.hasDevicesInit?t("div",{staticClass:"floated no-devices"},[t("span",{staticClass:"no-devices__message"},[e._v("You have no devices")]),t("div",{staticClass:"q-mt-sm text-bg-grey-9",staticStyle:{"font-size":"1.3rem"}},[e._v("\n Create one on\n "),t("q-btn",{staticStyle:{"pointer-events":"auto"},attrs:{dense:"",color:"red-5",label:"flespi.io"},on:{click:function(t){return e.openURL("https://flespi.io")}}})],1)]):e._e(),e.$q.platform.is.desktop?t("a",{staticClass:"floated github",attrs:{href:"https://github.com/flespi-software/TrackIt/",target:"_blank"}},[t("q-btn",{attrs:{flat:"",round:"",color:"bg-grey-9"}},[t("img",{staticStyle:{height:"30px"},attrs:{src:"GitHub-Mark-32px.png",alt:"GitHub"}}),t("q-tooltip",[e._v("Show on GitHub")])],1)],1):e._e(),t("q-btn",{staticClass:"floated options",attrs:{small:"",round:"",flat:"",size:"md"}},[t("q-icon",{attrs:{color:"bg-grey-9",name:"more_vert"}}),t("q-menu",{ref:"popover-menu"},[t("q-list",{staticClass:"scroll",staticStyle:{"min-width":"200px"},attrs:{link:"",separator:""}},[t("q-item",[t("q-toggle",{attrs:{disabled:!e.devices.length,icon:"dvr",label:"Messages"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowMessages,callback:function(t){e.$set(e.params,"needShowMessages",t)},expression:"params.needShowMessages"}})],1),t("q-item",[t("q-toggle",{attrs:{disable:!e.devices.length,icon:"mdi-play",label:"Player"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowPlayer,callback:function(t){e.$set(e.params,"needShowPlayer",t)},expression:"params.needShowPlayer"}})],1),t("q-item",[t("q-toggle",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{disabled:!e.devices.length,icon:"av_timer",label:"Telemetry"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowTelemetry,callback:function(t){e.$set(e.params,"needShowTelemetry",t)},expression:"params.needShowTelemetry"}})],1),e.needHideNamesInMenu?e._e():t("q-item",[t("q-toggle",{attrs:{disabled:!e.devices.length,icon:"pin_drop",label:"Names"},on:{input:e.menuChangeHandler},model:{value:e.params.needShowNamesOnMap,callback:function(t){e.$set(e.params,"needShowNamesOnMap",t)},expression:"params.needShowNamesOnMap"}})],1),t("q-item",{staticClass:"within-iframe-hide",attrs:{clickable:""},on:{click:e.exitHandler}},[t("q-item-section",{staticClass:"q-pl-md",attrs:{avatar:""}},[t("q-icon",{attrs:{name:"exit_to_app"}})],1),t("q-item-section",[t("q-item-label",[e._v("Exit")])],1)],1)],1)],1)],1),t("map-component",{attrs:{activeDevices:e.activeDevices,deviceIdForWatch:e.deviceIdForWatch,params:e.params,date:e.date},on:{"update-telemetry-device-id":e.updateTelemetryDeviceId,"change-need-show-messages":t=>{e.params.needShowMessages=t}}})],1)],1)],1)},a=[],n=(s("14d9"),s("2b0e")),r=s("2f62"),o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"q-v-date-range-picker",staticStyle:{"min-width":"180px"}},[t("q-btn",{attrs:{color:e.theme.bgColor,flat:"",dense:"",icon:"keyboard_arrow_left"},on:{click:e.prevHandler}},[t("q-tooltip",[e._v("Previous time range")])],1),t("q-btn",{staticClass:"q-pa-none",staticStyle:{"min-width":"124px","font-size":".8rem","line-height":".8rem"},attrs:{flat:"",color:e.theme.bgColor},on:{click:e.dateRangeToggle}},[t("div",[t("div",[e._v(e._s(e.formatDate(e.dateModel[0])))]),t("div",{staticStyle:{"font-size":".5rem"}},[e._v("|")]),t("div",[e._v(e._s(e.formatDate(e.dateModel[1])))])]),t("q-tooltip",[e._v("Change time")])],1),t("q-btn",{attrs:{color:e.theme.bgColor,flat:"",dense:"",icon:"keyboard_arrow_right"},on:{click:e.nextHandler}},[t("q-tooltip",[e._v("Next time range")])],1),t("q-dialog",{ref:"dateRangePickerModal",attrs:{"content-class":"modal-date-range"}},[t("q-card",[t("q-card-section",{staticClass:"scroll q-pa-none",class:{[`bg-${e.theme.bgColor}`]:!0,"text-white":!!e.theme.bgColor}},[t("div",{staticClass:"flex flex-center",staticStyle:{"max-width":"330px"}},[t("div",{staticClass:"fit text-center q-my-sm"},[t("q-btn-toggle",{attrs:{options:e.dateRangeModeOptions,color:e.theme.bgColor,"text-color":"grey","toggle-text-color":e.theme.color,flat:""},model:{value:e.mode,callback:function(t){e.mode=t},expression:"mode"}})],1),t("date-range-picker",{staticClass:"q-ma-sm",attrs:{mode:e.mode,theme:e.theme},on:{"change:mode":e.changeModeDateTimeRangeHandler,error:t=>e.saveDisabled=t},model:{value:e.dateModel,callback:function(t){e.dateModel=t},expression:"dateModel"}})],1)]),t("q-card-actions",{class:{[`bg-${e.theme.bgColor}`]:!0,"text-white":!!e.theme.bgColor},attrs:{align:"between"}},[t("q-btn",{attrs:{flat:"",color:e.theme.color,dense:"",icon:"mdi-map-clock-outline"},on:{click:function(t){e.$emit("reinit"),e.dateRangeModalClose()}}},[t("q-tooltip",[e._v("Reinit time by devices positions")])],1),t("div",[t("q-btn",{attrs:{flat:"",color:e.theme.color},on:{click:e.dateRangeModalClose}},[e._v("close")]),t("q-btn",{attrs:{flat:"",color:e.theme.color,disable:e.saveDisabled},on:{click:e.dateRangeModalSave}},[e._v("save")])],1)],1)],1)],1)],1)},l=[],c=s("bd4c"),h=s("a99f"),d={props:["theme","date"],data(){return{dateModel:this.date,mode:0,saveDisabled:!1,dateRangeModeOptions:[{label:"Day",value:0},{label:"Range",value:3},{label:"Manual",value:4}]}},methods:{dateRangeToggle(){this.$refs.dateRangePickerModal.toggle()},dateRangeModalClose(){this.$refs.dateRangePickerModal.hide()},changeModeDateTimeRangeHandler(e){this.mode=e},dateRangeModalSave(){let[e,t]=this.dateModel;t+=999,this.$emit("save",[e,t]),this.dateRangeModalClose()},formatDate(e){return c["a"].formatDate(e,"DD/MM/YYYY HH:mm:ss")},prevHandler(){const e=Math.floor(this.dateModel[1])-Math.floor(this.dateModel[0]),t=Math.floor(this.dateModel[0])-1,s=t-e;this.dateModel=[s,t],this.$emit("save",this.dateModel)},nextHandler(){const e=Math.floor(this.dateModel[1])-Math.floor(this.dateModel[0]),t=Math.floor(this.dateModel[1])+1,s=t+e;this.dateModel=[t,s],this.$emit("save",this.dateModel)}},watch:{date(e){this.dateModel=e}},components:{DateRangePicker:h["a"]}},m=d,p=(s("d0c6"),s("2877")),g=s("9c40"),u=s("05c0"),v=s("24e8"),f=s("f09f"),y=s("a370"),k=s("6a67"),b=s("4b7e"),_=s("eebe"),w=s.n(_),M=Object(p["a"])(m,o,l,!1,null,null,null),D=M.exports;w()(M,"components",{QBtn:g["a"],QTooltip:u["a"],QDialog:v["a"],QCard:f["a"],QCardSection:y["a"],QBtnToggle:k["a"],QCardActions:b["a"]});var $=s("5ee7"),S=function(){var e=this,t=e._self._c;return t("div",{staticClass:"map-wrapper absolute-top-left absolute-bottom-right"},[t("div",{style:{height:e.mapHeight},attrs:{id:"map"}},[t("q-resize-observer",{on:{resize:e.onResize}})],1),Object.keys(e.messages).length&&(e.params.needShowMessages||e.params.needShowPlayer)?t("queue",{ref:"queue",attrs:{devices:e.activeDevices,activeDevicesID:e.activeDevicesID,needShowMessages:e.params.needShowMessages,needShowPlayer:e.params.needShowPlayer,messages:e.allMessages,telemetryDeviceId:e.telemetryDeviceId,date:e.date,markers:e.markers,player:e.player},on:{"player-value":t=>e.playProcess(t,"value"),"player-play":t=>e.playProcess(t,"play"),"player-pause":t=>e.playProcess(t,"pause"),"player-stop":t=>e.playProcess(t,"stop"),"player-speed":e.playerSpeedChangeHandler,"player-mode":e.playerModeChange,"change-need-show-messages":t=>{e.$emit("change-need-show-messages",t)},"change-selected":t=>{e.selected=t},"update-color":e.updateColorHandler,"view-on-map":e.viewOnMapHandler}}):e._e(),t("color-modal",{ref:"colorModal",model:{value:e.color,callback:function(t){e.color=t},expression:"color"}})],1)},C=[],x=s("e11e"),I=(s("d88e"),s("6cc5"),s("7998"),s("9ae0"),s("790e"),s("3c65"),function(e){e.Polyline.include({_snakingTimestamp:0,_snakingRings:0,_snakingTailRings:0,_snakingVertices:0,_snakingTailVertices:0,_snakingDistance:0,_snakingTailDistance:0,_snakingIn:!1,_snakingOut:!1,_snakingPaused:!1,_snakingPauseTime:0,snakeIn:function(){if(!this._snakingIn&&!this._snakingOut&&"performance"in window&&"now"in window.performance&&this._map)return this._snakingIn=!0,this._snakingTime=performance.now(),this._snakingVertices=this._snakingRings=this._snakingDistance=0,this._snakeLatLngs||(this._snakeLatLngs=e.LineUtil.isFlat(this._latlngs)?[this._latlngs]:this._latlngs),this._latlngs=[[this._snakeLatLngs[0][0],this._snakeLatLngs[0][0]]],this._update(),this._snake(),this.fire("snakestart"),this.fire("snakeInStart"),this},snakeOut:function(){if(!this._snakingOut&&"performance"in window&&"now"in window.performance&&this._map){if(this._snakingOut=!0,this._snakingTime=performance.now(),this._snakingTailVertices=this._snakingTailRings=this._snakingTailDistance=0,this._snakeLatLngs||(this._snakeLatLngs=e.LineUtil.isFlat(this._latlngs)?[this._latlngs]:this._latlngs),!this._snakingIn){const e=[],t=Object.keys(this._snakeLatLngs);t.forEach((()=>{e.push([]),this._snakeLatLngs[e.length-1].forEach((function(t){e[e.length-1].push([t.lat,t.lng])}))})),this._latlngs=e}return this._update(),this._snakingIn||this._snake(),this.fire("snakeOutStart"),this}},_snake:function(){if(!this._map)return;if(this._snakingPaused)return;const t=performance.now();let s=t-this._snakingTime;s=0===s?.001:s;const i=s*this.options.snakingSpeed/1e3;return this._snakingTime=t,this._snakingIn&&this._latlngs[this._snakingRings].pop(),this._snakingOut&&this._latlngs[this._snakingTailRings].shift(),this._snakingIn&&this._snakeHeadForward(i),this._snakingOut&&this._snakeTailForward(i),this.setLatLngs(this._latlngs),(this._snakingIn||this._snakingOut)&&(this.fire("snake"),e.Util.requestAnimFrame(this._snake,this)),this},_snakeHeadForward:function(e){let t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices+1]),i=t.distanceTo(s);while(this._snakingDistance+e>i){if(this._snakingVertices++,this._latlngs[this._snakingRings].push(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),this._snakingVertices>=this._snakeLatLngs[this._snakingRings].length-1){if(this._snakingRings>=this._snakeLatLngs.length-1)return this._snakeInEnd();this._snakingVertices=0,this._snakingRings++,this._latlngs[this._snakingRings]=[this._snakeLatLngs[this._snakingRings][this._snakingVertices]]}this._snakingDistance-=i,t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingRings][this._snakingVertices+1]),i=t.distanceTo(s)}this._snakingDistance+=e;const a=this._snakingDistance/i,n=s.multiplyBy(a).add(t.multiplyBy(1-a)),r=this._map.containerPointToLatLng(n);return this._latlngs[this._snakingRings].push(r),this.options.followHead&&this._map.setView(r),this},_snakeTailForward:function(e){let t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices+1]),i=t.distanceTo(s);while(this._snakingTailDistance+e>i){if(this._snakingTailVertices++,this._latlngs[this._snakingTailRings].shift(),this._snakingTailVertices>=this._snakeLatLngs[this._snakingTailRings].length-1){if(this._snakingTailRings>=this._snakeLatLngs.length-1)return this._snakeOutEnd();this._snakingTailVertices=0,this._latlngs[this._snakingTailRings]=[],this._snakingTailRings++,this._latlngs[this._snakingTailRings].shift()}this._snakingTailDistance-=i,t=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices]),s=this._map.latLngToContainerPoint(this._snakeLatLngs[this._snakingTailRings][this._snakingTailVertices+1]),i=t.distanceTo(s)}this._snakingTailDistance+=e;const a=this._snakingTailDistance/i,n=s.multiplyBy(a).add(t.multiplyBy(1-a)),r=this._map.containerPointToLatLng(n);return this._latlngs[this._snakingTailRings].unshift(r),this},_snakeInEnd:function(){return this._snakingIn=!1,this._snakingOut||this.setLatLngs(this._snakeLatLngs),this.fire("snakeend"),this.fire("snakeInEnd"),this},_snakeOutEnd:function(){return this._snakingOut=!1,this.fire("snakeOutEnd"),this},snakeReset:function(){return this._snakingIn=this._snakingOut=!1,this._snakeLatLngs&&this.setLatLngs(this._snakeLatLngs),this},snakePause:function(){this._snakingPaused=!0,this._snakingPauseTime=performance.now()},snakeUnpause:function(){if(!this._snakingPaused)return;this._snakingPaused=!1;const t=performance.now(),s=t-this._snakingPauseTime;this._snakingPauseTime=0,this._snakingTime+=s,e.Util.requestAnimFrame(this._snake,this)}}),e.Polyline.mergeOptions({snakingSpeed:200,followHead:!1}),e.LayerGroup.include({_snakingLayers:[],_snakingLayersDone:0,_snakingTailLayersDone:0,_snakingIn:!1,_snakingOut:!1,_snakeTimeoutsId:[],snakeIn:function(){if("performance"in window&&"now"in window.performance&&this._map&&!this._snakingIn&&!this._snakingOut){if(this._snakingIn=!0,this._snakingLayersDone=0,0===this._snakingLayers.length&&this._initSnakingLayers(),this.options.snakeRemoveLayers)this.clearLayers();else for(const t in this._snakingLayers)this._snakingLayers[t]instanceof e.Polyline&&this.removeLayer(this._snakingLayers[t]);return this.fire("snakestart"),this.fire("snakeInStart"),this._snakeHeadNext()}},snakeOut:function(){if("performance"in window&&"now"in window.performance&&this._map&&!this._snakingOut)return this._snakingOut=!0,this._snakingTailLayersDone=0,this.fire("snakeOutStart"),this._snakeTailNext()},_initSnakingLayers:function(){const e=Object.keys(this._layers);for(const t in e){const s=e[t];this._snakingLayers.push(this._layers[s])}return this},_snakeHeadNext:function(){if(!this._snakingIn)return this;if(this._snakingLayersDone>=this._snakingLayers.length)return this.fire("snakeend"),this.fire("snakeInEnd"),void(this._snakingIn=!1);const e=this._snakingLayers[this._snakingLayersDone];return this._snakingLayersDone++,this.getLayer(e)||this.addLayer(e),"snakeIn"in e?(e.once("snakeInEnd",(function(){this._snakeTimeoutsId.push(setTimeout(this._snakeHeadNext.bind(this),this.options.snakingPause))}),this),e.snakeIn()):this._snakeTimeoutsId.push(setTimeout(this._snakeHeadNext.bind(this),this.options.snakingPause)),this.fire("snake"),this},_snakeTailNext:function(){if(!this._snakingOut)return this;if(this.options.snakeRemoveLayers&&this.removeLayer(this._snakingLayers[this._snakingTailLayersDone-1]),this._snakingTailLayersDone>=this._snakingLayers.length)return this.fire("snakeOutEnd"),void(this._snakingOut=!1);const e=this._snakingLayers[this._snakingTailLayersDone];return this._snakingTailLayersDone++,"snakeOut"in e?(e.once("snakeOutEnd",(function(){this._snakeTimeoutsId.push(setTimeout(this._snakeTailNext.bind(this),this.options.snakingPause))}),this),e.snakeOut()):this._snakeTimeoutsId.push(setTimeout(this._snakeTailNext.bind(this),this.options.snakingPause)),this.fire("snake"),this},snakeReset:function(){this._snakingIn=!1,this._snakingOut=!1,0===this._snakingLayers.length&&this._initSnakingLayers();for(const e in this._snakeTimeoutsId)clearTimeout(e);this._snakeTimeoutsId=[];for(const t in this._snakingLayers)this._snakingLayers[t]instanceof e.Polyline&&this._snakingLayers[t].snakeReset(),this.getLayer(this._snakingLayers[t])||this.addLayer(this._snakingLayers[t]);return this}}),e.LayerGroup.mergeOptions({snakingPause:200,snakeRemoveLayers:!0})}),T=function(){var e=this,t=e._self._c;return t("div",{staticClass:"absolute-bottom-left absolute-bottom-right",attrs:{id:"queue"}},[t("q-tab-panels",{staticStyle:{background:"rgba(0, 0, 0, .5)"},attrs:{animated:""},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.activeDevicesID,(function(s){return t("q-tab-panel",{key:`tab-panel-${s}`,staticClass:"no-padding no-scroll",attrs:{name:s.toString()}},[t("queue-item",{key:`tab-pane-${s}`,attrs:{id:s,messages:e.messages[s],date:e.date,device:e.devices[s],needShowMessages:e.needShowMessages,needShowPlayer:e.needShowPlayer,player:e.player},on:{"player-value":e.playHandler,"player-play":t=>e.$emit("player-play",t),"player-pause":t=>e.$emit("player-pause",t),"player-stop":e.stopHandler,"player-speed":t=>e.$emit("player-speed",t),"player-mode":t=>e.$emit("player-mode",t),"change-need-show-messages":t=>{e.$emit("change-need-show-messages",t)},"view-on-map":t=>{e.$emit("view-on-map",t)}}})],1)})),1),e.devices.length>1?t("q-tabs",{staticClass:"bg-grey-9",attrs:{align:"left",dark:"","indicator-color":"white"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.activeDevicesID,(function(s){return t("q-tab",{key:`tab-${s}`,attrs:{name:s.toString()}},[t("div",{staticClass:"text-white"},[e.messages[s].length&&e.markers[s]?t("div",{staticClass:"color-view q-mr-xs",style:{backgroundColor:e.markers[s].color},on:{click:function(t){return t.stopPropagation(),e.changeColorHandler(s)}}}):e._e(),e._v("\n "+e._s(e.getNameById(s))+"\n ")])])})),1):e._e(),t("color-modal",{ref:"colorModal",model:{value:e.color,callback:function(t){e.color=t},expression:"color"}})],1)},L=[],q=function(){var e=this,t=e._self._c;return t("div",{style:[{height:e.height}]},[e.needShowMessages?t("div",{staticClass:"table__wrapper",style:{height:e.needShowPlayer?`calc(100% - ${e.playerHeight}px)`:"100%"}},[t("messages",{staticStyle:{height:"100%"},attrs:{messages:e.messages,item:e.device,activeDeviceId:e.id,limit:0,date:e.date,activeMessagesIds:e.activeMessagesIndexes},on:{view:e.viewMessageHandler,"view-on-map":e.viewOnMapHandler}})],1):e._e(),t("div",[t("q-resize-observer",{ref:"playerResize",on:{resize:e.onResizePayer}}),e.needShowPlayer?t("player",{ref:"player",attrs:{min:e.timeRange.min,max:e.timeRange.max,status:e.player.status,speed:e.player.speed,mode:e.player.mode,needShowMessages:e.needShowMessages},on:{"player-next":e.playerNextHandler,"player-prev":e.playerPrevHandler,"player-play":e.playerPlayHandler,"player-pause":e.playerPauseHandler,"player-stop":e.playerStopHandler,"player-speed":e.playerSpeedHandler,"switch-show-messages":e.switchShowMessages,"switch-player-mode":e.switchPlayerMode},model:{value:e.playerValue,callback:function(t){e.playerValue=t},expression:"playerValue"}}):e._e()],1)])},j=[],P=function(){var e=this,t=e._self._c;return t("div",[t("virtual-scroll-list",{ref:"scrollList",attrs:{cols:e.cols,actions:e.actions,items:e.messages,dateRange:e.dateRange,viewConfig:e.viewConfig,theme:e.theme,title:"Messages",loading:e.isLoading,autoscroll:e.needAutoscroll,scrollOffset:"10%",item:e.listItem,itemprops:e.getItemsProps},on:{"action-to-bottom":e.actionToBottomHandler,"update-cols":e.updateColsHandler,"scroll-bottom":e.scrollBottomHandler,action:e.actionHandler}},[t("div",{staticClass:"no-messages text-center",attrs:{slot:"empty"},slot:"empty"},[t("div",{staticClass:"text-white",staticStyle:{"font-size":"3rem"}},[t("div",[e._v("No messages")]),t("div",{staticStyle:{"font-size":"1.5rem"}},[e._v("and the last position is unknown")])])])]),t("message-viewer",{ref:"messageViewer",attrs:{message:"undefined"!==typeof e.selectedMessage?e.selectedMessage:{},inverted:""},on:{close:e.closeHandler}})],1)},O=[],H=s("de45"),N=function(){var e=this,t=e._self._c;return t("q-dialog",{ref:"modal",on:{hide:function(t){return e.$emit("close")}}},[t("q-card",{class:{"bg-grey-9":void 0!==e.inverted},style:{minWidth:e.$q.platform.is.mobile?"100%":"30vw"}},[t("q-card-section",{staticClass:"scroll q-pa-none",style:{height:e.$q.platform.is.mobile?"calc(100% - 52px)":""}},[t("div",{staticClass:"layout-padding q-pa-md"},e._l(e.message,(function(s,i,a){return t("div",{key:a,staticClass:"row items-center"},[t("div",{staticClass:"text-weight-bold"},[t("span",{staticClass:"message-viewer__copy text-green cursor-pointer"},[t("q-icon",{attrs:{name:"mdi-content-copy"},nativeOn:{click:function(t){return e.copy(`${i}: ${s}`)}}})],1),t("span",{staticClass:"message-viewer__name text-white"},[e._v(e._s(i)+": ")]),t("span",{staticClass:"message-viewer__value text-green"},[e._v(e._s(e.getValue(i,s)))])])])})),0)]),t("q-separator",{attrs:{color:"white"}}),t("q-card-actions",{staticClass:"bg-grey-9 text-white",attrs:{align:"right"}},[t("q-btn",{attrs:{flat:""},on:{click:function(t){return e.copy(e.message)}}},[e._v("Copy full message")]),t("q-btn",{attrs:{flat:""},on:{click:function(t){return e.$refs.modal.hide()}}},[e._v("Close")])],1)],1)],1)},R=[],z=s("cdde"),F={name:"MessageViewer",data(){return{date:c["a"]}},props:{message:{type:Object,required:!0},inverted:{type:Boolean}},methods:{show(){this.$refs.modal.show()},getValue(e,t){return"timestamp"===e?c["a"].formatDate(1e3*t,"DD/MM/YYYY HH:mm:ss"):t},copy(e){Object(z["a"])(JSON.stringify(e)).then((e=>{this.$q.notify({color:"positive",icon:"content_copy",message:"Successfully copied",timeout:1e3})}),(e=>{this.$q.notify({color:"negative",icon:"content_copy",message:"Error coping",timeout:1e3})}))}}},V=F,B=s("0016"),E=s("eb85"),Q=Object(p["a"])(V,N,R,!1,null,null,null),W=Q.exports;w()(Q,"components",{QDialog:v["a"],QCard:f["a"],QCardSection:y["a"],QIcon:B["a"],QSeparator:E["a"],QCardActions:b["a"],QBtn:g["a"]});var A=function(){var e=this,t=e._self._c;return t("div",{staticClass:"cursor-pointer",class:{"missed-items":e.item["x-flespi-status"],"bg-white-opasity":e.selected,"item--telemetry-inited":e.item["x-flespi-inited-by-telemetry"]},style:{height:`${e.itemHeight}px`,width:`${e.rowWidth}px`,borderBottom:e.item.delimiter?"solid 1px #f40":"",color:e.selected?"#333":""},on:{click:function(t){return e.itemClickHandler(e.index,e.item)}}},[e._l(e.cols,(function(s,i){return["etc"===s.__dest?t("span",{key:s.name+i,staticClass:"list__item item_etc",class:{[`item_${i}`]:!0,"item--active":e.menuCellActive&&e.menuCellActive.row===e.index&&e.menuCellActive.col===i}},[e._v(e._s(e.values.etc.value||"*Empty*"))]):t("span",{key:s.name+i,staticClass:"list__item",class:{[`item_${i}`]:!0,"item--active":e.menuCellActive&&e.menuCellActive.row===e.index&&e.menuCellActive.col===i},attrs:{title:e.values[s.name].value}},[e._v("\n "+e._s(e.values[s.name].value)+"\n ")])]}))],2)},U=[],Y={props:["item","index","actions","cols","itemHeight","etcVisible","rowWidth","actionsVisible","selected","menuCellActive"],data(){return{date:c["a"]}},computed:{values(){let e={};return e=this.cols.length?this.cols.reduce(((e,t,s,i)=>(e[t.name]={value:this.getValueOfProp(t,this.item)},s===i.length-1&&(e.etc={value:""}),e)),{}):{etc:{value:""}},Object.keys(this.item).forEach((t=>{e[t]||(-1!==t.indexOf("image.bin.")?e.etc.value+=`${t}: `:e.etc.value+=`${t}: ${JSON.stringify(this.item[t])}; `)})),e}},methods:{clickHandler(e,t,s){this.$emit("action",{index:e,type:t,content:s})},itemClickHandler(e,t){this.$emit("item-click",{index:e,content:t})},getValue(e){return"string"===typeof e?e:JSON.stringify(e)},getValueOfProp(e,t){const s=e.name;let i=t[s];return s.match(/timestamp$/)?i=c["a"].formatDate(1e3*i,"DD/MM/YYYY HH:mm:ss"):-1!==s.indexOf("image.bin.")?i="":"string"!==typeof i&&(i=JSON.stringify(i)),i}}},G=Y,Z=(s("b877"),Object(p["a"])(G,A,U,!1,null,null,null)),J=Z.exports;const K={actions:[{icon:"mdi-eye",label:"Show message",classes:"",type:"view"}],viewConfig:{needShowFilter:!1,needShowDate:!1,needShowEtc:!0},theme:{color:"white",bgColor:"grey-9",contentInverted:!0,controlsInverted:!0}};var X={props:["mode","item","activeDeviceId","limit","messages","date","activeMessagesIds"],data(){const e=document.createElement("style");e.type="text/css";const t=document.head||document.getElementsByTagName("head")[0],s=t.appendChild(e);return{listItem:J,selectedMessage:void 0,dynamicCSS:s,theme:K.theme,viewConfig:K.viewConfig,actions:K.actions,moduleName:this.activeDeviceId,autoscroll:!0}},computed:{storedMessages(){const e=this.$store.state.messages[this.moduleName].messages;return this.scrollControlling(e.length),e},cols:{get(){return this.$store.state.messages[this.moduleName].cols},set(e){this.$store.commit(`messages/${this.moduleName}/updateCols`,e)}},from:{get(){return this.$store.state.messages[this.moduleName].from},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setFrom`,e)}},to:{get(){return this.$store.state.messages[this.moduleName].to},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setTo`,e)}},dateRange(){return[this.$store.state.messages[this.moduleName].from,this.$store.state.messages[this.moduleName].to]},reverse:{get(){return this.$store.state.messages[this.moduleName].reverse||!1},set(e){this.$store.commit(`messages/${this.moduleName}/setReverse`,e)}},currentLimit:{get(){return this.$store.state.messages[this.moduleName].limit},set(e){e=e||0,this.$store.commit(`messages/${this.moduleName}/setLimit`,e)}},selected:{get(){const e=this.$store.state.messages[this.moduleName].selected,t=e.slice(-1)[0];return void 0!==t&&this.scrollToSelected(t),e},set(e){e&&e.length&&(this.autoscroll=!1),this.$store.commit(`messages/${this.moduleName}/setSelected`,e)}},realtimeEnabled(){return this.$store.state.messages[this.moduleName].realtimeEnabled},isLoading(){return this.$store.state.messages[this.moduleName].isLoading},needAutoscroll(){return this.realtimeEnabled&&!this.selected.length&&this.autoscroll}},methods:{getItemsProps(e,t){const s=this.messages[e];t.key=s["x-flespi-message-key"],t.class=[`scroll-list-item--${e}`],t.props.selected=this.selected.includes(e),t.on||(t.on={}),t.on.action=this.actionHandler,t.on["item-click"]=this.viewMessageOnMap,t.dataHandler=(e,t,s)=>(this.autoscroll=!1,this.listItem.methods.getValueOfProp(e.data,t.data))},resetParams(){this.$refs.scrollList.resetParams()},updateColsHandler(e){this.cols=e},viewMessagesHandler({index:e,content:t}){this.selectedMessage=t,this.highlightSelected([e]),this.$refs.messageViewer.show(),this.$emit("view")},viewMessageOnMap({index:e,content:t}){this.selected=[e],this.$emit("view-on-map",t)},closeHandler(){let e=[];this.selectedMessage=void 0,this.activeMessagesIds.length&&(e=[this.activeMessagesIds[this.activeMessagesIds.length-1]]),this.highlightSelected(e)},actionToBottomHandler(){this.autoscroll=!0,this.$refs.scrollList.scrollTo(this.messages.length-1)},scrollBottomHandler(){this.autoscroll=!0},copyMessageHandler({index:e,content:t}){Object(z["a"])(JSON.stringify(t)).then((e=>{this.$q.notify({color:"positive",icon:"content_copy",message:"Message copied",timeout:1e3})}),(e=>{this.$q.notify({color:"negative",icon:"content_copy",message:"Error coping messages",timeout:1e3})}))},actionHandler({index:e,type:t,content:s}){switch(t){case"view":this.viewMessagesHandler({index:e,content:s});break}},unselect(){this.selected.length&&(this.selected=[])},updateDynamicCSS(e){this.dynamicCSS.styleSheet?this.dynamicCSS.styleSheet.cssText=e:this.dynamicCSS.innerText=e},highlightSelected(e){let t,s;if(e.length){const i=e[e.length-1];s=[i],t=`.scroll-list-item--${i} {background-color: rgba(255,255,255,0.7)!important; color: #333;}`}else s=[],t="";this.selected=s,this.updateDynamicCSS(t)},scrollToSelected(e){if("number"===typeof e&&e>=0&&this.$refs.scrollList){const t=this.$refs.scrollList.itemsCount;let s=e-Math.floor(t/2);s<0&&(s=0),this.$refs.scrollList.scrollTo(s)}},messageShow(e){this.selected[0]!==e[e.length-1]&&(this.highlightSelected(e),this.scrollToSelected(e[e.length-1]))},scrollControlling(e){this.selected.length&&this.selected[0]+1e3<=e&&this.$store.dispatch(`messages/${this.moduleName}/unsubscribePooling`)}},watch:{limit(e){this.currentLimit=e},activeMessagesIds(e){this.messageShow(e)}},created(){this.currentLimit=this.limit,this.highlightSelected(this.activeMessagesIds)},destroyed(){this.$store.commit(`messages/${this.moduleName}/clearSelected`),this.dynamicCSS.parentNode.removeChild(this.dynamicCSS)},components:{VirtualScrollList:H["a"],MessageViewer:W}},ee=X,te=(s("5198"),Object(p["a"])(ee,P,O,!1,null,null,null)),se=te.exports,ie=function(){var e=this,t=e._self._c;return t("div",{staticClass:"row",staticStyle:{"background-color":"#424242"},style:{height:e.needShowMessages?"auto":"100%"}},[t("div",{staticClass:"col-12 col-md-auto"},[t("q-btn",{attrs:{icon:"dvr",color:e.needShowMessages?"blue":"white",size:e.$q.platform.is.desktop?"1rem":"md",round:"",flat:""},on:{click:function(t){return e.$emit("switch-show-messages")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Messages")]):e._e()],1),t("q-btn",{attrs:{icon:"time"===e.mode?"mdi-map-clock-outline":"mdi-map-marker-distance",disable:e.max<=e.min||"play"===e.status,color:"white",size:e.$q.platform.is.desktop?"1rem":"md",round:"",flat:""},on:{click:function(t){return e.$emit("switch-player-mode")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Change mode (Time/Data)")]):e._e()],1),t("q-btn",{staticClass:"text-white",attrs:{disable:e.max<=e.min,size:e.$q.platform.is.desktop?"1rem":"md",flat:""}},[e._v("\n x"+e._s(e.currentSpeed)+"\n "),t("q-menu",{ref:"currentSpeedPopover",staticStyle:{"background-color":"#424242"},attrs:{anchor:"top left"}},[t("div",{staticClass:"column"},e._l([100,70,50,30,10,1],(function(s){return t("q-btn",{key:s,staticClass:"text-white bg-grey-9 no-border-radius full-width",attrs:{size:e.$q.platform.is.desktop?"1rem":"md",flat:""},on:{click:function(t){return e.changeSpeed(s)}}},[e._v("\n x"+e._s(s)+"\n ")])})),1)]),e.$q.platform.is.desktop?t("q-tooltip",[e._v("currentSpeed")]):e._e()],1),t("q-btn",{directives:[{name:"touch-hold",rawName:"v-touch-hold.noMouse",value:e.playRepeatClickHandler,expression:"playRepeatClickHandler",modifiers:{noMouse:!0}}],staticClass:"text-white",attrs:{color:"play"===e.currentStatus?"blue":"white",disable:e.max<=e.min,size:e.$q.platform.is.desktop?"1rem":"md",icon:"play"===e.currentStatus?e.repeatFlag?"mdi-repeat":"mdi-pause":"mdi-play",round:"",flat:""},on:{click:[e.playClickHandler,function(t){return t.ctrlKey?e.playRepeatClickHandler.apply(null,arguments):null}]}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Play/Pause (Ctrl+Click to repeat)")]):e._e(),e.$q.platform.is.mobile?t("q-tooltip",[e._v("Play/Pause (Touch hold to repeat)")]):e._e()],1),t("q-btn",{staticClass:"text-white",attrs:{color:"white",disable:e.max<=e.min,size:e.$q.platform.is.desktop?"1rem":"md",icon:"mdi-stop",round:"",flat:""},on:{click:e.stop}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Stop")]):e._e()],1)],1),t("div",{staticClass:"col-12 col-md relative-position"},[t("q-btn",{staticClass:"absolute-left text-white",attrs:{disable:e.max<=e.min||"data"===e.mode,icon:"mdi-skip-previous",size:e.$q.platform.is.desktop?"1rem":"md",round:"",flat:""},on:{click:function(t){return e.$emit("player-prev")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Prev message")]):e._e()],1),t("div",{staticClass:"player"},[t("div",{staticClass:"player__main"},[t("div",{ref:"playerContainer",staticClass:"player__container",staticStyle:{transform:"translate3d(0,0,0)"}},[e.max>e.min&&"time"===e.mode?t("q-range",{attrs:{color:"white",min:e.min,max:e.max,step:1},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}}):e._e(),t("div",{staticClass:"player__line cursor-pointer",class:{disabled:e.max<=e.min||"data"===e.mode},on:{click:e.clickLineHandler}},[t("div",{staticClass:"line line__disabled line__disabled--left",style:{width:100*(e.rangeMin-e.min)/(e.max-e.min)+"%"}}),t("div",{staticClass:"line line__active",style:{left:`${"time"===e.mode?e.current:0}%`,width:100-("time"===e.mode?e.current:0)-(e.max>0?100/e.max*(e.max-e.rangeMax):0)+"%"}}),t("div",{staticClass:"line line__disabled line__disabled--right",style:{width:100/(e.max-e.min)*(e.max-e.rangeMax)+"%"}})]),t("div",{directives:[{name:"touch-pan",rawName:"v-touch-pan.horizontal.mouse",value:e.dragPlayerControl,expression:"dragPlayerControl",modifiers:{horizontal:!0,mouse:!0}}],staticClass:"player__control cursor-pointer",class:{"player__control--mobile":e.$q.platform.is.mobile,"player__control--disabled":e.max<=e.min||"data"===e.mode,disabled:e.max<=e.min||"data"===e.mode},style:{left:`${"time"===e.mode?e.current:0}%`}})],1)])]),t("q-btn",{staticClass:"absolute-right text-white",attrs:{disable:e.max<=e.min||"data"===e.mode,icon:"mdi-skip-next",size:e.$q.platform.is.desktop?"1rem":"md",round:"",flat:""},on:{click:function(t){return e.$emit("player-next")}}},[e.$q.platform.is.desktop?t("q-tooltip",[e._v("Next message")]):e._e()],1)],1)])},ae=[],ne=s("b047c"),re=s.n(ne),oe=s("0f32"),le=s.n(oe),ce={name:"Player",props:["min","max","value","status","speed","mode","needShowMessages"],data(){return{currentStatus:this.status,currentValue:this.value,rangeMin:this.min,rangeMax:this.max,timer:0,currentMode:this.mode,currentSpeed:this.speed,percentsByPixel:0,current:0,repeatFlag:!1}},computed:{range:{get(){return{min:this.rangeMin,max:this.rangeMax}},set(e){this.pause(),this.currentValue<=e.min&&(this.currentValue=e.min),this.currentValue>e.max&&(this.currentValue=e.max,this.end()),this.rangeMin=e.min,this.rangeMax=e.max}}},mounted(){this.$refs.playerContainer&&(this.percentsByPixel=100/this.$refs.playerContainer.offsetWidth)},watch:{currentValue:le()((function(e){this.$emit("input",Math.round(e))}),100,{trailing:!0}),currentSpeed:re()((function(e){this.$refs.currentSpeedPopover.hide(),"play"===this.currentStatus&&(this.pause(),this.$nextTick(this.play))}),100),value(e){const t=(e-this.min)/(this.max-this.min)*100;if(this.checkNeedRedraw(t),e===this.currentValue)return!1;this.currentValue=e},min(e,t){this.rangeMin===t&&(this.rangeMin=e)},max(e,t){this.rangeMax===t&&(this.rangeMax=e)},status(e,t){e!==this.currentStatus&&(this.currentStatus=e,"play"!==e&&"pause"!==e||this.playClickHandler(),"stop"===e&&this.stop())},mode(e){this.currentMode=e,this.current=0,this.currentValue=this.min,this.timer&&clearInterval(this.timer)}},methods:{checkNeedRedraw(e){Math.abs(e-this.current)>=this.percentsByPixel&&(this.current=e)},playRepeatClickHandler(){this.repeatFlag=!this.repeatFlag,"pause"===this.currentStatus&&this.playClickHandler()},playClickHandler(){switch(this.currentStatus){case"stop":case"pause":this.play();break;case"play":this.pause();break}},emit(e){status!==this.currentStatus&&this.$emit(`player-${e}`)},stop(){this.timer&&(clearInterval(this.timer),this.timer=0,"play"===this.currentStatus&&(this.currentStatus="stop",this.currentValue=this.min)),this.emit("stop")},changeCurrent(){const e=this.currentValue+1;if(e>this.rangeMax)return this.pause(),!1;this.currentValue=e},changeSpeed(e){this.currentSpeed=e,this.$emit("player-speed",e)},play(){"pause"!==this.currentStatus&&"stop"!==this.currentStatus||(this.currentStatus="play",this.emit("play")),this.currentValue===this.max&&(this.currentValue=this.min),this.timer=setInterval(this.changeCurrent,1e3/this.currentSpeed)},pause(){if(this.repeatFlag&&this.currentValue===this.max)return setTimeout((()=>{this.currentValue=this.min}),600),!1;this.timer&&(clearInterval(this.timer),this.timer=0,"play"===this.currentStatus&&(this.end(),this.currentStatus="pause",this.emit("pause")))},end(){this.value!==this.currentValue&&setTimeout((()=>{this.$emit("input",this.currentValue)}),100)},getPlayerParams(){const e=this.$refs.playerContainer,t=e.getBoundingClientRect().left,s=e.offsetWidth,i=s/(this.max-this.min);return{left:t,width:s,step:i}},dragPlayerControl(e){if(this.max<=this.min||"data"===this.mode)return!1;const{left:t,step:s}=this.getPlayerParams();let i=this.min+(e.position.left-t)/s;ithis.rangeMax&&(i=this.rangeMax),this.currentValue=e.isFinal?Math.round(i):i},clickLineHandler(e){if(this.max<=this.min||"data"===this.mode)return!1;const t=e.clientX,{left:s,step:i}=this.getPlayerParams(),a=this.min+(t-s)/i;if(this.currentValue!==a){if(athis.rangeMax)return!1;this.currentValue=Math.round(a)}}},beforeDestroy(){this.stop()}},he=ce,de=(s("9472"),s("4e73")),me=s("7bbf"),pe=s("c1d0"),ge=s("f449"),ue=s("75c3"),ve=Object(p["a"])(he,ie,ae,!1,null,null,null),fe=ve.exports;w()(ve,"components",{QBtn:g["a"],QTooltip:u["a"],QMenu:de["a"],QRange:me["a"],QSlider:pe["a"]}),w()(ve,"directives",{TouchHold:ge["a"],TouchPan:ue["a"]});var ye={name:"QueueItem",props:["id","messages","date","device","needShowMessages","needShowPlayer","player"],data(){return{playerMode:this.player.mode||"time",playerValue:0,playerStatus:"stop",playerHeight:0,activeMessagesIndexes:[],messagesFlag:this.needShowMessages}},computed:{timeRange(){return this.messages.length?{min:Math.floor(this.messages[0].timestamp),max:Math.floor(this.messages[this.messages.length-1].timestamp)}:{min:0,max:0}},indexesByTimestamp(){return this.messages.reduce(((e,t,s)=>{const i=Math.floor(t.timestamp);return e[i]||(e[i]=[]),e[i].push(s),e}),{})},height(){return this.needShowMessages&&this.needShowPlayer?`calc(22vh + ${this.playerHeight}px)`:this.needShowMessages&&!this.needShowPlayer?"22vh":!this.needShowMessages&&this.needShowPlayer?`${this.playerHeight}px`:"0vh"}},mounted(){this.$refs.playerResize&&this.$refs.playerResize.trigger()},methods:{getCurrentActiveTimestamp(){let e=0;const t=Object.keys(this.indexesByTimestamp);return t.every(((t,s)=>this.playerValue>=t&&(e=t,!0))),e},update(e){"time"===this.playerMode&&(this.$emit("player-value",{id:this.id,messagesIndexes:this.indexesByTimestamp[e]}),this.activeMessagesIndexes=this.indexesByTimestamp[e]||[])},playerNextHandler(){const e=Object.keys(this.indexesByTimestamp),t=e.indexOf(this.getCurrentActiveTimestamp());if(t===e.length-1)return this.$q.notify({message:"That`s last message",color:"info",position:"bottom-left"}),!1;this.playerValue=e[t+1]},playerPrevHandler(){const e=Object.keys(this.indexesByTimestamp),t=e.indexOf(this.getCurrentActiveTimestamp());if(0===t)return this.$q.notify({message:"That`s first message",color:"info",position:"bottom-left"}),!1;this.playerValue=e[t-1]},playerPlayHandler(){this.playerStatus="play",this.playerValue||(this.playerValue=Math.floor(this.messages[0].timestamp)),this.$emit("player-play",{id:this.id})},playerPauseHandler(){this.playerStatus="pause",this.$emit("player-pause",{id:this.id})},playerStopHandler(){this.playerStatus="stop",this.messages.length?this.playerValue=Math.floor(this.messages[0].timestamp):this.playerValue=0,this.$emit("player-stop",{id:this.id})},playerSpeedHandler(e){this.$emit("player-speed",{id:this.id,speed:e})},viewMessageHandler(){this.$refs.player&&"stop"!==this.playerStatus&&this.$refs.player.stop()},viewOnMapHandler(e){this.$emit("view-on-map",e)},switchShowMessages(){this.messagesFlag=!this.messagesFlag,this.$emit("change-need-show-messages",this.messagesFlag)},switchPlayerMode(){this.playerMode="data"===this.playerMode?"time":"data",this.$emit("player-mode",{mode:this.playerMode,id:this.id})},onResizePayer(e){this.playerHeight=e.height}},watch:{playerValue(e,t){let s=0,i=!0;const a=Object.keys(this.indexesByTimestamp);a.every(((n,r)=>e>=n?(s=n,r===a.length-1&&(i=!1),!0):((t>=n||tthis.activeDevicesID.includes(e.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{}),playerValue:0,currentColorModel:"#fff",currentColorId:0}},computed:{color:{get(){return this.currentColorModel},set(e){this.$emit("update-color",{id:this.currentColorId,color:e}),this.currentColorModel=e}}},methods:{getNameById(e){return this.devices.filter((t=>t.id===e))[0].name||`<#${e}>`},playHandler(e){this.$emit("player-value",e)},stopHandler(e){this.$emit("player-stop",e)},changeColorHandler(e){this.currentColorId=e,this.currentColorModel=this.markers[e].color,this.$refs.colorModal.show()}},created(){this.activeDevicesID.length&&this.$emit("change-selected",parseInt(this.activeDevicesID[0]))},watch:{devices:{deep:!0,handler(e){this.telemetryOfActiveDevices=e.filter((e=>this.activeDevicesID.includes(e.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{})}},activeDevicesID(e){this.telemetryOfActiveDevices=this.devices.filter((t=>e.includes(t.id))).reduce(((e,t)=>(e[t.id]=t.telemetry?t.telemetry:null,e)),{}),e.length||(this.selected=""),this.selected&&e.includes(parseInt(this.selected))||!e.length||(this.selected=e[0].toString())},telemetryDeviceId(e){e&&(this.selected=e.toString())},selected(e){this.$emit("change-selected",parseInt(e))}},components:{QueueItem:we,ColorModal:Ie}},Le=Te,qe=(s("4c26"),s("adad")),je=s("823b"),Pe=s("429b"),Oe=s("7460"),He=Object(p["a"])(Le,T,L,!1,null,null,null),Ne=He.exports;w()(He,"components",{QTabPanels:qe["a"],QTabPanel:je["a"],QTabs:Pe["a"],QTab:Oe["a"],QColor:Ce["a"]});var Re=s("e24f"),ze=s("bc78"),Fe=s("1c16");s("1732");function Ve(e,t,s){const i=`\n \n \n \n \n `,a=`\n
${i}
\n ${s?`
${e}
`:""}\n `;return a}var Be=s("ef44");I(x);var Ee={name:"Map",props:["params","deviceIdForWatch","activeDevices","delay","date"],data(){return{map:null,flyToZoom:15,markers:{},tracks:{},telemetryDeviceId:-1,activeDeviceID:0,activeDevicesID:[],selected:null,currentColorModel:"#fff",currentColorId:0,player:{currentMsgIndex:null,speed:10,status:"stop",mode:"time",tailInterval:0}}},computed:{...Object(r["d"])({messages(e){return this.activeDevicesID.reduce(((t,s)=>(t[s]=e.messages[s].messages.reduce(((e,t,s)=>(t["position.latitude"]&&t["position.longitude"]&&(!t.hasOwnProperty("position.valid")||t.hasOwnProperty("position.valid")&&!0===t["position.valid"])&&(Object.defineProperty(t,"x-flespi-message-index",{value:s,enumerable:!1}),e.push(t)),e)),[]),t)),{})},allMessages(e){return this.activeDevicesID.reduce(((t,s)=>(t[s]=e.messages[s].messages,t)),{})}}),color:{get(){return this.currentColorModel},set(e){this.updateColorHandler({id:this.currentColorId,color:e}),this.currentColorModel=e}},mapHeight(){let e="100%";return this.activeDevices.length?1===this.activeDevices.length?(this.params.needShowPlayer&&(e="calc(100% - 48px)"),e):(this.params.needShowPlayer?e="calc(100% - 95px)":this.params.needShowMessages&&(e="calc(100% - 48px)"),e):e}},methods:{initMap(){if(!this.map){let t=x["tileLayer"]("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{minZoom:3,noWrap:!0});this.map=x["map"]("map",{center:[51.50853,-.12574],zoom:3,maxBounds:[[90,-180],[-90,180]],layers:[t]}),this.map.addEventListener("zoom",(e=>{e.flyTo||(this.flyToZoom=e.target.getZoom())})),this.map.addEventListener("click",this.mapClickHandler);let s=x["tileLayer"]("//server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",{minZoom:3,noWrap:!0,attribution:"© ArcGIS"}),i=x["tileLayer"]("//{s}.tile.opentopomap.org/{z}/{x}/{y}.png",{minZoom:3,maxZoom:19,attribution:"Map data: © OpenStreetMap contributors, SRTM | Map style: © OpenTopoMap (CC-BY-SA)",noWrap:!0}),a=x["tileLayer"].wms("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{layers:"semitransparent",transparent:"true",format:"image/png",maxZoom:21,opacity:.5});var e={OpenStreetMap:t,Satellite:s,OpenTopoMap:i};x["control"].layers(e,{"OpenStreetMaps (0.5)":a}).addTo(this.map),x["control"].polylineMeasure({position:"topleft",showBearings:!1,clearMeasurementsOnStop:!1,showUnitControl:!1,showClearControl:!0,measureControlTitleOn:"Turn on ruler",measureControlTitleOff:"Turn off ruler",tooltipTextFinish:"Click to finish line
",tooltipTextDelete:"Press SHIFT-key and click to delete point",tooltipTextMove:"Click and drag to move point
",tooltipTextResume:"
Press CTRL-key and click to resume line",tooltipTextAdd:"Press CTRL-key and click to add point"}).addTo(this.map)}},flyToWithHideTracks(e,t){const s=[];let i=!1;console.log(e),console.trace(),this.map.once("zoomstart",(e=>{console.log(2);const a=e.target._zoom;a!==t&&(i=!0,Object.keys(this.tracks).forEach((e=>{const t=this.tracks[e];t instanceof x["Polyline"]&&(t.tail&&t.tail instanceof x["Polyline"]&&this.map.hasLayer(t.tail)&&(this.map.removeLayer(t.tail),s.push(t.tail)),t.overview&&t.overview instanceof x["Polyline"]&&this.map.hasLayer(t.overview)&&(this.map.removeLayer(t.overview),s.push(t.overview)),t.overview&&this.map.hasLayer(t.overview)&&(this.map.removeLayer(t),s.push(t)))})))})),this.map.once("zoomend",(e=>{console.log(3),i&&s.forEach((e=>{this.map.addLayer(e)}))})),this.map.flyTo(e,t)},generateIcon(e,t,s){return x["divIcon"]({className:`my-div-icon icon-${e}`,iconSize:new x["Point"](20,35),html:Ve(t,s,this.params.needShowNamesOnMap)})},getColor(){const e="0123456789ABCDEF";let t=`#${e[Math.floor(5*Math.random())]}`;for(let s=0;s<5;s++)t+=e[Math.floor(15*Math.random())];return t},getColorById(e){let t=Object(Be["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors"});return t||(t={}),t[e]||(t[e]=this.getColor()),Object(Be["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors",value:t}),t[e]},setColorById(e,t){let s=Object(Be["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors"});return s||(s={}),s[e]=t,Object(Be["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"colors",value:s}),s[e]},getAccuracyParams(e){const t=[e["position.latitude"],e["position.longitude"]],s=e["position.hdop"]||e["position.pdop"]||0,i={stroke:!0,color:"#444",weight:3,opacity:.5,fillOpacity:.15,fillColor:"#444",clickable:!1};return{position:t,accuracy:s,circleStyle:i}},updateMarkerDirection(e,t){if(t){const s=document.querySelector(`.icon-${e} .my-div-icon__inner`);s&&(s.style.transform=`rotate(${t||0}deg)`)}},updateMarker(e,t,s){this.updateMarkerDirection(e,s),this.markers[e].setLatLng(t).update()},initMarker(e,t,s){const i=this.messages[e][this.messages[e].length-1]["position.direction"]?this.messages[e][this.messages[e].length-1]["position.direction"]:0,a=this.tracks[e]&&this.tracks[e].options?this.tracks[e].options.color:this.markers[e]?this.markers[e].color:this.getColorById(e);this.markers[e]=x["marker"](s,{icon:this.generateIcon(e,t,a),draggable:!1,title:t}),this.markers[e].id=e,this.markers[e].color=a;const{position:n,accuracy:r,circleStyle:o}=this.getAccuracyParams(this.messages[e][this.messages[e].length-1]);this.markers[e].accuracy=x["circle"](n,r,o),this.markers[e].accuracy.addTo(this.map),this.markers[e].addEventListener("add",(t=>{this.updateMarkerDirection(e,i),this.messages[e]&&this.messages[e].length&&(this.deviceIdForWatch,parseInt(e))})),this.markers[e].addEventListener("click",(t=>{this.telemetryDeviceId=parseInt(e),this.$emit("update-telemetry-device-id",this.telemetryDeviceId)})),this.markers[e].addEventListener("move",(t=>{"stop"===this.player.status&&this.updateMarkerDirection(e,this.messages[e][this.messages[e].length-1]["position.direction"])})),this.markers[e].addEventListener("contextmenu",(t=>{this.currentColorId=e,this.currentColorModel=this.markers[e].color,this.$refs.colorModal.show()})),this.markers[e].addTo(this.map)},initDeviceOnMap(e){const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0];this.markers[e]||(this.markers[e]={},this.markers[e].id=e,this.markers[e].color=this.getColorById(e),this.tracks[e]={});const s=this.messages[e]&&this.messages[e].length;if(!s)return!1;const i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]],a=t.name||`#${e}`;if(this.initMarker(e,a,i),this.tracks[e]=x["polyline"](this.getLatLngArrByDevice(e),{weight:5,color:this.markers[e].color}).addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e]))),parseInt(e)===this.selected){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}},updateDeviceOnMap(e){const t=this.getLatLngArrByDevice(e),s=this.deviceIdForWatch&&this.deviceIdForWatch===e&&this.markers[this.deviceIdForWatch]&&this.markers[this.deviceIdForWatch]instanceof x["Marker"]?this.markers[this.deviceIdForWatch].getLatLng():{},i=this.deviceIdForWatch&&this.messages[this.deviceIdForWatch]&&this.messages[this.deviceIdForWatch].length&&s.lat&&s.lat!==this.messages[this.deviceIdForWatch][this.messages[this.deviceIdForWatch].length-1]["position.latitude"]&&s.lng&&s.lng!==this.messages[this.deviceIdForWatch][this.messages[this.deviceIdForWatch].length-1]["position.longitude"];if(i){console.log(e);const s=t[t.length-1];s&&this.flyToWithHideTracks(s,this.flyToZoom)}if(t.length){if(!(this.markers[e]instanceof x["Marker"])){const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0].name||`#${e}`,s=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]];this.initMarker(e,t,s)}if(this.tracks[e]instanceof x["Polyline"]||(this.tracks[e]=x["polyline"](this.getLatLngArrByDevice(e),{weight:4,color:this.markers[e]?this.markers[e].color:this.getColorById(e)}).addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e])))),this.markers[e].setLatLng(t[t.length-1]).update(),this.markers[e].accuracy.setRadius(this.getAccuracyParams(this.messages[e][this.messages[e].length-1]).accuracy),this.markers[e].accuracy.setLatLng(t[t.length-1]),this.markers[e].setOpacity(1),this.tracks[e].setLatLngs(t),parseInt(e)===this.selected&&!this.$store.state.messages[e].realtimeEnabled){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}}else this.removeFlags(e),this.tracks[e].tail&&this.tracks[e].tail instanceof x["Polyline"]&&this.tracks[e].tail.remove(),this.tracks[e].overview&&this.tracks[e].overview instanceof x["Polyline"]&&this.tracks[e].overview.remove(),this.markers[e].accuracy&&this.map.removeLayer(this.markers[e].accuracy),this.map.removeLayer(this.tracks[e]),this.map.removeLayer(this.markers[e]),this.tracks[e]={},this.markers[e]={color:this.markers[e].color||void 0,id:e}},getLatLngArrByDevice(e){return this.messages[e]?this.messages[e].reduce(((e,t)=>(e.push([t["position.latitude"],t["position.longitude"]]),e)),[]):[]},onResize(){this.map&&this.map.invalidateSize()},removeMarker(e){this.markers[e]&&this.markers[e]instanceof x["Marker"]&&(this.removeFlags(e),this.map.removeLayer(this.markers[e].accuracy),this.markers[e].remove(),this.tracks[e].tail&&this.tracks[e].tail instanceof x["Polyline"]&&this.tracks[e].tail.remove(),this.tracks[e].overview&&this.tracks[e].overview instanceof x["Polyline"]&&this.tracks[e].overview.remove(),this.tracks[e].remove()),n["default"].delete(this.markers,e),n["default"].delete(this.tracks,e)},flyToDevice(e){const t=this.activeDevices.filter((t=>t.id===e)),s=t.length?t[0]:null;let i=s&&[];this.messages[e]&&this.messages[e].length&&(i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]),i.length?this.flyToWithHideTracks(i,this.flyToZoom):this.$q.notify({message:"No Position!",color:"warning"})},centerOnDevice(e){const t=this.activeDevices.filter((t=>t.id===e)),s=t.length?t[0]:null;let i=s&&[];this.messages[e]&&this.messages[e].length&&(i=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]),i.length?this.map.setView(i,14,{animation:!1}):this.$q.notify({message:"No Position!",color:"warning"})},generateFlag(e){let{id:t,status:s}=e||{},i=t?this.getColorById(t):"#e53935",a="map-marker-star-outline";return"start"===s?(i=ze["a"].getBrand("primary"),a="map-marker-outline"):"stop"===s&&(i=ze["a"].getBrand("positive"),a="map-marker-check"),x["divIcon"]({className:`my-flag-icon flag-${s}-${t}`,iconSize:new x["Point"](35,35),html:``})},addFlags(e){if(!this.markers[e])return!1;if(this.markers[e].flags||(this.markers[e].flags={start:{},stop:{}}),this.messages[e].length){const t=[this.messages[e][0]["position.latitude"],this.messages[e][0]["position.longitude"]],s=[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]];this.markers[e].flags.start=x["marker"](t,{icon:this.generateFlag({id:e,status:"start"})}),this.markers[e].flags.start.addTo(this.map),this.markers[e].flags.stop=x["marker"](s,{icon:this.generateFlag({id:e,status:"stop"})});const i=this.$store.state.messages[e].to<=Date.now();i&&this.markers[e].flags.stop.addTo(this.map)}},removeFlags(e){if(!this.markers[e]||!this.markers[e].flags||!(this.markers[e].flags.start instanceof x["Marker"])||!(this.markers[e].flags.stop instanceof x["Marker"]))return!1;this.markers[e].flags.start.remove(),this.markers[e].flags.stop.remove(),this.markers[e].flags=void 0},async getDeviceData(e){if(e){this.$store.state.messages[e].realtimeEnabled&&await this.$store.dispatch(`messages/${e}/unsubscribePooling`),this.$store.commit(`messages/${e}/clearMessages`);const t=this.date[0],s=this.date[1];if(this.$store.commit(`messages/${e}/setFrom`,t),this.$store.commit(`messages/${e}/setTo`,s),await this.$store.dispatch(`messages/${e}/get`),s>Date.now()){const t=await this.$store.dispatch(`messages/${e}/pollingGet`);t()}this.addFlags(e),this.$store.state.messages[e].messages.length||await this.$store.dispatch("getInitDataByDeviceId",e)}},async initDevice(e){this.$q.loading.show(),e&&(this.$store.commit(`messages/${e}/setActive`,e),await this.$store.dispatch(`messages/${e}/getCols`,{actions:!0,etc:!0}),await this.getDeviceData(e)),n["default"].connector.socket.on("offline",(()=>{this.$store.commit(`messages/${e}/setOffline`)})),n["default"].connector.socket.on("connect",(()=>{this.$store.state.messages[e].offline&&(this.$store.commit(`messages/${e}/setReconnected`),this.$store.dispatch(`messages/${e}/getMissedMessages`))})),this.needInitWatchingDevice&&e===this.deviceIdForWatch&&(this.telemetryDeviceId=parseInt(e),this.$emit("update-telemetry-device-id",this.telemetryDeviceId),this.centerOnDevice(e)),this.$q.loading.hide()},initActiveDeviceID(e){this.activeDeviceID=e||0},viewOnMapHandler(e){if(e["position.latitude"]&&e["position.longitude"]){const t=[e["position.latitude"],e["position.longitude"]],s=this.map.getZoom();this.map.messagePoint&&this.map.messagePoint.remove(),this.map.messagePoint=x["marker"](t,{icon:x["divIcon"]({className:"my-round-marker-wrapper",iconSize:new x["Point"](10,10),html:'
'})}),this.map.messagePoint.addTo(this.map),this.flyToWithHideTracks(t,s>12?s:12)}else this.$q.notify({message:"No position",color:"warning",position:"bottom-left",icon:"mdi-alert-outline"})},playProcess(e,t){const s="data"===this.player.mode?0:1;switch(t){case"value":s?this.playerTimeValue(e):this.playerDataValue(e);break;case"play":if("play"===this.player.status)return;s?this.playerTimePlay(e):this.playerDataPlay(e);break;case"stop":if("stop"===this.player.status)return;s?this.playerTimeStop(e):this.playerDataStop(e);break;case"pause":if("pause"===this.player.status)return;s?this.playerTimePause(e):this.playerDataPause(e);break}},playerTimeValue({id:e,messagesIndexes:t}){if(!this.messages[e]||!t||"play"!==this.player.status)return!1;let s=0,i=null;const a=t[t.length-1],n=0,r=this.messages[e].slice(n,a+1),o=r.reduce(((e,t,s)=>("number"===typeof t["position.latitude"]&&"number"===typeof t["position.longitude"]&&(i=s,e.push([t["position.latitude"],t["position.longitude"]])),e)),[]);if(t.forEach((a=>{if(this.markers[e]&&this.markers[e]instanceof x["Marker"]){const n=this.messages[e][a],r=n&&"number"===typeof n["position.latitude"]&&"number"===typeof n["position.longitude"];if(this.player.currentMsgIndex=a,r){const i=[n["position.latitude"],n["position.longitude"]];if("play"===this.player.status&&0!==t[0]){let r=1e3/this.player.speed/t.length;if(0!==a){const t=this.messages[e][a-1].timestamp,i=n.timestamp,o=i-t;r=1e3*o/this.player.speed,s=o}r-=50,r?this.markers[e].slideTo(i,{duration:r}):this.markers[e].setLatLng(i).update(),this.updateMarkerDirection(e,n["position.direction"])}else this.markers[e].setLatLng(i).update(),this.updateMarker(e,i,n["position.direction"]);this.markers[e].accuracy.setRadius(this.getAccuracyParams(n).accuracy),this.markers[e].accuracy.setLatLng(i)}else{const t=this.messages[e][i],s=o[o.length-1];this.markers[e].setLatLng(s).update(),this.updateMarker(e,s,t["position.direction"]),this.markers[e].accuracy.setRadius(this.getAccuracyParams(t).accuracy),this.markers[e].accuracy.setLatLng(s)}}})),this.tracks[e]&&this.tracks[e]instanceof x["Polyline"]&&o.length){if(!this.tracks[e].tail||!(this.tracks[e].tail instanceof x["Polyline"]))return this.tracks[e].tail=x["polyline"](o,this.tracks[e].options),this.tracks[e].tail.addTo(this.map),this.tracks[e].tail.addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e].tail))),!0;this.player.tailInterval&&clearTimeout(this.player.tailInterval),this.player.tailInterval=setTimeout((()=>{this.tracks[e].tail&&this.tracks[e].tail.setLatLngs(o)}),700*s/this.player.speed)}},playerTimePlay({id:e}){this.tracks[e]&&this.tracks[e]instanceof x["Polyline"]&&(this.tracks[e].remove(),this.player.status="play")},playerTimeStop({id:e}){if(this.tracks[e]&&this.tracks[e]instanceof x["Polyline"]){this.tracks[e].tail&&(this.tracks[e].tail.remove(),delete this.tracks[e].tail);const t=this.$store.state.messages[e].realtimeEnabled,s=t?this.messages[e].length-1:0,i=this.messages[e][s];this.$nextTick((()=>{this.player.currentMsgIndex=s?null:0})),this.player.status="stop",this.tracks[e].addTo(this.map);const a=[i["position.latitude"],i["position.longitude"]];this.updateMarker(e,a,i["position.direction"])}},playerTimePause({id:e}){this.player.status="pause"},playerDataValue({id:e}){},playerDataPlay({id:e}){if("pause"===this.player.status)return this.tracks[e].overview.snakeUnpause(),void(this.player.status="play");this.player.status="play",this.tracks[e].remove();const t=this.messages[e].map(((e,t)=>({lat:e["position.latitude"],lng:e["position.longitude"],dir:e["position.direction"],index:t})));if(t.length<2)return this.tracks[e].addTo(this.map),this.player.status="stop",void(this.player.currentMsgIndex=null);const s=x["polyline"](t,{snakingSpeed:20*this.player.speed,color:this.tracks[e].options.color});this.tracks[e].overview=s,this.tracks[e].overview.addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e].overview))),s.addTo(this.map).snakeIn(),s.on("snake",(()=>{const i=s.getLatLngs(),a=i.slice(-1)[0],n=a.slice(-1)[0],r=t[i[0].length-1];this.updateMarker(e,n,r.dir),this.player.currentMsgIndex!==r.index&&(this.player.currentMsgIndex=r.index)})),s.on("snakeInEnd",(()=>{this.playerDataStop({id:e})}))},playerDataStop({id:e}){this.player.status="stop",this.tracks[e].overview&&(this.tracks[e].overview.remove(),delete this.tracks[e].overview),this.tracks[e]&&this.tracks[e]instanceof x["Polyline"]&&(this.tracks[e].addTo(this.map),this.tracks[e].addEventListener("click",(t=>this.showMessageByTrackClick(t,e,this.tracks[e]))));const t=this.messages[e].slice(-1)[0];if(this.player.currentMsgIndex=null,t){const s=[t["position.latitude"],t["position.longitude"]];this.updateMarker(e,s,t["position.direction"])}},playerDataPause({id:e}){"stop"!==this.player.status&&(this.player.status="pause",this.tracks[e].overview.snakePause())},playerSpeedChangeHandler({speed:e,id:t}){this.player.speed=e,"data"===this.player.mode&&"stop"!==this.player.status&&this.tracks[t].overview.setStyle({snakingSpeed:20*e})},playerModeChange({id:e,mode:t}){"stop"!==this.player.status&&("data"===t?this.playerTimeStop({id:e}):this.playerDataStop({id:e})),this.player.mode=t},updateColorHandler({id:e,color:t}){this.tracks[e].setStyle({color:t}),this.tracks[e].tail&&this.tracks[e].tail.setStyle({color:t}),this.tracks[e].overview&&this.tracks[e].overview.setStyle({color:t}),this.markers[e].color=t,this.markers[e].setIcon(this.generateIcon(e,this.markers[e].options.title,t)),this.setColorById(e,t)},registerModule(e){this.$store.registerModule(["messages",e],Object(Re["a"])({Vue:n["default"],LocalStorage:this.$q.localStorage,name:{name:"messages",lsNamespace:`${this.$store.state.storeName}.cols`},errorHandler:e=>{this.$store.commit("reqFailed",e)}}))},showMessageByTrackClick(e,t,s){e.originalEvent.view.L.DomEvent.stopPropagation(e);const i=this.messages[t],a=x["GeometryUtil"].closest(this.map,s,e.latlng),n=i.reduce(((e,t,s)=>{const n=t["position.latitude"],r=t["position.longitude"],o=i[s+1];if(!o)return e;const l=o["position.latitude"],c=o["position.longitude"],h=n>=a.lat&&l<=a.lat||n<=a.lat&&l>=a.lat,d=r>=a.lng&&c<=a.lng||r<=a.lng&&c>=a.lng;if(h&&d){const t=x["GeometryUtil"].distance(this.map,a,{lat:n,lng:r}),i=x["GeometryUtil"].distance(this.map,a,{lat:l,lng:c}),o=t>i?s+1:s;e.push(o)}return e}),[]),r=i[n.slice(-1)[0]]||{};this.viewOnMapHandler(r),this.$store.commit(`messages/${t}/setSelected`,n)},mapClickHandler(e){this.map.messagePoint&&this.map.messagePoint.remove(),this.activeDevicesID.forEach((e=>{this.$store.commit(`messages/${e}/clearSelected`)}))},updateOrInitDevice(e,t,s){if(t)return this.activeDevices.filter((t=>t.id===parseInt(e)))[0].telemetry||this.markers[e]?this.updateDeviceOnMap(e):this.initDeviceOnMap(e),!1;s?this.updateDeviceOnMap(e):this.initDeviceOnMap(e)},updateStateByMessages(e){if("play"===this.player.status||"pause"===this.player.status)return!1;const t=Object.keys(e),s=Object.keys(this.markers);if(!t.length)return Object.keys(this.markers).forEach((e=>{this.removeMarker(e)})),!1;if(t.length!t.includes(e)))[0];return this.removeMarker(e),!1}t.forEach((t=>this.updateOrInitDevice(t,!e[t].length,s.includes(t))))}},watch:{messages:{deep:!0,handler(e){this.debouncedUpdateStateByMessages(e)}},activeDevices(e){const t=e.map((e=>e.id));this.activeDeviceID||t.forEach((e=>{this.initActiveDeviceID(e)}));const s=Object.keys(this.messages).map((e=>parseInt(e))),i=s.length>t.length?"remove":"add";switch(t.forEach((e=>{this.$store.state.messages[e]||(this.registerModule(e),this.$store.commit(`messages/${e}/setSortBy`,"timestamp"),this.$store.commit(`messages/${e}/setLimit`,0))})),this.activeDevicesID=t,i){case"remove":{const e=s.filter((e=>!t.includes(e)));1===e.length&&e[0]?this.$store.commit(`messages/${e[0]}/clear`):e.length===s.length&&e.forEach((e=>{this.$store.commit(`messages/${e}/clear`)}));break}case"add":{const e=t.filter((e=>!s.includes(e)));e&&e.forEach((e=>{this.initDevice(e)}));break}}this.map&&x["DomUtil"].hasClass(this.map._container,"crosshair-cursor-enabled")&&x["DomUtil"].removeClass(this.map._container,"crosshair-cursor-enabled")},deviceIdForWatch(e){e&&this.flyToDevice(e)},"params.needShowNamesOnMap":function(e){Object.keys(this.markers).forEach((e=>{const t=this.activeDevices.filter((t=>t.id===parseInt(e)))[0],s=this.messages[e]&&this.messages[e].length?[this.messages[e][this.messages[e].length-1]["position.latitude"],this.messages[e][this.messages[e].length-1]["position.longitude"]]:[],i=t.name||`#${e}`;this.markers[e]instanceof x["Marker"]&&(this.markers[e].remove(),this.map.removeLayer(this.markers[e].accuracy),this.initMarker(e,i,s))}))},date(e,t){t&&(this.player.status="stop",this.player.currentMsgIndex=null,this.activeDevicesID.forEach((async e=>{await this.getDeviceData(e)})))},selected(e){if(this.tracks[e]&&this.tracks[e]instanceof x["Polyline"]){const t=this.tracks[e].getBounds();this.map.fitBounds(t)}}},created(){this.debouncedUpdateStateByMessages=Object(Fe["a"])(this.updateStateByMessages,100),this.deviceIdForWatch&&(this.needInitWatchingDevice=!0),this.activeDevicesID=this.activeDevices.map((e=>e.id)),this.activeDevicesID.forEach((e=>{this.registerModule(e),this.$store.commit(`messages/${e}/setSortBy`,"timestamp"),this.initDevice(e)})),n["default"].connector.socket.on("offline",(()=>{this.$store.commit("setSocketOffline",!0)})),n["default"].connector.socket.on("connect",(()=>{this.$store.commit("setSocketOffline",!1)}))},destroyed(){n["default"].connector.socket.off("offline"),n["default"].connector.socket.off("connect"),this.activeDevicesID.forEach((async e=>{this.$store.unregisterModule(["messages",e])}))},mounted(){this.initMap()},components:{Queue:Ne,ColorModal:Ie}},Qe=Ee,We=(s("7ef3"),Object(p["a"])(Qe,S,C,!1,null,null,null)),Ae=We.exports;w()(We,"components",{QResizeObserver:be["a"]});var Ue=function(){var e=this,t=e._self._c;return t("q-list",{staticClass:"bg-grey-9 text-white",attrs:{separator:""}},[t("q-item-label",{ref:"header",staticStyle:{height:"138px","line-height":"58px!important"}},[t("big",[t("q-icon",{staticClass:"cursor-pointer",staticStyle:{"margin-right":"15px"},attrs:{name:"mdi-arrow-left",size:"1.8rem"},nativeOn:{click:function(t){return e.$emit("click-hide")}}}),e._v("\n Devices\n ")],1),t("div",{staticClass:"q-px-sm"},[t("q-input",{attrs:{dark:"",color:"white",outlined:"",label:"Filter","hide-bottom-space":""},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1)],1),t("VirtualList",{style:{height:`${e.height}px`},attrs:{size:68,remain:e.itemsCount}},e._l(e.filteredDevices,(function(s){return t("device",{key:s.id,attrs:{device:s,activeDevicesID:e.activeDevicesID,isDeviceWatched:e.deviceIdForWatch===s.id},on:{"update-watch-by-id":e.setWatchByDeviceID}})})),1)],1)},Ye=[],Ge=function(){var e=this,t=e._self._c;return t("q-item",{class:[e.model?"device-item__active":"",e.device.messages_ttl?"":"disabled"],attrs:{highlight:e.$q.platform.is.desktop,clickable:""},on:{click:e.deviceClickHandler}},[e.device.messages_ttl?e._e():t("q-tooltip",[e._v("You should set messages ttl more than 0")]),t("q-item-section",{staticClass:"flex flex-center",class:[e.model?"text-green-2":""],attrs:{avatar:""}},[t("q-icon",{attrs:{name:"developer_board"}}),t("small",[e._v("#"+e._s(e.device.id))])],1),t("q-item-section",[t("q-item-label",{staticClass:"ellipsis q-pa-none text-white",attrs:{header:""}},[e._v(e._s(e.device.name||""))]),t("q-item-label",{staticClass:"ellipsis text-grey-3 full-width",attrs:{caption:""}},[t("q-icon",{attrs:{name:"label_outline"}}),e._v(" "+e._s(e.device.configuration&&e.device.configuration.ident?e.device.configuration.ident:""))],1),t("q-item-label",{staticClass:"text-grey-3",attrs:{caption:""}},[t("q-icon",{attrs:{name:"phone"}}),e._v(" "+e._s(e.device.configuration&&e.device.configuration.phone?e.device.configuration.phone:""))],1)],1),t("q-item-section",{staticClass:"text-center",attrs:{side:""}},[t("q-item-label",[t("q-icon",{class:[e.isDeviceWatched&&e.activeDevicesID.includes(e.device.id)?"icon__send-active":"text-grey-5"],attrs:{size:"1.5rem",name:"gps_fixed"},nativeOn:{click:function(t){return t.stopPropagation(),e.watchDeviceHandler.apply(null,arguments)}}},[e.device.messages_ttl?t("q-tooltip",{model:{value:e.watchTooltip,callback:function(t){e.watchTooltip=t},expression:"watchTooltip"}},[e._v("Show on map")]):e._e()],1)],1)],1)],1)},Ze=[],Je={props:["device","activeDevicesID","isDeviceWatched"],data(){return{watchTooltip:!1}},computed:{model(){return this.activeDevicesID.includes(this.device.id)}},methods:{deviceClickHandler(){this.activeDevicesID.includes(this.device.id)?this.unsetActiveDevice():this.setActiveDevice()},setActiveDevice(){this.device.messages_ttl&&this.$store.commit("setActiveDevice",this.device.id)},unsetActiveDevice(){this.$store.commit("unsetActiveDevice",this.device.id)},watchDeviceHandler(){if(!this.device.messages_ttl)return!1;this.activeDevicesID.includes(this.device.id)||this.setActiveDevice(),setTimeout((()=>{this.isDeviceWatched?this.$emit("update-watch-by-id",null):this.$emit("update-watch-by-id",this.device.id)}),500),setTimeout((()=>{this.watchTooltip=!1}),500)}}},Ke=Je,Xe=(s("fe06"),s("66e5")),et=s("4074"),tt=s("0170"),st=Object(p["a"])(Ke,Ge,Ze,!1,null,null,null),it=st.exports;w()(st,"components",{QItem:Xe["a"],QTooltip:u["a"],QItemSection:et["a"],QIcon:B["a"],QItemLabel:tt["a"]});var at=s("89c1"),nt=s.n(at),rt={name:"DeviceList",data(){return{unsubscribeDevices:()=>{},itemsCount:0,height:0,filter:""}},props:["devices","activeDevicesID","deviceIdForWatch"],components:{Device:it,VirtualList:nt.a},computed:{filteredDevices(){const e=this.filter.toLowerCase(),t=this.filter?this.devices.filter((t=>t&&"undefined"!==typeof t.name&&null!==t.name&&t.name.toLowerCase().indexOf(e)>=0||t&&"undefined"!==typeof t.id&&null!==t.id&&(t.id+"").indexOf(e)>=0||t&&t.configuration&&"undefined"!==typeof t.configuration.ident&&null!==t.configuration.ident&&t.configuration.ident.toLowerCase().indexOf(e)>=0)):this.devices;return t.sort(((e,t)=>{if(!e.name)return-1;if(!t.name)return 1;const s=e.name.toLowerCase(),i=t.name.toLowerCase();return s{}}},computed:{...Object(r["d"])({token:e=>e.token,devices:e=>e.devices,isLoading:e=>e.isLoading,activeDevicesID(e){return e.activeDevicesID},hasDevicesInit:e=>e.hasDevicesInit,activeDevices:e=>e.devices.filter((t=>e.activeDevicesID.includes(t.id))),lastActiveDevicesUpdate(e){return this.activeDevicesID.reduce(((t,s)=>{const i=e.messages[s].messages.filter((e=>!!e["position.latitude"]&&!!e["position.longitude"]));return i.length?t[s]=Math.floor(1e3*i[i.length-1].timestamp):t[s]=0,t}),{})},errors:e=>e.errors,newNotificationCounter:e=>e.newNotificationCounter,deviceForTelemetry(e){return this.deviceIdForTelemetry?e.devices.filter((e=>e.id===this.deviceIdForTelemetry))[0]:{}}}),date:{get(){return this.$store.state.date},set(e){this.$store.commit("setDate",e)}}},components:{DeviceList:dt,MapComponent:Ae,QTelemetry:$["a"],DateRangeModal:D},methods:{openURL:pt["a"],...Object(r["c"])(["clearToken","clearCurrentRegion","setDevicesInit","unsetDevicesInit","setActiveDevice","reqFailed","clearNotificationCounter","clearErrors"]),...Object(r["b"])(["getLastUpdatePosition","poolDevices"]),exitHandler(e){n["default"].connector.socket.off("error"),this.unsetDevicesInit(),this.clearToken(),this.clearCurrentRegion(),this.$router.push("/login")},setWatchToDeviceID(e){this.updateTelemetryDeviceId(e),this.deviceIdForWatch=e},menuChangeHandler(e){Object(Be["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"params",value:this.params})},telemetrySettingsChangeHandler(){this.$set(this.telemetrySettings,"inverted",!this.telemetrySettings.inverted),Object(Be["b"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"telemertySettings",value:this.telemetrySettings})},updateTelemetryDeviceId(e){if(this.deviceIdForTelemetry===e)return this.setWatchToDeviceID(null),!1;const t=this.devices.filter((t=>t.id===e));t.length?(this.deviceIdForTelemetry=e,this.deviceIdForWatch=e,this.params.needShowTelemetry&&this.deviceIdForTelemetry&&this.activeDevicesID.includes(this.deviceIdForTelemetry)&&setTimeout((()=>{if(e===this.deviceIdForWatch&&this.$q.platform.is.mobile)return!1}),0)):this.deviceIdForTelemetry=null},formatDate(e){return c["a"].formatDate(e,"DD/MM/YYYY")},paramsProcess(){const e=Object(Be["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"params"});e&&(this.$set(this,"params",Object.assign(this.params,e)),this.side_right=e.needShowTelemetry);const t=Object(Be["a"])({store:this.$q.localStorage,storeName:this.$store.state.storeName,name:"telemetrySettings"});t&&this.$set(this,"telemetrySettings",Object.assign(this.telemetrySettings,t))},connectProcess(){this.isInit||(n["default"].connector.socket.on("connect",(()=>{this.isInit=!0,this.$q.loading.hide()})),this.$q.loading.show())},initDate(){this.getLastUpdatePosition().then((e=>{this.date=e}))},routeProcess(){const e=this.$route.query.from,t=this.$route.query.to,s=this.$route.query.hidelist||Object(Be["a"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"hidelist"}),i=this.$route.query.names||Object(Be["a"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"names"}),a=this.$route.params.devices;if(e&&t?this.date=[1e3*e,1e3*t]:this.date[0]||this.date[1]||this.initDate(),s&&(Object(Be["b"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"hidelist",value:s}),this.needShowList=!1),i&&(this.needHideNamesInMenu=!0,Object(Be["b"])({store:this.$q.sessionStorage,storeName:this.$store.state.storeName,name:"names",value:i}),"true"===i?this.$set(this.params,"needShowNamesOnMap",!0):"false"===i&&this.$set(this.params,"needShowNamesOnMap",!1),this.menuChangeHandler()),a){const e=a.split(",").map((e=>+e));e.forEach((e=>{this.setActiveDevice(e)}))}},loginProcess(){this.$route.params.token?this.$router.push(`/login/${this.$route.params.token}`):this.$router.push("/login")}},watch:{token(e){e||this.$router.push("/login")},hasDevicesInit(e){e?this.$q.loading.hide():this.$q.loading.show()},deviceIdForWatch(e){e&&(this.side_left=!1)},devices(e,t){e.length||(this.side_left=!1,this.side_right=!1)},"params.needShowTelemetry":function(e){this.side_right=e}},created(){if(this.$store.state.telemetry||this.$store.registerModule("telemetry",Object($["b"])(this.$store,n["default"])),this.clearNotificationCounter(),this.clearErrors(),this.routeProcess(),!this.token)return this.loginProcess(),!1;this.connectProcess(),this.poolDevices().then((e=>{this.unsubscribeDevices=e})),this.activeDevicesID.length&&(this.$router.push(`/devices/${this.activeDevicesID.join(",")}`),1===this.activeDevicesID.length&&(this.deviceIdForWatch=this.activeDevicesID[0])),this.paramsProcess()},destroyed(){this.unsubscribeDevices&&this.unsubscribeDevices(),n["default"].connector.socket.off("connect")}},ut=gt,vt=(s("7a97"),s("4d5a")),ft=s("9404"),yt=s("09e3"),kt=s("9989"),bt=s("6ac5"),_t=s("65c6"),wt=s("b047"),Mt=s("9564"),Dt=s("7f67"),$t=Object(p["a"])(ut,i,a,!1,null,null,null);t["default"]=$t.exports;w()($t,"components",{QLayout:vt["a"],QDrawer:ft["a"],QItem:Xe["a"],QItemSection:et["a"],QIcon:B["a"],QItemLabel:tt["a"],QBtn:g["a"],QTooltip:u["a"],QInput:ct["a"],QPageContainer:yt["a"],QPage:kt["a"],QToolbarTitle:bt["a"],QToolbar:_t["a"],QChip:wt["a"],QMenu:de["a"],QList:lt["a"],QToggle:Mt["a"],QDialog:v["a"]}),w()($t,"directives",{ClosePopup:Dt["a"]})},fe06:function(e,t,s){"use strict";s("a61f")}}]); \ No newline at end of file diff --git a/js/app.4e76cb2d.js b/js/app.4e76cb2d.js new file mode 100644 index 00000000..42177392 --- /dev/null +++ b/js/app.4e76cb2d.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var o,a,r=t[0],c=t[1],l=t[2],u=0,d=[];u{this.$store.dispatch("checkConnection")}),5e3)}},oe=ne,ae=(n("8059"),n("2877")),ie=Object(ae["a"])(oe,ee,te,!1,null,null,null),se=ie.exports,re={name:"App",components:{Offline:se}},ce=re,le=Object(ae["a"])(ce,Y,Z,!1,null,null,null),ue=le.exports,de=n("2f62"),fe=(n("14d9"),n("9b02")),pe=n.n(fe);async function ve({state:e,commit:t}){t("reqStart");try{if(e.token){const e=await o["default"].connector.poolDevices((e=>{t("setDevices",e)}),((e,n)=>{t("updateDevices",{type:e,device:n})}));return async()=>{await o["default"].connector.poolDevicesStop(e)}}}catch(n){t("reqFailed",n)}}async function ge({state:e,commit:t}){try{const n=await o["default"].connector.http.external.get(`./icons/favicon-16x16.png?_=${(new Date).getTime()}`);200===n.status&&e.offline&&t("setOfflineFlag",!1)}catch(n){0,e.offline||t("setOfflineFlag",!0)}}async function me({commit:e,state:t},n){let a=(new Date).setHours(0,0,0,0),i=a+86399999.999;if(t.token){const s=n||t.activeDevicesID.join(",");let r;if(s){const t=await o["default"].connector.gw.getDevicesTelemetry(s,"position.latitude,position.longitude"),n=t.data;n.errors&&postMessage.errors.forEach((t=>{e("addError",t.reason)}));const a=Math.max(...n.result.reduce(((e,t)=>(e.push(t.telemetry&&t.telemetry["position.latitude"]?Math.floor(1e3*t.telemetry["position.latitude"].ts):0),e.push(t.telemetry&&t.telemetry["position.longitude"]?Math.floor(1e3*t.telemetry["position.longitude"].ts):0),e)),[]));r=a||Date.now()}else r=Date.now();a=new Date(r).setHours(0,0,0,0),i=a+86399999.999}return[a,i]}async function he({commit:e,state:t},n){if(!t.token)return;const a=await o["default"].connector.gw.getDevicesTelemetry(n,"position,ident"),i=a.data;i.errors&&postMessage.errors.forEach((t=>{e("addError",t.reason)}));const s=i&&i.result[0]&&i.result[0].telemetry&&i.result[0].telemetry.position&&i.result[0].telemetry.position.value?i.result[0].telemetry.position.value:{},r=Object.keys(s);if(!r.length||void 0!==s["valid"]&&!1===s["valid"])return!1;const c=r.reduce(((e,t)=>(e["position."+t]=s[t],e)),{});i.result[0].telemetry.position.ts&&(c.timestamp=i.result[0].telemetry.position.ts),i.result[0].telemetry.ident&&i.result[0].telemetry.ident.value&&(c.ident=i.result[0].telemetry.ident.value),Object.defineProperty(c,"x-flespi-inited-by-telemetry",{value:!0,enumerable:!1}),e(`messages/${n}/setHistoryMessages`,[c])}async function ye({state:e,commit:t}){try{"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!0);const n=await o["default"].connector.http.get("/auth/regions");let a=pe()(n,"data.result",[]),i=null;a=a.reduce(((e,t)=>(t.default&&(i=t),e[t.name]=t,e)),{}),i&&t("setCurrentRegion",i),t("setRegions",a)}catch(n){t("reqFailed",n),"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!1)}}async function be({state:e,commit:t},{region:n,token:a}){try{"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!0),e.regions||await ye({state:e,commit:t}),n&&t("setCurrentRegion",e.regions[n]),o["default"].prototype.$flespiServer=e.currentRegion.rest,o["default"].prototype.$flespiSocketServer=`wss://${e.currentRegion["mqtt-ws"]}`,o["default"].prototype.$flespiCDN=e.currentRegion.cdn,o["default"].connector.setRegion(e.currentRegion),t("setToken",a)}catch(i){t("reqFailed",i),"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!1)}}var we={poolDevices:ve,checkConnection:ge,getLastUpdatePosition:me,getInitDataByDeviceId:he,getRegions:ye,initConnection:be},ke=n("8c4f"),De=[{path:"/",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241")),children:[{path:"devices/:devices",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241"))}]},{path:"/token/:token",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login/:token",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login/:token/devices/:devices",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241"))},{path:"*",component:()=>Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"e51e"))}];o["default"].use(ke["a"]);const Oe=new ke["a"]({mode:"hash",base:"",scrollBehavior:()=>({y:0}),routes:De});var Qe=Oe,Ce=n("ef44");function Ie(e){0}function Se(e,{type:t,payload:n}){const{result:a}=n;switch(t){case"postMessage":K["a"].create({message:`Post message to devices with IDs ${a} success`,type:"positive",icon:"alarm_add",timeout:2500,bgColor:"white"});break;default:JSON.stringify(e[t])!==JSON.stringify(a)&&o["default"].set(e,t,a)}}function Ne(e,t){if(JSON.stringify(e.devices)!==JSON.stringify(t.data.result)&&o["default"].set(e,"devices",t.data.result),!e.hasDevicesInit)if(e.activeDevicesID.length)e.activeDevicesID.forEach((n=>{t.data.result.filter((e=>e.id===n)).length||Ae(e,n)})),$e(e);else{$e(e);const n=Object(Ce["a"])({store:G["a"],storeName:e.storeName,name:"active"});n&&n.length&&n.forEach((n=>{t.data.result.filter((e=>e.id===n)).length&&xe(e,n)}))}}function je(e,t){switch(t.type){case"created":e.devices.push(t.device);break;case"updated":e.devices.some(((n,o)=>n.id===t.device.id&&(e.devices[o]=Object.assign(e.devices[o],t.device),!0)));break;case"deleted":e.devices.some(((n,o)=>n.id===t.device.id&&(e.devices.splice(o,1),!0)));break}}function Pe(e,t){if(t.response&&t.response.status)switch(t.response.status){case 0:Te(e,!0),qe(e),o["default"].set(e,"token","");break;case 401:Le(e);break;default:t.response.data&&t.response.data.errors&&t.response.data.errors.length&&t.response.data.errors.forEach((t=>{Re(e,t.reason)}))}else if(t.code&&t.message)switch(t.code){case 2:case 134:case 135:e.token&&Le(e),Re(e,t.message);break}else Re(e,t.message)}function Te(e,t){o["default"].set(e,"offline",t)}function Ee(e,t){let n=t.replace("FlespiToken ","");t&&n.match(/^[a-z0-9]+$/i)?(o["default"].connector.token=`FlespiToken ${n}`,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"token",value:n})):(n="",o["default"].connector.token="",Le(e)),o["default"].set(e,"token",n)}function Le(e){Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"token",value:null}),o["default"].connector.token="",e.socketOffline&&_e(e,!1),o["default"].set(e,"token","")}function xe(e,t){e.hasDevicesInit&&!e.devices.filter((e=>e.id===t))[0].messages_ttl||(e.activeDevicesID.push(t),Object(Ce["b"])({store:G["a"],storeName:e.storeName,name:"active",value:e.activeDevicesID}),e.hasDevicesInit&&Qe.push(`/devices/${e.activeDevicesID.join(",")}`).catch((e=>{})))}function Ae(e,t){const n=e.activeDevicesID.indexOf(t);e.activeDevicesID.splice(n,1),Object(Ce["b"])({store:G["a"],storeName:e.storeName,name:"active",value:e.activeDevicesID}),e.activeDevicesID.length?Qe.push(`/devices/${e.activeDevicesID.join(",")}`).catch((e=>{})):Qe.push("/").catch((e=>{}))}function $e(e){e.hasDevicesInit=!0}function qe(e){e.hasDevicesInit=!1,o["default"].set(e,"devices",[]),o["default"].set(e,"activeDevicesID",[])}function Re(e,t){if(!e.token)return!1;K["a"].create({color:"negative",icon:"warning",message:`${t}`,timeout:1e3}),e.newNotificationCounter++,e.errors.push(t)}function _e(e,t){o["default"].set(e,"socketOffline",t)}function Me(e){o["default"].set(e,"errors",[])}function Fe(e,t){e.regions=t}function Be(e,t){e.currentRegion=t,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"region",value:t.name})}function He(e){e.currentRegion=null,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"region",value:null})}function Je(e){e.newNotificationCounter=0}function Ve(e,t){e.date=t}var ze={reqStart:Ie,reqSuccessful:Se,reqFailed:Pe,setToken:Ee,clearToken:Le,setActiveDevice:xe,unsetActiveDevice:Ae,setDevicesInit:$e,unsetDevicesInit:qe,setOfflineFlag:Te,updateDevices:je,setDevices:Ne,setSocketOffline:_e,clearNotificationCounter:Je,addError:Re,clearErrors:Me,setRegions:Fe,setCurrentRegion:Be,clearCurrentRegion:He,setDate:Ve},Ke={},Ue={namespaced:!0},Ge={messages:Ue};o["default"].use(de["a"]);const We={token:"",devices:[],activeDevicesID:[],hasDevicesInit:!1,offline:!1,socketOffline:!1,isLoading:!1,newNotificationCounter:0,errors:[],date:[0,0],regions:null,currentRegion:null,storeName:"flespi-trackit-settings"},Xe=new de["a"].Store({state:We,actions:we,mutations:ze,getters:Ke,modules:Ge});var Ye=Xe,Ze=async function(){const e="function"===typeof Ye?await Ye({Vue:o["default"]}):Ye,t="function"===typeof Qe?await Qe({Vue:o["default"],store:e}):Qe;e.$router=t;const n={router:t,store:e,render:e=>e(ue),el:"#q-app"};return{app:n,store:e,router:t}},et=n("a925"),tt={failed:"Action failed",success:"Action was successful"},nt={"en-us":tt};o["default"].use(et["a"]);const ot=new et["a"]({locale:"en-us",fallbackLocale:"en-us",messages:nt});var at=({app:e})=>{e.i18n=ot},it=n("553c"),st=n.n(it),rt=n("9224");let ct="",lt="";-1!==window.location.pathname.indexOf("/trackit")&&(ct=`https://${window.location.host}`,lt=`wss://${window.location.host}`);const ut={protocolVersion:5,wsOptions:{objectMode:!1,perMessageDeflate:!0}},dt=`trackit-${rt["version"]}-${Math.random().toString(16).substr(2,8)}`,ft={socketConfig:{server:lt,clientId:dt,mqttSettings:ut},httpConfig:{server:ct||void 0,flespiApp:dt}};var pt=({Vue:e,store:t})=>{e.prototype.$authHost=ct||"https://flespi.io",e.prototype.$flespiServer=ct||"https://flespi.io",e.prototype.$flespiApp=dt,e.use(st.a,ft),e.connector.socket.on("error",(e=>{t.commit("reqFailed",e)})),window&&window.addEventListener("beforeunload",(()=>{e.connector.socket.close(!0)}))};const vt="";async function gt(){const{app:e,store:t,router:n}=await Ze();let a=!1;const i=e=>{a=!0;const t=Object(e)===e?n.resolve(e).route.fullPath:e;window.location.href=t},s=window.location.href.replace(window.location.origin,""),r=[at,pt];for(let l=0;!1===a&&l","private":true,"scripts":{"lint":"eslint --ext .js,.vue src","dev":"quasar dev -m spa","dev_local":"env NODE_LOCAL=local quasar dev -m spa","build":"quasar build -m spa","deploy":"rm -rf dist && npm run build && rm -rf deploy && mkdir deploy && cp -R dist/spa/* misc LICENSE package.json deploy && cp README.md deploy/README.md && node_modules/git-directory-deploy/bin/git-directory-deploy.sh -ddeploy -bgh-pages -rgit@git.gurtam.net:flespi/frontend/TrackIt.git && rm -rf deploy && git push github gh-pages"},"dependencies":{"@quasar/extras":"^1.5.2","core-js":"^3.14.0","datetimerangepicker":"github:flespi-software/DateTimeRangePicker","flespi-io-js":"github:flespi-software/flespi-io-js","leaflet":"^1.6.0","leaflet-geometryutil":"^0.10.0","leaflet.marker.slideto":"^0.2.0","leaflet.polyline.snakeanim":"^0.2.0","leaflet.polylinemeasure":"github:ppete2/Leaflet.PolylineMeasure#b85a4b9","lodash":"^4.17.21","moment":"^2.29.0","qtelemetry":"github:flespi-software/QTelemetry","quasar":"^1.15.20","qvirtualscroll":"github:flespi-software/QVirtualScroll","vue-draggable-resizable":"^2.3.0","vue-i18n":"^8.15.4","vue-virtual-scroll-list":"^1.4.6","vuedraggable":"^2.24.3"},"devDependencies":{"@quasar/app":"^2.2.10","babel-eslint":"^10.0.1","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-vue":"^7.7.0","eslint-webpack-plugin":"^2.4.0","git-directory-deploy":"^1.5.1"},"browserslist":["last 10 Chrome versions","last 10 Firefox versions","last 4 Edge versions","last 7 Safari versions","last 8 Android versions","last 8 ChromeAndroid versions","last 8 FirefoxAndroid versions","last 10 iOS versions","last 5 Opera versions"],"engines":{"node":">= 10.18.1","npm":">= 6.13.4","yarn":">= 1.21.1"}}')},ebea:function(e,t,n){},ef44:function(e,t,n){"use strict";function o({store:e,storeName:t,name:n}){const o=e.getItem(t);return o&&o[n]}function a({store:e,storeName:t,name:n,value:o}){let a=e.getItem(t);a||(a={}),o?a[n]=o:delete a[n],e.set(t,a)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}))}}); \ No newline at end of file diff --git a/js/app.d01da321.js b/js/app.d01da321.js deleted file mode 100644 index 9fb7ea18..00000000 --- a/js/app.d01da321.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var o,a,r=t[0],c=t[1],l=t[2],u=0,f=[];u{this.$store.dispatch("checkConnection")}),5e3)}},oe=ne,ae=(n("8059"),n("2877")),ie=Object(ae["a"])(oe,ee,te,!1,null,null,null),se=ie.exports,re={name:"App",components:{Offline:se}},ce=re,le=Object(ae["a"])(ce,Y,Z,!1,null,null,null),ue=le.exports,fe=n("2f62"),de=(n("14d9"),n("9b02")),pe=n.n(de);async function ve({state:e,commit:t}){t("reqStart");try{if(e.token){const e=await o["default"].connector.poolDevices((e=>{t("setDevices",e)}),((e,n)=>{t("updateDevices",{type:e,device:n})}));return async()=>{await o["default"].connector.poolDevicesStop(e)}}}catch(n){t("reqFailed",n)}}async function ge({state:e,commit:t}){try{const n=await o["default"].connector.http.external.get(`./icons/favicon-16x16.png?_=${(new Date).getTime()}`);200===n.status&&e.offline&&t("setOfflineFlag",!1)}catch(n){0,e.offline||t("setOfflineFlag",!0)}}async function me({commit:e,state:t},n){let a=(new Date).setHours(0,0,0,0),i=a+86399999.999;if(t.token){const s=n||t.activeDevicesID.join(",");let r;if(s){const t=await o["default"].connector.gw.getDevicesTelemetry(s,"position.latitude,position.longitude"),n=t.data;n.errors&&postMessage.errors.forEach((t=>{e("addError",t.reason)}));const a=Math.max(...n.result.reduce(((e,t)=>(e.push(t.telemetry&&t.telemetry["position.latitude"]?Math.floor(1e3*t.telemetry["position.latitude"].ts):0),e.push(t.telemetry&&t.telemetry["position.longitude"]?Math.floor(1e3*t.telemetry["position.longitude"].ts):0),e)),[]));r=a||Date.now()}else r=Date.now();a=new Date(r).setHours(0,0,0,0),i=a+86399999.999}return[a,i]}async function he({commit:e,state:t},n){if(!t.token)return;const a=await o["default"].connector.gw.getDevicesTelemetry(n,"all"),i=a.data;i.errors&&postMessage.errors.forEach((t=>{e("addError",t.reason)}));const s=i&&i.result[0]&&i.result[0].telemetry?i.result[0].telemetry:{},r=Object.keys(s);if(!r.length)return!1;const c=r.reduce(((e,t)=>("position"===t||(e[t]=s[t].value),e)),{});Object.defineProperty(c,"x-flespi-inited-by-telemetry",{value:!0,enumerable:!1}),e(`messages/${n}/setHistoryMessages`,[c])}async function be({state:e,commit:t}){try{"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!0);const n=await o["default"].connector.http.get("/auth/regions");let a=pe()(n,"data.result",[]),i=null;a=a.reduce(((e,t)=>(t.default&&(i=t),e[t.name]=t,e)),{}),i&&t("setCurrentRegion",i),t("setRegions",a)}catch(n){t("reqFailed",n),"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!1)}}async function ye({state:e,commit:t},{region:n,token:a}){try{"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!0),e.regions||await be({state:e,commit:t}),n&&t("setCurrentRegion",e.regions[n]),o["default"].prototype.$flespiServer=e.currentRegion.rest,o["default"].prototype.$flespiSocketServer=`wss://${e.currentRegion["mqtt-ws"]}`,o["default"].prototype.$flespiCDN=e.currentRegion.cdn,o["default"].connector.setRegion(e.currentRegion),t("setToken",a)}catch(i){t("reqFailed",i),"undefined"!==typeof e.isLoading&&o["default"].set(e,"isLoading",!1)}}var we={poolDevices:ve,checkConnection:ge,getLastUpdatePosition:me,getInitDataByDeviceId:he,getRegions:be,initConnection:ye},ke=n("8c4f"),De=[{path:"/",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241")),children:[{path:"devices/:devices",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241"))}]},{path:"/token/:token",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login/:token",component:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"013f"))},{path:"/login/:token/devices/:devices",component:()=>Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"f241"))},{path:"*",component:()=>Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"e51e"))}];o["default"].use(ke["a"]);const Oe=new ke["a"]({mode:"hash",base:"",scrollBehavior:()=>({y:0}),routes:De});var Qe=Oe,Ce=n("ef44");function Ie(e){0}function Se(e,{type:t,payload:n}){const{result:a}=n;switch(t){case"postMessage":K["a"].create({message:`Post message to devices with IDs ${a} success`,type:"positive",icon:"alarm_add",timeout:2500,bgColor:"white"});break;default:JSON.stringify(e[t])!==JSON.stringify(a)&&o["default"].set(e,t,a)}}function Ne(e,t){if(JSON.stringify(e.devices)!==JSON.stringify(t.data.result)&&o["default"].set(e,"devices",t.data.result),!e.hasDevicesInit)if(e.activeDevicesID.length)e.activeDevicesID.forEach((n=>{t.data.result.filter((e=>e.id===n)).length||Ae(e,n)})),$e(e);else{$e(e);const n=Object(Ce["a"])({store:G["a"],storeName:e.storeName,name:"active"});n&&n.length&&n.forEach((n=>{t.data.result.filter((e=>e.id===n)).length&&xe(e,n)}))}}function je(e,t){switch(t.type){case"created":e.devices.push(t.device);break;case"updated":e.devices.some(((n,o)=>n.id===t.device.id&&(e.devices[o]=Object.assign(e.devices[o],t.device),!0)));break;case"deleted":e.devices.some(((n,o)=>n.id===t.device.id&&(e.devices.splice(o,1),!0)));break}}function Pe(e,t){if(t.response&&t.response.status)switch(t.response.status){case 0:Te(e,!0),qe(e),o["default"].set(e,"token","");break;case 401:Le(e);break;default:t.response.data&&t.response.data.errors&&t.response.data.errors.length&&t.response.data.errors.forEach((t=>{_e(e,t.reason)}))}else if(t.code&&t.message)switch(t.code){case 2:case 134:case 135:e.token&&Le(e),_e(e,t.message);break}else _e(e,t.message)}function Te(e,t){o["default"].set(e,"offline",t)}function Ee(e,t){let n=t.replace("FlespiToken ","");t&&n.match(/^[a-z0-9]+$/i)?(o["default"].connector.token=`FlespiToken ${n}`,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"token",value:n})):(n="",o["default"].connector.token="",Le(e)),o["default"].set(e,"token",n)}function Le(e){Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"token",value:null}),o["default"].connector.token="",e.socketOffline&&Re(e,!1),o["default"].set(e,"token","")}function xe(e,t){e.hasDevicesInit&&!e.devices.filter((e=>e.id===t))[0].messages_ttl||(e.activeDevicesID.push(t),Object(Ce["b"])({store:G["a"],storeName:e.storeName,name:"active",value:e.activeDevicesID}),e.hasDevicesInit&&Qe.push(`/devices/${e.activeDevicesID.join(",")}`).catch((e=>{})))}function Ae(e,t){const n=e.activeDevicesID.indexOf(t);e.activeDevicesID.splice(n,1),Object(Ce["b"])({store:G["a"],storeName:e.storeName,name:"active",value:e.activeDevicesID}),e.activeDevicesID.length?Qe.push(`/devices/${e.activeDevicesID.join(",")}`).catch((e=>{})):Qe.push("/").catch((e=>{}))}function $e(e){e.hasDevicesInit=!0}function qe(e){e.hasDevicesInit=!1,o["default"].set(e,"devices",[]),o["default"].set(e,"activeDevicesID",[])}function _e(e,t){if(!e.token)return!1;K["a"].create({color:"negative",icon:"warning",message:`${t}`,timeout:1e3}),e.newNotificationCounter++,e.errors.push(t)}function Re(e,t){o["default"].set(e,"socketOffline",t)}function Me(e){o["default"].set(e,"errors",[])}function Fe(e,t){e.regions=t}function Be(e,t){e.currentRegion=t,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"region",value:t.name})}function He(e){e.currentRegion=null,Object(Ce["b"])({store:W["a"],storeName:e.storeName,name:"region",value:null})}function Je(e){e.newNotificationCounter=0}function Ve(e,t){e.date=t}var ze={reqStart:Ie,reqSuccessful:Se,reqFailed:Pe,setToken:Ee,clearToken:Le,setActiveDevice:xe,unsetActiveDevice:Ae,setDevicesInit:$e,unsetDevicesInit:qe,setOfflineFlag:Te,updateDevices:je,setDevices:Ne,setSocketOffline:Re,clearNotificationCounter:Je,addError:_e,clearErrors:Me,setRegions:Fe,setCurrentRegion:Be,clearCurrentRegion:He,setDate:Ve},Ke={},Ue={namespaced:!0},Ge={messages:Ue};o["default"].use(fe["a"]);const We={token:"",devices:[],activeDevicesID:[],hasDevicesInit:!1,offline:!1,socketOffline:!1,isLoading:!1,newNotificationCounter:0,errors:[],date:[0,0],regions:null,currentRegion:null,storeName:"flespi-trackit-settings"},Xe=new fe["a"].Store({state:We,actions:we,mutations:ze,getters:Ke,modules:Ge});var Ye=Xe,Ze=async function(){const e="function"===typeof Ye?await Ye({Vue:o["default"]}):Ye,t="function"===typeof Qe?await Qe({Vue:o["default"],store:e}):Qe;e.$router=t;const n={router:t,store:e,render:e=>e(ue),el:"#q-app"};return{app:n,store:e,router:t}},et=n("a925"),tt={failed:"Action failed",success:"Action was successful"},nt={"en-us":tt};o["default"].use(et["a"]);const ot=new et["a"]({locale:"en-us",fallbackLocale:"en-us",messages:nt});var at=({app:e})=>{e.i18n=ot},it=n("553c"),st=n.n(it),rt=n("9224");let ct="",lt="";-1!==window.location.pathname.indexOf("/trackit")&&(ct=`https://${window.location.host}`,lt=`wss://${window.location.host}`);const ut={protocolVersion:5,wsOptions:{objectMode:!1,perMessageDeflate:!0}},ft=`trackit-${rt["version"]}-${Math.random().toString(16).substr(2,8)}`,dt={socketConfig:{server:lt,clientId:ft,mqttSettings:ut},httpConfig:{server:ct||void 0,flespiApp:ft}};var pt=({Vue:e,store:t})=>{e.prototype.$authHost=ct||"https://flespi.io",e.prototype.$flespiServer=ct||"https://flespi.io",e.prototype.$flespiApp=ft,e.use(st.a,dt),e.connector.socket.on("error",(e=>{t.commit("reqFailed",e)})),window&&window.addEventListener("beforeunload",(()=>{e.connector.socket.close(!0)}))};const vt="";async function gt(){const{app:e,store:t,router:n}=await Ze();let a=!1;const i=e=>{a=!0;const t=Object(e)===e?n.resolve(e).route.fullPath:e;window.location.href=t},s=window.location.href.replace(window.location.origin,""),r=[at,pt];for(let l=0;!1===a&&l","private":true,"scripts":{"lint":"eslint --ext .js,.vue src","dev":"quasar dev -m spa","dev_local":"env NODE_LOCAL=local quasar dev -m spa","build":"quasar build -m spa","deploy":"rm -rf dist && npm run build && rm -rf deploy && mkdir deploy && cp -R dist/spa/* misc LICENSE package.json deploy && cp README.md deploy/README.md && node_modules/git-directory-deploy/bin/git-directory-deploy.sh -ddeploy -bgh-pages -rgit@git.gurtam.net:flespi/frontend/TrackIt.git && rm -rf deploy && git push github gh-pages"},"dependencies":{"@quasar/extras":"^1.5.2","core-js":"^3.14.0","flespi-io-js":"github:flespi-software/flespi-io-js","leaflet":"^1.6.0","leaflet-geometryutil":"^0.10.0","leaflet.marker.slideto":"^0.2.0","leaflet.polyline.snakeanim":"^0.2.0","leaflet.polylinemeasure":"github:ppete2/Leaflet.PolylineMeasure#b85a4b9","lodash":"^4.17.21","moment":"^2.29.0","qtelemetry":"github:flespi-software/QTelemetry","quasar":"^1.15.20","qvirtualscroll":"github:flespi-software/QVirtualScroll","vue-i18n":"^8.15.4","vue-virtual-scroll-list":"^1.4.6"},"devDependencies":{"@quasar/app":"^2.2.10","babel-eslint":"^10.0.1","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-vue":"^7.7.0","eslint-webpack-plugin":"^2.4.0","git-directory-deploy":"^1.5.1"},"browserslist":["last 10 Chrome versions","last 10 Firefox versions","last 4 Edge versions","last 7 Safari versions","last 8 Android versions","last 8 ChromeAndroid versions","last 8 FirefoxAndroid versions","last 10 iOS versions","last 5 Opera versions"],"engines":{"node":">= 10.18.1","npm":">= 6.13.4","yarn":">= 1.21.1"}}')},ebea:function(e,t,n){},ef44:function(e,t,n){"use strict";function o({store:e,storeName:t,name:n}){const o=e.getItem(t);return o&&o[n]}function a({store:e,storeName:t,name:n,value:o}){let a=e.getItem(t);a||(a={}),o?a[n]=o:delete a[n],e.set(t,a)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}))}}); \ No newline at end of file diff --git a/js/vendor.10f0a22b.js b/js/vendor.9589ac2a.js similarity index 70% rename from js/vendor.10f0a22b.js rename to js/vendor.9589ac2a.js index 94059589..523d7b7e 100644 --- a/js/vendor.10f0a22b.js +++ b/js/vendor.9589ac2a.js @@ -8,15 +8,15 @@ var e=t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ //! moment.js locale configuration function e(t){return t%100===11||t%10!==1}function n(t,n,i,r){var o=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||r?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||r?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(r?"daga":"dögum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(r?"mánuði":"mánuðum"):n?o+"mánuður":o+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?o+(n||r?"ár":"árum"):o+(n||r?"ár":"ári")}}var i=t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"05c0":function(t,e,n){"use strict";var i=n("2b0e"),r=n("c474"),o=n("463c"),s=n("7ee0"),a=n("9e62"),l=n("7562"),c=n("0831"),u=n("d882"),h=n("f249"),d=n("e277"),f=n("2f79");const p={role:"tooltip"};e["a"]=i["default"].extend({name:"QTooltip",mixins:[r["a"],o["a"],s["a"],a["c"],l["a"]],props:{maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:f["d"]},self:{type:String,default:"top middle",validator:f["d"]},offset:{type:Array,default:()=>[14,14],validator:f["c"]},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},computed:{anchorOrigin(){return Object(f["a"])(this.anchor,this.$q.lang.rtl)},selfOrigin(){return Object(f["a"])(this.self,this.$q.lang.rtl)},hideOnRouteChange(){return!0!==this.persistent}},methods:{__show(t){this.__showPortal(),this.__registerTick((()=>{this.observer=new MutationObserver((()=>this.updatePosition())),this.observer.observe(this.__portal.$el,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),this.updatePosition(),this.__configureScrollTarget()})),void 0===this.unwatch&&(this.unwatch=this.$watch((()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl),this.updatePosition)),this.__registerTimeout((()=>{this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__removeTick(),this.__anchorCleanup(),this.__hidePortal(),this.__registerTimeout((()=>{this.__hidePortal(!0),this.$emit("hide",t)}),300)},__anchorCleanup(){void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0),void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),this.__unconfigureScrollTarget(),Object(u["b"])(this,"tooltipTemp")},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(f["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__delayShow(t){if(!0===this.$q.platform.is.mobile){Object(h["a"])(),document.body.classList.add("non-selectable");const t=this.anchorEl,e=["touchmove","touchcancel","touchend","click"].map((e=>[t,e,"__delayHide","passiveCapture"]));Object(u["a"])(this,"tooltipTemp",e)}this.__registerTimeout((()=>{this.show(t)}),this.delay)},__delayHide(t){!0===this.$q.platform.is.mobile&&(Object(u["b"])(this,"tooltipTemp"),Object(h["a"])(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),this.__registerTimeout((()=>{this.hide(t)}),this.hideDelay)},__configureAnchorEl(){if(!0===this.noParentEvent||void 0===this.anchorEl)return;const t=!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__delayShow","passive"]]:[[this.anchorEl,"mouseenter","__delayShow","passive"],[this.anchorEl,"mouseleave","__delayHide","passive"]];Object(u["a"])(this,"anchor",t)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){if(void 0!==this.anchorEl||void 0!==this.scrollTarget){this.__scrollTarget=Object(c["d"])(this.anchorEl,this.scrollTarget);const t=!0===this.noParentEvent?this.updatePosition:this.hide;this.__changeScrollEvent(this.__scrollTarget,t)}},__renderPortal(t){return t("transition",{props:{...this.transitionProps}},[!0===this.showing?t("div",{staticClass:"q-tooltip q-tooltip--style q-position-engine no-pointer-events",class:this.contentClass,style:this.contentStyle,attrs:p},Object(d["c"])(this,"default")):null])}},created(){this.__useTick("__registerTick","__removeTick"),this.__useTimeout("__registerTimeout")},mounted(){this.__processModelChange(this.value)}})},"05ee":function(t,e,n){"use strict";const i=n(0),r=n("34eb")("mqttjs:tcp");function o(t,e){e.port=e.port||1883,e.hostname=e.hostname||e.host||"localhost";const n=e.port,o=e.hostname;return r("port %d and host %s",n,o),i.createConnection(n,o)}t.exports=o},"0644":function(t,e,n){var i=n("3818"),r=1,o=4;function s(t){return i(t,r|o)}t.exports=s},"06cf":function(t,e,n){"use strict";var i=n("83ab"),r=n("c65b"),o=n("d1e7"),s=n("5c6c"),a=n("fc6a"),l=n("a04b"),c=n("1a2d"),u=n("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=a(t),e=l(e),u)try{return h(t,e)}catch(n){}if(c(t,e))return s(!r(o.f,t,e),t[e])}},"0721":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"079e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0745":function(t,e,n){},"079e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e}))},"07c6":function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},"07c7":function(t,e){function n(){return!1}t.exports=n},"07fa":function(t,e,n){"use strict";var i=n("50c4");t.exports=function(t){return i(t.length)}},"0831":function(t,e,n){"use strict";n.d(e,"g",(function(){return a})),n.d(e,"d",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return f})),n.d(e,"e",(function(){return k})),n.d(e,"f",(function(){return L}));var i=n("0967"),r=n("f303");const o=!0===i["e"]?[]:[null,document,document.body,document.scrollingElement,document.documentElement];let s;function a(){if(!0===i["e"])return!1;if(void 0===s){const t=document.createElement("div"),e=document.createElement("div");Object.assign(t.style,{direction:"rtl",width:"1px",height:"1px",overflow:"auto"}),Object.assign(e.style,{width:"1000px",height:"1px"}),t.appendChild(e),document.body.appendChild(t),t.scrollLeft=-1e3,s=t.scrollLeft>=0,t.remove()}return s}function l(t,e){let n=Object(r["d"])(e);if(null===n){if(t!==Object(t)||"function"!==typeof t.closest)return window;n=t.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(n)?window:n}function c(t){return(t===window?document.body:t).scrollHeight}function u(t){return(t===window?document.body:t).scrollWidth}function h(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}const d=h;function f(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function p(t,e,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],r=h(t);n<=0?r!==e&&g(t,e):requestAnimationFrame((o=>{const s=o-i,a=r+(e-r)/Math.max(s,n)*s;g(t,a),a!==e&&p(t,e,n-s,o)}))}const m=p;function _(t,e,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],r=f(t);n<=0?r!==e&&v(t,e):requestAnimationFrame((o=>{const s=o-i,a=r+(e-r)/Math.max(s,n)*s;v(t,a),a!==e&&_(t,e,n-s,o)}))}function g(t,e){t!==window?t.scrollTop=e:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,e)}function v(t,e){t!==window?t.scrollLeft=e:window.scrollTo(e,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function y(t,e,n){n?p(t,e,n):g(t,e)}const b=y;function w(t,e,n){n?_(t,e,n):v(t,e)}let M;function k(){if(void 0!==M)return M;const t=document.createElement("p"),e=document.createElement("div");Object(r["b"])(t,{width:"100%",height:"200px"}),Object(r["b"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);const n=t.offsetWidth;e.style.overflow="scroll";let i=t.offsetWidth;return n===i&&(i=e.clientWidth),e.remove(),M=n-i,M}function L(t,e=!0){return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}e["a"]={getScrollTarget:l,getScrollHeight:c,getScrollWidth:u,getScrollPosition:d,getVerticalScrollPosition:h,getHorizontalScrollPosition:f,rtlHasScrollBug:a,animScrollTo:m,animVerticalScrollTo:p,animHorizontalScrollTo:_,setScrollPosition:b,setVerticalScrollPosition:y,setHorizontalScrollPosition:w,getScrollbarWidth:k,hasScrollbar:L}},"083a":function(t,e,n){"use strict";var i=n("0d51"),r=TypeError;t.exports=function(t,e){if(!delete t[e])throw new r("Cannot delete property "+i(e)+" of "+i(t))}},"0853":function(t,e,n){"use strict";n("9d5f")},"087d":function(t,e){function n(t,e){var n=-1,i=e.length,r=t.length;while(++n=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:e[0]||""}}function u(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const h=!1===r&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function d(t){o={is:{...t}},delete t.mac,delete t.desktop;const e=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(t,{mobile:!0,ios:!0,platform:e,[e]:!0})}function f(t){const e=t.toLowerCase(),n=u(e),i=c(e,n),o={};i.browser&&(o[i.browser]=!0,o.version=i.version,o.versionNumber=parseInt(i.versionNumber,10)),i.platform&&(o[i.platform]=!0);const l=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];return!0===l||e.indexOf("mobile")>-1?(o.mobile=!0,o.edga||o.edgios?(o.edge=!0,i.browser="edge"):o.crios?(o.chrome=!0,i.browser="chrome"):o.fxios&&(o.firefox=!0,i.browser="firefox")):o.desktop=!0,(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.chrome||o.opr||o.safari||o.vivaldi||!0===o.mobile&&!0!==o.ios&&!0!==l)&&(o.webkit=!0),(o.rv||o.iemobile)&&(i.browser="ie",o.ie=!0),(o.safari&&o.blackberry||o.bb)&&(i.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(i.browser="playbook",o.playbook=!0),o.opr&&(i.browser="opera",o.opera=!0),o.safari&&o.android&&(i.browser="android",o.android=!0),o.safari&&o.kindle&&(i.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(i.browser="silk",o.silk=!0),o.vivaldi&&(i.browser="vivaldi",o.vivaldi=!0),o.name=i.browser,o.platform=i.platform,!1===r&&(e.indexOf("electron")>-1?o.electron=!0:document.location.href.indexOf("-extension://")>-1?o.bex=!0:(void 0!==window.Capacitor?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),!0===h&&!0===o.mac&&(!0===o.desktop&&!0===o.safari||!0===o.nativeMobile&&!0!==o.android&&!0!==o.ios&&!0!==o.ipad)&&d(o)),s=void 0===o.nativeMobile&&void 0===o.electron&&null!==document.querySelector("[data-server-rendered]"),!0===s&&(a=!0)),o}const p=!0!==r?navigator.userAgent||navigator.vendor||window.opera:"",m={has:{touch:!1,webStorage:!1},within:{iframe:!1}},_=!1===r?{userAgent:p,is:f(p),has:{touch:h,webStorage:(()=>{try{if(window.localStorage)return!0}catch(t){}return!1})()},within:{iframe:window.self!==window.top}}:m,g={install(t,e){!0===r?e.server.push(((t,e)=>{t.platform=this.parseSSR(e.ssr)})):!0===s?(Object.assign(this,_,o,m),e.takeover.push((t=>{a=s=!1,Object.assign(t.platform,_),o=void 0})),i["default"].util.defineReactive(t,"platform",this)):(Object.assign(this,_),t.platform=this)}};!0===r?g.parseSSR=t=>{const e=t.req.headers["user-agent"]||t.req.headers["User-Agent"]||"";return{..._,userAgent:e,is:f(e)}}:l=!0===_.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),e["b"]=g},"09e3":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("e277");e["a"]=i["default"].extend({name:"QPageContainer",mixins:[r["a"]],inject:{layout:{default(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style(){const t={};return!0===this.layout.header.space&&(t.paddingTop=`${this.layout.header.size}px`),!0===this.layout.right.space&&(t["padding"+(!0===this.$q.lang.rtl?"Left":"Right")]=`${this.layout.right.size}px`),!0===this.layout.footer.space&&(t.paddingBottom=`${this.layout.footer.size}px`),!0===this.layout.left.space&&(t["padding"+(!0===this.$q.lang.rtl?"Right":"Left")]=`${this.layout.left.size}px`),t}},render(t){return t("div",{staticClass:"q-page-container",style:this.style,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),s=n("5270"),a=n("4a7b"),l=n("848b"),c=l.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var u=[s,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(o),r=Promise.resolve(t);while(u.length)r=r.then(u.shift(),u.shift());return r}var h=t;while(n.length){var d=n.shift(),f=n.shift();try{h=d(h)}catch(p){f(p);break}}try{r=s(h)}catch(p){return Promise.reject(p)}while(o.length)r=r.then(o.shift(),o.shift());return r},u.prototype.getUri=function(t){return t=a(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,i){return this.request(a(i||{},{method:t,url:e,data:n}))}})),t.exports=u},"0a36":function(t,e,n){"use strict";var i={foo:{}},r=Object;t.exports=function(){return{__proto__:i}.foo===i.foo&&!({__proto__:null}instanceof r)}},"0a3c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},"0a84":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"0b07":function(t,e,n){var i=n("34ac"),r=n("3698");function o(t,e){var n=r(t,e);return i(n)?n:void 0}t.exports=o},"0b16":function(t,e,n){"use strict";var i=n("1985");function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),h=["%","/","?",";","#"].concat(u),d=["/","?","#"],f=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("184d");function b(t,e,n){if(t&&"object"===typeof t&&t instanceof r)return t;var i=new r;return i.parse(t,e,n),i}function w(t){return"string"===typeof t&&(t=b(t)),t instanceof r?t.format():r.prototype.format.call(t)}function M(t,e){return b(t,!1,!0).resolve(e)}function k(t,e){return t?b(t,!1,!0).resolveObject(e):e}r.prototype.parse=function(t,e,n){if("string"!==typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),s=-1!==r&&r127?A+="x":A+=Y[j];if(!A.match(p)){var R=E.slice(0,C),H=E.slice(C+1),$=Y.match(m);$&&(R.push($[1]),H.unshift($[2])),H.length&&(b="/"+H.join(".")+b),this.hostname=R.join(".");break}}}this.hostname.length>f?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=i.toASCII(this.hostname));var N=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+N,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!_[k])for(C=0,P=u.length;C0)&&n.host.split("@");L&&(n.auth=L.shift(),n.hostname=L.shift(),n.host=n.hostname)}return n.search=t.search,n.query=t.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!M.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=M.slice(-1)[0],x=(n.host||t.host||M.length>1)&&("."===S||".."===S)||""===S,T=0,C=M.length;C>=0;C--)S=M[C],"."===S?M.splice(C,1):".."===S?(M.splice(C,1),T++):T&&(M.splice(C,1),T--);if(!b&&!w)for(;T--;T)M.unshift("..");!b||""===M[0]||M[0]&&"/"===M[0].charAt(0)||M.unshift(""),x&&"/"!==M.join("/").substr(-1)&&M.push("");var D=""===M[0]||M[0]&&"/"===M[0].charAt(0);if(k){n.hostname=D?"":M.length?M.shift():"",n.host=n.hostname;L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");L&&(n.auth=L.shift(),n.hostname=L.shift(),n.host=n.hostname)}return b=b||n.host&&M.length,b&&!D&&M.unshift(""),M.length>0?n.pathname=M.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=M,e.resolveObject=k,e.format=w,e.Url=r},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"0b07":function(t,e,n){var i=n("34ac"),r=n("3698");function o(t,e){var n=r(t,e);return i(n)?n:void 0}t.exports=o},"0b16":function(t,e,n){"use strict";var i=n("1985");function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),h=["%","/","?",";","#"].concat(u),d=["/","?","#"],f=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("184d");function b(t,e,n){if(t&&"object"===typeof t&&t instanceof r)return t;var i=new r;return i.parse(t,e,n),i}function w(t){return"string"===typeof t&&(t=b(t)),t instanceof r?t.format():r.prototype.format.call(t)}function M(t,e){return b(t,!1,!0).resolve(e)}function k(t,e){return t?b(t,!1,!0).resolveObject(e):e}r.prototype.parse=function(t,e,n){if("string"!==typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),s=-1!==r&&r127?j+="x":j+=Y[A];if(!j.match(p)){var R=E.slice(0,C),$=E.slice(C+1),H=Y.match(m);H&&(R.push(H[1]),$.unshift(H[2])),$.length&&(b="/"+$.join(".")+b),this.hostname=R.join(".");break}}}this.hostname.length>f?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=i.toASCII(this.hostname));var N=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+N,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!_[k])for(C=0,P=u.length;C0)&&n.host.split("@");L&&(n.auth=L.shift(),n.hostname=L.shift(),n.host=n.hostname)}return n.search=t.search,n.query=t.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!M.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=M.slice(-1)[0],x=(n.host||t.host||M.length>1)&&("."===S||".."===S)||""===S,T=0,C=M.length;C>=0;C--)S=M[C],"."===S?M.splice(C,1):".."===S?(M.splice(C,1),T++):T&&(M.splice(C,1),T--);if(!b&&!w)for(;T--;T)M.unshift("..");!b||""===M[0]||M[0]&&"/"===M[0].charAt(0)||M.unshift(""),x&&"/"!==M.join("/").substr(-1)&&M.push("");var D=""===M[0]||M[0]&&"/"===M[0].charAt(0);if(k){n.hostname=D?"":M.length?M.shift():"",n.host=n.hostname;L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");L&&(n.auth=L.shift(),n.hostname=L.shift(),n.host=n.hostname)}return b=b||n.host&&M.length,b&&!D&&M.unshift(""),M.length>0?n.pathname=M.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=M,e.resolveObject=k,e.format=w,e.Url=r},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return n}))},"0cb2":function(t,e,n){"use strict";var i=n("e330"),r=n("7b0b"),o=Math.floor,s=i("".charAt),a=i("".replace),l=i("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,h,d){var f=n+t.length,p=i.length,m=u;return void 0!==h&&(h=r(h),m=c),a(d,m,(function(r,a){var c;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,f);case"<":c=h[l(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var d=o(u/10);return 0===d?r:d<=p?void 0===i[d-1]?s(a,1):i[d-1]+s(a,1):r}c=i[u-1]}return void 0===c?"":c}))}},"0cfb":function(t,e,n){"use strict";var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,n){(function(t){var i=n("2b3e"),r=n("07c7"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,l=a?i.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||r;t.exports=u}).call(this,n("62e4")(t))},"0d26":function(t,e,n){"use strict";var i=n("e330"),r=Error,o=i("".replace),s=function(t){return String(new r(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,a,"");return t}},"0d51":function(t,e,n){"use strict";var i=String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"0d59":function(t,e,n){"use strict";var i=n("2b0e"),r=n("594d");e["a"]=i["default"].extend({name:"QSpinner",mixins:[r["a"]],props:{thickness:{type:Number,default:5}},render(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":this.thickness,"stroke-miterlimit":"10"}})])}})},"0db6":function(t,e,n){"use strict";var i=n("c9b8").codes.ERR_INVALID_OPT_VALUE;function r(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}function o(t,e,n,o){var s=r(e,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0){var a=o?n:"highWaterMark";throw new i(a,s)}return Math.floor(s)}return t.objectMode?16:16384}t.exports={getHighWaterMark:o}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e49":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return n}))},"0cfb":function(t,e,n){"use strict";var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,n){(function(t){var i=n("2b3e"),r=n("07c7"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,l=a?i.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||r;t.exports=u}).call(this,n("62e4")(t))},"0d51":function(t,e,n){"use strict";var i=String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"0d59":function(t,e,n){"use strict";var i=n("2b0e"),r=n("594d");e["a"]=i["default"].extend({name:"QSpinner",mixins:[r["a"]],props:{thickness:{type:Number,default:5}},render(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":this.thickness,"stroke-miterlimit":"10"}})])}})},"0db6":function(t,e,n){"use strict";var i=n("c9b8").codes.ERR_INVALID_OPT_VALUE;function r(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}function o(t,e,n,o){var s=r(e,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0){var a=o?n:"highWaterMark";throw new i(a,s)}return Math.floor(s)}return t.objectMode?16:16384}t.exports={getHighWaterMark:o}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e49":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e6b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -28,22 +28,22 @@ var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_augu //! moment.js locale configuration var e=t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"0f5c":function(t,e,n){var i=n("159a");function r(t,e,n){return null==t?t:i(t,e,n)}t.exports=r},"0f7c":function(t,e,n){"use strict";var i=n("688e");t.exports=Function.prototype.bind||i},"0ff2":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}))},"100e":function(t,e,n){var i=n("cd9d"),r=n("2286"),o=n("c1c9");function s(t,e){return o(r(t,e,i),t+"")}t.exports=s},1041:function(t,e,n){var i=n("8eeb"),r=n("a029");function o(t,e){return i(t,r(t),e)}t.exports=o},"107c":function(t,e,n){"use strict";var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},"10e8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}))},"100e":function(t,e,n){var i=n("cd9d"),r=n("2286"),o=n("c1c9");function s(t,e){return o(r(t,e,i),t+"")}t.exports=s},1041:function(t,e,n){var i=n("8eeb"),r=n("a029");function o(t,e){return i(t,r(t),e)}t.exports=o},"10e8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e}))},1290:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},1310:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},1316:function(t,e,n){"use strict";n("4105")},1368:function(t,e,n){var i=n("da03"),r=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!r&&r in t}t.exports=o},"13d2":function(t,e,n){"use strict";var i=n("e330"),r=n("d039"),o=n("1626"),s=n("1a2d"),a=n("83ab"),l=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),h=u.enforce,d=u.get,f=String,p=Object.defineProperty,m=i("".slice),_=i("".replace),g=i([].join),v=a&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===m(f(e),0,7)&&(e="["+_(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||l&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&s(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var i=h(t);return s(i,"source")||(i.source=g(y,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return o(this)&&d(this).source||c(this)}),"toString")},"13e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var o,s=e.words[i];return 1===i.length?"y"===i&&n?"једна година":r||n?s[0]:s[1]:(o=e.correctGrammaticalCase(t,s),"yy"===i&&n&&"годину"===o?t+" година":t+" "+o)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1468:function(t,e){var n=1e3,i=60*n,r=60*i,o=24*r,s=7*o,a=365.25*o;function l(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var l=parseFloat(e[1]),c=(e[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*s;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*i;case"seconds":case"second":case"secs":case"sec":case"s":return l*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function c(t){var e=Math.abs(t);return e>=o?Math.round(t/o)+"d":e>=r?Math.round(t/r)+"h":e>=i?Math.round(t/i)+"m":e>=n?Math.round(t/n)+"s":t+"ms"}function u(t){var e=Math.abs(t);return e>=o?h(t,e,o,"day"):e>=r?h(t,e,r,"hour"):e>=i?h(t,e,i,"minute"):e>=n?h(t,e,n,"second"):t+" ms"}function h(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+" "+i+(r?"s":"")}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return l(t);if("number"===n&&isFinite(t))return e.long?u(t):c(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"14c3":function(t,e,n){"use strict";var i=n("c65b"),r=n("825a"),o=n("1626"),s=n("c6b6"),a=n("9263"),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var c=i(n,t,e);return null!==c&&r(c),c}if("RegExp"===s(t))return i(a,t,e);throw new l("RegExp#exec called on incompatible receiver")}},"14d9":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=c||!u();i({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=r(this),n=o(e),i=arguments.length;a(n+i);for(var l=0;l=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var o,s=e.words[i];return 1===i.length?"y"===i&&n?"једна година":r||n?s[0]:s[1]:(o=e.correctGrammaticalCase(t,s),"yy"===i&&n&&"годину"===o?t+" година":t+" "+o)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1468:function(t,e){var n=1e3,i=60*n,r=60*i,o=24*r,s=7*o,a=365.25*o;function l(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var l=parseFloat(e[1]),c=(e[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*s;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*i;case"seconds":case"second":case"secs":case"sec":case"s":return l*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function c(t){var e=Math.abs(t);return e>=o?Math.round(t/o)+"d":e>=r?Math.round(t/r)+"h":e>=i?Math.round(t/i)+"m":e>=n?Math.round(t/n)+"s":t+"ms"}function u(t){var e=Math.abs(t);return e>=o?h(t,e,o,"day"):e>=r?h(t,e,r,"hour"):e>=i?h(t,e,i,"minute"):e>=n?h(t,e,n,"second"):t+" ms"}function h(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+" "+i+(r?"s":"")}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return l(t);if("number"===n&&isFinite(t))return e.long?u(t):c(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"14d9":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=c||!u();i({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=r(this),n=o(e),i=arguments.length;a(n+i);for(var l=0;l{const t="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.msCrypto:void 0;if(void 0!==t){if(void 0!==t.randomBytes)return t.randomBytes;if(void 0!==t.getRandomValues)return e=>{var n=new Uint8Array(e);return t.getRandomValues(n),n}}return t=>{const e=[];for(let n=t;n>0;n--)e.push(Math.floor(256*Math.random()));return e}})(),a=4096;e["a"]=function(){(void 0===i||r+16>a)&&(r=0,i=s(a));const t=Array.prototype.slice.call(i,r,r+=16);return t[6]=15&t[6]|64,t[8]=63&t[8]|128,o[t[0]]+o[t[1]]+o[t[2]]+o[t[3]]+"-"+o[t[4]]+o[t[5]]+"-"+o[t[6]]+o[t[7]]+"-"+o[t[8]]+o[t[9]]+"-"+o[t[10]]+o[t[11]]+o[t[12]]+o[t[13]]+o[t[14]]+o[t[15]]}},1787:function(t,e,n){"use strict";var i=n("861d");t.exports=function(t){return i(t)||null===t}},"184d":function(t,e,n){"use strict";var i=n("f177"),r=n("2500"),o=n("bbc7");t.exports={formats:o,parse:r,stringify:i}},"18d6":function(t,e,n){"use strict";var i=n("0967"),r=n("50a7");e["a"]={install({$q:t}){const e=!0===i["e"]||!1===i["a"].has.webStorage?Object(r["a"])():Object(r["b"])("local");t.localStorage=e,Object.assign(this,e)}}},"18d8":function(t,e,n){var i=n("234d"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(o,"$1"):n||t)})),e}));t.exports=s},1985:function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof i&&i;s.global!==s&&s.window!==s&&s.self;var a,l=2147483647,c=36,u=1,h=26,d=38,f=700,p=72,m=128,_="-",g=/^xn--/,v=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,M=Math.floor,k=String.fromCharCode;function L(t){throw new RangeError(b[t])}function S(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function x(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(y,".");var r=t.split("."),o=S(r,e).join(".");return i+o}function T(t){var e,n,i=[],r=0,o=t.length;while(r=55296&&e<=56319&&r65535&&(t-=65536,e+=k(t>>>10&1023|55296),t=56320|1023&t),e+=k(t),e})).join("")}function D(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var i=0;for(t=n?M(t/f):t>>1,t+=M(t/e);t>w*h>>1;i+=c)t=M(t/w);return M(i+(w+1)*t/(t+d))}function P(t){var e,n,i,r,o,s,a,d,f,g,v=[],y=t.length,b=0,w=m,k=p;for(n=t.lastIndexOf(_),n<0&&(n=0),i=0;i=128&&L("not-basic"),v.push(t.charCodeAt(i));for(r=n>0?n+1:0;r=y&&L("invalid-input"),d=D(t.charCodeAt(r++)),(d>=c||d>M((l-b)/s))&&L("overflow"),b+=d*s,f=a<=k?u:a>=k+h?h:a-k,dM(l/g)&&L("overflow"),s*=g}e=v.length+1,k=E(b-o,e,0==o),M(b/e)>l-w&&L("overflow"),w+=M(b/e),b%=e,v.splice(b++,0,w)}return C(v)}function Y(t){var e,n,i,r,o,s,a,d,f,g,v,y,b,w,S,x=[];for(t=T(t),y=t.length,e=m,n=0,o=p,s=0;s=e&&vM((l-n)/b)&&L("overflow"),n+=(a-e)*b,e=a,s=0;sl&&L("overflow"),v==e){for(d=n,f=c;;f+=c){if(g=f<=o?u:f>=o+h?h:f-o,d{const t="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.msCrypto:void 0;if(void 0!==t){if(void 0!==t.randomBytes)return t.randomBytes;if(void 0!==t.getRandomValues)return e=>{var n=new Uint8Array(e);return t.getRandomValues(n),n}}return t=>{const e=[];for(let n=t;n>0;n--)e.push(Math.floor(256*Math.random()));return e}})(),a=4096;e["a"]=function(){(void 0===i||r+16>a)&&(r=0,i=s(a));const t=Array.prototype.slice.call(i,r,r+=16);return t[6]=15&t[6]|64,t[8]=63&t[8]|128,o[t[0]]+o[t[1]]+o[t[2]]+o[t[3]]+"-"+o[t[4]]+o[t[5]]+"-"+o[t[6]]+o[t[7]]+"-"+o[t[8]]+o[t[9]]+"-"+o[t[10]]+o[t[11]]+o[t[12]]+o[t[13]]+o[t[14]]+o[t[15]]}},1787:function(t,e,n){"use strict";var i=n("861d");t.exports=function(t){return i(t)||null===t}},"184d":function(t,e,n){"use strict";var i=n("f177"),r=n("2500"),o=n("bbc7");t.exports={formats:o,parse:r,stringify:i}},"18d6":function(t,e,n){"use strict";var i=n("0967"),r=n("50a7");e["a"]={install({$q:t}){const e=!0===i["e"]||!1===i["a"].has.webStorage?Object(r["a"])():Object(r["b"])("local");t.localStorage=e,Object.assign(this,e)}}},"18d8":function(t,e,n){var i=n("234d"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(o,"$1"):n||t)})),e}));t.exports=s},1985:function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof i&&i;s.global!==s&&s.window!==s&&s.self;var a,l=2147483647,c=36,u=1,h=26,d=38,f=700,p=72,m=128,_="-",g=/^xn--/,v=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,M=Math.floor,k=String.fromCharCode;function L(t){throw new RangeError(b[t])}function S(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function x(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(y,".");var r=t.split("."),o=S(r,e).join(".");return i+o}function T(t){var e,n,i=[],r=0,o=t.length;while(r=55296&&e<=56319&&r65535&&(t-=65536,e+=k(t>>>10&1023|55296),t=56320|1023&t),e+=k(t),e})).join("")}function D(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var i=0;for(t=n?M(t/f):t>>1,t+=M(t/e);t>w*h>>1;i+=c)t=M(t/w);return M(i+(w+1)*t/(t+d))}function P(t){var e,n,i,r,o,s,a,d,f,g,v=[],y=t.length,b=0,w=m,k=p;for(n=t.lastIndexOf(_),n<0&&(n=0),i=0;i=128&&L("not-basic"),v.push(t.charCodeAt(i));for(r=n>0?n+1:0;r=y&&L("invalid-input"),d=D(t.charCodeAt(r++)),(d>=c||d>M((l-b)/s))&&L("overflow"),b+=d*s,f=a<=k?u:a>=k+h?h:a-k,dM(l/g)&&L("overflow"),s*=g}e=v.length+1,k=E(b-o,e,0==o),M(b/e)>l-w&&L("overflow"),w+=M(b/e),b%=e,v.splice(b++,0,w)}return C(v)}function Y(t){var e,n,i,r,o,s,a,d,f,g,v,y,b,w,S,x=[];for(t=T(t),y=t.length,e=m,n=0,o=p,s=0;s=e&&vM((l-n)/b)&&L("overflow"),n+=(a-e)*b,e=a,s=0;sl&&L("overflow"),v==e){for(d=n,f=c;;f+=c){if(g=f<=o?u:f>=o+h?h:f-o,d{i=void 0,!0!==n&&t.apply(this,r)};clearTimeout(i),!0===n&&void 0===i&&t.apply(this,r),i=setTimeout(o,e)}return r.cancel=()=>{clearTimeout(i)},r}},"1c1c":function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("87e8"),s=n("e277");e["a"]=i["default"].extend({name:"QList",mixins:[o["a"],r["a"]],props:{bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return"q-list"+(!0===this.bordered?" q-list--bordered":"")+(!0===this.dense?" q-list--dense":"")+(!0===this.separator?" q-list--separator":"")+(!0===this.isDark?" q-list--dark":"")+(!0===this.padding?" q-list--padding":"")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(s["c"])(this,"default"))}})},"1c35":function(t,e,n){"use strict";(function(t){ +var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1bac":function(t,e,n){var i=n("7d1f"),r=n("a029"),o=n("9934");function s(t){return i(t,o,r)}t.exports=s},"1c16":function(t,e,n){"use strict";e["a"]=function(t,e=250,n){let i;function r(){const r=arguments,o=()=>{i=void 0,!0!==n&&t.apply(this,r)};clearTimeout(i),!0===n&&void 0===i&&t.apply(this,r),i=setTimeout(o,e)}return r.cancel=()=>{clearTimeout(i)},r}},"1c1c":function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("87e8"),s=n("e277");e["a"]=i["default"].extend({name:"QList",mixins:[o["a"],r["a"]],props:{bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return"q-list"+(!0===this.bordered?" q-list--bordered":"")+(!0===this.dense?" q-list--dense":"")+(!0===this.separator?" q-list--separator":"")+(!0===this.isDark?" q-list--dark":"")+(!0===this.padding?" q-list--padding":"")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(s["c"])(this,"default"))}})},"1c35":function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var i=n("1fb5"),r=n("9152"),o=n("bf74");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),c.alloc(+t)}function b(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function M(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function k(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:L(t,e,n,i,r);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):L(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function L(t,e,n,i,r){var o,s=1,a=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(r){var u=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var h=!0,d=0;dr&&(i=r)):i=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=t[r+1],s=t[r+2],128===(192&o)&&128===(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=t[r+1],s=t[r+2],a=t[r+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return A(i)}e.Buffer=c,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return d(null,t,e,n)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,s=n-e,a=Math.min(o,s),l=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return S(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return T(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return D(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function A(t){var e=t.length;if(e<=Y)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var r="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,i,r,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function q(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function F(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function B(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(t,e,n,i,o){return o||B(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function W(t,e,n,i,o){return o||B(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(r*=256))i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||$(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||$(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||$(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||$(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||$(t,e,this.length);var i=this[t],r=1,o=0;while(++o=r&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||$(t,e,this.length);var i=e,r=1,o=this[t+--i];while(i>0&&(r*=256))o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||$(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||$(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||$(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||$(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||$(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||$(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||$(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;N(this,t,e,n,r,0)}var o=1,s=0;this[e]=255&t;while(++s=0&&(s*=256))this[e+o]=t/s&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}var o=0,s=1,a=0;this[e]=255&t;while(++o>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return z(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return z(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return W(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return W(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(t){for(var e=[],n=0;n>8,r=n%256,o.push(r),o.push(i)}return o}function X(t){return i.toByteArray(U(t))}function tt(t,e,n,i){for(var r=0;r=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},"1cec":function(t,e,n){var i=n("0b07"),r=n("2b3e"),o=i(r,"Promise");t.exports=o},"1cfd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var i=n("1fb5"),r=n("9152"),o=n("bf74");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),c.alloc(+t)}function b(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function M(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function k(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:L(t,e,n,i,r);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):L(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function L(t,e,n,i,r){var o,s=1,a=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(r){var u=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var h=!0,d=0;dr&&(i=r)):i=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=t[r+1],s=t[r+2],128===(192&o)&&128===(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=t[r+1],s=t[r+2],a=t[r+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return j(i)}e.Buffer=c,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return d(null,t,e,n)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,s=n-e,a=Math.min(o,s),l=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return S(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return T(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return D(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function j(t){var e=t.length;if(e<=Y)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var r="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,i,r,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function q(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function F(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function B(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(t,e,n,i,o){return o||B(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function W(t,e,n,i,o){return o||B(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(r*=256))i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||H(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||H(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||H(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||H(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||H(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var i=this[t],r=1,o=0;while(++o=r&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||H(t,e,this.length);var i=e,r=1,o=this[t+--i];while(i>0&&(r*=256))o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||H(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||H(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||H(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||H(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||H(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||H(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||H(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||H(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||H(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;N(this,t,e,n,r,0)}var o=1,s=0;this[e]=255&t;while(++s=0&&(s*=256))this[e+o]=t/s&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}var o=0,s=1,a=0;this[e]=255&t;while(++o>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return z(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return z(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return W(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return W(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(t){for(var e=[],n=0;n>8,r=n%256,o.push(r),o.push(i)}return o}function X(t){return i.toByteArray(U(t))}function tt(t,e,n,i){for(var r=0;r=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},"1cec":function(t,e,n){var i=n("0b07"),r=n("2b3e"),o=i(r,"Promise");t.exports=o},"1cfd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,o,s){var a=n(e),l=i[t][n(e)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i1;class m{constructor(t){if("number"===typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!==typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[r]=t.max||1/0;const e=t.length||p;if(this[s]="function"!==typeof e?p:e,this[a]=t.stale||!1,t.maxAge&&"number"!==typeof t.maxAge)throw new TypeError("maxAge must be a number");this[l]=t.maxAge||0,this[c]=t.dispose,this[u]=t.noDisposeOnSet||!1,this[f]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!==typeof t||t<0)throw new TypeError("max must be a non-negative number");this[r]=t||1/0,v(this)}get max(){return this[r]}set allowStale(t){this[a]=!!t}get allowStale(){return this[a]}set maxAge(t){if("number"!==typeof t)throw new TypeError("maxAge must be a non-negative number");this[l]=t,v(this)}get maxAge(){return this[l]}set lengthCalculator(t){"function"!==typeof t&&(t=p),t!==this[s]&&(this[s]=t,this[o]=0,this[h].forEach((t=>{t.length=this[s](t.value,t.key),this[o]+=t.length}))),v(this)}get lengthCalculator(){return this[s]}get length(){return this[o]}get itemCount(){return this[h].length}rforEach(t,e){e=e||this;for(let n=this[h].tail;null!==n;){const i=n.prev;w(this,t,n,e),n=i}}forEach(t,e){e=e||this;for(let n=this[h].head;null!==n;){const i=n.next;w(this,t,n,e),n=i}}keys(){return this[h].toArray().map((t=>t.key))}values(){return this[h].toArray().map((t=>t.value))}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach((t=>this[c](t.key,t.value))),this[d]=new Map,this[h]=new i,this[o]=0}dump(){return this[h].map((t=>!g(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[h]}set(t,e,n){if(n=n||this[l],n&&"number"!==typeof n)throw new TypeError("maxAge must be a number");const i=n?Date.now():0,a=this[s](e,t);if(this[d].has(t)){if(a>this[r])return y(this,this[d].get(t)),!1;const s=this[d].get(t),l=s.value;return this[c]&&(this[u]||this[c](t,l.value)),l.now=i,l.maxAge=n,l.value=e,this[o]+=a-l.length,l.length=a,this.get(t),v(this),!0}const f=new b(t,e,a,i,n);return f.length>this[r]?(this[c]&&this[c](t,e),!1):(this[o]+=f.length,this[h].unshift(f),this[d].set(t,this[h].head),v(this),!0)}has(t){if(!this[d].has(t))return!1;const e=this[d].get(t).value;return!g(this,e)}get(t){return _(this,t,!0)}peek(t){return _(this,t,!1)}pop(){const t=this[h].tail;return t?(y(this,t),t.value):null}del(t){y(this,this[d].get(t))}load(t){this.reset();const e=Date.now();for(let n=t.length-1;n>=0;n--){const i=t[n],r=i.e||0;if(0===r)this.set(i.k,i.v);else{const t=r-e;t>0&&this.set(i.k,i.v,t)}}}prune(){this[d].forEach(((t,e)=>_(this,e,!1)))}}const _=(t,e,n)=>{const i=t[d].get(e);if(i){const e=i.value;if(g(t,e)){if(y(t,i),!t[a])return}else n&&(t[f]&&(i.value.now=Date.now()),t[h].unshiftNode(i));return e.value}},g=(t,e)=>{if(!e||!e.maxAge&&!t[l])return!1;const n=Date.now()-e.now;return e.maxAge?n>e.maxAge:t[l]&&n>t[l]},v=t=>{if(t[o]>t[r])for(let e=t[h].tail;t[o]>t[r]&&null!==e;){const n=e.prev;y(t,e),e=n}},y=(t,e)=>{if(e){const n=e.value;t[c]&&t[c](n.key,n.value),t[o]-=n.length,t[d].delete(n.key),t[h].removeNode(e)}};class b{constructor(t,e,n,i,r){this.key=t,this.value=e,this.length=n,this.now=i,this.maxAge=r||0}}const w=(t,e,n,i)=>{let r=n.value;g(t,r)&&(y(t,n),t[a]||(r=void 0)),r&&e.call(i,r.value,r.key,t)};t.exports=m},"1fad":function(t,e,n){const i=n("51e9"),r=n("faa1"),o=n("a7c9"),s=n("b289"),a=n("34eb")("mqtt-packet:parser");class l extends r{constructor(){super(),this.parser=this.constructor.parser}static parser(t){return this instanceof l?(this.settings=t||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):(new l).parser(t)}_resetState(){a("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new o,this.error=null,this._list=i(),this._stateCounter=0}parse(t){this.error&&this._resetState(),this._list.append(t),a("parse: current state: %s",this._states[this._stateCounter]);while((-1!==this.packet.length||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error)this._stateCounter++,a("parse: state complete. _stateCounter is now: %d",this._stateCounter),a("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return a("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){const t=this._list.readUInt8(0);return this.packet.cmd=s.types[t>>s.CMD_SHIFT],this.packet.retain=0!==(t&s.RETAIN_MASK),this.packet.qos=t>>s.QOS_SHIFT&s.QOS_MASK,this.packet.dup=0!==(t&s.DUP_MASK),a("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0}_parseLength(){const t=this._parseVarByteNum(!0);return t&&(this.packet.length=t.value,this._list.consume(t.bytes)),a("_parseLength %d",t.value),!!t}_parsePayload(){a("_parsePayload: payload %O",this._list);let t=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}t=!0}return a("_parsePayload complete result: %s",t),t}_parseConnect(){let t,e,n,i;a("_parseConnect");const r={},o=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(o.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(o.protocolVersion=this._list.readUInt8(this._pos),o.protocolVersion>=128&&(o.bridgeMode=!0,o.protocolVersion=o.protocolVersion-128),3!==o.protocolVersion&&4!==o.protocolVersion&&5!==o.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(r.username=this._list.readUInt8(this._pos)&s.USERNAME_MASK,r.password=this._list.readUInt8(this._pos)&s.PASSWORD_MASK,r.will=this._list.readUInt8(this._pos)&s.WILL_FLAG_MASK,r.will&&(o.will={},o.will.retain=0!==(this._list.readUInt8(this._pos)&s.WILL_RETAIN_MASK),o.will.qos=(this._list.readUInt8(this._pos)&s.WILL_QOS_MASK)>>s.WILL_QOS_SHIFT),o.clean=0!==(this._list.readUInt8(this._pos)&s.CLEAN_SESSION_MASK),this._pos++,o.keepalive=this._parseNum(),-1===o.keepalive)return this._emitError(new Error("Packet too short"));if(5===o.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(o.properties=t)}const c=this._parseString();if(null===c)return this._emitError(new Error("Packet too short"));if(o.clientId=c,a("_parseConnect: packet.clientId: %s",o.clientId),r.will){if(5===o.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(o.will.properties=t)}if(t=this._parseString(),null===t)return this._emitError(new Error("Cannot parse will topic"));if(o.will.topic=t,a("_parseConnect: packet.will.topic: %s",o.will.topic),e=this._parseBuffer(),null===e)return this._emitError(new Error("Cannot parse will payload"));o.will.payload=e,a("_parseConnect: packet.will.paylaod: %s",o.will.payload)}if(r.username){if(i=this._parseString(),null===i)return this._emitError(new Error("Cannot parse username"));o.username=i,a("_parseConnect: packet.username: %s",o.username)}if(r.password){if(n=this._parseBuffer(),null===n)return this._emitError(new Error("Cannot parse password"));o.password=n}return this.settings=o,a("_parseConnect: complete"),o}_parseConnack(){a("_parseConnack");const t=this.packet;if(this._list.length<1)return null;if(t.sessionPresent=!!(this._list.readUInt8(this._pos++)&s.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?t.reasonCode=this._list.readUInt8(this._pos++):t.reasonCode=0;else{if(this._list.length<2)return null;t.returnCode=this._list.readUInt8(this._pos++)}if(-1===t.returnCode||-1===t.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}a("_parseConnack: complete")}_parsePublish(){a("_parsePublish");const t=this.packet;if(t.topic=this._parseString(),null===t.topic)return this._emitError(new Error("Cannot parse topic"));if(!(t.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}t.payload=this._list.slice(this._pos,t.length),a("_parsePublish: payload from buffer list: %o",t.payload)}}_parseSubscribe(){a("_parseSubscribe");const t=this.packet;let e,n,i,r,o,l,c;if(1!==t.qos)return this._emitError(new Error("Wrong subscribe header"));if(t.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}while(this._pos=t.length)return this._emitError(new Error("Malformed Subscribe Payload"));n=this._parseByte(),i=n&s.SUBSCRIBE_OPTIONS_QOS_MASK,l=0!==(n>>s.SUBSCRIBE_OPTIONS_NL_SHIFT&s.SUBSCRIBE_OPTIONS_NL_MASK),o=0!==(n>>s.SUBSCRIBE_OPTIONS_RAP_SHIFT&s.SUBSCRIBE_OPTIONS_RAP_MASK),r=n>>s.SUBSCRIBE_OPTIONS_RH_SHIFT&s.SUBSCRIBE_OPTIONS_RH_MASK,c={topic:e,qos:i},5===this.settings.protocolVersion?(c.nl=l,c.rap=o,c.rh=r):this.settings.bridgeMode&&(c.rh=0,c.rap=!0,c.nl=!0),a("_parseSubscribe: push subscription `%s` to subscription",c),t.subscriptions.push(c)}}}_parseSuback(){a("_parseSuback");const t=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}while(this._pos2?(t.reasonCode=this._parseByte(),a("_parseConfirmation: packet.reasonCode `%d`",t.reasonCode)):t.reasonCode=0,t.length>3)){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}return!0}_parseDisconnect(){const t=this.packet;if(a("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?t.reasonCode=this._parseByte():t.reasonCode=0;const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}return a("_parseDisconnect result: true"),!0}_parseAuth(){a("_parseAuth");const t=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));t.reasonCode=this._parseByte();const e=this._parseProperties();return Object.getOwnPropertyNames(e).length&&(t.properties=e),a("_parseAuth: result: true"),!0}_parseMessageId(){const t=this.packet;return t.messageId=this._parseNum(),null===t.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(a("_parseMessageId: packet.messageId %d",t.messageId),!0)}_parseString(t){const e=this._parseNum(),n=e+this._pos;if(-1===e||n>this._list.length||n>this.packet.length)return null;const i=this._list.toString("utf8",this._pos,n);return this._pos+=e,a("_parseString: result: %s",i),i}_parseStringPair(){return a("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){const t=this._parseNum(),e=t+this._pos;if(-1===t||e>this._list.length||e>this.packet.length)return null;const n=this._list.slice(this._pos,e);return this._pos+=t,a("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;const t=this._list.readUInt16BE(this._pos);return this._pos+=2,a("_parseNum: result: %s",t),t}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;const t=this._list.readUInt32BE(this._pos);return this._pos+=4,a("_parse4ByteNum: result: %s",t),t}_parseVarByteNum(t){a("_parseVarByteNum");const e=4;let n,i=0,r=1,o=0,l=!1;const c=this._pos?this._pos:0;while(i=i&&this._emitError(new Error("Invalid variable byte integer")),c&&(this._pos+=i),l=!!l&&(t?{bytes:i,value:o}:o),a("_parseVarByteNum: result: %o",l),l}_parseByte(){let t;return this._pos0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function u(t){var e=c(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=c(t),s=i[0],a=i[1],l=new o(h(t,s,a)),u=0,d=a>0?s-4:s;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l}function f(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function p(t,e,n){for(var i,r=[],o=e;ol?l:a+s));return 1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -57,17 +57,17 @@ var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n= //! moment.js locale configuration function e(t,e,n,i){switch(n){case"m":return e?"jedna minuta":i?"jednu minutu":"jedne minute"}}function n(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return"jedan sat";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var i=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:n,m:e,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}))},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?o(n)[0]:i?o(n)[1]:o(n)[2]}function r(t){return t%10===0||t>10&&t<20}function o(t){return e[t].split("_")}function s(t,e,n,s){var a=t+" ";return 1===t?a+i(t,e,n[0],s):e?a+(r(t)?o(n)[1]:o(n)[0]):s?a+o(n)[1]:a+(r(t)?o(n)[1]:o(n)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a}))},2714:function(t,e,n){(function(e){var i="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"===typeof r.get?r.get:null,s=i&&Map.prototype.forEach,a="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"===typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"===typeof WeakMap&&WeakMap.prototype,d=h?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype,p=f?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype,_=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,v=Object.prototype.toString,y=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,M=String.prototype.replace,k=String.prototype.toUpperCase,L=String.prototype.toLowerCase,S=RegExp.prototype.test,x=Array.prototype.concat,T=Array.prototype.join,C=Array.prototype.slice,D=Math.floor,O="function"===typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,Y="function"===typeof Symbol&&"object"===typeof Symbol.iterator,A="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Y||"symbol")?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,I=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function R(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||S.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var i=t<0?-D(-t):D(t);if(i!==t){var r=String(i),o=w.call(e,r.length+1);return M.call(r,n,"$&_")+"."+M.call(M.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(e,n,"$&_")}var H=n(4),$=H.custom,N=K($)?$:null;function q(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function F(t){return M.call(String(t),/"/g,""")}function B(t){return"[object Array]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function z(t){return"[object Date]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function W(t){return"[object RegExp]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function V(t){return"[object Error]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function U(t){return"[object String]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function Z(t){return"[object Number]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function G(t){return"[object Boolean]"===tt(t)&&(!A||!("object"===typeof t&&A in t))}function K(t){if(Y)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!P)return!1;try{return P.call(t),!0}catch(e){}return!1}function J(t){if(!t||"object"!==typeof t||!O)return!1;try{return O.call(t),!0}catch(e){}return!1}t.exports=function t(n,i,r,a){var l=i||{};if(X(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!X(l,"customInspect")||l.customInspect;if("boolean"!==typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=l.numericSeparator;if("undefined"===typeof n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return ct(n,l);if("number"===typeof n){if(0===n)return 1/0/n>0?"0":"-0";var f=String(n);return d?R(n,f):f}if("bigint"===typeof n){var p=String(n)+"n";return d?R(n,p):p}var m="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof r&&(r=0),r>=m&&m>0&&"object"===typeof n)return B(n)?"[Array]":"[Object]";var _=mt(l,r);if("undefined"===typeof a)a=[];else if(nt(a,n)>=0)return"[Circular]";function v(e,n,i){if(n&&(a=C.call(a),a.push(n)),i){var o={depth:l.depth};return X(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),t(e,o,r+1,a)}return t(e,l,r+1,a)}if("function"===typeof n&&!W(n)){var y=et(n),b=gt(n,v);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(b.length>0?" { "+T.call(b,", ")+" }":"")}if(K(n)){var k=Y?M.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(n);return"object"!==typeof n||Y?k:ht(k)}if(lt(n)){for(var S="<"+L.call(String(n.nodeName)),D=n.attributes||[],E=0;E",S}if(B(n)){if(0===n.length)return"[]";var $=gt(n,v);return _&&!pt($)?"["+_t($,_)+"]":"[ "+T.call($,", ")+" ]"}if(V(n)){var Q=gt(n,v);return"cause"in Error.prototype||!("cause"in n)||j.call(n,"cause")?0===Q.length?"["+String(n)+"]":"{ ["+String(n)+"] "+T.call(Q,", ")+" }":"{ ["+String(n)+"] "+T.call(x.call("[cause]: "+v(n.cause),Q),", ")+" }"}if("object"===typeof n&&h){if(N&&"function"===typeof n[N]&&H)return H(n,{depth:m-r});if("symbol"!==h&&"function"===typeof n.inspect)return n.inspect()}if(it(n)){var ut=[];return s&&s.call(n,(function(t,e){ut.push(v(e,n,!0)+" => "+v(t,n))})),ft("Map",o.call(n),ut,_)}if(st(n)){var vt=[];return u&&u.call(n,(function(t){vt.push(v(t,n))})),ft("Set",c.call(n),vt,_)}if(rt(n))return dt("WeakMap");if(at(n))return dt("WeakSet");if(ot(n))return dt("WeakRef");if(Z(n))return ht(v(Number(n)));if(J(n))return ht(v(O.call(n)));if(G(n))return ht(g.call(n));if(U(n))return ht(v(String(n)));if("undefined"!==typeof window&&n===window)return"{ [object Window] }";if(n===e)return"{ [object globalThis] }";if(!z(n)&&!W(n)){var yt=gt(n,v),bt=I?I(n)===Object.prototype:n instanceof Object||n.constructor===Object,wt=n instanceof Object?"":"null prototype",Mt=!bt&&A&&Object(n)===n&&A in n?w.call(tt(n),8,-1):wt?"Object":"",kt=bt||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"",Lt=kt+(Mt||wt?"["+T.call(x.call([],Mt||[],wt||[]),": ")+"] ":"");return 0===yt.length?Lt+"{}":_?Lt+"{"+_t(yt,_)+"}":Lt+"{ "+T.call(yt,", ")+" }"}return String(n)};var Q=Object.prototype.hasOwnProperty||function(t){return t in this};function X(t,e){return Q.call(t,e)}function tt(t){return v.call(t)}function et(t){if(t.name)return t.name;var e=b.call(y.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ct(w.call(t,0,e.maxStringLength),e)+i}var r=M.call(M.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ut);return q(r,"single",e)}function ut(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+k.call(e.toString(16))}function ht(t){return"Object("+t+")"}function dt(t){return t+" { ? }"}function ft(t,e,n,i){var r=i?_t(n,i):T.call(n,", ");return t+" ("+e+") {"+r+"}"}function pt(t){for(var e=0;e=0)return!1;return!0}function mt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=T.call(Array(t.indent+1)," ")}return{base:n,prev:T.call(Array(e+1),n)}}function _t(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+T.call(t,","+n)+"\n"+e.prev}function gt(t,e){var n=B(t),i=[];if(n){i.length=t.length;for(var r=0;r{!0===i(t)?r.push(t):e.push({failedPropValidation:n,file:t})})),r}function u(t){t&&t.dataTransfer&&(t.dataTransfer.dropEffect="copy"),Object(a["l"])(t)}Boolean;const h={computed:{formDomProps(){if("file"===this.type)try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(this.value)===this.value&&("length"in this.value?Array.from(this.value):[this.value]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(t){return{files:void 0}}}}};var d=n("dc8a");const f={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},p={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},m=Object.keys(p);m.forEach((t=>{p[t].regex=new RegExp(p[t].pattern)}));const _=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+m.join("")+"])|(.)","g"),g=/[.*+?^${}()|[\]\\]/g,v=String.fromCharCode(1);var y={props:{mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean},watch:{type(){this.__updateMaskInternals()},autogrow(){this.__updateMaskInternals()},mask(t){if(void 0!==t)this.__updateMaskValue(this.innerValue,!0);else{const t=this.__unmask(this.innerValue);this.__updateMaskInternals(),this.value!==t&&this.$emit("input",t)}},fillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},reverseFillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},unmaskedValue(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue)}},methods:{__getInitialMaskedValue(){if(this.__updateMaskInternals(),!0===this.hasMask){const t=this.__mask(this.__unmask(this.value));return!1!==this.fillMask?this.__fillWithMask(t):t}return this.value},__getPaddedMaskMarked(t){if(t-1){for(let i=t-e.length;i>0;i--)n+=v;e=e.slice(0,i)+n+e.slice(i)}return e},__updateMaskInternals(){if(this.hasMask=void 0!==this.mask&&this.mask.length>0&&(!0===this.autogrow||["textarea","text","search","url","tel","password"].includes(this.type)),!1===this.hasMask)return this.computedUnmask=void 0,this.maskMarked="",void(this.maskReplaced="");const t=void 0===f[this.mask]?this.mask:f[this.mask],e="string"===typeof this.fillMask&&this.fillMask.length>0?this.fillMask.slice(0,1):"_",n=e.replace(g,"\\$&"),i=[],r=[],o=[];let s=!0===this.reverseFillMask,a="",l="";t.replace(_,((t,e,n,c,u)=>{if(void 0!==c){const t=p[c];o.push(t),l=t.negate,!0===s&&(r.push("(?:"+l+"+)?("+t.pattern+"+)?(?:"+l+"+)?("+t.pattern+"+)?"),s=!1),r.push("(?:"+l+"+)?("+t.pattern+")?")}else if(void 0!==n)a="\\"+("\\"===n?"":n),o.push(n),i.push("([^"+a+"]+)?"+a+"?");else{const t=void 0!==e?e:u;a="\\"===t?"\\\\\\\\":t.replace(g,"\\\\$&"),o.push(t),i.push("([^"+a+"]+)?"+a+"?")}}));const c=new RegExp("^"+i.join("")+"("+(""===a?".":"[^"+a+"]")+"+)?"+(""===a?"":"["+a+"]*")+"$"),u=r.length-1,h=r.map(((t,e)=>0===e&&!0===this.reverseFillMask?new RegExp("^"+n+"*"+t):e===u?new RegExp("^"+t+"("+(""===l?".":l)+"+)?"+(!0===this.reverseFillMask?"$":n+"*")):new RegExp("^"+t)));this.computedMask=o,this.computedUnmask=t=>{const e=c.exec(!0===this.reverseFillMask?t:t.slice(0,o.length+1));null!==e&&(t=e.slice(1).join(""));const n=[],i=h.length;for(let r=0,o=t;r0?n.join(""):t},this.maskMarked=o.map((t=>"string"===typeof t?t:v)).join(""),this.maskReplaced=this.maskMarked.split(v).join(e)},__updateMaskValue(t,e,n){const i=this.$refs.input,r=i.selectionEnd,o=i.value.length-r,s=this.__unmask(t);!0===e&&this.__updateMaskInternals();const a=this.__mask(s),l=!1!==this.fillMask?this.__fillWithMask(a):a,c=this.innerValue!==l;i.value!==l&&(i.value=l),!0===c&&(this.innerValue=l),document.activeElement===i&&this.$nextTick((()=>{if(l!==this.maskReplaced)if("insertFromPaste"!==n||!0===this.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(n)>-1){const t=!0===this.reverseFillMask?0===r?l.length>a.length?1:0:Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(a.length,o)+1))+1:r;i.setSelectionRange(t,t,"forward")}else if(!0===this.reverseFillMask)if(!0===c){const t=Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(a.length,o+1)));1===t&&1===r?i.setSelectionRange(t,t,"forward"):this.__moveCursorRightReverse(i,t)}else{const t=l.length-o;i.setSelectionRange(t,t,"backward")}else if(!0===c){const t=Math.max(0,this.maskMarked.indexOf(v),Math.min(a.length,r)-1);this.__moveCursorRight(i,t)}else{const t=r-1;this.__moveCursorRight(i,t)}else{const t=i.selectionEnd;let e=r-1;for(let n=this.__pastedTextStart;n<=e&&n=0;i--)if(this.maskMarked[i]===v){e=i,!0===n&&e++;break}if(i<0&&void 0!==this.maskMarked[e]&&this.maskMarked[e]!==v)return this.__moveCursorRight(t,0);e>=0&&t.setSelectionRange(e,e,"backward")},__moveCursorRight(t,e){const n=t.value.length;let i=Math.min(n,e+1);for(;i<=n;i++){if(this.maskMarked[i]===v){e=i;break}this.maskMarked[i-1]===v&&(e=i)}if(i>n&&void 0!==this.maskMarked[e-1]&&this.maskMarked[e-1]!==v)return this.__moveCursorLeft(t,n);t.setSelectionRange(e,e,"forward")},__moveCursorLeftReverse(t,e){const n=this.__getPaddedMaskMarked(t.value.length);let i=Math.max(0,e-1);for(;i>=0;i--){if(n[i-1]===v){e=i;break}if(n[i]===v&&(e=i,0===i))break}if(i<0&&void 0!==n[e]&&n[e]!==v)return this.__moveCursorRightReverse(t,0);e>=0&&t.setSelectionRange(e,e,"backward")},__moveCursorRightReverse(t,e){const n=t.value.length,i=this.__getPaddedMaskMarked(n),r=-1===i.slice(0,e+1).indexOf(v);let o=Math.min(n,e+1);for(;o<=n;o++)if(i[o-1]===v){e=o,e>0&&!0===r&&e--;break}if(o>n&&void 0!==i[e-1]&&i[e-1]!==v)return this.__moveCursorLeftReverse(t,n);t.setSelectionRange(e,e,"forward")},__onMaskedClick(t){void 0!==this.qListeners.click&&this.$emit("click",t),this.__selectionAnchor=void 0},__onMaskedKeydown(t){if(void 0!==this.qListeners.keydown&&this.$emit("keydown",t),!0===Object(d["c"])(t))return;const e=this.$refs.input,n=e.selectionStart,i=e.selectionEnd;if(t.shiftKey||(this.__selectionAnchor=void 0),37===t.keyCode||39===t.keyCode){t.shiftKey&&void 0===this.__selectionAnchor&&(this.__selectionAnchor="forward"===e.selectionDirection?n:i);const r=this["__moveCursor"+(39===t.keyCode?"Right":"Left")+(!0===this.reverseFillMask?"Reverse":"")];if(t.preventDefault(),r(e,this.__selectionAnchor===n?i:n),t.shiftKey){const t=this.__selectionAnchor,n=e.selectionStart;e.setSelectionRange(Math.min(t,n),Math.max(t,n),"forward")}}else 8===t.keyCode&&!0!==this.reverseFillMask&&n===i?(this.__moveCursorLeft(e,n),e.setSelectionRange(e.selectionStart,i,"backward")):46===t.keyCode&&!0===this.reverseFillMask&&n===i&&(this.__moveCursorRightReverse(e,i),e.setSelectionRange(n,e.selectionEnd,"forward"));this.$emit("keydown",t)},__mask(t){if(void 0===t||null===t||""===t)return"";if(!0===this.reverseFillMask)return this.__maskReverse(t);const e=this.computedMask;let n=0,i="";for(let r=0;r=0&&i>-1;o--){const s=e[o];let a=t[i];if("string"===typeof s)r=s+r,a===s&&i--;else{if(void 0===a||!s.regex.test(a))return r;do{r=(void 0!==s.transform?s.transform(a):a)+r,i--,a=t[i]}while(n===o&&void 0!==a&&s.regex.test(a))}}return r},__unmask(t){return"string"!==typeof t||void 0===this.computedUnmask?"number"===typeof t?this.computedUnmask(""+t):t:this.computedUnmask(t)},__fillWithMask(t){return this.maskReplaced.length-t.length<=0?t:!0===this.reverseFillMask&&t.length>0?this.maskReplaced.slice(0,-t.length)+t:t+this.maskReplaced.slice(t.length)}}},b=n("21e1"),w=n("87e8"),M=n("f6ba");e["a"]=i["default"].extend({name:"QInput",mixins:[r["a"],y,b["a"],o["a"],h,w["a"]],props:{value:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},watch:{value(t){if(!0===this.hasMask){if(!0===this.stopValueWatcher&&(this.stopValueWatcher=!1,String(t)===this.emitCachedValue))return;this.__updateMaskValue(t)}else this.innerValue!==t&&(this.innerValue=t,"number"===this.type&&!0===this.hasOwnProperty("tempValue")&&(!0===this.typedNumber?this.typedNumber=!1:delete this.tempValue));!0===this.autogrow&&this.$nextTick(this.__adjustHeight)},type(){this.$refs.input&&(this.$refs.input.value=this.value)},autogrow(t){if(!0===t)this.$nextTick(this.__adjustHeight);else if(this.qAttrs.rows>0&&void 0!==this.$refs.input){const t=this.$refs.input;t.style.height="auto"}},dense(){!0===this.autogrow&&this.$nextTick(this.__adjustHeight)}},data(){return{innerValue:this.__getInitialMaskedValue()}},computed:{isTextarea(){return"textarea"===this.type||!0===this.autogrow},isTypeText(){return!0===this.isTextarea||["text","search","url","tel","password"].includes(this.type)},fieldClass(){return"q-"+(!0===this.isTextarea?"textarea":"input")+(!0===this.autogrow?" q-textarea--autogrow":"")},hasShadow(){return"file"!==this.type&&"string"===typeof this.shadowText&&this.shadowText.length>0},onEvents(){const t={...this.qListeners,input:this.__onInput,paste:this.__onPaste,change:this.__onChange,blur:this.__onFinishEditing,focus:a["k"]};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,!0===this.hasMask&&(t.keydown=this.__onMaskedKeydown,t.click=this.__onMaskedClick),!0===this.autogrow&&(t.animationend=this.__onAnimationend),t},inputAttrs(){const t={tabindex:0,"data-autofocus":this.autofocus||void 0,rows:"textarea"===this.type?6:void 0,"aria-label":this.label,name:this.nameProp,...this.qAttrs,id:this.targetUid,type:this.type,maxlength:this.maxlength,disabled:!0===this.disable,readonly:!0===this.readonly};return!0===this.autogrow&&(t.rows=1),t}},methods:{focus(){Object(M["a"])((()=>{const t=document.activeElement;void 0===this.$refs.input||this.$refs.input===t||null!==t&&t.id===this.targetUid||this.$refs.input.focus({preventScroll:!0})}))},select(){void 0!==this.$refs.input&&this.$refs.input.select()},getNativeElement(){return this.$refs.input},__onPaste(t){if(!0===this.hasMask&&!0!==this.reverseFillMask){const e=t.target;this.__moveCursorForPaste(e,e.selectionStart,e.selectionEnd)}this.$emit("paste",t)},__onInput(t){if(!t||!t.target||!0===t.target.qComposing)return;if("file"===this.type)return void this.$emit("input",t.target.files);const e=t.target.value;if(!0===this.hasMask)this.__updateMaskValue(e,!1,t.inputType);else if(this.__emitValue(e),!0===this.isTypeText&&t.target===document.activeElement){const{selectionStart:n,selectionEnd:i}=t.target;void 0!==n&&void 0!==i&&this.$nextTick((()=>{t.target===document.activeElement&&0===e.indexOf(t.target.value)&&t.target.setSelectionRange(n,i)}))}!0===this.autogrow&&this.__adjustHeight()},__onAnimationend(t){void 0!==this.qListeners.animationend&&this.$emit("animationend",t),this.__adjustHeight()},__emitValue(t,e){this.emitValueFn=()=>{"number"!==this.type&&!0===this.hasOwnProperty("tempValue")&&delete this.tempValue,this.value!==t&&this.emitCachedValue!==t&&(this.emitCachedValue=t,!0===e&&(this.stopValueWatcher=!0),this.$emit("input",t),this.$nextTick((()=>{this.emitCachedValue===t&&(this.emitCachedValue=NaN)}))),this.emitValueFn=void 0},"number"===this.type&&(this.typedNumber=!0,this.tempValue=t),void 0!==this.debounce?(clearTimeout(this.emitTimer),this.tempValue=t,this.emitTimer=setTimeout(this.emitValueFn,this.debounce)):this.emitValueFn()},__adjustHeight(){requestAnimationFrame((()=>{const t=this.$refs.input;if(void 0!==t){const e=t.parentNode.style,{scrollTop:n}=t,{overflowY:i,maxHeight:r}=!0===this.$q.platform.is.firefox?{}:window.getComputedStyle(t),o=void 0!==i&&"scroll"!==i;!0===o&&(t.style.overflowY="hidden"),e.marginBottom=t.scrollHeight-1+"px",t.style.height="1px",t.style.height=t.scrollHeight+"px",!0===o&&(t.style.overflowY=parseInt(r,10){void 0!==this.$refs.input&&(this.$refs.input.value=void 0!==this.innerValue?this.innerValue:"")}))},__getCurValue(){return!0===this.hasOwnProperty("tempValue")?this.tempValue:void 0!==this.innerValue?this.innerValue:""},__getShadowControl(t){return t("div",{staticClass:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===this.isTextarea?"":" text-no-wrap")},[t("span",{staticClass:"invisible"},this.__getCurValue()),t("span",this.shadowText)])},__getControl(t){return t(!0===this.isTextarea?"textarea":"input",{ref:"input",staticClass:"q-field__native q-placeholder",style:this.inputStyle,class:this.inputClass,attrs:this.inputAttrs,on:this.onEvents,domProps:"file"!==this.type?{value:this.__getCurValue()}:this.formDomProps})}},created(){this.emitCachedValue=NaN},mounted(){!0===this.autogrow&&this.__adjustHeight()},beforeDestroy(){this.__onFinishEditing()}})},2834:function(t,e,n){"use strict";var i=n("ebb5"),r=n("e330"),o=n("59ed"),s=n("dfb9"),a=i.aTypedArray,l=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,u=r(i.TypedArrayPrototype.sort);c("toSorted",(function(t){void 0!==t&&o(t);var e=a(this),n=s(l(e),e);return u(n,t)}))},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},"28c9":function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?o(n)[0]:i?o(n)[1]:o(n)[2]}function r(t){return t%10===0||t>10&&t<20}function o(t){return e[t].split("_")}function s(t,e,n,s){var a=t+" ";return 1===t?a+i(t,e,n[0],s):e?a+(r(t)?o(n)[1]:o(n)[0]):s?a+o(n)[1]:a+(r(t)?o(n)[1]:o(n)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a}))},2714:function(t,e,n){(function(e){var i="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"===typeof r.get?r.get:null,s=i&&Map.prototype.forEach,a="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"===typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"===typeof WeakMap&&WeakMap.prototype,d=h?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype,p=f?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype,_=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,v=Object.prototype.toString,y=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,M=String.prototype.replace,k=String.prototype.toUpperCase,L=String.prototype.toLowerCase,S=RegExp.prototype.test,x=Array.prototype.concat,T=Array.prototype.join,C=Array.prototype.slice,D=Math.floor,O="function"===typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,Y="function"===typeof Symbol&&"object"===typeof Symbol.iterator,j="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Y||"symbol")?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,I=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function R(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||S.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var i=t<0?-D(-t):D(t);if(i!==t){var r=String(i),o=w.call(e,r.length+1);return M.call(r,n,"$&_")+"."+M.call(M.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(e,n,"$&_")}var $=n(4),H=$.custom,N=K(H)?H:null;function q(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function F(t){return M.call(String(t),/"/g,""")}function B(t){return"[object Array]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function z(t){return"[object Date]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function W(t){return"[object RegExp]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function V(t){return"[object Error]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function U(t){return"[object String]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function Z(t){return"[object Number]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function G(t){return"[object Boolean]"===tt(t)&&(!j||!("object"===typeof t&&j in t))}function K(t){if(Y)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!P)return!1;try{return P.call(t),!0}catch(e){}return!1}function J(t){if(!t||"object"!==typeof t||!O)return!1;try{return O.call(t),!0}catch(e){}return!1}t.exports=function t(n,i,r,a){var l=i||{};if(X(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!X(l,"customInspect")||l.customInspect;if("boolean"!==typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=l.numericSeparator;if("undefined"===typeof n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return ct(n,l);if("number"===typeof n){if(0===n)return 1/0/n>0?"0":"-0";var f=String(n);return d?R(n,f):f}if("bigint"===typeof n){var p=String(n)+"n";return d?R(n,p):p}var m="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof r&&(r=0),r>=m&&m>0&&"object"===typeof n)return B(n)?"[Array]":"[Object]";var _=mt(l,r);if("undefined"===typeof a)a=[];else if(nt(a,n)>=0)return"[Circular]";function v(e,n,i){if(n&&(a=C.call(a),a.push(n)),i){var o={depth:l.depth};return X(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),t(e,o,r+1,a)}return t(e,l,r+1,a)}if("function"===typeof n&&!W(n)){var y=et(n),b=gt(n,v);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(b.length>0?" { "+T.call(b,", ")+" }":"")}if(K(n)){var k=Y?M.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(n);return"object"!==typeof n||Y?k:ht(k)}if(lt(n)){for(var S="<"+L.call(String(n.nodeName)),D=n.attributes||[],E=0;E",S}if(B(n)){if(0===n.length)return"[]";var H=gt(n,v);return _&&!pt(H)?"["+_t(H,_)+"]":"[ "+T.call(H,", ")+" ]"}if(V(n)){var Q=gt(n,v);return"cause"in Error.prototype||!("cause"in n)||A.call(n,"cause")?0===Q.length?"["+String(n)+"]":"{ ["+String(n)+"] "+T.call(Q,", ")+" }":"{ ["+String(n)+"] "+T.call(x.call("[cause]: "+v(n.cause),Q),", ")+" }"}if("object"===typeof n&&h){if(N&&"function"===typeof n[N]&&$)return $(n,{depth:m-r});if("symbol"!==h&&"function"===typeof n.inspect)return n.inspect()}if(it(n)){var ut=[];return s&&s.call(n,(function(t,e){ut.push(v(e,n,!0)+" => "+v(t,n))})),ft("Map",o.call(n),ut,_)}if(st(n)){var vt=[];return u&&u.call(n,(function(t){vt.push(v(t,n))})),ft("Set",c.call(n),vt,_)}if(rt(n))return dt("WeakMap");if(at(n))return dt("WeakSet");if(ot(n))return dt("WeakRef");if(Z(n))return ht(v(Number(n)));if(J(n))return ht(v(O.call(n)));if(G(n))return ht(g.call(n));if(U(n))return ht(v(String(n)));if("undefined"!==typeof window&&n===window)return"{ [object Window] }";if(n===e)return"{ [object globalThis] }";if(!z(n)&&!W(n)){var yt=gt(n,v),bt=I?I(n)===Object.prototype:n instanceof Object||n.constructor===Object,wt=n instanceof Object?"":"null prototype",Mt=!bt&&j&&Object(n)===n&&j in n?w.call(tt(n),8,-1):wt?"Object":"",kt=bt||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"",Lt=kt+(Mt||wt?"["+T.call(x.call([],Mt||[],wt||[]),": ")+"] ":"");return 0===yt.length?Lt+"{}":_?Lt+"{"+_t(yt,_)+"}":Lt+"{ "+T.call(yt,", ")+" }"}return String(n)};var Q=Object.prototype.hasOwnProperty||function(t){return t in this};function X(t,e){return Q.call(t,e)}function tt(t){return v.call(t)}function et(t){if(t.name)return t.name;var e=b.call(y.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ct(w.call(t,0,e.maxStringLength),e)+i}var r=M.call(M.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ut);return q(r,"single",e)}function ut(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+k.call(e.toString(16))}function ht(t){return"Object("+t+")"}function dt(t){return t+" { ? }"}function ft(t,e,n,i){var r=i?_t(n,i):T.call(n,", ");return t+" ("+e+") {"+r+"}"}function pt(t){for(var e=0;e=0)return!1;return!0}function mt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=T.call(Array(t.indent+1)," ")}return{base:n,prev:T.call(Array(e+1),n)}}function _t(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+T.call(t,","+n)+"\n"+e.prev}function gt(t,e){var n=B(t),i=[];if(n){i.length=t.length;for(var r=0;r{!0===i(t)?r.push(t):e.push({failedPropValidation:n,file:t})})),r}function u(t){t&&t.dataTransfer&&(t.dataTransfer.dropEffect="copy"),Object(a["l"])(t)}Boolean;const h={computed:{formDomProps(){if("file"===this.type)try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(this.value)===this.value&&("length"in this.value?Array.from(this.value):[this.value]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(t){return{files:void 0}}}}};var d=n("dc8a");const f={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},p={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},m=Object.keys(p);m.forEach((t=>{p[t].regex=new RegExp(p[t].pattern)}));const _=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+m.join("")+"])|(.)","g"),g=/[.*+?^${}()|[\]\\]/g,v=String.fromCharCode(1);var y={props:{mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean},watch:{type(){this.__updateMaskInternals()},autogrow(){this.__updateMaskInternals()},mask(t){if(void 0!==t)this.__updateMaskValue(this.innerValue,!0);else{const t=this.__unmask(this.innerValue);this.__updateMaskInternals(),this.value!==t&&this.$emit("input",t)}},fillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},reverseFillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},unmaskedValue(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue)}},methods:{__getInitialMaskedValue(){if(this.__updateMaskInternals(),!0===this.hasMask){const t=this.__mask(this.__unmask(this.value));return!1!==this.fillMask?this.__fillWithMask(t):t}return this.value},__getPaddedMaskMarked(t){if(t-1){for(let i=t-e.length;i>0;i--)n+=v;e=e.slice(0,i)+n+e.slice(i)}return e},__updateMaskInternals(){if(this.hasMask=void 0!==this.mask&&this.mask.length>0&&(!0===this.autogrow||["textarea","text","search","url","tel","password"].includes(this.type)),!1===this.hasMask)return this.computedUnmask=void 0,this.maskMarked="",void(this.maskReplaced="");const t=void 0===f[this.mask]?this.mask:f[this.mask],e="string"===typeof this.fillMask&&this.fillMask.length>0?this.fillMask.slice(0,1):"_",n=e.replace(g,"\\$&"),i=[],r=[],o=[];let s=!0===this.reverseFillMask,a="",l="";t.replace(_,((t,e,n,c,u)=>{if(void 0!==c){const t=p[c];o.push(t),l=t.negate,!0===s&&(r.push("(?:"+l+"+)?("+t.pattern+"+)?(?:"+l+"+)?("+t.pattern+"+)?"),s=!1),r.push("(?:"+l+"+)?("+t.pattern+")?")}else if(void 0!==n)a="\\"+("\\"===n?"":n),o.push(n),i.push("([^"+a+"]+)?"+a+"?");else{const t=void 0!==e?e:u;a="\\"===t?"\\\\\\\\":t.replace(g,"\\\\$&"),o.push(t),i.push("([^"+a+"]+)?"+a+"?")}}));const c=new RegExp("^"+i.join("")+"("+(""===a?".":"[^"+a+"]")+"+)?"+(""===a?"":"["+a+"]*")+"$"),u=r.length-1,h=r.map(((t,e)=>0===e&&!0===this.reverseFillMask?new RegExp("^"+n+"*"+t):e===u?new RegExp("^"+t+"("+(""===l?".":l)+"+)?"+(!0===this.reverseFillMask?"$":n+"*")):new RegExp("^"+t)));this.computedMask=o,this.computedUnmask=t=>{const e=c.exec(!0===this.reverseFillMask?t:t.slice(0,o.length+1));null!==e&&(t=e.slice(1).join(""));const n=[],i=h.length;for(let r=0,o=t;r0?n.join(""):t},this.maskMarked=o.map((t=>"string"===typeof t?t:v)).join(""),this.maskReplaced=this.maskMarked.split(v).join(e)},__updateMaskValue(t,e,n){const i=this.$refs.input,r=i.selectionEnd,o=i.value.length-r,s=this.__unmask(t);!0===e&&this.__updateMaskInternals();const a=this.__mask(s),l=!1!==this.fillMask?this.__fillWithMask(a):a,c=this.innerValue!==l;i.value!==l&&(i.value=l),!0===c&&(this.innerValue=l),document.activeElement===i&&this.$nextTick((()=>{if(l!==this.maskReplaced)if("insertFromPaste"!==n||!0===this.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(n)>-1){const t=!0===this.reverseFillMask?0===r?l.length>a.length?1:0:Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(a.length,o)+1))+1:r;i.setSelectionRange(t,t,"forward")}else if(!0===this.reverseFillMask)if(!0===c){const t=Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(a.length,o+1)));1===t&&1===r?i.setSelectionRange(t,t,"forward"):this.__moveCursorRightReverse(i,t)}else{const t=l.length-o;i.setSelectionRange(t,t,"backward")}else if(!0===c){const t=Math.max(0,this.maskMarked.indexOf(v),Math.min(a.length,r)-1);this.__moveCursorRight(i,t)}else{const t=r-1;this.__moveCursorRight(i,t)}else{const t=i.selectionEnd;let e=r-1;for(let n=this.__pastedTextStart;n<=e&&n=0;i--)if(this.maskMarked[i]===v){e=i,!0===n&&e++;break}if(i<0&&void 0!==this.maskMarked[e]&&this.maskMarked[e]!==v)return this.__moveCursorRight(t,0);e>=0&&t.setSelectionRange(e,e,"backward")},__moveCursorRight(t,e){const n=t.value.length;let i=Math.min(n,e+1);for(;i<=n;i++){if(this.maskMarked[i]===v){e=i;break}this.maskMarked[i-1]===v&&(e=i)}if(i>n&&void 0!==this.maskMarked[e-1]&&this.maskMarked[e-1]!==v)return this.__moveCursorLeft(t,n);t.setSelectionRange(e,e,"forward")},__moveCursorLeftReverse(t,e){const n=this.__getPaddedMaskMarked(t.value.length);let i=Math.max(0,e-1);for(;i>=0;i--){if(n[i-1]===v){e=i;break}if(n[i]===v&&(e=i,0===i))break}if(i<0&&void 0!==n[e]&&n[e]!==v)return this.__moveCursorRightReverse(t,0);e>=0&&t.setSelectionRange(e,e,"backward")},__moveCursorRightReverse(t,e){const n=t.value.length,i=this.__getPaddedMaskMarked(n),r=-1===i.slice(0,e+1).indexOf(v);let o=Math.min(n,e+1);for(;o<=n;o++)if(i[o-1]===v){e=o,e>0&&!0===r&&e--;break}if(o>n&&void 0!==i[e-1]&&i[e-1]!==v)return this.__moveCursorLeftReverse(t,n);t.setSelectionRange(e,e,"forward")},__onMaskedClick(t){void 0!==this.qListeners.click&&this.$emit("click",t),this.__selectionAnchor=void 0},__onMaskedKeydown(t){if(void 0!==this.qListeners.keydown&&this.$emit("keydown",t),!0===Object(d["c"])(t))return;const e=this.$refs.input,n=e.selectionStart,i=e.selectionEnd;if(t.shiftKey||(this.__selectionAnchor=void 0),37===t.keyCode||39===t.keyCode){t.shiftKey&&void 0===this.__selectionAnchor&&(this.__selectionAnchor="forward"===e.selectionDirection?n:i);const r=this["__moveCursor"+(39===t.keyCode?"Right":"Left")+(!0===this.reverseFillMask?"Reverse":"")];if(t.preventDefault(),r(e,this.__selectionAnchor===n?i:n),t.shiftKey){const t=this.__selectionAnchor,n=e.selectionStart;e.setSelectionRange(Math.min(t,n),Math.max(t,n),"forward")}}else 8===t.keyCode&&!0!==this.reverseFillMask&&n===i?(this.__moveCursorLeft(e,n),e.setSelectionRange(e.selectionStart,i,"backward")):46===t.keyCode&&!0===this.reverseFillMask&&n===i&&(this.__moveCursorRightReverse(e,i),e.setSelectionRange(n,e.selectionEnd,"forward"));this.$emit("keydown",t)},__mask(t){if(void 0===t||null===t||""===t)return"";if(!0===this.reverseFillMask)return this.__maskReverse(t);const e=this.computedMask;let n=0,i="";for(let r=0;r=0&&i>-1;o--){const s=e[o];let a=t[i];if("string"===typeof s)r=s+r,a===s&&i--;else{if(void 0===a||!s.regex.test(a))return r;do{r=(void 0!==s.transform?s.transform(a):a)+r,i--,a=t[i]}while(n===o&&void 0!==a&&s.regex.test(a))}}return r},__unmask(t){return"string"!==typeof t||void 0===this.computedUnmask?"number"===typeof t?this.computedUnmask(""+t):t:this.computedUnmask(t)},__fillWithMask(t){return this.maskReplaced.length-t.length<=0?t:!0===this.reverseFillMask&&t.length>0?this.maskReplaced.slice(0,-t.length)+t:t+this.maskReplaced.slice(t.length)}}},b=n("21e1"),w=n("87e8"),M=n("f6ba");e["a"]=i["default"].extend({name:"QInput",mixins:[r["a"],y,b["a"],o["a"],h,w["a"]],props:{value:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},watch:{value(t){if(!0===this.hasMask){if(!0===this.stopValueWatcher&&(this.stopValueWatcher=!1,String(t)===this.emitCachedValue))return;this.__updateMaskValue(t)}else this.innerValue!==t&&(this.innerValue=t,"number"===this.type&&!0===this.hasOwnProperty("tempValue")&&(!0===this.typedNumber?this.typedNumber=!1:delete this.tempValue));!0===this.autogrow&&this.$nextTick(this.__adjustHeight)},type(){this.$refs.input&&(this.$refs.input.value=this.value)},autogrow(t){if(!0===t)this.$nextTick(this.__adjustHeight);else if(this.qAttrs.rows>0&&void 0!==this.$refs.input){const t=this.$refs.input;t.style.height="auto"}},dense(){!0===this.autogrow&&this.$nextTick(this.__adjustHeight)}},data(){return{innerValue:this.__getInitialMaskedValue()}},computed:{isTextarea(){return"textarea"===this.type||!0===this.autogrow},isTypeText(){return!0===this.isTextarea||["text","search","url","tel","password"].includes(this.type)},fieldClass(){return"q-"+(!0===this.isTextarea?"textarea":"input")+(!0===this.autogrow?" q-textarea--autogrow":"")},hasShadow(){return"file"!==this.type&&"string"===typeof this.shadowText&&this.shadowText.length>0},onEvents(){const t={...this.qListeners,input:this.__onInput,paste:this.__onPaste,change:this.__onChange,blur:this.__onFinishEditing,focus:a["k"]};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,!0===this.hasMask&&(t.keydown=this.__onMaskedKeydown,t.click=this.__onMaskedClick),!0===this.autogrow&&(t.animationend=this.__onAnimationend),t},inputAttrs(){const t={tabindex:0,"data-autofocus":this.autofocus||void 0,rows:"textarea"===this.type?6:void 0,"aria-label":this.label,name:this.nameProp,...this.qAttrs,id:this.targetUid,type:this.type,maxlength:this.maxlength,disabled:!0===this.disable,readonly:!0===this.readonly};return!0===this.autogrow&&(t.rows=1),t}},methods:{focus(){Object(M["a"])((()=>{const t=document.activeElement;void 0===this.$refs.input||this.$refs.input===t||null!==t&&t.id===this.targetUid||this.$refs.input.focus({preventScroll:!0})}))},select(){void 0!==this.$refs.input&&this.$refs.input.select()},getNativeElement(){return this.$refs.input},__onPaste(t){if(!0===this.hasMask&&!0!==this.reverseFillMask){const e=t.target;this.__moveCursorForPaste(e,e.selectionStart,e.selectionEnd)}this.$emit("paste",t)},__onInput(t){if(!t||!t.target||!0===t.target.qComposing)return;if("file"===this.type)return void this.$emit("input",t.target.files);const e=t.target.value;if(!0===this.hasMask)this.__updateMaskValue(e,!1,t.inputType);else if(this.__emitValue(e),!0===this.isTypeText&&t.target===document.activeElement){const{selectionStart:n,selectionEnd:i}=t.target;void 0!==n&&void 0!==i&&this.$nextTick((()=>{t.target===document.activeElement&&0===e.indexOf(t.target.value)&&t.target.setSelectionRange(n,i)}))}!0===this.autogrow&&this.__adjustHeight()},__onAnimationend(t){void 0!==this.qListeners.animationend&&this.$emit("animationend",t),this.__adjustHeight()},__emitValue(t,e){this.emitValueFn=()=>{"number"!==this.type&&!0===this.hasOwnProperty("tempValue")&&delete this.tempValue,this.value!==t&&this.emitCachedValue!==t&&(this.emitCachedValue=t,!0===e&&(this.stopValueWatcher=!0),this.$emit("input",t),this.$nextTick((()=>{this.emitCachedValue===t&&(this.emitCachedValue=NaN)}))),this.emitValueFn=void 0},"number"===this.type&&(this.typedNumber=!0,this.tempValue=t),void 0!==this.debounce?(clearTimeout(this.emitTimer),this.tempValue=t,this.emitTimer=setTimeout(this.emitValueFn,this.debounce)):this.emitValueFn()},__adjustHeight(){requestAnimationFrame((()=>{const t=this.$refs.input;if(void 0!==t){const e=t.parentNode.style,{scrollTop:n}=t,{overflowY:i,maxHeight:r}=!0===this.$q.platform.is.firefox?{}:window.getComputedStyle(t),o=void 0!==i&&"scroll"!==i;!0===o&&(t.style.overflowY="hidden"),e.marginBottom=t.scrollHeight-1+"px",t.style.height="1px",t.style.height=t.scrollHeight+"px",!0===o&&(t.style.overflowY=parseInt(r,10){void 0!==this.$refs.input&&(this.$refs.input.value=void 0!==this.innerValue?this.innerValue:"")}))},__getCurValue(){return!0===this.hasOwnProperty("tempValue")?this.tempValue:void 0!==this.innerValue?this.innerValue:""},__getShadowControl(t){return t("div",{staticClass:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===this.isTextarea?"":" text-no-wrap")},[t("span",{staticClass:"invisible"},this.__getCurValue()),t("span",this.shadowText)])},__getControl(t){return t(!0===this.isTextarea?"textarea":"input",{ref:"input",staticClass:"q-field__native q-placeholder",style:this.inputStyle,class:this.inputClass,attrs:this.inputAttrs,on:this.onEvents,domProps:"file"!==this.type?{value:this.__getCurValue()}:this.formDomProps})}},created(){this.emitCachedValue=NaN},mounted(){!0===this.autogrow&&this.__adjustHeight()},beforeDestroy(){this.__onFinishEditing()}})},2834:function(t,e,n){"use strict";var i=n("ebb5"),r=n("e330"),o=n("59ed"),s=n("dfb9"),a=i.aTypedArray,l=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,u=r(i.TypedArrayPrototype.sort);c("toSorted",(function(t){void 0!==t&&o(t);var e=a(this),n=s(l(e),e);return u(n,t)}))},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},"28c9":function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"293c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"29a2":function(t,e,n){"use strict";function i(t,e,n){var i=this;this._callback=t,this._args=n,this._interval=setInterval(t,e,this._args),this.reschedule=function(t){t||(t=i._interval),i._interval&&clearInterval(i._interval),i._interval=setInterval(i._callback,t,i._args)},this.clear=function(){i._interval&&(clearInterval(i._interval),i._interval=void 0)},this.destroy=function(){i._interval&&clearInterval(i._interval),i._callback=void 0,i._interval=void 0,i._args=void 0}}function r(){if("function"!==typeof arguments[0])throw new Error("callback needed");if("number"!==typeof arguments[1])throw new Error("interval needed");var t;if(arguments.length>0){t=new Array(arguments.length-2);for(var e=0;et.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function x(t,e,n){if(!t)return D("parameter required");let i;const r={textColor:"white"};if(!0!==t.ignoreDefaults&&Object.assign(r,v),!1===Object(p["d"])(t)&&(r.type&&Object.assign(r,S[r.type]),t={message:t}),Object.assign(r,S[t.type||r.type],t),"function"===typeof r.icon&&(r.icon=r.icon(e.$q)),r.spinner?!0===r.spinner&&(r.spinner=u["a"]):r.spinner=!1,r.meta={hasMedia:Boolean(!1!==r.spinner||r.icon||r.avatar),hasText:C(r.message)||C(r.caption)},r.position){if(!1===k.includes(r.position))return D("wrong position",t)}else r.position="bottom";if(void 0===r.timeout)r.timeout=5e3;else{const e=parseInt(r.timeout,10);if(isNaN(e)||e<0)return D("wrong timeout",t);r.timeout=e}0===r.timeout?r.progress=!1:!0===r.progress&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const o=(!0===Array.isArray(t.actions)?t.actions:[]).concat(!0!==t.ignoreDefaults&&!0===Array.isArray(v.actions)?v.actions:[]).concat(void 0!==S[t.type]&&!0===Array.isArray(S[t.type].actions)?S[t.type].actions:[]),{closeBtn:s}=r;if(s&&o.push({label:"string"===typeof s?s:e.$q.lang.label.close}),r.actions=o.map((({handler:t,noDismiss:e,style:n,class:i,attrs:r,...o})=>({staticClass:i,style:n,props:{flat:!0,...o},attrs:r,on:{click:"function"===typeof t?()=>{t(),!0!==e&&a()}:()=>{a()}}}))),void 0===r.multiLine&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{staticClass:"q-notification row items-stretch q-notification--"+(!0===r.multiLine?"multi-line":"standard")+(void 0!==r.color?` bg-${r.color}`:"")+(void 0!==r.textColor?` text-${r.textColor}`:"")+(void 0!==r.classes?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===r.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===r.multiLine?"":" col"),leftClass:!0===r.meta.hasText?"additional":"single",attrs:{role:"alert",...r.attrs}}),!1===r.group?(r.group=void 0,r.meta.group=void 0):(void 0!==r.group&&!0!==r.group||(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map((({props:t})=>`${t.label}*${t.icon}`))).join("|")),r.meta.group=r.group+"|"+r.position),0===r.actions.length?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(!0===r.multiLine?"justify-end":"col-auto")+(!0===r.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==n){clearTimeout(n.notif.meta.timer),r.meta.uid=n.notif.meta.uid;const t=b[r.position].indexOf(n.notif);b[r.position][t]=r}else{const e=y[r.meta.group];if(void 0===e){if(r.meta.uid=g++,r.meta.badge=1,-1!==["left","right","center"].indexOf(r.position))b[r.position].splice(Math.floor(b[r.position].length/2),0,r);else{const t=r.position.indexOf("top")>-1?"unshift":"push";b[r.position][t](r)}void 0!==r.group&&(y[r.meta.group]=r)}else{if(clearTimeout(e.meta.timer),void 0!==r.badgePosition){if(!1===L.includes(r.badgePosition))return D("wrong badgePosition",t)}else r.badgePosition="top-"+(r.position.indexOf("left")>-1?"right":"left");r.meta.uid=e.meta.uid,r.meta.badge=e.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(void 0!==r.badgeColor?` bg-${r.badgeColor}`:"")+(void 0!==r.badgeTextColor?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const n=b[r.position].indexOf(e);b[r.position][n]=y[r.meta.group]=r}}const a=()=>{T(r,e),i=void 0};return e.$forceUpdate(),r.timeout>0&&(r.meta.timer=setTimeout((()=>{a()}),r.timeout+1e3)),void 0!==r.group?e=>{void 0!==e?D("trying to update a grouped one which is forbidden",t):a()}:(i={dismiss:a,config:t,notif:r},void 0===n?t=>{if(void 0!==i)if(void 0===t)i.dismiss();else{const n=Object.assign({},i.config,t,{group:!1,position:r.position});x(n,e,i)}}:void Object.assign(n,i))}function T(t,e){clearTimeout(t.meta.timer);const n=b[t.position].indexOf(t);if(-1!==n){void 0!==t.group&&delete y[t.meta.group];const i=e.$refs[""+t.meta.uid];if(i){const{width:t,height:e}=getComputedStyle(i);i.style.left=`${i.offsetLeft}px`,i.style.width=t,i.style.height=e}b[t.position].splice(n,1),e.$forceUpdate(),"function"===typeof t.onDismiss&&t.onDismiss()}}function C(t){return void 0!==t&&null!==t&&!0!==M.test(t)}function D(t,e){return console.error(`Notify: ${t}`,e),!1}const O={name:"QNotifications",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},render(t){return t("div",{staticClass:"q-notifications"},k.map((e=>t("transition-group",{key:e,staticClass:w[e],tag:"div",props:{name:`q-notification--${e}`,mode:"out-in"}},b[e].map((e=>{const{meta:n}=e,i=[];if(!0===n.hasMedia&&(!1!==e.spinner?i.push(t(e.spinner,{staticClass:"q-notification__spinner q-notification__spinner--"+n.leftClass,props:{color:e.spinnerColor,size:e.spinnerSize}})):e.icon?i.push(t(r["a"],{staticClass:"q-notification__icon q-notification__icon--"+n.leftClass,attrs:{role:"img"},props:{name:e.icon,color:e.iconColor,size:e.iconSize}})):e.avatar&&i.push(t(l,{staticClass:"q-notification__avatar q-notification__avatar--"+n.leftClass},[t("img",{attrs:{src:e.avatar,"aria-hidden":"true"}})]))),!0===n.hasText){let n;const r={staticClass:"q-notification__message col"};if(!0===e.html)r.domProps={innerHTML:e.caption?`
${e.message}
${e.caption}
`:e.message};else{const i=[e.message];n=e.caption?[t("div",i),t("div",{staticClass:"q-notification__caption"},[e.caption])]:i}i.push(t("div",r,n))}const o=[t("div",{staticClass:n.contentClass},i)];return!0===e.progress&&o.push(t("div",{key:`${n.uid}|p|${n.badge}`,staticClass:n.progressClass,style:n.progressStyle})),void 0!==e.actions&&o.push(t("div",{staticClass:n.actionsClass},e.actions.map((e=>t(c["a"],{...e}))))),n.badge>1&&o.push(t("div",{key:`${n.uid}|${n.badge}`,staticClass:n.badgeClass,style:e.badgeStyle},[n.badge])),t("div",{ref:""+n.uid,key:n.uid,staticClass:n.staticClass,attrs:n.attrs},[t("div",{staticClass:n.wrapperClass},o)])}))))))},mounted(){if(void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{const t=Object(d["c"])(this.$q.fullscreen.activeEl);this.$el.parentElement!==t&&t.appendChild(this.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(f["a"])(t,50)),!0===this.$q.fullscreen.isActive&&t()}},beforeDestroy(){void 0!==this.unwatchFullscreen&&this.unwatchFullscreen()}};e["a"]={setDefaults(t){!0!==m["e"]&&!0===Object(p["d"])(t)&&Object.assign(v,t)},registerType(t,e){!0!==m["e"]&&!0===Object(p["d"])(e)&&(S[t]=e)},install({$q:t}){if(t.notify=this.create=!0===m["e"]?h["g"]:t=>x(t,_),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,void 0!==t.config.notify&&this.setDefaults(t.config.notify),!0!==m["e"]){k.forEach((t=>{b[t]=[];const e=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",n=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",i=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${n}`;w[t]=`q-notifications__list q-notifications__list--${e} fixed column no-wrap ${i}`}));const t=document.createElement("div");document.body.appendChild(t),_=new i["default"](O),_.$mount(t)}}}},"2a28":function(t,e,n){"use strict";t.exports=n("0050")()},"2aa9":function(t,e,n){"use strict";var i=n("00ce"),r=i("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}t.exports=r},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EffectScope",(function(){return De})),n.d(e,"computed",(function(){return ge})),n.d(e,"customRef",(function(){return le})),n.d(e,"default",(function(){return ro})),n.d(e,"defineAsyncComponent",(function(){return ni})),n.d(e,"defineComponent",(function(){return yi})),n.d(e,"del",(function(){return Ft})),n.d(e,"effectScope",(function(){return Oe})),n.d(e,"getCurrentInstance",(function(){return gt})),n.d(e,"getCurrentScope",(function(){return Pe})),n.d(e,"h",(function(){return $n})),n.d(e,"inject",(function(){return Ie})),n.d(e,"isProxy",(function(){return Kt})),n.d(e,"isReactive",(function(){return Ut})),n.d(e,"isReadonly",(function(){return Gt})),n.d(e,"isRef",(function(){return te})),n.d(e,"isShallow",(function(){return Zt})),n.d(e,"markRaw",(function(){return Qt})),n.d(e,"mergeDefaults",(function(){return Sn})),n.d(e,"nextTick",(function(){return Xn})),n.d(e,"onActivated",(function(){return hi})),n.d(e,"onBeforeMount",(function(){return oi})),n.d(e,"onBeforeUnmount",(function(){return ci})),n.d(e,"onBeforeUpdate",(function(){return ai})),n.d(e,"onDeactivated",(function(){return di})),n.d(e,"onErrorCaptured",(function(){return gi})),n.d(e,"onMounted",(function(){return si})),n.d(e,"onRenderTracked",(function(){return pi})),n.d(e,"onRenderTriggered",(function(){return mi})),n.d(e,"onScopeDispose",(function(){return Ye})),n.d(e,"onServerPrefetch",(function(){return fi})),n.d(e,"onUnmounted",(function(){return ui})),n.d(e,"onUpdated",(function(){return li})),n.d(e,"provide",(function(){return Ae})),n.d(e,"proxyRefs",(function(){return se})),n.d(e,"reactive",(function(){return zt})),n.d(e,"readonly",(function(){return fe})),n.d(e,"ref",(function(){return ee})),n.d(e,"set",(function(){return qt})),n.d(e,"shallowReactive",(function(){return Wt})),n.d(e,"shallowReadonly",(function(){return _e})),n.d(e,"shallowRef",(function(){return ne})),n.d(e,"toRaw",(function(){return Jt})),n.d(e,"toRef",(function(){return ue})),n.d(e,"toRefs",(function(){return ce})),n.d(e,"triggerRef",(function(){return re})),n.d(e,"unref",(function(){return oe})),n.d(e,"useAttrs",(function(){return Mn})),n.d(e,"useCssModule",(function(){return ti})),n.d(e,"useCssVars",(function(){return ei})),n.d(e,"useListeners",(function(){return kn})),n.d(e,"useSlots",(function(){return wn})),n.d(e,"version",(function(){return vi})),n.d(e,"watch",(function(){return Te})),n.d(e,"watchEffect",(function(){return Me})),n.d(e,"watchPostEffect",(function(){return ke})),n.d(e,"watchSyncEffect",(function(){return Le})); +var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"29a2":function(t,e,n){"use strict";function i(t,e,n){var i=this;this._callback=t,this._args=n,this._interval=setInterval(t,e,this._args),this.reschedule=function(t){t||(t=i._interval),i._interval&&clearInterval(i._interval),i._interval=setInterval(i._callback,t,i._args)},this.clear=function(){i._interval&&(clearInterval(i._interval),i._interval=void 0)},this.destroy=function(){i._interval&&clearInterval(i._interval),i._callback=void 0,i._interval=void 0,i._args=void 0}}function r(){if("function"!==typeof arguments[0])throw new Error("callback needed");if("number"!==typeof arguments[1])throw new Error("interval needed");var t;if(arguments.length>0){t=new Array(arguments.length-2);for(var e=0;et.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function x(t,e,n){if(!t)return D("parameter required");let i;const r={textColor:"white"};if(!0!==t.ignoreDefaults&&Object.assign(r,v),!1===Object(p["d"])(t)&&(r.type&&Object.assign(r,S[r.type]),t={message:t}),Object.assign(r,S[t.type||r.type],t),"function"===typeof r.icon&&(r.icon=r.icon(e.$q)),r.spinner?!0===r.spinner&&(r.spinner=u["a"]):r.spinner=!1,r.meta={hasMedia:Boolean(!1!==r.spinner||r.icon||r.avatar),hasText:C(r.message)||C(r.caption)},r.position){if(!1===k.includes(r.position))return D("wrong position",t)}else r.position="bottom";if(void 0===r.timeout)r.timeout=5e3;else{const e=parseInt(r.timeout,10);if(isNaN(e)||e<0)return D("wrong timeout",t);r.timeout=e}0===r.timeout?r.progress=!1:!0===r.progress&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const o=(!0===Array.isArray(t.actions)?t.actions:[]).concat(!0!==t.ignoreDefaults&&!0===Array.isArray(v.actions)?v.actions:[]).concat(void 0!==S[t.type]&&!0===Array.isArray(S[t.type].actions)?S[t.type].actions:[]),{closeBtn:s}=r;if(s&&o.push({label:"string"===typeof s?s:e.$q.lang.label.close}),r.actions=o.map((({handler:t,noDismiss:e,style:n,class:i,attrs:r,...o})=>({staticClass:i,style:n,props:{flat:!0,...o},attrs:r,on:{click:"function"===typeof t?()=>{t(),!0!==e&&a()}:()=>{a()}}}))),void 0===r.multiLine&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{staticClass:"q-notification row items-stretch q-notification--"+(!0===r.multiLine?"multi-line":"standard")+(void 0!==r.color?` bg-${r.color}`:"")+(void 0!==r.textColor?` text-${r.textColor}`:"")+(void 0!==r.classes?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===r.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===r.multiLine?"":" col"),leftClass:!0===r.meta.hasText?"additional":"single",attrs:{role:"alert",...r.attrs}}),!1===r.group?(r.group=void 0,r.meta.group=void 0):(void 0!==r.group&&!0!==r.group||(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map((({props:t})=>`${t.label}*${t.icon}`))).join("|")),r.meta.group=r.group+"|"+r.position),0===r.actions.length?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(!0===r.multiLine?"justify-end":"col-auto")+(!0===r.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==n){clearTimeout(n.notif.meta.timer),r.meta.uid=n.notif.meta.uid;const t=b[r.position].indexOf(n.notif);b[r.position][t]=r}else{const e=y[r.meta.group];if(void 0===e){if(r.meta.uid=g++,r.meta.badge=1,-1!==["left","right","center"].indexOf(r.position))b[r.position].splice(Math.floor(b[r.position].length/2),0,r);else{const t=r.position.indexOf("top")>-1?"unshift":"push";b[r.position][t](r)}void 0!==r.group&&(y[r.meta.group]=r)}else{if(clearTimeout(e.meta.timer),void 0!==r.badgePosition){if(!1===L.includes(r.badgePosition))return D("wrong badgePosition",t)}else r.badgePosition="top-"+(r.position.indexOf("left")>-1?"right":"left");r.meta.uid=e.meta.uid,r.meta.badge=e.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(void 0!==r.badgeColor?` bg-${r.badgeColor}`:"")+(void 0!==r.badgeTextColor?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const n=b[r.position].indexOf(e);b[r.position][n]=y[r.meta.group]=r}}const a=()=>{T(r,e),i=void 0};return e.$forceUpdate(),r.timeout>0&&(r.meta.timer=setTimeout((()=>{a()}),r.timeout+1e3)),void 0!==r.group?e=>{void 0!==e?D("trying to update a grouped one which is forbidden",t):a()}:(i={dismiss:a,config:t,notif:r},void 0===n?t=>{if(void 0!==i)if(void 0===t)i.dismiss();else{const n=Object.assign({},i.config,t,{group:!1,position:r.position});x(n,e,i)}}:void Object.assign(n,i))}function T(t,e){clearTimeout(t.meta.timer);const n=b[t.position].indexOf(t);if(-1!==n){void 0!==t.group&&delete y[t.meta.group];const i=e.$refs[""+t.meta.uid];if(i){const{width:t,height:e}=getComputedStyle(i);i.style.left=`${i.offsetLeft}px`,i.style.width=t,i.style.height=e}b[t.position].splice(n,1),e.$forceUpdate(),"function"===typeof t.onDismiss&&t.onDismiss()}}function C(t){return void 0!==t&&null!==t&&!0!==M.test(t)}function D(t,e){return console.error(`Notify: ${t}`,e),!1}const O={name:"QNotifications",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},render(t){return t("div",{staticClass:"q-notifications"},k.map((e=>t("transition-group",{key:e,staticClass:w[e],tag:"div",props:{name:`q-notification--${e}`,mode:"out-in"}},b[e].map((e=>{const{meta:n}=e,i=[];if(!0===n.hasMedia&&(!1!==e.spinner?i.push(t(e.spinner,{staticClass:"q-notification__spinner q-notification__spinner--"+n.leftClass,props:{color:e.spinnerColor,size:e.spinnerSize}})):e.icon?i.push(t(r["a"],{staticClass:"q-notification__icon q-notification__icon--"+n.leftClass,attrs:{role:"img"},props:{name:e.icon,color:e.iconColor,size:e.iconSize}})):e.avatar&&i.push(t(l,{staticClass:"q-notification__avatar q-notification__avatar--"+n.leftClass},[t("img",{attrs:{src:e.avatar,"aria-hidden":"true"}})]))),!0===n.hasText){let n;const r={staticClass:"q-notification__message col"};if(!0===e.html)r.domProps={innerHTML:e.caption?`
${e.message}
${e.caption}
`:e.message};else{const i=[e.message];n=e.caption?[t("div",i),t("div",{staticClass:"q-notification__caption"},[e.caption])]:i}i.push(t("div",r,n))}const o=[t("div",{staticClass:n.contentClass},i)];return!0===e.progress&&o.push(t("div",{key:`${n.uid}|p|${n.badge}`,staticClass:n.progressClass,style:n.progressStyle})),void 0!==e.actions&&o.push(t("div",{staticClass:n.actionsClass},e.actions.map((e=>t(c["a"],{...e}))))),n.badge>1&&o.push(t("div",{key:`${n.uid}|${n.badge}`,staticClass:n.badgeClass,style:e.badgeStyle},[n.badge])),t("div",{ref:""+n.uid,key:n.uid,staticClass:n.staticClass,attrs:n.attrs},[t("div",{staticClass:n.wrapperClass},o)])}))))))},mounted(){if(void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{const t=Object(d["c"])(this.$q.fullscreen.activeEl);this.$el.parentElement!==t&&t.appendChild(this.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(f["a"])(t,50)),!0===this.$q.fullscreen.isActive&&t()}},beforeDestroy(){void 0!==this.unwatchFullscreen&&this.unwatchFullscreen()}};e["a"]={setDefaults(t){!0!==m["e"]&&!0===Object(p["d"])(t)&&Object.assign(v,t)},registerType(t,e){!0!==m["e"]&&!0===Object(p["d"])(e)&&(S[t]=e)},install({$q:t}){if(t.notify=this.create=!0===m["e"]?h["g"]:t=>x(t,_),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,void 0!==t.config.notify&&this.setDefaults(t.config.notify),!0!==m["e"]){k.forEach((t=>{b[t]=[];const e=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",n=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",i=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${n}`;w[t]=`q-notifications__list q-notifications__list--${e} fixed column no-wrap ${i}`}));const t=document.createElement("div");document.body.appendChild(t),_=new i["default"](O),_.$mount(t)}}}},"2a28":function(t,e,n){"use strict";t.exports=n("0050")()},"2aa9":function(t,e,n){"use strict";var i=n("00ce"),r=i("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}t.exports=r},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EffectScope",(function(){return De})),n.d(e,"computed",(function(){return ge})),n.d(e,"customRef",(function(){return le})),n.d(e,"default",(function(){return ro})),n.d(e,"defineAsyncComponent",(function(){return ni})),n.d(e,"defineComponent",(function(){return yi})),n.d(e,"del",(function(){return Ft})),n.d(e,"effectScope",(function(){return Oe})),n.d(e,"getCurrentInstance",(function(){return gt})),n.d(e,"getCurrentScope",(function(){return Pe})),n.d(e,"h",(function(){return Hn})),n.d(e,"inject",(function(){return Ie})),n.d(e,"isProxy",(function(){return Kt})),n.d(e,"isReactive",(function(){return Ut})),n.d(e,"isReadonly",(function(){return Gt})),n.d(e,"isRef",(function(){return te})),n.d(e,"isShallow",(function(){return Zt})),n.d(e,"markRaw",(function(){return Qt})),n.d(e,"mergeDefaults",(function(){return Sn})),n.d(e,"nextTick",(function(){return Xn})),n.d(e,"onActivated",(function(){return hi})),n.d(e,"onBeforeMount",(function(){return oi})),n.d(e,"onBeforeUnmount",(function(){return ci})),n.d(e,"onBeforeUpdate",(function(){return ai})),n.d(e,"onDeactivated",(function(){return di})),n.d(e,"onErrorCaptured",(function(){return gi})),n.d(e,"onMounted",(function(){return si})),n.d(e,"onRenderTracked",(function(){return pi})),n.d(e,"onRenderTriggered",(function(){return mi})),n.d(e,"onScopeDispose",(function(){return Ye})),n.d(e,"onServerPrefetch",(function(){return fi})),n.d(e,"onUnmounted",(function(){return ui})),n.d(e,"onUpdated",(function(){return li})),n.d(e,"provide",(function(){return je})),n.d(e,"proxyRefs",(function(){return se})),n.d(e,"reactive",(function(){return zt})),n.d(e,"readonly",(function(){return fe})),n.d(e,"ref",(function(){return ee})),n.d(e,"set",(function(){return qt})),n.d(e,"shallowReactive",(function(){return Wt})),n.d(e,"shallowReadonly",(function(){return _e})),n.d(e,"shallowRef",(function(){return ne})),n.d(e,"toRaw",(function(){return Jt})),n.d(e,"toRef",(function(){return ue})),n.d(e,"toRefs",(function(){return ce})),n.d(e,"triggerRef",(function(){return re})),n.d(e,"unref",(function(){return oe})),n.d(e,"useAttrs",(function(){return Mn})),n.d(e,"useCssModule",(function(){return ti})),n.d(e,"useCssVars",(function(){return ei})),n.d(e,"useListeners",(function(){return kn})),n.d(e,"useSlots",(function(){return wn})),n.d(e,"version",(function(){return vi})),n.d(e,"watch",(function(){return Te})),n.d(e,"watchEffect",(function(){return Me})),n.d(e,"watchPostEffect",(function(){return ke})),n.d(e,"watchSyncEffect",(function(){return Le})); /*! * Vue.js v2.7.16 * (c) 2014-2023 Evan You * Released under the MIT License. */ -var i=Object.freeze({}),r=Array.isArray;function o(t){return void 0===t||null===t}function s(t){return void 0!==t&&null!==t}function a(t){return!0===t}function l(t){return!1===t}function c(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function f(t){return"[object Object]"===d.call(t)}function p(t){return"[object RegExp]"===d.call(t)}function m(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function _(t){return s(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===d?JSON.stringify(t,v,2):String(t)}function v(t,e){return e&&e.__v_isRef?e.value:e}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(i,1)}}var k=Object.prototype.hasOwnProperty;function L(t,e){return k.call(t,e)}function S(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,T=S((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=S((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),D=/\B([A-Z])/g,O=S((function(t){return t.replace(D,"-$1").toLowerCase()}));function E(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var Y=Function.prototype.bind?P:E;function A(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function j(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n0,rt=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var ot=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var st,at=et&&et.match(/firefox\/(\d+)/),lt={}.watch,ct=!1;if(tt)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(ol){}var ht=function(){return void 0===st&&(st=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),st},dt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,mt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);pt="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var _t=null;function gt(){return _t&&{proxy:_t}}function vt(t){void 0===t&&(t=null),t||_t&&_t._scope.off(),_t=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,i,r,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),bt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function wt(t){return new yt(void 0,void 0,void 0,String(t))}function Mt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var kt=0,Lt=[],St=function(){for(var t=0;t1)return n&&u(e)?e.call(i):e}else 0}var Re=S((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function He(t,e){function n(){var t=n.fns;if(!r(t))return qn(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o0&&(i=Ve(i,"".concat(e||"","_").concat(n)),We(i[0])&&We(u)&&(h[l]=wt(u.text+i[0].text),i.shift()),h.push.apply(h,i)):c(i)?We(u)?h[l]=wt(u.text+i):""!==i&&h.push(wt(i)):We(i)&&We(u)?h[l]=wt(u.text+i.text):(a(t._isVList)&&s(i.tag)&&o(i.key)&&s(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function Ue(t,e){var n,i,o,a,l=null;if(r(t)||"string"===typeof t)for(l=new Array(t.length),n=0,i=t.length;n0,a=e?!!e.$stable:!s,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==i&&l===r.$key&&!s&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=fn(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=pn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),K(o,"$stable",a),K(o,"$key",l),K(o,"$hasNormal",s),o}function fn(t,e,n,i){var o=function(){var e=_t;vt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:ze(n);var o=n&&n[0];return vt(e),n&&(!o||1===n.length&&o.isComment&&!hn(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function pn(t,e){return function(){return t[e]}}function mn(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=_n(t);vt(t),Ct();var r=qn(n,null,[t._props||Wt({}),i],t,"setup");if(Dt(),vt(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var s in r)"__sfc"!==s&&ae(o,r,s)}else for(var s in r)G(s)||ae(t,r,s);else 0}}function _n(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),gn(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};gn(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return yn(t)},emit:Y(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ae(t,e,n)}))}}}function gn(t,e,n,i,r){var o=!1;for(var s in e)s in t?e[s]!==n[s]&&(o=!0):(o=!0,vn(t,s,i,r));for(var s in t)s in e||(o=!0,delete t[s]);return o}function vn(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function yn(t){return t._slotsProxy||bn(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function bn(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function wn(){return Ln().slots}function Mn(){return Ln().attrs}function kn(){return Ln().listeners}function Ln(){var t=_t;return t._setupContext||(t._setupContext=_n(t))}function Sn(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var i in e){var o=n[i];o?r(o)||u(o)?n[i]={type:o,default:e[i]}:o.default=e[i]:null===o&&(n[i]={default:e[i]})}return n}function xn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=cn(e._renderChildren,r),t.$scopedSlots=n?dn(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return jn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return jn(t,e,n,i,r,!0)};var o=n&&n.data;Nt(t,"$attrs",o&&o.attrs||i,null,!0),Nt(t,"$listeners",e._parentListeners||i,null,!0)}var Tn=null;function Cn(t){ln(t.prototype),t.prototype.$nextTick=function(t){return Xn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e._parentVnode;i&&t._isMounted&&(t.$scopedSlots=dn(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var o,s=_t,a=Tn;try{vt(t),Tn=t,o=n.call(t._renderProxy,t.$createElement)}catch(ol){Nn(ol,t,"render"),o=t._vnode}finally{Tn=a,vt(s)}return r(o)&&1===o.length&&(o=o[0]),o instanceof yt||(o=bt()),o.parent=i,o}}function Dn(t,e){return(t.__esModule||mt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function On(t,e,n,i,r){var o=bt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function En(t,e){if(a(t.error)&&s(t.errorComp))return t.errorComp;if(s(t.resolved))return t.resolved;var n=Tn;if(n&&s(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&s(t.loadingComp))return t.loadingComp;if(n&&!s(t.owners)){var i=t.owners=[n],r=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return M(i,n)}));var u=function(t){for(var e=0,n=i.length;e1?A(n):n;for(var i=A(arguments,1),r='event handler for "'.concat(t,'"'),o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Ki=function(){return Ji.now()})}var Qi=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Xi(){var t,e;for(Gi=Ki(),Vi=!0,Fi.sort(Qi),Ui=0;UiUi&&Fi[n].id>t.id)n--;Fi.splice(n+1,0,t)}else Fi.push(t);Wi||(Wi=!0,Xn(Xi))}}function rr(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=je(t),r=mt?Reflect.ownKeys(n):Object.keys(n),o=0;o-1)if(o&&!L(r,"default"))s=!1;else if(""===s||s===O(t)){var l=Rr(String,r.type);(l<0||a-1)return this;var n=A(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function so(t){t.mixin=function(t){return this.options=Or(this.options,t),this}}function ao(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=hr(t)||hr(n.options);var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Or(n.options,t),s["super"]=n,s.options.props&&lo(s),s.options.computed&&co(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,W.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=j({},s.options),r[i]=s,s}}function lo(t){var e=t.options.props;for(var n in e)$r(t.prototype,"_props",n)}function co(t){var e=t.options.computed;for(var n in e)Vr(t.prototype,n,e[n])}function uo(t){W.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ho(t){return t&&(hr(t.Ctor.options)||t.tag)}function fo(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function po(t,e){var n=t.cache,i=t.keys,r=t._vnode,o=t.$vnode;for(var s in n){var a=n[s];if(a){var l=a.name;l&&!e(l)&&mo(n,s,i,r)}}o.componentOptions.children=void 0}function mo(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,M(n,e)}to(ro),Qr(ro),Ei(ro),ji(ro),Cn(ro);var _o=[String,RegExp,Array],go={name:"keep-alive",abstract:!0,props:{include:_o,exclude:_o,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,s=i.componentInstance,a=i.componentOptions;e[r]={name:ho(a),tag:o,componentInstance:s},n.push(r),this.max&&n.length>parseInt(this.max)&&mo(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)mo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){po(t,(function(t){return fo(e,t)}))})),this.$watch("exclude",(function(e){po(t,(function(t){return!fo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Pn(t),n=e&&e.componentOptions;if(n){var i=ho(n),r=this,o=r.include,s=r.exclude;if(o&&(!i||!fo(o,i))||s&&i&&fo(s,i))return e;var a=this,l=a.cache,c=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,M(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},vo={KeepAlive:go};function yo(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:yr,extend:j,mergeOptions:Or,defineReactive:Nt},t.set=qt,t.delete=Ft,t.nextTick=Xn,t.observable=function(t){return $t(t),t},t.options=Object.create(null),W.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,vo),oo(t),so(t),ao(t),uo(t)}yo(ro),Object.defineProperty(ro.prototype,"$isServer",{get:ht}),Object.defineProperty(ro.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ro,"FunctionalRenderContext",{value:ar}),ro.version=vi;var bo=b("style,class"),wo=b("input,textarea,option,select,progress"),Mo=function(t,e,n){return"value"===n&&wo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ko=b("contenteditable,draggable,spellcheck"),Lo=b("events,caret,typing,plaintext-only"),So=function(t,e){return Oo(e)||"false"===e?"false":"contenteditable"===t&&Lo(e)?e:"true"},xo=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),To="http://www.w3.org/1999/xlink",Co=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Do=function(t){return Co(t)?t.slice(6,t.length):""},Oo=function(t){return null==t||!1===t};function Eo(t){var e=t.data,n=t,i=t;while(s(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Po(i.data,e));while(s(n=n.parent))n&&n.data&&(e=Po(e,n.data));return Yo(e.staticClass,e.class)}function Po(t,e){return{staticClass:Ao(t.staticClass,e.staticClass),class:s(t.class)?[t.class,e.class]:e.class}}function Yo(t,e){return s(t)||s(e)?Ao(t,jo(e)):""}function Ao(t,e){return t?e?t+" "+e:t:e||""}function jo(t){return Array.isArray(t)?Io(t):h(t)?Ro(t):"string"===typeof t?t:""}function Io(t){for(var e,n="",i=0,r=t.length;i-1?Bo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bo[t]=/HTMLUnknownElement/.test(e.toString())}var Wo=b("text,number,password,search,email,tel,url");function Vo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Uo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Zo(t,e){return document.createElementNS(Ho[t],e)}function Go(t){return document.createTextNode(t)}function Ko(t){return document.createComment(t)}function Jo(t,e,n){t.insertBefore(e,n)}function Qo(t,e){t.removeChild(e)}function Xo(t,e){t.appendChild(e)}function ts(t){return t.parentNode}function es(t){return t.nextSibling}function ns(t){return t.tagName}function is(t,e){t.textContent=e}function rs(t,e){t.setAttribute(e,"")}var os=Object.freeze({__proto__:null,createElement:Uo,createElementNS:Zo,createTextNode:Go,createComment:Ko,insertBefore:Jo,removeChild:Qo,appendChild:Xo,parentNode:ts,nextSibling:es,tagName:ns,setTextContent:is,setStyleScope:rs}),ss={create:function(t,e){as(e)},update:function(t,e){t.data.ref!==e.data.ref&&(as(t,!0),as(e))},destroy:function(t){as(t,!0)}};function as(t,e){var n=t.data.ref;if(s(n)){var i=t.context,o=t.componentInstance||t.elm,a=e?null:o,l=e?void 0:o;if(u(n))qn(n,i,[a],i,"template ref function");else{var c=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=te(n),f=i.$refs;if(h||d)if(c){var p=h?f[n]:n.value;e?r(p)&&M(p,o):r(p)?p.includes(o)||p.push(o):h?(f[n]=[o],ls(i,n,f[n])):n.value=[o]}else if(h){if(e&&f[n]!==o)return;f[n]=l,ls(i,n,a)}else if(d){if(e&&n.value!==o)return;n.value=a}else 0}}}function ls(t,e,n){var i=t._setupState;i&&L(i,e)&&(te(i[e])?i[e].value=n:i[e]=n)}var cs=new yt("",{},[]),us=["create","activate","update","remove","destroy"];function hs(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&s(t.data)===s(e.data)&&ds(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function ds(t,e){if("input"!==t.tag)return!0;var n,i=s(n=t.data)&&s(n=n.attrs)&&n.type,r=s(n=e.data)&&s(n=n.attrs)&&n.type;return i===r||Wo(i)&&Wo(r)}function fs(t,e,n){var i,r,o={};for(i=e;i<=n;++i)r=t[i].key,s(r)&&(o[r]=i);return o}function ps(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;em?(h=o(n[v+1])?null:n[v+1].elm,L(t,h,n,f,v,i)):f>v&&x(e,d,m)}function D(t,e,n,i){for(var r=n;r-1?Ss(t,e,n):xo(e)?Oo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):ko(e)?t.setAttribute(e,So(e,n)):Co(e)?Oo(n)?t.removeAttributeNS(To,Do(e)):t.setAttributeNS(To,e,n):Ss(t,e,n)}function Ss(t,e,n){if(Oo(n))t.removeAttribute(e);else{if(nt&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var xs={create:ks,update:ks};function Ts(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var a=Eo(e),l=n._transitionClasses;s(l)&&(a=Ao(a,jo(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Cs,Ds={create:Ts,update:Ts},Os="__r",Es="__c";function Ps(t){if(s(t[Os])){var e=nt?"change":"input";t[e]=[].concat(t[Os],t[e]||[]),delete t[Os]}s(t[Es])&&(t.change=[].concat(t[Es],t.change||[]),delete t[Es])}function Ys(t,e,n){var i=Cs;return function r(){var o=e.apply(null,arguments);null!==o&&Is(t,r,n,i)}}var As=Wn&&!(at&&Number(at[1])<=53);function js(t,e,n,i){if(As){var r=Gi,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Cs.addEventListener(t,e,ct?{capture:n,passive:i}:n)}function Is(t,e,n,i){(i||Cs).removeEventListener(t,e._wrapper||e,n)}function Rs(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Cs=e.elm||t.elm,Ps(n),$e(n,i,js,Is,Ys,e.context),Cs=void 0}}var Hs,$s={create:Rs,update:Rs,destroy:function(t){return Rs(t,cs)}};function Ns(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=e.data.domProps=j({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=o(i)?"":String(i);qs(r,u)&&(r.value=u)}else if("innerHTML"===n&&No(r.tagName)&&o(r.innerHTML)){Hs=Hs||document.createElement("div"),Hs.innerHTML="".concat(i,"");var h=Hs.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(ol){}}}}function qs(t,e){return!t.composing&&("OPTION"===t.tagName||Fs(t,e)||Bs(t,e))}function Fs(t,e){var n=!0;try{n=document.activeElement!==t}catch(ol){}return n&&t.value!==e}function Bs(t,e){var n=t.value,i=t._vModifiers;if(s(i)){if(i.number)return y(n)!==y(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var zs={create:Ns,update:Ns},Ws=S((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Vs(t){var e=Us(t.style);return t.staticStyle?j(t.staticStyle,e):e}function Us(t){return Array.isArray(t)?I(t):"string"===typeof t?Ws(t):t}function Zs(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Vs(r.data))&&j(i,n)}(n=Vs(t.data))&&j(i,n);var o=t;while(o=o.parent)o.data&&(n=Vs(o.data))&&j(i,n);return i}var Gs,Ks=/^--/,Js=/\s*!important$/,Qs=function(t,e,n){if(Ks.test(e))t.style.setProperty(e,n);else if(Js.test(n))t.style.setProperty(O(e),n.replace(Js,""),"important");else{var i=ta(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(ia).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function oa(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ia).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function sa(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,aa(t.name||"v")),j(e,t),e}return"string"===typeof t?aa(t):void 0}}var aa=S((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),la=tt&&!it,ca="transition",ua="animation",ha="transition",da="transitionend",fa="animation",pa="animationend";la&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ha="WebkitTransition",da="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(fa="WebkitAnimation",pa="webkitAnimationEnd"));var ma=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function _a(t){ma((function(){ma(t)}))}function ga(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ra(t,e))}function va(t,e){t._transitionClasses&&M(t._transitionClasses,e),oa(t,e)}function ya(t,e,n){var i=wa(t,e),r=i.type,o=i.timeout,s=i.propCount;if(!r)return n();var a=r===ca?da:pa,l=0,c=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(n=ca,u=s,h=o.length):e===ua?c>0&&(n=ua,u=c,h=l.length):(u=Math.max(s,c),n=u>0?s>c?ca:ua:null,h=n?n===ca?o.length:l.length:0);var d=n===ca&&ba.test(i[ha+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function Ma(t,e){while(t.length1}function Ca(t,e){!0!==e.data.show&&La(e)}var Da=tt?{create:Ca,activate:Ca,remove:function(t,e){!0!==t.data.show?Sa(t,e):e()}}:{},Oa=[xs,Ds,$s,zs,na,Da],Ea=Oa.concat(Ms),Pa=ps({nodeOps:os,modules:Ea});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Na(t,"input")}));var Ya={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Ne(n,"postpatch",(function(){Ya.componentUpdated(t,e,n)})):Aa(t,e,n.context),t._vOptions=[].map.call(t.options,Ra)):("textarea"===n.tag||Wo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ha),t.addEventListener("compositionend",$a),t.addEventListener("change",$a),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Aa(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Ra);if(r.some((function(t,e){return!N(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return Ia(t,r)})):e.value!==e.oldValue&&Ia(e.value,r);o&&Na(t,"change")}}}};function Aa(t,e,n){ja(t,e,n),(nt||rt)&&setTimeout((function(){ja(t,e,n)}),0)}function ja(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,s,a=0,l=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(N(Ra(s),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Ia(t,e){return e.every((function(e){return!N(e,t)}))}function Ra(t){return"_value"in t?t._value:t.value}function Ha(t){t.target.composing=!0}function $a(t){t.target.composing&&(t.target.composing=!1,Na(t.target,"input"))}function Na(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qa(t){return!t.componentInstance||t.data&&t.data.transition?t:qa(t.componentInstance._vnode)}var Fa={bind:function(t,e,n){var i=e.value;n=qa(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,La(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=qa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?La(n,(function(){t.style.display=t.__vOriginalDisplay})):Sa(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Ba={model:Ya,show:Fa},za={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Wa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Wa(Pn(e.children)):t}function Va(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[T(i)]=r[i];return e}function Ua(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Za(t){while(t=t.parent)if(t.data.transition)return!0}function Ga(t,e){return e.key===t.key&&e.tag===t.tag}var Ka=function(t){return t.tag||hn(t)},Ja=function(t){return"show"===t.name},Qa={name:"transition",props:za,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ka),n.length)){0;var i=this.mode;0;var r=n[0];if(Za(this.$vnode))return r;var o=Wa(r);if(!o)return r;if(this._leaving)return Ua(t,r);var s="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?s+"comment":s+o.tag:c(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var a=(o.data||(o.data={})).transition=Va(this),l=this._vnode,u=Wa(l);if(o.data.directives&&o.data.directives.some(Ja)&&(o.data.show=!0),u&&u.data&&!Ga(o,u)&&!hn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=j({},a);if("out-in"===i)return this._leaving=!0,Ne(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ua(t,r);if("in-out"===i){if(hn(o))return l;var d,f=function(){d()};Ne(a,"afterEnter",f),Ne(a,"enterCancelled",f),Ne(h,"delayLeave",(function(t){d=t}))}}return r}}},Xa=j({tag:String,moveClass:String},za);delete Xa.mode;var tl={props:Xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Yi(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],s=Va(this),a=0;a=0&&Math.floor(e)===e&&isFinite(t)}function _(t){return s(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===d?JSON.stringify(t,v,2):String(t)}function v(t,e){return e&&e.__v_isRef?e.value:e}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(i,1)}}var k=Object.prototype.hasOwnProperty;function L(t,e){return k.call(t,e)}function S(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,T=S((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=S((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),D=/\B([A-Z])/g,O=S((function(t){return t.replace(D,"-$1").toLowerCase()}));function E(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var Y=Function.prototype.bind?P:E;function j(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function A(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n0,rt=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var ot=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var st,at=et&&et.match(/firefox\/(\d+)/),lt={}.watch,ct=!1;if(tt)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(ol){}var ht=function(){return void 0===st&&(st=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),st},dt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,mt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);pt="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var _t=null;function gt(){return _t&&{proxy:_t}}function vt(t){void 0===t&&(t=null),t||_t&&_t._scope.off(),_t=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,i,r,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),bt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function wt(t){return new yt(void 0,void 0,void 0,String(t))}function Mt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var kt=0,Lt=[],St=function(){for(var t=0;t1)return n&&u(e)?e.call(i):e}else 0}var Re=S((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function $e(t,e){function n(){var t=n.fns;if(!r(t))return qn(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o0&&(i=Ve(i,"".concat(e||"","_").concat(n)),We(i[0])&&We(u)&&(h[l]=wt(u.text+i[0].text),i.shift()),h.push.apply(h,i)):c(i)?We(u)?h[l]=wt(u.text+i):""!==i&&h.push(wt(i)):We(i)&&We(u)?h[l]=wt(u.text+i.text):(a(t._isVList)&&s(i.tag)&&o(i.key)&&s(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function Ue(t,e){var n,i,o,a,l=null;if(r(t)||"string"===typeof t)for(l=new Array(t.length),n=0,i=t.length;n0,a=e?!!e.$stable:!s,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==i&&l===r.$key&&!s&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=fn(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=pn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),K(o,"$stable",a),K(o,"$key",l),K(o,"$hasNormal",s),o}function fn(t,e,n,i){var o=function(){var e=_t;vt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:ze(n);var o=n&&n[0];return vt(e),n&&(!o||1===n.length&&o.isComment&&!hn(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function pn(t,e){return function(){return t[e]}}function mn(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=_n(t);vt(t),Ct();var r=qn(n,null,[t._props||Wt({}),i],t,"setup");if(Dt(),vt(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var s in r)"__sfc"!==s&&ae(o,r,s)}else for(var s in r)G(s)||ae(t,r,s);else 0}}function _n(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),gn(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};gn(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return yn(t)},emit:Y(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ae(t,e,n)}))}}}function gn(t,e,n,i,r){var o=!1;for(var s in e)s in t?e[s]!==n[s]&&(o=!0):(o=!0,vn(t,s,i,r));for(var s in t)s in e||(o=!0,delete t[s]);return o}function vn(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function yn(t){return t._slotsProxy||bn(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function bn(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function wn(){return Ln().slots}function Mn(){return Ln().attrs}function kn(){return Ln().listeners}function Ln(){var t=_t;return t._setupContext||(t._setupContext=_n(t))}function Sn(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var i in e){var o=n[i];o?r(o)||u(o)?n[i]={type:o,default:e[i]}:o.default=e[i]:null===o&&(n[i]={default:e[i]})}return n}function xn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=cn(e._renderChildren,r),t.$scopedSlots=n?dn(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return An(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return An(t,e,n,i,r,!0)};var o=n&&n.data;Nt(t,"$attrs",o&&o.attrs||i,null,!0),Nt(t,"$listeners",e._parentListeners||i,null,!0)}var Tn=null;function Cn(t){ln(t.prototype),t.prototype.$nextTick=function(t){return Xn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e._parentVnode;i&&t._isMounted&&(t.$scopedSlots=dn(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var o,s=_t,a=Tn;try{vt(t),Tn=t,o=n.call(t._renderProxy,t.$createElement)}catch(ol){Nn(ol,t,"render"),o=t._vnode}finally{Tn=a,vt(s)}return r(o)&&1===o.length&&(o=o[0]),o instanceof yt||(o=bt()),o.parent=i,o}}function Dn(t,e){return(t.__esModule||mt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function On(t,e,n,i,r){var o=bt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function En(t,e){if(a(t.error)&&s(t.errorComp))return t.errorComp;if(s(t.resolved))return t.resolved;var n=Tn;if(n&&s(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&s(t.loadingComp))return t.loadingComp;if(n&&!s(t.owners)){var i=t.owners=[n],r=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return M(i,n)}));var u=function(t){for(var e=0,n=i.length;e1?j(n):n;for(var i=j(arguments,1),r='event handler for "'.concat(t,'"'),o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Ki=function(){return Ji.now()})}var Qi=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Xi(){var t,e;for(Gi=Ki(),Vi=!0,Fi.sort(Qi),Ui=0;UiUi&&Fi[n].id>t.id)n--;Fi.splice(n+1,0,t)}else Fi.push(t);Wi||(Wi=!0,Xn(Xi))}}function rr(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=Ae(t),r=mt?Reflect.ownKeys(n):Object.keys(n),o=0;o-1)if(o&&!L(r,"default"))s=!1;else if(""===s||s===O(t)){var l=Rr(String,r.type);(l<0||a-1)return this;var n=j(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function so(t){t.mixin=function(t){return this.options=Or(this.options,t),this}}function ao(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=hr(t)||hr(n.options);var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Or(n.options,t),s["super"]=n,s.options.props&&lo(s),s.options.computed&&co(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,W.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=A({},s.options),r[i]=s,s}}function lo(t){var e=t.options.props;for(var n in e)Hr(t.prototype,"_props",n)}function co(t){var e=t.options.computed;for(var n in e)Vr(t.prototype,n,e[n])}function uo(t){W.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ho(t){return t&&(hr(t.Ctor.options)||t.tag)}function fo(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function po(t,e){var n=t.cache,i=t.keys,r=t._vnode,o=t.$vnode;for(var s in n){var a=n[s];if(a){var l=a.name;l&&!e(l)&&mo(n,s,i,r)}}o.componentOptions.children=void 0}function mo(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,M(n,e)}to(ro),Qr(ro),Ei(ro),Ai(ro),Cn(ro);var _o=[String,RegExp,Array],go={name:"keep-alive",abstract:!0,props:{include:_o,exclude:_o,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,s=i.componentInstance,a=i.componentOptions;e[r]={name:ho(a),tag:o,componentInstance:s},n.push(r),this.max&&n.length>parseInt(this.max)&&mo(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)mo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){po(t,(function(t){return fo(e,t)}))})),this.$watch("exclude",(function(e){po(t,(function(t){return!fo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Pn(t),n=e&&e.componentOptions;if(n){var i=ho(n),r=this,o=r.include,s=r.exclude;if(o&&(!i||!fo(o,i))||s&&i&&fo(s,i))return e;var a=this,l=a.cache,c=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,M(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},vo={KeepAlive:go};function yo(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:yr,extend:A,mergeOptions:Or,defineReactive:Nt},t.set=qt,t.delete=Ft,t.nextTick=Xn,t.observable=function(t){return Ht(t),t},t.options=Object.create(null),W.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,vo),oo(t),so(t),ao(t),uo(t)}yo(ro),Object.defineProperty(ro.prototype,"$isServer",{get:ht}),Object.defineProperty(ro.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ro,"FunctionalRenderContext",{value:ar}),ro.version=vi;var bo=b("style,class"),wo=b("input,textarea,option,select,progress"),Mo=function(t,e,n){return"value"===n&&wo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ko=b("contenteditable,draggable,spellcheck"),Lo=b("events,caret,typing,plaintext-only"),So=function(t,e){return Oo(e)||"false"===e?"false":"contenteditable"===t&&Lo(e)?e:"true"},xo=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),To="http://www.w3.org/1999/xlink",Co=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Do=function(t){return Co(t)?t.slice(6,t.length):""},Oo=function(t){return null==t||!1===t};function Eo(t){var e=t.data,n=t,i=t;while(s(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Po(i.data,e));while(s(n=n.parent))n&&n.data&&(e=Po(e,n.data));return Yo(e.staticClass,e.class)}function Po(t,e){return{staticClass:jo(t.staticClass,e.staticClass),class:s(t.class)?[t.class,e.class]:e.class}}function Yo(t,e){return s(t)||s(e)?jo(t,Ao(e)):""}function jo(t,e){return t?e?t+" "+e:t:e||""}function Ao(t){return Array.isArray(t)?Io(t):h(t)?Ro(t):"string"===typeof t?t:""}function Io(t){for(var e,n="",i=0,r=t.length;i-1?Bo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bo[t]=/HTMLUnknownElement/.test(e.toString())}var Wo=b("text,number,password,search,email,tel,url");function Vo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Uo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Zo(t,e){return document.createElementNS($o[t],e)}function Go(t){return document.createTextNode(t)}function Ko(t){return document.createComment(t)}function Jo(t,e,n){t.insertBefore(e,n)}function Qo(t,e){t.removeChild(e)}function Xo(t,e){t.appendChild(e)}function ts(t){return t.parentNode}function es(t){return t.nextSibling}function ns(t){return t.tagName}function is(t,e){t.textContent=e}function rs(t,e){t.setAttribute(e,"")}var os=Object.freeze({__proto__:null,createElement:Uo,createElementNS:Zo,createTextNode:Go,createComment:Ko,insertBefore:Jo,removeChild:Qo,appendChild:Xo,parentNode:ts,nextSibling:es,tagName:ns,setTextContent:is,setStyleScope:rs}),ss={create:function(t,e){as(e)},update:function(t,e){t.data.ref!==e.data.ref&&(as(t,!0),as(e))},destroy:function(t){as(t,!0)}};function as(t,e){var n=t.data.ref;if(s(n)){var i=t.context,o=t.componentInstance||t.elm,a=e?null:o,l=e?void 0:o;if(u(n))qn(n,i,[a],i,"template ref function");else{var c=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=te(n),f=i.$refs;if(h||d)if(c){var p=h?f[n]:n.value;e?r(p)&&M(p,o):r(p)?p.includes(o)||p.push(o):h?(f[n]=[o],ls(i,n,f[n])):n.value=[o]}else if(h){if(e&&f[n]!==o)return;f[n]=l,ls(i,n,a)}else if(d){if(e&&n.value!==o)return;n.value=a}else 0}}}function ls(t,e,n){var i=t._setupState;i&&L(i,e)&&(te(i[e])?i[e].value=n:i[e]=n)}var cs=new yt("",{},[]),us=["create","activate","update","remove","destroy"];function hs(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&s(t.data)===s(e.data)&&ds(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function ds(t,e){if("input"!==t.tag)return!0;var n,i=s(n=t.data)&&s(n=n.attrs)&&n.type,r=s(n=e.data)&&s(n=n.attrs)&&n.type;return i===r||Wo(i)&&Wo(r)}function fs(t,e,n){var i,r,o={};for(i=e;i<=n;++i)r=t[i].key,s(r)&&(o[r]=i);return o}function ps(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;em?(h=o(n[v+1])?null:n[v+1].elm,L(t,h,n,f,v,i)):f>v&&x(e,d,m)}function D(t,e,n,i){for(var r=n;r-1?Ss(t,e,n):xo(e)?Oo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):ko(e)?t.setAttribute(e,So(e,n)):Co(e)?Oo(n)?t.removeAttributeNS(To,Do(e)):t.setAttributeNS(To,e,n):Ss(t,e,n)}function Ss(t,e,n){if(Oo(n))t.removeAttribute(e);else{if(nt&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var xs={create:ks,update:ks};function Ts(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var a=Eo(e),l=n._transitionClasses;s(l)&&(a=jo(a,Ao(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Cs,Ds={create:Ts,update:Ts},Os="__r",Es="__c";function Ps(t){if(s(t[Os])){var e=nt?"change":"input";t[e]=[].concat(t[Os],t[e]||[]),delete t[Os]}s(t[Es])&&(t.change=[].concat(t[Es],t.change||[]),delete t[Es])}function Ys(t,e,n){var i=Cs;return function r(){var o=e.apply(null,arguments);null!==o&&Is(t,r,n,i)}}var js=Wn&&!(at&&Number(at[1])<=53);function As(t,e,n,i){if(js){var r=Gi,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Cs.addEventListener(t,e,ct?{capture:n,passive:i}:n)}function Is(t,e,n,i){(i||Cs).removeEventListener(t,e._wrapper||e,n)}function Rs(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Cs=e.elm||t.elm,Ps(n),He(n,i,As,Is,Ys,e.context),Cs=void 0}}var $s,Hs={create:Rs,update:Rs,destroy:function(t){return Rs(t,cs)}};function Ns(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=e.data.domProps=A({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=o(i)?"":String(i);qs(r,u)&&(r.value=u)}else if("innerHTML"===n&&No(r.tagName)&&o(r.innerHTML)){$s=$s||document.createElement("div"),$s.innerHTML="".concat(i,"");var h=$s.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(ol){}}}}function qs(t,e){return!t.composing&&("OPTION"===t.tagName||Fs(t,e)||Bs(t,e))}function Fs(t,e){var n=!0;try{n=document.activeElement!==t}catch(ol){}return n&&t.value!==e}function Bs(t,e){var n=t.value,i=t._vModifiers;if(s(i)){if(i.number)return y(n)!==y(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var zs={create:Ns,update:Ns},Ws=S((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Vs(t){var e=Us(t.style);return t.staticStyle?A(t.staticStyle,e):e}function Us(t){return Array.isArray(t)?I(t):"string"===typeof t?Ws(t):t}function Zs(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Vs(r.data))&&A(i,n)}(n=Vs(t.data))&&A(i,n);var o=t;while(o=o.parent)o.data&&(n=Vs(o.data))&&A(i,n);return i}var Gs,Ks=/^--/,Js=/\s*!important$/,Qs=function(t,e,n){if(Ks.test(e))t.style.setProperty(e,n);else if(Js.test(n))t.style.setProperty(O(e),n.replace(Js,""),"important");else{var i=ta(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(ia).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function oa(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ia).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function sa(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&A(e,aa(t.name||"v")),A(e,t),e}return"string"===typeof t?aa(t):void 0}}var aa=S((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),la=tt&&!it,ca="transition",ua="animation",ha="transition",da="transitionend",fa="animation",pa="animationend";la&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ha="WebkitTransition",da="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(fa="WebkitAnimation",pa="webkitAnimationEnd"));var ma=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function _a(t){ma((function(){ma(t)}))}function ga(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ra(t,e))}function va(t,e){t._transitionClasses&&M(t._transitionClasses,e),oa(t,e)}function ya(t,e,n){var i=wa(t,e),r=i.type,o=i.timeout,s=i.propCount;if(!r)return n();var a=r===ca?da:pa,l=0,c=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(n=ca,u=s,h=o.length):e===ua?c>0&&(n=ua,u=c,h=l.length):(u=Math.max(s,c),n=u>0?s>c?ca:ua:null,h=n?n===ca?o.length:l.length:0);var d=n===ca&&ba.test(i[ha+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function Ma(t,e){while(t.length1}function Ca(t,e){!0!==e.data.show&&La(e)}var Da=tt?{create:Ca,activate:Ca,remove:function(t,e){!0!==t.data.show?Sa(t,e):e()}}:{},Oa=[xs,Ds,Hs,zs,na,Da],Ea=Oa.concat(Ms),Pa=ps({nodeOps:os,modules:Ea});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Na(t,"input")}));var Ya={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Ne(n,"postpatch",(function(){Ya.componentUpdated(t,e,n)})):ja(t,e,n.context),t._vOptions=[].map.call(t.options,Ra)):("textarea"===n.tag||Wo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",$a),t.addEventListener("compositionend",Ha),t.addEventListener("change",Ha),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ja(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Ra);if(r.some((function(t,e){return!N(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return Ia(t,r)})):e.value!==e.oldValue&&Ia(e.value,r);o&&Na(t,"change")}}}};function ja(t,e,n){Aa(t,e,n),(nt||rt)&&setTimeout((function(){Aa(t,e,n)}),0)}function Aa(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,s,a=0,l=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(N(Ra(s),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Ia(t,e){return e.every((function(e){return!N(e,t)}))}function Ra(t){return"_value"in t?t._value:t.value}function $a(t){t.target.composing=!0}function Ha(t){t.target.composing&&(t.target.composing=!1,Na(t.target,"input"))}function Na(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qa(t){return!t.componentInstance||t.data&&t.data.transition?t:qa(t.componentInstance._vnode)}var Fa={bind:function(t,e,n){var i=e.value;n=qa(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,La(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=qa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?La(n,(function(){t.style.display=t.__vOriginalDisplay})):Sa(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Ba={model:Ya,show:Fa},za={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Wa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Wa(Pn(e.children)):t}function Va(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[T(i)]=r[i];return e}function Ua(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Za(t){while(t=t.parent)if(t.data.transition)return!0}function Ga(t,e){return e.key===t.key&&e.tag===t.tag}var Ka=function(t){return t.tag||hn(t)},Ja=function(t){return"show"===t.name},Qa={name:"transition",props:za,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ka),n.length)){0;var i=this.mode;0;var r=n[0];if(Za(this.$vnode))return r;var o=Wa(r);if(!o)return r;if(this._leaving)return Ua(t,r);var s="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?s+"comment":s+o.tag:c(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var a=(o.data||(o.data={})).transition=Va(this),l=this._vnode,u=Wa(l);if(o.data.directives&&o.data.directives.some(Ja)&&(o.data.show=!0),u&&u.data&&!Ga(o,u)&&!hn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=A({},a);if("out-in"===i)return this._leaving=!0,Ne(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ua(t,r);if("in-out"===i){if(hn(o))return l;var d,f=function(){d()};Ne(a,"afterEnter",f),Ne(a,"enterCancelled",f),Ne(h,"delayLeave",(function(t){d=t}))}}return r}}},Xa=A({tag:String,moveClass:String},za);delete Xa.mode;var tl={props:Xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Yi(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],s=Va(this),a=0;a=20?"ste":"de")},week:{dow:1,doy:4}});return e}))},"2d00":function(t,e,n){"use strict";var i,r,o=n("da84"),s=n("342f"),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(i=u.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),t.exports=r},"2d7c":function(t,e){function n(t,e){var n=-1,i=null==t?0:t.length,r=0,o=[];while(++n=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return I})),n.d(e,"c",(function(){return A})),n.d(e,"d",(function(){return Y}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=l(t[n],e)})),i}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){c(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var m=function(t){this.register([],t,!1)};function _(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;_(t.concat(i),e.getChild(i),n.modules[i])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},m.prototype.update=function(t){_([],this.root,t)},m.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&c(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var v=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,a=o.dispatch,l=o.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var c=this._modules.root.state;k(this,c,[],this._modules.root),M(this,c),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:g.config.devtools;u&&s(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};c(r,(function(e,n){o[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:o}),g.config.silent=s,t.strict&&D(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function k(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=O(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){g.set(a,l,i.state)}))}var c=i.context=L(t,s,n);i.forEachMutation((function(e,n){var i=s+n;x(t,i,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;T(t,i,r,c)})),i.forEachGetter((function(e,n){var i=s+n;C(t,i,e,c)})),i.forEachChild((function(i,o){k(t,e,n.concat(o),i,r)}))}function L(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=E(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=E(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return O(t.state,n)}}}),r}function S(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function x(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function T(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return h(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function C(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function D(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(t,e){return e.reduce((function(t,e){return t[e]}),t)}function E(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){g&&t===g||(g=t,i(g))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},v.prototype.commit=function(t,e,n){var i=this,r=E(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},v.prototype.dispatch=function(t,e){var n=this,i=E(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(c){0}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(c){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(c){0}e(t)}))}))}},v.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},v.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},v.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=O(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),w(this)},v.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},v.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,y);var Y=N((function(t,e){var n={};return H(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=q(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),A=N((function(t,e){var n={};return H(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=q(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),j=N((function(t,e){var n={};return H(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||q(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),I=N((function(t,e){var n={};return H(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=q(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=function(t){return{mapState:Y.bind(null,t),mapGetters:j.bind(null,t),mapMutations:A.bind(null,t),mapActions:I.bind(null,t)}};function H(t){return $(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function $(t){return Array.isArray(t)||u(t)}function N(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function q(t,e,n){var i=t._modulesNamespaceMap[n];return i}function F(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=l(t.state);"undefined"!==typeof u&&(a&&t.subscribe((function(t,o){var s=l(o);if(n(t,h,s)){var a=W(),c=r(t),d="mutation "+t.type+a;B(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),z(u)}h=s})),c&&t.subscribeAction((function(t,n){if(o(t,n)){var i=W(),r=s(t),a="action "+t.type+i;B(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),z(u)}})))}}function B(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function z(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function W(){var t=new Date;return" @ "+U(t.getHours(),2)+":"+U(t.getMinutes(),2)+":"+U(t.getSeconds(),2)+"."+U(t.getMilliseconds(),3)}function V(t,e){return new Array(e+1).join(t)}function U(t,e){return V("0",e-t.toString().length)+t}var Z={Store:v,install:P,version:"3.6.2",mapState:Y,mapMutations:A,mapGetters:j,mapActions:I,createNamespacedHelpers:R,createLogger:F};e["a"]=Z}).call(this,n("c8ba"))},"2f79":function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return m}));var i=n("0831"),r=n("0967");let o,s;function a(t){const e=t.split(" ");return 2===e.length&&(!0!==["top","center","bottom"].includes(e[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(e[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function l(t){return!t||2===t.length&&("number"===typeof t[0]&&"number"===typeof t[1])}const c={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function u(t,e){const n=t.split(" ");return{vertical:n[0],horizontal:c[`${n[1]}#${!0===e?"rtl":"ltr"}`]}}function h(t,e){let{top:n,left:i,right:r,bottom:o,width:s,height:a}=t.getBoundingClientRect();return void 0!==e&&(n-=e[1],i-=e[0],o+=e[1],r+=e[0],s+=e[0],a+=e[1]),{top:n,bottom:o,height:a,left:i,right:r,width:s,middle:i+(r-i)/2,center:n+(o-n)/2}}function d(t,e,n){let{top:i,left:r}=t.getBoundingClientRect();return i+=e.top,r+=e.left,void 0!==n&&(i+=n[1],r+=n[0]),{top:i,bottom:i+1,height:1,left:r,right:r+1,width:1,middle:r,center:i}}function f(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function p(t,e,n){return{top:t[n.anchorOrigin.vertical]-e[n.selfOrigin.vertical],left:t[n.anchorOrigin.horizontal]-e[n.selfOrigin.horizontal]}}function m(t){if(!0===r["a"].is.ios&&void 0!==window.visualViewport){const t=document.body.style,{offsetLeft:e,offsetTop:n}=window.visualViewport;e!==o&&(t.setProperty("--q-pe-left",e+"px"),o=e),n!==s&&(t.setProperty("--q-pe-top",n+"px"),s=n)}const{scrollLeft:e,scrollTop:n}=t.el,i=void 0===t.absoluteOffset?h(t.anchorEl,!0===t.cover?[0,0]:t.offset):d(t.anchorEl,t.absoluteOffset,t.offset);let a={maxHeight:t.maxHeight,maxWidth:t.maxWidth,visibility:"visible"};!0!==t.fit&&!0!==t.cover||(a.minWidth=i.width+"px",!0===t.cover&&(a.minHeight=i.height+"px")),Object.assign(t.el.style,a);const l=f(t.el);let c=p(i,l,t);if(void 0===t.absoluteOffset||void 0===t.offset)_(c,i,l,t.anchorOrigin,t.selfOrigin);else{const{top:e,left:n}=c;_(c,i,l,t.anchorOrigin,t.selfOrigin);let r=!1;if(c.top!==e){r=!0;const e=2*t.offset[1];i.center=i.top-=e,i.bottom-=e+2}if(c.left!==n){r=!0;const e=2*t.offset[0];i.middle=i.left-=e,i.right-=e+2}!0===r&&(c=p(i,l,t),_(c,i,l,t.anchorOrigin,t.selfOrigin))}a={top:c.top+"px",left:c.left+"px"},void 0!==c.maxHeight&&(a.maxHeight=c.maxHeight+"px",i.height>c.maxHeight&&(a.minHeight=a.maxHeight)),void 0!==c.maxWidth&&(a.maxWidth=c.maxWidth+"px",i.width>c.maxWidth&&(a.minWidth=a.maxWidth)),Object.assign(t.el.style,a),t.el.scrollTop!==n&&(t.el.scrollTop=n),t.el.scrollLeft!==e&&(t.el.scrollLeft=e)}function _(t,e,n,r,o){const s=n.bottom,a=n.right,l=Object(i["e"])(),c=window.innerHeight-l,u=document.body.clientWidth;if(t.top<0||t.top+s>c)if("center"===o.vertical)t.top=e[r.vertical]>c/2?Math.max(0,c-s):0,t.maxHeight=Math.min(s,c);else if(e[r.vertical]>c/2){const n=Math.min(c,"center"===r.vertical?e.center:r.vertical===o.vertical?e.bottom:e.top);t.maxHeight=Math.min(s,n),t.top=Math.max(0,n-s)}else t.top=Math.max(0,"center"===r.vertical?e.center:r.vertical===o.vertical?e.top:e.bottom),t.maxHeight=Math.min(s,c-t.top);if(t.left<0||t.left+a>u)if(t.maxWidth=Math.min(a,u),"middle"===o.horizontal)t.left=e[r.horizontal]>u/2?Math.max(0,u-a):0;else if(e[r.horizontal]>u/2){const n=Math.min(u,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.right:e.left);t.maxWidth=Math.min(a,n),t.left=Math.max(0,n-t.maxWidth)}else t.left=Math.max(0,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.left:e.right),t.maxWidth=Math.min(a,u-t.left)}["left","middle","right"].forEach((t=>{c[`${t}#ltr`]=t,c[`${t}#rtl`]=t}))},"2fcc":function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"30c9":function(t,e,n){var i=n("9520"),r=n("b218");function o(t){return null!=t&&r(t.length)&&!i(t)}t.exports=o},"32b3":function(t,e,n){var i=n("872a"),r=n("9638"),o=Object.prototype,s=o.hasOwnProperty;function a(t,e,n){var o=t[e];s.call(t,e)&&r(o,n)&&(void 0!==n||e in t)||i(t,e,n)}t.exports=a},"32f4":function(t,e,n){var i=n("2d7c"),r=n("d327"),o=Object.prototype,s=o.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return s.call(t,e)})))}:r;t.exports=l},3301:function(t,e,n){"use strict";const{Buffer:i}=n("1c35"),r=Symbol.for("BufferList");function o(t){if(!(this instanceof o))return new o(t);o._init.call(this,t)}o._init=function(t){Object.defineProperty(this,r,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)},o.prototype._new=function(t){return new o(t)},o.prototype._offset=function(t){if(0===t)return[0,0];let e=0;for(let n=0;nthis.length||t<0)return;const e=this._offset(t);return this._bufs[e[0]][e[1]]},o.prototype.slice=function(t,e){return"number"===typeof t&&t<0&&(t+=this.length),"number"===typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},o.prototype.copy=function(t,e,n,r){if(("number"!==typeof n||n<0)&&(n=0),("number"!==typeof r||r>this.length)&&(r=this.length),n>=this.length)return t||i.alloc(0);if(r<=0)return t||i.alloc(0);const o=!!t,s=this._offset(n),a=r-n;let l=a,c=o&&e||0,u=s[1];if(0===n&&r===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:i.concat(this._bufs,this.length);for(let e=0;ee)){this._bufs[i].copy(t,c,u,u+l),c+=e;break}this._bufs[i].copy(t,c,u),c+=e,l-=e,u&&(u=0)}return t.length>c?t.slice(0,c):t},o.prototype.shallowSlice=function(t,e){if(t=t||0,e="number"!==typeof e?this.length:e,t<0&&(t+=this.length),e<0&&(e+=this.length),t===e)return this._new();const n=this._offset(t),i=this._offset(e),r=this._bufs.slice(n[0],i[0]+1);return 0===i[1]?r.pop():r[r.length-1]=r[r.length-1].slice(0,i[1]),0!==n[1]&&(r[0]=r[0].slice(n[1])),this._new(r)},o.prototype.toString=function(t,e,n){return this.slice(e,n).toString(t)},o.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;while(this._bufs.length){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},o.prototype.duplicate=function(){const t=this._new();for(let e=0;ethis.length?this.length:e;const r=this._offset(e);let o=r[0],s=r[1];for(;o=t.length){const n=e.indexOf(t,s);if(-1!==n)return this._reverseOffset([o,n]);s=e.length-t.length+1}else{const e=this._reverseOffset([o,s]);if(this._match(e,t))return e;s++}}s=0}return-1},o.prototype._match=function(t,e){if(this.length-t=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(i++,"%c"===t&&(r=i))})),e.splice(r,0,n)}function s(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}}function a(){let t;try{t=e.storage.getItem("debug")}catch(n){}return!t&&"undefined"!==typeof i&&"env"in i&&(t=i.env.DEBUG),t}function l(){try{return localStorage}catch(t){}}e.formatArgs=o,e.save=s,e.load=a,e.useColors=r,e.storage=l(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n("dc90")(e);const{formatters:c}=t.exports;c.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("4362"))},3511:function(t,e,n){"use strict";var i=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw i("Maximum allowed index exceeded");return t}},3698:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},3729:function(t,e,n){var i=n("9e69"),r=n("00fd"),o=n("29f3"),s="[object Null]",a="[object Undefined]",l=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?a:s:l&&l in Object(t)?r(t):o(t)}t.exports=c},"37e8":function(t,e,n){"use strict";var i=n("83ab"),r=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),l=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){s(t);var n,i=a(e),r=l(e),c=r.length,u=0;while(c>u)o.f(t,n=r[u++],i[n]);return t}},3818:function(t,e,n){var i=n("7e64"),r=n("8057"),o=n("32b3"),s=n("5b01"),a=n("0f0f"),l=n("e538"),c=n("4359"),u=n("54eb"),h=n("1041"),d=n("a994"),f=n("1bac"),p=n("42a2"),m=n("c87c"),_=n("c2b6"),g=n("fa21"),v=n("6747"),y=n("0d24"),b=n("cc45"),w=n("1a8c"),M=n("d7ee"),k=n("ec69"),L=n("9934"),S=1,x=2,T=4,C="[object Arguments]",D="[object Array]",O="[object Boolean]",E="[object Date]",P="[object Error]",Y="[object Function]",A="[object GeneratorFunction]",j="[object Map]",I="[object Number]",R="[object Object]",H="[object RegExp]",$="[object Set]",N="[object String]",q="[object Symbol]",F="[object WeakMap]",B="[object ArrayBuffer]",z="[object DataView]",W="[object Float32Array]",V="[object Float64Array]",U="[object Int8Array]",Z="[object Int16Array]",G="[object Int32Array]",K="[object Uint8Array]",J="[object Uint8ClampedArray]",Q="[object Uint16Array]",X="[object Uint32Array]",tt={};function et(t,e,n,D,O,E){var P,j=e&S,I=e&x,H=e&T;if(n&&(P=O?n(t,D,O,E):n(t)),void 0!==P)return P;if(!w(t))return t;var $=v(t);if($){if(P=m(t),!j)return c(t,P)}else{var N=p(t),q=N==Y||N==A;if(y(t))return l(t,j);if(N==R||N==C||q&&!O){if(P=I||q?{}:g(t),!j)return I?h(t,a(P,t)):u(t,s(P,t))}else{if(!tt[N])return O?t:{};P=_(t,N,j)}}E||(E=new i);var F=E.get(t);if(F)return F;E.set(t,P),M(t)?t.forEach((function(i){P.add(et(i,e,n,i,t,E))})):b(t)&&t.forEach((function(i,r){P.set(r,et(i,e,n,r,t,E))}));var B=H?I?f:d:I?L:k,z=$?void 0:B(t);return r(z||t,(function(i,r){z&&(r=i,i=t[r]),o(P,r,et(i,e,n,r,t,E))})),P}tt[C]=tt[D]=tt[B]=tt[z]=tt[O]=tt[E]=tt[W]=tt[V]=tt[U]=tt[Z]=tt[G]=tt[j]=tt[I]=tt[R]=tt[H]=tt[$]=tt[N]=tt[q]=tt[K]=tt[J]=tt[Q]=tt[X]=!0,tt[P]=tt[Y]=tt[F]=!1,t.exports=et},3845:function(t,e,n){"use strict";var i=n("2b0e"),r=n("d882"),o=n("7937"),s=n("e277"),a=n("d54d"),l=n("58ea"),c=n("f89c"),u=n("75c3");const h=[34,37,40,33,39,38];e["a"]=i["default"].extend({name:"QKnob",mixins:[{props:l["a"].options.props},c["b"]],directives:{TouchPan:u["a"]},props:{innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:t=>t>=0},tabindex:{type:[Number,String],default:0},disable:Boolean,readonly:Boolean},data(){const t=this.__getInnerMin(this.innerMin),e=this.__getInnerMax(this.innerMax);return{model:null===this.value?t:Object(o["a"])(this.value,t,e),dragging:!1}},watch:{modelUpdate(){this.model=null===this.value?this.computedInnerMin:Object(o["a"])(this.value,this.computedInnerMin,this.computedInnerMax),this.__updateValue(!0)}},computed:{classes(){return"q-knob non-selectable"+(!0===this.editable?" q-knob--editable":!0===this.disable?" disabled":"")},computedInnerMin(){return this.__getInnerMin(this.innerMin)},computedInnerMax(){return this.__getInnerMax(this.innerMax)},modelUpdate(){return`${this.value}|${this.computedInnerMin}|${this.computedInnerMax}`},editable(){return!1===this.disable&&!1===this.readonly},decimals(){return(String(this.step).trim("0").split(".")[1]||"").length},computedStep(){return 0===this.step?1:this.step},computedInstantFeedback(){return!0===this.instantFeedback||!0===this.dragging},onEvents(){return!0===this.$q.platform.is.mobile?{click:this.__click}:{mousedown:this.__activate,click:this.__click,keydown:this.__keydown,keyup:this.__keyup}},attrs(){const t={role:"slider","aria-valuemin":this.computedInnerMin,"aria-valuemax":this.computedInnerMax,"aria-valuenow":this.value};return!0===this.editable?t.tabindex=this.tabindex:t["aria-"+(!0===this.disable?"disabled":"readonly")]="",t}},methods:{__getInnerMin(t){return!0===isNaN(t)||this.innerMinthis.max?this.max:this.innerMax},__updateCenterPosition(){const{top:t,left:e,width:n,height:i}=this.$el.getBoundingClientRect();this.centerPosition={top:t+i/2,left:e+n/2}},__pan(t){t.isFinal?(this.__updatePosition(t.evt,!0),this.dragging=!1):t.isFirst?(this.__updateCenterPosition(),this.dragging=!0,this.__updatePosition(t.evt)):this.__updatePosition(t.evt)},__click(t){this.__updateCenterPosition(),this.__updatePosition(t,!0)},__keydown(t){if(!h.includes(t.keyCode))return;Object(r["l"])(t);const e=([34,33].includes(t.keyCode)?10:1)*this.computedStep,n=[34,37,40].includes(t.keyCode)?-e:e;this.model=Object(o["a"])(parseFloat((this.model+n).toFixed(this.decimals)),this.computedInnerMin,this.computedInnerMax),this.__updateValue()},__keyup(t){h.includes(t.keyCode)&&this.__updateValue(!0)},__activate(t){this.__updateCenterPosition(),this.__updatePosition(t)},__updatePosition(t,e){const n=this.centerPosition,i=Object(r["h"])(t),s=Math.abs(i.top-n.top),a=Math.sqrt(s**2+Math.abs(i.left-n.left)**2);let l=Math.asin(s/a)*(180/Math.PI);l=i.top=t/2?(e<0?-1:1)*t:0),c=parseFloat(c.toFixed(this.decimals))}c=Object(o["a"])(c,this.computedInnerMin,this.computedInnerMax),this.$emit("drag-value",c),this.model!==c&&(this.model=c),this.__updateValue(e)},__updateValue(t){this.value!==this.model&&this.$emit("input",this.model),!0===t&&this.$emit("change",this.model)},__getNameInput(){return this.$createElement("input",{attrs:this.formAttrs})}},render(t){const e={class:this.classes,attrs:this.attrs,props:{...this.$props,value:this.model,instantFeedback:this.computedInstantFeedback}};return!0===this.editable&&(e.on=this.onEvents,e.directives=Object(a["b"])(this,"dir",[{name:"touch-pan",value:this.__pan,modifiers:{prevent:!0,stop:!0,mouse:!0}}]),void 0!==this.name&&(e.scopedSlots={internal:this.__getNameInput})),t(l["a"],e,Object(s["c"])(this,"default"))}})},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return I})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return Y}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=l(t[n],e)})),i}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){c(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var m=function(t){this.register([],t,!1)};function _(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;_(t.concat(i),e.getChild(i),n.modules[i])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},m.prototype.update=function(t){_([],this.root,t)},m.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&c(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var v=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,a=o.dispatch,l=o.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var c=this._modules.root.state;k(this,c,[],this._modules.root),M(this,c),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:g.config.devtools;u&&s(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};c(r,(function(e,n){o[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:o}),g.config.silent=s,t.strict&&D(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function k(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=O(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){g.set(a,l,i.state)}))}var c=i.context=L(t,s,n);i.forEachMutation((function(e,n){var i=s+n;x(t,i,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;T(t,i,r,c)})),i.forEachGetter((function(e,n){var i=s+n;C(t,i,e,c)})),i.forEachChild((function(i,o){k(t,e,n.concat(o),i,r)}))}function L(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=E(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=E(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return O(t.state,n)}}}),r}function S(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function x(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function T(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return h(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function C(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function D(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(t,e){return e.reduce((function(t,e){return t[e]}),t)}function E(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){g&&t===g||(g=t,i(g))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},v.prototype.commit=function(t,e,n){var i=this,r=E(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},v.prototype.dispatch=function(t,e){var n=this,i=E(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(c){0}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(c){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(c){0}e(t)}))}))}},v.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},v.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},v.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=O(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),w(this)},v.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},v.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,y);var Y=N((function(t,e){var n={};return $(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=q(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),j=N((function(t,e){var n={};return $(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=q(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),A=N((function(t,e){var n={};return $(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||q(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),I=N((function(t,e){var n={};return $(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=q(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=function(t){return{mapState:Y.bind(null,t),mapGetters:A.bind(null,t),mapMutations:j.bind(null,t),mapActions:I.bind(null,t)}};function $(t){return H(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function H(t){return Array.isArray(t)||u(t)}function N(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function q(t,e,n){var i=t._modulesNamespaceMap[n];return i}function F(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=l(t.state);"undefined"!==typeof u&&(a&&t.subscribe((function(t,o){var s=l(o);if(n(t,h,s)){var a=W(),c=r(t),d="mutation "+t.type+a;B(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),z(u)}h=s})),c&&t.subscribeAction((function(t,n){if(o(t,n)){var i=W(),r=s(t),a="action "+t.type+i;B(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),z(u)}})))}}function B(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function z(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function W(){var t=new Date;return" @ "+U(t.getHours(),2)+":"+U(t.getMinutes(),2)+":"+U(t.getSeconds(),2)+"."+U(t.getMilliseconds(),3)}function V(t,e){return new Array(e+1).join(t)}function U(t,e){return V("0",e-t.toString().length)+t}var Z={Store:v,install:P,version:"3.6.2",mapState:Y,mapMutations:j,mapGetters:A,mapActions:I,createNamespacedHelpers:R,createLogger:F};e["a"]=Z}).call(this,n("c8ba"))},"2f79":function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return m}));var i=n("0831"),r=n("0967");let o,s;function a(t){const e=t.split(" ");return 2===e.length&&(!0!==["top","center","bottom"].includes(e[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(e[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function l(t){return!t||2===t.length&&("number"===typeof t[0]&&"number"===typeof t[1])}const c={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function u(t,e){const n=t.split(" ");return{vertical:n[0],horizontal:c[`${n[1]}#${!0===e?"rtl":"ltr"}`]}}function h(t,e){let{top:n,left:i,right:r,bottom:o,width:s,height:a}=t.getBoundingClientRect();return void 0!==e&&(n-=e[1],i-=e[0],o+=e[1],r+=e[0],s+=e[0],a+=e[1]),{top:n,bottom:o,height:a,left:i,right:r,width:s,middle:i+(r-i)/2,center:n+(o-n)/2}}function d(t,e,n){let{top:i,left:r}=t.getBoundingClientRect();return i+=e.top,r+=e.left,void 0!==n&&(i+=n[1],r+=n[0]),{top:i,bottom:i+1,height:1,left:r,right:r+1,width:1,middle:r,center:i}}function f(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function p(t,e,n){return{top:t[n.anchorOrigin.vertical]-e[n.selfOrigin.vertical],left:t[n.anchorOrigin.horizontal]-e[n.selfOrigin.horizontal]}}function m(t){if(!0===r["a"].is.ios&&void 0!==window.visualViewport){const t=document.body.style,{offsetLeft:e,offsetTop:n}=window.visualViewport;e!==o&&(t.setProperty("--q-pe-left",e+"px"),o=e),n!==s&&(t.setProperty("--q-pe-top",n+"px"),s=n)}const{scrollLeft:e,scrollTop:n}=t.el,i=void 0===t.absoluteOffset?h(t.anchorEl,!0===t.cover?[0,0]:t.offset):d(t.anchorEl,t.absoluteOffset,t.offset);let a={maxHeight:t.maxHeight,maxWidth:t.maxWidth,visibility:"visible"};!0!==t.fit&&!0!==t.cover||(a.minWidth=i.width+"px",!0===t.cover&&(a.minHeight=i.height+"px")),Object.assign(t.el.style,a);const l=f(t.el);let c=p(i,l,t);if(void 0===t.absoluteOffset||void 0===t.offset)_(c,i,l,t.anchorOrigin,t.selfOrigin);else{const{top:e,left:n}=c;_(c,i,l,t.anchorOrigin,t.selfOrigin);let r=!1;if(c.top!==e){r=!0;const e=2*t.offset[1];i.center=i.top-=e,i.bottom-=e+2}if(c.left!==n){r=!0;const e=2*t.offset[0];i.middle=i.left-=e,i.right-=e+2}!0===r&&(c=p(i,l,t),_(c,i,l,t.anchorOrigin,t.selfOrigin))}a={top:c.top+"px",left:c.left+"px"},void 0!==c.maxHeight&&(a.maxHeight=c.maxHeight+"px",i.height>c.maxHeight&&(a.minHeight=a.maxHeight)),void 0!==c.maxWidth&&(a.maxWidth=c.maxWidth+"px",i.width>c.maxWidth&&(a.minWidth=a.maxWidth)),Object.assign(t.el.style,a),t.el.scrollTop!==n&&(t.el.scrollTop=n),t.el.scrollLeft!==e&&(t.el.scrollLeft=e)}function _(t,e,n,r,o){const s=n.bottom,a=n.right,l=Object(i["e"])(),c=window.innerHeight-l,u=document.body.clientWidth;if(t.top<0||t.top+s>c)if("center"===o.vertical)t.top=e[r.vertical]>c/2?Math.max(0,c-s):0,t.maxHeight=Math.min(s,c);else if(e[r.vertical]>c/2){const n=Math.min(c,"center"===r.vertical?e.center:r.vertical===o.vertical?e.bottom:e.top);t.maxHeight=Math.min(s,n),t.top=Math.max(0,n-s)}else t.top=Math.max(0,"center"===r.vertical?e.center:r.vertical===o.vertical?e.top:e.bottom),t.maxHeight=Math.min(s,c-t.top);if(t.left<0||t.left+a>u)if(t.maxWidth=Math.min(a,u),"middle"===o.horizontal)t.left=e[r.horizontal]>u/2?Math.max(0,u-a):0;else if(e[r.horizontal]>u/2){const n=Math.min(u,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.right:e.left);t.maxWidth=Math.min(a,n),t.left=Math.max(0,n-t.maxWidth)}else t.left=Math.max(0,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.left:e.right),t.maxWidth=Math.min(a,u-t.left)}["left","middle","right"].forEach((t=>{c[`${t}#ltr`]=t,c[`${t}#rtl`]=t}))},"2fcc":function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"30c9":function(t,e,n){var i=n("9520"),r=n("b218");function o(t){return null!=t&&r(t.length)&&!i(t)}t.exports=o},"32b3":function(t,e,n){var i=n("872a"),r=n("9638"),o=Object.prototype,s=o.hasOwnProperty;function a(t,e,n){var o=t[e];s.call(t,e)&&r(o,n)&&(void 0!==n||e in t)||i(t,e,n)}t.exports=a},"32f4":function(t,e,n){var i=n("2d7c"),r=n("d327"),o=Object.prototype,s=o.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return s.call(t,e)})))}:r;t.exports=l},3301:function(t,e,n){"use strict";const{Buffer:i}=n("1c35"),r=Symbol.for("BufferList");function o(t){if(!(this instanceof o))return new o(t);o._init.call(this,t)}o._init=function(t){Object.defineProperty(this,r,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)},o.prototype._new=function(t){return new o(t)},o.prototype._offset=function(t){if(0===t)return[0,0];let e=0;for(let n=0;nthis.length||t<0)return;const e=this._offset(t);return this._bufs[e[0]][e[1]]},o.prototype.slice=function(t,e){return"number"===typeof t&&t<0&&(t+=this.length),"number"===typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},o.prototype.copy=function(t,e,n,r){if(("number"!==typeof n||n<0)&&(n=0),("number"!==typeof r||r>this.length)&&(r=this.length),n>=this.length)return t||i.alloc(0);if(r<=0)return t||i.alloc(0);const o=!!t,s=this._offset(n),a=r-n;let l=a,c=o&&e||0,u=s[1];if(0===n&&r===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:i.concat(this._bufs,this.length);for(let e=0;ee)){this._bufs[i].copy(t,c,u,u+l),c+=e;break}this._bufs[i].copy(t,c,u),c+=e,l-=e,u&&(u=0)}return t.length>c?t.slice(0,c):t},o.prototype.shallowSlice=function(t,e){if(t=t||0,e="number"!==typeof e?this.length:e,t<0&&(t+=this.length),e<0&&(e+=this.length),t===e)return this._new();const n=this._offset(t),i=this._offset(e),r=this._bufs.slice(n[0],i[0]+1);return 0===i[1]?r.pop():r[r.length-1]=r[r.length-1].slice(0,i[1]),0!==n[1]&&(r[0]=r[0].slice(n[1])),this._new(r)},o.prototype.toString=function(t,e,n){return this.slice(e,n).toString(t)},o.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;while(this._bufs.length){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},o.prototype.duplicate=function(){const t=this._new();for(let e=0;ethis.length?this.length:e;const r=this._offset(e);let o=r[0],s=r[1];for(;o=t.length){const n=e.indexOf(t,s);if(-1!==n)return this._reverseOffset([o,n]);s=e.length-t.length+1}else{const e=this._reverseOffset([o,s]);if(this._match(e,t))return e;s++}}s=0}return-1},o.prototype._match=function(t,e){if(this.length-t=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(i++,"%c"===t&&(r=i))})),e.splice(r,0,n)}function s(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}}function a(){let t;try{t=e.storage.getItem("debug")}catch(n){}return!t&&"undefined"!==typeof i&&"env"in i&&(t=i.env.DEBUG),t}function l(){try{return localStorage}catch(t){}}e.formatArgs=o,e.save=s,e.load=a,e.useColors=r,e.storage=l(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n("dc90")(e);const{formatters:c}=t.exports;c.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("4362"))},3511:function(t,e,n){"use strict";var i=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw i("Maximum allowed index exceeded");return t}},3698:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},3729:function(t,e,n){var i=n("9e69"),r=n("00fd"),o=n("29f3"),s="[object Null]",a="[object Undefined]",l=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?a:s:l&&l in Object(t)?r(t):o(t)}t.exports=c},3818:function(t,e,n){var i=n("7e64"),r=n("8057"),o=n("32b3"),s=n("5b01"),a=n("0f0f"),l=n("e538"),c=n("4359"),u=n("54eb"),h=n("1041"),d=n("a994"),f=n("1bac"),p=n("42a2"),m=n("c87c"),_=n("c2b6"),g=n("fa21"),v=n("6747"),y=n("0d24"),b=n("cc45"),w=n("1a8c"),M=n("d7ee"),k=n("ec69"),L=n("9934"),S=1,x=2,T=4,C="[object Arguments]",D="[object Array]",O="[object Boolean]",E="[object Date]",P="[object Error]",Y="[object Function]",j="[object GeneratorFunction]",A="[object Map]",I="[object Number]",R="[object Object]",$="[object RegExp]",H="[object Set]",N="[object String]",q="[object Symbol]",F="[object WeakMap]",B="[object ArrayBuffer]",z="[object DataView]",W="[object Float32Array]",V="[object Float64Array]",U="[object Int8Array]",Z="[object Int16Array]",G="[object Int32Array]",K="[object Uint8Array]",J="[object Uint8ClampedArray]",Q="[object Uint16Array]",X="[object Uint32Array]",tt={};function et(t,e,n,D,O,E){var P,A=e&S,I=e&x,$=e&T;if(n&&(P=O?n(t,D,O,E):n(t)),void 0!==P)return P;if(!w(t))return t;var H=v(t);if(H){if(P=m(t),!A)return c(t,P)}else{var N=p(t),q=N==Y||N==j;if(y(t))return l(t,A);if(N==R||N==C||q&&!O){if(P=I||q?{}:g(t),!A)return I?h(t,a(P,t)):u(t,s(P,t))}else{if(!tt[N])return O?t:{};P=_(t,N,A)}}E||(E=new i);var F=E.get(t);if(F)return F;E.set(t,P),M(t)?t.forEach((function(i){P.add(et(i,e,n,i,t,E))})):b(t)&&t.forEach((function(i,r){P.set(r,et(i,e,n,r,t,E))}));var B=$?I?f:d:I?L:k,z=H?void 0:B(t);return r(z||t,(function(i,r){z&&(r=i,i=t[r]),o(P,r,et(i,e,n,r,t,E))})),P}tt[C]=tt[D]=tt[B]=tt[z]=tt[O]=tt[E]=tt[W]=tt[V]=tt[U]=tt[Z]=tt[G]=tt[A]=tt[I]=tt[R]=tt[$]=tt[H]=tt[N]=tt[q]=tt[K]=tt[J]=tt[Q]=tt[X]=!0,tt[P]=tt[Y]=tt[F]=!1,t.exports=et},3845:function(t,e,n){"use strict";var i=n("2b0e"),r=n("d882"),o=n("7937"),s=n("e277"),a=n("d54d"),l=n("58ea"),c=n("f89c"),u=n("75c3");const h=[34,37,40,33,39,38];e["a"]=i["default"].extend({name:"QKnob",mixins:[{props:l["a"].options.props},c["b"]],directives:{TouchPan:u["a"]},props:{innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:t=>t>=0},tabindex:{type:[Number,String],default:0},disable:Boolean,readonly:Boolean},data(){const t=this.__getInnerMin(this.innerMin),e=this.__getInnerMax(this.innerMax);return{model:null===this.value?t:Object(o["a"])(this.value,t,e),dragging:!1}},watch:{modelUpdate(){this.model=null===this.value?this.computedInnerMin:Object(o["a"])(this.value,this.computedInnerMin,this.computedInnerMax),this.__updateValue(!0)}},computed:{classes(){return"q-knob non-selectable"+(!0===this.editable?" q-knob--editable":!0===this.disable?" disabled":"")},computedInnerMin(){return this.__getInnerMin(this.innerMin)},computedInnerMax(){return this.__getInnerMax(this.innerMax)},modelUpdate(){return`${this.value}|${this.computedInnerMin}|${this.computedInnerMax}`},editable(){return!1===this.disable&&!1===this.readonly},decimals(){return(String(this.step).trim("0").split(".")[1]||"").length},computedStep(){return 0===this.step?1:this.step},computedInstantFeedback(){return!0===this.instantFeedback||!0===this.dragging},onEvents(){return!0===this.$q.platform.is.mobile?{click:this.__click}:{mousedown:this.__activate,click:this.__click,keydown:this.__keydown,keyup:this.__keyup}},attrs(){const t={role:"slider","aria-valuemin":this.computedInnerMin,"aria-valuemax":this.computedInnerMax,"aria-valuenow":this.value};return!0===this.editable?t.tabindex=this.tabindex:t["aria-"+(!0===this.disable?"disabled":"readonly")]="",t}},methods:{__getInnerMin(t){return!0===isNaN(t)||this.innerMinthis.max?this.max:this.innerMax},__updateCenterPosition(){const{top:t,left:e,width:n,height:i}=this.$el.getBoundingClientRect();this.centerPosition={top:t+i/2,left:e+n/2}},__pan(t){t.isFinal?(this.__updatePosition(t.evt,!0),this.dragging=!1):t.isFirst?(this.__updateCenterPosition(),this.dragging=!0,this.__updatePosition(t.evt)):this.__updatePosition(t.evt)},__click(t){this.__updateCenterPosition(),this.__updatePosition(t,!0)},__keydown(t){if(!h.includes(t.keyCode))return;Object(r["l"])(t);const e=([34,33].includes(t.keyCode)?10:1)*this.computedStep,n=[34,37,40].includes(t.keyCode)?-e:e;this.model=Object(o["a"])(parseFloat((this.model+n).toFixed(this.decimals)),this.computedInnerMin,this.computedInnerMax),this.__updateValue()},__keyup(t){h.includes(t.keyCode)&&this.__updateValue(!0)},__activate(t){this.__updateCenterPosition(),this.__updatePosition(t)},__updatePosition(t,e){const n=this.centerPosition,i=Object(r["h"])(t),s=Math.abs(i.top-n.top),a=Math.sqrt(s**2+Math.abs(i.left-n.left)**2);let l=Math.asin(s/a)*(180/Math.PI);l=i.top=t/2?(e<0?-1:1)*t:0),c=parseFloat(c.toFixed(this.decimals))}c=Object(o["a"])(c,this.computedInnerMin,this.computedInnerMax),this.$emit("drag-value",c),this.model!==c&&(this.model=c),this.__updateValue(e)},__updateValue(t){this.value!==this.model&&this.$emit("input",this.model),!0===t&&this.$emit("change",this.model)},__getNameInput(){return this.$createElement("input",{attrs:this.formAttrs})}},render(t){const e={class:this.classes,attrs:this.attrs,props:{...this.$props,value:this.model,instantFeedback:this.computedInstantFeedback}};return!0===this.editable&&(e.on=this.onEvents,e.directives=Object(a["b"])(this,"dir",[{name:"touch-pan",value:this.__pan,modifiers:{prevent:!0,stop:!0,mouse:!0}}]),void 0!==this.name&&(e.scopedSlots={internal:this.__getNameInput})),t(l["a"],e,Object(s["c"])(this,"default"))}})},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},3980:function(t,e,n){"use strict";var i=n("2b0e"),r=n("d882"),o=n("0967"),s={data(){return{canRender:!o["f"]}},mounted(){!1===this.canRender&&(this.canRender=!0)}},a=n("d54d");e["a"]=i["default"].extend({name:"QResizeObserver",mixins:[s],props:{debounce:{type:[String,Number],default:100}},data(){return!0===this.hasObserver?{}:{url:!0===this.$q.platform.is.ie?null:"about:blank"}},methods:{trigger(t){!0===t||0===this.debounce||"0"===this.debounce?this.__emit():null===this.timer&&(this.timer=setTimeout(this.__emit,this.debounce))},__emit(){if(null!==this.timer&&(clearTimeout(this.timer),this.timer=null),!this.$el||!this.$el.parentNode)return;const t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))},__cleanup(){void 0!==this.curDocView&&(void 0!==this.curDocView.removeEventListener&&this.curDocView.removeEventListener("resize",this.trigger,r["f"].passive),this.curDocView=void 0)},__onObjLoad(){this.__cleanup(),this.$el.contentDocument&&(this.curDocView=this.$el.contentDocument.defaultView,this.curDocView.addEventListener("resize",this.trigger,r["f"].passive)),this.__emit()}},render(t){if(!1!==this.canRender&&!0!==this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":"true"},on:Object(a["b"])(this,"load",{load:this.__onObjLoad})})},beforeCreate(){this.size={width:-1,height:-1},!0!==o["e"]&&(this.hasObserver="undefined"!==typeof ResizeObserver,!0!==this.hasObserver&&(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted(){if(this.timer=null,!0===this.hasObserver)return this.observer=new ResizeObserver(this.trigger),this.observer.observe(this.$el.parentNode),void this.__emit();!0===this.$q.platform.is.ie?(this.url="about:blank",this.__emit()):this.__onObjLoad()},beforeDestroy(){clearTimeout(this.timer),!0!==this.hasObserver?this.__cleanup():void 0!==this.observer&&this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode)}})},"39a6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -91,15 +91,15 @@ var e=t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_ //! moment.js locale configuration var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"3b4a":function(t,e,n){var i=n("0b07"),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=r},"3bbe":function(t,e,n){"use strict";var i=n("1787"),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw new o("Can't set "+r(t)+" as a prototype")}},"3c0d":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!==~~(t/10)}function s(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(o(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(o(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(o(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(o(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(o(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(o(t)?"roky":"let"):r+"lety"}}var a=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"3c65":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("083a"),l=n("3511"),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}},h=c||!u();i({target:"Array",proto:!0,arity:1,forced:h},{unshift:function(t){var e=r(this),n=o(e),i=arguments.length;if(i){l(n+i);var c=n;while(c--){var u=c+i;c in e?e[u]=e[c]:a(e,u)}for(var h=0;h.5&&this.A+this.M>=e&&e>4096){for(var n=this.M,i=0;i0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},m=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;re?-1:t>1,a=r.M-1>>1;a>=0;--a)r.ri(a,s);return r}return f(e,t),e.prototype.ti=function(t){var e=this.ii[t];while(t>0){var n=t-1>>1,i=this.ii[n];if(this.$(i,e)<=0)break;this.ii[t]=i,t=n}this.ii[t]=e},e.prototype.ri=function(t,e){var n=this.ii[t];while(t0&&(i=r,o=this.ii[r]),this.$(o,n)>=0)break;this.ii[t]=o,t=i}this.ii[t]=n},e.prototype.clear=function(){this.M=0,this.ii.length=0},e.prototype.push=function(t){this.ii.push(t),this.ti(this.M),this.M+=1},e.prototype.pop=function(){if(0!==this.M){var t=this.ii[0],e=this.ii.pop();return this.M-=1,this.M&&(this.ii[0]=e,this.ri(0,this.M>>1)),t}},e.prototype.top=function(){return this.ii[0]},e.prototype.find=function(t){return this.ii.indexOf(t)>=0},e.prototype.remove=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(0===e?this.pop():e===this.M-1?(this.ii.pop(),this.M-=1):(this.ii.splice(e,1,this.ii.pop()),this.M-=1,this.ti(e),this.ri(e,this.M>>1)),!0)},e.prototype.updateItem=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(this.ti(e),this.ri(e,this.M>>1),!0)},e.prototype.toArray=function(){return m([],p(this.ii),!1)},e}(o),g=_,v=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e}(s),b=y;function w(){throw new RangeError("Iterator access denied!")}var M=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k=function(t){function e(e,n){var i=t.call(this,n)||this;return i.o=e,0===i.iteratorType?(i.pre=function(){return 0===this.o&&w(),this.o-=1,this},i.next=function(){return this.o===this.container.size()&&w(),this.o+=1,this}):(i.pre=function(){return this.o===this.container.size()-1&&w(),this.o+=1,this},i.next=function(){return-1===this.o&&w(),this.o-=1,this}),i}return M(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.container.getElementByPos(this.o)},set:function(t){this.container.setElementByPos(this.o,t)},enumerable:!1,configurable:!0}),e}(r),L=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},T=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(t){function e(e,n,i){var r=t.call(this,e,i)||this;return r.container=n,r}return L(e,t),e.prototype.copy=function(){return new e(this.o,this.container,this.iteratorType)},e}(k),O=function(t){function e(e,n){void 0===e&&(e=[]),void 0===n&&(n=!0);var i=t.call(this)||this;if(Array.isArray(e))i.J=n?T([],x(e),!1):e,i.M=e.length;else{i.J=[];var r=i;e.forEach((function(t){r.pushBack(t)}))}return i}return L(e,t),e.prototype.clear=function(){this.M=0,this.J.length=0},e.prototype.begin=function(){return new D(0,this)},e.prototype.end=function(){return new D(this.M,this)},e.prototype.rBegin=function(){return new D(this.M-1,this,1)},e.prototype.rEnd=function(){return new D(-1,this,1)},e.prototype.front=function(){return this.J[0]},e.prototype.back=function(){return this.J[this.M-1]},e.prototype.getElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J[t]},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J.splice(t,1),this.M-=1,this.M},e.prototype.eraseElementByValue=function(t){for(var e=0,n=0;nthis.M-1)throw new RangeError;this.J[t]=e},e.prototype.insert=function(t,e,n){var i;if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;return(i=this.J).splice.apply(i,T([t,0],x(new Array(n).fill(e)),!1)),this.M+=n,this.M},e.prototype.find=function(t){for(var e=0;e0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.p},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e.prototype.eraseElementByValue=function(t){var e=this.H;while(e!==this.h)e.p===t&&this.G(e),e=e.m;return this.M},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&w(),t=t.next(),this.G(e),t},e.prototype.pushBack=function(t){return this.F(t,this.l),this.M},e.prototype.popBack=function(){if(0!==this.M){var t=this.l.p;return this.G(this.l),t}},e.prototype.pushFront=function(t){return this.F(t,this.h),this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.H.p;return this.G(this.H),t}},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.H;while(t--)n=n.m;n.p=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(n<=0)return this.M;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var i=this.H,r=1;r0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},N=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r>1)-(s>>1),i.S=i.k=i.B-r%i.B>>1;var a=i;return e.forEach((function(t){a.pushBack(t)})),i}return R(e,t),e.prototype.O=function(){for(var t=[],e=Math.max(this.C>>1,1),n=0;n>1},e.prototype.begin=function(){return new q(0,this)},e.prototype.end=function(){return new q(this.M,this)},e.prototype.rBegin=function(){return new q(this.M-1,this,1)},e.prototype.rEnd=function(){return new q(-1,this,1)},e.prototype.front=function(){if(0!==this.M)return this.j[this.A][this.S]},e.prototype.back=function(){if(0!==this.M)return this.j[this.R][this.k]},e.prototype.pushBack=function(t){return this.M&&(this.k0?this.k-=1:this.R>0?(this.R-=1,this.k=this.B-1):(this.R=this.C-1,this.k=this.B-1)),this.M-=1,t}},e.prototype.pushFront=function(t){return this.M&&(this.S>0?this.S-=1:this.A>0?(this.A-=1,this.S=this.B-1):(this.A=this.C-1,this.S=this.B-1),this.A===this.R&&this.S===this.k&&this.O()),this.M+=1,this.j[this.A][this.S]=t,this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.j[this.A][this.S];return 1!==this.M&&(this.Sthis.M-1)throw new RangeError;var e=this.T(t),n=e.curNodeBucketIndex,i=e.curNodePointerIndex;return this.j[n][i]},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.T(t),i=n.curNodeBucketIndex,r=n.curNodePointerIndex;this.j[i][r]=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var i=[],r=t;rthis.M-1)throw new RangeError;if(0===t)this.popFront();else if(t===this.M-1)this.popBack();else{for(var e=[],n=t+1;nt)this.popBack();return this.M},e.prototype.sort=function(t){for(var e=[],n=0;n0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},G=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},K=function(t){function e(e,n){void 0===e&&(e=function(t,e){return te?1:0}),void 0===n&&(n=!1);var i=t.call(this)||this;return i.W=void 0,i.$=e,n?(i.re=V,i.v=function(t,e,n){var i=this.se(t,e,n);if(i){var r=i.rr;while(r!==this.h)r.tr+=1,r=r.rr;var o=this.fe(i);if(o){var s=o,a=s.parentNode,l=s.grandParent,c=s.curNode;a.ie(),l.ie(),c.ie()}}return this.M},i.G=function(t){var e=this.he(t);while(e!==this.h)e.tr-=1,e=e.rr}):(i.re=W,i.v=function(t,e,n){var i=this.se(t,e,n);return i&&this.fe(i),this.M},i.G=i.he),i.h=new i.re,i}return U(e,t),e.prototype.U=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);if(i<0)t=t.N;else{if(!(i>0))return t;n=t,t=t.K}}return n},e.prototype.X=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);i<=0?t=t.N:(n=t,t=t.K)}return n},e.prototype.Y=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);if(i<0)n=t,t=t.N;else{if(!(i>0))return t;t=t.K}}return n},e.prototype.Z=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);i<0?(n=t,t=t.N):t=t.K}return n},e.prototype.ue=function(t){while(1){var e=t.rr;if(e===this.h)return;if(1===t.ee)return void(t.ee=0);if(t===e.K){var n=e.N;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.ne():e.ne();else{if(n.N&&1===n.N.ee)return n.ee=e.ee,e.ee=0,n.N.ee=0,void(e===this.W?this.W=e.ne():e.ne());n.K&&1===n.K.ee?(n.ee=1,n.K.ee=0,n.te()):(n.ee=1,t=e)}}else{n=e.K;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.te():e.te();else{if(n.K&&1===n.K.ee)return n.ee=e.ee,e.ee=0,n.K.ee=0,void(e===this.W?this.W=e.te():e.te());n.N&&1===n.N.ee?(n.ee=1,n.N.ee=0,n.ne()):(n.ee=1,t=e)}}}},e.prototype.he=function(t){var e,n;if(1===this.M)return this.clear(),this.h;var i=t;while(i.K||i.N){if(i.N){i=i.N;while(i.K)i=i.K}else i=i.K;e=Z([i.u,t.u],2),t.u=e[0],i.u=e[1],n=Z([i.p,t.p],2),t.p=n[0],i.p=n[1],t=i}this.h.K===i?this.h.K=i.rr:this.h.N===i&&(this.h.N=i.rr),this.ue(i);var r=i.rr;return i===r.K?r.K=void 0:r.N=void 0,this.M-=1,this.W.ee=0,r},e.prototype.ae=function(t,e){if(void 0===t)return!1;var n=this.ae(t.K,e);return!!n||(!!e(t)||this.ae(t.N,e))},e.prototype.fe=function(t){while(1){var e=t.rr;if(0===e.ee)return;var n=e.rr;if(e===n.K){var i=n.N;if(i&&1===i.ee){if(i.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.N){if(t.ee=0,t.K&&(t.K.rr=e),t.N&&(t.N.rr=n),e.N=t.K,n.K=t.N,t.K=e,t.N=n,n===this.W)this.W=t,this.h.rr=t;else{var r=n.rr;r.K===n?r.K=t:r.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.te():n.te(),n.ee=1}else{i=n.K;if(i&&1===i.ee){if(i.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.K){if(t.ee=0,t.K&&(t.K.rr=n),t.N&&(t.N.rr=e),n.N=t.K,e.K=t.N,t.K=n,t.N=e,n===this.W)this.W=t,this.h.rr=t;else{r=n.rr;r.K===n?r.K=t:r.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.ne():n.ne(),n.ee=1}return}},e.prototype.se=function(t,e,n){if(void 0===this.W)return this.M+=1,this.W=new this.re(t,e),this.W.ee=0,this.W.rr=this.h,this.h.rr=this.W,this.h.K=this.W,void(this.h.N=this.W);var i,r=this.h.K,o=this.$(r.u,t);if(0!==o){if(o>0)r.K=new this.re(t,e),r.K.rr=r,i=r.K,this.h.K=i;else{var s=this.h.N,a=this.$(s.u,t);if(0===a)return void(s.p=e);if(a<0)s.N=new this.re(t,e),s.N.rr=s,i=s.N,this.h.N=i;else{if(void 0!==n){var l=n.o;if(l!==this.h){var c=this.$(l.u,t);if(0===c)return void(l.p=e);if(c>0){var u=l.L(),h=this.$(u.u,t);if(0===h)return void(u.p=e);h<0&&(i=new this.re(t,e),void 0===u.N?(u.N=i,i.rr=u):(l.K=i,i.rr=l))}}}if(void 0===i){i=this.W;while(1){var d=this.$(i.u,t);if(d>0){if(void 0===i.K){i.K=new this.re(t,e),i.K.rr=i,i=i.K;break}i=i.K}else{if(!(d<0))return void(i.p=e);if(void 0===i.N){i.N=new this.re(t,e),i.N.rr=i,i=i.N;break}i=i.N}}}}}return this.M+=1,i}r.p=e},e.prototype.g=function(t,e){while(t){var n=this.$(t.u,e);if(n<0)t=t.N;else{if(!(n>0))return t;t=t.K}}return t||this.h},e.prototype.clear=function(){this.M=0,this.W=void 0,this.h.rr=void 0,this.h.K=this.h.N=void 0},e.prototype.updateKeyByIterator=function(t,e){var n=t.o;if(n===this.h&&w(),1===this.M)return n.u=e,!0;if(n===this.h.K)return this.$(n.m().u,e)>0&&(n.u=e,!0);if(n===this.h.N)return this.$(n.L().u,e)<0&&(n.u=e,!0);var i=n.L().u;if(this.$(i,e)>=0)return!1;var r=n.m().u;return!(this.$(r,e)<=0)&&(n.u=e,!0)},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=0,n=this;return this.ae(this.W,(function(i){return t===e?(n.G(i),!0):(e+=1,!1)})),this.M},e.prototype.eraseElementByKey=function(t){if(0===this.M)return!1;var e=this.g(this.W,t);return e!==this.h&&(this.G(e),!0)},e.prototype.eraseElementByIterator=function(t){var e=t.o;e===this.h&&w();var n=void 0===e.N,i=0===t.iteratorType;return i?n&&t.next():n&&void 0!==e.K||t.next(),this.G(e),t},e.prototype.forEach=function(t){var e,n,i=0;try{for(var r=G(this),o=r.next();!o.done;o=r.next()){var s=o.value;t(s,i++,this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.getElementByPos=function(t){var e,n,i;if(t<0||t>this.M-1)throw new RangeError;var r=0;try{for(var o=G(this),s=o.next();!s.done;s=o.next()){var a=s.value;if(r===t){i=a;break}r+=1}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i},e.prototype.getHeight=function(){if(0===this.M)return 0;var t=function(e){return e?Math.max(t(e.K),t(e.N))+1:0};return t(this.W)},e}(s),J=K,Q=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),X=function(t){function e(e,n,i){var r=t.call(this,i)||this;return r.o=e,r.h=n,0===r.iteratorType?(r.pre=function(){return this.o===this.h.K&&w(),this.o=this.o.L(),this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.m(),this}):(r.pre=function(){return this.o===this.h.N&&w(),this.o=this.o.m(),this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.L(),this}),r}return Q(e,t),Object.defineProperty(e.prototype,"index",{get:function(){var t=this.o,e=this.h.rr;if(t===this.h)return e?e.tr-1:0;var n=0;t.K&&(n+=t.K.tr);while(t!==e){var i=t.rr;t===i.N&&(n+=1,i.K&&(n+=i.K.tr)),t=i}return n},enumerable:!1,configurable:!0}),e}(r),tt=X,et=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},rt=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o.container=i,o}return et(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.o===this.h&&w(),this.o.u},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ot=function(t){function e(e,n,i){void 0===e&&(e=[]);var r=t.call(this,n,i)||this,o=r;return e.forEach((function(t){o.insert(t)})),r}return et(e,t),e.prototype.P=function(t){return nt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,it(this.P(t.K))];case 1:return e.sent(),[4,t.u];case 2:return e.sent(),[5,it(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new rt(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new rt(this.h,this.h,this)},e.prototype.rBegin=function(){return new rt(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new rt(this.h,this.h,this,1)},e.prototype.front=function(){return this.h.K?this.h.K.u:void 0},e.prototype.back=function(){return this.h.N?this.h.N.u:void 0},e.prototype.insert=function(t,e){return this.v(t,void 0,e)},e.prototype.find=function(t){var e=this.g(this.W,t);return new rt(e,this.h,this)},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new rt(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new rt(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new rt(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new rt(e,this.h,this)},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.insert(t)})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(J),st=ot,at=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),lt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},ut=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o.container=i,o}return at(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){this.o===this.h&&w();var t=this;return new Proxy([],{get:function(e,n){return"0"===n?t.o.u:"1"===n?t.o.p:void 0},set:function(e,n,i){if("1"!==n)throw new TypeError("props must be 1");return t.o.p=i,!0}})},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ht=function(t){function e(e,n,i){void 0===e&&(e=[]);var r=t.call(this,n,i)||this,o=r;return e.forEach((function(t){o.setElement(t[0],t[1])})),r}return at(e,t),e.prototype.P=function(t){return lt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,ct(this.P(t.K))];case 1:return e.sent(),[4,[t.u,t.p]];case 2:return e.sent(),[5,ct(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new ut(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new ut(this.h,this.h,this)},e.prototype.rBegin=function(){return new ut(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new ut(this.h,this.h,this,1)},e.prototype.front=function(){if(0!==this.M){var t=this.h.K;return[t.u,t.p]}},e.prototype.back=function(){if(0!==this.M){var t=this.h.N;return[t.u,t.p]}},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new ut(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new ut(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new ut(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new ut(e,this.h,this)},e.prototype.setElement=function(t,e,n){return this.v(t,e,n)},e.prototype.find=function(t){var e=this.g(this.W,t);return new ut(e,this.h,this)},e.prototype.getElementByKey=function(t){var e=this.g(this.W,t);return e.p},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.setElement(t[0],t[1])})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(J),dt=ht;function ft(t){var e=typeof t;return"object"===e&&null!==t||"function"===e}var pt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mt=function(t){function e(e,n,i){var r=t.call(this,i)||this;return r.o=e,r.h=n,0===r.iteratorType?(r.pre=function(){return this.o.L===this.h&&w(),this.o=this.o.L,this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.m,this}):(r.pre=function(){return this.o.m===this.h&&w(),this.o=this.o.m,this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.L,this}),r}return pt(e,t),e}(r),_t=function(t){function e(){var e=t.call(this)||this;return e._=[],e.I={},e.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(e.I,null),e.h={},e.h.L=e.h.m=e.H=e.l=e.h,e}return pt(e,t),e.prototype.G=function(t){var e=t.L,n=t.m;e.m=n,n.L=e,t===this.H&&(this.H=n),t===this.l&&(this.l=e),this.M-=1},e.prototype.v=function(t,e,n){var i;if(void 0===n&&(n=ft(t)),n){var r=t[this.HASH_TAG];if(void 0!==r)return this._[r].p=e,this.M;Object.defineProperty(t,this.HASH_TAG,{value:this._.length,configurable:!0}),i={u:t,p:e,L:this.l,m:this.h},this._.push(i)}else{var o=this.I[t];if(o)return o.p=e,this.M;i={u:t,p:e,L:this.l,m:this.h},this.I[t]=i}return 0===this.M?(this.H=i,this.h.m=i):this.l.m=i,this.l=i,this.h.L=i,++this.M},e.prototype.g=function(t,e){if(void 0===e&&(e=ft(t)),e){var n=t[this.HASH_TAG];return void 0===n?this.h:this._[n]}return this.I[t]||this.h},e.prototype.clear=function(){var t=this.HASH_TAG;this._.forEach((function(e){delete e.u[t]})),this._=[],this.I={},Object.setPrototypeOf(this.I,null),this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},e.prototype.eraseElementByKey=function(t,e){var n;if(void 0===e&&(e=ft(t)),e){var i=t[this.HASH_TAG];if(void 0===i)return!1;delete t[this.HASH_TAG],n=this._[i],delete this._[i]}else{if(n=this.I[t],void 0===n)return!1;delete this.I[t]}return this.G(n),!0},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&w(),this.G(e),t.next()},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e}(s),gt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),vt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.u},e.prototype.find=function(t,e){var n=this.g(t,e);return new yt(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t(n.u,e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return vt(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,t.u];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(_t),wt=bt,Mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return[e.u,e.p]},e.prototype.find=function(t,e){var n=this.g(t,e);return new Lt(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t([n.u,n.p],e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return kt(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,[t.u,t.p]];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(_t),xt=St},"3d69":function(t,e,n){"use strict";var i=n("714f");e["a"]={directives:{Ripple:i["a"]},props:{ripple:{type:[Boolean,Object],default:!0}}}},"3de5":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!==~~(t/10)}function s(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(o(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(o(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(o(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(o(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(o(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(o(t)?"roky":"let"):r+"lety"}}var a=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"3c65":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("083a"),l=n("3511"),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}},h=c||!u();i({target:"Array",proto:!0,arity:1,forced:h},{unshift:function(t){var e=r(this),n=o(e),i=arguments.length;if(i){l(n+i);var c=n;while(c--){var u=c+i;c in e?e[u]=e[c]:a(e,u)}for(var h=0;h.5&&this.A+this.M>=e&&e>4096){for(var n=this.M,i=0;i0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},m=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;re?-1:t>1,a=r.M-1>>1;a>=0;--a)r.ri(a,s);return r}return f(e,t),e.prototype.ti=function(t){var e=this.ii[t];while(t>0){var n=t-1>>1,i=this.ii[n];if(this.$(i,e)<=0)break;this.ii[t]=i,t=n}this.ii[t]=e},e.prototype.ri=function(t,e){var n=this.ii[t];while(t0&&(i=r,o=this.ii[r]),this.$(o,n)>=0)break;this.ii[t]=o,t=i}this.ii[t]=n},e.prototype.clear=function(){this.M=0,this.ii.length=0},e.prototype.push=function(t){this.ii.push(t),this.ti(this.M),this.M+=1},e.prototype.pop=function(){if(0!==this.M){var t=this.ii[0],e=this.ii.pop();return this.M-=1,this.M&&(this.ii[0]=e,this.ri(0,this.M>>1)),t}},e.prototype.top=function(){return this.ii[0]},e.prototype.find=function(t){return this.ii.indexOf(t)>=0},e.prototype.remove=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(0===e?this.pop():e===this.M-1?(this.ii.pop(),this.M-=1):(this.ii.splice(e,1,this.ii.pop()),this.M-=1,this.ti(e),this.ri(e,this.M>>1)),!0)},e.prototype.updateItem=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(this.ti(e),this.ri(e,this.M>>1),!0)},e.prototype.toArray=function(){return m([],p(this.ii),!1)},e}(o),g=_,v=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e}(s),b=y;function w(){throw new RangeError("Iterator access denied!")}var M=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k=function(t){function e(e,n){var i=t.call(this,n)||this;return i.o=e,0===i.iteratorType?(i.pre=function(){return 0===this.o&&w(),this.o-=1,this},i.next=function(){return this.o===this.container.size()&&w(),this.o+=1,this}):(i.pre=function(){return this.o===this.container.size()-1&&w(),this.o+=1,this},i.next=function(){return-1===this.o&&w(),this.o-=1,this}),i}return M(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.container.getElementByPos(this.o)},set:function(t){this.container.setElementByPos(this.o,t)},enumerable:!1,configurable:!0}),e}(r),L=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},T=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(t){function e(e,n,i){var r=t.call(this,e,i)||this;return r.container=n,r}return L(e,t),e.prototype.copy=function(){return new e(this.o,this.container,this.iteratorType)},e}(k),O=function(t){function e(e,n){void 0===e&&(e=[]),void 0===n&&(n=!0);var i=t.call(this)||this;if(Array.isArray(e))i.J=n?T([],x(e),!1):e,i.M=e.length;else{i.J=[];var r=i;e.forEach((function(t){r.pushBack(t)}))}return i}return L(e,t),e.prototype.clear=function(){this.M=0,this.J.length=0},e.prototype.begin=function(){return new D(0,this)},e.prototype.end=function(){return new D(this.M,this)},e.prototype.rBegin=function(){return new D(this.M-1,this,1)},e.prototype.rEnd=function(){return new D(-1,this,1)},e.prototype.front=function(){return this.J[0]},e.prototype.back=function(){return this.J[this.M-1]},e.prototype.getElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J[t]},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J.splice(t,1),this.M-=1,this.M},e.prototype.eraseElementByValue=function(t){for(var e=0,n=0;nthis.M-1)throw new RangeError;this.J[t]=e},e.prototype.insert=function(t,e,n){var i;if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;return(i=this.J).splice.apply(i,T([t,0],x(new Array(n).fill(e)),!1)),this.M+=n,this.M},e.prototype.find=function(t){for(var e=0;e0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.p},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e.prototype.eraseElementByValue=function(t){var e=this.H;while(e!==this.h)e.p===t&&this.G(e),e=e.m;return this.M},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&w(),t=t.next(),this.G(e),t},e.prototype.pushBack=function(t){return this.F(t,this.l),this.M},e.prototype.popBack=function(){if(0!==this.M){var t=this.l.p;return this.G(this.l),t}},e.prototype.pushFront=function(t){return this.F(t,this.h),this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.H.p;return this.G(this.H),t}},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.H;while(t--)n=n.m;n.p=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(n<=0)return this.M;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var i=this.H,r=1;r0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},N=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r>1)-(s>>1),i.S=i.k=i.B-r%i.B>>1;var a=i;return e.forEach((function(t){a.pushBack(t)})),i}return R(e,t),e.prototype.O=function(){for(var t=[],e=Math.max(this.C>>1,1),n=0;n>1},e.prototype.begin=function(){return new q(0,this)},e.prototype.end=function(){return new q(this.M,this)},e.prototype.rBegin=function(){return new q(this.M-1,this,1)},e.prototype.rEnd=function(){return new q(-1,this,1)},e.prototype.front=function(){if(0!==this.M)return this.j[this.A][this.S]},e.prototype.back=function(){if(0!==this.M)return this.j[this.R][this.k]},e.prototype.pushBack=function(t){return this.M&&(this.k0?this.k-=1:this.R>0?(this.R-=1,this.k=this.B-1):(this.R=this.C-1,this.k=this.B-1)),this.M-=1,t}},e.prototype.pushFront=function(t){return this.M&&(this.S>0?this.S-=1:this.A>0?(this.A-=1,this.S=this.B-1):(this.A=this.C-1,this.S=this.B-1),this.A===this.R&&this.S===this.k&&this.O()),this.M+=1,this.j[this.A][this.S]=t,this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.j[this.A][this.S];return 1!==this.M&&(this.Sthis.M-1)throw new RangeError;var e=this.T(t),n=e.curNodeBucketIndex,i=e.curNodePointerIndex;return this.j[n][i]},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.T(t),i=n.curNodeBucketIndex,r=n.curNodePointerIndex;this.j[i][r]=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var i=[],r=t;rthis.M-1)throw new RangeError;if(0===t)this.popFront();else if(t===this.M-1)this.popBack();else{for(var e=[],n=t+1;nt)this.popBack();return this.M},e.prototype.sort=function(t){for(var e=[],n=0;n0)&&!(i=o.next()).done)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s},G=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},K=function(t){function e(e,n){void 0===e&&(e=function(t,e){return te?1:0}),void 0===n&&(n=!1);var i=t.call(this)||this;return i.W=void 0,i.$=e,n?(i.re=V,i.v=function(t,e,n){var i=this.se(t,e,n);if(i){var r=i.rr;while(r!==this.h)r.tr+=1,r=r.rr;var o=this.fe(i);if(o){var s=o,a=s.parentNode,l=s.grandParent,c=s.curNode;a.ie(),l.ie(),c.ie()}}return this.M},i.G=function(t){var e=this.he(t);while(e!==this.h)e.tr-=1,e=e.rr}):(i.re=W,i.v=function(t,e,n){var i=this.se(t,e,n);return i&&this.fe(i),this.M},i.G=i.he),i.h=new i.re,i}return U(e,t),e.prototype.U=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);if(i<0)t=t.N;else{if(!(i>0))return t;n=t,t=t.K}}return n},e.prototype.X=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);i<=0?t=t.N:(n=t,t=t.K)}return n},e.prototype.Y=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);if(i<0)n=t,t=t.N;else{if(!(i>0))return t;t=t.K}}return n},e.prototype.Z=function(t,e){var n=this.h;while(t){var i=this.$(t.u,e);i<0?(n=t,t=t.N):t=t.K}return n},e.prototype.ue=function(t){while(1){var e=t.rr;if(e===this.h)return;if(1===t.ee)return void(t.ee=0);if(t===e.K){var n=e.N;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.ne():e.ne();else{if(n.N&&1===n.N.ee)return n.ee=e.ee,e.ee=0,n.N.ee=0,void(e===this.W?this.W=e.ne():e.ne());n.K&&1===n.K.ee?(n.ee=1,n.K.ee=0,n.te()):(n.ee=1,t=e)}}else{n=e.K;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.te():e.te();else{if(n.K&&1===n.K.ee)return n.ee=e.ee,e.ee=0,n.K.ee=0,void(e===this.W?this.W=e.te():e.te());n.N&&1===n.N.ee?(n.ee=1,n.N.ee=0,n.ne()):(n.ee=1,t=e)}}}},e.prototype.he=function(t){var e,n;if(1===this.M)return this.clear(),this.h;var i=t;while(i.K||i.N){if(i.N){i=i.N;while(i.K)i=i.K}else i=i.K;e=Z([i.u,t.u],2),t.u=e[0],i.u=e[1],n=Z([i.p,t.p],2),t.p=n[0],i.p=n[1],t=i}this.h.K===i?this.h.K=i.rr:this.h.N===i&&(this.h.N=i.rr),this.ue(i);var r=i.rr;return i===r.K?r.K=void 0:r.N=void 0,this.M-=1,this.W.ee=0,r},e.prototype.ae=function(t,e){if(void 0===t)return!1;var n=this.ae(t.K,e);return!!n||(!!e(t)||this.ae(t.N,e))},e.prototype.fe=function(t){while(1){var e=t.rr;if(0===e.ee)return;var n=e.rr;if(e===n.K){var i=n.N;if(i&&1===i.ee){if(i.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.N){if(t.ee=0,t.K&&(t.K.rr=e),t.N&&(t.N.rr=n),e.N=t.K,n.K=t.N,t.K=e,t.N=n,n===this.W)this.W=t,this.h.rr=t;else{var r=n.rr;r.K===n?r.K=t:r.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.te():n.te(),n.ee=1}else{i=n.K;if(i&&1===i.ee){if(i.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.K){if(t.ee=0,t.K&&(t.K.rr=n),t.N&&(t.N.rr=e),n.N=t.K,e.K=t.N,t.K=n,t.N=e,n===this.W)this.W=t,this.h.rr=t;else{r=n.rr;r.K===n?r.K=t:r.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.ne():n.ne(),n.ee=1}return}},e.prototype.se=function(t,e,n){if(void 0===this.W)return this.M+=1,this.W=new this.re(t,e),this.W.ee=0,this.W.rr=this.h,this.h.rr=this.W,this.h.K=this.W,void(this.h.N=this.W);var i,r=this.h.K,o=this.$(r.u,t);if(0!==o){if(o>0)r.K=new this.re(t,e),r.K.rr=r,i=r.K,this.h.K=i;else{var s=this.h.N,a=this.$(s.u,t);if(0===a)return void(s.p=e);if(a<0)s.N=new this.re(t,e),s.N.rr=s,i=s.N,this.h.N=i;else{if(void 0!==n){var l=n.o;if(l!==this.h){var c=this.$(l.u,t);if(0===c)return void(l.p=e);if(c>0){var u=l.L(),h=this.$(u.u,t);if(0===h)return void(u.p=e);h<0&&(i=new this.re(t,e),void 0===u.N?(u.N=i,i.rr=u):(l.K=i,i.rr=l))}}}if(void 0===i){i=this.W;while(1){var d=this.$(i.u,t);if(d>0){if(void 0===i.K){i.K=new this.re(t,e),i.K.rr=i,i=i.K;break}i=i.K}else{if(!(d<0))return void(i.p=e);if(void 0===i.N){i.N=new this.re(t,e),i.N.rr=i,i=i.N;break}i=i.N}}}}}return this.M+=1,i}r.p=e},e.prototype.g=function(t,e){while(t){var n=this.$(t.u,e);if(n<0)t=t.N;else{if(!(n>0))return t;t=t.K}}return t||this.h},e.prototype.clear=function(){this.M=0,this.W=void 0,this.h.rr=void 0,this.h.K=this.h.N=void 0},e.prototype.updateKeyByIterator=function(t,e){var n=t.o;if(n===this.h&&w(),1===this.M)return n.u=e,!0;if(n===this.h.K)return this.$(n.m().u,e)>0&&(n.u=e,!0);if(n===this.h.N)return this.$(n.L().u,e)<0&&(n.u=e,!0);var i=n.L().u;if(this.$(i,e)>=0)return!1;var r=n.m().u;return!(this.$(r,e)<=0)&&(n.u=e,!0)},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=0,n=this;return this.ae(this.W,(function(i){return t===e?(n.G(i),!0):(e+=1,!1)})),this.M},e.prototype.eraseElementByKey=function(t){if(0===this.M)return!1;var e=this.g(this.W,t);return e!==this.h&&(this.G(e),!0)},e.prototype.eraseElementByIterator=function(t){var e=t.o;e===this.h&&w();var n=void 0===e.N,i=0===t.iteratorType;return i?n&&t.next():n&&void 0!==e.K||t.next(),this.G(e),t},e.prototype.forEach=function(t){var e,n,i=0;try{for(var r=G(this),o=r.next();!o.done;o=r.next()){var s=o.value;t(s,i++,this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.getElementByPos=function(t){var e,n,i;if(t<0||t>this.M-1)throw new RangeError;var r=0;try{for(var o=G(this),s=o.next();!s.done;s=o.next()){var a=s.value;if(r===t){i=a;break}r+=1}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i},e.prototype.getHeight=function(){if(0===this.M)return 0;var t=function(e){return e?Math.max(t(e.K),t(e.N))+1:0};return t(this.W)},e}(s),J=K,Q=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),X=function(t){function e(e,n,i){var r=t.call(this,i)||this;return r.o=e,r.h=n,0===r.iteratorType?(r.pre=function(){return this.o===this.h.K&&w(),this.o=this.o.L(),this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.m(),this}):(r.pre=function(){return this.o===this.h.N&&w(),this.o=this.o.m(),this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.L(),this}),r}return Q(e,t),Object.defineProperty(e.prototype,"index",{get:function(){var t=this.o,e=this.h.rr;if(t===this.h)return e?e.tr-1:0;var n=0;t.K&&(n+=t.K.tr);while(t!==e){var i=t.rr;t===i.N&&(n+=1,i.K&&(n+=i.K.tr)),t=i}return n},enumerable:!1,configurable:!0}),e}(r),tt=X,et=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},rt=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o.container=i,o}return et(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.o===this.h&&w(),this.o.u},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ot=function(t){function e(e,n,i){void 0===e&&(e=[]);var r=t.call(this,n,i)||this,o=r;return e.forEach((function(t){o.insert(t)})),r}return et(e,t),e.prototype.P=function(t){return nt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,it(this.P(t.K))];case 1:return e.sent(),[4,t.u];case 2:return e.sent(),[5,it(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new rt(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new rt(this.h,this.h,this)},e.prototype.rBegin=function(){return new rt(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new rt(this.h,this.h,this,1)},e.prototype.front=function(){return this.h.K?this.h.K.u:void 0},e.prototype.back=function(){return this.h.N?this.h.N.u:void 0},e.prototype.insert=function(t,e){return this.v(t,void 0,e)},e.prototype.find=function(t){var e=this.g(this.W,t);return new rt(e,this.h,this)},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new rt(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new rt(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new rt(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new rt(e,this.h,this)},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.insert(t)})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(J),st=ot,at=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),lt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},ut=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o.container=i,o}return at(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){this.o===this.h&&w();var t=this;return new Proxy([],{get:function(e,n){return"0"===n?t.o.u:"1"===n?t.o.p:void 0},set:function(e,n,i){if("1"!==n)throw new TypeError("props must be 1");return t.o.p=i,!0}})},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ht=function(t){function e(e,n,i){void 0===e&&(e=[]);var r=t.call(this,n,i)||this,o=r;return e.forEach((function(t){o.setElement(t[0],t[1])})),r}return at(e,t),e.prototype.P=function(t){return lt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,ct(this.P(t.K))];case 1:return e.sent(),[4,[t.u,t.p]];case 2:return e.sent(),[5,ct(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new ut(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new ut(this.h,this.h,this)},e.prototype.rBegin=function(){return new ut(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new ut(this.h,this.h,this,1)},e.prototype.front=function(){if(0!==this.M){var t=this.h.K;return[t.u,t.p]}},e.prototype.back=function(){if(0!==this.M){var t=this.h.N;return[t.u,t.p]}},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new ut(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new ut(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new ut(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new ut(e,this.h,this)},e.prototype.setElement=function(t,e,n){return this.v(t,e,n)},e.prototype.find=function(t){var e=this.g(this.W,t);return new ut(e,this.h,this)},e.prototype.getElementByKey=function(t){var e=this.g(this.W,t);return e.p},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.setElement(t[0],t[1])})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(J),dt=ht;function ft(t){var e=typeof t;return"object"===e&&null!==t||"function"===e}var pt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mt=function(t){function e(e,n,i){var r=t.call(this,i)||this;return r.o=e,r.h=n,0===r.iteratorType?(r.pre=function(){return this.o.L===this.h&&w(),this.o=this.o.L,this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.m,this}):(r.pre=function(){return this.o.m===this.h&&w(),this.o=this.o.m,this},r.next=function(){return this.o===this.h&&w(),this.o=this.o.L,this}),r}return pt(e,t),e}(r),_t=function(t){function e(){var e=t.call(this)||this;return e._=[],e.I={},e.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(e.I,null),e.h={},e.h.L=e.h.m=e.H=e.l=e.h,e}return pt(e,t),e.prototype.G=function(t){var e=t.L,n=t.m;e.m=n,n.L=e,t===this.H&&(this.H=n),t===this.l&&(this.l=e),this.M-=1},e.prototype.v=function(t,e,n){var i;if(void 0===n&&(n=ft(t)),n){var r=t[this.HASH_TAG];if(void 0!==r)return this._[r].p=e,this.M;Object.defineProperty(t,this.HASH_TAG,{value:this._.length,configurable:!0}),i={u:t,p:e,L:this.l,m:this.h},this._.push(i)}else{var o=this.I[t];if(o)return o.p=e,this.M;i={u:t,p:e,L:this.l,m:this.h},this.I[t]=i}return 0===this.M?(this.H=i,this.h.m=i):this.l.m=i,this.l=i,this.h.L=i,++this.M},e.prototype.g=function(t,e){if(void 0===e&&(e=ft(t)),e){var n=t[this.HASH_TAG];return void 0===n?this.h:this._[n]}return this.I[t]||this.h},e.prototype.clear=function(){var t=this.HASH_TAG;this._.forEach((function(e){delete e.u[t]})),this._=[],this.I={},Object.setPrototypeOf(this.I,null),this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},e.prototype.eraseElementByKey=function(t,e){var n;if(void 0===e&&(e=ft(t)),e){var i=t[this.HASH_TAG];if(void 0===i)return!1;delete t[this.HASH_TAG],n=this._[i],delete this._[i]}else{if(n=this.I[t],void 0===n)return!1;delete this.I[t]}return this.G(n),!0},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&w(),this.G(e),t.next()},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e}(s),gt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),vt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.u},e.prototype.find=function(t,e){var n=this.g(t,e);return new yt(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t(n.u,e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return vt(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,t.u];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(_t),wt=bt,Mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kt=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return[e.u,e.p]},e.prototype.find=function(t,e){var n=this.g(t,e);return new Lt(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t([n.u,n.p],e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return kt(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,[t.u,t.p]];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(_t),xt=St},"3d69":function(t,e,n){"use strict";var i=n("714f");e["a"]={directives:{Ripple:i["a"]},props:{ripple:{type:[Boolean,Object],default:!0}}}},"3de5":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},i=t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}});return i}))},"3e92":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return i}))},"3eb1":function(t,e,n){"use strict";var i=n("0f7c"),r=n("00ce"),o=n("d009"),s=r("%TypeError%"),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||i.call(l,a),u=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}t.exports=function(t){if("function"!==typeof t)throw new s("a function is required");var e=c(i,l,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var d=function(){return c(i,a,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d},"3f8c":function(t,e,n){"use strict";t.exports={}},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},4074:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("e277");e["a"]=i["default"].extend({name:"QItemSection",mixins:[r["a"]],props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},computed:{classes(){const t=this.avatar||this.side||this.thumbnail;return{"q-item__section--top":this.top,"q-item__section--avatar":this.avatar,"q-item__section--thumbnail":this.thumbnail,"q-item__section--side":t,"q-item__section--nowrap":this.noWrap,"q-item__section--main":!t,["justify-"+(this.top?"start":"center")]:!0}}},render(t){return t("div",{staticClass:"q-item__section column",class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"408c":function(t,e,n){var i=n("2b3e"),r=function(){return i.Date.now()};t.exports=r},"40d5":function(t,e,n){"use strict";var i=n("d039");t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4105:function(t,e,n){},"41c3":function(t,e,n){var i=n("1a8c"),r=n("eac5"),o=n("ec8c"),s=Object.prototype,a=s.hasOwnProperty;function l(t){if(!i(t))return o(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}t.exports=l},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return i}))},"3eb1":function(t,e,n){"use strict";var i=n("0f7c"),r=n("00ce"),o=n("d009"),s=r("%TypeError%"),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||i.call(l,a),u=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}t.exports=function(t){if("function"!==typeof t)throw new s("a function is required");var e=c(i,l,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var d=function(){return c(i,a,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},4074:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("e277");e["a"]=i["default"].extend({name:"QItemSection",mixins:[r["a"]],props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},computed:{classes(){const t=this.avatar||this.side||this.thumbnail;return{"q-item__section--top":this.top,"q-item__section--avatar":this.avatar,"q-item__section--thumbnail":this.thumbnail,"q-item__section--side":t,"q-item__section--nowrap":this.noWrap,"q-item__section--main":!t,["justify-"+(this.top?"start":"center")]:!0}}},render(t){return t("div",{staticClass:"q-item__section column",class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"408c":function(t,e,n){var i=n("2b3e"),r=function(){return i.Date.now()};t.exports=r},"40d5":function(t,e,n){"use strict";var i=n("d039");t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4105:function(t,e,n){},"41c3":function(t,e,n){var i=n("1a8c"),r=n("eac5"),o=n("ec8c"),s=Object.prototype,a=s.hasOwnProperty;function l(t){if(!i(t))return o(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}t.exports=l},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e}))},4245:function(t,e,n){var i=n("1290");function r(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=r},42454:function(t,e,n){var i=n("f909"),r=n("2ec1"),o=r((function(t,e,n){i(t,e,n)}));t.exports=o},"429b":function(t,e,n){"use strict";n("14d9");var i=n("2b0e"),r=n("0016"),o=n("3980"),s=n("463c"),a=n("87e8"),l=n("d882"),c=n("e277"),u=n("d54d"),h=n("0831");function d(t,e,n,i){return Object.defineProperty(t,e,{get:n,set:i,enumerable:!0}),t}function f(t,e,n){const i=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===e?i[0]:i[1]}${t?` text-${t}`:""}`}const p=["left","center","right","justify"],m=()=>({matchedLen:0,queryDiff:9999,hrefLen:0,exact:!1,redirected:!0});function _(t,e){for(const n in t)if(t[n]!==e[n])return!1;return!0}e["a"]=i["default"].extend({name:"QTabs",mixins:[s["a"],a["a"]],provide(){return{$tabs:this}},props:{value:[Number,String],align:{type:String,default:"center",validator:t=>p.includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String},data(){return{scrollable:!1,leftArrow:!0,rightArrow:!1,justify:!1,tabNameList:[],currentModel:this.value,hasFocus:!1,avoidRouteWatcher:!1}},watch:{isRTL(){this.__localUpdateArrows()},value(t){this.__updateModel({name:t,setCurrent:!0,skipEmit:!0})},outsideArrows(){this.__recalculateScroll()},arrowsEnabled(t){this.__localUpdateArrows=!0===t?this.__updateArrowsFn:l["g"],this.__recalculateScroll()}},computed:{tabProps(){return{activeClass:this.activeClass,activeColor:this.activeColor,activeBgColor:this.activeBgColor,indicatorClass:f(this.indicatorColor,this.switchIndicator,this.vertical),narrowIndicator:this.narrowIndicator,inlineLabel:this.inlineLabel,noCaps:this.noCaps}},hasActiveTab(){return this.tabNameList.some((t=>t.name===this.currentModel))},arrowsEnabled(){return!0===this.$q.platform.is.desktop||!0===this.mobileArrows},alignClass(){const t=!0===this.scrollable?"left":!0===this.justify?"justify":this.align;return`q-tabs__content--align-${t}`},classes(){return`q-tabs row no-wrap items-center q-tabs--${!0===this.scrollable?"":"not-"}scrollable q-tabs--`+(!0===this.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===this.arrowsEnabled&&!0===this.outsideArrows?"outside":"inside")+(!0===this.dense?" q-tabs--dense":"")+(!0===this.shrink?" col-shrink":"")+(!0===this.stretch?" self-stretch":"")},innerClass(){return"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position "+this.alignClass+(void 0!==this.contentClass?` ${this.contentClass}`:"")+(!0===this.$q.platform.is.mobile?" scroll":"")},domProps(){return!0===this.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}},isRTL(){return!0!==this.vertical&&!0===this.$q.lang.rtl},rtlPosCorrection(){return!1===Object(h["g"])()&&!0===this.isRTL},posFn(){return!0===this.rtlPosCorrection?{get:t=>Math.abs(t.scrollLeft),set:(t,e)=>{t.scrollLeft=-e}}:!0===this.vertical?{get:t=>t.scrollTop,set:(t,e)=>{t.scrollTop=e}}:{get:t=>t.scrollLeft,set:(t,e)=>{t.scrollLeft=e}}},onEvents(){return{input:l["k"],...this.qListeners,focusin:this.__onFocusin,focusout:this.__onFocusout}}},methods:{__updateModel({name:t,setCurrent:e,skipEmit:n}){this.currentModel!==t&&(!0!==n&&void 0!==this.qListeners.input&&this.$emit("input",t),!0!==e&&void 0!==this.qListeners.input||(this.__animate(this.currentModel,t),this.currentModel=t))},__recalculateScroll(){this.__registerScrollTick((()=>{this.__updateContainer({width:this.$el.offsetWidth,height:this.$el.offsetHeight})}))},__updateContainer(t){if(void 0===this.domProps||!this.$refs.content)return;const e=t[this.domProps.container],n=Math.min(this.$refs.content[this.domProps.scroll],Array.prototype.reduce.call(this.$refs.content.children,((t,e)=>t+(e[this.domProps.content]||0)),0)),i=e>0&&n>e;this.scrollable!==i&&(this.scrollable=i),!0===i&&this.__registerUpdateArrowsTick(this.__localUpdateArrows);const r=ee.name===t)):null,i=void 0!==e&&null!==e&&""!==e?this.tabVmList.find((t=>t.name===e)):null;if(n&&i){const t=n.$refs.tabIndicator,e=i.$refs.tabIndicator;clearTimeout(this.animateTimer),t.style.transition="none",t.style.transform="none",e.style.transition="none",e.style.transform="none";const r=t.getBoundingClientRect(),o=e.getBoundingClientRect();e.style.transform=!0===this.vertical?`translate3d(0,${r.top-o.top}px,0) scale3d(1,${o.height?r.height/o.height:1},1)`:`translate3d(${r.left-o.left}px,0,0) scale3d(${o.width?r.width/o.width:1},1,1)`,this.__registerAnimateTick((()=>{this.animateTimer=setTimeout((()=>{e.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",e.style.transform="none"}),70)}))}i&&!0===this.scrollable&&this.__scrollToTabEl(i.$el)},__scrollToTabEl(t){const e=this.$refs.content,{left:n,width:i,top:r,height:o}=e.getBoundingClientRect(),s=t.getBoundingClientRect();let a=!0===this.vertical?s.top-r:s.left-n;if(a<0)return e[!0===this.vertical?"scrollTop":"scrollLeft"]+=Math.floor(a),void this.__localUpdateArrows();a+=!0===this.vertical?s.height-o:s.width-i,a>0&&(e[!0===this.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(a),this.__localUpdateArrows())},__updateArrowsFn(){const t=this.$refs.content;if(null!==t){const e=t.getBoundingClientRect(),n=!0===this.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===this.isRTL?(this.leftArrow=Math.ceil(n+e.width)0):(this.leftArrow=n>0,this.rightArrow=!0===this.vertical?Math.ceil(n+e.height){!0===this.__scrollTowards(t)&&this.__stopAnimScroll()}),5)},__scrollToStart(){this.__animScrollTo(!0===this.rtlPosCorrection?Number.MAX_SAFE_INTEGER:0)},__scrollToEnd(){this.__animScrollTo(!0===this.rtlPosCorrection?0:Number.MAX_SAFE_INTEGER)},__stopAnimScroll(){clearInterval(this.scrollTimer)},__onKbdNavigate(t,e){const n=Array.prototype.filter.call(this.$refs.content.children,(t=>t===e||t.matches&&!0===t.matches(".q-tab.q-focusable"))),i=n.length;if(0===i)return;if(36===t)return this.__scrollToTabEl(n[0]),n[0].focus(),!0;if(35===t)return this.__scrollToTabEl(n[i-1]),n[i-1].focus(),!0;const r=t===(!0===this.vertical?38:37),o=t===(!0===this.vertical?40:39),s=!0===r?-1:!0===o?1:void 0;if(void 0!==s){const t=!0===this.isRTL?-1:1,r=n.indexOf(e)+s*t;return r>=0&&r=t)&&(r=!0,o=t),i(e,o),this.__localUpdateArrows(),r},__updateActiveRoute(){let t=null,e=m();const n=this.tabVmList.filter((t=>!0===t.hasRouterLink)),i=n.length,{query:r}=this.$route,o=Object.keys(r).length;for(let s=0;se.matchedLen?(t=i.name,e=g):g.matchedLen===e.matchedLen&&(g.queryDiffe.hrefLen)&&(t=i.name,e=g)}null===t&&!0===this.tabVmList.some((t=>void 0===t.hasRouterLink&&t.name===this.currentModel))||this.__updateModel({name:t,setCurrent:!0})},__onFocusin(t){if(this.__removeFocusTimeout(),!0!==this.hasFocus&&this.$el&&t.target&&"function"===typeof t.target.closest){const e=t.target.closest(".q-tab");e&&!0===this.$el.contains(e)&&(this.hasFocus=!0,!0===this.scrollable&&this.__scrollToTabEl(e))}void 0!==this.qListeners.focusin&&this.$emit("focusin",t)},__onFocusout(t){this.__registerFocusTimeout((()=>{this.hasFocus=!1}),30),void 0!==this.qListeners.focusout&&this.$emit("focusout",t)},__verifyRouteModel(){!1===this.avoidRouteWatcher?this.__registerScrollToTabTimeout(this.__updateActiveRoute):this.__removeScrollToTabTimeout()},__watchRoute(){if(void 0===this.unwatchRoute){const t=this.$watch((()=>this.$route.fullPath),this.__verifyRouteModel);this.unwatchRoute=()=>{t(),this.unwatchRoute=void 0}}},__registerTab(t){this.tabVmList.push(t),this.tabNameList.push(d({},"name",(()=>t.name))),this.__recalculateScroll(),void 0===t.hasRouterLink||void 0===this.$route?this.__registerScrollToTabTimeout((()=>{if(!0===this.scrollable){const t=this.currentModel,e=void 0!==t&&null!==t&&""!==t?this.tabVmList.find((e=>e.name===t)):null;e&&this.__scrollToTabEl(e.$el)}})):(this.__watchRoute(),!0===t.hasRouterLink&&this.__verifyRouteModel())},__unregisterTab(t){const e=this.tabVmList.indexOf(t);this.tabVmList.splice(e,1),this.tabNameList.splice(e,1),this.__recalculateScroll(),void 0!==this.unwatchRoute&&void 0!==t.hasRouterLink&&(!0===this.tabVmList.every((t=>void 0===t.hasRouterLink))&&this.unwatchRoute(),this.__verifyRouteModel())},__cleanup(){clearTimeout(this.animateTimer),this.__stopAnimScroll(),void 0!==this.unwatchRoute&&this.unwatchRoute()}},created(){this.__useTick("__registerScrollTick"),this.__useTick("__registerUpdateArrowsTick"),this.__useTick("__registerAnimateTick"),this.__useTimeout("__registerFocusTimeout","__removeFocusTimeout"),this.__useTimeout("__registerScrollToTabTimeout","__removeScrollToTabTimeout"),Object.assign(this,{tabVmList:[],__localUpdateArrows:!0===this.arrowsEnabled?this.__updateArrowsFn:l["g"]})},activated(){!0===this.hadRouteWatcher&&this.__watchRoute(),this.__recalculateScroll()},deactivated(){this.hadRouteWatcher=void 0!==this.unwatchRoute,this.__cleanup()},beforeDestroy(){this.__cleanup()},render(t){const e=[t(o["a"],{on:Object(u["b"])(this,"resize",{resize:this.__updateContainer})}),t("div",{ref:"content",class:this.innerClass,on:!0===this.arrowsEnabled?Object(u["b"])(this,"scroll",{scroll:this.__updateArrowsFn}):void 0},Object(c["c"])(this,"default"))];return!0===this.arrowsEnabled&&e.push(t(r["a"],{class:"q-tabs__arrow q-tabs__arrow--start absolute q-tab__icon"+(!0===this.leftArrow?"":" q-tabs__arrow--faded"),props:{name:this.leftIcon||this.$q.iconSet.tabs[!0===this.vertical?"up":"left"]},on:Object(u["b"])(this,"onS",{"&mousedown":this.__scrollToStart,"&touchstart":this.__scrollToStart,"&mouseup":this.__stopAnimScroll,"&mouseleave":this.__stopAnimScroll,"&touchend":this.__stopAnimScroll})}),t(r["a"],{class:"q-tabs__arrow q-tabs__arrow--end absolute q-tab__icon"+(!0===this.rightArrow?"":" q-tabs__arrow--faded"),props:{name:this.rightIcon||this.$q.iconSet.tabs[!0===this.vertical?"down":"right"]},on:Object(u["b"])(this,"onE",{"&mousedown":this.__scrollToEnd,"&touchstart":this.__scrollToEnd,"&mouseup":this.__stopAnimScroll,"&mouseleave":this.__stopAnimScroll,"&touchend":this.__stopAnimScroll})})),t("div",{class:this.classes,on:this.onEvents,attrs:{role:"tablist"}},e)}})},"429b9":function(t,e,n){t.exports=n("faa1").EventEmitter},"42a2":function(t,e,n){var i=n("b5a7"),r=n("79bc"),o=n("1cec"),s=n("c869"),a=n("39ff"),l=n("3729"),c=n("dc57"),u="[object Map]",h="[object Object]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",_=c(i),g=c(r),v=c(o),y=c(s),b=c(a),w=l;(i&&w(new i(new ArrayBuffer(1)))!=m||r&&w(new r)!=u||o&&w(o.resolve())!=d||s&&w(new s)!=f||a&&w(new a)!=p)&&(w=function(t){var e=l(t),n=e==h?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case _:return m;case g:return u;case v:return d;case y:return f;case b:return p}return e}),t.exports=w},4359:function(t,e){function n(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n{n.add(s(t,e))})):t instanceof Map&&t.forEach(((t,i)=>{n.set(i,s(t,e))})),Object.assign(n,...Object.keys(t).map((n=>({[n]:s(t[n],e)}))))}var a=n("dc8a"),l=n("f09f"),c=n("a370"),u=n("4b7e"),h=n("eb85"),d=n("27f9"),f=n("0016"),p=n("b7fa"),m=n("ff7b"),_=n("f89c"),g=n("2b69"),v=n("d882"),y=n("e277"),b=n("d54d"),w=i["default"].extend({name:"QRadio",mixins:[p["a"],m["a"],_["b"],g["a"]],props:{value:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return this.value===this.val},classes(){return"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===this.disable?" disabled":"")+(!0===this.isDark?" q-radio--dark":"")+(!0===this.dense?" q-radio--dense":"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=void 0===this.color||!0!==this.keepColor&&!0!==this.isTrue?"":` text-${this.color}`;return`q-radio__inner--${!0===this.isTrue?"truthy":"falsy"}${t}`},computedIcon(){return!0===this.isTrue?this.checkedIcon:this.uncheckedIcon},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},formAttrs(){const t={type:"radio"};return void 0!==this.name&&Object.assign(t,{name:this.name,value:this.val}),t},formDomProps(){if(void 0!==this.name&&!0===this.isTrue)return{checked:!0}},attrs(){const t={tabindex:this.computedTabindex,role:"radio","aria-label":this.label,"aria-checked":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{set(t){void 0!==t&&(Object(v["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&!0!==this.isTrue&&this.$emit("input",this.val,t)}},render(t){const e=void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(f["a"],{staticClass:"q-radio__icon",props:{name:this.computedIcon}})])]:[t("svg",{key:"svg",staticClass:"q-radio__bg absolute non-selectable",attrs:{focusable:"false",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}}),t("path",{staticClass:"q-radio__check",attrs:{d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"}})])];!0!==this.disable&&this.__injectFormInput(e,"unshift","q-radio__native q-ma-none q-pa-none");const n=[t("div",{staticClass:"q-radio__inner relative-position",class:this.innerClass,style:this.sizeStyle,attrs:{"aria-hidden":"true"}},e)];void 0!==this.__refocusTargetEl&&n.push(this.__refocusTargetEl);const i=void 0!==this.label?Object(y["a"])([this.label],this,"default"):Object(y["c"])(this,"default");return void 0!==i&&n.push(t("div",{staticClass:"q-radio__label q-anchor--skip"},i)),t("div",{class:this.classes,attrs:this.attrs,on:Object(b["b"])(this,"inpExt",{click:this.set,keydown:t=>{13!==t.keyCode&&32!==t.keyCode||Object(v["l"])(t)},keyup:t=>{13!==t.keyCode&&32!==t.keyCode||this.set(t)}})},n)}}),M=n("8f8e"),k=n("9564"),L=n("87e8");const S={radio:w,checkbox:M["a"],toggle:k["a"]},x=Object.keys(S);var T=i["default"].extend({name:"QOptionGroup",mixins:[p["a"],L["a"]],props:{value:{required:!0},options:{type:Array,validator(t){return t.every((t=>"value"in t&&"label"in t))}},name:String,type:{default:"radio",validator:t=>x.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},computed:{component(){return S[this.type]},model(){return Array.isArray(this.value)?this.value.slice():this.value},classes(){return"q-option-group q-gutter-x-sm"+(!0===this.inline?" q-option-group--inline":"")},attrs(){if("radio"===this.type){const t={role:"radiogroup"};return!0===this.disable&&(t["aria-disabled"]="true"),t}return{role:"group"}}},methods:{__update(t){this.$emit("input",t)}},created(){const t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):!1===t&&console.error("q-option-group: model should be array in your case")},render(t){return t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},this.options.map(((e,n)=>{const i=void 0!==this.$scopedSlots["label-"+n]?this.$scopedSlots["label-"+n](e):void 0!==this.$scopedSlots.label?this.$scopedSlots.label(e):void 0;return t("div",[t(this.component,{props:{value:this.value,val:e.value,name:void 0===e.name?this.name:e.name,disable:this.disable||e.disable,label:void 0===i?e.label:void 0,leftLabel:void 0===e.leftLabel?this.leftLabel:e.leftLabel,color:void 0===e.color?this.color:e.color,checkedIcon:e.checkedIcon,uncheckedIcon:e.uncheckedIcon,dark:e.dark||this.isDark,size:void 0===e.size?this.size:e.size,dense:this.dense,keepColor:void 0===e.keepColor?this.keepColor:e.keepColor},on:Object(b["b"])(this,"inp",{input:this.__update})},i)])})))}}),C=n("0d59"),D=n("f376"),O=n("5ff7"),E=i["default"].extend({name:"DialogPlugin",mixins:[p["a"],D["b"]],inheritAttrs:!1,props:{title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},computed:{classes(){return"q-dialog-plugin"+(!0===this.isDark?" q-dialog-plugin--dark q-dark":"")+(!1!==this.progress?" q-dialog-plugin--progress":"")},spinner(){if(!1!==this.progress)return!0===Object(O["d"])(this.progress)?{component:this.progress.spinner||C["a"],props:{color:this.progress.color||this.vmColor}}:{component:C["a"],props:{color:this.vmColor}}},hasForm(){return void 0!==this.prompt||void 0!==this.options},okLabel(){return!0===Object(O["d"])(this.ok)||!0===this.ok?this.$q.lang.label.ok:this.ok},cancelLabel(){return!0===Object(O["d"])(this.cancel)||!0===this.cancel?this.$q.lang.label.cancel:this.cancel},vmColor(){return this.color||(!0===this.isDark?"amber":"primary")},okDisabled(){return void 0!==this.prompt?void 0!==this.prompt.isValid&&!0!==this.prompt.isValid(this.prompt.model):void 0!==this.options?void 0!==this.options.isValid&&!0!==this.options.isValid(this.options.model):void 0},okProps(){return{color:this.vmColor,label:this.okLabel,ripple:!1,disable:this.okDisabled,...!0===Object(O["d"])(this.ok)?this.ok:{flat:!0}}},cancelProps(){return{color:this.vmColor,label:this.cancelLabel,ripple:!1,...!0===Object(O["d"])(this.cancel)?this.cancel:{flat:!0}}}},methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},getPrompt(t){return[t(d["a"],{props:{value:this.prompt.model,type:this.prompt.type,label:this.prompt.label,stackLabel:this.prompt.stackLabel,outlined:this.prompt.outlined,filled:this.prompt.filled,standout:this.prompt.standout,rounded:this.prompt.rounded,square:this.prompt.square,counter:this.prompt.counter,maxlength:this.prompt.maxlength,prefix:this.prompt.prefix,suffix:this.prompt.suffix,color:this.vmColor,dense:!0,autofocus:!0,dark:this.isDark},attrs:this.prompt.attrs,on:Object(b["b"])(this,"prompt",{input:t=>{this.prompt.model=t},keyup:t=>{!0!==this.okDisabled&&"textarea"!==this.prompt.type&&!0===Object(a["a"])(t,13)&&this.onOk()}})})]},getOptions(t){return[t(T,{props:{value:this.options.model,type:this.options.type,color:this.vmColor,inline:this.options.inline,options:this.options.items,dark:this.isDark},on:Object(b["b"])(this,"opts",{input:t=>{this.options.model=t}})})]},getButtons(t){const e=[];if(this.cancel&&e.push(t(o["a"],{props:this.cancelProps,attrs:{"data-autofocus":"cancel"===this.focus&&!0!==this.hasForm},on:Object(b["b"])(this,"cancel",{click:this.onCancel})})),this.ok&&e.push(t(o["a"],{props:this.okProps,attrs:{"data-autofocus":"ok"===this.focus&&!0!==this.hasForm},on:Object(b["b"])(this,"ok",{click:this.onOk})})),e.length>0)return t(u["a"],{staticClass:!0===this.stackButtons?"items-end":null,props:{vertical:this.stackButtons,align:"right"}},e)},onOk(){this.$emit("ok",s(this.getData())),this.hide()},onCancel(){this.hide()},getData(){return void 0!==this.prompt?this.prompt.model:void 0!==this.options?this.options.model:void 0},getSection(t,e,n){return!0===this.html?t(c["a"],{staticClass:e,domProps:{innerHTML:n}}):t(c["a"],{staticClass:e},[n])}},render(t){const e=[];return this.title&&e.push(this.getSection(t,"q-dialog__title",this.title)),!1!==this.progress&&e.push(t(c["a"],{staticClass:"q-dialog__progress"},[t(this.spinner.component,{props:this.spinner.props})])),this.message&&e.push(this.getSection(t,"q-dialog__message",this.message)),void 0!==this.prompt?e.push(t(c["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getPrompt(t))):void 0!==this.options&&e.push(t(h["a"],{props:{dark:this.isDark}}),t(c["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getOptions(t)),t(h["a"],{props:{dark:this.isDark}})),(this.ok||this.cancel)&&e.push(this.getButtons(t)),t(r["a"],{ref:"dialog",props:{...this.qAttrs,value:this.value},on:Object(b["b"])(this,"hide",{hide:()=>{this.$emit("hide")}})},[t(l["a"],{staticClass:this.classes,style:this.cardStyle,class:this.cardClass,props:{dark:this.isDark}},e)])}}),P=n("0967");const Y={onOk:()=>Y,okCancel:()=>Y,hide:()=>Y,update:()=>Y};function A(t,e){for(const n in e)"spinner"!==n&&Object(e[n])===e[n]?(t[n]=Object(t[n])!==t[n]?{}:{...t[n]},A(t[n],e[n])):t[n]=e[n]}let j;function I(t,e){if(void 0!==t)return t;if(void 0!==e)return e;if(void 0===j){const t=document.getElementById("q-app");t&&t.__vue__&&(j=t.__vue__.$root)}return j}var R=function(t){return({className:e,class:n,style:r,component:o,root:s,parent:a,...l})=>{if(!0===P["e"])return Y;void 0!==n&&(l.cardClass=n),void 0!==r&&(l.cardStyle=r);const c=void 0!==o;let u,h;!0===c?u=o:(u=t,h=l);const d=[],f=[],p={onOk(t){return d.push(t),p},onCancel(t){return f.push(t),p},onDismiss(t){return d.push(t),f.push(t),p},hide(){return v.$refs.dialog.hide(),p},update({className:t,class:e,style:n,component:i,root:r,parent:o,...s}){return null!==v&&(void 0!==e&&(s.cardClass=e),void 0!==n&&(s.cardStyle=n),!0===c?Object.assign(l,s):(A(l,s),h={...l}),v.$forceUpdate()),p}},m=document.createElement("div");document.body.appendChild(m);let _=!1;const g={ok:t=>{_=!0,d.forEach((e=>{e(t)}))},hide:()=>{v.$destroy(),v.$el.remove(),v=null,!0!==_&&f.forEach((t=>{t()}))}};let v=new i["default"]({name:"QGlobalDialog",el:m,parent:I(a,s),render(t){return t(u,{ref:"dialog",props:l,attrs:h,on:g})},mounted(){void 0!==this.$refs.dialog?this.$refs.dialog.show():g["hook:mounted"]=()=>{void 0!==this.$refs.dialog&&this.$refs.dialog.show()}}});return p}};e["a"]={install({$q:t}){this.create=t.dialog=R(E)}}},"440c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e}))},4245:function(t,e,n){var i=n("1290");function r(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=r},42454:function(t,e,n){var i=n("f909"),r=n("2ec1"),o=r((function(t,e,n){i(t,e,n)}));t.exports=o},"429b":function(t,e,n){"use strict";n("14d9");var i=n("2b0e"),r=n("0016"),o=n("3980"),s=n("463c"),a=n("87e8"),l=n("d882"),c=n("e277"),u=n("d54d"),h=n("0831");function d(t,e,n,i){return Object.defineProperty(t,e,{get:n,set:i,enumerable:!0}),t}function f(t,e,n){const i=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===e?i[0]:i[1]}${t?` text-${t}`:""}`}const p=["left","center","right","justify"],m=()=>({matchedLen:0,queryDiff:9999,hrefLen:0,exact:!1,redirected:!0});function _(t,e){for(const n in t)if(t[n]!==e[n])return!1;return!0}e["a"]=i["default"].extend({name:"QTabs",mixins:[s["a"],a["a"]],provide(){return{$tabs:this}},props:{value:[Number,String],align:{type:String,default:"center",validator:t=>p.includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String},data(){return{scrollable:!1,leftArrow:!0,rightArrow:!1,justify:!1,tabNameList:[],currentModel:this.value,hasFocus:!1,avoidRouteWatcher:!1}},watch:{isRTL(){this.__localUpdateArrows()},value(t){this.__updateModel({name:t,setCurrent:!0,skipEmit:!0})},outsideArrows(){this.__recalculateScroll()},arrowsEnabled(t){this.__localUpdateArrows=!0===t?this.__updateArrowsFn:l["g"],this.__recalculateScroll()}},computed:{tabProps(){return{activeClass:this.activeClass,activeColor:this.activeColor,activeBgColor:this.activeBgColor,indicatorClass:f(this.indicatorColor,this.switchIndicator,this.vertical),narrowIndicator:this.narrowIndicator,inlineLabel:this.inlineLabel,noCaps:this.noCaps}},hasActiveTab(){return this.tabNameList.some((t=>t.name===this.currentModel))},arrowsEnabled(){return!0===this.$q.platform.is.desktop||!0===this.mobileArrows},alignClass(){const t=!0===this.scrollable?"left":!0===this.justify?"justify":this.align;return`q-tabs__content--align-${t}`},classes(){return`q-tabs row no-wrap items-center q-tabs--${!0===this.scrollable?"":"not-"}scrollable q-tabs--`+(!0===this.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===this.arrowsEnabled&&!0===this.outsideArrows?"outside":"inside")+(!0===this.dense?" q-tabs--dense":"")+(!0===this.shrink?" col-shrink":"")+(!0===this.stretch?" self-stretch":"")},innerClass(){return"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position "+this.alignClass+(void 0!==this.contentClass?` ${this.contentClass}`:"")+(!0===this.$q.platform.is.mobile?" scroll":"")},domProps(){return!0===this.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}},isRTL(){return!0!==this.vertical&&!0===this.$q.lang.rtl},rtlPosCorrection(){return!1===Object(h["g"])()&&!0===this.isRTL},posFn(){return!0===this.rtlPosCorrection?{get:t=>Math.abs(t.scrollLeft),set:(t,e)=>{t.scrollLeft=-e}}:!0===this.vertical?{get:t=>t.scrollTop,set:(t,e)=>{t.scrollTop=e}}:{get:t=>t.scrollLeft,set:(t,e)=>{t.scrollLeft=e}}},onEvents(){return{input:l["k"],...this.qListeners,focusin:this.__onFocusin,focusout:this.__onFocusout}}},methods:{__updateModel({name:t,setCurrent:e,skipEmit:n}){this.currentModel!==t&&(!0!==n&&void 0!==this.qListeners.input&&this.$emit("input",t),!0!==e&&void 0!==this.qListeners.input||(this.__animate(this.currentModel,t),this.currentModel=t))},__recalculateScroll(){this.__registerScrollTick((()=>{this.__updateContainer({width:this.$el.offsetWidth,height:this.$el.offsetHeight})}))},__updateContainer(t){if(void 0===this.domProps||!this.$refs.content)return;const e=t[this.domProps.container],n=Math.min(this.$refs.content[this.domProps.scroll],Array.prototype.reduce.call(this.$refs.content.children,((t,e)=>t+(e[this.domProps.content]||0)),0)),i=e>0&&n>e;this.scrollable!==i&&(this.scrollable=i),!0===i&&this.__registerUpdateArrowsTick(this.__localUpdateArrows);const r=ee.name===t)):null,i=void 0!==e&&null!==e&&""!==e?this.tabVmList.find((t=>t.name===e)):null;if(n&&i){const t=n.$refs.tabIndicator,e=i.$refs.tabIndicator;clearTimeout(this.animateTimer),t.style.transition="none",t.style.transform="none",e.style.transition="none",e.style.transform="none";const r=t.getBoundingClientRect(),o=e.getBoundingClientRect();e.style.transform=!0===this.vertical?`translate3d(0,${r.top-o.top}px,0) scale3d(1,${o.height?r.height/o.height:1},1)`:`translate3d(${r.left-o.left}px,0,0) scale3d(${o.width?r.width/o.width:1},1,1)`,this.__registerAnimateTick((()=>{this.animateTimer=setTimeout((()=>{e.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",e.style.transform="none"}),70)}))}i&&!0===this.scrollable&&this.__scrollToTabEl(i.$el)},__scrollToTabEl(t){const e=this.$refs.content,{left:n,width:i,top:r,height:o}=e.getBoundingClientRect(),s=t.getBoundingClientRect();let a=!0===this.vertical?s.top-r:s.left-n;if(a<0)return e[!0===this.vertical?"scrollTop":"scrollLeft"]+=Math.floor(a),void this.__localUpdateArrows();a+=!0===this.vertical?s.height-o:s.width-i,a>0&&(e[!0===this.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(a),this.__localUpdateArrows())},__updateArrowsFn(){const t=this.$refs.content;if(null!==t){const e=t.getBoundingClientRect(),n=!0===this.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===this.isRTL?(this.leftArrow=Math.ceil(n+e.width)0):(this.leftArrow=n>0,this.rightArrow=!0===this.vertical?Math.ceil(n+e.height){!0===this.__scrollTowards(t)&&this.__stopAnimScroll()}),5)},__scrollToStart(){this.__animScrollTo(!0===this.rtlPosCorrection?Number.MAX_SAFE_INTEGER:0)},__scrollToEnd(){this.__animScrollTo(!0===this.rtlPosCorrection?0:Number.MAX_SAFE_INTEGER)},__stopAnimScroll(){clearInterval(this.scrollTimer)},__onKbdNavigate(t,e){const n=Array.prototype.filter.call(this.$refs.content.children,(t=>t===e||t.matches&&!0===t.matches(".q-tab.q-focusable"))),i=n.length;if(0===i)return;if(36===t)return this.__scrollToTabEl(n[0]),n[0].focus(),!0;if(35===t)return this.__scrollToTabEl(n[i-1]),n[i-1].focus(),!0;const r=t===(!0===this.vertical?38:37),o=t===(!0===this.vertical?40:39),s=!0===r?-1:!0===o?1:void 0;if(void 0!==s){const t=!0===this.isRTL?-1:1,r=n.indexOf(e)+s*t;return r>=0&&r=t)&&(r=!0,o=t),i(e,o),this.__localUpdateArrows(),r},__updateActiveRoute(){let t=null,e=m();const n=this.tabVmList.filter((t=>!0===t.hasRouterLink)),i=n.length,{query:r}=this.$route,o=Object.keys(r).length;for(let s=0;se.matchedLen?(t=i.name,e=g):g.matchedLen===e.matchedLen&&(g.queryDiffe.hrefLen)&&(t=i.name,e=g)}null===t&&!0===this.tabVmList.some((t=>void 0===t.hasRouterLink&&t.name===this.currentModel))||this.__updateModel({name:t,setCurrent:!0})},__onFocusin(t){if(this.__removeFocusTimeout(),!0!==this.hasFocus&&this.$el&&t.target&&"function"===typeof t.target.closest){const e=t.target.closest(".q-tab");e&&!0===this.$el.contains(e)&&(this.hasFocus=!0,!0===this.scrollable&&this.__scrollToTabEl(e))}void 0!==this.qListeners.focusin&&this.$emit("focusin",t)},__onFocusout(t){this.__registerFocusTimeout((()=>{this.hasFocus=!1}),30),void 0!==this.qListeners.focusout&&this.$emit("focusout",t)},__verifyRouteModel(){!1===this.avoidRouteWatcher?this.__registerScrollToTabTimeout(this.__updateActiveRoute):this.__removeScrollToTabTimeout()},__watchRoute(){if(void 0===this.unwatchRoute){const t=this.$watch((()=>this.$route.fullPath),this.__verifyRouteModel);this.unwatchRoute=()=>{t(),this.unwatchRoute=void 0}}},__registerTab(t){this.tabVmList.push(t),this.tabNameList.push(d({},"name",(()=>t.name))),this.__recalculateScroll(),void 0===t.hasRouterLink||void 0===this.$route?this.__registerScrollToTabTimeout((()=>{if(!0===this.scrollable){const t=this.currentModel,e=void 0!==t&&null!==t&&""!==t?this.tabVmList.find((e=>e.name===t)):null;e&&this.__scrollToTabEl(e.$el)}})):(this.__watchRoute(),!0===t.hasRouterLink&&this.__verifyRouteModel())},__unregisterTab(t){const e=this.tabVmList.indexOf(t);this.tabVmList.splice(e,1),this.tabNameList.splice(e,1),this.__recalculateScroll(),void 0!==this.unwatchRoute&&void 0!==t.hasRouterLink&&(!0===this.tabVmList.every((t=>void 0===t.hasRouterLink))&&this.unwatchRoute(),this.__verifyRouteModel())},__cleanup(){clearTimeout(this.animateTimer),this.__stopAnimScroll(),void 0!==this.unwatchRoute&&this.unwatchRoute()}},created(){this.__useTick("__registerScrollTick"),this.__useTick("__registerUpdateArrowsTick"),this.__useTick("__registerAnimateTick"),this.__useTimeout("__registerFocusTimeout","__removeFocusTimeout"),this.__useTimeout("__registerScrollToTabTimeout","__removeScrollToTabTimeout"),Object.assign(this,{tabVmList:[],__localUpdateArrows:!0===this.arrowsEnabled?this.__updateArrowsFn:l["g"]})},activated(){!0===this.hadRouteWatcher&&this.__watchRoute(),this.__recalculateScroll()},deactivated(){this.hadRouteWatcher=void 0!==this.unwatchRoute,this.__cleanup()},beforeDestroy(){this.__cleanup()},render(t){const e=[t(o["a"],{on:Object(u["b"])(this,"resize",{resize:this.__updateContainer})}),t("div",{ref:"content",class:this.innerClass,on:!0===this.arrowsEnabled?Object(u["b"])(this,"scroll",{scroll:this.__updateArrowsFn}):void 0},Object(c["c"])(this,"default"))];return!0===this.arrowsEnabled&&e.push(t(r["a"],{class:"q-tabs__arrow q-tabs__arrow--start absolute q-tab__icon"+(!0===this.leftArrow?"":" q-tabs__arrow--faded"),props:{name:this.leftIcon||this.$q.iconSet.tabs[!0===this.vertical?"up":"left"]},on:Object(u["b"])(this,"onS",{"&mousedown":this.__scrollToStart,"&touchstart":this.__scrollToStart,"&mouseup":this.__stopAnimScroll,"&mouseleave":this.__stopAnimScroll,"&touchend":this.__stopAnimScroll})}),t(r["a"],{class:"q-tabs__arrow q-tabs__arrow--end absolute q-tab__icon"+(!0===this.rightArrow?"":" q-tabs__arrow--faded"),props:{name:this.rightIcon||this.$q.iconSet.tabs[!0===this.vertical?"down":"right"]},on:Object(u["b"])(this,"onE",{"&mousedown":this.__scrollToEnd,"&touchstart":this.__scrollToEnd,"&mouseup":this.__stopAnimScroll,"&mouseleave":this.__stopAnimScroll,"&touchend":this.__stopAnimScroll})})),t("div",{class:this.classes,on:this.onEvents,attrs:{role:"tablist"}},e)}})},"429b9":function(t,e,n){t.exports=n("faa1").EventEmitter},"42a2":function(t,e,n){var i=n("b5a7"),r=n("79bc"),o=n("1cec"),s=n("c869"),a=n("39ff"),l=n("3729"),c=n("dc57"),u="[object Map]",h="[object Object]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",_=c(i),g=c(r),v=c(o),y=c(s),b=c(a),w=l;(i&&w(new i(new ArrayBuffer(1)))!=m||r&&w(new r)!=u||o&&w(o.resolve())!=d||s&&w(new s)!=f||a&&w(new a)!=p)&&(w=function(t){var e=l(t),n=e==h?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case _:return m;case g:return u;case v:return d;case y:return f;case b:return p}return e}),t.exports=w},4359:function(t,e){function n(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n{n.add(s(t,e))})):t instanceof Map&&t.forEach(((t,i)=>{n.set(i,s(t,e))})),Object.assign(n,...Object.keys(t).map((n=>({[n]:s(t[n],e)}))))}var a=n("dc8a"),l=n("f09f"),c=n("a370"),u=n("4b7e"),h=n("eb85"),d=n("27f9"),f=n("0016"),p=n("b7fa"),m=n("ff7b"),_=n("f89c"),g=n("2b69"),v=n("d882"),y=n("e277"),b=n("d54d"),w=i["default"].extend({name:"QRadio",mixins:[p["a"],m["a"],_["b"],g["a"]],props:{value:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return this.value===this.val},classes(){return"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===this.disable?" disabled":"")+(!0===this.isDark?" q-radio--dark":"")+(!0===this.dense?" q-radio--dense":"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=void 0===this.color||!0!==this.keepColor&&!0!==this.isTrue?"":` text-${this.color}`;return`q-radio__inner--${!0===this.isTrue?"truthy":"falsy"}${t}`},computedIcon(){return!0===this.isTrue?this.checkedIcon:this.uncheckedIcon},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},formAttrs(){const t={type:"radio"};return void 0!==this.name&&Object.assign(t,{name:this.name,value:this.val}),t},formDomProps(){if(void 0!==this.name&&!0===this.isTrue)return{checked:!0}},attrs(){const t={tabindex:this.computedTabindex,role:"radio","aria-label":this.label,"aria-checked":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{set(t){void 0!==t&&(Object(v["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&!0!==this.isTrue&&this.$emit("input",this.val,t)}},render(t){const e=void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(f["a"],{staticClass:"q-radio__icon",props:{name:this.computedIcon}})])]:[t("svg",{key:"svg",staticClass:"q-radio__bg absolute non-selectable",attrs:{focusable:"false",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}}),t("path",{staticClass:"q-radio__check",attrs:{d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"}})])];!0!==this.disable&&this.__injectFormInput(e,"unshift","q-radio__native q-ma-none q-pa-none");const n=[t("div",{staticClass:"q-radio__inner relative-position",class:this.innerClass,style:this.sizeStyle,attrs:{"aria-hidden":"true"}},e)];void 0!==this.__refocusTargetEl&&n.push(this.__refocusTargetEl);const i=void 0!==this.label?Object(y["a"])([this.label],this,"default"):Object(y["c"])(this,"default");return void 0!==i&&n.push(t("div",{staticClass:"q-radio__label q-anchor--skip"},i)),t("div",{class:this.classes,attrs:this.attrs,on:Object(b["b"])(this,"inpExt",{click:this.set,keydown:t=>{13!==t.keyCode&&32!==t.keyCode||Object(v["l"])(t)},keyup:t=>{13!==t.keyCode&&32!==t.keyCode||this.set(t)}})},n)}}),M=n("8f8e"),k=n("9564"),L=n("87e8");const S={radio:w,checkbox:M["a"],toggle:k["a"]},x=Object.keys(S);var T=i["default"].extend({name:"QOptionGroup",mixins:[p["a"],L["a"]],props:{value:{required:!0},options:{type:Array,validator(t){return t.every((t=>"value"in t&&"label"in t))}},name:String,type:{default:"radio",validator:t=>x.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},computed:{component(){return S[this.type]},model(){return Array.isArray(this.value)?this.value.slice():this.value},classes(){return"q-option-group q-gutter-x-sm"+(!0===this.inline?" q-option-group--inline":"")},attrs(){if("radio"===this.type){const t={role:"radiogroup"};return!0===this.disable&&(t["aria-disabled"]="true"),t}return{role:"group"}}},methods:{__update(t){this.$emit("input",t)}},created(){const t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):!1===t&&console.error("q-option-group: model should be array in your case")},render(t){return t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},this.options.map(((e,n)=>{const i=void 0!==this.$scopedSlots["label-"+n]?this.$scopedSlots["label-"+n](e):void 0!==this.$scopedSlots.label?this.$scopedSlots.label(e):void 0;return t("div",[t(this.component,{props:{value:this.value,val:e.value,name:void 0===e.name?this.name:e.name,disable:this.disable||e.disable,label:void 0===i?e.label:void 0,leftLabel:void 0===e.leftLabel?this.leftLabel:e.leftLabel,color:void 0===e.color?this.color:e.color,checkedIcon:e.checkedIcon,uncheckedIcon:e.uncheckedIcon,dark:e.dark||this.isDark,size:void 0===e.size?this.size:e.size,dense:this.dense,keepColor:void 0===e.keepColor?this.keepColor:e.keepColor},on:Object(b["b"])(this,"inp",{input:this.__update})},i)])})))}}),C=n("0d59"),D=n("f376"),O=n("5ff7"),E=i["default"].extend({name:"DialogPlugin",mixins:[p["a"],D["b"]],inheritAttrs:!1,props:{title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},computed:{classes(){return"q-dialog-plugin"+(!0===this.isDark?" q-dialog-plugin--dark q-dark":"")+(!1!==this.progress?" q-dialog-plugin--progress":"")},spinner(){if(!1!==this.progress)return!0===Object(O["d"])(this.progress)?{component:this.progress.spinner||C["a"],props:{color:this.progress.color||this.vmColor}}:{component:C["a"],props:{color:this.vmColor}}},hasForm(){return void 0!==this.prompt||void 0!==this.options},okLabel(){return!0===Object(O["d"])(this.ok)||!0===this.ok?this.$q.lang.label.ok:this.ok},cancelLabel(){return!0===Object(O["d"])(this.cancel)||!0===this.cancel?this.$q.lang.label.cancel:this.cancel},vmColor(){return this.color||(!0===this.isDark?"amber":"primary")},okDisabled(){return void 0!==this.prompt?void 0!==this.prompt.isValid&&!0!==this.prompt.isValid(this.prompt.model):void 0!==this.options?void 0!==this.options.isValid&&!0!==this.options.isValid(this.options.model):void 0},okProps(){return{color:this.vmColor,label:this.okLabel,ripple:!1,disable:this.okDisabled,...!0===Object(O["d"])(this.ok)?this.ok:{flat:!0}}},cancelProps(){return{color:this.vmColor,label:this.cancelLabel,ripple:!1,...!0===Object(O["d"])(this.cancel)?this.cancel:{flat:!0}}}},methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},getPrompt(t){return[t(d["a"],{props:{value:this.prompt.model,type:this.prompt.type,label:this.prompt.label,stackLabel:this.prompt.stackLabel,outlined:this.prompt.outlined,filled:this.prompt.filled,standout:this.prompt.standout,rounded:this.prompt.rounded,square:this.prompt.square,counter:this.prompt.counter,maxlength:this.prompt.maxlength,prefix:this.prompt.prefix,suffix:this.prompt.suffix,color:this.vmColor,dense:!0,autofocus:!0,dark:this.isDark},attrs:this.prompt.attrs,on:Object(b["b"])(this,"prompt",{input:t=>{this.prompt.model=t},keyup:t=>{!0!==this.okDisabled&&"textarea"!==this.prompt.type&&!0===Object(a["a"])(t,13)&&this.onOk()}})})]},getOptions(t){return[t(T,{props:{value:this.options.model,type:this.options.type,color:this.vmColor,inline:this.options.inline,options:this.options.items,dark:this.isDark},on:Object(b["b"])(this,"opts",{input:t=>{this.options.model=t}})})]},getButtons(t){const e=[];if(this.cancel&&e.push(t(o["a"],{props:this.cancelProps,attrs:{"data-autofocus":"cancel"===this.focus&&!0!==this.hasForm},on:Object(b["b"])(this,"cancel",{click:this.onCancel})})),this.ok&&e.push(t(o["a"],{props:this.okProps,attrs:{"data-autofocus":"ok"===this.focus&&!0!==this.hasForm},on:Object(b["b"])(this,"ok",{click:this.onOk})})),e.length>0)return t(u["a"],{staticClass:!0===this.stackButtons?"items-end":null,props:{vertical:this.stackButtons,align:"right"}},e)},onOk(){this.$emit("ok",s(this.getData())),this.hide()},onCancel(){this.hide()},getData(){return void 0!==this.prompt?this.prompt.model:void 0!==this.options?this.options.model:void 0},getSection(t,e,n){return!0===this.html?t(c["a"],{staticClass:e,domProps:{innerHTML:n}}):t(c["a"],{staticClass:e},[n])}},render(t){const e=[];return this.title&&e.push(this.getSection(t,"q-dialog__title",this.title)),!1!==this.progress&&e.push(t(c["a"],{staticClass:"q-dialog__progress"},[t(this.spinner.component,{props:this.spinner.props})])),this.message&&e.push(this.getSection(t,"q-dialog__message",this.message)),void 0!==this.prompt?e.push(t(c["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getPrompt(t))):void 0!==this.options&&e.push(t(h["a"],{props:{dark:this.isDark}}),t(c["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getOptions(t)),t(h["a"],{props:{dark:this.isDark}})),(this.ok||this.cancel)&&e.push(this.getButtons(t)),t(r["a"],{ref:"dialog",props:{...this.qAttrs,value:this.value},on:Object(b["b"])(this,"hide",{hide:()=>{this.$emit("hide")}})},[t(l["a"],{staticClass:this.classes,style:this.cardStyle,class:this.cardClass,props:{dark:this.isDark}},e)])}}),P=n("0967");const Y={onOk:()=>Y,okCancel:()=>Y,hide:()=>Y,update:()=>Y};function j(t,e){for(const n in e)"spinner"!==n&&Object(e[n])===e[n]?(t[n]=Object(t[n])!==t[n]?{}:{...t[n]},j(t[n],e[n])):t[n]=e[n]}let A;function I(t,e){if(void 0!==t)return t;if(void 0!==e)return e;if(void 0===A){const t=document.getElementById("q-app");t&&t.__vue__&&(A=t.__vue__.$root)}return A}var R=function(t){return({className:e,class:n,style:r,component:o,root:s,parent:a,...l})=>{if(!0===P["e"])return Y;void 0!==n&&(l.cardClass=n),void 0!==r&&(l.cardStyle=r);const c=void 0!==o;let u,h;!0===c?u=o:(u=t,h=l);const d=[],f=[],p={onOk(t){return d.push(t),p},onCancel(t){return f.push(t),p},onDismiss(t){return d.push(t),f.push(t),p},hide(){return v.$refs.dialog.hide(),p},update({className:t,class:e,style:n,component:i,root:r,parent:o,...s}){return null!==v&&(void 0!==e&&(s.cardClass=e),void 0!==n&&(s.cardStyle=n),!0===c?Object.assign(l,s):(j(l,s),h={...l}),v.$forceUpdate()),p}},m=document.createElement("div");document.body.appendChild(m);let _=!1;const g={ok:t=>{_=!0,d.forEach((e=>{e(t)}))},hide:()=>{v.$destroy(),v.$el.remove(),v=null,!0!==_&&f.forEach((t=>{t()}))}};let v=new i["default"]({name:"QGlobalDialog",el:m,parent:I(a,s),render(t){return t(u,{ref:"dialog",props:l,attrs:h,on:g})},mounted(){void 0!==this.$refs.dialog?this.$refs.dialog.show():g["hook:mounted"]=()=>{void 0!==this.$refs.dialog&&this.$refs.dialog.show()}}});return p}};e["a"]={install({$q:t}){this.create=t.dialog=R(E)}}},"440c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"a "+t:"an "+t}function i(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"viru "+t:"virun "+t}function r(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,n=t/10;return r(0===e?n:e)}if(t<1e4){while(t>=10)t/=10;return r(t)}return t/=1e3,r(t)}var o=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"44ad":function(t,e,n){"use strict";var i=n("e330"),r=n("d039"),o=n("c6b6"),s=Object,a=i("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?a(t,""):s(t)}:s},"44d2":function(t,e,n){"use strict";var i=n("b622"),r=n("7c73"),o=n("9bf2").f,s=i("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},4625:function(t,e,n){"use strict";var i=n("c6b6"),r=n("e330");t.exports=function(t){if("Function"===i(t))return r(t)}},"463c":function(t,e,n){"use strict";n("14d9");e["a"]={created(){this.__tickFnList=[],this.__timeoutFnList=[]},deactivated(){this.__tickFnList.forEach((t=>{t.removeTick()})),this.__timeoutFnList.forEach((t=>{t.removeTimeout()}))},beforeDestroy(){this.__tickFnList.forEach((t=>{t.removeTick()})),this.__tickFnList=void 0,this.__timeoutFnList.forEach((t=>{t.removeTimeout()})),this.__timeoutFnList=void 0},methods:{__useTick(t,e){const n={removeTick(){n.fn=void 0},registerTick:t=>{n.fn=t,this.$nextTick((()=>{n.fn===t&&(!1===this._isDestroyed&&n.fn(),n.fn=void 0)}))}};this.__tickFnList.push(n),this[t]=n.registerTick,void 0!==e&&(this[e]=n.removeTick)},__useTimeout(t,e){const n={removeTimeout(){clearTimeout(n.timer)},registerTimeout:(t,e)=>{clearTimeout(n.timer),!1===this._isDestroyed&&(n.timer=setTimeout(t,e))}};this.__timeoutFnList.push(n),this[t]=n.registerTimeout,void 0!==e&&(this[e]=n.removeTimeout)}}}},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},4681:function(t,e,n){"use strict";(function(e){function n(t,n){var o=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return a||l?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!n&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(r,o):(o._writableState.errorEmitted=!0,e.nextTick(i,o,t)):e.nextTick(i,o,t):n?(e.nextTick(r,o),n(t)):e.nextTick(r,o)})),this)}function i(t,e){s(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(t,e){t.emit("error",e)}function a(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}t.exports={destroy:n,undestroy:o,errorOrDestroy:a}}).call(this,n("4362"))},4754:function(t,e,n){"use strict";t.exports=function(t,e){return{value:t,done:e}}},"485a":function(t,e,n){"use strict";var i=n("c65b"),r=n("1626"),o=n("861d"),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&r(n=t.toString)&&!o(a=i(n,t)))return a;if(r(n=t.valueOf)&&!o(a=i(n,t)))return a;if("string"!==e&&r(n=t.toString)&&!o(a=i(n,t)))return a;throw new s("Can't convert object to primitive value")}},"485c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; +function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"a "+t:"an "+t}function i(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"viru "+t:"virun "+t}function r(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,n=t/10;return r(0===e?n:e)}if(t<1e4){while(t>=10)t/=10;return r(t)}return t/=1e3,r(t)}var o=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"44ad":function(t,e,n){"use strict";var i=n("e330"),r=n("d039"),o=n("c6b6"),s=Object,a=i("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?a(t,""):s(t)}:s},"463c":function(t,e,n){"use strict";n("14d9");e["a"]={created(){this.__tickFnList=[],this.__timeoutFnList=[]},deactivated(){this.__tickFnList.forEach((t=>{t.removeTick()})),this.__timeoutFnList.forEach((t=>{t.removeTimeout()}))},beforeDestroy(){this.__tickFnList.forEach((t=>{t.removeTick()})),this.__tickFnList=void 0,this.__timeoutFnList.forEach((t=>{t.removeTimeout()})),this.__timeoutFnList=void 0},methods:{__useTick(t,e){const n={removeTick(){n.fn=void 0},registerTick:t=>{n.fn=t,this.$nextTick((()=>{n.fn===t&&(!1===this._isDestroyed&&n.fn(),n.fn=void 0)}))}};this.__tickFnList.push(n),this[t]=n.registerTick,void 0!==e&&(this[e]=n.removeTick)},__useTimeout(t,e){const n={removeTimeout(){clearTimeout(n.timer)},registerTimeout:(t,e)=>{clearTimeout(n.timer),!1===this._isDestroyed&&(n.timer=setTimeout(t,e))}};this.__timeoutFnList.push(n),this[t]=n.registerTimeout,void 0!==e&&(this[e]=n.removeTimeout)}}}},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},4681:function(t,e,n){"use strict";(function(e){function n(t,n){var o=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return a||l?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!n&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(r,o):(o._writableState.errorEmitted=!0,e.nextTick(i,o,t)):e.nextTick(i,o,t):n?(e.nextTick(r,o),n(t)):e.nextTick(r,o)})),this)}function i(t,e){s(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(t,e){t.emit("error",e)}function a(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}t.exports={destroy:n,undestroy:o,errorOrDestroy:a}}).call(this,n("4362"))},"485a":function(t,e,n){"use strict";var i=n("c65b"),r=n("1626"),o=n("861d"),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&r(n=t.toString)&&!o(a=i(n,t)))return a;if(r(n=t.valueOf)&&!o(a=i(n,t)))return a;if("string"!==e&&r(n=t.toString)&&!o(a=i(n,t)))return a;throw new s("Can't convert object to primitive value")}},"485c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10,i=t%100-n,r=t>=100?100:null;return t+(e[n]||e[i]||e[r])},week:{dow:1,doy:7}});return n}))},"49ab":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -115,11 +115,11 @@ var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil"," //! moment.js locale configuration var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],i=t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return i}))},"52bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},5319:function(t,e,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),s=n("d784"),a=n("d039"),l=n("825a"),c=n("1626"),u=n("7234"),h=n("5926"),d=n("50c4"),f=n("577e"),p=n("1d80"),m=n("8aa5"),_=n("dc4a"),g=n("0cb2"),v=n("14c3"),y=n("b622"),b=y("replace"),w=Math.max,M=Math.min,k=o([].concat),L=o([].push),S=o("".indexOf),x=o("".slice),T=function(t){return void 0===t?t:String(t)},C=function(){return"$0"==="a".replace(/./,"$0")}(),D=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),O=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}));s("replace",(function(t,e,n){var o=D?"$":"$0";return[function(t,n){var i=p(this),o=u(t)?void 0:_(t,b);return o?r(o,t,i,n):r(e,f(i),t,n)},function(t,r){var s=l(this),a=f(t);if("string"==typeof r&&-1===S(r,o)&&-1===S(r,"$<")){var u=n(e,s,a,r);if(u.done)return u.value}var p=c(r);p||(r=f(r));var _,y=s.global;y&&(_=s.unicode,s.lastIndex=0);var b,C=[];while(1){if(b=v(s,a),null===b)break;if(L(C,b),!y)break;var D=f(b[0]);""===D&&(s.lastIndex=m(a,d(s.lastIndex),_))}for(var O="",E=0,P=0;P=E&&(O+=x(a,E,j)+Y,E=j+A.length)}return O+x(a,E)}]}),!O||!C||D)},"53a8":function(t,e){t.exports=i;var n=Object.prototype.hasOwnProperty;function i(){for(var t={},e=0;e-1?r(n):n}},"54eb":function(t,e,n){var i=n("8eeb"),r=n("32f4");function o(t,e){return i(t,r(t),e)}t.exports=o},"553c":function(t,e,n){!function(e,i){t.exports=i(n("bc3a"),n("42454"),n("e7fc"),n("98dc"),n("5a30"))}(self,(function(t,e,n,i,r){return(()=>{var o={5365:t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n{var i=n(5365);t.exports=function(t){if(Array.isArray(t))return i(t)},t.exports.default=t.exports,t.exports.__esModule=!0},1504:t=>{function e(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var n=this,i=arguments;return new Promise((function(r,o){var s=t.apply(n,i);function a(t){e(s,r,o,a,l,"next",t)}function l(t){e(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},9372:t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},5816:t=>{function e(t,e){for(var n=0;n{var i=n(4595);t.exports=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=i(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,s=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw s}}}},t.exports.default=t.exports,t.exports.__esModule=!0},5526:t=>{t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},8850:t=>{t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},5929:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},3982:(t,e,n)=>{var i=n(5526);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}t.exports=function(t){for(var e=1;e{var i=n(9090),r=n(8850),o=n(4595),s=n(5929);t.exports=function(t){return i(t)||r(t)||o(t)||s()},t.exports.default=t.exports,t.exports.__esModule=!0},4595:(t,e,n)=>{var i=n(5365);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},9065:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>$}),n(3023),n(5374),n(5849);var i=n(9372),r=n.n(i),o=n(5816),s=n.n(o),a=(n(7471),n(8410),n(2077),n(2482),n(2376)),l=n.n(a),c=n(5893),u=n.n(c),h=function(t){var e="";return t.server&&(e=t.server),t.port&&(e+=":".concat(t.port)),e},d=function(){function t(e){r()(this,t);var n=u()({},{baseURL:h(e),headers:{Authorization:e.token}},e);e.flespiApp&&(n.headers["x-flespi-app"]=e.flespiApp),this.config=n}return s()(t,[{key:"update",value:function(t,e){switch(t){case"token":this.config.token=e,this.config.headers.Authorization=e;break;case"config":this.config.token!==e.token&&(this.config.headers.Authorization=e.token),this.config.flespiApp!==e.flespiApp&&(e.flespiApp?this.config.headers["x-flespi-app"]=e.flespiApp:delete this.config.headers["x-flespi-app"]);var n=u()({},this.config,e);n.baseURL=h(n),this.config=n}}},{key:"request",value:function(t){return l()(u()({},this.config,t))}},{key:"get",value:function(t,e){return l()(u()({},this.config,e,{url:t,method:"get"}))}},{key:"delete",value:function(t,e){return l()(u()({},this.config,e,{url:t,method:"delete"}))}},{key:"post",value:function(t,e,n){return l()(u()({},this.config,n,{url:t,method:"post",data:e}))}},{key:"put",value:function(t,e,n){return l()(u()({},this.config,n,{url:t,method:"put",data:e}))}}]),t}();d.prototype.external=l();const f=d;var p=n(1504),m=n.n(p),_=(n(6248),n(3512),n(205),n(3238),n(895),n(8010),n(2571),n(3352),n(8217),n(3902),n(5163),n(5623),n(1514),n(1418),n(3938),n(7924)),g=n.n(_),v=function(){function t(e){r()(this,t),this._client=e}return s()(t,[{key:"handleMessage",get:function(){return this._client.handleMessage},set:function(t){this._client.handleMessage=t}},{key:"connected",get:function(){return this._client.connected}},{key:"reconnecting",get:function(){return this._client.reconnecting}},{key:"publish",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;ithis._timestampsByTopic[t][i].timestamp&&(e(n,i,r),this._timestampsByTopic[t][i]={timestamp:o})}}},{key:"_createClient",value:(h=m()(regeneratorRuntime.mark((function t(){var e,n,i,r,o,s=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._client){t.next=3;break}return t.next=3,this._client.end(!0);case 3:if(this._config.token&&this._config.server){t.next=5;break}return t.abrupt("return",!1);case 5:e=this._config.server,this._config.port&&(e+=":".concat(this._config.port)),n={reschedulePings:!0,keepalive:60,reconnectPeriod:5e3,connectTimeout:3e4,resubscribe:!0},(i=Object.assign(n,this._config.mqttSettings)).username=this._config.token,i.clientId=this._config.clientId||"flespi-io-js_".concat(Math.random().toString(16).substr(2,8)),this._client=(a=e,l=i,c=void 0,c=g().connect(a,l),new v(c)),this._client.on("connect",(function(t){t.sessionPresent||i.resubscribe||(s._topics={}),s._currentClientVersion=s._config.mqttSettings&&s._config.mqttSettings.protocolVersion?s._config.mqttSettings.protocolVersion:4,s._events.connect&&s._events.connect.forEach((function(e){"function"==typeof e&&e(t)}))})),this._client.on("error",(function(t){2===t.code&&s.close(!0),s._events.error&&s._events.error.forEach((function(e){"function"==typeof e&&e(t)}))})),this._client.on("close",(function(){s._config.mqttSettings&&(!s._config.mqttSettings||void 0!==s._config.mqttSettings.clean&&!0!==s._config.mqttSettings.clean)||(s._timestampsByTopic={}),s._events.close&&s._events.close.forEach((function(t){"function"==typeof t&&t()}))})),this._client.on("disconnect",(function(t){s._events.disconnect&&s._events.disconnect.forEach((function(e){"function"==typeof e&&e(t)}))})),r=function(t,e,n){var i=t.split("/");Object.keys(s._topics).filter((function(t){var e=s._topics[t].name.split("/");return"$share"===e[0]&&e.splice(0,2),(e.length===i.length||"#"===e[e.length-1])&&e.reduce((function(t,e,n){return"#"===e||"+"===e?t&&!0:t&&e===i[n]}),!0)})).forEach((function(i){try{s._topics[i].handler(e,t,n)}catch(t){console.log(t)}}))},o=function(t,e,n){if(5!==s._currentClientVersion)return r(t,e,n);var i=n.properties&&n.properties.subscriptionIdentifier;"number"==typeof i&&(i=[i]),i&&i.forEach((function(i){try{s._topics[i]&&s._topics[i].handler(e,t,n)}catch(t){console.log(t)}}))},this._client.on("message",o),this._client.on("reconnect",(function(){s._events.reconnect&&s._events.reconnect.forEach((function(t){"function"==typeof t&&t()}))})),this._client.on("offline",(function(){s._events.offline&&s._events.offline.forEach((function(t){"function"==typeof t&&t()}))})),this._client.on("end",(function(){s._events.end&&s._events.end.forEach((function(t){"function"==typeof t&&t()}))}));case 20:case"end":return t.stop()}var a,l,c}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"update",value:(c=m()(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=e,t.next="token"===t.t0?3:"config"===t.t0?17:26;break;case 3:if(this._config.token=n,!this._client){t.next=14;break}if(!n){t.next=10;break}return t.next=8,this._createClient();case 8:t.next=12;break;case 10:return t.next=12,this.close(!0);case 12:t.next=16;break;case 14:return t.next=16,this._createClient();case 16:return t.abrupt("break",26);case 17:if(this._config=Object.assign(this._config,n),!this._client){t.next=23;break}return t.next=21,this._createClient();case 21:t.next=25;break;case 23:return t.next=25,this._createClient();case 25:return t.abrupt("break",26);case 26:case"end":return t.stop()}}),t,this)}))),function(t,e){return c.apply(this,arguments)})},{key:"hasClient",value:function(){return!!this._client}},{key:"connected",value:function(){return!!this._client&&this._client.connected}},{key:"subscribe",value:(l=m()(regeneratorRuntime.mark((function t(e){var n,i=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this._config.mqttSettings&&5===this._config.mqttSettings.protocolVersion,Array.isArray(e)||(e=[e]),t.abrupt("return",e.reduce(function(){var t=m()(regeneratorRuntime.mark((function t(e,r){var o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=Number(b()()),n&&r.options&&r.options.filterByTimestamp&&(r.handler=i._generateTimestampFilteringWrapper(r.name,r.handler)),n&&(r.options||(r.options={}),r.options=u()(r.options,{properties:{subscriptionIdentifier:o}})),i._topics[o]=r,!i._client){t.next=17;break}return t.prev=5,t.next=8,i._client.subscribe(r.name,r.options);case 8:s=t.sent,e[o]=s,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(5),e[o]=t.t0;case 15:t.next=18;break;case 17:e[o]=new Error("Client don`t created");case 18:return t.abrupt("return",e);case 19:case"end":return t.stop()}}),t,null,[[5,12]])})));return function(e,n){return t.apply(this,arguments)}}(),{}));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"unsubscribe",value:(a=m()(regeneratorRuntime.mark((function t(e,n,i){var r,o,s,a,l=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Object.keys(this._topics).reduce((function(t,n,i){return("string"==typeof e&&l._topics[n].name===e||e instanceof Array&&e.includes(l._topics[n].name))&&t.push(n),t}),[]),o=r,n&&(o=r.filter((function(t){return t===n||n instanceof Array&&n.includes(t)}))),s=o.length===r.length,o.forEach((function(t){var e=l._topics[t];e.options&&e.options.filterByTimestamp&&l._timestampsByTopic[e.name]&&delete l._timestampsByTopic[e.name],delete l._topics[t]})),!s||this._client._client.disconnecting){t.next=12;break}return t.next=8,this._client.unsubscribe(e,i);case 8:return a=t.sent,t.abrupt("return",a);case 12:return t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return a.apply(this,arguments)})},{key:"unsubscribeAll",value:(o=m()(regeneratorRuntime.mark((function t(e){var n,i,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this._timestampsByTopic={},n=0,i=Object.keys(this._topics);case 2:if(!(n{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},1378:(t,e,n)=>{var i=n(8759);t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},8669:(t,e,n)=>{var i=n(211),r=n(4710),o=n(7826),s=i("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},9966:(t,e,n)=>{"use strict";var i=n(3448).charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},1855:t=>{t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},6112:(t,e,n)=>{var i=n(8759);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},1984:(t,e,n)=>{"use strict";var i=n(8062).forEach,r=n(2802)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},6198:(t,e,n)=>{var i=n(4088),r=n(4005),o=n(7740),s=function(t){return function(e,n,s){var a,l=i(e),c=r(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},8062:(t,e,n)=>{var i=n(8516),r=n(5974),o=n(3060),s=n(4005),a=n(5574),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,h=6==t,d=7==t,f=5==t||h;return function(p,m,_,g){for(var v,y,b=o(p),w=r(b),M=i(m,_,3),k=s(w.length),L=0,S=g||a,x=e?S(p,k):n||d?S(p,0):void 0;k>L;L++)if((f||L in w)&&(y=M(v=w[L],L,b),t))if(e)x[L]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return L;case 2:l.call(x,v)}else switch(t){case 4:return!1;case 7:l.call(x,v)}return h?-1:c||u?u:x}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},9955:(t,e,n)=>{var i=n(3677),r=n(211),o=n(1448),s=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2802:(t,e,n)=>{"use strict";var i=n(3677);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},8758:(t,e,n)=>{var i=n(9944),r=n(3060),o=n(5974),s=n(4005),a=function(t){return function(e,n,a,l){i(n);var c=r(e),u=o(c),h=s(c.length),d=t?h-1:0,f=t?-1:1;if(a<2)for(;;){if(d in u){l=u[d],d+=f;break}if(d+=f,t?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:h>d;d+=f)d in u&&(l=n(l,u[d],d,c));return l}};t.exports={left:a(!1),right:a(!0)}},5574:(t,e,n)=>{var i=n(8759),r=n(6526),o=n(211)("species");t.exports=function(t,e){var n;return r(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},8939:(t,e,n)=>{var i=n(211)("iterator"),r=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},2306:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},375:(t,e,n)=>{var i=n(2371),r=n(2306),o=n(211)("toStringTag"),s="Arguments"==r(function(){return arguments}());t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:s?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},8474:(t,e,n)=>{var i=n(3167),r=n(6095),o=n(4399),s=n(7826);t.exports=function(t,e){for(var n=r(e),a=s.f,l=o.f,c=0;c{var i=n(211)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},7209:(t,e,n)=>{var i=n(3677);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},471:(t,e,n)=>{"use strict";var i=n(3083).IteratorPrototype,r=n(4710),o=n(5736),s=n(914),a=n(7719),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),s(t,c,!1,!0),a[c]=l,t}},2585:(t,e,n)=>{var i=n(5283),r=n(7826),o=n(5736);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},5736:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9720:(t,e,n)=>{"use strict";var i=n(1288),r=n(7826),o=n(5736);t.exports=function(t,e,n){var s=i(e);s in t?r.f(t,s,o(0,n)):t[s]=n}},8432:(t,e,n)=>{"use strict";var i=n(1695),r=n(471),o=n(2130),s=n(7530),a=n(914),l=n(2585),c=n(1007),u=n(211),h=n(3296),d=n(7719),f=n(3083),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,_=u("iterator"),g="keys",v="values",y="entries",b=function(){return this};t.exports=function(t,e,n,u,f,w,M){r(n,e,u);var k,L,S,x=function(t){if(t===f&&E)return E;if(!m&&t in D)return D[t];switch(t){case g:case v:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+" Iterator",C=!1,D=t.prototype,O=D[_]||D["@@iterator"]||f&&D[f],E=!m&&O||x(f),P="Array"==e&&D.entries||O;if(P&&(k=o(P.call(new t)),p!==Object.prototype&&k.next&&(h||o(k)===p||(s?s(k,p):"function"!=typeof k[_]&&l(k,_,b)),a(k,T,!0,!0),h&&(d[T]=b))),f==v&&O&&O.name!==v&&(C=!0,E=function(){return O.call(this)}),h&&!M||D[_]===E||l(D,_,E),d[e]=E,f)if(L={values:x(v),keys:w?E:x(g),entries:x(y)},M)for(S in L)(m||C||!(S in D))&&c(D,S,L[S]);else i({target:e,proto:!0,forced:m||C},L);return L}},5283:(t,e,n)=>{var i=n(3677);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},821:(t,e,n)=>{var i=n(2086),r=n(8759),o=i.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},933:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},172:t=>{t.exports="object"==typeof window},4344:(t,e,n)=>{var i=n(4999);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(i)},1801:(t,e,n)=>{var i=n(2306),r=n(2086);t.exports="process"==i(r.process)},4928:(t,e,n)=>{var i=n(4999);t.exports=/web0s(?!.*chrome)/i.test(i)},4999:(t,e,n)=>{var i=n(563);t.exports=i("navigator","userAgent")||""},1448:(t,e,n)=>{var i,r,o=n(2086),s=n(4999),a=o.process,l=a&&a.versions,c=l&&l.v8;c?r=(i=c.split("."))[0]<4?1:i[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=i[1]),t.exports=r&&+r},8684:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1695:(t,e,n)=>{var i=n(2086),r=n(4399).f,o=n(2585),s=n(1007),a=n(3648),l=n(8474),c=n(7189);t.exports=function(t,e){var n,u,h,d,f,p=t.target,m=t.global,_=t.stat;if(n=m?i:_?i[p]||a(p,{}):(i[p]||{}).prototype)for(u in e){if(d=e[u],h=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!c(m?u:p+(_?".":"#")+u,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),s(n,u,d,t)}}},3677:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},2331:(t,e,n)=>{"use strict";n(2077);var i=n(1007),r=n(4861),o=n(3677),s=n(211),a=n(2585),l=s("species"),c=RegExp.prototype,u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),h="$0"==="a".replace(/./,"$0"),d=s("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,d){var m=s(t),_=!o((function(){var e={};return e[m]=function(){return 7},7!=""[t](e)})),g=_&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[m]=/./[m]),n.exec=function(){return e=!0,null},n[m](""),!e}));if(!_||!g||"replace"===t&&(!u||!h||f)||"split"===t&&!p){var v=/./[m],y=n(m,""[t],(function(t,e,n,i,o){var s=e.exec;return s===r||s===c.exec?_&&!o?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=y[0],w=y[1];i(String.prototype,t,b),i(c,m,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}d&&a(c[m],"sham",!0)}},8516:(t,e,n)=>{var i=n(9944);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},563:(t,e,n)=>{var i=n(9775),r=n(2086),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},1667:(t,e,n)=>{var i=n(375),r=n(7719),o=n(211)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)]}},8509:(t,e,n)=>{var i=n(3060),r=Math.floor,o="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var h=n+t.length,d=l.length,f=a;return void 0!==c&&(c=i(c),f=s),o.call(u,f,(function(i,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":s=c[o.slice(1,-1)];break;default:var a=+o;if(0===a)return i;if(a>d){var u=r(a/10);return 0===u?i:u<=d?void 0===l[u-1]?o.charAt(1):l[u-1]+o.charAt(1):i}s=l[a-1]}return void 0===s?"":s}))}},2086:(t,e,n)=>{var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},3167:(t,e,n)=>{var i=n(3060),r={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return r.call(i(t),e)}},7153:t=>{t.exports={}},1670:(t,e,n)=>{var i=n(2086);t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},5963:(t,e,n)=>{var i=n(563);t.exports=i("document","documentElement")},6761:(t,e,n)=>{var i=n(5283),r=n(3677),o=n(821);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},5974:(t,e,n)=>{var i=n(3677),r=n(2306),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},5070:(t,e,n)=>{var i=n(8759),r=n(7530);t.exports=function(t,e,n){var o,s;return r&&"function"==typeof(o=e.constructor)&&o!==n&&i(s=o.prototype)&&s!==n.prototype&&r(t,s),t}},9277:(t,e,n)=>{var i=n(4489),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return r.call(t)}),t.exports=i.inspectSource},3278:(t,e,n)=>{var i,r,o,s=n(9316),a=n(2086),l=n(8759),c=n(2585),u=n(3167),h=n(4489),d=n(8944),f=n(7153),p="Object already initialized",m=a.WeakMap;if(s||h.state){var _=h.state||(h.state=new m),g=_.get,v=_.has,y=_.set;i=function(t,e){if(v.call(_,t))throw new TypeError(p);return e.facade=t,y.call(_,t,e),e},r=function(t){return g.call(_,t)||{}},o=function(t){return v.call(_,t)}}else{var b=d("state");f[b]=!0,i=function(t,e){if(u(t,b))throw new TypeError(p);return e.facade=t,c(t,b,e),e},r=function(t){return u(t,b)?t[b]:{}},o=function(t){return u(t,b)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},2814:(t,e,n)=>{var i=n(211),r=n(7719),o=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t)}},6526:(t,e,n)=>{var i=n(2306);t.exports=Array.isArray||function(t){return"Array"==i(t)}},7189:(t,e,n)=>{var i=n(3677),r=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==c||n!=l&&("function"==typeof e?i(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},8759:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},3296:t=>{t.exports=!1},7994:(t,e,n)=>{var i=n(8759),r=n(2306),o=n(211)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},4722:(t,e,n)=>{var i=n(6112),r=n(2814),o=n(4005),s=n(8516),a=n(1667),l=n(6737),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u,h,d,f,p,m,_,g=n&&n.that,v=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),w=s(e,g,1+v+b),M=function(t){return u&&l(u),new c(!0,t)},k=function(t){return v?(i(t),b?w(t[0],t[1],M):w(t[0],t[1])):b?w(t,M):w(t)};if(y)u=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(r(h)){for(d=0,f=o(t.length);f>d;d++)if((p=k(t[d]))&&p instanceof c)return p;return new c(!1)}u=h.call(t)}for(m=u.next;!(_=m.call(u)).done;){try{p=k(_.value)}catch(t){throw l(u),t}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},6737:(t,e,n)=>{var i=n(6112);t.exports=function(t){var e=t.return;if(void 0!==e)return i(e.call(t)).value}},3083:(t,e,n)=>{"use strict";var i,r,o,s=n(3677),a=n(2130),l=n(2585),c=n(3167),u=n(211),h=n(3296),d=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(r=a(a(o)))!==Object.prototype&&(i=r):f=!0);var p=null==i||s((function(){var t={};return i[d].call(t)!==t}));p&&(i={}),h&&!p||c(i,d)||l(i,d,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},7719:t=>{t.exports={}},3173:(t,e,n)=>{var i,r,o,s,a,l,c,u,h=n(2086),d=n(4399).f,f=n(4953).set,p=n(4344),m=n(4928),_=n(1801),g=h.MutationObserver||h.WebKitMutationObserver,v=h.document,y=h.process,b=h.Promise,w=d(h,"queueMicrotask"),M=w&&w.value;M||(i=function(){var t,e;for(_&&(t=y.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?s():o=void 0,t}}o=void 0,t&&t.enter()},p||_||m||!g||!v?b&&b.resolve?((c=b.resolve(void 0)).constructor=b,u=c.then,s=function(){u.call(c,i)}):s=_?function(){y.nextTick(i)}:function(){f.call(h,i)}:(a=!0,l=v.createTextNode(""),new g(i).observe(l,{characterData:!0}),s=function(){l.data=a=!a})),t.exports=M||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,s()),o=e}},8109:(t,e,n)=>{var i=n(2086);t.exports=i.Promise},3193:(t,e,n)=>{var i=n(1448),r=n(3677);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},9316:(t,e,n)=>{var i=n(2086),r=n(9277),o=i.WeakMap;t.exports="function"==typeof o&&/native code/.test(r(o))},8722:(t,e,n)=>{"use strict";var i=n(9944),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},7725:(t,e,n)=>{var i=n(7994);t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},2252:(t,e,n)=>{var i=n(2086),r=n(4080).trim,o=n(9439),s=i.parseFloat,a=1/s(o+"-0")!=-1/0;t.exports=a?function(t){var e=r(String(t)),n=s(e);return 0===n&&"-"==e.charAt(0)?-0:n}:s},8675:(t,e,n)=>{"use strict";var i=n(5283),r=n(3677),o=n(8779),s=n(6952),a=n(7446),l=n(3060),c=n(5974),u=Object.assign,h=Object.defineProperty;t.exports=!u||r((function(){if(i&&1!==u({b:1},u(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||o(u({},e)).join("")!=r}))?function(t,e){for(var n=l(t),r=arguments.length,u=1,h=s.f,d=a.f;r>u;)for(var f,p=c(arguments[u++]),m=h?o(p).concat(h(p)):o(p),_=m.length,g=0;_>g;)f=m[g++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:u},4710:(t,e,n)=>{var i,r=n(6112),o=n(7711),s=n(8684),a=n(7153),l=n(5963),c=n(821),u=n(8944)("IE_PROTO"),h=function(){},d=function(t){return"