From 82ced6716c0f1e75d58ea3c958d13e5e2c5f70db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 May 2022 20:20:55 +0800 Subject: [PATCH] update 2022-05-27 20:20:55 --- app-store-ui/src/dist/index.html | 2 +- .../src/dist/luci-static/istore/index.js | 10 +- .../src/dist/luci-static/istore/style.css | 2 +- .../src/dist/luci-static/istore/vendor.js | 18 +- luci-app-amlogic/Makefile | 2 +- luci-app-amlogic/root/usr/sbin/openwrt-kernel | 438 +++++++++--------- .../usr/share/amlogic/amlogic_check_kernel.sh | 142 +++--- luci-app-store/Makefile | 6 +- natflow/Makefile | 4 +- 9 files changed, 306 insertions(+), 318 deletions(-) diff --git a/app-store-ui/src/dist/index.html b/app-store-ui/src/dist/index.html index ff3047e67..82a4ba820 100644 --- a/app-store-ui/src/dist/index.html +++ b/app-store-ui/src/dist/index.html @@ -6,7 +6,7 @@ Vite App - + diff --git a/app-store-ui/src/dist/luci-static/istore/index.js b/app-store-ui/src/dist/luci-static/istore/index.js index 13c849064..8660aeef2 100644 --- a/app-store-ui/src/dist/luci-static/istore/index.js +++ b/app-store-ui/src/dist/luci-static/istore/index.js @@ -1,4 +1,4 @@ -var ft=Object.defineProperty,gt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var rt=Object.getOwnPropertySymbols;var bt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var ct=(t,e,o)=>e in t?ft(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,W=(t,e)=>{for(var o in e||(e={}))bt.call(e,o)&&ct(t,o,e[o]);if(rt)for(var o of rt(e))$t.call(e,o)&&ct(t,o,e[o]);return t},nt=(t,e)=>gt(t,yt(e));var kt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $=(t,e,o)=>new Promise((n,a)=>{var l=_=>{try{c(o.next(_))}catch(f){a(f)}},s=_=>{try{c(o.throw(_))}catch(f){a(f)}},c=_=>_.done?n(_.value):Promise.resolve(_.value).then(l,s);c((o=o.apply(t,e)).next())});import{o as d,c as p,h as wt,u as F,a as C,r as L,F as D,b as K,d as q,w as Ct,p as R,e as z,f as r,t as P,g as B,n as H,i as ut,j as g,k as dt,l as St,m as U,q as ot,s as pt,v as xt,x as j,y as _t,z as mt,A as At,B as lt,C as Lt,D as Tt,E as It}from"./vendor.js?v=7db2f86d";var Rs=kt(S=>{const Et=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function o(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerpolicy&&(l.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?l.credentials="include":a.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(a){if(a.ep)return;a.ep=!0;const l=o(a);fetch(a.href,l)}};Et();var y=(t,e)=>{const o=t.__vccOpts||t;for(const[n,a]of e)o[n]=a;return o};const Pt={},Bt={class:"cbi-section"};function Dt(t,e,o,n,a,l){return d(),p("fieldset",Bt)}var Ft=y(Pt,[["render",Dt]]);const Mt=()=>window.vue_base,Vt=()=>window.istore_api_base||"https://istore.linkease.com",Ut=t=>{if(t)return wt(t).format("YYYY-MM-DD HH:mm:ss")},Ot=()=>new Date().getTime(),Rt=t=>{if(t<1024)return""+t+"KB";let o=1024,n=0;for(let l=t/1024;l>=1024;l/=1024)o*=1024,n++;let a=["M","G","T","P","E"];return(t/100/(o/100)).toFixed(2)+a[n]},zt=t=>{if(t==null)return 0;if(t<1e4)return t;let o=parseInt(t/1e4),n=t%1e4;return`${o}\u4E07${n}`},Gt=()=>window.token||"",Kt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.uid)||""},Wt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.version)||""},Zt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.arch)||""},qt=()=>"https://www.kooldns.cn/bind",it={all:"\u5168\u90E8",sys:"\u7CFB\u7EDF",tool:"\u5DE5\u5177",net:"\u7F51\u7EDC"},Ht=t=>it[t]?it[t]:t;var Yt=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",BasePage:Mt,ApiBaseURL:Vt,formatDate:Ut,UnixDate:Ot,numberToSize:Rt,numberToSum:zt,getToken:Gt,getDeviceId:Kt,getVersion:Wt,modelArch:Zt,getIframeURL:qt,getTagValue:Ht}),T=W({},Yt);const Nt={setup(){const t=F(),e=C(()=>t.state.version);return{menus:C(()=>[{to:"/installed",name:"\u5DF2\u5B89\u88C5"},{to:"/store",name:"\u5168\u90E8\u8F6F\u4EF6"},{to:"/upload",name:"\u624B\u52A8\u5B89\u88C5"},{to:"/maintance",name:"\u7EF4\u62A4",up:e.value}])}}},Jt=t=>(R("data-v-1f9c0c24"),t=t(),z(),t),Qt={class:"tabs"},Xt=["href","onClick"],jt={key:0},te=Jt(()=>r("div",{class:"auto"},null,-1));function ee(t,e,o,n,a,l){const s=L("router-link");return d(),p("ul",Qt,[(d(!0),p(D,null,K(n.menus,c=>(d(),q(s,{to:c.to,custom:"",key:c.to},{default:Ct(({href:_,navigate:f,isActive:k})=>[r("li",{class:H(k&&"active cbi-tab")},[r("a",{href:_,onClick:f},P(c.name),9,Xt),c.up?(d(),p("span",jt)):B("",!0)],2)]),_:2},1032,["to"]))),128)),te])}var ne=y(Nt,[["render",ee],["__scopeId","data-v-1f9c0c24"]]);const w=ut.create({});w.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=nt(W({},t.params),{token:T.getToken(),_t:T.UnixDate()}),t),t=>t);w.interceptors.response.use(t=>t,t=>t);const Z=ut.create({baseURL:T.ApiBaseURL()});Z.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=nt(W({},t.params),{modelArch:T.modelArch(),deviceId:T.getDeviceId(),_t:T.UnixDate()}),t),t=>t);Z.interceptors.response.use(t=>t);const oe=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/installed"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),se=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/install",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ae=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/upgrade",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),re=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/remove",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ce=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/update"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),le=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/status",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ie=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/log"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ue=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/upload",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),de=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/light_backup"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),pe=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/light_restore",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),_e=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_available_backup_file_list",params:{path:t}});if(n.status==200){e(n==null?void 0:n.data);return}o(n.status);return}catch(n){o(n);return}})),me=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_local_backup_dir_path"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}})),he=(t,e)=>new Promise((o,n)=>$(S,null,function*(){try{const a=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/local_backup",params:{path:t,force:e}});if(a.status==200){o(a==null?void 0:a.data);return}n(a.status);return}catch(a){n(a);return}})),ve=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/local_restore",params:{path:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),fe=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_block_devices"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}}));var ge=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getInstalledApp:oe,installApp:se,upgradeApp:ae,removeApp:re,updateAppStore:ce,getAppStatus:le,getLog:ie,uploadAppIPK:ue,lightBackup:de,lightRestore:pe,backupFileList:_e,localBackupdirPath:me,localBackup:he,localRestore:ve,getBlockDevices:fe});const ye=t=>new Promise((e,o)=>$(S,null,function*(){var n,a,l,s;try{const c=yield Z({method:"GET",url:"/api/store/list",params:t});if(((n=c==null?void 0:c.data)==null?void 0:n.success)===0){e((a=c==null?void 0:c.data)==null?void 0:a.result);return}if((l=c==null?void 0:c.data)!=null&&l.message){o((s=c==null?void 0:c.data)==null?void 0:s.message);return}o("error")}catch(c){console.log(c),o(c);return}})),be=T.ApiBaseURL(),$e=t=>`${be}${t}`,ke=()=>new Promise((t,e)=>$(S,null,function*(){var o,n,a,l;try{const s=yield Z({method:"GET",url:"/api/store/tags"});if(((o=s==null?void 0:s.data)==null?void 0:o.success)===0){t((n=s==null?void 0:s.data)==null?void 0:n.result);return}if((a=s==null?void 0:s.data)!=null&&a.message){e((l=s==null?void 0:s.data)==null?void 0:l.message);return}e("error")}catch(s){e(s);return}})),we=t=>new Promise((e,o)=>{Z({method:"POST",url:"/api/store/expand",data:{appsId:t||[],deviceId:T.getDeviceId()}}).then(n=>{var a,l,s;if(((a=n.data)==null?void 0:a.success)==0&&((l=n.data)==null?void 0:l.result)){e((s=n.data)==null?void 0:s.result);return}o("not found expand")}).catch(n=>{o(n)})}),Ce=t=>{Z({method:"POST",url:"/api/store/download",data:{appId:t,deviceId:T.getDeviceId()}}).then(e=>{var o;((o=e.data)==null?void 0:o.success)!=0})},Se=t=>new Promise((e,o)=>{Z({method:"POST",url:"/api/store/star",data:{appId:t,deviceId:T.getDeviceId()}}).then(n=>{var a;if(((a=n.data)==null?void 0:a.success)==0){e(n.data);return}o("not found expand")}).catch(n=>{o(n)})});var xe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getStoreAppList:ye,getStoreAppIcon:$e,getStoreTags:ke,getAppExpandData:we,increasingDownloadCount:Ce,postStarApp:Se});const Ae=()=>w({method:"GET",url:"/cgi-bin/luci/admin/store/check_self_upgrade"}),Le=()=>w({method:"POST",url:"/cgi-bin/luci/admin/store/do_self_upgrade"});var Te=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",updateIstore:Ae,selfUpdateIstore:Le}),b=W(W(W({},ge),xe),Te);const Ie={setup(){const t=F(),e=C(()=>t.state.log.action),o=C(()=>t.state.log.content),n=C(()=>t.state.log.end),a=C(()=>t.state.log.exitCode),l=g(!1),s=g(null);let c="",_=g(""),f=g("."),k="",I="";switch(e.value){case"install":c="\u6B63\u5728\u5B89\u88C5\u63D2\u4EF6",k="\u5B89\u88C5\u5B8C\u6210,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break;case"uninstall":c="\u6B63\u5728\u5378\u8F7D\u63D2\u4EF6",k="\u5378\u8F7D\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u5378\u8F7D\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upgrade":c="\u6B63\u5728\u66F4\u65B0\u63D2\u4EF6",k="\u66F4\u65B0\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u66F4\u65B0\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upload":c="\u6B63\u5728\u4E0A\u4F20\u63D2\u4EF6",k="\u79BB\u7EBF\u5B89\u88C5\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u79BB\u7EBF\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break}dt(()=>{document.body.setAttribute("lock-scroll",!0),m()}),St(()=>{document.body.removeAttribute("lock-scroll")});const M=()=>{var h;(h=s.value)!=null&&h.scrollHeight&&(s.value.scrollTop=s.value.scrollHeight)},m=()=>{setTimeout(()=>{if(n.value){i();return}b.getLog().then(h=>{if(n.value){i();return}switch(h==null?void 0:h.code){}const G=h==null?void 0:h.stdout,V=h==null?void 0:h.stderr;(G||V)&&(_.value=`${G}${V}`),f.value=`${f.value}.`,M(),m()}).catch(h=>{_.value=`${h}`,m()})},500)},i=()=>{l.value=!0},u=()=>{location.reload()};return{logText:C(()=>l.value?a.value!==void 0&&a.value!==0?`${c} +var ft=Object.defineProperty,gt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var rt=Object.getOwnPropertySymbols;var bt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var ct=(t,e,o)=>e in t?ft(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,W=(t,e)=>{for(var o in e||(e={}))bt.call(e,o)&&ct(t,o,e[o]);if(rt)for(var o of rt(e))$t.call(e,o)&&ct(t,o,e[o]);return t},nt=(t,e)=>gt(t,yt(e));var kt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $=(t,e,o)=>new Promise((n,a)=>{var l=_=>{try{c(o.next(_))}catch(f){a(f)}},s=_=>{try{c(o.throw(_))}catch(f){a(f)}},c=_=>_.done?n(_.value):Promise.resolve(_.value).then(l,s);c((o=o.apply(t,e)).next())});import{o as d,c as p,h as wt,u as M,a as C,r as L,F,b as K,d as q,w as Ct,p as R,e as z,f as r,t as P,g as B,n as H,i as ut,j as g,k as dt,l as St,m as U,q as ot,s as pt,v as xt,x as j,y as _t,z as mt,A as At,B as lt,C as Lt,D as Tt,E as It}from"./vendor.js?v=5db49c54";var Rs=kt(S=>{const Et=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function o(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerpolicy&&(l.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?l.credentials="include":a.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(a){if(a.ep)return;a.ep=!0;const l=o(a);fetch(a.href,l)}};Et();var y=(t,e)=>{const o=t.__vccOpts||t;for(const[n,a]of e)o[n]=a;return o};const Pt={},Bt={class:"cbi-section"};function Dt(t,e,o,n,a,l){return d(),p("fieldset",Bt)}var Ft=y(Pt,[["render",Dt]]);const Mt=()=>window.vue_base,Vt=()=>window.istore_api_base||"https://istore.linkease.com",Ut=t=>{if(t)return wt(t).format("YYYY-MM-DD HH:mm:ss")},Ot=()=>new Date().getTime(),Rt=t=>{if(t<1024)return""+t+"KB";let o=1024,n=0;for(let l=t/1024;l>=1024;l/=1024)o*=1024,n++;let a=["M","G","T","P","E"];return(t/100/(o/100)).toFixed(2)+a[n]},zt=t=>{if(t==null)return 0;if(t<1e4)return t;let o=parseInt(t/1e4),n=t%1e4;return`${o}\u4E07${n}`},Gt=()=>window.token||"",Kt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.uid)||""},Wt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.version)||""},Zt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.arch)||""},qt=()=>"https://www.kooldns.cn/bind",it={all:"\u5168\u90E8",sys:"\u7CFB\u7EDF",tool:"\u5DE5\u5177",net:"\u7F51\u7EDC"},Ht=t=>it[t]?it[t]:t;var Yt=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",BasePage:Mt,ApiBaseURL:Vt,formatDate:Ut,UnixDate:Ot,numberToSize:Rt,numberToSum:zt,getToken:Gt,getDeviceId:Kt,getVersion:Wt,modelArch:Zt,getIframeURL:qt,getTagValue:Ht}),T=W({},Yt);const Nt={setup(){const t=M(),e=C(()=>t.state.version);return{menus:C(()=>[{to:"/installed",name:"\u5DF2\u5B89\u88C5"},{to:"/store",name:"\u5168\u90E8\u8F6F\u4EF6"},{to:"/upload",name:"\u624B\u52A8\u5B89\u88C5"},{to:"/maintance",name:"\u7EF4\u62A4",up:e.value}])}}},Jt=t=>(R("data-v-1f9c0c24"),t=t(),z(),t),Qt={class:"tabs"},Xt=["href","onClick"],jt={key:0},te=Jt(()=>r("div",{class:"auto"},null,-1));function ee(t,e,o,n,a,l){const s=L("router-link");return d(),p("ul",Qt,[(d(!0),p(F,null,K(n.menus,c=>(d(),q(s,{to:c.to,custom:"",key:c.to},{default:Ct(({href:_,navigate:f,isActive:k})=>[r("li",{class:H(k&&"active cbi-tab")},[r("a",{href:_,onClick:f},P(c.name),9,Xt),c.up?(d(),p("span",jt)):B("",!0)],2)]),_:2},1032,["to"]))),128)),te])}var ne=y(Nt,[["render",ee],["__scopeId","data-v-1f9c0c24"]]);const w=ut.create({});w.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=nt(W({},t.params),{token:T.getToken(),_t:T.UnixDate()}),t),t=>t);w.interceptors.response.use(t=>t,t=>t);const Z=ut.create({baseURL:T.ApiBaseURL()});Z.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=nt(W({},t.params),{modelArch:T.modelArch(),deviceId:T.getDeviceId(),_t:T.UnixDate()}),t),t=>t);Z.interceptors.response.use(t=>t);const oe=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/installed"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),se=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/install",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ae=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/upgrade",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),re=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/remove",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ce=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/update"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),le=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/status",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ie=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/log"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ue=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/upload",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),de=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/light_backup"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),pe=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/light_restore",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),_e=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_available_backup_file_list",params:{path:t}});if(n.status==200){e(n==null?void 0:n.data);return}o(n.status);return}catch(n){o(n);return}})),me=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_local_backup_dir_path"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}})),he=(t,e)=>new Promise((o,n)=>$(S,null,function*(){try{const a=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/local_backup",params:{path:t,force:e}});if(a.status==200){o(a==null?void 0:a.data);return}n(a.status);return}catch(a){n(a);return}})),ve=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield w({method:"POST",url:"/cgi-bin/luci/admin/store/local_restore",params:{path:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),fe=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield w({method:"GET",url:"/cgi-bin/luci/admin/store/get_block_devices"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}}));var ge=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getInstalledApp:oe,installApp:se,upgradeApp:ae,removeApp:re,updateAppStore:ce,getAppStatus:le,getLog:ie,uploadAppIPK:ue,lightBackup:de,lightRestore:pe,backupFileList:_e,localBackupdirPath:me,localBackup:he,localRestore:ve,getBlockDevices:fe});const ye=t=>new Promise((e,o)=>$(S,null,function*(){var n,a,l,s;try{const c=yield Z({method:"GET",url:"/api/store/list",params:t});if(((n=c==null?void 0:c.data)==null?void 0:n.success)===0){e((a=c==null?void 0:c.data)==null?void 0:a.result);return}if((l=c==null?void 0:c.data)!=null&&l.message){o((s=c==null?void 0:c.data)==null?void 0:s.message);return}o("error")}catch(c){console.log(c),o(c);return}})),be=T.ApiBaseURL(),$e=t=>`${be}${t}`,ke=()=>new Promise((t,e)=>$(S,null,function*(){var o,n,a,l;try{const s=yield Z({method:"GET",url:"/api/store/tags"});if(((o=s==null?void 0:s.data)==null?void 0:o.success)===0){t((n=s==null?void 0:s.data)==null?void 0:n.result);return}if((a=s==null?void 0:s.data)!=null&&a.message){e((l=s==null?void 0:s.data)==null?void 0:l.message);return}e("error")}catch(s){e(s);return}})),we=t=>new Promise((e,o)=>{Z({method:"POST",url:"/api/store/expand",data:{appsId:t||[],deviceId:T.getDeviceId()}}).then(n=>{var a,l,s;if(((a=n.data)==null?void 0:a.success)==0&&((l=n.data)==null?void 0:l.result)){e((s=n.data)==null?void 0:s.result);return}o("not found expand")}).catch(n=>{o(n)})}),Ce=t=>{Z({method:"POST",url:"/api/store/download",data:{appId:t,deviceId:T.getDeviceId()}}).then(e=>{var o;((o=e.data)==null?void 0:o.success)!=0})},Se=t=>new Promise((e,o)=>{Z({method:"POST",url:"/api/store/star",data:{appId:t,deviceId:T.getDeviceId()}}).then(n=>{var a;if(((a=n.data)==null?void 0:a.success)==0){e(n.data);return}o("not found expand")}).catch(n=>{o(n)})});var xe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getStoreAppList:ye,getStoreAppIcon:$e,getStoreTags:ke,getAppExpandData:we,increasingDownloadCount:Ce,postStarApp:Se});const Ae=()=>w({method:"GET",url:"/cgi-bin/luci/admin/store/check_self_upgrade"}),Le=()=>w({method:"POST",url:"/cgi-bin/luci/admin/store/do_self_upgrade"});var Te=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",updateIstore:Ae,selfUpdateIstore:Le}),b=W(W(W({},ge),xe),Te);const Ie={setup(){const t=M(),e=C(()=>t.state.log.action),o=C(()=>t.state.log.content),n=C(()=>t.state.log.end),a=C(()=>t.state.log.exitCode),l=g(!1),s=g(null);let c="",_=g(""),f=g("."),k="",I="";switch(e.value){case"install":c="\u6B63\u5728\u5B89\u88C5\u63D2\u4EF6",k="\u5B89\u88C5\u5B8C\u6210,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break;case"uninstall":c="\u6B63\u5728\u5378\u8F7D\u63D2\u4EF6",k="\u5378\u8F7D\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u5378\u8F7D\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upgrade":c="\u6B63\u5728\u66F4\u65B0\u63D2\u4EF6",k="\u66F4\u65B0\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u66F4\u65B0\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upload":c="\u6B63\u5728\u4E0A\u4F20\u63D2\u4EF6",k="\u79BB\u7EBF\u5B89\u88C5\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",I="\u79BB\u7EBF\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break}dt(()=>{document.body.setAttribute("lock-scroll",!0),m()}),St(()=>{document.body.removeAttribute("lock-scroll")});const D=()=>{var h;(h=s.value)!=null&&h.scrollHeight&&(s.value.scrollTop=s.value.scrollHeight)},m=()=>{setTimeout(()=>{if(n.value){i(),D();return}b.getLog().then(h=>{if(n.value){i(),D();return}switch(h==null?void 0:h.code){}const G=h==null?void 0:h.stdout,V=h==null?void 0:h.stderr;(G||V)&&(_.value=`${G}${V}`),f.value=`${f.value}.`,D(),m()}).catch(h=>{_.value=`${h}`,D(),m()})},500)},i=()=>{l.value=!0},u=()=>{location.reload()};return{logText:C(()=>l.value?a.value!==void 0&&a.value!==0?`${c} ${o.value} ${I} ${a.value} `:`${c} @@ -8,7 +8,7 @@ ${k} ${f.value} ${_.value} ${o.value} -`),Close:u,disabled:l,textDom:s}},mounted(){this.$nextTick(()=>{const t=document.querySelector("body");t.append?t.append(this.$el):t.appendChild(this.$el)})}},st=t=>(R("data-v-735db9cc"),t=t(),z(),t),Ee={class:"software-log_shade"},Pe=st(()=>r("div",{class:"software-log_shade__bg"},null,-1)),Be={class:"software-log_shade__pannel"},De=st(()=>r("div",{class:"software-log_shade__pannel-title"}," \u8F6F\u4EF6\u4E2D\u5FC3 - \u65E5\u5FD7\u8BB0\u5F55 ",-1)),Fe=st(()=>r("div",{class:"software-log_shade__pannel-now"},[r("i",null,"\xA0\xA0\xA0\xA0\u63D2\u4EF6\u5B89\u88C5/\u5378\u8F7D\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5237\u65B0\u6B64\u9875\u9762\uFF01")],-1)),Me={class:"software-log_shade__pannel-content"},Ve=["value"],Ue={key:0,class:"software-log_shade__pannel-btn"};function Oe(t,e,o,n,a,l){return d(),p("div",Ee,[Pe,r("div",Be,[De,Fe,r("div",Me,[r("textarea",{ref:"textDom",cols:"63",rows:"26",wrap:"on",readonly:"readonly",autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",value:n.logText},null,8,Ve)]),n.disabled?(d(),p("div",Ue,[r("button",{class:"close",onClick:e[0]||(e[0]=s=>n.Close())}," \u5173\u95ED ")])):B("",!0)])])}var Re=y(Ie,[["render",Oe],["__scopeId","data-v-735db9cc"]]);const ze={components:{AnnouncementComponent:Ft,TabsComponent:ne,LogComponent:Re},setup(){const t=F();return t.dispatch("getData"),{logStatus:C(()=>t.state.log.status)}}};function Ge(t,e,o,n,a,l){const s=L("TabsComponent"),c=L("router-view"),_=L("LogComponent");return d(),p(D,null,[U(s),U(c),n.logStatus?(d(),q(_,{key:0})):B("",!0)],64)}var Ke=y(ze,[["render",Ge]]);const We={props:{content:String,type:String,Close:Function,keep:Boolean,html:Boolean},setup(t){const e=g(t.content),o=g(t.keep),n=g(t.html);return t.keep||setTimeout(()=>{t.Close()},2e3),{msg:e,keep:o,close:()=>{t.Close()},html:n}}},Ze={class:"toast"},qe={key:1,class:"msg"},He=["innerHTML"];function Ye(t,e,o,n,a,l){return d(),p("div",Ze,[n.keep?(d(),p("div",{key:0,class:"toast-close",onClick:e[0]||(e[0]=(...s)=>n.close&&n.close(...s)),title:"\u5173\u95ED"},"x")):B("",!0),n.html?B("",!0):(d(),p("div",qe,P(n.msg),1)),n.html?(d(),p("div",{key:2,class:"msg",innerHTML:n.msg},null,8,He)):B("",!0)])}var Ne=y(We,[["render",Ye],["__scopeId","data-v-5ced897a"]]);const E=t=>{let e={content:"",type:"",keep:!1,html:!1,Close:()=>{n.unmount(o),document.body.removeChild(o)}};t!=null&&(typeof t=="object"?(e.content=(t==null?void 0:t.content)||"",e.type=(t==null?void 0:t.type)||"",e.keep=(t==null?void 0:t.keep)||!1,e.html=(t==null?void 0:t.html)||!1):e.content=t);let o=document.createElement("div"),n=ot(Ne,e);document.body.append(o),n.mount(o),pt(()=>{n.unmount(o),document.body.removeChild(o)})},Je={props:{content:String,Close:Function},setup(t){return{message:t.content}}},Qe=t=>(R("data-v-6d7664a4"),t=t(),z(),t),Xe={class:"loading"},je=Qe(()=>r("div",{class:"icon"},null,-1)),tn={class:"msg"};function en(t,e,o,n,a,l){return d(),p("div",Xe,[je,r("div",tn,P(n.message),1)])}var nn=y(Je,[["render",en],["__scopeId","data-v-6d7664a4"]]),O={props:{content:"",Close:()=>{}},Start(t){this.props={content:t||"\u52A0\u8F7D\u4E2D...",Close:()=>{e.unmount(o),document.body.removeChild(o)}};let e=ot(nn,this.props),o=document.createElement("div");document.body.append(o),e.mount(o),pt(()=>{this.props.Close()})},Stop(){this.props.Close()}},on={namespaced:!0,state:{Load:!1,LocalApps:[],StoreApps:[],Expand:{},Cur:{tag:"default",sort:"default",search:"",limit:30,offset:0},LocalAppsMap:{},StoreAppsMap:{}},mutations:{setExpand(t,e){t.Expand=e},setLocalApps(t,e){t.LocalApps=e||[],e.forEach(o=>{t.LocalAppsMap[o.name]=o})},setStoreApps(t,e){t.StoreApps=e||[],e.forEach(o=>{t.StoreAppsMap[o.name]=o})},setCur(t,e){for(const o in e)Object.hasOwnProperty.call(e,o)&&(t.Cur[o]=e[o])}},getters:{Cur(t){return t.Cur},LocalApps(t){let e=[...t.LocalApps],o=t.Expand;for(let n=0;n{u.tags&&u.tags.forEach(v=>{v==n&&i.push(u)})}),e=i}let a=t.Cur.search;if(a){let i=[];e.forEach(u=>{let v=JSON.stringify(u);new RegExp(a,"i").test(v)&&i.push(u)}),e=i}let l=e.length;switch(t.Cur.sort){case"download":for(let i=0;i{o.forEach(n=>{n.installed=!0}),e("setLocalApps",o)})},getStoreApps(t,e){const{state:o,commit:n,dispatch:a}=t;let l=[];b.getStoreAppList(e).then(s=>{s.apps&&(s.apps.forEach(c=>{l.push(c.name)}),a("getStoreAppsExpand",l),n("setStoreApps",s.apps)),o.Load=!0}).catch(s=>{console.log(s)})},getStoreAppsExpand(t,e){const{commit:o}=t;b.getAppExpandData(e).then(n=>{n&&o("setExpand",n)})}}},sn={namespaced:!0,state:{Tags:[],Total:0},mutations:{},getters:{Tags(t){return t.Tags},Total(t){return t.Total}},actions:{getTags(t){const{state:e,commit:o}=t;b.getStoreTags().then(n=>{e.Tags=(n==null?void 0:n.tags)||[],e.Total=(n==null?void 0:n.total)||0})}}},an={namespaced:!0,state:{status:!1,action:"install",content:"",end:!1,exitCode:void 0},mutations:{setStatus(t,e){t.status=e.status,t.action=(e==null?void 0:e.action)||"install",t.content=(e==null?void 0:e.content)||"",t.end=(e==null?void 0:e.end)||!1,t.exitCode=void 0},setContent(t,e){t.content=e},setEnd(t,e){t.end=!0,t.exitCode=e}},getters:{},actions:{}},J=xt({state:{version:"",versionLoad:!1},mutations:{setVersion(t,e){t.version=e},setVersionLoad(t,e){t.versionLoad=e}},modules:{apps:on,tags:sn,log:an},actions:{getData(t){const{dispatch:e}=t;e("tags/getTags"),e("apps/getApps"),e("getVersion")},getVersion(t){return $(this,null,function*(){const{commit:e}=t;try{const o=yield b.updateIstore(),{code:n,msg:a}=o==null?void 0:o.data;n==200&&e("setVersion",a)}catch(o){console.log(o)}e("setVersionLoad",!0)})},istoreUpdated(t){const{commit:e}=t;e("setVersion","")}}}),A={Start(t,e){J.commit("log/setStatus",{status:!0,action:t,content:""})},Stop(){J.commit("log/setStatus",{status:!1,action:"install",content:""})},Add(t){J.commit("log/setContent",t)},End(t){J.commit("log/setEnd",t)}};const rn={props:{col:{type:Object,default(){return{description:"",tags:[],entry:"",author:"",depends:[],installed:!1,hasupdate:!1,title:"",time:"",release:1,website:"",name:"",version:""}}}},setup(t,e){const o=C(()=>t.col),n=F(),a=T.formatDate,l=T.numberToSum,s=i=>{i.then(u=>{let v=u.stdout,h=u.stderr;A.Add(`${v} -${h}`),A.End(u.code)}).catch(u=>{A.Add(u),A.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(u){}})},c=i=>{A.Start("upgrade"),s(b.upgradeApp(i))},_=i=>{A.Start("install"),b.increasingDownloadCount(i),n.dispatch("apps/incrAppDownload",{name:i}),s(b.installApp(i))},f=i=>{confirm(`\u786E\u5B9A\u8981\u5378\u8F7D ${i} \u5417?`)&&(A.Start("uninstall"),s(b.removeApp(i)))},k=i=>$(this,null,function*(){O.Start();try{(yield b.postStarApp(i))&&n.dispatch("apps/incrAppStar",{name:i})}catch(u){}O.Stop()}),I=()=>{E("\u60A8\u5DF2\u7ECF\u70B9\u8D5E\u8FC7\u5566\uFF5E")},M=T.getTagValue;return{col:o,formatDate:a,numberToSum:l,upgrade:c,install:_,getAppIcon:i=>o.value.installed?`/luci-static/resources/app-icons/${i}.png`:o.value.icon?b.getStoreAppIcon(o.value.icon):`/luci-static/resources/app-icons/${i}.png`,uninstall:f,StarApp:k,StarApped:I,getTagValue:M}}},tt=t=>(R("data-v-c1f37206"),t=t(),z(),t),cn={class:"app-container"},ln={class:"app-info"},un={class:"app-f"},dn={class:"app-icon"},pn=["src"],_n={class:"app-tags"},mn={class:"tag"},hn=tt(()=>r("span",{class:"block"},"\uFF5C",-1)),vn={class:"app-r"},fn=["title"],gn={class:"app-name"},yn={class:"app-version"},bn={class:"app-as"},$n=tt(()=>r("span",{style:{margin:"0 10px"}},"|",-1)),kn=["title"],wn={class:"app-author"},Cn={class:"app-date"},Sn={class:"app-btns"},xn=["href"],An=tt(()=>r("div",{class:"auto"},null,-1)),Ln=["href"],Tn=tt(()=>r("div",{class:"app-margin-left"},null,-1));function In(t,e,o,n,a,l){var _,f,k,I,M,m,i,u,v,h,G;const s=L("svg-star-off"),c=L("svg-star-on");return d(),p("div",cn,[r("div",ln,[r("div",un,[r("div",dn,[r("img",{alt:"\u56FE\u6807\u51FA\u8D70\u5566",src:n.getAppIcon(n.col.name)},null,8,pn)]),r("div",_n,[(d(!0),p(D,null,K(n.col.tags,V=>(d(),p(D,{key:V},[r("div",mn,[r("span",null,P(n.getTagValue(V)),1)]),hn],64))),128))])]),r("div",vn,[r("div",{class:"app-title",title:n.col.name},[r("span",gn,P(n.col.title),1),r("span",yn,"v"+P(n.col.version),1)],8,fn),r("div",bn,[r("span",null,P(n.numberToSum((f=(_=n.col)==null?void 0:_.expand)==null?void 0:f.downloadCount))+" \u6B21\u4E0B\u8F7D",1),$n,r("span",null,P(n.numberToSum((I=(k=n.col)==null?void 0:k.expand)==null?void 0:I.starCount))+" \u6B21\u70B9\u8D5E",1),((M=n.col)==null?void 0:M.expand)!=null?(d(),p(D,{key:0},[(i=(m=n.col)==null?void 0:m.expand)!=null&&i.isStar?(d(),p("a",{key:0,class:"star-btn",title:"\u5DF2\u70B9\u8D5E",onClick:e[0]||(e[0]=V=>n.StarApped())},[U(s)])):(d(),p("a",{key:1,class:"star-btn",title:"\u70B9\u8D5E",onClick:e[1]||(e[1]=V=>n.StarApp(n.col.name))},[U(c)]))],64)):B("",!0)]),r("div",{class:"app-description cbi-value-description",title:n.col.description},[r("span",null,P(n.col.description||"\u6682\u65E0\u63CF\u8FF0"),1)],8,kn),r("div",wn,[r("span",null,"\u4F5C\u8005:"+P(n.col.author||"\u6682\u65E0"),1)]),r("div",Cn,[r("span",null,"\u66F4\u65B0\u65E5\u671F:"+P(n.formatDate(n.col.time*1e3)||"\u6682\u65E0"),1)])])]),r("div",Sn,[n.col.website?(d(),p("a",{key:0,class:"app-btn cbi-button cbi-button-apply",target:"_blank",href:n.col.website},"\u5B98\u7F51",8,xn)):B("",!0),An,n.col.installed?(d(),p(D,{key:1},[((u=n.col)==null?void 0:u.curVersion)!=((v=n.col)==null?void 0:v.lastVersion)||((h=n.col)==null?void 0:h.curRelease)!=((G=n.col)==null?void 0:G.lastRelease)?(d(),p("a",{key:0,class:"app-btn cbi-button cbi-button-reload",onClick:e[2]||(e[2]=V=>n.upgrade(n.col.name))},"\u66F4\u65B0")):B("",!0),n.col.entry?(d(),p("a",{key:1,class:"app-btn cbi-button cbi-button-apply",href:n.col.entry},"\u6253\u5F00",8,Ln)):B("",!0),Tn,r("a",{class:"app-btn cbi-button cbi-button-remove",onClick:e[3]||(e[3]=V=>n.uninstall(n.col.name))},"\u5378\u8F7D")],64)):(d(),p("a",{key:2,class:"app-btn cbi-button cbi-button-add",onClick:e[4]||(e[4]=V=>n.install(n.col.name))},"\u5B89\u88C5"))])])}var ht=y(rn,[["render",In],["__scopeId","data-v-c1f37206"]]);const En={components:{AppComponent:ht},setup(){const t=F();return{apps:C(()=>t.getters["apps/LocalApps"])}}},Pn={class:"cbi-section"},Bn={class:"containers"};function Dn(t,e,o,n,a,l){const s=L("AppComponent");return d(),p("fieldset",Pn,[r("div",Bn,[(d(!0),p(D,null,K(n.apps,c=>(d(),q(s,{key:c.name,col:c},null,8,["col"]))),128))])])}var Fn=y(En,[["render",Dn],["__scopeId","data-v-708cb351"]]);const Mn={setup(){const t=g("default"),e=F(),o=g([{key:"\u9ED8\u8BA4",value:"default"},{key:"\u6309\u4E0B\u8F7D\u6570",value:"download"},{key:"\u6309\u8BC4\u5206",value:"star"}]);return{selectSort:a=>{t.value=a,e.dispatch("apps/filterCurApps",{sort:a})},curSort:t,sorts:o}}},Vn=t=>(R("data-v-e8823026"),t=t(),z(),t),Un={class:"sort-container"},On=Vn(()=>r("div",{class:"sort-title"},"\u6392\u5E8F:",-1)),Rn={class:"sort-value"},zn=["value","onClick"];function Gn(t,e,o,n,a,l){return d(),p("div",Un,[On,r("div",Rn,[(d(!0),p(D,null,K(n.sorts,s=>(d(),p("input",{key:s.value,class:H(["cbi-button",{"cbi-button-apply":n.curSort==s.value}]),type:"button",value:s.key,onClick:c=>n.selectSort(s.value)},null,10,zn))),128))])])}var Kn=y(Mn,[["render",Gn],["__scopeId","data-v-e8823026"]]);const Wn={setup(){const t=g("default"),e=F(),o=C(()=>e.getters["tags/Tags"]),n=T.getTagValue;return{tags:o,curTag:t,selectTag:l=>{t.value=l,e.dispatch("apps/filterCurApps",{tag:l})},getTagValue:n}}},Zn=t=>(R("data-v-5b43124a"),t=t(),z(),t),qn={class:"tags-container"},Hn=Zn(()=>r("div",{class:"tags-title"}," \u6807\u7B7E: ",-1)),Yn={class:"tags-value"},Nn=["value","onClick"];function Jn(t,e,o,n,a,l){return d(),p("div",qn,[Hn,r("div",Yn,[r("input",{class:H(["cbi-button",{"cbi-button-apply":n.curTag=="default"}]),type:"button",value:"\u9ED8\u8BA4",onClick:e[0]||(e[0]=s=>n.selectTag("default"))},null,2),(d(!0),p(D,null,K(n.tags,s=>(d(),p("input",{key:s,class:H(["cbi-button",{"cbi-button-apply":n.curTag==s}]),type:"button",value:n.getTagValue(s),onClick:c=>n.selectTag(s)},null,10,Nn))),128))])])}var Qn=y(Wn,[["render",Jn],["__scopeId","data-v-5b43124a"]]);const Xn={setup(){const t=g(""),e=F();return{searchKey:t,submitSearch:()=>{e.dispatch("apps/filterCurApps",{search:t.value})}}}};function jn(t,e,o,n,a,l){const s=L("svg-search");return d(),p("form",{class:"search",onSubmit:e[2]||(e[2]=mt((...c)=>n.submitSearch&&n.submitSearch(...c),["prevent"]))},[r("a",{class:"search-btn",onClick:e[0]||(e[0]=(...c)=>n.submitSearch&&n.submitSearch(...c))},[U(s)]),j(r("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD","onUpdate:modelValue":e[1]||(e[1]=c=>n.searchKey=c)},null,512),[[_t,n.searchKey,void 0,{trim:!0}]])],32)}var to=y(Xn,[["render",jn],["__scopeId","data-v-67adb4c4"]]);const eo={components:{AppComponent:ht},setup(t){const e=F(),o=C(()=>e.getters["apps/StoreApps"]),n=C(()=>e.state.apps.Load);return{apps:o,load:n}}},no={class:"containers"},oo={key:1,style:{margin:"10px 0","text-align":"center",width:"100%"}};function so(t,e,o,n,a,l){const s=L("AppComponent");return d(),p("div",no,[n.load?(d(!0),p(D,{key:0},K(n.apps,c=>(d(),q(s,{key:c.name,col:c},null,8,["col"]))),128)):(d(),p("span",oo,"\u6B63\u5728\u52AA\u529B\u7684\u83B7\u53D6\u6570\u636E..."))])}var ao=y(eo,[["render",so],["__scopeId","data-v-5d27abed"]]);const ro={name:"Store",components:{SortComponent:Kn,TagComponent:Qn,SearchComponent:to,AppsComponent:ao},setup(){}},co={class:"cbi-section"};function lo(t,e,o,n,a,l){const s=L("SearchComponent"),c=L("TagComponent"),_=L("SortComponent"),f=L("AppsComponent");return d(),p("fieldset",co,[U(s),U(c),U(_),U(f)])}var io=y(ro,[["render",lo],["__scopeId","data-v-603a8f16"]]);const uo={setup(){const t=g(null),e=g(null);dt(()=>{if(t.value){const l=t.value;l.addEventListener("dragenter",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragenter")},!1),l.addEventListener("dragleave",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragleave")},!1),l.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer.dropEffect="link"},!1),l.addEventListener("drop",s=>{console.log("drop"),s.preventDefault(),o(s)},!1)}});const o=l=>{const s=l.dataTransfer.files;if(s&&s.length>0){const c=s[0];a(c);return}},n=l=>{const s=l.target.files;if(s&&s.length>0){const c=s[0];a(c);return}},a=l=>{if(l.name.endsWith(".run")||l.name.endsWith(".ipk")){let s=new FormData;s.append(l.name,l),A.Start("upload"),b.uploadAppIPK(s).then(c=>{let _=c.stdout,f=c.stderr;A.Add(`${_} -${f}`),A.End(c.code)}).catch(c=>{A.Add(c),A.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(c){}})}};return{file:e,upl:t,uploadFile:n,sumbitUpload:a}}},at=t=>(R("data-v-739bd664"),t=t(),z(),t),po={class:"cbi-section"},_o=at(()=>r("div",{class:"container_msg cbi-map-descr"},[r("span",null,"\u79BB\u7EBF\u5B89\u88C5"),r("span",null,"\xB7 \u901A\u8FC7\u672C\u9875\uFF0C\u4F60\u53EF\u4EE5\u4E0A\u4F20\u63D2\u4EF6\u5305\u6765\u5B89\u88C5\u63D2\u4EF6"),r("span",null,"\xB7 \u652F\u6301 .ipk \u63D2\u4EF6\uFF0C.run \u81EA\u89E3\u538B\u683C\u5F0F")],-1)),mo={class:"flex",ref:"upl"},ho={class:"upload-file"},vo=at(()=>r("div",{class:"button"},"\u9009\u62E9\u6216\u62D6\u653E\u6587\u4EF6",-1)),fo=at(()=>r("div",{class:"auto"},null,-1));function go(t,e,o,n,a,l){var s;return d(),p("fieldset",po,[_o,r("form",{onSubmit:e[1]||(e[1]=mt((...c)=>n.sumbitUpload&&n.sumbitUpload(...c),["prevent"]))},[r("div",mo,[r("label",ho,[r("span",null,P(((s=n.file)==null?void 0:s.name)||"\u672A\u9009\u62E9\u4EFB\u4F55\u6587\u4EF6"),1),r("input",{type:"file",name:"file",accept:".ipk, .run",hidden:"",onChange:e[0]||(e[0]=(...c)=>n.uploadFile&&n.uploadFile(...c))},null,32),vo]),fo],512)],32)])}var yo=y(uo,[["render",go],["__scopeId","data-v-739bd664"]]);const bo={setup(){F();const t=C(()=>""),e=C(()=>""),o=C(()=>`${T.getIframeURL()}/#/apps?token=${e.value}&deviceId=${t.value}`);return{token:e,deviceId:t,iframeUrl:o}}},$o={class:"cbi-section"},ko={class:"webapp-container"},wo=["src"];function Co(t,e,o,n,a,l){return d(),p("fieldset",$o,[r("div",ko,[r("iframe",{src:n.iframeUrl,sandbox:"allow-scripts allow-same-origin allow-popups",seamless:""},null,8,wo)])])}var So=y(bo,[["render",Co],["__scopeId","data-v-19ff0ff6"]]);const xo=At({setup(){const t=F(),e=C(()=>t.state.version),o=C(()=>t.state.versionLoad);return{updateVersion:()=>{O.Start("\u6B63\u5728\u66F4\u65B0..."),b.selfUpdateIstore().then(({data:a})=>{if(a){const{stdout:l,stderr:s,code:c}=a;if(c==0){E("\u66F4\u65B0\u6210\u529F"),t.dispatch("istoreUpdated");return}else throw s||"unknown error"}throw"unknown error"}).catch(a=>{E("\u66F4\u65B0\u5931\u8D25: "+a)}).finally(()=>{O.Stop()})},version:e,load:o}}}),Ao={class:"log-containers"},Lo={key:0,class:"containers-tit"},To={key:1,class:"containers-tit"},Io={key:1};function Eo(t,e,o,n,a,l){return d(),p("div",Ao,[t.load?(d(),p("div",To,[t.version?(d(),p(D,{key:0},[r("span",null,"\u6700\u65B0\u7248\u672C:"+P(t.version),1),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=s=>t.updateVersion()),value:"\u70B9\u6211\u66F4\u65B0"})],64)):(d(),p("span",Io,"\u5F53\u524D\u5DF2\u7ECF\u662F\u6700\u65B0\u7248\u672C..."))])):(d(),p("div",Lo,"\u6B63\u5728\u68C0\u67E5\u6700\u65B0\u7248\u672C"))])}var Po=y(xo,[["render",Eo],["__scopeId","data-v-49481c33"]]);const Bo={setup(){const t=g(""),e=g(null),o=()=>{O.Start("\u6B63\u5728\u5907\u4EFD..."),b.lightBackup().then(s=>{if(s){const{msg:c,code:_}=s;if(_==200){E({content:'\u5907\u4EFD\u5B8C\u6210\uFF0C\u70B9\u6B64\u4E0B\u8F7D

',keep:!0,html:!0});return}else throw c||"unknown error"}throw"unknown error"}).catch(s=>{E("\u5907\u4EFD\u5931\u8D25: "+s)}).finally(()=>{O.Stop()})};g(null);const n=s=>{const c=s.target.files;if(c&&c.length>0){const _=c[0];a(_);return}},a=s=>{let c=new FormData;c.append(s.name,s),A.Start("upload"),b.lightRestore(c).then(_=>{let f=_.stdout,k=_.stderr;A.Add(`${f} -${k}`),A.End(_.code)}).catch(_=>{A.Add(_),A.End(500)})};return{upl:e,stdout:t,lightBackup:o,uploadFile:n,sumbitUpload:a,triggerFile:s=>{e.value.click(s),s.preventDefault()}}}},vt=t=>(R("data-v-eca17d82"),t=t(),z(),t),Do={class:"Lightweight"},Fo={class:"Lightweight-container"},Mo=vt(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),Vo={class:"Lightweight-container1"},Uo={class:"container1-center"},Oo=vt(()=>r("div",{class:"Lightweight-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u4E0B\u8F7DiStore\u5DF2\u5B89\u88C5\u7684\u8F6F\u4EF6\u5217\u8868\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u5907\u4EFD\u65F6\u4E0A\u4F20\u8F6F\u4EF6\u5217\u8868\u5E76\u4ECEiStore\u5B89\u88C5")],-1)),Ro={class:"Lightweight-backup"};function zo(t,e,o,n,a,l){return d(),p("div",Do,[r("div",Fo,[Mo,r("div",Vo,[r("div",Uo,[Oo,r("div",Ro,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=(...s)=>n.lightBackup&&n.lightBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"file",name:"file",accept:".tar, .gz",hidden:"",onChange:e[1]||(e[1]=(...s)=>n.uploadFile&&n.uploadFile(...s)),ref:"upl"},null,544),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.triggerFile&&n.triggerFile(...s)),value:"\u6062\u590D\u5907\u4EFD"})])])])])])}var Go=y(Bo,[["render",zo],["__scopeId","data-v-eca17d82"]]);const X=g([]),x=g("-");let N="-";const Ko={setup(){const t=g(!1),e=g([]),o=g(""),n=g(""),a=g(),l=(m,i)=>{if(!(i===""||i==="-"||m.find(u=>u.path===i))){let u;m.filter(v=>v.mount&&v.dev&&i.startsWith(v.mount)).forEach(v=>{u&&u.mount.length>v.mount.length||(u=v)}),m.push({path:i,size:u?u.size:void 0})}X.value=m,i!=="-"&&(x.value=i,s())};x.value=="-"&&(b.localBackupdirPath().then(m=>{if(m){const{code:i,msg:u}=m;i==200&&l(X.value,u)}}),b.getBlockDevices().then(m=>{if(m&&m.code==200){const i=m.data,u=[];for(let v in i){const h=i[v];h.mount&&h.mount!="/"&&h.mount!="/rom"&&h.mount!="/overlay"&&u.push(h)}u.forEach(v=>{v.path=v.mount+"/istore_backup"}),l(u,u.length>0&&x.value==="-"?"":x.value)}}));const s=m=>{t.value=!1,x.value==="-"?(N!="-"&&(n.value=N),a.value.focus()):N=x.value},c=m=>{n.value==""?N!="-"?x.value=N:x.value="":n.value.startsWith("/")?l(X.value,n.value):(E("\u8BF7\u8F93\u5165\u8DEF\u5F84\uFF0C\u653E\u5F03\u8F93\u5165\u8BF7\u6E05\u7A7A\u8F93\u5165\u6846"),a.value.setSelectionRange(0,n.value.length),a.value.focus())},_=()=>x.value.length>1&&x.value.endsWith("/")?x.value.substring(0,x.value.length-1):x.value,f=()=>{let m=_();if(m==""){E("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}t.value=!1,b.backupFileList(m).then(i=>{if(i){const{code:u,msg:v}=i;if(u==200){let h=JSON.parse(v);h.length==0?(E("\u6B64\u8DEF\u5F84\u4E0B\u6CA1\u6709\u5907\u4EFD\u6587\u4EF6"),t.value=!1):(e.value=h,t.value=!0);return}throw v||"unknown error"}throw"unknown error"}).catch(i=>{E(i)})},k=()=>{let m=_();if(m==""){E("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}O.Start("\u6B63\u5728\u5907\u4EFD..."),b.localBackup(m).then(i=>{if(i){const{msg:u,code:v,stderr:h}=i;if(v==0){E("\u5907\u4EFD\u6210\u529F");return}else throw v==500?u:h||"unknown error"}throw"unknown error"}).catch(i=>{E("\u5907\u4EFD\u5931\u8D25: "+i)}).finally(()=>{O.Stop()})},I=m=>x.value.endsWith("/")?x.value+m:x.value+"/"+m;return{path:x,devices:X,input_path:n,user_input:a,showList:t,result:e,restore_file:o,backupFileList:f,localBackup:k,localRestore:()=>{if(o.value===""){E("\u8BF7\u9009\u62E9\u8981\u6062\u590D\u7684\u5907\u4EFD\u6587\u4EF6");return}O.Start("\u6B63\u5728\u6062\u590D\u5907\u4EFD..."),b.localRestore(I(o.value)).then(m=>{if(m){const{msg:i,stderr:u,code:v}=m;if(v==0){E("\u6062\u590D\u5907\u4EFD\u6210\u529F");return}else throw i||u||"unknown error"}throw"unknown error"}).catch(m=>{E("\u6062\u590D\u5907\u4EFD\u5931\u8D25: "+m)}).finally(()=>{O.Stop()})},onPathChanged:s,onInputPathChanged:c}}},Y=t=>(R("data-v-3745735c"),t=t(),z(),t),Wo={class:"local"},Zo={class:"local-container"},qo=Y(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),Ho={class:"local-container1"},Yo={class:"container1-center"},No=Y(()=>r("div",{class:"local-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u5907\u4EFD\u5DF2\u5B89\u88C5\u8F6F\u4EF6\uFF08\u4E0D\u9650\u5B89\u88C5\u6765\u6E90\uFF09\u5230\u5916\u90E8\u5B58\u50A8\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u65F6\u4E0D\u9700\u8981\u7F51\u7EDC")],-1)),Jo=Y(()=>r("div",{class:"local-device"},"\u5916\u90E8\u5B58\u50A8\u76EE\u5F55\uFF1A",-1)),Qo={class:"local-input"},Xo=Y(()=>r("option",{value:"",disabled:""},"\u8BF7\u9009\u62E9",-1)),jo=["value"],ts=Y(()=>r("option",{value:"-"},"\u81EA\u5B9A\u4E49",-1)),es={key:2,class:"local-btn"},ns={key:0,class:"device-list"},os=Y(()=>r("div",null,"\u9009\u62E9\u5907\u4EFD\u6587\u4EF6\uFF1A",-1)),ss=["value"];function as(t,e,o,n,a,l){return d(),p("div",Wo,[r("div",Zo,[qo,r("div",Ho,[r("div",Yo,[No,Jo,r("div",Qo,[n.path!="-"?j((d(),p("select",{key:0,class:"local-input-field",onChange:e[0]||(e[0]=(...s)=>n.onPathChanged&&n.onPathChanged(...s)),"onUpdate:modelValue":e[1]||(e[1]=s=>n.path=s)},[Xo,(d(!0),p(D,null,K(n.devices,(s,c)=>(d(),p("option",{value:s.path,key:c},P(s.path+(s.size?"\uFF08"+s.size+"\uFF09":"")),9,jo))),128)),ts],544)),[[lt,n.path,void 0,{trim:!0}]]):j((d(),p("input",{key:1,class:"local-input-field",onBlur:e[2]||(e[2]=(...s)=>n.onInputPathChanged&&n.onInputPathChanged(...s)),onKeyup:e[3]||(e[3]=Lt((...s)=>n.onInputPathChanged&&n.onInputPathChanged(...s),["enter"])),placeholder:"\u8BF7\u8F93\u5165/\u5F00\u5934\u7684\u7EDD\u5BF9\u8DEF\u5F84",type:"text","onUpdate:modelValue":e[4]||(e[4]=s=>n.input_path=s),ref:"user_input"},null,544)),[[_t,n.input_path,void 0,{trim:!0}]]),n.path!="-"&&n.path!=""?(d(),p("div",es,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[5]||(e[5]=(...s)=>n.localBackup&&n.localBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[6]||(e[6]=(...s)=>n.backupFileList&&n.backupFileList(...s)),value:"\u6062\u590D\u5907\u4EFD"})])):B("",!0)]),n.showList?(d(),p("div",ns,[os,j(r("select",{"onUpdate:modelValue":e[7]||(e[7]=s=>n.restore_file=s)},[(d(!0),p(D,null,K(n.result,s=>(d(),p("option",{key:s,value:s},P(s),9,ss))),128))],512),[[lt,n.restore_file,void 0,{trim:!0}]]),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[8]||(e[8]=(...s)=>n.localRestore&&n.localRestore(...s)),value:"\u7ACB\u5373\u6062\u590D"})])):B("",!0)])])])])}var rs=y(Ko,[["render",as],["__scopeId","data-v-3745735c"]]);const cs=g(2),ls={components:{update:Po,lightBackup:Go,localBackup:rs},setup(){return{setup:cs}}},et=t=>(R("data-v-ee364f80"),t=t(),z(),t),is={class:"cbi-map"},us={class:"cbi-section"},ds=et(()=>r("span",{class:"panel-title"},"\u66F4\u65B0iStore",-1)),ps={class:"cbi-section"},_s=et(()=>r("span",{class:"panel-title"},"\u8F6F\u4EF6\u5907\u4EFD",-1)),ms={class:"cbi-tabmenu"},hs=et(()=>r("a",{onclick:"false",href:"#"},"\u8F7B\u91CF\u5907\u4EFD",-1)),vs=[hs],fs=et(()=>r("a",{onclick:"false",href:"#"},"\u672C\u5730\u5907\u4EFD",-1)),gs=[fs];function ys(t,e,o,n,a,l){const s=L("update"),c=L("lightBackup"),_=L("localBackup");return d(),p("div",is,[r("fieldset",us,[ds,U(s)]),r("fieldset",ps,[_s,r("ul",ms,[r("li",{class:H(n.setup==2?"cbi-tab":"cbi-tab-disabled"),onClick:e[0]||(e[0]=f=>n.setup=2)},vs,2),r("li",{class:H(n.setup==3?"cbi-tab":"cbi-tab-disabled"),onClick:e[1]||(e[1]=f=>n.setup=3)},gs,2)]),n.setup==2?(d(),q(c,{key:0})):B("",!0),n.setup==3?(d(),q(_,{key:1})):B("",!0)])])}var bs=y(ls,[["render",ys],["__scopeId","data-v-ee364f80"]]);const $s=Tt({history:It(T.BasePage()),routes:[{path:"/",redirect:"/installed"},{path:"/installed",name:"Installed",component:Fn},{path:"/store",name:"Store",component:io},{path:"/upload",name:"Upload",component:yo},{path:"/webapps",name:"Webapps",component:So},{path:"/maintance",name:"Maintance",component:bs},{path:"/:pathMatch(.*)*",name:"notfound",redirect:"/"}]}),ks={},ws={width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Cs=r("path",{d:"M14.9234958,14.5525054 L10.84453,10.4679606 C11.8849284,9.46327833 12.5294813,8.07823887 12.5294813,6.55073066 C12.5294813,3.48989918 9.94358337,1 6.76474066,1 C3.58589795,1 1,3.48989918 1,6.55073066 C1,9.61156213 3.58589795,12.1014613 6.76474066,12.1014613 C8.16008242,12.1014613 9.44067838,11.621191 10.438802,10.8242646 L14.5276502,14.9188536 C14.5814545,14.9730393 14.6533765,15 14.725573,15 C14.7942009,15 14.8625542,14.9754182 14.9158095,14.9262546 C15.025065,14.8250198 15.0283592,14.6577049 14.9234958,14.5525054 Z M6.76474066,11.5728203 C3.8886841,11.5728203 1.54902292,9.32001661 1.54902292,6.55073066 C1.54902292,3.7814447 3.8886841,1.52864101 6.76474066,1.52864101 C9.64079723,1.52864101 11.9804584,3.7814447 11.9804584,6.55073066 C11.9804584,9.32001661 9.64052272,11.5728203 6.76474066,11.5728203 Z",id:"Shape",stroke:"#FFFFFF","stroke-width":"1.3"},null,-1),Ss=[Cs];function xs(t,e,o,n,a,l){return d(),p("svg",ws,Ss)}var As=y(ks,[["render",xs]]);const Ls={},Ts={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Is=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.81814832,10.9090654 L9.43153778,10.9090654 C9.70352269,10.9121048 9.93620458,10.7143252 9.97712277,10.4445109 L10.7297188,5.53628009 C10.7537339,5.3780602 10.7070546,5.2172762 10.602045,5.09651513 C10.4970353,4.97575406 10.3442908,4.9072007 10.1780925,4.90904784 L7.09084687,4.90904784 C6.78960329,4.90904784 6.54539711,4.66484166 6.54539711,4.36359808 L6.54539711,2.18179904 C6.54539711,1.69494967 6.22647822,1.2825878 5.78615711,1.14223013 L3.81814832,5.57024992 L3.81814832,10.9090654 Z M2.7272488,5.99994736 L1.63634928,5.99994736 C1.33510569,5.99994736 1.09089952,6.24415353 1.09089952,6.54539711 L1.09089952,10.3635454 C1.09089952,10.664789 1.33510569,10.9089952 1.63634928,10.9089952 L2.7272488,10.9089952 L2.7272488,5.99994736 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 -1.03028697e-13,11.2672762 -1.03028697e-13,10.3635454 L-1.03028697e-13,6.54539711 C-1.03028697e-13,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFFFFF","fill-rule":"nonzero"},null,-1),Es=[Is];function Ps(t,e,o,n,a,l){return d(),p("svg",Ts,Es)}var Bs=y(Ls,[["render",Ps]]);const Ds={},Fs={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ms=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 0,11.2672762 0,10.3635454 L0,6.54539711 C0,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFE45A","fill-rule":"nonzero"},null,-1),Vs=[Ms];function Us(t,e,o,n,a,l){return d(),p("svg",Fs,Vs)}var Os=y(Ds,[["render",Us]]);const Q=ot(Ke);Q.component("svg-search",As);Q.component("svg-star-on",Bs);Q.component("svg-star-off",Os);Q.use($s).use(J);Q.mount("#app")});export default Rs(); +`),Close:u,disabled:l,textDom:s}},mounted(){this.$nextTick(()=>{const t=document.querySelector("body");t.append?t.append(this.$el):t.appendChild(this.$el)})}},st=t=>(R("data-v-6695545b"),t=t(),z(),t),Ee={class:"software-log_shade"},Pe=st(()=>r("div",{class:"software-log_shade__bg"},null,-1)),Be={class:"software-log_shade__pannel"},De=st(()=>r("div",{class:"software-log_shade__pannel-title"}," \u8F6F\u4EF6\u4E2D\u5FC3 - \u65E5\u5FD7\u8BB0\u5F55 ",-1)),Fe=st(()=>r("div",{class:"software-log_shade__pannel-now"},[r("i",null,"\xA0\xA0\xA0\xA0\u63D2\u4EF6\u5B89\u88C5/\u5378\u8F7D\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5237\u65B0\u6B64\u9875\u9762\uFF01")],-1)),Me={class:"software-log_shade__pannel-content"},Ve=["value"],Ue={key:0,class:"software-log_shade__pannel-btn"};function Oe(t,e,o,n,a,l){return d(),p("div",Ee,[Pe,r("div",Be,[De,Fe,r("div",Me,[r("textarea",{ref:"textDom",cols:"63",rows:"26",wrap:"on",readonly:"readonly",autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",value:n.logText},null,8,Ve)]),n.disabled?(d(),p("div",Ue,[r("button",{class:"close",onClick:e[0]||(e[0]=s=>n.Close())}," \u5173\u95ED ")])):B("",!0)])])}var Re=y(Ie,[["render",Oe],["__scopeId","data-v-6695545b"]]);const ze={components:{AnnouncementComponent:Ft,TabsComponent:ne,LogComponent:Re},setup(){const t=M();return t.dispatch("getData"),{logStatus:C(()=>t.state.log.status)}}};function Ge(t,e,o,n,a,l){const s=L("TabsComponent"),c=L("router-view"),_=L("LogComponent");return d(),p(F,null,[U(s),U(c),n.logStatus?(d(),q(_,{key:0})):B("",!0)],64)}var Ke=y(ze,[["render",Ge]]);const We={props:{content:String,type:String,Close:Function,keep:Boolean,html:Boolean},setup(t){const e=g(t.content),o=g(t.keep),n=g(t.html);return t.keep||setTimeout(()=>{t.Close()},2e3),{msg:e,keep:o,close:()=>{t.Close()},html:n}}},Ze={class:"toast"},qe={key:1,class:"msg"},He=["innerHTML"];function Ye(t,e,o,n,a,l){return d(),p("div",Ze,[n.keep?(d(),p("div",{key:0,class:"toast-close",onClick:e[0]||(e[0]=(...s)=>n.close&&n.close(...s)),title:"\u5173\u95ED"},"x")):B("",!0),n.html?B("",!0):(d(),p("div",qe,P(n.msg),1)),n.html?(d(),p("div",{key:2,class:"msg",innerHTML:n.msg},null,8,He)):B("",!0)])}var Ne=y(We,[["render",Ye],["__scopeId","data-v-5ced897a"]]);const E=t=>{let e={content:"",type:"",keep:!1,html:!1,Close:()=>{n.unmount(o),document.body.removeChild(o)}};t!=null&&(typeof t=="object"?(e.content=(t==null?void 0:t.content)||"",e.type=(t==null?void 0:t.type)||"",e.keep=(t==null?void 0:t.keep)||!1,e.html=(t==null?void 0:t.html)||!1):e.content=t);let o=document.createElement("div"),n=ot(Ne,e);document.body.append(o),n.mount(o),pt(()=>{n.unmount(o),document.body.removeChild(o)})},Je={props:{content:String,Close:Function},setup(t){return{message:t.content}}},Qe=t=>(R("data-v-6d7664a4"),t=t(),z(),t),Xe={class:"loading"},je=Qe(()=>r("div",{class:"icon"},null,-1)),tn={class:"msg"};function en(t,e,o,n,a,l){return d(),p("div",Xe,[je,r("div",tn,P(n.message),1)])}var nn=y(Je,[["render",en],["__scopeId","data-v-6d7664a4"]]),O={props:{content:"",Close:()=>{}},Start(t){this.props={content:t||"\u52A0\u8F7D\u4E2D...",Close:()=>{e.unmount(o),document.body.removeChild(o)}};let e=ot(nn,this.props),o=document.createElement("div");document.body.append(o),e.mount(o),pt(()=>{this.props.Close()})},Stop(){this.props.Close()}},on={namespaced:!0,state:{Load:!1,LocalApps:[],StoreApps:[],Expand:{},Cur:{tag:"default",sort:"default",search:"",limit:30,offset:0},LocalAppsMap:{},StoreAppsMap:{}},mutations:{setExpand(t,e){t.Expand=e},setLocalApps(t,e){t.LocalApps=e||[],e.forEach(o=>{t.LocalAppsMap[o.name]=o})},setStoreApps(t,e){t.StoreApps=e||[],e.forEach(o=>{t.StoreAppsMap[o.name]=o})},setCur(t,e){for(const o in e)Object.hasOwnProperty.call(e,o)&&(t.Cur[o]=e[o])}},getters:{Cur(t){return t.Cur},LocalApps(t){let e=[...t.LocalApps],o=t.Expand;for(let n=0;n{u.tags&&u.tags.forEach(v=>{v==n&&i.push(u)})}),e=i}let a=t.Cur.search;if(a){let i=[];e.forEach(u=>{let v=JSON.stringify(u);new RegExp(a,"i").test(v)&&i.push(u)}),e=i}let l=e.length;switch(t.Cur.sort){case"download":for(let i=0;i{o.forEach(n=>{n.installed=!0}),e("setLocalApps",o)})},getStoreApps(t,e){const{state:o,commit:n,dispatch:a}=t;let l=[];b.getStoreAppList(e).then(s=>{s.apps&&(s.apps.forEach(c=>{l.push(c.name)}),a("getStoreAppsExpand",l),n("setStoreApps",s.apps)),o.Load=!0}).catch(s=>{console.log(s)})},getStoreAppsExpand(t,e){const{commit:o}=t;b.getAppExpandData(e).then(n=>{n&&o("setExpand",n)})}}},sn={namespaced:!0,state:{Tags:[],Total:0},mutations:{},getters:{Tags(t){return t.Tags},Total(t){return t.Total}},actions:{getTags(t){const{state:e,commit:o}=t;b.getStoreTags().then(n=>{e.Tags=(n==null?void 0:n.tags)||[],e.Total=(n==null?void 0:n.total)||0})}}},an={namespaced:!0,state:{status:!1,action:"install",content:"",end:!1,exitCode:void 0},mutations:{setStatus(t,e){t.status=e.status,t.action=(e==null?void 0:e.action)||"install",t.content=(e==null?void 0:e.content)||"",t.end=(e==null?void 0:e.end)||!1,t.exitCode=void 0},setContent(t,e){t.content=e},setEnd(t,e){t.end=!0,t.exitCode=e}},getters:{},actions:{}},J=xt({state:{version:"",versionLoad:!1},mutations:{setVersion(t,e){t.version=e},setVersionLoad(t,e){t.versionLoad=e}},modules:{apps:on,tags:sn,log:an},actions:{getData(t){const{dispatch:e}=t;e("tags/getTags"),e("apps/getApps"),e("getVersion")},getVersion(t){return $(this,null,function*(){const{commit:e}=t;try{const o=yield b.updateIstore(),{code:n,msg:a}=o==null?void 0:o.data;n==200&&e("setVersion",a)}catch(o){console.log(o)}e("setVersionLoad",!0)})},istoreUpdated(t){const{commit:e}=t;e("setVersion","")}}}),A={Start(t,e){J.commit("log/setStatus",{status:!0,action:t,content:""})},Stop(){J.commit("log/setStatus",{status:!1,action:"install",content:""})},Add(t){J.commit("log/setContent",t)},End(t){J.commit("log/setEnd",t)}};const rn={props:{col:{type:Object,default(){return{description:"",tags:[],entry:"",author:"",depends:[],installed:!1,hasupdate:!1,title:"",time:"",release:1,website:"",name:"",version:""}}}},setup(t,e){const o=C(()=>t.col),n=M(),a=T.formatDate,l=T.numberToSum,s=i=>{i.then(u=>{let v=u.stdout,h=u.stderr;A.Add(`${v} +${h}`),A.End(u.code)}).catch(u=>{A.Add(u),A.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(u){}})},c=i=>{A.Start("upgrade"),s(b.upgradeApp(i))},_=i=>{A.Start("install"),b.increasingDownloadCount(i),n.dispatch("apps/incrAppDownload",{name:i}),s(b.installApp(i))},f=i=>{confirm(`\u786E\u5B9A\u8981\u5378\u8F7D ${i} \u5417?`)&&(A.Start("uninstall"),s(b.removeApp(i)))},k=i=>$(this,null,function*(){O.Start();try{(yield b.postStarApp(i))&&n.dispatch("apps/incrAppStar",{name:i})}catch(u){}O.Stop()}),I=()=>{E("\u60A8\u5DF2\u7ECF\u70B9\u8D5E\u8FC7\u5566\uFF5E")},D=T.getTagValue;return{col:o,formatDate:a,numberToSum:l,upgrade:c,install:_,getAppIcon:i=>o.value.installed?`/luci-static/resources/app-icons/${i}.png`:o.value.icon?b.getStoreAppIcon(o.value.icon):`/luci-static/resources/app-icons/${i}.png`,uninstall:f,StarApp:k,StarApped:I,getTagValue:D}}},tt=t=>(R("data-v-c1f37206"),t=t(),z(),t),cn={class:"app-container"},ln={class:"app-info"},un={class:"app-f"},dn={class:"app-icon"},pn=["src"],_n={class:"app-tags"},mn={class:"tag"},hn=tt(()=>r("span",{class:"block"},"\uFF5C",-1)),vn={class:"app-r"},fn=["title"],gn={class:"app-name"},yn={class:"app-version"},bn={class:"app-as"},$n=tt(()=>r("span",{style:{margin:"0 10px"}},"|",-1)),kn=["title"],wn={class:"app-author"},Cn={class:"app-date"},Sn={class:"app-btns"},xn=["href"],An=tt(()=>r("div",{class:"auto"},null,-1)),Ln=["href"],Tn=tt(()=>r("div",{class:"app-margin-left"},null,-1));function In(t,e,o,n,a,l){var _,f,k,I,D,m,i,u,v,h,G;const s=L("svg-star-off"),c=L("svg-star-on");return d(),p("div",cn,[r("div",ln,[r("div",un,[r("div",dn,[r("img",{alt:"\u56FE\u6807\u51FA\u8D70\u5566",src:n.getAppIcon(n.col.name)},null,8,pn)]),r("div",_n,[(d(!0),p(F,null,K(n.col.tags,V=>(d(),p(F,{key:V},[r("div",mn,[r("span",null,P(n.getTagValue(V)),1)]),hn],64))),128))])]),r("div",vn,[r("div",{class:"app-title",title:n.col.name},[r("span",gn,P(n.col.title),1),r("span",yn,"v"+P(n.col.version),1)],8,fn),r("div",bn,[r("span",null,P(n.numberToSum((f=(_=n.col)==null?void 0:_.expand)==null?void 0:f.downloadCount))+" \u6B21\u4E0B\u8F7D",1),$n,r("span",null,P(n.numberToSum((I=(k=n.col)==null?void 0:k.expand)==null?void 0:I.starCount))+" \u6B21\u70B9\u8D5E",1),((D=n.col)==null?void 0:D.expand)!=null?(d(),p(F,{key:0},[(i=(m=n.col)==null?void 0:m.expand)!=null&&i.isStar?(d(),p("a",{key:0,class:"star-btn",title:"\u5DF2\u70B9\u8D5E",onClick:e[0]||(e[0]=V=>n.StarApped())},[U(s)])):(d(),p("a",{key:1,class:"star-btn",title:"\u70B9\u8D5E",onClick:e[1]||(e[1]=V=>n.StarApp(n.col.name))},[U(c)]))],64)):B("",!0)]),r("div",{class:"app-description cbi-value-description",title:n.col.description},[r("span",null,P(n.col.description||"\u6682\u65E0\u63CF\u8FF0"),1)],8,kn),r("div",wn,[r("span",null,"\u4F5C\u8005:"+P(n.col.author||"\u6682\u65E0"),1)]),r("div",Cn,[r("span",null,"\u66F4\u65B0\u65E5\u671F:"+P(n.formatDate(n.col.time*1e3)||"\u6682\u65E0"),1)])])]),r("div",Sn,[n.col.website?(d(),p("a",{key:0,class:"app-btn cbi-button cbi-button-apply",target:"_blank",href:n.col.website},"\u5B98\u7F51",8,xn)):B("",!0),An,n.col.installed?(d(),p(F,{key:1},[((u=n.col)==null?void 0:u.curVersion)!=((v=n.col)==null?void 0:v.lastVersion)||((h=n.col)==null?void 0:h.curRelease)!=((G=n.col)==null?void 0:G.lastRelease)?(d(),p("a",{key:0,class:"app-btn cbi-button cbi-button-reload",onClick:e[2]||(e[2]=V=>n.upgrade(n.col.name))},"\u66F4\u65B0")):B("",!0),n.col.entry?(d(),p("a",{key:1,class:"app-btn cbi-button cbi-button-apply",href:n.col.entry},"\u6253\u5F00",8,Ln)):B("",!0),Tn,r("a",{class:"app-btn cbi-button cbi-button-remove",onClick:e[3]||(e[3]=V=>n.uninstall(n.col.name))},"\u5378\u8F7D")],64)):(d(),p("a",{key:2,class:"app-btn cbi-button cbi-button-add",onClick:e[4]||(e[4]=V=>n.install(n.col.name))},"\u5B89\u88C5"))])])}var ht=y(rn,[["render",In],["__scopeId","data-v-c1f37206"]]);const En={components:{AppComponent:ht},setup(){const t=M();return{apps:C(()=>t.getters["apps/LocalApps"])}}},Pn={class:"cbi-section"},Bn={class:"containers"};function Dn(t,e,o,n,a,l){const s=L("AppComponent");return d(),p("fieldset",Pn,[r("div",Bn,[(d(!0),p(F,null,K(n.apps,c=>(d(),q(s,{key:c.name,col:c},null,8,["col"]))),128))])])}var Fn=y(En,[["render",Dn],["__scopeId","data-v-708cb351"]]);const Mn={setup(){const t=g("default"),e=M(),o=g([{key:"\u9ED8\u8BA4",value:"default"},{key:"\u6309\u4E0B\u8F7D\u6570",value:"download"},{key:"\u6309\u8BC4\u5206",value:"star"}]);return{selectSort:a=>{t.value=a,e.dispatch("apps/filterCurApps",{sort:a})},curSort:t,sorts:o}}},Vn=t=>(R("data-v-e8823026"),t=t(),z(),t),Un={class:"sort-container"},On=Vn(()=>r("div",{class:"sort-title"},"\u6392\u5E8F:",-1)),Rn={class:"sort-value"},zn=["value","onClick"];function Gn(t,e,o,n,a,l){return d(),p("div",Un,[On,r("div",Rn,[(d(!0),p(F,null,K(n.sorts,s=>(d(),p("input",{key:s.value,class:H(["cbi-button",{"cbi-button-apply":n.curSort==s.value}]),type:"button",value:s.key,onClick:c=>n.selectSort(s.value)},null,10,zn))),128))])])}var Kn=y(Mn,[["render",Gn],["__scopeId","data-v-e8823026"]]);const Wn={setup(){const t=g("default"),e=M(),o=C(()=>e.getters["tags/Tags"]),n=T.getTagValue;return{tags:o,curTag:t,selectTag:l=>{t.value=l,e.dispatch("apps/filterCurApps",{tag:l})},getTagValue:n}}},Zn=t=>(R("data-v-5b43124a"),t=t(),z(),t),qn={class:"tags-container"},Hn=Zn(()=>r("div",{class:"tags-title"}," \u6807\u7B7E: ",-1)),Yn={class:"tags-value"},Nn=["value","onClick"];function Jn(t,e,o,n,a,l){return d(),p("div",qn,[Hn,r("div",Yn,[r("input",{class:H(["cbi-button",{"cbi-button-apply":n.curTag=="default"}]),type:"button",value:"\u9ED8\u8BA4",onClick:e[0]||(e[0]=s=>n.selectTag("default"))},null,2),(d(!0),p(F,null,K(n.tags,s=>(d(),p("input",{key:s,class:H(["cbi-button",{"cbi-button-apply":n.curTag==s}]),type:"button",value:n.getTagValue(s),onClick:c=>n.selectTag(s)},null,10,Nn))),128))])])}var Qn=y(Wn,[["render",Jn],["__scopeId","data-v-5b43124a"]]);const Xn={setup(){const t=g(""),e=M();return{searchKey:t,submitSearch:()=>{e.dispatch("apps/filterCurApps",{search:t.value})}}}};function jn(t,e,o,n,a,l){const s=L("svg-search");return d(),p("form",{class:"search",onSubmit:e[2]||(e[2]=mt((...c)=>n.submitSearch&&n.submitSearch(...c),["prevent"]))},[r("a",{class:"search-btn",onClick:e[0]||(e[0]=(...c)=>n.submitSearch&&n.submitSearch(...c))},[U(s)]),j(r("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD","onUpdate:modelValue":e[1]||(e[1]=c=>n.searchKey=c)},null,512),[[_t,n.searchKey,void 0,{trim:!0}]])],32)}var to=y(Xn,[["render",jn],["__scopeId","data-v-67adb4c4"]]);const eo={components:{AppComponent:ht},setup(t){const e=M(),o=C(()=>e.getters["apps/StoreApps"]),n=C(()=>e.state.apps.Load);return{apps:o,load:n}}},no={class:"containers"},oo={key:1,style:{margin:"10px 0","text-align":"center",width:"100%"}};function so(t,e,o,n,a,l){const s=L("AppComponent");return d(),p("div",no,[n.load?(d(!0),p(F,{key:0},K(n.apps,c=>(d(),q(s,{key:c.name,col:c},null,8,["col"]))),128)):(d(),p("span",oo,"\u6B63\u5728\u52AA\u529B\u7684\u83B7\u53D6\u6570\u636E..."))])}var ao=y(eo,[["render",so],["__scopeId","data-v-5d27abed"]]);const ro={name:"Store",components:{SortComponent:Kn,TagComponent:Qn,SearchComponent:to,AppsComponent:ao},setup(){}},co={class:"cbi-section"};function lo(t,e,o,n,a,l){const s=L("SearchComponent"),c=L("TagComponent"),_=L("SortComponent"),f=L("AppsComponent");return d(),p("fieldset",co,[U(s),U(c),U(_),U(f)])}var io=y(ro,[["render",lo],["__scopeId","data-v-603a8f16"]]);const uo={setup(){const t=g(null),e=g(null);dt(()=>{if(t.value){const l=t.value;l.addEventListener("dragenter",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragenter")},!1),l.addEventListener("dragleave",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragleave")},!1),l.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer.dropEffect="link"},!1),l.addEventListener("drop",s=>{console.log("drop"),s.preventDefault(),o(s)},!1)}});const o=l=>{const s=l.dataTransfer.files;if(s&&s.length>0){const c=s[0];a(c);return}},n=l=>{const s=l.target.files;if(s&&s.length>0){const c=s[0];a(c);return}},a=l=>{if(l.name.endsWith(".run")||l.name.endsWith(".ipk")){let s=new FormData;s.append(l.name,l),A.Start("upload"),b.uploadAppIPK(s).then(c=>{let _=c.stdout,f=c.stderr;A.Add(`${_} +${f}`),A.End(c.code)}).catch(c=>{A.Add(c),A.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(c){}})}};return{file:e,upl:t,uploadFile:n,sumbitUpload:a}}},at=t=>(R("data-v-739bd664"),t=t(),z(),t),po={class:"cbi-section"},_o=at(()=>r("div",{class:"container_msg cbi-map-descr"},[r("span",null,"\u79BB\u7EBF\u5B89\u88C5"),r("span",null,"\xB7 \u901A\u8FC7\u672C\u9875\uFF0C\u4F60\u53EF\u4EE5\u4E0A\u4F20\u63D2\u4EF6\u5305\u6765\u5B89\u88C5\u63D2\u4EF6"),r("span",null,"\xB7 \u652F\u6301 .ipk \u63D2\u4EF6\uFF0C.run \u81EA\u89E3\u538B\u683C\u5F0F")],-1)),mo={class:"flex",ref:"upl"},ho={class:"upload-file"},vo=at(()=>r("div",{class:"button"},"\u9009\u62E9\u6216\u62D6\u653E\u6587\u4EF6",-1)),fo=at(()=>r("div",{class:"auto"},null,-1));function go(t,e,o,n,a,l){var s;return d(),p("fieldset",po,[_o,r("form",{onSubmit:e[1]||(e[1]=mt((...c)=>n.sumbitUpload&&n.sumbitUpload(...c),["prevent"]))},[r("div",mo,[r("label",ho,[r("span",null,P(((s=n.file)==null?void 0:s.name)||"\u672A\u9009\u62E9\u4EFB\u4F55\u6587\u4EF6"),1),r("input",{type:"file",name:"file",accept:".ipk, .run",hidden:"",onChange:e[0]||(e[0]=(...c)=>n.uploadFile&&n.uploadFile(...c))},null,32),vo]),fo],512)],32)])}var yo=y(uo,[["render",go],["__scopeId","data-v-739bd664"]]);const bo={setup(){M();const t=C(()=>""),e=C(()=>""),o=C(()=>`${T.getIframeURL()}/#/apps?token=${e.value}&deviceId=${t.value}`);return{token:e,deviceId:t,iframeUrl:o}}},$o={class:"cbi-section"},ko={class:"webapp-container"},wo=["src"];function Co(t,e,o,n,a,l){return d(),p("fieldset",$o,[r("div",ko,[r("iframe",{src:n.iframeUrl,sandbox:"allow-scripts allow-same-origin allow-popups",seamless:""},null,8,wo)])])}var So=y(bo,[["render",Co],["__scopeId","data-v-19ff0ff6"]]);const xo=At({setup(){const t=M(),e=C(()=>t.state.version),o=C(()=>t.state.versionLoad);return{updateVersion:()=>{O.Start("\u6B63\u5728\u66F4\u65B0..."),b.selfUpdateIstore().then(({data:a})=>{if(a){const{stdout:l,stderr:s,code:c}=a;if(c==0){E("\u66F4\u65B0\u6210\u529F"),t.dispatch("istoreUpdated");return}else throw s||"unknown error"}throw"unknown error"}).catch(a=>{E("\u66F4\u65B0\u5931\u8D25: "+a)}).finally(()=>{O.Stop()})},version:e,load:o}}}),Ao={class:"log-containers"},Lo={key:0,class:"containers-tit"},To={key:1,class:"containers-tit"},Io={key:1};function Eo(t,e,o,n,a,l){return d(),p("div",Ao,[t.load?(d(),p("div",To,[t.version?(d(),p(F,{key:0},[r("span",null,"\u6700\u65B0\u7248\u672C:"+P(t.version),1),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=s=>t.updateVersion()),value:"\u70B9\u6211\u66F4\u65B0"})],64)):(d(),p("span",Io,"\u5F53\u524D\u5DF2\u7ECF\u662F\u6700\u65B0\u7248\u672C..."))])):(d(),p("div",Lo,"\u6B63\u5728\u68C0\u67E5\u6700\u65B0\u7248\u672C"))])}var Po=y(xo,[["render",Eo],["__scopeId","data-v-49481c33"]]);const Bo={setup(){const t=g(""),e=g(null),o=()=>{O.Start("\u6B63\u5728\u5907\u4EFD..."),b.lightBackup().then(s=>{if(s){const{msg:c,code:_}=s;if(_==200){E({content:'\u5907\u4EFD\u5B8C\u6210\uFF0C\u70B9\u6B64\u4E0B\u8F7D

',keep:!0,html:!0});return}else throw c||"unknown error"}throw"unknown error"}).catch(s=>{E("\u5907\u4EFD\u5931\u8D25: "+s)}).finally(()=>{O.Stop()})};g(null);const n=s=>{const c=s.target.files;if(c&&c.length>0){const _=c[0];a(_);return}},a=s=>{let c=new FormData;c.append(s.name,s),A.Start("upload"),b.lightRestore(c).then(_=>{let f=_.stdout,k=_.stderr;A.Add(`${f} +${k}`),A.End(_.code)}).catch(_=>{A.Add(_),A.End(500)})};return{upl:e,stdout:t,lightBackup:o,uploadFile:n,sumbitUpload:a,triggerFile:s=>{e.value.click(s),s.preventDefault()}}}},vt=t=>(R("data-v-eca17d82"),t=t(),z(),t),Do={class:"Lightweight"},Fo={class:"Lightweight-container"},Mo=vt(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),Vo={class:"Lightweight-container1"},Uo={class:"container1-center"},Oo=vt(()=>r("div",{class:"Lightweight-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u4E0B\u8F7DiStore\u5DF2\u5B89\u88C5\u7684\u8F6F\u4EF6\u5217\u8868\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u5907\u4EFD\u65F6\u4E0A\u4F20\u8F6F\u4EF6\u5217\u8868\u5E76\u4ECEiStore\u5B89\u88C5")],-1)),Ro={class:"Lightweight-backup"};function zo(t,e,o,n,a,l){return d(),p("div",Do,[r("div",Fo,[Mo,r("div",Vo,[r("div",Uo,[Oo,r("div",Ro,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=(...s)=>n.lightBackup&&n.lightBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"file",name:"file",accept:".tar, .gz",hidden:"",onChange:e[1]||(e[1]=(...s)=>n.uploadFile&&n.uploadFile(...s)),ref:"upl"},null,544),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.triggerFile&&n.triggerFile(...s)),value:"\u6062\u590D\u5907\u4EFD"})])])])])])}var Go=y(Bo,[["render",zo],["__scopeId","data-v-eca17d82"]]);const X=g([]),x=g("-");let N="-";const Ko={setup(){const t=g(!1),e=g([]),o=g(""),n=g(""),a=g(),l=(m,i)=>{if(!(i===""||i==="-"||m.find(u=>u.path===i))){let u;m.filter(v=>v.mount&&v.dev&&i.startsWith(v.mount)).forEach(v=>{u&&u.mount.length>v.mount.length||(u=v)}),m.push({path:i,size:u?u.size:void 0})}X.value=m,i!=="-"&&(x.value=i,s())};x.value=="-"&&(b.localBackupdirPath().then(m=>{if(m){const{code:i,msg:u}=m;i==200&&l(X.value,u)}}),b.getBlockDevices().then(m=>{if(m&&m.code==200){const i=m.data,u=[];for(let v in i){const h=i[v];h.mount&&h.mount!="/"&&h.mount!="/rom"&&h.mount!="/overlay"&&u.push(h)}u.forEach(v=>{v.path=v.mount+"/istore_backup"}),l(u,u.length>0&&x.value==="-"?"":x.value)}}));const s=m=>{t.value=!1,x.value==="-"?(N!="-"&&(n.value=N),a.value.focus()):N=x.value},c=m=>{n.value==""?N!="-"?x.value=N:x.value="":n.value.startsWith("/")?l(X.value,n.value):(E("\u8BF7\u8F93\u5165\u8DEF\u5F84\uFF0C\u653E\u5F03\u8F93\u5165\u8BF7\u6E05\u7A7A\u8F93\u5165\u6846"),a.value.setSelectionRange(0,n.value.length),a.value.focus())},_=()=>x.value.length>1&&x.value.endsWith("/")?x.value.substring(0,x.value.length-1):x.value,f=()=>{let m=_();if(m==""){E("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}t.value=!1,b.backupFileList(m).then(i=>{if(i){const{code:u,msg:v}=i;if(u==200){let h=JSON.parse(v);h.length==0?(E("\u6B64\u8DEF\u5F84\u4E0B\u6CA1\u6709\u5907\u4EFD\u6587\u4EF6"),t.value=!1):(e.value=h,t.value=!0);return}throw v||"unknown error"}throw"unknown error"}).catch(i=>{E(i)})},k=()=>{let m=_();if(m==""){E("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}O.Start("\u6B63\u5728\u5907\u4EFD..."),b.localBackup(m).then(i=>{if(i){const{msg:u,code:v,stderr:h}=i;if(v==0){E("\u5907\u4EFD\u6210\u529F");return}else throw v==500?u:h||"unknown error"}throw"unknown error"}).catch(i=>{E("\u5907\u4EFD\u5931\u8D25: "+i)}).finally(()=>{O.Stop()})},I=m=>x.value.endsWith("/")?x.value+m:x.value+"/"+m;return{path:x,devices:X,input_path:n,user_input:a,showList:t,result:e,restore_file:o,backupFileList:f,localBackup:k,localRestore:()=>{if(o.value===""){E("\u8BF7\u9009\u62E9\u8981\u6062\u590D\u7684\u5907\u4EFD\u6587\u4EF6");return}O.Start("\u6B63\u5728\u6062\u590D\u5907\u4EFD..."),b.localRestore(I(o.value)).then(m=>{if(m){const{msg:i,stderr:u,code:v}=m;if(v==0){E("\u6062\u590D\u5907\u4EFD\u6210\u529F");return}else throw i||u||"unknown error"}throw"unknown error"}).catch(m=>{E("\u6062\u590D\u5907\u4EFD\u5931\u8D25: "+m)}).finally(()=>{O.Stop()})},onPathChanged:s,onInputPathChanged:c}}},Y=t=>(R("data-v-3745735c"),t=t(),z(),t),Wo={class:"local"},Zo={class:"local-container"},qo=Y(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),Ho={class:"local-container1"},Yo={class:"container1-center"},No=Y(()=>r("div",{class:"local-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u5907\u4EFD\u5DF2\u5B89\u88C5\u8F6F\u4EF6\uFF08\u4E0D\u9650\u5B89\u88C5\u6765\u6E90\uFF09\u5230\u5916\u90E8\u5B58\u50A8\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u65F6\u4E0D\u9700\u8981\u7F51\u7EDC")],-1)),Jo=Y(()=>r("div",{class:"local-device"},"\u5916\u90E8\u5B58\u50A8\u76EE\u5F55\uFF1A",-1)),Qo={class:"local-input"},Xo=Y(()=>r("option",{value:"",disabled:""},"\u8BF7\u9009\u62E9",-1)),jo=["value"],ts=Y(()=>r("option",{value:"-"},"\u81EA\u5B9A\u4E49",-1)),es={key:2,class:"local-btn"},ns={key:0,class:"device-list"},os=Y(()=>r("div",null,"\u9009\u62E9\u5907\u4EFD\u6587\u4EF6\uFF1A",-1)),ss=["value"];function as(t,e,o,n,a,l){return d(),p("div",Wo,[r("div",Zo,[qo,r("div",Ho,[r("div",Yo,[No,Jo,r("div",Qo,[n.path!="-"?j((d(),p("select",{key:0,class:"local-input-field",onChange:e[0]||(e[0]=(...s)=>n.onPathChanged&&n.onPathChanged(...s)),"onUpdate:modelValue":e[1]||(e[1]=s=>n.path=s)},[Xo,(d(!0),p(F,null,K(n.devices,(s,c)=>(d(),p("option",{value:s.path,key:c},P(s.path+(s.size?"\uFF08"+s.size+"\uFF09":"")),9,jo))),128)),ts],544)),[[lt,n.path,void 0,{trim:!0}]]):j((d(),p("input",{key:1,class:"local-input-field",onBlur:e[2]||(e[2]=(...s)=>n.onInputPathChanged&&n.onInputPathChanged(...s)),onKeyup:e[3]||(e[3]=Lt((...s)=>n.onInputPathChanged&&n.onInputPathChanged(...s),["enter"])),placeholder:"\u8BF7\u8F93\u5165/\u5F00\u5934\u7684\u7EDD\u5BF9\u8DEF\u5F84",type:"text","onUpdate:modelValue":e[4]||(e[4]=s=>n.input_path=s),ref:"user_input"},null,544)),[[_t,n.input_path,void 0,{trim:!0}]]),n.path!="-"&&n.path!=""?(d(),p("div",es,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[5]||(e[5]=(...s)=>n.localBackup&&n.localBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[6]||(e[6]=(...s)=>n.backupFileList&&n.backupFileList(...s)),value:"\u6062\u590D\u5907\u4EFD"})])):B("",!0)]),n.showList?(d(),p("div",ns,[os,j(r("select",{"onUpdate:modelValue":e[7]||(e[7]=s=>n.restore_file=s)},[(d(!0),p(F,null,K(n.result,s=>(d(),p("option",{key:s,value:s},P(s),9,ss))),128))],512),[[lt,n.restore_file,void 0,{trim:!0}]]),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[8]||(e[8]=(...s)=>n.localRestore&&n.localRestore(...s)),value:"\u7ACB\u5373\u6062\u590D"})])):B("",!0)])])])])}var rs=y(Ko,[["render",as],["__scopeId","data-v-3745735c"]]);const cs=g(2),ls={components:{update:Po,lightBackup:Go,localBackup:rs},setup(){return{setup:cs}}},et=t=>(R("data-v-ee364f80"),t=t(),z(),t),is={class:"cbi-map"},us={class:"cbi-section"},ds=et(()=>r("span",{class:"panel-title"},"\u66F4\u65B0iStore",-1)),ps={class:"cbi-section"},_s=et(()=>r("span",{class:"panel-title"},"\u8F6F\u4EF6\u5907\u4EFD",-1)),ms={class:"cbi-tabmenu"},hs=et(()=>r("a",{onclick:"false",href:"#"},"\u8F7B\u91CF\u5907\u4EFD",-1)),vs=[hs],fs=et(()=>r("a",{onclick:"false",href:"#"},"\u672C\u5730\u5907\u4EFD",-1)),gs=[fs];function ys(t,e,o,n,a,l){const s=L("update"),c=L("lightBackup"),_=L("localBackup");return d(),p("div",is,[r("fieldset",us,[ds,U(s)]),r("fieldset",ps,[_s,r("ul",ms,[r("li",{class:H(n.setup==2?"cbi-tab":"cbi-tab-disabled"),onClick:e[0]||(e[0]=f=>n.setup=2)},vs,2),r("li",{class:H(n.setup==3?"cbi-tab":"cbi-tab-disabled"),onClick:e[1]||(e[1]=f=>n.setup=3)},gs,2)]),n.setup==2?(d(),q(c,{key:0})):B("",!0),n.setup==3?(d(),q(_,{key:1})):B("",!0)])])}var bs=y(ls,[["render",ys],["__scopeId","data-v-ee364f80"]]);const $s=Tt({history:It(T.BasePage()),routes:[{path:"/",redirect:"/installed"},{path:"/installed",name:"Installed",component:Fn},{path:"/store",name:"Store",component:io},{path:"/upload",name:"Upload",component:yo},{path:"/webapps",name:"Webapps",component:So},{path:"/maintance",name:"Maintance",component:bs},{path:"/:pathMatch(.*)*",name:"notfound",redirect:"/"}]}),ks={},ws={width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Cs=r("path",{d:"M14.9234958,14.5525054 L10.84453,10.4679606 C11.8849284,9.46327833 12.5294813,8.07823887 12.5294813,6.55073066 C12.5294813,3.48989918 9.94358337,1 6.76474066,1 C3.58589795,1 1,3.48989918 1,6.55073066 C1,9.61156213 3.58589795,12.1014613 6.76474066,12.1014613 C8.16008242,12.1014613 9.44067838,11.621191 10.438802,10.8242646 L14.5276502,14.9188536 C14.5814545,14.9730393 14.6533765,15 14.725573,15 C14.7942009,15 14.8625542,14.9754182 14.9158095,14.9262546 C15.025065,14.8250198 15.0283592,14.6577049 14.9234958,14.5525054 Z M6.76474066,11.5728203 C3.8886841,11.5728203 1.54902292,9.32001661 1.54902292,6.55073066 C1.54902292,3.7814447 3.8886841,1.52864101 6.76474066,1.52864101 C9.64079723,1.52864101 11.9804584,3.7814447 11.9804584,6.55073066 C11.9804584,9.32001661 9.64052272,11.5728203 6.76474066,11.5728203 Z",id:"Shape",stroke:"#FFFFFF","stroke-width":"1.3"},null,-1),Ss=[Cs];function xs(t,e,o,n,a,l){return d(),p("svg",ws,Ss)}var As=y(ks,[["render",xs]]);const Ls={},Ts={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Is=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.81814832,10.9090654 L9.43153778,10.9090654 C9.70352269,10.9121048 9.93620458,10.7143252 9.97712277,10.4445109 L10.7297188,5.53628009 C10.7537339,5.3780602 10.7070546,5.2172762 10.602045,5.09651513 C10.4970353,4.97575406 10.3442908,4.9072007 10.1780925,4.90904784 L7.09084687,4.90904784 C6.78960329,4.90904784 6.54539711,4.66484166 6.54539711,4.36359808 L6.54539711,2.18179904 C6.54539711,1.69494967 6.22647822,1.2825878 5.78615711,1.14223013 L3.81814832,5.57024992 L3.81814832,10.9090654 Z M2.7272488,5.99994736 L1.63634928,5.99994736 C1.33510569,5.99994736 1.09089952,6.24415353 1.09089952,6.54539711 L1.09089952,10.3635454 C1.09089952,10.664789 1.33510569,10.9089952 1.63634928,10.9089952 L2.7272488,10.9089952 L2.7272488,5.99994736 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 -1.03028697e-13,11.2672762 -1.03028697e-13,10.3635454 L-1.03028697e-13,6.54539711 C-1.03028697e-13,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFFFFF","fill-rule":"nonzero"},null,-1),Es=[Is];function Ps(t,e,o,n,a,l){return d(),p("svg",Ts,Es)}var Bs=y(Ls,[["render",Ps]]);const Ds={},Fs={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ms=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 0,11.2672762 0,10.3635454 L0,6.54539711 C0,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFE45A","fill-rule":"nonzero"},null,-1),Vs=[Ms];function Us(t,e,o,n,a,l){return d(),p("svg",Fs,Vs)}var Os=y(Ds,[["render",Us]]);const Q=ot(Ke);Q.component("svg-search",As);Q.component("svg-star-on",Bs);Q.component("svg-star-off",Os);Q.use($s).use(J);Q.mount("#app")});export default Rs(); diff --git a/app-store-ui/src/dist/luci-static/istore/style.css b/app-store-ui/src/dist/luci-static/istore/style.css index aa5754ed7..c05d96bfa 100644 --- a/app-store-ui/src/dist/luci-static/istore/style.css +++ b/app-store-ui/src/dist/luci-static/istore/style.css @@ -1 +1 @@ -#app *[data-v-1f9c0c24]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}li[data-v-1f9c0c24]{position:relative}li span[data-v-1f9c0c24]{position:absolute;top:5px;right:5px;padding:3px;background-color:#fd1919;border-radius:50%}#app *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}[lock-scroll=true]{overflow:hidden!important}#app *[data-v-735db9cc]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.software-log_shade[data-v-735db9cc]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:fixed;inset:0;z-index:99999}.software-log_shade .software-log_shade__bg[data-v-735db9cc]{position:fixed;inset:0;background:rgba(68,79,83,.94) none repeat scroll 0 0!important;background-position:0 0;background-size:cover;opacity:.94}.software-log_shade .software-log_shade__pannel[data-v-735db9cc]{width:800px;min-width:800px;border-radius:10px;z-index:100;box-shadow:3px 3px 10px #000;background:rgba(0,0,0,.9);padding:10px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-title[data-v-735db9cc]{text-align:center;font-size:18px;color:#9f0;padding:10px;font-weight:700}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-now i[data-v-735db9cc]{color:#fc0;font-style:normal}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content[data-v-735db9cc]{padding:10px;width:100%;text-align:center;overflow:hidden}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]{width:100%;border:0px solid #222;font-family:Lucida Console;font-size:11px;background:transparent;color:#fff;outline:none;overflow-x:hidden;resize:none;transition:.5s}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:focus,.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:hover{box-shadow:none;border-color:#fff0!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar{width:5px;height:5px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-thumb{height:30px;outline:none;border:none;border-radius:1rem;background-color:#4c595c;-webkit-border-radius:1rem}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-track-piece{background:none;-webkit-border-radius:0;border-radius:0}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn[data-v-735db9cc]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]{visibility:visible;min-width:88px;font-weight:bolder;text-shadow:1px 1px 0px black;border-radius:8px;height:33px;font-family:Verdana,Microsoft Yahei UI,sans-serif;font-size:12px;padding:0 .7em;width:auto;min-width:122px;margin:0 10px;cursor:pointer;background:#090a0a!important;border:1px solid #fff!important;color:#fff!important;opacity:1!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]:hover{opacity:.9!important}#app *[data-v-5ced897a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.toast[data-v-5ced897a]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:150px;max-width:70%;min-height:30px;padding:10px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999}.toast .toast-close[data-v-5ced897a]{cursor:pointer;padding-bottom:36px;right:-61px;position:relative;font-size:20px}#app *[data-v-6d7664a4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes load-6d7664a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-6d7664a4]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;max-width:150px;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);z-index:999999}.loading .icon[data-v-6d7664a4]{width:35px;height:35px;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:load-6d7664a4 1s linear infinite}.loading .msg[data-v-6d7664a4]{margin-top:10px;color:#fff}.app-container[data-v-c1f37206]{flex:0 0 100%;max-width:calc(50% - 20px);padding:15px;background:#88888822;border-radius:.375rem;overflow:hidden;margin:10px}.app-container .app-info[data-v-c1f37206]{display:flex;flex-wrap:wrap;width:100%;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed #999}.app-container .app-info .app-f[data-v-c1f37206]{flex:0 0 100%;max-width:150px}.app-container .app-info .app-f .app-icon[data-v-c1f37206]{width:100px;height:100px;margin:0 auto}.app-container .app-info .app-f .app-icon img[data-v-c1f37206]{max-width:100%}.app-container .app-info .app-f .app-tags[data-v-c1f37206]{width:100%;display:flex;align-items:center;padding:0 25px}.app-container .app-info .app-f .app-tags .tag[data-v-c1f37206]{font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:12px;font-size:.8125rem;white-space:nowrap;padding:.5rem}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;margin:0 2px}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]:last-child{display:none}.app-container .app-info .app-r[data-v-c1f37206]{flex:0 0 100%;max-width:calc(100% - 150px);padding:0 15px}.app-container .app-info .app-r .app-title[data-v-c1f37206]{width:100%;margin-bottom:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:26px;padding-top:12px}.app-container .app-info .app-r .app-title .app-version[data-v-c1f37206]{margin-left:10px;font-size:.8125rem}.app-container .app-info .app-r .app-as[data-v-c1f37206]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:10px}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]{padding:0;margin:0 0 0 10px;width:30px;border:none!important;cursor:pointer;background:none;box-shadow:none}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206] svg path{fill:currentColor}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]:hover svg path{filter:invert(.6)}.app-container .app-info .app-r .app-description[data-v-c1f37206]{font-size:12px;height:36px;line-height:18px;margin-bottom:10px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;padding:0}.app-container .app-info .app-r .app-description span[data-v-c1f37206]{-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.app-container .app-info .app-r .app-author[data-v-c1f37206],.app-container .app-info .app-r .app-date[data-v-c1f37206]{width:100%;height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-container .app-btns[data-v-c1f37206]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.app-container .app-btns .auto[data-v-c1f37206]{flex:auto}.app-container .app-btns .app-margin-left[data-v-c1f37206]{margin:0 5px}.app-container .app-btns .app-btn[data-v-c1f37206]{padding-top:5px;padding-bottom:5px;text-decoration:none}#app *[data-v-c1f37206]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@media screen and (max-width: 768px){.app-container[data-v-c1f37206]{max-width:100%;margin:10px 0}}#app *[data-v-708cb351]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-708cb351]{padding:15px}.cbi-section .containers[data-v-708cb351]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-e8823026]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.sort-container[data-v-e8823026]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.sort-container .sort-title[data-v-e8823026]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.sort-container .sort-value[data-v-e8823026]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.sort-container .sort-value .cbi-button[data-v-e8823026]{margin-right:5px}#app *[data-v-5b43124a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.tags-container[data-v-5b43124a]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.tags-container .tags-title[data-v-5b43124a]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.tags-container .tags-value[data-v-5b43124a]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.tags-container .tags-value .cbi-button[data-v-5b43124a]{margin-right:5px}#app *[data-v-67adb4c4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}form.search[data-v-67adb4c4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px;position:relative}form.search input[data-v-67adb4c4]{width:100%;height:36px;border-radius:19px;padding:0 40px}form.search .search-btn[data-v-67adb4c4]{position:absolute;left:20px;border:none!important;box-shadow:none!important;background:none!important;cursor:pointer;z-index:10;display:flex;flex-wrap:wrap;align-items:center;width:30px;padding:0;margin:0}form.search .search-btn[data-v-67adb4c4] svg path{stroke:currentColor}#app *[data-v-5d27abed]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.containers[data-v-5d27abed]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-603a8f16]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-603a8f16]{padding:15px}.cbi-section[data-v-603a8f16] .cbi-value{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px}#app *[data-v-739bd664]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-739bd664]{padding:15px}.cbi-section .container_msg span[data-v-739bd664]{display:block;width:100%;margin-bottom:5px}.cbi-section form[data-v-739bd664]{width:100%;margin:30px 0}.cbi-section form .flex[data-v-739bd664]{width:100%;display:flex;flex-wrap:wrap;align-items:center}.cbi-section form .flex label.upload-file[data-v-739bd664]{width:100%;height:54px;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 20px;cursor:pointer}.cbi-section form .flex label.upload-file span[data-v-739bd664]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:22px}.cbi-section form .flex label.upload-file .button[data-v-739bd664]{width:116px;height:38px;background:rgba(255,255,255,.2);border-radius:6px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.cbi-section form .flex label.upload-file input[data-v-739bd664]{visibility:hidden}.cbi-section form .flex label.upload-file[data-v-739bd664]:hover{opacity:.9}.cbi-section form button.upload-button[data-v-739bd664]{width:118px;height:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:10px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff}.cbi-section form button.upload-button[data-v-739bd664]:hover{opacity:.9}#app *[data-v-19ff0ff6]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-19ff0ff6]{width:100%;min-height:400px;display:block;background:rgba(0,0,0,.9)}.cbi-section .webapp-container[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit}.cbi-section .webapp-container iframe[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit;border:none}#app *[data-v-49481c33]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-49481c33]{display:flex;flex-wrap:wrap}.log-containers .model[data-v-49481c33]{width:100%;flex:0 0 100%;display:block;margin-left:18px;margin-top:18px}.log-containers .containers-tit[data-v-49481c33]{margin:1rem 0;display:flex;align-items:center;align-content:center;padding-left:16px}.log-containers .containers-tit .app-btn[data-v-49481c33]{margin-left:3rem}em[data-v-49481c33]{width:100%;display:block;border-bottom:1px solid #eee;margin:1rem 0}#app *[data-v-eca17d82]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.Lightweight[data-v-eca17d82]{margin-top:20px;margin-left:18px}.Lightweight .Lightweight-container .model[data-v-eca17d82]{margin-bottom:10px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit[data-v-eca17d82]{margin-bottom:20px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit span[data-v-eca17d82]{display:block;line-height:24px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup[data-v-eca17d82]{display:flex}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup .app-btn[data-v-eca17d82]{margin-left:14px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .upload-file[data-v-eca17d82]{color:#000}input[hidden][data-v-eca17d82]{display:none!important}#app *[data-v-3745735c]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.local[data-v-3745735c]{margin-top:20px}.local .local-container[data-v-3745735c]{margin-left:18px}.local .local-container .model[data-v-3745735c]{margin-bottom:10px}.local .local-container .local-container1[data-v-3745735c]{width:800px;height:400px}.local .local-container .local-container1 .container1-center[data-v-3745735c]{text-align:left}.local .local-container .local-container1 .container1-center .local-tit span[data-v-3745735c]{display:block;line-height:24px}.local .local-container .local-container1 .container1-center .local-device[data-v-3745735c]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .local-input[data-v-3745735c]{display:flex;align-items:center}.local .local-container .local-container1 .container1-center .local-input .app-btn[data-v-3745735c]{margin-left:14px}.local .local-container .local-container1 .container1-center .local-input .local-input-field[data-v-3745735c]{width:20rem}.local .local-container .local-container1 .container1-center .list[data-v-3745735c]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .select[data-v-3745735c]{flex:0 0 100%;max-width:100%}#app *[data-v-ee364f80]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-ee364f80]{width:100%;overflow:auto;margin-top:20px}.log-containers .model[data-v-ee364f80]{margin-top:18px;margin-bottom:10px}.log-containers .app-btn[data-v-ee364f80]{height:30px;line-height:30px}.log-containers .tabs[data-v-ee364f80]{padding-left:0}.log-containers textarea[data-v-ee364f80]{font-family:Lucida Console;font-size:14px;outline:none;width:100%;margin:0;resize:none;border-radius:.8rem;padding:15px} +#app *[data-v-1f9c0c24]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}li[data-v-1f9c0c24]{position:relative}li span[data-v-1f9c0c24]{position:absolute;top:5px;right:5px;padding:3px;background-color:#fd1919;border-radius:50%}#app *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}[lock-scroll=true]{overflow:hidden!important}#app *[data-v-6695545b]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.software-log_shade[data-v-6695545b]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:fixed;inset:0;z-index:99999}.software-log_shade .software-log_shade__bg[data-v-6695545b]{position:fixed;inset:0;background:rgba(68,79,83,.94) none repeat scroll 0 0!important;background-position:0 0;background-size:cover;opacity:.94}.software-log_shade .software-log_shade__pannel[data-v-6695545b]{width:800px;min-width:800px;border-radius:10px;z-index:100;box-shadow:3px 3px 10px #000;background:rgba(0,0,0,.9);padding:10px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-title[data-v-6695545b]{text-align:center;font-size:18px;color:#9f0;padding:10px;font-weight:700}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-now i[data-v-6695545b]{color:#fc0;font-style:normal}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content[data-v-6695545b]{padding:10px;width:100%;text-align:center;overflow:hidden}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]{width:100%;border:0px solid #222;font-family:Lucida Console;font-size:11px;background:transparent;color:#fff;outline:none;overflow-x:hidden;resize:none;transition:.5s}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]:focus,.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]:hover{box-shadow:none;border-color:#fff0!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]::-webkit-scrollbar{width:5px;height:5px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]::-webkit-scrollbar-thumb{height:30px;outline:none;border:none;border-radius:1rem;background-color:#4c595c;-webkit-border-radius:1rem}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-6695545b]::-webkit-scrollbar-track-piece{background:none;-webkit-border-radius:0;border-radius:0}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn[data-v-6695545b]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-6695545b]{visibility:visible;min-width:88px;font-weight:bolder;text-shadow:1px 1px 0px black;border-radius:8px;height:33px;font-family:Verdana,Microsoft Yahei UI,sans-serif;font-size:12px;padding:0 .7em;width:auto;min-width:122px;margin:0 10px;cursor:pointer;background:#090a0a!important;border:1px solid #fff!important;color:#fff!important;opacity:1!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-6695545b]:hover{opacity:.9!important}#app *[data-v-5ced897a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.toast[data-v-5ced897a]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:150px;max-width:70%;min-height:30px;padding:10px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999}.toast .toast-close[data-v-5ced897a]{cursor:pointer;padding-bottom:36px;right:-61px;position:relative;font-size:20px}#app *[data-v-6d7664a4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes load-6d7664a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-6d7664a4]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;max-width:150px;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);z-index:999999}.loading .icon[data-v-6d7664a4]{width:35px;height:35px;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:load-6d7664a4 1s linear infinite}.loading .msg[data-v-6d7664a4]{margin-top:10px;color:#fff}.app-container[data-v-c1f37206]{flex:0 0 100%;max-width:calc(50% - 20px);padding:15px;background:#88888822;border-radius:.375rem;overflow:hidden;margin:10px}.app-container .app-info[data-v-c1f37206]{display:flex;flex-wrap:wrap;width:100%;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed #999}.app-container .app-info .app-f[data-v-c1f37206]{flex:0 0 100%;max-width:150px}.app-container .app-info .app-f .app-icon[data-v-c1f37206]{width:100px;height:100px;margin:0 auto}.app-container .app-info .app-f .app-icon img[data-v-c1f37206]{max-width:100%}.app-container .app-info .app-f .app-tags[data-v-c1f37206]{width:100%;display:flex;align-items:center;padding:0 25px}.app-container .app-info .app-f .app-tags .tag[data-v-c1f37206]{font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:12px;font-size:.8125rem;white-space:nowrap;padding:.5rem}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;margin:0 2px}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]:last-child{display:none}.app-container .app-info .app-r[data-v-c1f37206]{flex:0 0 100%;max-width:calc(100% - 150px);padding:0 15px}.app-container .app-info .app-r .app-title[data-v-c1f37206]{width:100%;margin-bottom:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:26px;padding-top:12px}.app-container .app-info .app-r .app-title .app-version[data-v-c1f37206]{margin-left:10px;font-size:.8125rem}.app-container .app-info .app-r .app-as[data-v-c1f37206]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:10px}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]{padding:0;margin:0 0 0 10px;width:30px;border:none!important;cursor:pointer;background:none;box-shadow:none}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206] svg path{fill:currentColor}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]:hover svg path{filter:invert(.6)}.app-container .app-info .app-r .app-description[data-v-c1f37206]{font-size:12px;height:36px;line-height:18px;margin-bottom:10px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;padding:0}.app-container .app-info .app-r .app-description span[data-v-c1f37206]{-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.app-container .app-info .app-r .app-author[data-v-c1f37206],.app-container .app-info .app-r .app-date[data-v-c1f37206]{width:100%;height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-container .app-btns[data-v-c1f37206]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.app-container .app-btns .auto[data-v-c1f37206]{flex:auto}.app-container .app-btns .app-margin-left[data-v-c1f37206]{margin:0 5px}.app-container .app-btns .app-btn[data-v-c1f37206]{padding-top:5px;padding-bottom:5px;text-decoration:none}#app *[data-v-c1f37206]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@media screen and (max-width: 768px){.app-container[data-v-c1f37206]{max-width:100%;margin:10px 0}}#app *[data-v-708cb351]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-708cb351]{padding:15px}.cbi-section .containers[data-v-708cb351]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-e8823026]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.sort-container[data-v-e8823026]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.sort-container .sort-title[data-v-e8823026]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.sort-container .sort-value[data-v-e8823026]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.sort-container .sort-value .cbi-button[data-v-e8823026]{margin-right:5px}#app *[data-v-5b43124a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.tags-container[data-v-5b43124a]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.tags-container .tags-title[data-v-5b43124a]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.tags-container .tags-value[data-v-5b43124a]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.tags-container .tags-value .cbi-button[data-v-5b43124a]{margin-right:5px}#app *[data-v-67adb4c4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}form.search[data-v-67adb4c4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px;position:relative}form.search input[data-v-67adb4c4]{width:100%;height:36px;border-radius:19px;padding:0 40px}form.search .search-btn[data-v-67adb4c4]{position:absolute;left:20px;border:none!important;box-shadow:none!important;background:none!important;cursor:pointer;z-index:10;display:flex;flex-wrap:wrap;align-items:center;width:30px;padding:0;margin:0}form.search .search-btn[data-v-67adb4c4] svg path{stroke:currentColor}#app *[data-v-5d27abed]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.containers[data-v-5d27abed]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-603a8f16]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-603a8f16]{padding:15px}.cbi-section[data-v-603a8f16] .cbi-value{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px}#app *[data-v-739bd664]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-739bd664]{padding:15px}.cbi-section .container_msg span[data-v-739bd664]{display:block;width:100%;margin-bottom:5px}.cbi-section form[data-v-739bd664]{width:100%;margin:30px 0}.cbi-section form .flex[data-v-739bd664]{width:100%;display:flex;flex-wrap:wrap;align-items:center}.cbi-section form .flex label.upload-file[data-v-739bd664]{width:100%;height:54px;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 20px;cursor:pointer}.cbi-section form .flex label.upload-file span[data-v-739bd664]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:22px}.cbi-section form .flex label.upload-file .button[data-v-739bd664]{width:116px;height:38px;background:rgba(255,255,255,.2);border-radius:6px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.cbi-section form .flex label.upload-file input[data-v-739bd664]{visibility:hidden}.cbi-section form .flex label.upload-file[data-v-739bd664]:hover{opacity:.9}.cbi-section form button.upload-button[data-v-739bd664]{width:118px;height:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:10px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff}.cbi-section form button.upload-button[data-v-739bd664]:hover{opacity:.9}#app *[data-v-19ff0ff6]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-19ff0ff6]{width:100%;min-height:400px;display:block;background:rgba(0,0,0,.9)}.cbi-section .webapp-container[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit}.cbi-section .webapp-container iframe[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit;border:none}#app *[data-v-49481c33]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-49481c33]{display:flex;flex-wrap:wrap}.log-containers .model[data-v-49481c33]{width:100%;flex:0 0 100%;display:block;margin-left:18px;margin-top:18px}.log-containers .containers-tit[data-v-49481c33]{margin:1rem 0;display:flex;align-items:center;align-content:center;padding-left:16px}.log-containers .containers-tit .app-btn[data-v-49481c33]{margin-left:3rem}em[data-v-49481c33]{width:100%;display:block;border-bottom:1px solid #eee;margin:1rem 0}#app *[data-v-eca17d82]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.Lightweight[data-v-eca17d82]{margin-top:20px;margin-left:18px}.Lightweight .Lightweight-container .model[data-v-eca17d82]{margin-bottom:10px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit[data-v-eca17d82]{margin-bottom:20px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit span[data-v-eca17d82]{display:block;line-height:24px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup[data-v-eca17d82]{display:flex}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup .app-btn[data-v-eca17d82]{margin-left:14px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .upload-file[data-v-eca17d82]{color:#000}input[hidden][data-v-eca17d82]{display:none!important}#app *[data-v-3745735c]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.local[data-v-3745735c]{margin-top:20px}.local .local-container[data-v-3745735c]{margin-left:18px}.local .local-container .model[data-v-3745735c]{margin-bottom:10px}.local .local-container .local-container1[data-v-3745735c]{width:800px;height:400px}.local .local-container .local-container1 .container1-center[data-v-3745735c]{text-align:left}.local .local-container .local-container1 .container1-center .local-tit span[data-v-3745735c]{display:block;line-height:24px}.local .local-container .local-container1 .container1-center .local-device[data-v-3745735c]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .local-input[data-v-3745735c]{display:flex;align-items:center}.local .local-container .local-container1 .container1-center .local-input .app-btn[data-v-3745735c]{margin-left:14px}.local .local-container .local-container1 .container1-center .local-input .local-input-field[data-v-3745735c]{width:20rem}.local .local-container .local-container1 .container1-center .list[data-v-3745735c]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .select[data-v-3745735c]{flex:0 0 100%;max-width:100%}#app *[data-v-ee364f80]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-ee364f80]{width:100%;overflow:auto;margin-top:20px}.log-containers .model[data-v-ee364f80]{margin-top:18px;margin-bottom:10px}.log-containers .app-btn[data-v-ee364f80]{height:30px;line-height:30px}.log-containers .tabs[data-v-ee364f80]{padding-left:0}.log-containers textarea[data-v-ee364f80]{font-family:Lucida Console;font-size:14px;outline:none;width:100%;margin:0;resize:none;border-radius:.8rem;padding:15px} diff --git a/app-store-ui/src/dist/luci-static/istore/vendor.js b/app-store-ui/src/dist/luci-static/istore/vendor.js index 1def3b058..112769ca4 100644 --- a/app-store-ui/src/dist/luci-static/istore/vendor.js +++ b/app-store-ui/src/dist/luci-static/istore/vendor.js @@ -1,19 +1,19 @@ -var vo=(e,t,n)=>new Promise((r,s)=>{var i=l=>{try{a(n.next(l))}catch(u){s(u)}},o=l=>{try{a(n.throw(l))}catch(u){s(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,o);a((n=n.apply(e,t)).next())});function vi(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const Ku="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qu=vi(Ku);function Oa(e){return!!e||e===""}function wi(e){if(L(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ju);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function bi(e){let t="";if(ye(e))t=e;else if(L(e))for(let n=0;nXr(n,t))}const Ky=e=>ye(e)?e:e==null?"":L(e)||pe(e)&&(e.toString===Ea||!j(e.toString))?JSON.stringify(e,Ma,2):String(e),Ma=(e,t)=>t&&t.__v_isRef?Ma(e,t.value):Mn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ts(t)?{[`Set(${t.size})`]:[...t.values()]}:pe(t)&&!L(t)&&!ka(t)?String(t):t,oe={},On=[],Ke=()=>{},tc=()=>!1,nc=/^on[^a-z]/,es=e=>nc.test(e),Si=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Oi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rc=Object.prototype.hasOwnProperty,q=(e,t)=>rc.call(e,t),L=Array.isArray,Mn=e=>ns(e)==="[object Map]",ts=e=>ns(e)==="[object Set]",wo=e=>e instanceof Date,j=e=>typeof e=="function",ye=e=>typeof e=="string",Mi=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",xa=e=>pe(e)&&j(e.then)&&j(e.catch),Ea=Object.prototype.toString,ns=e=>Ea.call(e),sc=e=>ns(e).slice(8,-1),ka=e=>ns(e)==="[object Object]",xi=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xr=vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ic=/-(\w)/g,ut=rs(e=>e.replace(ic,(t,n)=>n?n.toUpperCase():"")),oc=/\B([A-Z])/g,rn=rs(e=>e.replace(oc,"-$1").toLowerCase()),ss=rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ds=rs(e=>e?`on${ss(e)}`:""),tr=(e,t)=>!Object.is(e,t),Er=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Yr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bo;const ac=()=>bo||(bo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let yt;class lc{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return yt=this,t()}finally{yt=this.parent}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Da=e=>(e.w&jt)>0,Ta=e=>(e.n&jt)>0,cc=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),t){case"add":L(e)?xi(n)&&a.push(o.get("length")):(a.push(o.get(Qt)),Mn(e)&&a.push(o.get(zs)));break;case"delete":L(e)||(a.push(o.get(Qt)),Mn(e)&&a.push(o.get(zs)));break;case"set":Mn(e)&&a.push(o.get(Qt));break}if(a.length===1)a[0]&&Ks(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);Ks(Ei(l))}}function Ks(e,t){for(const n of L(e)?e:[...e])(n!==lt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const dc=vi("__proto__,__v_isRef,__isVue"),Ca=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Mi)),hc=Di(),mc=Di(!1,!0),pc=Di(!0),Oo=_c();function _c(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Q(this);for(let i=0,o=this.length;i{e[t]=function(...n){An();const r=Q(this)[t].apply(this,n);return Nn(),r}}),e}function Di(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?Cc:Fa:t?Ia:Ya).get(r))return r;const o=L(r);if(!e&&o&&q(Oo,s))return Reflect.get(Oo,s,i);const a=Reflect.get(r,s,i);return(Mi(s)?Ca.has(s):dc(s))||(e||Le(r,"get",s),t)?a:we(a)?!o||!xi(s)?a.value:a:pe(a)?e?La(a):Yn(a):a}}const gc=Aa(),yc=Aa(!0);function Aa(e=!1){return function(n,r,s,i){let o=n[r];if(nr(o)&&we(o)&&!we(s))return!1;if(!e&&!nr(s)&&(Ua(s)||(s=Q(s),o=Q(o)),!L(n)&&we(o)&&!we(s)))return o.value=s,!0;const a=L(n)&&xi(r)?Number(r)e,is=e=>Reflect.getPrototypeOf(e);function _r(e,t,n=!1,r=!1){e=e.__v_raw;const s=Q(e),i=Q(t);t!==i&&!n&&Le(s,"get",t),!n&&Le(s,"get",i);const{has:o}=is(s),a=r?Ti:n?Ci:rr;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function gr(e,t=!1){const n=this.__v_raw,r=Q(n),s=Q(e);return e!==s&&!t&&Le(r,"has",e),!t&&Le(r,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function yr(e,t=!1){return e=e.__v_raw,!t&&Le(Q(e),"iterate",Qt),Reflect.get(e,"size",e)}function Mo(e){e=Q(e);const t=Q(this);return is(t).has.call(t,e)||(t.add(e),Et(t,"add",e,e)),this}function xo(e,t){t=Q(t);const n=Q(this),{has:r,get:s}=is(n);let i=r.call(n,e);i||(e=Q(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?tr(t,o)&&Et(n,"set",e,t):Et(n,"add",e,t),this}function Eo(e){const t=Q(this),{has:n,get:r}=is(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Et(t,"delete",e,void 0),i}function ko(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&Et(e,"clear",void 0,void 0),n}function vr(e,t){return function(r,s){const i=this,o=i.__v_raw,a=Q(o),l=t?Ti:e?Ci:rr;return!e&&Le(a,"iterate",Qt),o.forEach((u,f)=>r.call(s,l(u),l(f),i))}}function wr(e,t,n){return function(...r){const s=this.__v_raw,i=Q(s),o=Mn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),f=n?Ti:t?Ci:rr;return!t&&Le(i,"iterate",l?zs:Qt),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:a?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e==="delete"?!1:this}}function Mc(){const e={get(i){return _r(this,i)},get size(){return yr(this)},has:gr,add:Mo,set:xo,delete:Eo,clear:ko,forEach:vr(!1,!1)},t={get(i){return _r(this,i,!1,!0)},get size(){return yr(this)},has:gr,add:Mo,set:xo,delete:Eo,clear:ko,forEach:vr(!1,!0)},n={get(i){return _r(this,i,!0)},get size(){return yr(this,!0)},has(i){return gr.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:vr(!0,!1)},r={get(i){return _r(this,i,!0,!0)},get size(){return yr(this,!0)},has(i){return gr.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:vr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wr(i,!1,!1),n[i]=wr(i,!0,!1),t[i]=wr(i,!1,!0),r[i]=wr(i,!0,!0)}),[e,n,t,r]}const[xc,Ec,kc,Dc]=Mc();function Ri(e,t){const n=t?e?Dc:kc:e?Ec:xc;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(q(n,s)&&s in r?n:r,s,i)}const Tc={get:Ri(!1,!1)},Rc={get:Ri(!1,!0)},Pc={get:Ri(!0,!1)},Ya=new WeakMap,Ia=new WeakMap,Fa=new WeakMap,Cc=new WeakMap;function Ac(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Nc(e){return e.__v_skip||!Object.isExtensible(e)?0:Ac(sc(e))}function Yn(e){return nr(e)?e:Pi(e,!1,Na,Tc,Ya)}function Yc(e){return Pi(e,!1,Oc,Rc,Ia)}function La(e){return Pi(e,!0,Sc,Pc,Fa)}function Pi(e,t,n,r,s){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Nc(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function xn(e){return nr(e)?xn(e.__v_raw):!!(e&&e.__v_isReactive)}function nr(e){return!!(e&&e.__v_isReadonly)}function Ua(e){return!!(e&&e.__v_isShallow)}function Wa(e){return xn(e)||nr(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Ha(e){return Nr(e,"__v_skip",!0),e}const rr=e=>pe(e)?Yn(e):e,Ci=e=>pe(e)?La(e):e;function $a(e){Wt&<&&(e=Q(e),Pa(e.dep||(e.dep=Ei())))}function ja(e,t){e=Q(e),e.dep&&Ks(e.dep)}function we(e){return!!(e&&e.__v_isRef===!0)}function Ic(e){return Va(e,!1)}function Fc(e){return Va(e,!0)}function Va(e,t){return we(e)?e:new Lc(e,t)}class Lc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:rr(t)}get value(){return $a(this),this._value}set value(t){t=this.__v_isShallow?t:Q(t),tr(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:rr(t),ja(this))}}function zn(e){return we(e)?e.value:e}const Uc={get:(e,t,n)=>zn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return we(s)&&!we(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ba(e){return xn(e)?e:new Proxy(e,Uc)}class Wc{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ki(t,()=>{this._dirty||(this._dirty=!0,ja(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Q(this);return $a(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Hc(e,t,n=!1){let r,s;const i=j(e);return i?(r=e,s=Ke):(r=e.get,s=e.set),new Wc(r,s,i||!s,n)}Promise.resolve();function Ht(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){os(i,t,n)}return s}function qe(e,t,n,r){if(j(e)){const i=Ht(e,t,n,r);return i&&xa(i)&&i.catch(o=>{os(o,t,n)}),i}const s=[];for(let i=0;i>>1;sr(Ie[r])bt&&Ie.splice(t,1)}function Za(e,t,n,r){L(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),qa()}function Bc(e){Za(e,Gn,Kn,yn)}function Gc(e){Za(e,Yt,qn,vn)}function Ni(e,t=null){if(Kn.length){for(Zs=t,Gn=[...new Set(Kn)],Kn.length=0,yn=0;ynsr(n)-sr(r)),vn=0;vne.id==null?1/0:e.id;function Qa(e){qs=!1,Ir=!0,Ni(e),Ie.sort((n,r)=>sr(n)-sr(r));const t=Ke;try{for(bt=0;btp.trim()):d&&(s=n.map(Yr))}let a,l=r[a=Ds(t)]||r[a=Ds(ut(t))];!l&&i&&(l=r[a=Ds(rn(t))]),l&&qe(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,qe(u,e,6,s)}}function Xa(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!j(e)){const l=u=>{const f=Xa(u,t,!0);f&&(a=!0,Ee(o,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(r.set(e,null),null):(L(i)?i.forEach(l=>o[l]=null):Ee(o,i),r.set(e,o),o)}function Yi(e,t){return!e||!es(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,rn(t))||q(e,t))}let Ge=null,as=null;function Fr(e){const t=Ge;return Ge=e,as=e&&e.type.__scopeId||null,t}function qy(e){as=e}function Zy(){as=null}function Kc(e,t=Ge,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Fo(-1);const i=Fr(t),o=e(...s);return Fr(i),r._d&&Fo(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Ts(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:u,render:f,renderCache:d,data:h,setupState:p,ctx:D,inheritAttrs:W}=e;let C,A;const V=Fr(e);try{if(n.shapeFlag&4){const te=s||r;C=it(f.call(te,te,d,i,p,h,D)),A=l}else{const te=t;C=it(te.length>1?te(i,{attrs:l,slots:a,emit:u}):te(i,null)),A=t.props?l:qc(l)}}catch(te){Zn.length=0,os(te,e,1),C=Fe(nn)}let X=C;if(A&&W!==!1){const te=Object.keys(A),{shapeFlag:ke}=X;te.length&&ke&7&&(o&&te.some(Si)&&(A=Zc(A,o)),X=ir(X,A))}return n.dirs&&(X.dirs=X.dirs?X.dirs.concat(n.dirs):n.dirs),n.transition&&(X.transition=n.transition),C=X,Fr(V),C}const qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||es(n))&&((t||(t={}))[n]=e[n]);return t},Zc=(e,t)=>{const n={};for(const r in e)(!Si(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Jc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Do(r,o,u):!!o;if(l&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function ef(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Gc(e)}function kr(e,t){if(ve){let n=ve.provides;const r=ve.parent&&ve.parent.provides;r===n&&(n=ve.provides=Object.create(r)),n[e]=t}}function Mt(e,t,n=!1){const r=ve||Ge;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&j(t)?t.call(r.proxy):t}}const To={};function En(e,t,n){return el(e,t,n)}function el(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=oe){const a=ve;let l,u=!1,f=!1;if(we(e)?(l=()=>e.value,u=Ua(e)):xn(e)?(l=()=>e,r=!0):L(e)?(f=!0,u=e.some(xn),l=()=>e.map(A=>{if(we(A))return A.value;if(xn(A))return Zt(A);if(j(A))return Ht(A,a,2)})):j(e)?t?l=()=>Ht(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),qe(e,a,3,[h])}:l=Ke,t&&r){const A=l;l=()=>Zt(A())}let d,h=A=>{d=C.onStop=()=>{Ht(A,a,4)}};if(or)return h=Ke,t?n&&qe(t,a,3,[l(),f?[]:void 0,h]):l(),Ke;let p=f?[]:To;const D=()=>{if(!!C.active)if(t){const A=C.run();(r||u||(f?A.some((V,X)=>tr(V,p[X])):tr(A,p)))&&(d&&d(),qe(t,a,3,[A,p===To?void 0:p,h]),p=A)}else C.run()};D.allowRecurse=!!t;let W;s==="sync"?W=D:s==="post"?W=()=>De(D,a&&a.suspense):W=()=>{!a||a.isMounted?Bc(D):D()};const C=new ki(l,W);return t?n?D():p=C.run():s==="post"?De(C.run.bind(C),a&&a.suspense):C.run(),()=>{C.stop(),a&&a.scope&&Oi(a.scope.effects,C)}}function tf(e,t,n){const r=this.proxy,s=ye(e)?e.includes(".")?tl(r,e):()=>r[e]:e.bind(r,r);let i;j(t)?i=t:(i=t.handler,n=t);const o=ve;Rn(this);const a=el(s,i.bind(r),n);return o?Rn(o):en(),a}function tl(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Zt(n,t)});else if(ka(e))for(const n in e)Zt(e[n],t);return e}function nl(e){return j(e)?{setup:e,name:e.name}:e}const Js=e=>!!e.type.__asyncLoader,rl=e=>e.type.__isKeepAlive;function nf(e,t){sl(e,"a",t)}function rf(e,t){sl(e,"da",t)}function sl(e,t,n=ve){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ls(t,r,n),n){let s=n.parent;for(;s&&s.parent;)rl(s.parent.vnode)&&sf(r,t,n,s),s=s.parent}}function sf(e,t,n,r){const s=ls(t,e,r,!0);il(()=>{Oi(r[t],s)},n)}function ls(e,t,n=ve,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;An(),Rn(n);const a=qe(t,n,e,o);return en(),Nn(),a});return r?s.unshift(i):s.push(i),i}}const Dt=e=>(t,n=ve)=>(!or||e==="sp")&&ls(e,t,n),of=Dt("bm"),af=Dt("m"),lf=Dt("bu"),uf=Dt("u"),cf=Dt("bum"),il=Dt("um"),ff=Dt("sp"),df=Dt("rtg"),hf=Dt("rtc");function mf(e,t=ve){ls("ec",e,t)}let Qs=!0;function pf(e){const t=al(e),n=e.proxy,r=e.ctx;Qs=!1,t.beforeCreate&&Ro(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:f,beforeMount:d,mounted:h,beforeUpdate:p,updated:D,activated:W,deactivated:C,beforeDestroy:A,beforeUnmount:V,destroyed:X,unmounted:te,render:ke,renderTracked:Ce,renderTriggered:ht,errorCaptured:ln,serverPrefetch:tt,expose:Pt,inheritAttrs:mt,components:pt,directives:un,filters:cn}=t;if(u&&_f(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(const ae in o){const ne=o[ae];j(ne)&&(r[ae]=ne.bind(n))}if(s){const ae=s.call(n,n);pe(ae)&&(e.data=Yn(ae))}if(Qs=!0,i)for(const ae in i){const ne=i[ae],Ae=j(ne)?ne.bind(n,n):j(ne.get)?ne.get.bind(n,n):Ke,dn=!j(ne)&&j(ne.set)?ne.set.bind(n):Ke,_t=ot({get:Ae,set:dn});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>_t.value,set:nt=>_t.value=nt})}if(a)for(const ae in a)ol(a[ae],r,n,ae);if(l){const ae=j(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(ne=>{kr(ne,ae[ne])})}f&&Ro(f,e,"c");function _e(ae,ne){L(ne)?ne.forEach(Ae=>ae(Ae.bind(n))):ne&&ae(ne.bind(n))}if(_e(of,d),_e(af,h),_e(lf,p),_e(uf,D),_e(nf,W),_e(rf,C),_e(mf,ln),_e(hf,Ce),_e(df,ht),_e(cf,V),_e(il,te),_e(ff,tt),L(Pt))if(Pt.length){const ae=e.exposed||(e.exposed={});Pt.forEach(ne=>{Object.defineProperty(ae,ne,{get:()=>n[ne],set:Ae=>n[ne]=Ae})})}else e.exposed||(e.exposed={});ke&&e.render===Ke&&(e.render=ke),mt!=null&&(e.inheritAttrs=mt),pt&&(e.components=pt),un&&(e.directives=un)}function _f(e,t,n=Ke,r=!1){L(e)&&(e=Xs(e));for(const s in e){const i=e[s];let o;pe(i)?"default"in i?o=Mt(i.from||s,i.default,!0):o=Mt(i.from||s):o=Mt(i),we(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Ro(e,t,n){qe(L(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ol(e,t,n,r){const s=r.includes(".")?tl(n,r):()=>n[r];if(ye(e)){const i=t[e];j(i)&&En(s,i)}else if(j(e))En(s,e.bind(n));else if(pe(e))if(L(e))e.forEach(i=>ol(i,t,n,r));else{const i=j(e.handler)?e.handler.bind(n):t[e.handler];j(i)&&En(s,i,e)}}function al(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Lr(l,u,o,!0)),Lr(l,t,o)),i.set(t,l),l}function Lr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Lr(e,i,n,!0),s&&s.forEach(o=>Lr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=gf[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const gf={data:Po,props:zt,emits:zt,methods:zt,computed:zt,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:zt,directives:zt,watch:vf,provide:Po,inject:yf};function Po(e,t){return t?e?function(){return Ee(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function yf(e,t){return zt(Xs(e),Xs(t))}function Xs(e){if(L(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,p]=ul(d,t,!0);Ee(o,h),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!l)return r.set(e,On),On;if(L(i))for(let f=0;f-1,p[1]=W<0||D-1||q(p,"default"))&&a.push(d)}}}const u=[o,a];return r.set(e,u),u}function Co(e){return e[0]!=="$"}function Ao(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function No(e,t){return Ao(e)===Ao(t)}function Yo(e,t){return L(t)?t.findIndex(n=>No(n,e)):j(t)&&No(t,e)?0:-1}const cl=e=>e[0]==="_"||e==="$stable",Ii=e=>L(e)?e.map(it):[it(e)],Sf=(e,t,n)=>{const r=Kc((...s)=>Ii(t(...s)),n);return r._c=!1,r},fl=(e,t,n)=>{const r=e._ctx;for(const s in e){if(cl(s))continue;const i=e[s];if(j(i))t[s]=Sf(s,i,r);else if(i!=null){const o=Ii(i);t[s]=()=>o}}},dl=(e,t)=>{const n=Ii(t);e.slots.default=()=>n},Of=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),Nr(t,"_",n)):fl(t,e.slots={})}else e.slots={},t&&dl(e,t);Nr(e.slots,us,1)},Mf=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=oe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Ee(s,t),!n&&a===1&&delete s._):(i=!t.$stable,fl(t,s)),o=t}else t&&(dl(e,t),o={default:1});if(i)for(const a in s)!cl(a)&&!(a in o)&&delete s[a]};function Jy(e,t){const n=Ge;if(n===null)return e;const r=n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;iti(h,t&&(L(t)?t[p]:t),n,r,s));return}if(Js(r)&&!s)return;const i=r.shapeFlag&4?Ui(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,f=a.refs===oe?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==l&&(ye(u)?(f[u]=null,q(d,u)&&(d[u]=null)):we(u)&&(u.value=null)),j(l))Ht(l,a,12,[o,f]);else{const h=ye(l),p=we(l);if(h||p){const D=()=>{if(e.f){const W=h?f[l]:l.value;s?L(W)&&Oi(W,i):L(W)?W.includes(i)||W.push(i):h?f[l]=[i]:(l.value=[i],e.k&&(f[e.k]=l.value))}else h?(f[l]=o,q(d,l)&&(d[l]=o)):we(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(D.id=-1,De(D,n)):D()}}}const De=ef;function kf(e){return Df(e)}function Df(e,t){const n=ac();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:f,parentNode:d,nextSibling:h,setScopeId:p=Ke,cloneNode:D,insertStaticContent:W}=e,C=(c,m,_,v=null,y=null,O=null,k=!1,S=null,M=!!m.dynamicChildren)=>{if(c===m)return;c&&!Hn(c,m)&&(v=N(c),He(c,y,O,!0),c=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:w,ref:I,shapeFlag:R}=m;switch(w){case Fi:A(c,m,_,v);break;case nn:V(c,m,_,v);break;case Rs:c==null&&X(m,_,v,k);break;case wt:un(c,m,_,v,y,O,k,S,M);break;default:R&1?Ce(c,m,_,v,y,O,k,S,M):R&6?cn(c,m,_,v,y,O,k,S,M):(R&64||R&128)&&w.process(c,m,_,v,y,O,k,S,M,le)}I!=null&&y&&ti(I,c&&c.ref,O,m||c,!m)},A=(c,m,_,v)=>{if(c==null)r(m.el=a(m.children),_,v);else{const y=m.el=c.el;m.children!==c.children&&u(y,m.children)}},V=(c,m,_,v)=>{c==null?r(m.el=l(m.children||""),_,v):m.el=c.el},X=(c,m,_,v)=>{[c.el,c.anchor]=W(c.children,m,_,v,c.el,c.anchor)},te=({el:c,anchor:m},_,v)=>{let y;for(;c&&c!==m;)y=h(c),r(c,_,v),c=y;r(m,_,v)},ke=({el:c,anchor:m})=>{let _;for(;c&&c!==m;)_=h(c),s(c),c=_;s(m)},Ce=(c,m,_,v,y,O,k,S,M)=>{k=k||m.type==="svg",c==null?ht(m,_,v,y,O,k,S,M):Pt(c,m,y,O,k,S,M)},ht=(c,m,_,v,y,O,k,S)=>{let M,w;const{type:I,props:R,shapeFlag:F,transition:U,patchFlag:K,dirs:de}=c;if(c.el&&D!==void 0&&K===-1)M=c.el=D(c.el);else{if(M=c.el=o(c.type,O,R&&R.is,R),F&8?f(M,c.children):F&16&&tt(c.children,M,null,v,y,O&&I!=="foreignObject",k,S),de&&Vt(c,null,v,"created"),R){for(const ue in R)ue!=="value"&&!xr(ue)&&i(M,ue,null,R[ue],O,c.children,v,y,x);"value"in R&&i(M,"value",null,R.value),(w=R.onVnodeBeforeMount)&&st(w,v,c)}ln(M,c,c.scopeId,k,v)}de&&Vt(c,null,v,"beforeMount");const se=(!y||y&&!y.pendingBranch)&&U&&!U.persisted;se&&U.beforeEnter(M),r(M,m,_),((w=R&&R.onVnodeMounted)||se||de)&&De(()=>{w&&st(w,v,c),se&&U.enter(M),de&&Vt(c,null,v,"mounted")},y)},ln=(c,m,_,v,y)=>{if(_&&p(c,_),v)for(let O=0;O{for(let w=M;w{const S=m.el=c.el;let{patchFlag:M,dynamicChildren:w,dirs:I}=m;M|=c.patchFlag&16;const R=c.props||oe,F=m.props||oe;let U;_&&Bt(_,!1),(U=F.onVnodeBeforeUpdate)&&st(U,_,m,c),I&&Vt(m,c,_,"beforeUpdate"),_&&Bt(_,!0);const K=y&&m.type!=="foreignObject";if(w?mt(c.dynamicChildren,w,S,_,v,K,O):k||Ae(c,m,S,null,_,v,K,O,!1),M>0){if(M&16)pt(S,m,R,F,_,v,y);else if(M&2&&R.class!==F.class&&i(S,"class",null,F.class,y),M&4&&i(S,"style",R.style,F.style,y),M&8){const de=m.dynamicProps;for(let se=0;se{U&&st(U,_,m,c),I&&Vt(m,c,_,"updated")},v)},mt=(c,m,_,v,y,O,k)=>{for(let S=0;S{if(_!==v){for(const S in v){if(xr(S))continue;const M=v[S],w=_[S];M!==w&&S!=="value"&&i(c,S,w,M,k,m.children,y,O,x)}if(_!==oe)for(const S in _)!xr(S)&&!(S in v)&&i(c,S,_[S],null,k,m.children,y,O,x);"value"in v&&i(c,"value",_.value,v.value)}},un=(c,m,_,v,y,O,k,S,M)=>{const w=m.el=c?c.el:a(""),I=m.anchor=c?c.anchor:a("");let{patchFlag:R,dynamicChildren:F,slotScopeIds:U}=m;U&&(S=S?S.concat(U):U),c==null?(r(w,_,v),r(I,_,v),tt(m.children,_,I,y,O,k,S,M)):R>0&&R&64&&F&&c.dynamicChildren?(mt(c.dynamicChildren,F,_,y,O,k,S),(m.key!=null||y&&m===y.subTree)&&ml(c,m,!0)):Ae(c,m,_,I,y,O,k,S,M)},cn=(c,m,_,v,y,O,k,S,M)=>{m.slotScopeIds=S,c==null?m.shapeFlag&512?y.ctx.activate(m,_,v,k,M):fn(m,_,v,y,O,k,M):_e(c,m,M)},fn=(c,m,_,v,y,O,k)=>{const S=c.component=jf(c,v,y);if(rl(c)&&(S.ctx.renderer=le),Vf(S),S.asyncDep){if(y&&y.registerDep(S,ae),!c.el){const M=S.subTree=Fe(nn);V(null,M,m,_)}return}ae(S,c,m,_,y,O,k)},_e=(c,m,_)=>{const v=m.component=c.component;if(Jc(c,m,_))if(v.asyncDep&&!v.asyncResolved){ne(v,m,_);return}else v.next=m,Vc(v.update),v.update();else m.component=c.component,m.el=c.el,v.vnode=m},ae=(c,m,_,v,y,O,k)=>{const S=()=>{if(c.isMounted){let{next:I,bu:R,u:F,parent:U,vnode:K}=c,de=I,se;Bt(c,!1),I?(I.el=K.el,ne(c,I,k)):I=K,R&&Er(R),(se=I.props&&I.props.onVnodeBeforeUpdate)&&st(se,U,I,K),Bt(c,!0);const ue=Ts(c),Be=c.subTree;c.subTree=ue,C(Be,ue,d(Be.el),N(Be),c,y,O),I.el=ue.el,de===null&&Qc(c,ue.el),F&&De(F,y),(se=I.props&&I.props.onVnodeUpdated)&&De(()=>st(se,U,I,K),y)}else{let I;const{el:R,props:F}=m,{bm:U,m:K,parent:de}=c,se=Js(m);if(Bt(c,!1),U&&Er(U),!se&&(I=F&&F.onVnodeBeforeMount)&&st(I,de,m),Bt(c,!0),R&&$){const ue=()=>{c.subTree=Ts(c),$(R,c.subTree,c,y,null)};se?m.type.__asyncLoader().then(()=>!c.isUnmounted&&ue()):ue()}else{const ue=c.subTree=Ts(c);C(null,ue,_,v,c,y,O),m.el=ue.el}if(K&&De(K,y),!se&&(I=F&&F.onVnodeMounted)){const ue=m;De(()=>st(I,de,ue),y)}m.shapeFlag&256&&c.a&&De(c.a,y),c.isMounted=!0,m=_=v=null}},M=c.effect=new ki(S,()=>Ka(c.update),c.scope),w=c.update=M.run.bind(M);w.id=c.uid,Bt(c,!0),w()},ne=(c,m,_)=>{m.component=c;const v=c.vnode.props;c.vnode=m,c.next=null,bf(c,m.props,v,_),Mf(c,m.children,_),An(),Ni(void 0,c.update),Nn()},Ae=(c,m,_,v,y,O,k,S,M=!1)=>{const w=c&&c.children,I=c?c.shapeFlag:0,R=m.children,{patchFlag:F,shapeFlag:U}=m;if(F>0){if(F&128){_t(w,R,_,v,y,O,k,S,M);return}else if(F&256){dn(w,R,_,v,y,O,k,S,M);return}}U&8?(I&16&&x(w,y,O),R!==w&&f(_,R)):I&16?U&16?_t(w,R,_,v,y,O,k,S,M):x(w,y,O,!0):(I&8&&f(_,""),U&16&&tt(R,_,v,y,O,k,S,M))},dn=(c,m,_,v,y,O,k,S,M)=>{c=c||On,m=m||On;const w=c.length,I=m.length,R=Math.min(w,I);let F;for(F=0;FI?x(c,y,O,!0,!1,R):tt(m,_,v,y,O,k,S,M,R)},_t=(c,m,_,v,y,O,k,S,M)=>{let w=0;const I=m.length;let R=c.length-1,F=I-1;for(;w<=R&&w<=F;){const U=c[w],K=m[w]=M?It(m[w]):it(m[w]);if(Hn(U,K))C(U,K,_,null,y,O,k,S,M);else break;w++}for(;w<=R&&w<=F;){const U=c[R],K=m[F]=M?It(m[F]):it(m[F]);if(Hn(U,K))C(U,K,_,null,y,O,k,S,M);else break;R--,F--}if(w>R){if(w<=F){const U=F+1,K=UF)for(;w<=R;)He(c[w],y,O,!0),w++;else{const U=w,K=w,de=new Map;for(w=K;w<=F;w++){const Ne=m[w]=M?It(m[w]):it(m[w]);Ne.key!=null&&de.set(Ne.key,w)}let se,ue=0;const Be=F-K+1;let hn=!1,_o=0;const Wn=new Array(Be);for(w=0;w=Be){He(Ne,y,O,!0);continue}let rt;if(Ne.key!=null)rt=de.get(Ne.key);else for(se=K;se<=F;se++)if(Wn[se-K]===0&&Hn(Ne,m[se])){rt=se;break}rt===void 0?He(Ne,y,O,!0):(Wn[rt-K]=w+1,rt>=_o?_o=rt:hn=!0,C(Ne,m[rt],_,null,y,O,k,S,M),ue++)}const go=hn?Tf(Wn):On;for(se=go.length-1,w=Be-1;w>=0;w--){const Ne=K+w,rt=m[Ne],yo=Ne+1{const{el:O,type:k,transition:S,children:M,shapeFlag:w}=c;if(w&6){nt(c.component.subTree,m,_,v);return}if(w&128){c.suspense.move(m,_,v);return}if(w&64){k.move(c,m,_,le);return}if(k===wt){r(O,m,_);for(let R=0;RS.enter(O),y);else{const{leave:R,delayLeave:F,afterLeave:U}=S,K=()=>r(O,m,_),de=()=>{R(O,()=>{K(),U&&U()})};F?F(O,K,de):de()}else r(O,m,_)},He=(c,m,_,v=!1,y=!1)=>{const{type:O,props:k,ref:S,children:M,dynamicChildren:w,shapeFlag:I,patchFlag:R,dirs:F}=c;if(S!=null&&ti(S,null,_,c,!0),I&256){m.ctx.deactivate(c);return}const U=I&1&&F,K=!Js(c);let de;if(K&&(de=k&&k.onVnodeBeforeUnmount)&&st(de,m,c),I&6)P(c.component,_,v);else{if(I&128){c.suspense.unmount(_,v);return}U&&Vt(c,null,m,"beforeUnmount"),I&64?c.type.remove(c,m,_,y,le,v):w&&(O!==wt||R>0&&R&64)?x(w,m,_,!1,!0):(O===wt&&R&384||!y&&I&16)&&x(M,m,_),v&&ks(c)}(K&&(de=k&&k.onVnodeUnmounted)||U)&&De(()=>{de&&st(de,m,c),U&&Vt(c,null,m,"unmounted")},_)},ks=c=>{const{type:m,el:_,anchor:v,transition:y}=c;if(m===wt){g(_,v);return}if(m===Rs){ke(c);return}const O=()=>{s(_),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(c.shapeFlag&1&&y&&!y.persisted){const{leave:k,delayLeave:S}=y,M=()=>k(_,O);S?S(c.el,O,M):M()}else O()},g=(c,m)=>{let _;for(;c!==m;)_=h(c),s(c),c=_;s(m)},P=(c,m,_)=>{const{bum:v,scope:y,update:O,subTree:k,um:S}=c;v&&Er(v),y.stop(),O&&(O.active=!1,He(k,c,m,_)),S&&De(S,m),De(()=>{c.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},x=(c,m,_,v=!1,y=!1,O=0)=>{for(let k=O;kc.shapeFlag&6?N(c.component.subTree):c.shapeFlag&128?c.suspense.next():h(c.anchor||c.el),re=(c,m,_)=>{c==null?m._vnode&&He(m._vnode,null,null,!0):C(m._vnode||null,c,m,null,null,null,_),Ja(),m._vnode=c},le={p:C,um:He,m:nt,r:ks,mt:fn,mc:tt,pc:Ae,pbc:mt,n:N,o:e};let G,$;return t&&([G,$]=t(le)),{render:re,hydrate:G,createApp:Ef(re,G)}}function Bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ml(e,t,n=!1){const r=e.children,s=t.children;if(L(r)&&L(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Rf=e=>e.__isTeleport,pl="components";function Qy(e,t){return Cf(pl,e,!0,t)||e}const Pf=Symbol();function Cf(e,t,n=!0,r=!1){const s=Ge||ve;if(s){const i=s.type;if(e===pl){const a=Kf(i);if(a&&(a===t||a===ut(t)||a===ss(ut(t))))return i}const o=Io(s[e]||i[e],t)||Io(s.appContext[e],t);return!o&&r?i:o}}function Io(e,t){return e&&(e[t]||e[ut(t)]||e[ss(ut(t))])}const wt=Symbol(void 0),Fi=Symbol(void 0),nn=Symbol(void 0),Rs=Symbol(void 0),Zn=[];let Xt=null;function Af(e=!1){Zn.push(Xt=e?null:[])}function Nf(){Zn.pop(),Xt=Zn[Zn.length-1]||null}let Ur=1;function Fo(e){Ur+=e}function _l(e){return e.dynamicChildren=Ur>0?Xt||On:null,Nf(),Ur>0&&Xt&&Xt.push(e),e}function Xy(e,t,n,r,s,i){return _l(yl(e,t,n,r,s,i,!0))}function Yf(e,t,n,r,s){return _l(Fe(e,t,n,r,s,!0))}function ni(e){return e?e.__v_isVNode===!0:!1}function Hn(e,t){return e.type===t.type&&e.key===t.key}const us="__vInternal",gl=({key:e})=>e!=null?e:null,Dr=({ref:e,ref_key:t,ref_for:n})=>e!=null?ye(e)||we(e)||j(e)?{i:Ge,r:e,k:t,f:!!n}:e:null;function yl(e,t=null,n=null,r=0,s=null,i=e===wt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gl(t),ref:t&&Dr(t),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(Li(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ye(n)?8:16),Ur>0&&!o&&Xt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xt.push(l),l}const Fe=If;function If(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Pf)&&(e=nn),ni(e)){const a=ir(e,t,!0);return n&&Li(a,n),a}if(qf(e)&&(e=e.__vccOpts),t){t=Ff(t);let{class:a,style:l}=t;a&&!ye(a)&&(t.class=bi(a)),pe(l)&&(Wa(l)&&!L(l)&&(l=Ee({},l)),t.style=wi(l))}const o=ye(e)?1:Xc(e)?128:Rf(e)?64:pe(e)?4:j(e)?2:0;return yl(e,t,n,r,s,o,i,!0)}function Ff(e){return e?Wa(e)||us in e?Ee({},e):e:null}function ir(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?Uf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&gl(a),ref:t&&t.ref?n&&s?L(s)?s.concat(Dr(t)):[s,Dr(t)]:Dr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ir(e.ssContent),ssFallback:e.ssFallback&&ir(e.ssFallback),el:e.el,anchor:e.anchor}}function Lf(e=" ",t=0){return Fe(Fi,null,e,t)}function ev(e="",t=!1){return t?(Af(),Yf(nn,null,e)):Fe(nn,null,e)}function it(e){return e==null||typeof e=="boolean"?Fe(nn):L(e)?Fe(wt,null,e.slice()):typeof e=="object"?It(e):Fe(Fi,null,String(e))}function It(e){return e.el===null||e.memo?e:ir(e)}function Li(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Li(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(us in t)?t._ctx=Ge:s===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else j(t)?(t={default:t,_ctx:Ge},n=32):(t=String(t),r&64?(n=16,t=[Lf(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uf(...e){const t={};for(let n=0;nt(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;ae?vl(e)?Ui(e)||e.proxy:ri(e.parent):null,Wr=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ri(e.parent),$root:e=>ri(e.root),$emit:e=>e.emit,$options:e=>al(e),$forceUpdate:e=>()=>Ka(e.update),$nextTick:e=>za.bind(e.proxy),$watch:e=>tf.bind(e)}),Wf={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(r!==oe&&q(r,t))return o[t]=1,r[t];if(s!==oe&&q(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&q(u,t))return o[t]=3,i[t];if(n!==oe&&q(n,t))return o[t]=4,n[t];Qs&&(o[t]=0)}}const f=Wr[t];let d,h;if(f)return t==="$attrs"&&Le(e,"get",t),f(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==oe&&q(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,q(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return s!==oe&&q(s,t)?(s[t]=n,!0):r!==oe&&q(r,t)?(r[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==oe&&q(e,o)||t!==oe&&q(t,o)||(a=i[0])&&q(a,o)||q(r,o)||q(Wr,o)||q(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Hf=hl();let $f=0;function jf(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Hf,i={uid:$f++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new lc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ul(r,s),emitsOptions:Xa(r,s),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:r.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=zc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const Rn=e=>{ve=e,e.scope.on()},en=()=>{ve&&ve.scope.off(),ve=null};function vl(e){return e.vnode.shapeFlag&4}let or=!1;function Vf(e,t=!1){or=t;const{props:n,children:r}=e.vnode,s=vl(e);wf(e,n,s,t),Of(e,r);const i=s?Bf(e,t):void 0;return or=!1,i}function Bf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ha(new Proxy(e.ctx,Wf));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?zf(e):null;Rn(e),An();const i=Ht(r,e,0,[e.props,s]);if(Nn(),en(),xa(i)){if(i.then(en,en),t)return i.then(o=>{Lo(e,o,t)}).catch(o=>{os(o,e,0)});e.asyncDep=i}else Lo(e,i,t)}else wl(e,t)}function Lo(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Ba(t)),wl(e,n)}let Uo;function wl(e,t,n){const r=e.type;if(!e.render){if(!t&&Uo&&!r.render){const s=r.template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Ee(Ee({isCustomElement:i,delimiters:a},o),l);r.render=Uo(s,u)}}e.render=r.render||Ke}Rn(e),An(),pf(e),Nn(),en()}function Gf(e){return new Proxy(e.attrs,{get(t,n){return Le(e,"get","$attrs"),t[n]}})}function zf(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Gf(e))},slots:e.slots,emit:e.emit,expose:t}}function Ui(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ba(Ha(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wr)return Wr[n](e)}}))}function Kf(e){return j(e)&&e.displayName||e.name}function qf(e){return j(e)&&"__vccOpts"in e}const ot=(e,t)=>Hc(e,t,or);function bl(e,t,n){const r=arguments.length;return r===2?pe(t)&&!L(t)?ni(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ni(n)&&(n=[n]),Fe(e,t,n))}const Zf="3.2.31",Jf="http://www.w3.org/2000/svg",Kt=typeof document!="undefined"?document:null,Wo=Kt&&Kt.createElement("template"),Qf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Kt.createElementNS(Jf,e):Kt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Kt.createTextNode(e),createComment:e=>Kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Wo.innerHTML=r?`${e}`:e;const a=Wo.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Xf(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ed(e,t,n){const r=e.style,s=ye(n);if(n&&!s){for(const i in n)si(r,i,n[i]);if(t&&!ye(t))for(const i in t)n[i]==null&&si(r,i,"")}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const Ho=/\s*!important$/;function si(e,t,n){if(L(n))n.forEach(r=>si(e,t,r));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=td(e,t);Ho.test(n)?e.setProperty(rn(r),n.replace(Ho,""),"important"):e[r]=n}}const $o=["Webkit","Moz","ms"],Ps={};function td(e,t){const n=Ps[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return Ps[t]=r;r=ss(r);for(let s=0;s<$o.length;s++){const i=$o[s]+r;if(i in e)return Ps[t]=i}return t}const jo="http://www.w3.org/1999/xlink";function nd(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(jo,t.slice(6,t.length)):e.setAttributeNS(jo,t,n);else{const i=qu(t);n==null||i&&!Oa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function rd(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n==null?"":n;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const a=typeof e[t];if(a==="boolean"){e[t]=Oa(n);return}else if(n==null&&a==="string"){e[t]="",e.removeAttribute(t);return}else if(a==="number"){try{e[t]=0}catch(l){}e.removeAttribute(t);return}}try{e[t]=n}catch(a){}}let Hr=Date.now,Sl=!1;if(typeof window!="undefined"){Hr()>document.createEvent("Event").timeStamp&&(Hr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Sl=!!(e&&Number(e[1])<=53)}let ii=0;const sd=Promise.resolve(),id=()=>{ii=0},od=()=>ii||(sd.then(id),ii=Hr());function qt(e,t,n,r){e.addEventListener(t,n,r)}function ad(e,t,n,r){e.removeEventListener(t,n,r)}function ld(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=ud(t);if(r){const u=i[t]=cd(r,s);qt(e,a,u,l)}else o&&(ad(e,a,o,l),i[t]=void 0)}}const Vo=/(?:Once|Passive|Capture)$/;function ud(e){let t;if(Vo.test(e)){t={};let n;for(;n=e.match(Vo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[rn(e.slice(2)),t]}function cd(e,t){const n=r=>{const s=r.timeStamp||Hr();(Sl||s>=n.attached-1)&&qe(fd(r,n.value),t,5,[r])};return n.value=e,n.attached=od(),n}function fd(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Bo=/^on[a-z]/,dd=(e,t,n,r,s=!1,i,o,a,l)=>{t==="class"?Xf(e,r,s):t==="style"?ed(e,n,r):es(t)?Si(t)||ld(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hd(e,t,r,s))?rd(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nd(e,t,r,s))};function hd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Bo.test(t)&&j(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Bo.test(t)&&ye(n)?!1:t in e}const $r=e=>{const t=e.props["onUpdate:modelValue"];return L(t)?n=>Er(t,n):t};function md(e){e.target.composing=!0}function Go(e){const t=e.target;t.composing&&(t.composing=!1,pd(t,"input"))}function pd(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const nv={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=$r(s);const i=r||s.props&&s.props.type==="number";qt(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n?a=a.trim():i&&(a=Yr(a)),e._assign(a)}),n&&qt(e,"change",()=>{e.value=e.value.trim()}),t||(qt(e,"compositionstart",md),qt(e,"compositionend",Go),qt(e,"change",Go))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e._assign=$r(i),e.composing||document.activeElement===e&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Yr(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},rv={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ts(t);qt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Yr(jr(o)):jr(o));e._assign(e.multiple?s?new Set(i):i:i[0])}),e._assign=$r(r)},mounted(e,{value:t}){zo(e,t)},beforeUpdate(e,t,n){e._assign=$r(n)},updated(e,{value:t}){zo(e,t)}};function zo(e,t){const n=e.multiple;if(!(n&&!L(t)&&!ts(t))){for(let r=0,s=e.options.length;r-1:i.selected=t.has(o);else if(Xr(jr(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function jr(e){return"_value"in e?e._value:e.value}const _d=["ctrl","shift","alt","meta"],gd={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>_d.some(n=>e[`${n}Key`]&&!t.includes(n))},sv=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=rn(n.key);if(t.some(s=>s===r||yd[s]===r))return e(n)},vd=Ee({patchProp:dd},Qf);let Ko;function wd(){return Ko||(Ko=kf(vd))}const ov=(...e)=>{const t=wd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bd(r);if(!s)return;const i=t._component;!j(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function bd(e){return ye(e)?document.querySelector(e):e}//! moment.js -//! version : 2.29.1 +var bo=(e,t,n)=>new Promise((r,s)=>{var i=a=>{try{l(n.next(a))}catch(u){s(u)}},o=a=>{try{l(n.throw(a))}catch(u){s(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,o);l((n=n.apply(e,t)).next())});function vi(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const nc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rc=vi(nc);function Da(e){return!!e||e===""}function wi(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(ic);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function bi(e){let t="";if(ye(e))t=e;else if(U(e))for(let n=0;nes(n,t))}const Ev=e=>ye(e)?e:e==null?"":U(e)||pe(e)&&(e.toString===Pa||!H(e.toString))?JSON.stringify(e,Ta,2):String(e),Ta=(e,t)=>t&&t.__v_isRef?Ta(e,t.value):Mn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ns(t)?{[`Set(${t.size})`]:[...t.values()]}:pe(t)&&!U(t)&&!Ca(t)?String(t):t,oe={},xn=[],qe=()=>{},uc=()=>!1,cc=/^on[^a-z]/,ts=e=>cc.test(e),Si=e=>e.startsWith("onUpdate:"),ke=Object.assign,Oi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fc=Object.prototype.hasOwnProperty,K=(e,t)=>fc.call(e,t),U=Array.isArray,Mn=e=>rs(e)==="[object Map]",ns=e=>rs(e)==="[object Set]",So=e=>e instanceof Date,H=e=>typeof e=="function",ye=e=>typeof e=="string",xi=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Ra=e=>pe(e)&&H(e.then)&&H(e.catch),Pa=Object.prototype.toString,rs=e=>Pa.call(e),dc=e=>rs(e).slice(8,-1),Ca=e=>rs(e)==="[object Object]",Mi=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Er=vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hc=/-(\w)/g,ut=ss(e=>e.replace(hc,(t,n)=>n?n.toUpperCase():"")),mc=/\B([A-Z])/g,rn=ss(e=>e.replace(mc,"-$1").toLowerCase()),is=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ts=ss(e=>e?`on${is(e)}`:""),nr=(e,t)=>!Object.is(e,t),kr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ir=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Oo;const pc=()=>Oo||(Oo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let yt;class gc{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return yt=this,t()}finally{yt=this.parent}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Aa=e=>(e.w&Ht)>0,Na=e=>(e.n&Ht)>0,yc=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&l.push(a)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":U(e)?Mi(n)&&l.push(o.get("length")):(l.push(o.get(Qt)),Mn(e)&&l.push(o.get(zs)));break;case"delete":U(e)||(l.push(o.get(Qt)),Mn(e)&&l.push(o.get(zs)));break;case"set":Mn(e)&&l.push(o.get(Qt));break}if(l.length===1)l[0]&&qs(l[0]);else{const a=[];for(const u of l)u&&a.push(...u);qs(Ei(a))}}function qs(e,t){for(const n of U(e)?e:[...e])(n!==lt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const wc=vi("__proto__,__v_isRef,__isVue"),Fa=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(xi)),bc=Di(),Sc=Di(!1,!0),Oc=Di(!0),Mo=xc();function xc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Q(this);for(let i=0,o=this.length;i{e[t]=function(...n){Nn();const r=Q(this)[t].apply(this,n);return Yn(),r}}),e}function Di(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?jc:$a:t?Wa:ja).get(r))return r;const o=U(r);if(!e&&o&&K(Mo,s))return Reflect.get(Mo,s,i);const l=Reflect.get(r,s,i);return(xi(s)?Fa.has(s):wc(s))||(e||Le(r,"get",s),t)?l:be(l)?!o||!Mi(s)?l.value:l:pe(l)?e?Ha(l):In(l):l}}const Mc=La(),Ec=La(!0);function La(e=!1){return function(n,r,s,i){let o=n[r];if(rr(o)&&be(o)&&!be(s))return!1;if(!e&&!rr(s)&&(Va(s)||(s=Q(s),o=Q(o)),!U(n)&&be(o)&&!be(s)))return o.value=s,!0;const l=U(n)&&Mi(r)?Number(r)e,os=e=>Reflect.getPrototypeOf(e);function _r(e,t,n=!1,r=!1){e=e.__v_raw;const s=Q(e),i=Q(t);t!==i&&!n&&Le(s,"get",t),!n&&Le(s,"get",i);const{has:o}=os(s),l=r?Ti:n?Ci:sr;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function yr(e,t=!1){const n=this.__v_raw,r=Q(n),s=Q(e);return e!==s&&!t&&Le(r,"has",e),!t&&Le(r,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function vr(e,t=!1){return e=e.__v_raw,!t&&Le(Q(e),"iterate",Qt),Reflect.get(e,"size",e)}function Eo(e){e=Q(e);const t=Q(this);return os(t).has.call(t,e)||(t.add(e),Et(t,"add",e,e)),this}function ko(e,t){t=Q(t);const n=Q(this),{has:r,get:s}=os(n);let i=r.call(n,e);i||(e=Q(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?nr(t,o)&&Et(n,"set",e,t):Et(n,"add",e,t),this}function Do(e){const t=Q(this),{has:n,get:r}=os(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Et(t,"delete",e,void 0),i}function To(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&Et(e,"clear",void 0,void 0),n}function wr(e,t){return function(r,s){const i=this,o=i.__v_raw,l=Q(o),a=t?Ti:e?Ci:sr;return!e&&Le(l,"iterate",Qt),o.forEach((u,f)=>r.call(s,a(u),a(f),i))}}function br(e,t,n){return function(...r){const s=this.__v_raw,i=Q(s),o=Mn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=s[e](...r),f=n?Ti:t?Ci:sr;return!t&&Le(i,"iterate",a?zs:Qt),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:l?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e==="delete"?!1:this}}function Cc(){const e={get(i){return _r(this,i)},get size(){return vr(this)},has:yr,add:Eo,set:ko,delete:Do,clear:To,forEach:wr(!1,!1)},t={get(i){return _r(this,i,!1,!0)},get size(){return vr(this)},has:yr,add:Eo,set:ko,delete:Do,clear:To,forEach:wr(!1,!0)},n={get(i){return _r(this,i,!0)},get size(){return vr(this,!0)},has(i){return yr.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:wr(!0,!1)},r={get(i){return _r(this,i,!0,!0)},get size(){return vr(this,!0)},has(i){return yr.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:wr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=br(i,!1,!1),n[i]=br(i,!0,!1),t[i]=br(i,!1,!0),r[i]=br(i,!0,!0)}),[e,n,t,r]}const[Ac,Nc,Yc,Ic]=Cc();function Ri(e,t){const n=t?e?Ic:Yc:e?Nc:Ac;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(K(n,s)&&s in r?n:r,s,i)}const Fc={get:Ri(!1,!1)},Lc={get:Ri(!1,!0)},Uc={get:Ri(!0,!1)},ja=new WeakMap,Wa=new WeakMap,$a=new WeakMap,jc=new WeakMap;function Wc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $c(e){return e.__v_skip||!Object.isExtensible(e)?0:Wc(dc(e))}function In(e){return rr(e)?e:Pi(e,!1,Ua,Fc,ja)}function Hc(e){return Pi(e,!1,Pc,Lc,Wa)}function Ha(e){return Pi(e,!0,Rc,Uc,$a)}function Pi(e,t,n,r,s){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=$c(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function En(e){return rr(e)?En(e.__v_raw):!!(e&&e.__v_isReactive)}function rr(e){return!!(e&&e.__v_isReadonly)}function Va(e){return!!(e&&e.__v_isShallow)}function Ba(e){return En(e)||rr(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Ga(e){return Yr(e,"__v_skip",!0),e}const sr=e=>pe(e)?In(e):e,Ci=e=>pe(e)?Ha(e):e;function za(e){jt&<&&(e=Q(e),Ia(e.dep||(e.dep=Ei())))}function qa(e,t){e=Q(e),e.dep&&qs(e.dep)}function be(e){return!!(e&&e.__v_isRef===!0)}function Vc(e){return Ka(e,!1)}function Bc(e){return Ka(e,!0)}function Ka(e,t){return be(e)?e:new Gc(e,t)}class Gc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:sr(t)}get value(){return za(this),this._value}set value(t){t=this.__v_isShallow?t:Q(t),nr(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:sr(t),qa(this))}}function qn(e){return be(e)?e.value:e}const zc={get:(e,t,n)=>qn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return be(s)&&!be(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Za(e){return En(e)?e:new Proxy(e,zc)}class qc{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ki(t,()=>{this._dirty||(this._dirty=!0,qa(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Q(this);return za(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Kc(e,t,n=!1){let r,s;const i=H(e);return i?(r=e,s=qe):(r=e.get,s=e.set),new qc(r,s,i||!s,n)}Promise.resolve();function Wt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){as(i,t,n)}return s}function Ke(e,t,n,r){if(H(e)){const i=Wt(e,t,n,r);return i&&Ra(i)&&i.catch(o=>{as(o,t,n)}),i}const s=[];for(let i=0;i>>1;ir(Ie[r])bt&&Ie.splice(t,1)}function tl(e,t,n,r){U(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),el()}function Xc(e){tl(e,zn,Kn,vn)}function ef(e){tl(e,Yt,Zn,wn)}function Ni(e,t=null){if(Kn.length){for(Zs=t,zn=[...new Set(Kn)],Kn.length=0,vn=0;vnir(n)-ir(r)),wn=0;wne.id==null?1/0:e.id;function rl(e){Ks=!1,Fr=!0,Ni(e),Ie.sort((n,r)=>ir(n)-ir(r));const t=qe;try{for(bt=0;btg.trim()):d&&(s=n.map(Ir))}let l,a=r[l=Ts(t)]||r[l=Ts(ut(t))];!a&&i&&(a=r[l=Ts(rn(t))]),a&&Ke(a,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ke(u,e,6,s)}}function sl(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!H(e)){const a=u=>{const f=sl(u,t,!0);f&&(l=!0,ke(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(r.set(e,null),null):(U(i)?i.forEach(a=>o[a]=null):ke(o,i),r.set(e,o),o)}function Yi(e,t){return!e||!ts(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,rn(t))||K(e,t))}let Ge=null,ls=null;function Lr(e){const t=Ge;return Ge=e,ls=e&&e.type.__scopeId||null,t}function kv(e){ls=e}function Dv(){ls=null}function nf(e,t=Ge,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Uo(-1);const i=Lr(t),o=e(...s);return Lr(i),r._d&&Uo(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Rs(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:l,attrs:a,emit:u,render:f,renderCache:d,data:h,setupState:g,ctx:E,inheritAttrs:L}=e;let R,A;const V=Lr(e);try{if(n.shapeFlag&4){const te=s||r;R=it(f.call(te,te,d,i,g,h,E)),A=a}else{const te=t;R=it(te.length>1?te(i,{attrs:a,slots:l,emit:u}):te(i,null)),A=t.props?a:rf(a)}}catch(te){Jn.length=0,as(te,e,1),R=Fe(nn)}let X=R;if(A&&L!==!1){const te=Object.keys(A),{shapeFlag:De}=X;te.length&&De&7&&(o&&te.some(Si)&&(A=sf(A,o)),X=or(X,A))}return n.dirs&&(X.dirs=X.dirs?X.dirs.concat(n.dirs):n.dirs),n.transition&&(X.transition=n.transition),R=X,Lr(V),R}const rf=e=>{let t;for(const n in e)(n==="class"||n==="style"||ts(n))&&((t||(t={}))[n]=e[n]);return t},sf=(e,t)=>{const n={};for(const r in e)(!Si(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function of(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ro(r,o,u):!!o;if(a&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function uf(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):ef(e)}function Dr(e,t){if(we){let n=we.provides;const r=we.parent&&we.parent.provides;r===n&&(n=we.provides=Object.create(r)),n[e]=t}}function xt(e,t,n=!1){const r=we||Ge;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&H(t)?t.call(r.proxy):t}}const Po={};function kn(e,t,n){return il(e,t,n)}function il(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=oe){const l=we;let a,u=!1,f=!1;if(be(e)?(a=()=>e.value,u=Va(e)):En(e)?(a=()=>e,r=!0):U(e)?(f=!0,u=e.some(En),a=()=>e.map(A=>{if(be(A))return A.value;if(En(A))return Zt(A);if(H(A))return Wt(A,l,2)})):H(e)?t?a=()=>Wt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return d&&d(),Ke(e,l,3,[h])}:a=qe,t&&r){const A=a;a=()=>Zt(A())}let d,h=A=>{d=R.onStop=()=>{Wt(A,l,4)}};if(ar)return h=qe,t?n&&Ke(t,l,3,[a(),f?[]:void 0,h]):a(),qe;let g=f?[]:Po;const E=()=>{if(!!R.active)if(t){const A=R.run();(r||u||(f?A.some((V,X)=>nr(V,g[X])):nr(A,g)))&&(d&&d(),Ke(t,l,3,[A,g===Po?void 0:g,h]),g=A)}else R.run()};E.allowRecurse=!!t;let L;s==="sync"?L=E:s==="post"?L=()=>Te(E,l&&l.suspense):L=()=>{!l||l.isMounted?Xc(E):E()};const R=new ki(a,L);return t?n?E():g=R.run():s==="post"?Te(R.run.bind(R),l&&l.suspense):R.run(),()=>{R.stop(),l&&l.scope&&Oi(l.scope.effects,R)}}function cf(e,t,n){const r=this.proxy,s=ye(e)?e.includes(".")?ol(r,e):()=>r[e]:e.bind(r,r);let i;H(t)?i=t:(i=t.handler,n=t);const o=we;Pn(this);const l=il(s,i.bind(r),n);return o?Pn(o):en(),l}function ol(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Zt(n,t)});else if(Ca(e))for(const n in e)Zt(e[n],t);return e}function al(e){return H(e)?{setup:e,name:e.name}:e}const Js=e=>!!e.type.__asyncLoader,ll=e=>e.type.__isKeepAlive;function ff(e,t){ul(e,"a",t)}function df(e,t){ul(e,"da",t)}function ul(e,t,n=we){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(us(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ll(s.parent.vnode)&&hf(r,t,n,s),s=s.parent}}function hf(e,t,n,r){const s=us(t,e,r,!0);cl(()=>{Oi(r[t],s)},n)}function us(e,t,n=we,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Nn(),Pn(n);const l=Ke(t,n,e,o);return en(),Yn(),l});return r?s.unshift(i):s.push(i),i}}const Dt=e=>(t,n=we)=>(!ar||e==="sp")&&us(e,t,n),mf=Dt("bm"),pf=Dt("m"),gf=Dt("bu"),_f=Dt("u"),yf=Dt("bum"),cl=Dt("um"),vf=Dt("sp"),wf=Dt("rtg"),bf=Dt("rtc");function Sf(e,t=we){us("ec",e,t)}let Qs=!0;function Of(e){const t=dl(e),n=e.proxy,r=e.ctx;Qs=!1,t.beforeCreate&&Co(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:u,created:f,beforeMount:d,mounted:h,beforeUpdate:g,updated:E,activated:L,deactivated:R,beforeDestroy:A,beforeUnmount:V,destroyed:X,unmounted:te,render:De,renderTracked:Ce,renderTriggered:ht,errorCaptured:ln,serverPrefetch:tt,expose:Pt,inheritAttrs:mt,components:pt,directives:un,filters:cn}=t;if(u&&xf(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(const ae in o){const ne=o[ae];H(ne)&&(r[ae]=ne.bind(n))}if(s){const ae=s.call(n,n);pe(ae)&&(e.data=In(ae))}if(Qs=!0,i)for(const ae in i){const ne=i[ae],Ae=H(ne)?ne.bind(n,n):H(ne.get)?ne.get.bind(n,n):qe,dn=!H(ne)&&H(ne.set)?ne.set.bind(n):qe,gt=ot({get:Ae,set:dn});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>gt.value,set:nt=>gt.value=nt})}if(l)for(const ae in l)fl(l[ae],r,n,ae);if(a){const ae=H(a)?a.call(n):a;Reflect.ownKeys(ae).forEach(ne=>{Dr(ne,ae[ne])})}f&&Co(f,e,"c");function ge(ae,ne){U(ne)?ne.forEach(Ae=>ae(Ae.bind(n))):ne&&ae(ne.bind(n))}if(ge(mf,d),ge(pf,h),ge(gf,g),ge(_f,E),ge(ff,L),ge(df,R),ge(Sf,ln),ge(bf,Ce),ge(wf,ht),ge(yf,V),ge(cl,te),ge(vf,tt),U(Pt))if(Pt.length){const ae=e.exposed||(e.exposed={});Pt.forEach(ne=>{Object.defineProperty(ae,ne,{get:()=>n[ne],set:Ae=>n[ne]=Ae})})}else e.exposed||(e.exposed={});De&&e.render===qe&&(e.render=De),mt!=null&&(e.inheritAttrs=mt),pt&&(e.components=pt),un&&(e.directives=un)}function xf(e,t,n=qe,r=!1){U(e)&&(e=Xs(e));for(const s in e){const i=e[s];let o;pe(i)?"default"in i?o=xt(i.from||s,i.default,!0):o=xt(i.from||s):o=xt(i),be(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[s]=o}}function Co(e,t,n){Ke(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function fl(e,t,n,r){const s=r.includes(".")?ol(n,r):()=>n[r];if(ye(e)){const i=t[e];H(i)&&kn(s,i)}else if(H(e))kn(s,e.bind(n));else if(pe(e))if(U(e))e.forEach(i=>fl(i,t,n,r));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&kn(s,i,e)}}function dl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>Ur(a,u,o,!0)),Ur(a,t,o)),i.set(t,a),a}function Ur(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Ur(e,i,n,!0),s&&s.forEach(o=>Ur(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Mf[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Mf={data:Ao,props:zt,emits:zt,methods:zt,computed:zt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:zt,directives:zt,watch:kf,provide:Ao,inject:Ef};function Ao(e,t){return t?e?function(){return ke(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Ef(e,t){return zt(Xs(e),Xs(t))}function Xs(e){if(U(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[h,g]=ml(d,t,!0);ke(o,h),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!a)return r.set(e,xn),xn;if(U(i))for(let f=0;f-1,g[1]=L<0||E-1||K(g,"default"))&&l.push(d)}}}const u=[o,l];return r.set(e,u),u}function No(e){return e[0]!=="$"}function Yo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Io(e,t){return Yo(e)===Yo(t)}function Fo(e,t){return U(t)?t.findIndex(n=>Io(n,e)):H(t)&&Io(t,e)?0:-1}const pl=e=>e[0]==="_"||e==="$stable",Ii=e=>U(e)?e.map(it):[it(e)],Rf=(e,t,n)=>{const r=nf((...s)=>Ii(t(...s)),n);return r._c=!1,r},gl=(e,t,n)=>{const r=e._ctx;for(const s in e){if(pl(s))continue;const i=e[s];if(H(i))t[s]=Rf(s,i,r);else if(i!=null){const o=Ii(i);t[s]=()=>o}}},_l=(e,t)=>{const n=Ii(t);e.slots.default=()=>n},Pf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),Yr(t,"_",n)):gl(t,e.slots={})}else e.slots={},t&&_l(e,t);Yr(e.slots,cs,1)},Cf=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=oe;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(s,t),!n&&l===1&&delete s._):(i=!t.$stable,gl(t,s)),o=t}else t&&(_l(e,t),o={default:1});if(i)for(const l in s)!pl(l)&&!(l in o)&&delete s[l]};function Tv(e,t){const n=Ge;if(n===null)return e;const r=n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;iti(h,t&&(U(t)?t[g]:t),n,r,s));return}if(Js(r)&&!s)return;const i=r.shapeFlag&4?Ui(r.component)||r.component.proxy:r.el,o=s?null:i,{i:l,r:a}=e,u=t&&t.r,f=l.refs===oe?l.refs={}:l.refs,d=l.setupState;if(u!=null&&u!==a&&(ye(u)?(f[u]=null,K(d,u)&&(d[u]=null)):be(u)&&(u.value=null)),H(a))Wt(a,l,12,[o,f]);else{const h=ye(a),g=be(a);if(h||g){const E=()=>{if(e.f){const L=h?f[a]:a.value;s?U(L)&&Oi(L,i):U(L)?L.includes(i)||L.push(i):h?f[a]=[i]:(a.value=[i],e.k&&(f[e.k]=a.value))}else h?(f[a]=o,K(d,a)&&(d[a]=o)):be(a)&&(a.value=o,e.k&&(f[e.k]=o))};o?(E.id=-1,Te(E,n)):E()}}}const Te=uf;function Yf(e){return If(e)}function If(e,t){const n=pc();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:u,setElementText:f,parentNode:d,nextSibling:h,setScopeId:g=qe,cloneNode:E,insertStaticContent:L}=e,R=(c,m,p,v=null,y=null,O=null,D=!1,S=null,x=!!m.dynamicChildren)=>{if(c===m)return;c&&!$n(c,m)&&(v=N(c),We(c,y,O,!0),c=null),m.patchFlag===-2&&(x=!1,m.dynamicChildren=null);const{type:w,ref:I,shapeFlag:P}=m;switch(w){case Fi:A(c,m,p,v);break;case nn:V(c,m,p,v);break;case Ps:c==null&&X(m,p,v,D);break;case wt:un(c,m,p,v,y,O,D,S,x);break;default:P&1?Ce(c,m,p,v,y,O,D,S,x):P&6?cn(c,m,p,v,y,O,D,S,x):(P&64||P&128)&&w.process(c,m,p,v,y,O,D,S,x,le)}I!=null&&y&&ti(I,c&&c.ref,O,m||c,!m)},A=(c,m,p,v)=>{if(c==null)r(m.el=l(m.children),p,v);else{const y=m.el=c.el;m.children!==c.children&&u(y,m.children)}},V=(c,m,p,v)=>{c==null?r(m.el=a(m.children||""),p,v):m.el=c.el},X=(c,m,p,v)=>{[c.el,c.anchor]=L(c.children,m,p,v,c.el,c.anchor)},te=({el:c,anchor:m},p,v)=>{let y;for(;c&&c!==m;)y=h(c),r(c,p,v),c=y;r(m,p,v)},De=({el:c,anchor:m})=>{let p;for(;c&&c!==m;)p=h(c),s(c),c=p;s(m)},Ce=(c,m,p,v,y,O,D,S,x)=>{D=D||m.type==="svg",c==null?ht(m,p,v,y,O,D,S,x):Pt(c,m,y,O,D,S,x)},ht=(c,m,p,v,y,O,D,S)=>{let x,w;const{type:I,props:P,shapeFlag:F,transition:j,patchFlag:q,dirs:de}=c;if(c.el&&E!==void 0&&q===-1)x=c.el=E(c.el);else{if(x=c.el=o(c.type,O,P&&P.is,P),F&8?f(x,c.children):F&16&&tt(c.children,x,null,v,y,O&&I!=="foreignObject",D,S),de&&Vt(c,null,v,"created"),P){for(const ue in P)ue!=="value"&&!Er(ue)&&i(x,ue,null,P[ue],O,c.children,v,y,M);"value"in P&&i(x,"value",null,P.value),(w=P.onVnodeBeforeMount)&&st(w,v,c)}ln(x,c,c.scopeId,D,v)}de&&Vt(c,null,v,"beforeMount");const se=(!y||y&&!y.pendingBranch)&&j&&!j.persisted;se&&j.beforeEnter(x),r(x,m,p),((w=P&&P.onVnodeMounted)||se||de)&&Te(()=>{w&&st(w,v,c),se&&j.enter(x),de&&Vt(c,null,v,"mounted")},y)},ln=(c,m,p,v,y)=>{if(p&&g(c,p),v)for(let O=0;O{for(let w=x;w{const S=m.el=c.el;let{patchFlag:x,dynamicChildren:w,dirs:I}=m;x|=c.patchFlag&16;const P=c.props||oe,F=m.props||oe;let j;p&&Bt(p,!1),(j=F.onVnodeBeforeUpdate)&&st(j,p,m,c),I&&Vt(m,c,p,"beforeUpdate"),p&&Bt(p,!0);const q=y&&m.type!=="foreignObject";if(w?mt(c.dynamicChildren,w,S,p,v,q,O):D||Ae(c,m,S,null,p,v,q,O,!1),x>0){if(x&16)pt(S,m,P,F,p,v,y);else if(x&2&&P.class!==F.class&&i(S,"class",null,F.class,y),x&4&&i(S,"style",P.style,F.style,y),x&8){const de=m.dynamicProps;for(let se=0;se{j&&st(j,p,m,c),I&&Vt(m,c,p,"updated")},v)},mt=(c,m,p,v,y,O,D)=>{for(let S=0;S{if(p!==v){for(const S in v){if(Er(S))continue;const x=v[S],w=p[S];x!==w&&S!=="value"&&i(c,S,w,x,D,m.children,y,O,M)}if(p!==oe)for(const S in p)!Er(S)&&!(S in v)&&i(c,S,p[S],null,D,m.children,y,O,M);"value"in v&&i(c,"value",p.value,v.value)}},un=(c,m,p,v,y,O,D,S,x)=>{const w=m.el=c?c.el:l(""),I=m.anchor=c?c.anchor:l("");let{patchFlag:P,dynamicChildren:F,slotScopeIds:j}=m;j&&(S=S?S.concat(j):j),c==null?(r(w,p,v),r(I,p,v),tt(m.children,p,I,y,O,D,S,x)):P>0&&P&64&&F&&c.dynamicChildren?(mt(c.dynamicChildren,F,p,y,O,D,S),(m.key!=null||y&&m===y.subTree)&&vl(c,m,!0)):Ae(c,m,p,I,y,O,D,S,x)},cn=(c,m,p,v,y,O,D,S,x)=>{m.slotScopeIds=S,c==null?m.shapeFlag&512?y.ctx.activate(m,p,v,D,x):fn(m,p,v,y,O,D,x):ge(c,m,x)},fn=(c,m,p,v,y,O,D)=>{const S=c.component=Jf(c,v,y);if(ll(c)&&(S.ctx.renderer=le),Qf(S),S.asyncDep){if(y&&y.registerDep(S,ae),!c.el){const x=S.subTree=Fe(nn);V(null,x,m,p)}return}ae(S,c,m,p,y,O,D)},ge=(c,m,p)=>{const v=m.component=c.component;if(of(c,m,p))if(v.asyncDep&&!v.asyncResolved){ne(v,m,p);return}else v.next=m,Qc(v.update),v.update();else m.component=c.component,m.el=c.el,v.vnode=m},ae=(c,m,p,v,y,O,D)=>{const S=()=>{if(c.isMounted){let{next:I,bu:P,u:F,parent:j,vnode:q}=c,de=I,se;Bt(c,!1),I?(I.el=q.el,ne(c,I,D)):I=q,P&&kr(P),(se=I.props&&I.props.onVnodeBeforeUpdate)&&st(se,j,I,q),Bt(c,!0);const ue=Rs(c),Be=c.subTree;c.subTree=ue,R(Be,ue,d(Be.el),N(Be),c,y,O),I.el=ue.el,de===null&&af(c,ue.el),F&&Te(F,y),(se=I.props&&I.props.onVnodeUpdated)&&Te(()=>st(se,j,I,q),y)}else{let I;const{el:P,props:F}=m,{bm:j,m:q,parent:de}=c,se=Js(m);if(Bt(c,!1),j&&kr(j),!se&&(I=F&&F.onVnodeBeforeMount)&&st(I,de,m),Bt(c,!0),P&&$){const ue=()=>{c.subTree=Rs(c),$(P,c.subTree,c,y,null)};se?m.type.__asyncLoader().then(()=>!c.isUnmounted&&ue()):ue()}else{const ue=c.subTree=Rs(c);R(null,ue,p,v,c,y,O),m.el=ue.el}if(q&&Te(q,y),!se&&(I=F&&F.onVnodeMounted)){const ue=m;Te(()=>st(I,de,ue),y)}m.shapeFlag&256&&c.a&&Te(c.a,y),c.isMounted=!0,m=p=v=null}},x=c.effect=new ki(S,()=>Xa(c.update),c.scope),w=c.update=x.run.bind(x);w.id=c.uid,Bt(c,!0),w()},ne=(c,m,p)=>{m.component=c;const v=c.vnode.props;c.vnode=m,c.next=null,Tf(c,m.props,v,p),Cf(c,m.children,p),Nn(),Ni(void 0,c.update),Yn()},Ae=(c,m,p,v,y,O,D,S,x=!1)=>{const w=c&&c.children,I=c?c.shapeFlag:0,P=m.children,{patchFlag:F,shapeFlag:j}=m;if(F>0){if(F&128){gt(w,P,p,v,y,O,D,S,x);return}else if(F&256){dn(w,P,p,v,y,O,D,S,x);return}}j&8?(I&16&&M(w,y,O),P!==w&&f(p,P)):I&16?j&16?gt(w,P,p,v,y,O,D,S,x):M(w,y,O,!0):(I&8&&f(p,""),j&16&&tt(P,p,v,y,O,D,S,x))},dn=(c,m,p,v,y,O,D,S,x)=>{c=c||xn,m=m||xn;const w=c.length,I=m.length,P=Math.min(w,I);let F;for(F=0;FI?M(c,y,O,!0,!1,P):tt(m,p,v,y,O,D,S,x,P)},gt=(c,m,p,v,y,O,D,S,x)=>{let w=0;const I=m.length;let P=c.length-1,F=I-1;for(;w<=P&&w<=F;){const j=c[w],q=m[w]=x?It(m[w]):it(m[w]);if($n(j,q))R(j,q,p,null,y,O,D,S,x);else break;w++}for(;w<=P&&w<=F;){const j=c[P],q=m[F]=x?It(m[F]):it(m[F]);if($n(j,q))R(j,q,p,null,y,O,D,S,x);else break;P--,F--}if(w>P){if(w<=F){const j=F+1,q=jF)for(;w<=P;)We(c[w],y,O,!0),w++;else{const j=w,q=w,de=new Map;for(w=q;w<=F;w++){const Ne=m[w]=x?It(m[w]):it(m[w]);Ne.key!=null&&de.set(Ne.key,w)}let se,ue=0;const Be=F-q+1;let hn=!1,yo=0;const Wn=new Array(Be);for(w=0;w=Be){We(Ne,y,O,!0);continue}let rt;if(Ne.key!=null)rt=de.get(Ne.key);else for(se=q;se<=F;se++)if(Wn[se-q]===0&&$n(Ne,m[se])){rt=se;break}rt===void 0?We(Ne,y,O,!0):(Wn[rt-q]=w+1,rt>=yo?yo=rt:hn=!0,R(Ne,m[rt],p,null,y,O,D,S,x),ue++)}const vo=hn?Ff(Wn):xn;for(se=vo.length-1,w=Be-1;w>=0;w--){const Ne=q+w,rt=m[Ne],wo=Ne+1{const{el:O,type:D,transition:S,children:x,shapeFlag:w}=c;if(w&6){nt(c.component.subTree,m,p,v);return}if(w&128){c.suspense.move(m,p,v);return}if(w&64){D.move(c,m,p,le);return}if(D===wt){r(O,m,p);for(let P=0;PS.enter(O),y);else{const{leave:P,delayLeave:F,afterLeave:j}=S,q=()=>r(O,m,p),de=()=>{P(O,()=>{q(),j&&j()})};F?F(O,q,de):de()}else r(O,m,p)},We=(c,m,p,v=!1,y=!1)=>{const{type:O,props:D,ref:S,children:x,dynamicChildren:w,shapeFlag:I,patchFlag:P,dirs:F}=c;if(S!=null&&ti(S,null,p,c,!0),I&256){m.ctx.deactivate(c);return}const j=I&1&&F,q=!Js(c);let de;if(q&&(de=D&&D.onVnodeBeforeUnmount)&&st(de,m,c),I&6)C(c.component,p,v);else{if(I&128){c.suspense.unmount(p,v);return}j&&Vt(c,null,m,"beforeUnmount"),I&64?c.type.remove(c,m,p,y,le,v):w&&(O!==wt||P>0&&P&64)?M(w,m,p,!1,!0):(O===wt&&P&384||!y&&I&16)&&M(x,m,p),v&&Ds(c)}(q&&(de=D&&D.onVnodeUnmounted)||j)&&Te(()=>{de&&st(de,m,c),j&&Vt(c,null,m,"unmounted")},p)},Ds=c=>{const{type:m,el:p,anchor:v,transition:y}=c;if(m===wt){_(p,v);return}if(m===Ps){De(c);return}const O=()=>{s(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(c.shapeFlag&1&&y&&!y.persisted){const{leave:D,delayLeave:S}=y,x=()=>D(p,O);S?S(c.el,O,x):x()}else O()},_=(c,m)=>{let p;for(;c!==m;)p=h(c),s(c),c=p;s(m)},C=(c,m,p)=>{const{bum:v,scope:y,update:O,subTree:D,um:S}=c;v&&kr(v),y.stop(),O&&(O.active=!1,We(D,c,m,p)),S&&Te(S,m),Te(()=>{c.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},M=(c,m,p,v=!1,y=!1,O=0)=>{for(let D=O;Dc.shapeFlag&6?N(c.component.subTree):c.shapeFlag&128?c.suspense.next():h(c.anchor||c.el),re=(c,m,p)=>{c==null?m._vnode&&We(m._vnode,null,null,!0):R(m._vnode||null,c,m,null,null,null,p),nl(),m._vnode=c},le={p:R,um:We,m:nt,r:Ds,mt:fn,mc:tt,pc:Ae,pbc:mt,n:N,o:e};let G,$;return t&&([G,$]=t(le)),{render:re,hydrate:G,createApp:Nf(re,G)}}function Bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vl(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Lf=e=>e.__isTeleport,wl="components";function Rv(e,t){return jf(wl,e,!0,t)||e}const Uf=Symbol();function jf(e,t,n=!0,r=!1){const s=Ge||we;if(s){const i=s.type;if(e===wl){const l=nd(i);if(l&&(l===t||l===ut(t)||l===is(ut(t))))return i}const o=Lo(s[e]||i[e],t)||Lo(s.appContext[e],t);return!o&&r?i:o}}function Lo(e,t){return e&&(e[t]||e[ut(t)]||e[is(ut(t))])}const wt=Symbol(void 0),Fi=Symbol(void 0),nn=Symbol(void 0),Ps=Symbol(void 0),Jn=[];let Xt=null;function Wf(e=!1){Jn.push(Xt=e?null:[])}function $f(){Jn.pop(),Xt=Jn[Jn.length-1]||null}let jr=1;function Uo(e){jr+=e}function bl(e){return e.dynamicChildren=jr>0?Xt||xn:null,$f(),jr>0&&Xt&&Xt.push(e),e}function Pv(e,t,n,r,s,i){return bl(Ol(e,t,n,r,s,i,!0))}function Hf(e,t,n,r,s){return bl(Fe(e,t,n,r,s,!0))}function ni(e){return e?e.__v_isVNode===!0:!1}function $n(e,t){return e.type===t.type&&e.key===t.key}const cs="__vInternal",Sl=({key:e})=>e!=null?e:null,Tr=({ref:e,ref_key:t,ref_for:n})=>e!=null?ye(e)||be(e)||H(e)?{i:Ge,r:e,k:t,f:!!n}:e:null;function Ol(e,t=null,n=null,r=0,s=null,i=e===wt?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sl(t),ref:t&&Tr(t),scopeId:ls,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(Li(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=ye(n)?8:16),jr>0&&!o&&Xt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Xt.push(a),a}const Fe=Vf;function Vf(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Uf)&&(e=nn),ni(e)){const l=or(e,t,!0);return n&&Li(l,n),l}if(rd(e)&&(e=e.__vccOpts),t){t=Bf(t);let{class:l,style:a}=t;l&&!ye(l)&&(t.class=bi(l)),pe(a)&&(Ba(a)&&!U(a)&&(a=ke({},a)),t.style=wi(a))}const o=ye(e)?1:lf(e)?128:Lf(e)?64:pe(e)?4:H(e)?2:0;return Ol(e,t,n,r,s,o,i,!0)}function Bf(e){return e?Ba(e)||cs in e?ke({},e):e:null}function or(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,l=t?zf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Sl(l),ref:t&&t.ref?n&&s?U(s)?s.concat(Tr(t)):[s,Tr(t)]:Tr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&or(e.ssContent),ssFallback:e.ssFallback&&or(e.ssFallback),el:e.el,anchor:e.anchor}}function Gf(e=" ",t=0){return Fe(Fi,null,e,t)}function Cv(e="",t=!1){return t?(Wf(),Hf(nn,null,e)):Fe(nn,null,e)}function it(e){return e==null||typeof e=="boolean"?Fe(nn):U(e)?Fe(wt,null,e.slice()):typeof e=="object"?It(e):Fe(Fi,null,String(e))}function It(e){return e.el===null||e.memo?e:or(e)}function Li(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Li(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(cs in t)?t._ctx=Ge:s===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Ge},n=32):(t=String(t),r&64?(n=16,t=[Gf(t)]):n=8);e.children=t,e.shapeFlag|=n}function zf(...e){const t={};for(let n=0;nt(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,a=o.length;le?xl(e)?Ui(e)||e.proxy:ri(e.parent):null,Wr=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ri(e.parent),$root:e=>ri(e.root),$emit:e=>e.emit,$options:e=>dl(e),$forceUpdate:e=>()=>Xa(e.update),$nextTick:e=>Qa.bind(e.proxy),$watch:e=>cf.bind(e)}),qf={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(r!==oe&&K(r,t))return o[t]=1,r[t];if(s!==oe&&K(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&K(u,t))return o[t]=3,i[t];if(n!==oe&&K(n,t))return o[t]=4,n[t];Qs&&(o[t]=0)}}const f=Wr[t];let d,h;if(f)return t==="$attrs"&&Le(e,"get",t),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==oe&&K(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,K(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return s!==oe&&K(s,t)?(s[t]=n,!0):r!==oe&&K(r,t)?(r[t]=n,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==oe&&K(e,o)||t!==oe&&K(t,o)||(l=i[0])&&K(l,o)||K(r,o)||K(Wr,o)||K(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Kf=yl();let Zf=0;function Jf(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Kf,i={uid:Zf++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new gc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ml(r,s),emitsOptions:sl(r,s),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:r.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=tf.bind(null,i),e.ce&&e.ce(i),i}let we=null;const Pn=e=>{we=e,e.scope.on()},en=()=>{we&&we.scope.off(),we=null};function xl(e){return e.vnode.shapeFlag&4}let ar=!1;function Qf(e,t=!1){ar=t;const{props:n,children:r}=e.vnode,s=xl(e);Df(e,n,s,t),Pf(e,r);const i=s?Xf(e,t):void 0;return ar=!1,i}function Xf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ga(new Proxy(e.ctx,qf));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?td(e):null;Pn(e),Nn();const i=Wt(r,e,0,[e.props,s]);if(Yn(),en(),Ra(i)){if(i.then(en,en),t)return i.then(o=>{jo(e,o,t)}).catch(o=>{as(o,e,0)});e.asyncDep=i}else jo(e,i,t)}else Ml(e,t)}function jo(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Za(t)),Ml(e,n)}let Wo;function Ml(e,t,n){const r=e.type;if(!e.render){if(!t&&Wo&&!r.render){const s=r.template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,u=ke(ke({isCustomElement:i,delimiters:l},o),a);r.render=Wo(s,u)}}e.render=r.render||qe}Pn(e),Nn(),Of(e),Yn(),en()}function ed(e){return new Proxy(e.attrs,{get(t,n){return Le(e,"get","$attrs"),t[n]}})}function td(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=ed(e))},slots:e.slots,emit:e.emit,expose:t}}function Ui(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Za(Ga(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wr)return Wr[n](e)}}))}function nd(e){return H(e)&&e.displayName||e.name}function rd(e){return H(e)&&"__vccOpts"in e}const ot=(e,t)=>Kc(e,t,ar);function El(e,t,n){const r=arguments.length;return r===2?pe(t)&&!U(t)?ni(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ni(n)&&(n=[n]),Fe(e,t,n))}const sd="3.2.31",id="http://www.w3.org/2000/svg",qt=typeof document!="undefined"?document:null,$o=qt&&qt.createElement("template"),od={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?qt.createElementNS(id,e):qt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>qt.createTextNode(e),createComment:e=>qt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{$o.innerHTML=r?`${e}`:e;const l=$o.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function ad(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ld(e,t,n){const r=e.style,s=ye(n);if(n&&!s){for(const i in n)si(r,i,n[i]);if(t&&!ye(t))for(const i in t)n[i]==null&&si(r,i,"")}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const Ho=/\s*!important$/;function si(e,t,n){if(U(n))n.forEach(r=>si(e,t,r));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=ud(e,t);Ho.test(n)?e.setProperty(rn(r),n.replace(Ho,""),"important"):e[r]=n}}const Vo=["Webkit","Moz","ms"],Cs={};function ud(e,t){const n=Cs[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return Cs[t]=r;r=is(r);for(let s=0;sdocument.createEvent("Event").timeStamp&&($r=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);kl=!!(e&&Number(e[1])<=53)}let ii=0;const dd=Promise.resolve(),hd=()=>{ii=0},md=()=>ii||(dd.then(hd),ii=$r());function Kt(e,t,n,r){e.addEventListener(t,n,r)}function pd(e,t,n,r){e.removeEventListener(t,n,r)}function gd(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[l,a]=_d(t);if(r){const u=i[t]=yd(r,s);Kt(e,l,u,a)}else o&&(pd(e,l,o,a),i[t]=void 0)}}const Go=/(?:Once|Passive|Capture)$/;function _d(e){let t;if(Go.test(e)){t={};let n;for(;n=e.match(Go);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[rn(e.slice(2)),t]}function yd(e,t){const n=r=>{const s=r.timeStamp||$r();(kl||s>=n.attached-1)&&Ke(vd(r,n.value),t,5,[r])};return n.value=e,n.attached=md(),n}function vd(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const zo=/^on[a-z]/,wd=(e,t,n,r,s=!1,i,o,l,a)=>{t==="class"?ad(e,r,s):t==="style"?ld(e,n,r):ts(t)?Si(t)||gd(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bd(e,t,r,s))?fd(e,t,r,i,o,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cd(e,t,r,s))};function bd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&zo.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||zo.test(t)&&ye(n)?!1:t in e}const Hr=e=>{const t=e.props["onUpdate:modelValue"];return U(t)?n=>kr(t,n):t};function Sd(e){e.target.composing=!0}function qo(e){const t=e.target;t.composing&&(t.composing=!1,Od(t,"input"))}function Od(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Nv={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Hr(s);const i=r||s.props&&s.props.type==="number";Kt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n?l=l.trim():i&&(l=Ir(l)),e._assign(l)}),n&&Kt(e,"change",()=>{e.value=e.value.trim()}),t||(Kt(e,"compositionstart",Sd),Kt(e,"compositionend",qo),Kt(e,"change",qo))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e._assign=Hr(i),e.composing||document.activeElement===e&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Ir(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},Yv={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ns(t);Kt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ir(Vr(o)):Vr(o));e._assign(e.multiple?s?new Set(i):i:i[0])}),e._assign=Hr(r)},mounted(e,{value:t}){Ko(e,t)},beforeUpdate(e,t,n){e._assign=Hr(n)},updated(e,{value:t}){Ko(e,t)}};function Ko(e,t){const n=e.multiple;if(!(n&&!U(t)&&!ns(t))){for(let r=0,s=e.options.length;r-1:i.selected=t.has(o);else if(es(Vr(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Vr(e){return"_value"in e?e._value:e.value}const xd=["ctrl","shift","alt","meta"],Md={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>xd.some(n=>e[`${n}Key`]&&!t.includes(n))},Iv=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=rn(n.key);if(t.some(s=>s===r||Ed[s]===r))return e(n)},kd=ke({patchProp:wd},od);let Zo;function Dd(){return Zo||(Zo=Yf(kd))}const Lv=(...e)=>{const t=Dd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Td(r);if(!s)return;const i=t._component;!H(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Td(e){return ye(e)?document.querySelector(e):e}//! moment.js +//! version : 2.29.3 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -var Ol;function E(){return Ol.apply(null,arguments)}function Sd(e){Ol=e}function Ze(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function tn(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Z(e,t))return!1;return!0}function Te(e){return e===void 0}function kt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function fr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ml(e,t){var n=[],r;for(r=0;r>>0,r;for(r=0;r0)for(n=0;n>>0,r;for(r=0;r0)for(n=0;n=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var Vi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ns={},kn={};function Y(e,t,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),e&&(kn[e]=s),t&&(kn[t[0]]=function(){return ct(s.apply(this,arguments),t[1],t[2])}),n&&(kn[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function kd(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Dd(e){var t=e.match(Vi),n,r;for(n=0,r=t.length;n=0&&br.test(e);)e=e.replace(br,r),br.lastIndex=0,n-=1;return e}var Td={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Rd(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Vi).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Pd="Invalid date";function Cd(){return this._invalidDate}var Ad="%d",Nd=/\d{1,2}/;function Yd(e){return this._ordinal.replace("%d",e)}var Id={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fd(e,t,n,r){var s=this._relativeTime[n];return dt(s)?s(e,t,n,r):s.replace(/%d/i,e)}function Ld(e,t){var n=this._relativeTime[e>0?"future":"past"];return dt(n)?n(t):n.replace(/%s/i,t)}var Jn={};function Oe(e,t){var n=e.toLowerCase();Jn[n]=Jn[n+"s"]=Jn[t]=e}function Ve(e){return typeof e=="string"?Jn[e]||Jn[e.toLowerCase()]:void 0}function Bi(e){var t={},n,r;for(r in e)Z(e,r)&&(n=Ve(r),n&&(t[n]=e[r]));return t}var Dl={};function Me(e,t){Dl[e]=t}function Ud(e){var t=[],n;for(n in e)Z(e,n)&&t.push({unit:n,priority:Dl[n]});return t.sort(function(r,s){return r.priority-s.priority}),t}function fs(e){return e%4===0&&e%100!==0||e%400===0}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=$e(t)),n}function In(e,t){return function(n){return n!=null?(Tl(this,e,n),E.updateOffset(this,t),this):Vr(this,e)}}function Vr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Tl(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&fs(e.year())&&e.month()===1&&e.date()===29?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),gs(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Wd(e){return e=Ve(e),dt(this[e])?this[e]():this}function Hd(e,t){if(typeof e=="object"){e=Bi(e);var n=Ud(e),r;for(r=0;r68?1900:2e3)};var Ul=In("FullYear",!0);function oh(){return fs(this.year())}function ah(e,t,n,r,s,i,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,s,i,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,s,i,o),a}function ar(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Gr(e,t,n){var r=7+t-n,s=(7+ar(e,0,r).getUTCDay()-t)%7;return-s+r-1}function Wl(e,t,n,r,s){var i=(7+n-r)%7,o=Gr(e,r,s),a=1+7*(t-1)+i+o,l,u;return a<=0?(l=e-1,u=Qn(l)+a):a>Qn(e)?(l=e+1,u=a-Qn(e)):(l=e,u=a),{year:l,dayOfYear:u}}function lr(e,t,n){var r=Gr(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return s<1?(o=e.year()-1,i=s+xt(o,t,n)):s>xt(e.year(),t,n)?(i=s-xt(e.year(),t,n),o=e.year()+1):(o=e.year(),i=s),{week:i,year:o}}function xt(e,t,n){var r=Gr(e,t,n),s=Gr(e+1,t,n);return(Qn(e)-r+s)/7}Y("w",["ww",2],"wo","week");Y("W",["WW",2],"Wo","isoWeek");Oe("week","w");Oe("isoWeek","W");Me("week",5);Me("isoWeek",5);T("w",fe);T("ww",fe,Ue);T("W",fe);T("WW",fe,Ue);mr(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=B(e)});function lh(e){return lr(e,this._week.dow,this._week.doy).week}var uh={dow:0,doy:6};function ch(){return this._week.dow}function fh(){return this._week.doy}function dh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function hh(e){var t=lr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Y("d",0,"do","day");Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Y("e",0,0,"weekday");Y("E",0,0,"isoWeekday");Oe("day","d");Oe("weekday","e");Oe("isoWeekday","E");Me("day",11);Me("weekday",11);Me("isoWeekday",11);T("d",fe);T("e",fe);T("E",fe);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});mr(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);s!=null?t.d=s:H(n).invalidWeekday=e});mr(["d","e","E"],function(e,t,n,r){t[r]=B(e)});function mh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ph(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ki(e,t){return e.slice(t,7).concat(e.slice(0,t))}var _h="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Hl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),gh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yh=hr,vh=hr,wh=hr;function bh(e,t){var n=Ze(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ki(n,this._week.dow):e?n[e.day()]:n}function Sh(e){return e===!0?Ki(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Oh(e){return e===!0?Ki(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Mh(e,t,n){var r,s,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=ft([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(s=me.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=me.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=me.call(this._weekdaysParse,o),s!==-1||(s=me.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=me.call(this._shortWeekdaysParse,o),s!==-1||(s=me.call(this._weekdaysParse,o),s!==-1)?s:(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=me.call(this._minWeekdaysParse,o),s!==-1||(s=me.call(this._weekdaysParse,o),s!==-1)?s:(s=me.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function xh(e,t,n){var r,s,i;if(this._weekdaysParseExact)return Mh.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=ft([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Eh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=mh(e,this.localeData()),this.add(e-t,"d")):t}function kh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Dh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ph(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Th(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||qi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Z(this,"_weekdaysRegex")||(this._weekdaysRegex=yh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Rh(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||qi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=vh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ph(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||qi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qi(){function e(f,d){return d.length-f.length}var t=[],n=[],r=[],s=[],i,o,a,l,u;for(i=0;i<7;i++)o=ft([2e3,1]).day(i),a=Ye(this.weekdaysMin(o,"")),l=Ye(this.weekdaysShort(o,"")),u=Ye(this.weekdays(o,"")),t.push(a),n.push(l),r.push(u),s.push(a),s.push(l),s.push(u);t.sort(e),n.sort(e),r.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Zi(){return this.hours()%12||12}function Ch(){return this.hours()||24}Y("H",["HH",2],0,"hour");Y("h",["hh",2],0,Zi);Y("k",["kk",2],0,Ch);Y("hmm",0,0,function(){return""+Zi.apply(this)+ct(this.minutes(),2)});Y("hmmss",0,0,function(){return""+Zi.apply(this)+ct(this.minutes(),2)+ct(this.seconds(),2)});Y("Hmm",0,0,function(){return""+this.hours()+ct(this.minutes(),2)});Y("Hmmss",0,0,function(){return""+this.hours()+ct(this.minutes(),2)+ct(this.seconds(),2)});function $l(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}$l("a",!0);$l("A",!1);Oe("hour","h");Me("hour",13);function jl(e,t){return t._meridiemParse}T("a",jl);T("A",jl);T("H",fe);T("h",fe);T("k",fe);T("HH",fe,Ue);T("hh",fe,Ue);T("kk",fe,Ue);T("hmm",Cl);T("hmmss",Al);T("Hmm",Cl);T("Hmmss",Al);ee(["H","HH"],ge);ee(["k","kk"],function(e,t,n){var r=B(e);t[ge]=r===24?0:r});ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ee(["h","hh"],function(e,t,n){t[ge]=B(e),H(n).bigHour=!0});ee("hmm",function(e,t,n){var r=e.length-2;t[ge]=B(e.substr(0,r)),t[ze]=B(e.substr(r)),H(n).bigHour=!0});ee("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[ge]=B(e.substr(0,r)),t[ze]=B(e.substr(r,2)),t[Ot]=B(e.substr(s)),H(n).bigHour=!0});ee("Hmm",function(e,t,n){var r=e.length-2;t[ge]=B(e.substr(0,r)),t[ze]=B(e.substr(r))});ee("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[ge]=B(e.substr(0,r)),t[ze]=B(e.substr(r,2)),t[Ot]=B(e.substr(s))});function Ah(e){return(e+"").toLowerCase().charAt(0)==="p"}var Nh=/[ap]\.?m?\.?/i,Yh=In("Hours",!0);function Ih(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Vl={calendar:xd,longDateFormat:Td,invalidDate:Pd,ordinal:Ad,dayOfMonthOrdinalParse:Nd,relativeTime:Id,months:Zd,monthsShort:Nl,week:uh,weekdays:_h,weekdaysMin:gh,weekdaysShort:Hl,meridiemParse:Nh},he={},$n={},ur;function Fh(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(s=ys(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&Fh(i,r)>=n-1)break;n--}t++}return ur}function ys(e){var t=null,n;if(he[e]===void 0&&typeof module!="undefined"&&module&&module.exports)try{t=ur._abbr,n=require,n("./locale/"+e),$t(t)}catch(r){he[e]=null}return he[e]}function $t(e,t){var n;return e&&(Te(t)?n=Tt(e):n=Ji(e,t),n?ur=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ur._abbr}function Ji(e,t){if(t!==null){var n,r=Vl;if(t.abbr=e,he[e]!=null)El("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=he[e]._config;else if(t.parentLocale!=null)if(he[t.parentLocale]!=null)r=he[t.parentLocale]._config;else if(n=ys(t.parentLocale),n!=null)r=n._config;else return $n[t.parentLocale]||($n[t.parentLocale]=[]),$n[t.parentLocale].push({name:e,config:t}),null;return he[e]=new ji(ai(r,t)),$n[e]&&$n[e].forEach(function(s){Ji(s.name,s.config)}),$t(e),he[e]}else return delete he[e],null}function Uh(e,t){if(t!=null){var n,r,s=Vl;he[e]!=null&&he[e].parentLocale!=null?he[e].set(ai(he[e]._config,t)):(r=ys(e),r!=null&&(s=r._config),t=ai(s,t),r==null&&(t.abbr=e),n=new ji(t),n.parentLocale=he[e],he[e]=n),$t(e)}else he[e]!=null&&(he[e].parentLocale!=null?(he[e]=he[e].parentLocale,e===$t()&&$t(e)):he[e]!=null&&delete he[e]);return he[e]}function Tt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ur;if(!Ze(e)){if(t=ys(e),t)return t;e=[e]}return Lh(e)}function Wh(){return li(he)}function Qi(e){var t,n=e._a;return n&&H(e).overflow===-2&&(t=n[St]<0||n[St]>11?St:n[at]<1||n[at]>gs(n[Se],n[St])?at:n[ge]<0||n[ge]>24||n[ge]===24&&(n[ze]!==0||n[Ot]!==0||n[Jt]!==0)?ge:n[ze]<0||n[ze]>59?ze:n[Ot]<0||n[Ot]>59?Ot:n[Jt]<0||n[Jt]>999?Jt:-1,H(e)._overflowDayOfYear&&(tat)&&(t=at),H(e)._overflowWeeks&&t===-1&&(t=zd),H(e)._overflowWeekday&&t===-1&&(t=Kd),H(e).overflow=t),e}var Hh=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,$h=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jh=/Z|[+-]\d\d(?::?\d\d)?/,Sr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ys=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Vh=/^\/?Date\((-?\d+)/i,Bh=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Gh={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Bl(e){var t,n,r=e._i,s=Hh.exec(r)||$h.exec(r),i,o,a,l;if(s){for(H(e).iso=!0,t=0,n=Sr.length;tQn(o)||e._dayOfYear===0)&&(H(e)._overflowDayOfYear=!0),n=ar(o,0,e._dayOfYear),e._a[St]=n.getUTCMonth(),e._a[at]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ge]===24&&e._a[ze]===0&&e._a[Ot]===0&&e._a[Jt]===0&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?ar:ah).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==i&&(H(e).weekdayMismatch=!0)}}function em(e){var t,n,r,s,i,o,a,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=wn(t.GG,e._a[Se],lr(ce(),1,4).year),r=wn(t.W,1),s=wn(t.E,1),(s<1||s>7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=lr(ce(),i,o),n=wn(t.gg,e._a[Se],u.year),r=wn(t.w,u.week),t.d!=null?(s=t.d,(s<0||s>6)&&(l=!0)):t.e!=null?(s=t.e+i,(t.e<0||t.e>6)&&(l=!0)):s=i),r<1||r>xt(n,i,o)?H(e)._overflowWeeks=!0:l!=null?H(e)._overflowWeekday=!0:(a=Wl(n,r,s,i,o),e._a[Se]=a.year,e._dayOfYear=a.dayOfYear)}E.ISO_8601=function(){};E.RFC_2822=function(){};function eo(e){if(e._f===E.ISO_8601){Bl(e);return}if(e._f===E.RFC_2822){Gl(e);return}e._a=[],H(e).empty=!0;var t=""+e._i,n,r,s,i,o,a=t.length,l=0,u;for(s=kl(e._f,e._locale).match(Vi)||[],n=0;n0&&H(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),l+=r.length),kn[i]?(r?H(e).empty=!1:H(e).unusedTokens.push(i),Gd(i,r,e)):e._strict&&!r&&H(e).unusedTokens.push(i);H(e).charsLeftOver=a-l,t.length>0&&H(e).unusedInput.push(t),e._a[ge]<=12&&H(e).bigHour===!0&&e._a[ge]>0&&(H(e).bigHour=void 0),H(e).parsedDateParts=e._a.slice(0),H(e).meridiem=e._meridiem,e._a[ge]=tm(e._locale,e._a[ge],e._meridiem),u=H(e).era,u!==null&&(e._a[Se]=e._locale.erasConvertYear(u,e._a[Se])),Xi(e),Qi(e)}function tm(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function nm(e){var t,n,r,s,i,o,a=!1;if(e._f.length===0){H(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;sthis?this:e:cs()});function ql(e,t){var n,r;if(t.length===1&&Ze(t[0])&&(t=t[0]),!t.length)return ce();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Om(){if(!Te(this._isDSTShifted))return this._isDSTShifted;var e={},t;return $i(e,this),e=zl(e),e._a?(t=e._isUTC?ft(e._a):ce(e._a),this._isDSTShifted=this.isValid()&&mm(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mm(){return this.isValid()?!this._isUTC:!1}function xm(){return this.isValid()?this._isUTC:!1}function Jl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Em=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,km=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(e,t){var n=e,r=null,s,i,o;return Rr(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:kt(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Em.exec(e))?(s=r[1]==="-"?-1:1,n={y:0,d:B(r[at])*s,h:B(r[ge])*s,m:B(r[ze])*s,s:B(r[Ot])*s,ms:B(ci(r[Jt]*1e3))*s}):(r=km.exec(e))?(s=r[1]==="-"?-1:1,n={y:Gt(r[2],s),M:Gt(r[3],s),w:Gt(r[4],s),d:Gt(r[5],s),h:Gt(r[6],s),m:Gt(r[7],s),s:Gt(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=Dm(ce(n.from),ce(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new vs(n),Rr(e)&&Z(e,"_locale")&&(i._locale=e._locale),Rr(e)&&Z(e,"_isValid")&&(i._isValid=e._isValid),i}Xe.fn=vs.prototype;Xe.invalid=hm;function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jo(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Dm(e,t){var n;return e.isValid()&&t.isValid()?(t=no(t,e),e.isBefore(t)?n=Jo(e,t):(n=Jo(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ql(e,t){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(El(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Xe(n,r),Xl(this,s,e),this}}function Xl(e,t,n,r){var s=t._milliseconds,i=ci(t._days),o=ci(t._months);!e.isValid()||(r=r==null?!0:r,o&&Il(e,Vr(e,"Month")+o*n),i&&Tl(e,"Date",Vr(e,"Date")+i*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&E.updateOffset(e,i||o))}var Tm=Ql(1,"add"),Rm=Ql(-1,"subtract");function eu(e){return typeof e=="string"||e instanceof String}function Pm(e){return Je(e)||fr(e)||eu(e)||kt(e)||Am(e)||Cm(e)||e===null||e===void 0}function Cm(e){var t=tn(e)&&!Wi(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i;for(s=0;sn.valueOf():n.valueOf()9999?Tr(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):dt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Tr(n,"Z")):Tr(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function zm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,s,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+s+i)}function Km(e){e||(e=this.isUtc()?E.defaultFormatUtc:E.defaultFormat);var t=Tr(this,e);return this.localeData().postformat(t)}function qm(e,t){return this.isValid()&&(Je(e)&&e.isValid()||ce(e).isValid())?Xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Zm(e){return this.from(ce(),e)}function Jm(e,t){return this.isValid()&&(Je(e)&&e.isValid()||ce(e).isValid())?Xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qm(e){return this.to(ce(),e)}function tu(e){var t;return e===void 0?this._locale._abbr:(t=Tt(e),t!=null&&(this._locale=t),this)}var nu=je("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ru(){return this._locale}var zr=1e3,Dn=60*zr,Kr=60*Dn,su=(365*400+97)*24*Kr;function Tn(e,t){return(e%t+t)%t}function iu(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-su:new Date(e,t,n).valueOf()}function ou(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-su:Date.UTC(e,t,n)}function Xm(e){var t,n;if(e=Ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ou:iu,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Tn(t+(this._isUTC?0:this.utcOffset()*Dn),Kr);break;case"minute":t=this._d.valueOf(),t-=Tn(t,Dn);break;case"second":t=this._d.valueOf(),t-=Tn(t,zr);break}return this._d.setTime(t),E.updateOffset(this,!0),this}function ep(e){var t,n;if(e=Ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ou:iu,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Kr-Tn(t+(this._isUTC?0:this.utcOffset()*Dn),Kr)-1;break;case"minute":t=this._d.valueOf(),t+=Dn-Tn(t,Dn)-1;break;case"second":t=this._d.valueOf(),t+=zr-Tn(t,zr)-1;break}return this._d.setTime(t),E.updateOffset(this,!0),this}function tp(){return this._d.valueOf()-(this._offset||0)*6e4}function np(){return Math.floor(this.valueOf()/1e3)}function rp(){return new Date(this.valueOf())}function sp(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ip(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function op(){return this.isValid()?this.toISOString():null}function ap(){return Hi(this)}function lp(){return Lt({},H(this))}function up(){return H(this).overflow}function cp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Y("N",0,0,"eraAbbr");Y("NN",0,0,"eraAbbr");Y("NNN",0,0,"eraAbbr");Y("NNNN",0,0,"eraName");Y("NNNNN",0,0,"eraNarrow");Y("y",["y",1],"yo","eraYear");Y("y",["yy",2],0,"eraYear");Y("y",["yyy",3],0,"eraYear");Y("y",["yyyy",4],0,"eraYear");T("N",ro);T("NN",ro);T("NNN",ro);T("NNNN",bp);T("NNNNN",Sp);ee(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?H(n).era=s:H(n).invalidEra=e});T("y",Fn);T("yy",Fn);T("yyy",Fn);T("yyyy",Fn);T("yo",Op);ee(["y","yy","yyy","yyyy"],Se);ee(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Se]=n._locale.eraYearOrdinalParse(e,s):t[Se]=parseInt(e,10)});function fp(e,t){var n,r,s,i=this._eras||Tt("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function hp(e,t){var n=e.since<=e.until?1:-1;return t===void 0?E(e.since).year():E(e.since).year()+(t-e.offset)*n}function mp(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),Rp.call(this,e,t,n,r,s))}function Rp(e,t,n,r,s){var i=Wl(e,t,n,r,s),o=ar(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("Q",0,"Qo","quarter");Oe("quarter","Q");Me("quarter",7);T("Q",Rl);ee("Q",function(e,t){t[St]=(B(e)-1)*3});function Pp(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Y("D",["DD",2],"Do","date");Oe("date","D");Me("date",9);T("D",fe);T("DD",fe,Ue);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ee(["D","DD"],at);ee("Do",function(e,t){t[at]=B(e.match(fe)[0])});var lu=In("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear");Oe("dayOfYear","DDD");Me("dayOfYear",4);T("DDD",hs);T("DDDD",Pl);ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)});function Cp(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Y("m",["mm",2],0,"minute");Oe("minute","m");Me("minute",14);T("m",fe);T("mm",fe,Ue);ee(["m","mm"],ze);var Ap=In("Minutes",!1);Y("s",["ss",2],0,"second");Oe("second","s");Me("second",15);T("s",fe);T("ss",fe,Ue);ee(["s","ss"],Ot);var Np=In("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)});Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Y(0,["SSS",3],0,"millisecond");Y(0,["SSSS",4],0,function(){return this.millisecond()*10});Y(0,["SSSSS",5],0,function(){return this.millisecond()*100});Y(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Y(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Y(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Y(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Oe("millisecond","ms");Me("millisecond",16);T("S",hs,Rl);T("SS",hs,Ue);T("SSS",hs,Pl);var Ut,uu;for(Ut="SSSS";Ut.length<=9;Ut+="S")T(Ut,Fn);function Yp(e,t){t[Jt]=B(("0."+e)*1e3)}for(Ut="S";Ut.length<=9;Ut+="S")ee(Ut,Yp);uu=In("Milliseconds",!1);Y("z",0,0,"zoneAbbr");Y("zz",0,0,"zoneName");function Ip(){return this._isUTC?"UTC":""}function Fp(){return this._isUTC?"Coordinated Universal Time":""}var b=dr.prototype;b.add=Tm;b.calendar=Im;b.clone=Fm;b.diff=Vm;b.endOf=ep;b.format=Km;b.from=qm;b.fromNow=Zm;b.to=Jm;b.toNow=Qm;b.get=Wd;b.invalidAt=up;b.isAfter=Lm;b.isBefore=Um;b.isBetween=Wm;b.isSame=Hm;b.isSameOrAfter=$m;b.isSameOrBefore=jm;b.isValid=ap;b.lang=nu;b.locale=tu;b.localeData=ru;b.max=am;b.min=om;b.parsingFlags=lp;b.set=Hd;b.startOf=Xm;b.subtract=Rm;b.toArray=sp;b.toObject=ip;b.toDate=rp;b.toISOString=Gm;b.inspect=zm;typeof Symbol!="undefined"&&Symbol.for!=null&&(b[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});b.toJSON=op;b.toString=Bm;b.unix=np;b.valueOf=tp;b.creationData=cp;b.eraName=mp;b.eraNarrow=pp;b.eraAbbr=_p;b.eraYear=gp;b.year=Ul;b.isLeapYear=oh;b.weekYear=Mp;b.isoWeekYear=xp;b.quarter=b.quarters=Pp;b.month=Fl;b.daysInMonth=rh;b.week=b.weeks=dh;b.isoWeek=b.isoWeeks=hh;b.weeksInYear=Dp;b.weeksInWeekYear=Tp;b.isoWeeksInYear=Ep;b.isoWeeksInISOWeekYear=kp;b.date=lu;b.day=b.days=Eh;b.weekday=kh;b.isoWeekday=Dh;b.dayOfYear=Cp;b.hour=b.hours=Yh;b.minute=b.minutes=Ap;b.second=b.seconds=Np;b.millisecond=b.milliseconds=uu;b.utcOffset=_m;b.utc=ym;b.local=vm;b.parseZone=wm;b.hasAlignedHourOffset=bm;b.isDST=Sm;b.isLocal=Mm;b.isUtcOffset=xm;b.isUtc=Jl;b.isUTC=Jl;b.zoneAbbr=Ip;b.zoneName=Fp;b.dates=je("dates accessor is deprecated. Use date instead.",lu);b.months=je("months accessor is deprecated. Use month instead",Fl);b.years=je("years accessor is deprecated. Use year instead",Ul);b.zone=je("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gm);b.isDSTShifted=je("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Om);function Lp(e){return ce(e*1e3)}function Up(){return ce.apply(null,arguments).parseZone()}function cu(e){return e}var J=ji.prototype;J.calendar=Ed;J.longDateFormat=Rd;J.invalidDate=Cd;J.ordinal=Yd;J.preparse=cu;J.postformat=cu;J.relativeTime=Fd;J.pastFuture=Ld;J.set=Md;J.eras=fp;J.erasParse=dp;J.erasConvertYear=hp;J.erasAbbrRegex=vp;J.erasNameRegex=yp;J.erasNarrowRegex=wp;J.months=Xd;J.monthsShort=eh;J.monthsParse=nh;J.monthsRegex=ih;J.monthsShortRegex=sh;J.week=lh;J.firstDayOfYear=fh;J.firstDayOfWeek=ch;J.weekdays=bh;J.weekdaysMin=Oh;J.weekdaysShort=Sh;J.weekdaysParse=xh;J.weekdaysRegex=Th;J.weekdaysShortRegex=Rh;J.weekdaysMinRegex=Ph;J.isPM=Ah;J.meridiem=Ih;function qr(e,t,n,r){var s=Tt(),i=ft().set(r,t);return s[n](i,e)}function fu(e,t,n){if(kt(e)&&(t=e,e=void 0),e=e||"",t!=null)return qr(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=qr(e,r,n,"month");return s}function io(e,t,n,r){typeof e=="boolean"?(kt(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,kt(t)&&(n=t,t=void 0),t=t||"");var s=Tt(),i=e?s._week.dow:0,o,a=[];if(n!=null)return qr(t,(n+i)%7,r,"day");for(o=0;o<7;o++)a[o]=qr(t,(o+i)%7,r,"day");return a}function Wp(e,t){return fu(e,t,"months")}function Hp(e,t){return fu(e,t,"monthsShort")}function $p(e,t,n){return io(e,t,n,"weekdays")}function jp(e,t,n){return io(e,t,n,"weekdaysShort")}function Vp(e,t,n){return io(e,t,n,"weekdaysMin")}$t("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=B(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});E.lang=je("moment.lang is deprecated. Use moment.locale instead.",$t);E.langData=je("moment.langData is deprecated. Use moment.localeData instead.",Tt);var gt=Math.abs;function Bp(){var e=this._data;return this._milliseconds=gt(this._milliseconds),this._days=gt(this._days),this._months=gt(this._months),e.milliseconds=gt(e.milliseconds),e.seconds=gt(e.seconds),e.minutes=gt(e.minutes),e.hours=gt(e.hours),e.months=gt(e.months),e.years=gt(e.years),this}function du(e,t,n,r){var s=Xe(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function Gp(e,t){return du(this,e,t,1)}function zp(e,t){return du(this,e,t,-1)}function Qo(e){return e<0?Math.floor(e):Math.ceil(e)}function Kp(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,s,i,o,a,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Qo(di(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,s=$e(e/1e3),r.seconds=s%60,i=$e(s/60),r.minutes=i%60,o=$e(i/60),r.hours=o%24,t+=$e(o/24),l=$e(hu(t)),n+=l,t-=Qo(di(l)),a=$e(n/12),n%=12,r.days=t,r.months=n,r.years=a,this}function hu(e){return e*4800/146097}function di(e){return e*146097/4800}function qp(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ve(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+hu(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(di(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Zp(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+B(this._months/12)*31536e6:NaN}function Rt(e){return function(){return this.as(e)}}var Jp=Rt("ms"),Qp=Rt("s"),Xp=Rt("m"),e_=Rt("h"),t_=Rt("d"),n_=Rt("w"),r_=Rt("M"),s_=Rt("Q"),i_=Rt("y");function o_(){return Xe(this)}function a_(e){return e=Ve(e),this.isValid()?this[e+"s"]():NaN}function sn(e){return function(){return this.isValid()?this._data[e]:NaN}}var l_=sn("milliseconds"),u_=sn("seconds"),c_=sn("minutes"),f_=sn("hours"),d_=sn("days"),h_=sn("months"),m_=sn("years");function p_(){return $e(this.days()/7)}var vt=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function __(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}function g_(e,t,n,r){var s=Xe(e).abs(),i=vt(s.as("s")),o=vt(s.as("m")),a=vt(s.as("h")),l=vt(s.as("d")),u=vt(s.as("M")),f=vt(s.as("w")),d=vt(s.as("y")),h=i<=n.ss&&["s",i]||i0,h[4]=r,__.apply(null,h)}function y_(e){return e===void 0?vt:typeof e=="function"?(vt=e,!0):!1}function v_(e,t){return Sn[e]===void 0?!1:t===void 0?Sn[e]:(Sn[e]=t,e==="s"&&(Sn.ss=t-1),!0)}function w_(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Sn,s,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Sn,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),s=this.localeData(),i=g_(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var Is=Math.abs;function mn(e){return(e>0)-(e<0)||+e}function bs(){if(!this.isValid())return this.localeData().invalidDate();var e=Is(this._milliseconds)/1e3,t=Is(this._days),n=Is(this._months),r,s,i,o,a=this.asSeconds(),l,u,f,d;return a?(r=$e(e/60),s=$e(r/60),e%=60,r%=60,i=$e(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=a<0?"-":"",u=mn(this._months)!==mn(a)?"-":"",f=mn(this._days)!==mn(a)?"-":"",d=mn(this._milliseconds)!==mn(a)?"-":"",l+"P"+(i?u+i+"Y":"")+(n?u+n+"M":"")+(t?f+t+"D":"")+(s||r||e?"T":"")+(s?d+s+"H":"")+(r?d+r+"M":"")+(e?d+o+"S":"")):"P0D"}var z=vs.prototype;z.isValid=dm;z.abs=Bp;z.add=Gp;z.subtract=zp;z.as=qp;z.asMilliseconds=Jp;z.asSeconds=Qp;z.asMinutes=Xp;z.asHours=e_;z.asDays=t_;z.asWeeks=n_;z.asMonths=r_;z.asQuarters=s_;z.asYears=i_;z.valueOf=Zp;z._bubble=Kp;z.clone=o_;z.get=a_;z.milliseconds=l_;z.seconds=u_;z.minutes=c_;z.hours=f_;z.days=d_;z.weeks=p_;z.months=h_;z.years=m_;z.humanize=w_;z.toISOString=bs;z.toString=bs;z.toJSON=bs;z.locale=tu;z.localeData=ru;z.toIsoString=je("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bs);z.lang=nu;Y("X",0,0,"unix");Y("x",0,0,"valueOf");T("x",ps);T("X",jd);ee("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ee("x",function(e,t,n){n._d=new Date(B(e))});//! moment.js -E.version="2.29.1";Sd(ce);E.fn=b;E.min=lm;E.max=um;E.now=cm;E.utc=ft;E.unix=Lp;E.months=Wp;E.isDate=fr;E.locale=$t;E.invalid=cs;E.duration=Xe;E.isMoment=Je;E.weekdays=$p;E.parseZone=Up;E.localeData=Tt;E.isDuration=Rr;E.monthsShort=Hp;E.weekdaysMin=Vp;E.defineLocale=Ji;E.updateLocale=Uh;E.locales=Wh;E.weekdaysShort=jp;E.normalizeUnits=Ve;E.relativeTimeRounding=y_;E.relativeTimeThreshold=v_;E.calendarFormat=Ym;E.prototype=b;E.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function b_(){return mu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function mu(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const S_=typeof Proxy=="function",O_="devtools-plugin:setup",M_="plugin:settings:set";class x_{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const o in t.settings){const a=t.settings[o];r[o]=a.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const o=localStorage.getItem(s),a=JSON.parse(o);Object.assign(i,a)}catch(o){}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(s,JSON.stringify(o))}catch(a){}i=o}},n&&n.on(M_,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}setRealTarget(t){return vo(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function E_(e,t){const n=e,r=mu(),s=b_(),i=S_&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))s.emit(O_,e,t);else{const o=i?new x_(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*! +`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Qo={};function Pl(e,t){k.deprecationHandler!=null&&k.deprecationHandler(e,t),Qo[e]||(Rl(t),Qo[e]=!0)}k.suppressDeprecationWarnings=!1;k.deprecationHandler=null;function dt(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Cd(e){var t,n;for(n in e)Z(e,n)&&(t=e[n],dt(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ai(e,t){var n=Lt({},e),r;for(r in t)Z(t,r)&&(tn(e[r])&&tn(t[r])?(n[r]={},Lt(n[r],e[r]),Lt(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)Z(e,r)&&!Z(t,r)&&tn(e[r])&&(n[r]=Lt({},n[r]));return n}function Hi(e){e!=null&&this.set(e)}var li;Object.keys?li=Object.keys:li=function(e){var t,n=[];for(t in e)Z(e,t)&&n.push(t);return n};var Ad={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Nd(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return dt(r)?r.call(t,n):r}function ct(e,t,n){var r=""+Math.abs(e),s=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var Vi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Sr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ns={},Dn={};function Y(e,t,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),e&&(Dn[e]=s),t&&(Dn[t[0]]=function(){return ct(s.apply(this,arguments),t[1],t[2])}),n&&(Dn[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function Yd(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Id(e){var t=e.match(Vi),n,r;for(n=0,r=t.length;n=0&&Sr.test(e);)e=e.replace(Sr,r),Sr.lastIndex=0,n-=1;return e}var Fd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ld(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Vi).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Ud="Invalid date";function jd(){return this._invalidDate}var Wd="%d",$d=/\d{1,2}/;function Hd(e){return this._ordinal.replace("%d",e)}var Vd={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Bd(e,t,n,r){var s=this._relativeTime[n];return dt(s)?s(e,t,n,r):s.replace(/%d/i,e)}function Gd(e,t){var n=this._relativeTime[e>0?"future":"past"];return dt(n)?n(t):n.replace(/%s/i,t)}var Qn={};function xe(e,t){var n=e.toLowerCase();Qn[n]=Qn[n+"s"]=Qn[t]=e}function Ve(e){return typeof e=="string"?Qn[e]||Qn[e.toLowerCase()]:void 0}function Bi(e){var t={},n,r;for(r in e)Z(e,r)&&(n=Ve(r),n&&(t[n]=e[r]));return t}var Al={};function Me(e,t){Al[e]=t}function zd(e){var t=[],n;for(n in e)Z(e,n)&&t.push({unit:n,priority:Al[n]});return t.sort(function(r,s){return r.priority-s.priority}),t}function ds(e){return e%4===0&&e%100!==0||e%400===0}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=$e(t)),n}function Fn(e,t){return function(n){return n!=null?(Nl(this,e,n),k.updateOffset(this,t),this):Br(this,e)}}function Br(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Nl(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&ds(e.year())&&e.month()===1&&e.date()===29?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ys(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function qd(e){return e=Ve(e),dt(this[e])?this[e]():this}function Kd(e,t){if(typeof e=="object"){e=Bi(e);var n=zd(e),r,s=n.length;for(r=0;r68?1900:2e3)};var Vl=Fn("FullYear",!0);function mh(){return ds(this.year())}function ph(e,t,n,r,s,i,o){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,s,i,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,s,i,o),l}function lr(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function zr(e,t,n){var r=7+t-n,s=(7+lr(e,0,r).getUTCDay()-t)%7;return-s+r-1}function Bl(e,t,n,r,s){var i=(7+n-r)%7,o=zr(e,r,s),l=1+7*(t-1)+i+o,a,u;return l<=0?(a=e-1,u=Xn(a)+l):l>Xn(e)?(a=e+1,u=l-Xn(e)):(a=e,u=l),{year:a,dayOfYear:u}}function ur(e,t,n){var r=zr(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return s<1?(o=e.year()-1,i=s+Mt(o,t,n)):s>Mt(e.year(),t,n)?(i=s-Mt(e.year(),t,n),o=e.year()+1):(o=e.year(),i=s),{week:i,year:o}}function Mt(e,t,n){var r=zr(e,t,n),s=zr(e+1,t,n);return(Xn(e)-r+s)/7}Y("w",["ww",2],"wo","week");Y("W",["WW",2],"Wo","isoWeek");xe("week","w");xe("isoWeek","W");Me("week",5);Me("isoWeek",5);T("w",fe);T("ww",fe,Ue);T("W",fe);T("WW",fe,Ue);pr(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=B(e)});function gh(e){return ur(e,this._week.dow,this._week.doy).week}var _h={dow:0,doy:6};function yh(){return this._week.dow}function vh(){return this._week.doy}function wh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function bh(e){var t=ur(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Y("d",0,"do","day");Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Y("e",0,0,"weekday");Y("E",0,0,"isoWeekday");xe("day","d");xe("weekday","e");xe("isoWeekday","E");Me("day",11);Me("weekday",11);Me("isoWeekday",11);T("d",fe);T("e",fe);T("E",fe);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});pr(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);s!=null?t.d=s:W(n).invalidWeekday=e});pr(["d","e","E"],function(e,t,n,r){t[r]=B(e)});function Sh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Oh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function qi(e,t){return e.slice(t,7).concat(e.slice(0,t))}var xh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Eh=mr,kh=mr,Dh=mr;function Th(e,t){var n=Ze(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?qi(n,this._week.dow):e?n[e.day()]:n}function Rh(e){return e===!0?qi(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ph(e){return e===!0?qi(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ch(e,t,n){var r,s,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=ft([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(s=me.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=me.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=me.call(this._weekdaysParse,o),s!==-1||(s=me.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=me.call(this._shortWeekdaysParse,o),s!==-1||(s=me.call(this._weekdaysParse,o),s!==-1)?s:(s=me.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=me.call(this._minWeekdaysParse,o),s!==-1||(s=me.call(this._weekdaysParse,o),s!==-1)?s:(s=me.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function Ah(e,t,n){var r,s,i;if(this._weekdaysParseExact)return Ch.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=ft([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Nh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Sh(e,this.localeData()),this.add(e-t,"d")):t}function Yh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ih(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Oh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Fh(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||Ki.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Z(this,"_weekdaysRegex")||(this._weekdaysRegex=Eh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Lh(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||Ki.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Uh(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||Ki.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Dh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ki(){function e(f,d){return d.length-f.length}var t=[],n=[],r=[],s=[],i,o,l,a,u;for(i=0;i<7;i++)o=ft([2e3,1]).day(i),l=Ye(this.weekdaysMin(o,"")),a=Ye(this.weekdaysShort(o,"")),u=Ye(this.weekdays(o,"")),t.push(l),n.push(a),r.push(u),s.push(l),s.push(a),s.push(u);t.sort(e),n.sort(e),r.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Zi(){return this.hours()%12||12}function jh(){return this.hours()||24}Y("H",["HH",2],0,"hour");Y("h",["hh",2],0,Zi);Y("k",["kk",2],0,jh);Y("hmm",0,0,function(){return""+Zi.apply(this)+ct(this.minutes(),2)});Y("hmmss",0,0,function(){return""+Zi.apply(this)+ct(this.minutes(),2)+ct(this.seconds(),2)});Y("Hmm",0,0,function(){return""+this.hours()+ct(this.minutes(),2)});Y("Hmmss",0,0,function(){return""+this.hours()+ct(this.minutes(),2)+ct(this.seconds(),2)});function zl(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}zl("a",!0);zl("A",!1);xe("hour","h");Me("hour",13);function ql(e,t){return t._meridiemParse}T("a",ql);T("A",ql);T("H",fe);T("h",fe);T("k",fe);T("HH",fe,Ue);T("hh",fe,Ue);T("kk",fe,Ue);T("hmm",Fl);T("hmmss",Ll);T("Hmm",Fl);T("Hmmss",Ll);ee(["H","HH"],_e);ee(["k","kk"],function(e,t,n){var r=B(e);t[_e]=r===24?0:r});ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ee(["h","hh"],function(e,t,n){t[_e]=B(e),W(n).bigHour=!0});ee("hmm",function(e,t,n){var r=e.length-2;t[_e]=B(e.substr(0,r)),t[ze]=B(e.substr(r)),W(n).bigHour=!0});ee("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[_e]=B(e.substr(0,r)),t[ze]=B(e.substr(r,2)),t[Ot]=B(e.substr(s)),W(n).bigHour=!0});ee("Hmm",function(e,t,n){var r=e.length-2;t[_e]=B(e.substr(0,r)),t[ze]=B(e.substr(r))});ee("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[_e]=B(e.substr(0,r)),t[ze]=B(e.substr(r,2)),t[Ot]=B(e.substr(s))});function Wh(e){return(e+"").toLowerCase().charAt(0)==="p"}var $h=/[ap]\.?m?\.?/i,Hh=Fn("Hours",!0);function Vh(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Kl={calendar:Ad,longDateFormat:Fd,invalidDate:Ud,ordinal:Wd,dayOfMonthOrdinalParse:$d,relativeTime:Vd,months:sh,monthsShort:Ul,week:_h,weekdays:xh,weekdaysMin:Mh,weekdaysShort:Gl,meridiemParse:$h},he={},Hn={},cr;function Bh(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(s=vs(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&Bh(i,r)>=n-1)break;n--}t++}return cr}function zh(e){return e.match("^[^/\\\\]*$")!=null}function vs(e){var t=null,n;if(he[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&zh(e))try{t=cr._abbr,n=require,n("./locale/"+e),$t(t)}catch(r){he[e]=null}return he[e]}function $t(e,t){var n;return e&&(Re(t)?n=Tt(e):n=Ji(e,t),n?cr=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),cr._abbr}function Ji(e,t){if(t!==null){var n,r=Kl;if(t.abbr=e,he[e]!=null)Pl("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=he[e]._config;else if(t.parentLocale!=null)if(he[t.parentLocale]!=null)r=he[t.parentLocale]._config;else if(n=vs(t.parentLocale),n!=null)r=n._config;else return Hn[t.parentLocale]||(Hn[t.parentLocale]=[]),Hn[t.parentLocale].push({name:e,config:t}),null;return he[e]=new Hi(ai(r,t)),Hn[e]&&Hn[e].forEach(function(s){Ji(s.name,s.config)}),$t(e),he[e]}else return delete he[e],null}function qh(e,t){if(t!=null){var n,r,s=Kl;he[e]!=null&&he[e].parentLocale!=null?he[e].set(ai(he[e]._config,t)):(r=vs(e),r!=null&&(s=r._config),t=ai(s,t),r==null&&(t.abbr=e),n=new Hi(t),n.parentLocale=he[e],he[e]=n),$t(e)}else he[e]!=null&&(he[e].parentLocale!=null?(he[e]=he[e].parentLocale,e===$t()&&$t(e)):he[e]!=null&&delete he[e]);return he[e]}function Tt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cr;if(!Ze(e)){if(t=vs(e),t)return t;e=[e]}return Gh(e)}function Kh(){return li(he)}function Qi(e){var t,n=e._a;return n&&W(e).overflow===-2&&(t=n[St]<0||n[St]>11?St:n[at]<1||n[at]>ys(n[Oe],n[St])?at:n[_e]<0||n[_e]>24||n[_e]===24&&(n[ze]!==0||n[Ot]!==0||n[Jt]!==0)?_e:n[ze]<0||n[ze]>59?ze:n[Ot]<0||n[Ot]>59?Ot:n[Jt]<0||n[Jt]>999?Jt:-1,W(e)._overflowDayOfYear&&(tat)&&(t=at),W(e)._overflowWeeks&&t===-1&&(t=th),W(e)._overflowWeekday&&t===-1&&(t=nh),W(e).overflow=t),e}var Zh=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jh=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qh=/Z|[+-]\d\d(?::?\d\d)?/,Or=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ys=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Xh=/^\/?Date\((-?\d+)/i,em=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,tm={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Zl(e){var t,n,r=e._i,s=Zh.exec(r)||Jh.exec(r),i,o,l,a,u=Or.length,f=Ys.length;if(s){for(W(e).iso=!0,t=0,n=u;tXn(o)||e._dayOfYear===0)&&(W(e)._overflowDayOfYear=!0),n=lr(o,0,e._dayOfYear),e._a[St]=n.getUTCMonth(),e._a[at]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[_e]===24&&e._a[ze]===0&&e._a[Ot]===0&&e._a[Jt]===0&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?lr:ph).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==i&&(W(e).weekdayMismatch=!0)}}function um(e){var t,n,r,s,i,o,l,a,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=bn(t.GG,e._a[Oe],ur(ce(),1,4).year),r=bn(t.W,1),s=bn(t.E,1),(s<1||s>7)&&(a=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=ur(ce(),i,o),n=bn(t.gg,e._a[Oe],u.year),r=bn(t.w,u.week),t.d!=null?(s=t.d,(s<0||s>6)&&(a=!0)):t.e!=null?(s=t.e+i,(t.e<0||t.e>6)&&(a=!0)):s=i),r<1||r>Mt(n,i,o)?W(e)._overflowWeeks=!0:a!=null?W(e)._overflowWeekday=!0:(l=Bl(n,r,s,i,o),e._a[Oe]=l.year,e._dayOfYear=l.dayOfYear)}k.ISO_8601=function(){};k.RFC_2822=function(){};function eo(e){if(e._f===k.ISO_8601){Zl(e);return}if(e._f===k.RFC_2822){Jl(e);return}e._a=[],W(e).empty=!0;var t=""+e._i,n,r,s,i,o,l=t.length,a=0,u,f;for(s=Cl(e._f,e._locale).match(Vi)||[],f=s.length,n=0;n0&&W(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),a+=r.length),Dn[i]?(r?W(e).empty=!1:W(e).unusedTokens.push(i),eh(i,r,e)):e._strict&&!r&&W(e).unusedTokens.push(i);W(e).charsLeftOver=l-a,t.length>0&&W(e).unusedInput.push(t),e._a[_e]<=12&&W(e).bigHour===!0&&e._a[_e]>0&&(W(e).bigHour=void 0),W(e).parsedDateParts=e._a.slice(0),W(e).meridiem=e._meridiem,e._a[_e]=cm(e._locale,e._a[_e],e._meridiem),u=W(e).era,u!==null&&(e._a[Oe]=e._locale.erasConvertYear(u,e._a[Oe])),Xi(e),Qi(e)}function cm(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function fm(e){var t,n,r,s,i,o,l=!1,a=e._f.length;if(a===0){W(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;sthis?this:e:fs()});function eu(e,t){var n,r;if(t.length===1&&Ze(t[0])&&(t=t[0]),!t.length)return ce();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Cm(){if(!Re(this._isDSTShifted))return this._isDSTShifted;var e={},t;return $i(e,this),e=Ql(e),e._a?(t=e._isUTC?ft(e._a):ce(e._a),this._isDSTShifted=this.isValid()&&Om(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Am(){return this.isValid()?!this._isUTC:!1}function Nm(){return this.isValid()?this._isUTC:!1}function nu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ym=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Im=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(e,t){var n=e,r=null,s,i,o;return Pr(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:kt(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Ym.exec(e))?(s=r[1]==="-"?-1:1,n={y:0,d:B(r[at])*s,h:B(r[_e])*s,m:B(r[ze])*s,s:B(r[Ot])*s,ms:B(ci(r[Jt]*1e3))*s}):(r=Im.exec(e))?(s=r[1]==="-"?-1:1,n={y:Gt(r[2],s),M:Gt(r[3],s),w:Gt(r[4],s),d:Gt(r[5],s),h:Gt(r[6],s),m:Gt(r[7],s),s:Gt(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=Fm(ce(n.from),ce(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new ws(n),Pr(e)&&Z(e,"_locale")&&(i._locale=e._locale),Pr(e)&&Z(e,"_isValid")&&(i._isValid=e._isValid),i}Xe.fn=ws.prototype;Xe.invalid=Sm;function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function ea(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Fm(e,t){var n;return e.isValid()&&t.isValid()?(t=no(t,e),e.isBefore(t)?n=ea(e,t):(n=ea(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ru(e,t){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Pl(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Xe(n,r),su(this,s,e),this}}function su(e,t,n,r){var s=t._milliseconds,i=ci(t._days),o=ci(t._months);!e.isValid()||(r=r==null?!0:r,o&&Wl(e,Br(e,"Month")+o*n),i&&Nl(e,"Date",Br(e,"Date")+i*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&k.updateOffset(e,i||o))}var Lm=ru(1,"add"),Um=ru(-1,"subtract");function iu(e){return typeof e=="string"||e instanceof String}function jm(e){return Je(e)||dr(e)||iu(e)||kt(e)||$m(e)||Wm(e)||e===null||e===void 0}function Wm(e){var t=tn(e)&&!ji(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,o=r.length;for(s=0;sn.valueOf():n.valueOf()9999?Rr(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):dt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Rr(n,"Z")):Rr(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function np(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,s,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+s+i)}function rp(e){e||(e=this.isUtc()?k.defaultFormatUtc:k.defaultFormat);var t=Rr(this,e);return this.localeData().postformat(t)}function sp(e,t){return this.isValid()&&(Je(e)&&e.isValid()||ce(e).isValid())?Xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ip(e){return this.from(ce(),e)}function op(e,t){return this.isValid()&&(Je(e)&&e.isValid()||ce(e).isValid())?Xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ap(e){return this.to(ce(),e)}function ou(e){var t;return e===void 0?this._locale._abbr:(t=Tt(e),t!=null&&(this._locale=t),this)}var au=He("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function lu(){return this._locale}var qr=1e3,Tn=60*qr,Kr=60*Tn,uu=(365*400+97)*24*Kr;function Rn(e,t){return(e%t+t)%t}function cu(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-uu:new Date(e,t,n).valueOf()}function fu(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-uu:Date.UTC(e,t,n)}function lp(e){var t,n;if(e=Ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fu:cu,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Rn(t+(this._isUTC?0:this.utcOffset()*Tn),Kr);break;case"minute":t=this._d.valueOf(),t-=Rn(t,Tn);break;case"second":t=this._d.valueOf(),t-=Rn(t,qr);break}return this._d.setTime(t),k.updateOffset(this,!0),this}function up(e){var t,n;if(e=Ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fu:cu,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Kr-Rn(t+(this._isUTC?0:this.utcOffset()*Tn),Kr)-1;break;case"minute":t=this._d.valueOf(),t+=Tn-Rn(t,Tn)-1;break;case"second":t=this._d.valueOf(),t+=qr-Rn(t,qr)-1;break}return this._d.setTime(t),k.updateOffset(this,!0),this}function cp(){return this._d.valueOf()-(this._offset||0)*6e4}function fp(){return Math.floor(this.valueOf()/1e3)}function dp(){return new Date(this.valueOf())}function hp(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function mp(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function pp(){return this.isValid()?this.toISOString():null}function gp(){return Wi(this)}function _p(){return Lt({},W(this))}function yp(){return W(this).overflow}function vp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Y("N",0,0,"eraAbbr");Y("NN",0,0,"eraAbbr");Y("NNN",0,0,"eraAbbr");Y("NNNN",0,0,"eraName");Y("NNNNN",0,0,"eraNarrow");Y("y",["y",1],"yo","eraYear");Y("y",["yy",2],0,"eraYear");Y("y",["yyy",3],0,"eraYear");Y("y",["yyyy",4],0,"eraYear");T("N",ro);T("NN",ro);T("NNN",ro);T("NNNN",Rp);T("NNNNN",Pp);ee(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?W(n).era=s:W(n).invalidEra=e});T("y",Ln);T("yy",Ln);T("yyy",Ln);T("yyyy",Ln);T("yo",Cp);ee(["y","yy","yyy","yyyy"],Oe);ee(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Oe]=n._locale.eraYearOrdinalParse(e,s):t[Oe]=parseInt(e,10)});function wp(e,t){var n,r,s,i=this._eras||Tt("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function Sp(e,t){var n=e.since<=e.until?1:-1;return t===void 0?k(e.since).year():k(e.since).year()+(t-e.offset)*n}function Op(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),Up.call(this,e,t,n,r,s))}function Up(e,t,n,r,s){var i=Bl(e,t,n,r,s),o=lr(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("Q",0,"Qo","quarter");xe("quarter","Q");Me("quarter",7);T("Q",Yl);ee("Q",function(e,t){t[St]=(B(e)-1)*3});function jp(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Y("D",["DD",2],"Do","date");xe("date","D");Me("date",9);T("D",fe);T("DD",fe,Ue);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ee(["D","DD"],at);ee("Do",function(e,t){t[at]=B(e.match(fe)[0])});var hu=Fn("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear");xe("dayOfYear","DDD");Me("dayOfYear",4);T("DDD",ms);T("DDDD",Il);ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)});function Wp(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Y("m",["mm",2],0,"minute");xe("minute","m");Me("minute",14);T("m",fe);T("mm",fe,Ue);ee(["m","mm"],ze);var $p=Fn("Minutes",!1);Y("s",["ss",2],0,"second");xe("second","s");Me("second",15);T("s",fe);T("ss",fe,Ue);ee(["s","ss"],Ot);var Hp=Fn("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)});Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Y(0,["SSS",3],0,"millisecond");Y(0,["SSSS",4],0,function(){return this.millisecond()*10});Y(0,["SSSSS",5],0,function(){return this.millisecond()*100});Y(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Y(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Y(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Y(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});xe("millisecond","ms");Me("millisecond",16);T("S",ms,Yl);T("SS",ms,Ue);T("SSS",ms,Il);var Ut,mu;for(Ut="SSSS";Ut.length<=9;Ut+="S")T(Ut,Ln);function Vp(e,t){t[Jt]=B(("0."+e)*1e3)}for(Ut="S";Ut.length<=9;Ut+="S")ee(Ut,Vp);mu=Fn("Milliseconds",!1);Y("z",0,0,"zoneAbbr");Y("zz",0,0,"zoneName");function Bp(){return this._isUTC?"UTC":""}function Gp(){return this._isUTC?"Coordinated Universal Time":""}var b=hr.prototype;b.add=Lm;b.calendar=Bm;b.clone=Gm;b.diff=Xm;b.endOf=up;b.format=rp;b.from=sp;b.fromNow=ip;b.to=op;b.toNow=ap;b.get=qd;b.invalidAt=yp;b.isAfter=zm;b.isBefore=qm;b.isBetween=Km;b.isSame=Zm;b.isSameOrAfter=Jm;b.isSameOrBefore=Qm;b.isValid=gp;b.lang=au;b.locale=ou;b.localeData=lu;b.max=gm;b.min=pm;b.parsingFlags=_p;b.set=Kd;b.startOf=lp;b.subtract=Um;b.toArray=hp;b.toObject=mp;b.toDate=dp;b.toISOString=tp;b.inspect=np;typeof Symbol!="undefined"&&Symbol.for!=null&&(b[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});b.toJSON=pp;b.toString=ep;b.unix=fp;b.valueOf=cp;b.creationData=vp;b.eraName=Op;b.eraNarrow=xp;b.eraAbbr=Mp;b.eraYear=Ep;b.year=Vl;b.isLeapYear=mh;b.weekYear=Ap;b.isoWeekYear=Np;b.quarter=b.quarters=jp;b.month=$l;b.daysInMonth=fh;b.week=b.weeks=wh;b.isoWeek=b.isoWeeks=bh;b.weeksInYear=Fp;b.weeksInWeekYear=Lp;b.isoWeeksInYear=Yp;b.isoWeeksInISOWeekYear=Ip;b.date=hu;b.day=b.days=Nh;b.weekday=Yh;b.isoWeekday=Ih;b.dayOfYear=Wp;b.hour=b.hours=Hh;b.minute=b.minutes=$p;b.second=b.seconds=Hp;b.millisecond=b.milliseconds=mu;b.utcOffset=Mm;b.utc=km;b.local=Dm;b.parseZone=Tm;b.hasAlignedHourOffset=Rm;b.isDST=Pm;b.isLocal=Am;b.isUtcOffset=Nm;b.isUtc=nu;b.isUTC=nu;b.zoneAbbr=Bp;b.zoneName=Gp;b.dates=He("dates accessor is deprecated. Use date instead.",hu);b.months=He("months accessor is deprecated. Use month instead",$l);b.years=He("years accessor is deprecated. Use year instead",Vl);b.zone=He("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Em);b.isDSTShifted=He("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Cm);function zp(e){return ce(e*1e3)}function qp(){return ce.apply(null,arguments).parseZone()}function pu(e){return e}var J=Hi.prototype;J.calendar=Nd;J.longDateFormat=Ld;J.invalidDate=jd;J.ordinal=Hd;J.preparse=pu;J.postformat=pu;J.relativeTime=Bd;J.pastFuture=Gd;J.set=Cd;J.eras=wp;J.erasParse=bp;J.erasConvertYear=Sp;J.erasAbbrRegex=Dp;J.erasNameRegex=kp;J.erasNarrowRegex=Tp;J.months=ah;J.monthsShort=lh;J.monthsParse=ch;J.monthsRegex=hh;J.monthsShortRegex=dh;J.week=gh;J.firstDayOfYear=vh;J.firstDayOfWeek=yh;J.weekdays=Th;J.weekdaysMin=Ph;J.weekdaysShort=Rh;J.weekdaysParse=Ah;J.weekdaysRegex=Fh;J.weekdaysShortRegex=Lh;J.weekdaysMinRegex=Uh;J.isPM=Wh;J.meridiem=Vh;function Zr(e,t,n,r){var s=Tt(),i=ft().set(r,t);return s[n](i,e)}function gu(e,t,n){if(kt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Zr(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Zr(e,r,n,"month");return s}function io(e,t,n,r){typeof e=="boolean"?(kt(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,kt(t)&&(n=t,t=void 0),t=t||"");var s=Tt(),i=e?s._week.dow:0,o,l=[];if(n!=null)return Zr(t,(n+i)%7,r,"day");for(o=0;o<7;o++)l[o]=Zr(t,(o+i)%7,r,"day");return l}function Kp(e,t){return gu(e,t,"months")}function Zp(e,t){return gu(e,t,"monthsShort")}function Jp(e,t,n){return io(e,t,n,"weekdays")}function Qp(e,t,n){return io(e,t,n,"weekdaysShort")}function Xp(e,t,n){return io(e,t,n,"weekdaysMin")}$t("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=B(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});k.lang=He("moment.lang is deprecated. Use moment.locale instead.",$t);k.langData=He("moment.langData is deprecated. Use moment.localeData instead.",Tt);var _t=Math.abs;function eg(){var e=this._data;return this._milliseconds=_t(this._milliseconds),this._days=_t(this._days),this._months=_t(this._months),e.milliseconds=_t(e.milliseconds),e.seconds=_t(e.seconds),e.minutes=_t(e.minutes),e.hours=_t(e.hours),e.months=_t(e.months),e.years=_t(e.years),this}function _u(e,t,n,r){var s=Xe(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function tg(e,t){return _u(this,e,t,1)}function ng(e,t){return _u(this,e,t,-1)}function ta(e){return e<0?Math.floor(e):Math.ceil(e)}function rg(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,s,i,o,l,a;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=ta(di(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,s=$e(e/1e3),r.seconds=s%60,i=$e(s/60),r.minutes=i%60,o=$e(i/60),r.hours=o%24,t+=$e(o/24),a=$e(yu(t)),n+=a,t-=ta(di(a)),l=$e(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function yu(e){return e*4800/146097}function di(e){return e*146097/4800}function sg(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ve(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+yu(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(di(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ig(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+B(this._months/12)*31536e6:NaN}function Rt(e){return function(){return this.as(e)}}var og=Rt("ms"),ag=Rt("s"),lg=Rt("m"),ug=Rt("h"),cg=Rt("d"),fg=Rt("w"),dg=Rt("M"),hg=Rt("Q"),mg=Rt("y");function pg(){return Xe(this)}function gg(e){return e=Ve(e),this.isValid()?this[e+"s"]():NaN}function sn(e){return function(){return this.isValid()?this._data[e]:NaN}}var _g=sn("milliseconds"),yg=sn("seconds"),vg=sn("minutes"),wg=sn("hours"),bg=sn("days"),Sg=sn("months"),Og=sn("years");function xg(){return $e(this.days()/7)}var vt=Math.round,On={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mg(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}function Eg(e,t,n,r){var s=Xe(e).abs(),i=vt(s.as("s")),o=vt(s.as("m")),l=vt(s.as("h")),a=vt(s.as("d")),u=vt(s.as("M")),f=vt(s.as("w")),d=vt(s.as("y")),h=i<=n.ss&&["s",i]||i0,h[4]=r,Mg.apply(null,h)}function kg(e){return e===void 0?vt:typeof e=="function"?(vt=e,!0):!1}function Dg(e,t){return On[e]===void 0?!1:t===void 0?On[e]:(On[e]=t,e==="s"&&(On.ss=t-1),!0)}function Tg(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=On,s,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},On,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),s=this.localeData(),i=Eg(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var Is=Math.abs;function mn(e){return(e>0)-(e<0)||+e}function Ss(){if(!this.isValid())return this.localeData().invalidDate();var e=Is(this._milliseconds)/1e3,t=Is(this._days),n=Is(this._months),r,s,i,o,l=this.asSeconds(),a,u,f,d;return l?(r=$e(e/60),s=$e(r/60),e%=60,r%=60,i=$e(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",a=l<0?"-":"",u=mn(this._months)!==mn(l)?"-":"",f=mn(this._days)!==mn(l)?"-":"",d=mn(this._milliseconds)!==mn(l)?"-":"",a+"P"+(i?u+i+"Y":"")+(n?u+n+"M":"")+(t?f+t+"D":"")+(s||r||e?"T":"")+(s?d+s+"H":"")+(r?d+r+"M":"")+(e?d+o+"S":"")):"P0D"}var z=ws.prototype;z.isValid=bm;z.abs=eg;z.add=tg;z.subtract=ng;z.as=sg;z.asMilliseconds=og;z.asSeconds=ag;z.asMinutes=lg;z.asHours=ug;z.asDays=cg;z.asWeeks=fg;z.asMonths=dg;z.asQuarters=hg;z.asYears=mg;z.valueOf=ig;z._bubble=rg;z.clone=pg;z.get=gg;z.milliseconds=_g;z.seconds=yg;z.minutes=vg;z.hours=wg;z.days=bg;z.weeks=xg;z.months=Sg;z.years=Og;z.humanize=Tg;z.toISOString=Ss;z.toString=Ss;z.toJSON=Ss;z.locale=ou;z.localeData=lu;z.toIsoString=He("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ss);z.lang=au;Y("X",0,0,"unix");Y("x",0,0,"valueOf");T("x",gs);T("X",Jd);ee("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ee("x",function(e,t,n){n._d=new Date(B(e))});//! moment.js +k.version="2.29.3";Rd(ce);k.fn=b;k.min=_m;k.max=ym;k.now=vm;k.utc=ft;k.unix=zp;k.months=Kp;k.isDate=dr;k.locale=$t;k.invalid=fs;k.duration=Xe;k.isMoment=Je;k.weekdays=Jp;k.parseZone=qp;k.localeData=Tt;k.isDuration=Pr;k.monthsShort=Zp;k.weekdaysMin=Xp;k.defineLocale=Ji;k.updateLocale=qh;k.locales=Kh;k.weekdaysShort=Qp;k.normalizeUnits=Ve;k.relativeTimeRounding=kg;k.relativeTimeThreshold=Dg;k.calendarFormat=Vm;k.prototype=b;k.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Rg(){return vu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function vu(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const Pg=typeof Proxy=="function",Cg="devtools-plugin:setup",Ag="plugin:settings:set";class Ng{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const o in t.settings){const l=t.settings[o];r[o]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const o=localStorage.getItem(s),l=JSON.parse(o);Object.assign(i,l)}catch(o){}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(s,JSON.stringify(o))}catch(l){}i=o}},n&&n.on(Ag,(o,l)=>{o===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(o,l)=>this.target?this.target.on[l]:(...a)=>{this.onQueue.push({method:l,args:a})}}),this.proxiedTarget=new Proxy({},{get:(o,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...a)=>(this.targetQueue.push({method:l,args:a,resolve:()=>{}}),this.fallbacks[l](...a)):(...a)=>new Promise(u=>{this.targetQueue.push({method:l,args:a,resolve:u})})})}setRealTarget(t){return bo(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function Yg(e,t){const n=e,r=vu(),s=Rg(),i=Pg&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))s.emit(Cg,e,t);else{const o=i?new Ng(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT - */var pu="store";function av(e){return e===void 0&&(e=null),Mt(e!==null?e:pu)}function Ln(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function k_(e){return e!==null&&typeof e=="object"}function D_(e){return e&&typeof e.then=="function"}function T_(e,t){return function(){return e(t)}}function _u(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function gu(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Ss(e,n,[],e._modules.root,!0),oo(e,n,t)}function oo(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={};Ln(s,function(o,a){i[a]=T_(o,e),Object.defineProperty(e.getters,a,{get:function(){return i[a]()},enumerable:!0})}),e._state=Yn({data:t}),e.strict&&N_(e),r&&n&&e._withCommit(function(){r.data=null})}function Ss(e,t,n,r,s){var i=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!i&&!s){var a=ao(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=R_(e,o,n);r.forEachMutation(function(f,d){var h=o+d;P_(e,h,f,u)}),r.forEachAction(function(f,d){var h=f.root?d:o+d,p=f.handler||f;C_(e,h,p,u)}),r.forEachGetter(function(f,d){var h=o+d;A_(e,h,f,u)}),r.forEachChild(function(f,d){Ss(e,t,n.concat(d),f,s)})}function R_(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(i,o,a){var l=Zr(i,o,a),u=l.payload,f=l.options,d=l.type;return(!f||!f.root)&&(d=t+d),e.dispatch(d,u)},commit:r?e.commit:function(i,o,a){var l=Zr(i,o,a),u=l.payload,f=l.options,d=l.type;(!f||!f.root)&&(d=t+d),e.commit(d,u,f)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return yu(e,t)}},state:{get:function(){return ao(e.state,n)}}}),s}function yu(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var i=s.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function P_(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(o){n.call(e,r.state,o)})}function C_(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(o){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},o);return D_(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function A_(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(i){return n(r.state,r.getters,i.state,i.getters)})}function N_(e){En(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function ao(e,t){return t.reduce(function(n,r){return n[r]},e)}function Zr(e,t,n){return k_(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Y_="vuex bindings",Xo="vuex:mutations",Fs="vuex:actions",pn="vuex",I_=0;function F_(e,t){E_({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Y_]},function(n){n.addTimelineLayer({id:Xo,label:"Vuex Mutations",color:ea}),n.addTimelineLayer({id:Fs,label:"Vuex Actions",color:ea}),n.addInspector({id:pn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===pn)if(r.filter){var s=[];Su(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[bu(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===pn){var s=r.nodeId;yu(t,s),r.state=W_($_(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===pn){var s=r.nodeId,i=r.path;s!=="root"&&(i=s.split("/").filter(Boolean).concat(i)),t._withCommit(function(){r.set(t._state.data,i,r.state.value)})}}),t.subscribe(function(r,s){var i={};r.payload&&(i.payload=r.payload),i.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(pn),n.sendInspectorState(pn),n.addTimelineEvent({layerId:Xo,event:{time:Date.now(),title:r.type,data:i}})}),t.subscribeAction({before:function(r,s){var i={};r.payload&&(i.payload=r.payload),r._id=I_++,r._time=Date.now(),i.state=s,n.addTimelineEvent({layerId:Fs,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:i}})},after:function(r,s){var i={},o=Date.now()-r._time;i.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},r.payload&&(i.payload=r.payload),i.state=s,n.addTimelineEvent({layerId:Fs,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:i}})}})})}var ea=8702998,L_=6710886,U_=16777215,vu={label:"namespaced",textColor:U_,backgroundColor:L_};function wu(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function bu(e,t){return{id:t||"root",label:wu(t),tags:e.namespaced?[vu]:[],children:Object.keys(e._children).map(function(n){return bu(e._children[n],t+n+"/")})}}function Su(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[vu]:[]}),Object.keys(t._children).forEach(function(s){Su(e,t._children[s],n,r+s+"/")})}function W_(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(o){return{key:o,editable:!0,value:e.state[o]}})};if(r.length){var i=H_(t);s.getters=Object.keys(i).map(function(o){return{key:o.endsWith("/")?wu(o):o,editable:!1,value:hi(function(){return i[o]})}})}return s}function H_(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,i=r.pop();r.forEach(function(o){s[o]||(s[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),s=s[o]._custom.value}),s[i]=hi(function(){return e[n]})}else t[n]=hi(function(){return e[n]})}),t}function $_(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,i){var o=r[s];if(!o)throw new Error('Missing module "'+s+'" for path "'+t+'".');return i===n.length-1?o:o._children},t==="root"?e:e.root._children)}function hi(e){try{return e()}catch(t){return t}}var et=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Ou={namespaced:{configurable:!0}};Ou.namespaced.get=function(){return!!this._rawModule.namespaced};et.prototype.addChild=function(t,n){this._children[t]=n};et.prototype.removeChild=function(t){delete this._children[t]};et.prototype.getChild=function(t){return this._children[t]};et.prototype.hasChild=function(t){return t in this._children};et.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)};et.prototype.forEachChild=function(t){Ln(this._children,t)};et.prototype.forEachGetter=function(t){this._rawModule.getters&&Ln(this._rawModule.getters,t)};et.prototype.forEachAction=function(t){this._rawModule.actions&&Ln(this._rawModule.actions,t)};et.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ln(this._rawModule.mutations,t)};Object.defineProperties(et.prototype,Ou);var on=function(t){this.register([],t,!1)};on.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};on.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};on.prototype.update=function(t){Mu([],this.root,t)};on.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var i=new et(n,r);if(t.length===0)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}n.modules&&Ln(n.modules,function(a,l){s.register(t.concat(l),a,r)})};on.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);!s||!s.runtime||n.removeChild(r)};on.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Mu(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Mu(e.concat(r),t.getChild(r),n.modules[r])}}function lv(e){return new Pe(e)}var Pe=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new on(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=i;var o=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(h,p){return l.call(o,h,p)},this.commit=function(h,p,D){return u.call(o,h,p,D)},this.strict=s;var f=this._modules.root.state;Ss(this,f,[],this._modules.root),oo(this,f),r.forEach(function(d){return d(n)})},lo={state:{configurable:!0}};Pe.prototype.install=function(t,n){t.provide(n||pu,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&F_(t,this)};lo.state.get=function(){return this._state.data};lo.state.set=function(e){};Pe.prototype.commit=function(t,n,r){var s=this,i=Zr(t,n,r),o=i.type,a=i.payload,l={type:o,payload:a},u=this._mutations[o];!u||(this._withCommit(function(){u.forEach(function(d){d(a)})}),this._subscribers.slice().forEach(function(f){return f(l,s.state)}))};Pe.prototype.dispatch=function(t,n){var r=this,s=Zr(t,n),i=s.type,o=s.payload,a={type:i,payload:o},l=this._actions[i];if(!!l){try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(a,r.state)})}catch(f){}var u=l.length>1?Promise.all(l.map(function(f){return f(o)})):l[0](o);return new Promise(function(f,d){u.then(function(h){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch(p){}f(h)},function(h){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,h)})}catch(p){}d(h)})})}};Pe.prototype.subscribe=function(t,n){return _u(t,this._subscribers,n)};Pe.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return _u(r,this._actionSubscribers,n)};Pe.prototype.watch=function(t,n,r){var s=this;return En(function(){return t(s.state,s.getters)},n,Object.assign({},r))};Pe.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Pe.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Ss(this,this.state,t,this._modules.get(t),r.preserveState),oo(this,this.state)};Pe.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=ao(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),gu(this)};Pe.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Pe.prototype.hotUpdate=function(t){this._modules.update(t),gu(this,!0)};Pe.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Pe.prototype,lo);var uo={exports:{}},xu=function(t,n){return function(){for(var s=new Array(arguments.length),i=0;i=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},na=We,Og=na.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(i){var o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 r=s(window.location.href),function(o){var a=na.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Mr=We,Mg=mg,xg=pg,Eg=Du,kg=wg,Dg=Sg,Tg=Og,Us=Ru,ra=function(t){return new Promise(function(r,s){var i=t.data,o=t.headers;Mr.isFormData(i)&&delete o["Content-Type"];var a=new XMLHttpRequest;if(t.auth){var l=t.auth.username||"",u=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(l+":"+u)}var f=kg(t.baseURL,t.url);if(a.open(t.method.toUpperCase(),Eg(f,t.params,t.paramsSerializer),!0),a.timeout=t.timeout,a.onreadystatechange=function(){if(!(!a||a.readyState!==4)&&!(a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0))){var p="getAllResponseHeaders"in a?Dg(a.getAllResponseHeaders()):null,D=!t.responseType||t.responseType==="text"?a.responseText:a.response,W={data:D,status:a.status,statusText:a.statusText,headers:p,config:t,request:a};Mg(r,s,W),a=null}},a.onabort=function(){!a||(s(Us("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){s(Us("Network Error",t,null,a)),a=null},a.ontimeout=function(){var p="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(Us(p,t,"ECONNABORTED",a)),a=null},Mr.isStandardBrowserEnv()){var d=(t.withCredentials||Tg(f))&&t.xsrfCookieName?xg.read(t.xsrfCookieName):void 0;d&&(o[t.xsrfHeaderName]=d)}if("setRequestHeader"in a&&Mr.forEach(o,function(p,D){typeof i=="undefined"&&D.toLowerCase()==="content-type"?delete o[D]:a.setRequestHeader(D,p)}),Mr.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),t.responseType)try{a.responseType=t.responseType}catch(h){if(t.responseType!=="json")throw h}typeof t.onDownloadProgress=="function"&&a.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(p){!a||(a.abort(),s(p),a=null)}),i||(i=null),a.send(i)})},Re=We,sa=cg,Rg={"Content-Type":"application/x-www-form-urlencoded"};function ia(e,t){!Re.isUndefined(e)&&Re.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Pg(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ra),e}var Ms={adapter:Pg(),transformRequest:[function(t,n){return sa(n,"Accept"),sa(n,"Content-Type"),Re.isFormData(t)||Re.isArrayBuffer(t)||Re.isBuffer(t)||Re.isStream(t)||Re.isFile(t)||Re.isBlob(t)?t:Re.isArrayBufferView(t)?t.buffer:Re.isURLSearchParams(t)?(ia(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Re.isObject(t)?(ia(n,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(n){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Ms.headers={common:{Accept:"application/json, text/plain, */*"}};Re.forEach(["delete","get","head"],function(t){Ms.headers[t]={}});Re.forEach(["post","put","patch"],function(t){Ms.headers[t]=Re.merge(Rg)});var Pu=Ms,oa=We,Ws=lg,Cg=Tu,Ag=Pu;function Hs(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var Ng=function(t){Hs(t),t.headers=t.headers||{},t.data=Ws(t.data,t.headers,t.transformRequest),t.headers=oa.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),oa.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||Ag.adapter;return n(t).then(function(s){return Hs(t),s.data=Ws(s.data,s.headers,t.transformResponse),s},function(s){return Cg(s)||(Hs(t),s&&s.response&&(s.response.data=Ws(s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},be=We,Cu=function(t,n){n=n||{};var r={},s=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function l(h,p){return be.isPlainObject(h)&&be.isPlainObject(p)?be.merge(h,p):be.isPlainObject(p)?be.merge({},p):be.isArray(p)?p.slice():p}function u(h){be.isUndefined(n[h])?be.isUndefined(t[h])||(r[h]=l(void 0,t[h])):r[h]=l(t[h],n[h])}be.forEach(s,function(p){be.isUndefined(n[p])||(r[p]=l(void 0,n[p]))}),be.forEach(i,u),be.forEach(o,function(p){be.isUndefined(n[p])?be.isUndefined(t[p])||(r[p]=l(void 0,t[p])):r[p]=l(void 0,n[p])}),be.forEach(a,function(p){p in n?r[p]=l(t[p],n[p]):p in t&&(r[p]=l(void 0,t[p]))});var f=s.concat(i).concat(o).concat(a),d=Object.keys(t).concat(Object.keys(n)).filter(function(p){return f.indexOf(p)===-1});return be.forEach(d,u),r},Au=We,Yg=Du,aa=og,Ig=Ng,xs=Cu;function pr(e){this.defaults=e,this.interceptors={request:new aa,response:new aa}}pr.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=xs(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=[Ig,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(i){n.unshift(i.fulfilled,i.rejected)}),this.interceptors.response.forEach(function(i){n.push(i.fulfilled,i.rejected)});n.length;)r=r.then(n.shift(),n.shift());return r};pr.prototype.getUri=function(t){return t=xs(this.defaults,t),Yg(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Au.forEach(["delete","get","head","options"],function(t){pr.prototype[t]=function(n,r){return this.request(xs(r||{},{method:t,url:n,data:(r||{}).data}))}});Au.forEach(["post","put","patch"],function(t){pr.prototype[t]=function(n,r,s){return this.request(xs(s||{},{method:t,url:n,data:r}))}});var Fg=pr;function ho(e){this.message=e}ho.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};ho.prototype.__CANCEL__=!0;var Nu=ho,Lg=Nu;function Jr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;e(function(s){n.reason||(n.reason=new Lg(s),t(n.reason))})}Jr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Jr.source=function(){var t,n=new Jr(function(s){t=s});return{token:n,cancel:t}};var Ug=Jr,Wg=function(t){return function(r){return t.apply(null,r)}},Hg=function(t){return typeof t=="object"&&t.isAxiosError===!0},la=We,$g=xu,Ar=Fg,jg=Cu,Vg=Pu;function Yu(e){var t=new Ar(e),n=$g(Ar.prototype.request,t);return la.extend(n,Ar.prototype,t),la.extend(n,t),n}var Qe=Yu(Vg);Qe.Axios=Ar;Qe.create=function(t){return Yu(jg(Qe.defaults,t))};Qe.Cancel=Nu;Qe.CancelToken=Ug;Qe.isCancel=Tu;Qe.all=function(t){return Promise.all(t)};Qe.spread=Wg;Qe.isAxiosError=Hg;uo.exports=Qe;uo.exports.default=Qe;var uv=uo.exports;/*! + */var wu="store";function Uv(e){return e===void 0&&(e=null),xt(e!==null?e:wu)}function Un(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ig(e){return e!==null&&typeof e=="object"}function Fg(e){return e&&typeof e.then=="function"}function Lg(e,t){return function(){return e(t)}}function bu(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Su(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Os(e,n,[],e._modules.root,!0),oo(e,n,t)}function oo(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={};Un(s,function(o,l){i[l]=Lg(o,e),Object.defineProperty(e.getters,l,{get:function(){return i[l]()},enumerable:!0})}),e._state=In({data:t}),e.strict&&Hg(e),r&&n&&e._withCommit(function(){r.data=null})}function Os(e,t,n,r,s){var i=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!i&&!s){var l=ao(t,n.slice(0,-1)),a=n[n.length-1];e._withCommit(function(){l[a]=r.state})}var u=r.context=Ug(e,o,n);r.forEachMutation(function(f,d){var h=o+d;jg(e,h,f,u)}),r.forEachAction(function(f,d){var h=f.root?d:o+d,g=f.handler||f;Wg(e,h,g,u)}),r.forEachGetter(function(f,d){var h=o+d;$g(e,h,f,u)}),r.forEachChild(function(f,d){Os(e,t,n.concat(d),f,s)})}function Ug(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(i,o,l){var a=Jr(i,o,l),u=a.payload,f=a.options,d=a.type;return(!f||!f.root)&&(d=t+d),e.dispatch(d,u)},commit:r?e.commit:function(i,o,l){var a=Jr(i,o,l),u=a.payload,f=a.options,d=a.type;(!f||!f.root)&&(d=t+d),e.commit(d,u,f)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return Ou(e,t)}},state:{get:function(){return ao(e.state,n)}}}),s}function Ou(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var i=s.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function jg(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(o){n.call(e,r.state,o)})}function Wg(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(o){var l=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},o);return Fg(l)||(l=Promise.resolve(l)),e._devtoolHook?l.catch(function(a){throw e._devtoolHook.emit("vuex:error",a),a}):l})}function $g(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(i){return n(r.state,r.getters,i.state,i.getters)})}function Hg(e){kn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function ao(e,t){return t.reduce(function(n,r){return n[r]},e)}function Jr(e,t,n){return Ig(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Vg="vuex bindings",na="vuex:mutations",Fs="vuex:actions",pn="vuex",Bg=0;function Gg(e,t){Yg({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Vg]},function(n){n.addTimelineLayer({id:na,label:"Vuex Mutations",color:ra}),n.addTimelineLayer({id:Fs,label:"Vuex Actions",color:ra}),n.addInspector({id:pn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===pn)if(r.filter){var s=[];ku(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[Eu(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===pn){var s=r.nodeId;Ou(t,s),r.state=Kg(Jg(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===pn){var s=r.nodeId,i=r.path;s!=="root"&&(i=s.split("/").filter(Boolean).concat(i)),t._withCommit(function(){r.set(t._state.data,i,r.state.value)})}}),t.subscribe(function(r,s){var i={};r.payload&&(i.payload=r.payload),i.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(pn),n.sendInspectorState(pn),n.addTimelineEvent({layerId:na,event:{time:Date.now(),title:r.type,data:i}})}),t.subscribeAction({before:function(r,s){var i={};r.payload&&(i.payload=r.payload),r._id=Bg++,r._time=Date.now(),i.state=s,n.addTimelineEvent({layerId:Fs,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:i}})},after:function(r,s){var i={},o=Date.now()-r._time;i.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},r.payload&&(i.payload=r.payload),i.state=s,n.addTimelineEvent({layerId:Fs,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:i}})}})})}var ra=8702998,zg=6710886,qg=16777215,xu={label:"namespaced",textColor:qg,backgroundColor:zg};function Mu(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Eu(e,t){return{id:t||"root",label:Mu(t),tags:e.namespaced?[xu]:[],children:Object.keys(e._children).map(function(n){return Eu(e._children[n],t+n+"/")})}}function ku(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[xu]:[]}),Object.keys(t._children).forEach(function(s){ku(e,t._children[s],n,r+s+"/")})}function Kg(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(o){return{key:o,editable:!0,value:e.state[o]}})};if(r.length){var i=Zg(t);s.getters=Object.keys(i).map(function(o){return{key:o.endsWith("/")?Mu(o):o,editable:!1,value:hi(function(){return i[o]})}})}return s}function Zg(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,i=r.pop();r.forEach(function(o){s[o]||(s[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),s=s[o]._custom.value}),s[i]=hi(function(){return e[n]})}else t[n]=hi(function(){return e[n]})}),t}function Jg(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,i){var o=r[s];if(!o)throw new Error('Missing module "'+s+'" for path "'+t+'".');return i===n.length-1?o:o._children},t==="root"?e:e.root._children)}function hi(e){try{return e()}catch(t){return t}}var et=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Du={namespaced:{configurable:!0}};Du.namespaced.get=function(){return!!this._rawModule.namespaced};et.prototype.addChild=function(t,n){this._children[t]=n};et.prototype.removeChild=function(t){delete this._children[t]};et.prototype.getChild=function(t){return this._children[t]};et.prototype.hasChild=function(t){return t in this._children};et.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)};et.prototype.forEachChild=function(t){Un(this._children,t)};et.prototype.forEachGetter=function(t){this._rawModule.getters&&Un(this._rawModule.getters,t)};et.prototype.forEachAction=function(t){this._rawModule.actions&&Un(this._rawModule.actions,t)};et.prototype.forEachMutation=function(t){this._rawModule.mutations&&Un(this._rawModule.mutations,t)};Object.defineProperties(et.prototype,Du);var on=function(t){this.register([],t,!1)};on.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};on.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};on.prototype.update=function(t){Tu([],this.root,t)};on.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var i=new et(n,r);if(t.length===0)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}n.modules&&Un(n.modules,function(l,a){s.register(t.concat(a),l,r)})};on.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);!s||!s.runtime||n.removeChild(r)};on.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Tu(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Tu(e.concat(r),t.getChild(r),n.modules[r])}}function jv(e){return new Pe(e)}var Pe=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new on(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=i;var o=this,l=this,a=l.dispatch,u=l.commit;this.dispatch=function(h,g){return a.call(o,h,g)},this.commit=function(h,g,E){return u.call(o,h,g,E)},this.strict=s;var f=this._modules.root.state;Os(this,f,[],this._modules.root),oo(this,f),r.forEach(function(d){return d(n)})},lo={state:{configurable:!0}};Pe.prototype.install=function(t,n){t.provide(n||wu,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Gg(t,this)};lo.state.get=function(){return this._state.data};lo.state.set=function(e){};Pe.prototype.commit=function(t,n,r){var s=this,i=Jr(t,n,r),o=i.type,l=i.payload,a={type:o,payload:l},u=this._mutations[o];!u||(this._withCommit(function(){u.forEach(function(d){d(l)})}),this._subscribers.slice().forEach(function(f){return f(a,s.state)}))};Pe.prototype.dispatch=function(t,n){var r=this,s=Jr(t,n),i=s.type,o=s.payload,l={type:i,payload:o},a=this._actions[i];if(!!a){try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(l,r.state)})}catch(f){}var u=a.length>1?Promise.all(a.map(function(f){return f(o)})):a[0](o);return new Promise(function(f,d){u.then(function(h){try{r._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(l,r.state)})}catch(g){}f(h)},function(h){try{r._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(l,r.state,h)})}catch(g){}d(h)})})}};Pe.prototype.subscribe=function(t,n){return bu(t,this._subscribers,n)};Pe.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return bu(r,this._actionSubscribers,n)};Pe.prototype.watch=function(t,n,r){var s=this;return kn(function(){return t(s.state,s.getters)},n,Object.assign({},r))};Pe.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Pe.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Os(this,this.state,t,this._modules.get(t),r.preserveState),oo(this,this.state)};Pe.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=ao(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Su(this)};Pe.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Pe.prototype.hotUpdate=function(t){this._modules.update(t),Su(this,!0)};Pe.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Pe.prototype,lo);var uo={exports:{}},Ru=function(t,n){return function(){for(var s=new Array(arguments.length),i=0;i=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},ia=je,T_=ia.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(i){var o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 r=s(window.location.href),function(o){var l=ia.isString(o)?s(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),Mr=je,R_=w_,P_=b_,C_=Au,A_=E_,N_=D_,Y_=T_,Us=Yu,oa=function(t){return new Promise(function(r,s){var i=t.data,o=t.headers,l=t.responseType;Mr.isFormData(i)&&delete o["Content-Type"];var a=new XMLHttpRequest;if(t.auth){var u=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(u+":"+f)}var d=A_(t.baseURL,t.url);a.open(t.method.toUpperCase(),C_(d,t.params,t.paramsSerializer),!0),a.timeout=t.timeout;function h(){if(!!a){var E="getAllResponseHeaders"in a?N_(a.getAllResponseHeaders()):null,L=!l||l==="text"||l==="json"?a.responseText:a.response,R={data:L,status:a.status,statusText:a.statusText,headers:E,config:t,request:a};R_(r,s,R),a=null}}if("onloadend"in a?a.onloadend=h:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(h)},a.onabort=function(){!a||(s(Us("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){s(Us("Network Error",t,null,a)),a=null},a.ontimeout=function(){var L="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(L=t.timeoutErrorMessage),s(Us(L,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",a)),a=null},Mr.isStandardBrowserEnv()){var g=(t.withCredentials||Y_(d))&&t.xsrfCookieName?P_.read(t.xsrfCookieName):void 0;g&&(o[t.xsrfHeaderName]=g)}"setRequestHeader"in a&&Mr.forEach(o,function(L,R){typeof i=="undefined"&&R.toLowerCase()==="content-type"?delete o[R]:a.setRequestHeader(R,L)}),Mr.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),l&&l!=="json"&&(a.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&a.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(L){!a||(a.abort(),s(L),a=null)}),i||(i=null),a.send(i)})},ve=je,aa=__,I_=Nu,F_={"Content-Type":"application/x-www-form-urlencoded"};function la(e,t){!ve.isUndefined(e)&&ve.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function L_(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=oa),e}function U_(e,t,n){if(ve.isString(e))try{return(t||JSON.parse)(e),ve.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Ms={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:L_(),transformRequest:[function(t,n){return aa(n,"Accept"),aa(n,"Content-Type"),ve.isFormData(t)||ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t)?t:ve.isArrayBufferView(t)?t.buffer:ve.isURLSearchParams(t)?(la(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ve.isObject(t)||n&&n["Content-Type"]==="application/json"?(la(n,"application/json"),U_(t)):t}],transformResponse:[function(t){var n=this.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||s&&ve.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?I_(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Ms.headers={common:{Accept:"application/json, text/plain, */*"}};ve.forEach(["delete","get","head"],function(t){Ms.headers[t]={}});ve.forEach(["post","put","patch"],function(t){Ms.headers[t]=ve.merge(F_)});var ho=Ms,j_=je,W_=ho,$_=function(t,n,r){var s=this||W_;return j_.forEach(r,function(o){t=o.call(s,t,n)}),t},Iu=function(t){return!!(t&&t.__CANCEL__)},ua=je,js=$_,H_=Iu,V_=ho;function Ws(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var B_=function(t){Ws(t),t.headers=t.headers||{},t.data=js.call(t,t.data,t.headers,t.transformRequest),t.headers=ua.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),ua.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||V_.adapter;return n(t).then(function(s){return Ws(t),s.data=js.call(t,s.data,s.headers,t.transformResponse),s},function(s){return H_(s)||(Ws(t),s&&s.response&&(s.response.data=js.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},Se=je,Fu=function(t,n){n=n||{};var r={},s=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function a(h,g){return Se.isPlainObject(h)&&Se.isPlainObject(g)?Se.merge(h,g):Se.isPlainObject(g)?Se.merge({},g):Se.isArray(g)?g.slice():g}function u(h){Se.isUndefined(n[h])?Se.isUndefined(t[h])||(r[h]=a(void 0,t[h])):r[h]=a(t[h],n[h])}Se.forEach(s,function(g){Se.isUndefined(n[g])||(r[g]=a(void 0,n[g]))}),Se.forEach(i,u),Se.forEach(o,function(g){Se.isUndefined(n[g])?Se.isUndefined(t[g])||(r[g]=a(void 0,t[g])):r[g]=a(void 0,n[g])}),Se.forEach(l,function(g){g in n?r[g]=a(t[g],n[g]):g in t&&(r[g]=a(void 0,t[g]))});var f=s.concat(i).concat(o).concat(l),d=Object.keys(t).concat(Object.keys(n)).filter(function(g){return f.indexOf(g)===-1});return Se.forEach(d,u),r};const G_="axios",z_="0.21.4",q_="Promise based HTTP client for the browser and node.js",K_="index.js",Z_={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},J_={type:"git",url:"https://github.com/axios/axios.git"},Q_=["xhr","http","ajax","promise","node"],X_="Matt Zabriskie",ey="MIT",ty={url:"https://github.com/axios/axios/issues"},ny="https://axios-http.com",ry={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},sy={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},iy="dist/axios.min.js",oy="dist/axios.min.js",ay="./index.d.ts",ly={"follow-redirects":"^1.14.0"},uy=[{path:"./dist/axios.min.js",threshold:"5kB"}];var cy={name:G_,version:z_,description:q_,main:K_,scripts:Z_,repository:J_,keywords:Q_,author:X_,license:ey,bugs:ty,homepage:ny,devDependencies:ry,browser:sy,jsdelivr:iy,unpkg:oy,typings:ay,dependencies:ly,bundlesize:uy},Lu=cy,mo={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){mo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var ca={},fy=Lu.version.split(".");function Uu(e,t){for(var n=t?t.split("."):fy,r=e.split("."),s=0;s<3;s++){if(n[s]>r[s])return!0;if(n[s]0;){var i=r[s],o=t[i];if(o){var l=e[i],a=l===void 0||o(l,i,e);if(a!==!0)throw new TypeError("option "+i+" must be "+a);continue}if(n!==!0)throw Error("Unknown option "+i)}}var hy={isOlderVersion:Uu,assertOptions:dy,validators:mo},ju=je,my=Au,fa=p_,da=B_,Es=Fu,Wu=hy,_n=Wu.validators;function gr(e){this.defaults=e,this.interceptors={request:new fa,response:new fa}}gr.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Es(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&Wu.assertOptions(n,{silentJSONParsing:_n.transitional(_n.boolean,"1.0.0"),forcedJSONParsing:_n.transitional(_n.boolean,"1.0.0"),clarifyTimeoutError:_n.transitional(_n.boolean,"1.0.0")},!1);var r=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(s=s&&h.synchronous,r.unshift(h.fulfilled,h.rejected))});var i=[];this.interceptors.response.forEach(function(h){i.push(h.fulfilled,h.rejected)});var o;if(!s){var l=[da,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var a=t;r.length;){var u=r.shift(),f=r.shift();try{a=u(a)}catch(d){f(d);break}}try{o=da(a)}catch(d){return Promise.reject(d)}for(;i.length;)o=o.then(i.shift(),i.shift());return o};gr.prototype.getUri=function(t){return t=Es(this.defaults,t),my(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ju.forEach(["delete","get","head","options"],function(t){gr.prototype[t]=function(n,r){return this.request(Es(r||{},{method:t,url:n,data:(r||{}).data}))}});ju.forEach(["post","put","patch"],function(t){gr.prototype[t]=function(n,r,s){return this.request(Es(s||{},{method:t,url:n,data:r}))}});var py=gr;function po(e){this.message=e}po.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};po.prototype.__CANCEL__=!0;var $u=po,gy=$u;function Qr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;e(function(s){n.reason||(n.reason=new gy(s),t(n.reason))})}Qr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Qr.source=function(){var t,n=new Qr(function(s){t=s});return{token:n,cancel:t}};var _y=Qr,yy=function(t){return function(r){return t.apply(null,r)}},vy=function(t){return typeof t=="object"&&t.isAxiosError===!0},ha=je,wy=Ru,Nr=py,by=Fu,Sy=ho;function Hu(e){var t=new Nr(e),n=wy(Nr.prototype.request,t);return ha.extend(n,Nr.prototype,t),ha.extend(n,t),n}var Qe=Hu(Sy);Qe.Axios=Nr;Qe.create=function(t){return Hu(by(Qe.defaults,t))};Qe.Cancel=$u;Qe.CancelToken=_y;Qe.isCancel=Iu;Qe.all=function(t){return Promise.all(t)};Qe.spread=yy;Qe.isAxiosError=vy;uo.exports=Qe;uo.exports.default=Qe;var Wv=uo.exports;/*! * vue-router v4.0.13 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Iu=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Un=e=>Iu?Symbol(e):"_vr_"+e,Bg=Un("rvlm"),ua=Un("rvd"),mo=Un("r"),Fu=Un("rl"),_i=Un("rvl"),bn=typeof window!="undefined";function Gg(e){return e.__esModule||Iu&&e[Symbol.toStringTag]==="Module"}const ie=Object.assign;function $s(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const Xn=()=>{},zg=/\/$/,Kg=e=>e.replace(zg,"");function js(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),s=e(i)),l>-1&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=Qg(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function qg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ca(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Zg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Pn(t.matched[r],n.matched[s])&&Lu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Lu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Jg(e[n],t[n]))return!1;return!0}function Jg(e,t){return Array.isArray(e)?fa(e,t):Array.isArray(t)?fa(t,e):e===t}function fa(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Qg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,o;for(i=0;i({left:window.pageXOffset,top:window.pageYOffset});function ry(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ny(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function da(e,t){return(history.state?history.state.position-t:-1)+e}const gi=new Map;function sy(e,t){gi.set(e,t)}function iy(e){const t=gi.get(e);return gi.delete(e),t}let oy=()=>location.protocol+"//"+location.host;function Uu(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),ca(l,"")}return ca(n,e)+r+s}function ay(e,t,n,r){let s=[],i=[],o=null;const a=({state:h})=>{const p=Uu(e,location),D=n.value,W=t.value;let C=0;if(h){if(n.value=p,t.value=h,o&&o===D){o=null;return}C=W?h.position-W.position:0}else r(p);s.forEach(A=>{A(n.value,D,{delta:C,type:cr.pop,direction:C?C>0?er.forward:er.back:er.unknown})})};function l(){o=n.value}function u(h){s.push(h);const p=()=>{const D=s.indexOf(h);D>-1&&s.splice(D,1)};return i.push(p),p}function f(){const{history:h}=window;!h.state||h.replaceState(ie({},h.state,{scroll:Es()}),"")}function d(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f),{pauseListeners:l,listen:u,destroy:d}}function ha(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Es():null}}function ly(e){const{history:t,location:n}=window,r={value:Uu(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,f){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:oy()+e+l;try{t[f?"replaceState":"pushState"](u,"",h),s.value=u}catch(p){console.error(p),n[f?"replace":"assign"](h)}}function o(l,u){const f=ie({},t.state,ha(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});i(l,f,!0),r.value=l}function a(l,u){const f=ie({},s.value,t.state,{forward:l,scroll:Es()});i(f.current,f,!0);const d=ie({},ha(r.value,l,null),{position:f.position+1},u);i(l,d,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function cv(e){e=Xg(e);const t=ly(e),n=ay(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=ie({location:"",base:e,go:r,createHref:ty.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function uy(e){return typeof e=="string"||e&&typeof e=="object"}function Wu(e){return typeof e=="string"||typeof e=="symbol"}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Hu=Un("nf");var ma;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ma||(ma={}));function Cn(e,t){return ie(new Error,{type:e,[Hu]:!0},t)}function Nt(e,t){return e instanceof Error&&Hu in e&&(t==null||!!(e.type&t))}const pa="[^/]+?",cy={sensitive:!1,strict:!1,start:!0,end:!0},fy=/[.+*?^${}()[\]/\\]/g;function dy(e,t){const n=ie({},cy,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function my(e,t){let n=0;const r=e.score,s=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;a{o(V)}:Xn}function o(f){if(Wu(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){let d=0;for(;d=0&&(f.record.path!==n[d].record.path||!$u(f,n[d]));)d++;n.splice(d,0,f),f.record.name&&!_a(f)&&r.set(f.record.name,f)}function u(f,d){let h,p={},D,W;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Cn(1,{location:f});W=h.record.name,p=ie(wy(d.params,h.keys.filter(V=>!V.optional).map(V=>V.name)),f.params),D=h.stringify(p)}else if("path"in f)D=f.path,h=n.find(V=>V.re.test(D)),h&&(p=h.parse(D),W=h.record.name);else{if(h=d.name?r.get(d.name):n.find(V=>V.re.test(d.path)),!h)throw Cn(1,{location:f,currentLocation:d});W=h.record.name,p=ie({},d.params,f.params),D=h.stringify(p)}const C=[];let A=h;for(;A;)C.unshift(A.record),A=A.parent;return{name:W,path:D,params:p,matched:C,meta:Oy(C)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function wy(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function by(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Sy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Sy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function _a(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Oy(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function ga(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $u(e,t){return t.children.some(n=>n===e||$u(e,n))}const ju=/#/g,My=/&/g,xy=/\//g,Ey=/=/g,ky=/\?/g,Vu=/\+/g,Dy=/%5B/g,Ty=/%5D/g,Bu=/%5E/g,Ry=/%60/g,Gu=/%7B/g,Py=/%7C/g,zu=/%7D/g,Cy=/%20/g;function po(e){return encodeURI(""+e).replace(Py,"|").replace(Dy,"[").replace(Ty,"]")}function Ay(e){return po(e).replace(Gu,"{").replace(zu,"}").replace(Bu,"^")}function yi(e){return po(e).replace(Vu,"%2B").replace(Cy,"+").replace(ju,"%23").replace(My,"%26").replace(Ry,"`").replace(Gu,"{").replace(zu,"}").replace(Bu,"^")}function Ny(e){return yi(e).replace(Ey,"%3D")}function Yy(e){return po(e).replace(ju,"%23").replace(ky,"%3F")}function Iy(e){return e==null?"":Yy(e).replace(xy,"%2F")}function Qr(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Fy(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&yi(i)):[r&&yi(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Ly(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Vn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ft(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(Cn(4,{from:n,to:t})):d instanceof Error?a(d):uy(d)?a(Cn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),o())},u=e.call(r&&r.instances[s],t,n,l);let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>a(d))})}function Vs(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Uy(a)){const u=(a.__vccOpts||a)[t];u&&s.push(Ft(u,n,r,i,o))}else{let l=a();s.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const f=Gg(u)?u.default:u;i.components[o]=f;const h=(f.__vccOpts||f)[t];return h&&Ft(h,n,r,i,o)()}))}}return s}function Uy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function va(e){const t=Mt(mo),n=Mt(Fu),r=ot(()=>t.resolve(zn(e.to))),s=ot(()=>{const{matched:l}=r.value,{length:u}=l,f=l[u-1],d=n.matched;if(!f||!d.length)return-1;const h=d.findIndex(Pn.bind(null,f));if(h>-1)return h;const p=wa(l[u-2]);return u>1&&wa(f)===p&&d[d.length-1].path!==p?d.findIndex(Pn.bind(null,l[u-2])):h}),i=ot(()=>s.value>-1&&jy(n.params,r.value.params)),o=ot(()=>s.value>-1&&s.value===n.matched.length-1&&Lu(n.params,r.value.params));function a(l={}){return $y(l)?t[zn(e.replace)?"replace":"push"](zn(e.to)).catch(Xn):Promise.resolve()}return{route:r,href:ot(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const Wy=nl({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:va,setup(e,{slots:t}){const n=Yn(va(e)),{options:r}=Mt(mo),s=ot(()=>({[ba(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ba(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Hy=Wy;function $y(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jy(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Array.isArray(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ba=(e,t,n)=>e!=null?e:t!=null?t:n,Vy=nl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=Mt(_i),s=ot(()=>e.route||r.value),i=Mt(ua,0),o=ot(()=>s.value.matched[i]);kr(ua,i+1),kr(Bg,o),kr(_i,s);const a=Ic();return En(()=>[a.value,o.value,e.name],([l,u,f],[d,h,p])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!Pn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(D=>D(l))},{flush:"post"}),()=>{const l=s.value,u=o.value,f=u&&u.components[e.name],d=e.name;if(!f)return Sa(n.default,{Component:f,route:l});const h=u.props[e.name],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,W=bl(f,ie({},p,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(u.instances[d]=null)},ref:a}));return Sa(n.default,{Component:W,route:l})||W}}});function Sa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const By=Vy;function fv(e){const t=vy(e.routes,e),n=e.parseQuery||Fy,r=e.stringifyQuery||ya,s=e.history,i=Vn(),o=Vn(),a=Vn(),l=Fc(At);let u=At;bn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=$s.bind(null,g=>""+g),d=$s.bind(null,Iy),h=$s.bind(null,Qr);function p(g,P){let x,N;return Wu(g)?(x=t.getRecordMatcher(g),N=P):N=g,t.addRoute(N,x)}function D(g){const P=t.getRecordMatcher(g);P&&t.removeRoute(P)}function W(){return t.getRoutes().map(g=>g.record)}function C(g){return!!t.getRecordMatcher(g)}function A(g,P){if(P=ie({},P||l.value),typeof g=="string"){const $=js(n,g,P.path),c=t.resolve({path:$.path},P),m=s.createHref($.fullPath);return ie($,c,{params:h(c.params),hash:Qr($.hash),redirectedFrom:void 0,href:m})}let x;if("path"in g)x=ie({},g,{path:js(n,g.path,P.path).path});else{const $=ie({},g.params);for(const c in $)$[c]==null&&delete $[c];x=ie({},g,{params:d(g.params)}),P.params=d(P.params)}const N=t.resolve(x,P),re=g.hash||"";N.params=f(h(N.params));const le=qg(r,ie({},g,{hash:Ay(re),path:N.path})),G=s.createHref(le);return ie({fullPath:le,hash:re,query:r===ya?Ly(g.query):g.query||{}},N,{redirectedFrom:void 0,href:G})}function V(g){return typeof g=="string"?js(n,g,l.value.path):ie({},g)}function X(g,P){if(u!==g)return Cn(8,{from:P,to:g})}function te(g){return ht(g)}function ke(g){return te(ie(V(g),{replace:!0}))}function Ce(g){const P=g.matched[g.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let N=typeof x=="function"?x(g):x;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=V(N):{path:N},N.params={}),ie({query:g.query,hash:g.hash,params:g.params},N)}}function ht(g,P){const x=u=A(g),N=l.value,re=g.state,le=g.force,G=g.replace===!0,$=Ce(x);if($)return ht(ie(V($),{state:re,force:le,replace:G}),P||x);const c=x;c.redirectedFrom=P;let m;return!le&&Zg(r,N,x)&&(m=Cn(16,{to:c,from:N}),dn(N,N,!0,!1)),(m?Promise.resolve(m):tt(c,N)).catch(_=>Nt(_)?Nt(_,2)?_:Ae(_):ae(_,c,N)).then(_=>{if(_){if(Nt(_,2))return ht(ie(V(_.to),{state:re,force:le,replace:G}),P||c)}else _=mt(c,N,!0,G,re);return Pt(c,N,_),_})}function ln(g,P){const x=X(g,P);return x?Promise.reject(x):Promise.resolve()}function tt(g,P){let x;const[N,re,le]=Gy(g,P);x=Vs(N.reverse(),"beforeRouteLeave",g,P);for(const $ of N)$.leaveGuards.forEach(c=>{x.push(Ft(c,g,P))});const G=ln.bind(null,g,P);return x.push(G),gn(x).then(()=>{x=[];for(const $ of i.list())x.push(Ft($,g,P));return x.push(G),gn(x)}).then(()=>{x=Vs(re,"beforeRouteUpdate",g,P);for(const $ of re)$.updateGuards.forEach(c=>{x.push(Ft(c,g,P))});return x.push(G),gn(x)}).then(()=>{x=[];for(const $ of g.matched)if($.beforeEnter&&!P.matched.includes($))if(Array.isArray($.beforeEnter))for(const c of $.beforeEnter)x.push(Ft(c,g,P));else x.push(Ft($.beforeEnter,g,P));return x.push(G),gn(x)}).then(()=>(g.matched.forEach($=>$.enterCallbacks={}),x=Vs(le,"beforeRouteEnter",g,P),x.push(G),gn(x))).then(()=>{x=[];for(const $ of o.list())x.push(Ft($,g,P));return x.push(G),gn(x)}).catch($=>Nt($,8)?$:Promise.reject($))}function Pt(g,P,x){for(const N of a.list())N(g,P,x)}function mt(g,P,x,N,re){const le=X(g,P);if(le)return le;const G=P===At,$=bn?history.state:{};x&&(N||G?s.replace(g.fullPath,ie({scroll:G&&$&&$.scroll},re)):s.push(g.fullPath,re)),l.value=g,dn(g,P,x,G),Ae()}let pt;function un(){pt=s.listen((g,P,x)=>{const N=A(g),re=Ce(N);if(re){ht(ie(re,{replace:!0}),N).catch(Xn);return}u=N;const le=l.value;bn&&sy(da(le.fullPath,x.delta),Es()),tt(N,le).catch(G=>Nt(G,12)?G:Nt(G,2)?(ht(G.to,N).then($=>{Nt($,20)&&!x.delta&&x.type===cr.pop&&s.go(-1,!1)}).catch(Xn),Promise.reject()):(x.delta&&s.go(-x.delta,!1),ae(G,N,le))).then(G=>{G=G||mt(N,le,!1),G&&(x.delta?s.go(-x.delta,!1):x.type===cr.pop&&Nt(G,20)&&s.go(-1,!1)),Pt(N,le,G)}).catch(Xn)})}let cn=Vn(),fn=Vn(),_e;function ae(g,P,x){Ae(g);const N=fn.list();return N.length?N.forEach(re=>re(g,P,x)):console.error(g),Promise.reject(g)}function ne(){return _e&&l.value!==At?Promise.resolve():new Promise((g,P)=>{cn.add([g,P])})}function Ae(g){return _e||(_e=!g,un(),cn.list().forEach(([P,x])=>g?x(g):P()),cn.reset()),g}function dn(g,P,x,N){const{scrollBehavior:re}=e;if(!bn||!re)return Promise.resolve();const le=!x&&iy(da(g.fullPath,0))||(N||!x)&&history.state&&history.state.scroll||null;return za().then(()=>re(g,P,le)).then(G=>G&&ry(G)).catch(G=>ae(G,g,P))}const _t=g=>s.go(g);let nt;const He=new Set;return{currentRoute:l,addRoute:p,removeRoute:D,hasRoute:C,getRoutes:W,resolve:A,options:e,push:te,replace:ke,go:_t,back:()=>_t(-1),forward:()=>_t(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:fn.add,isReady:ne,install(g){const P=this;g.component("RouterLink",Hy),g.component("RouterView",By),g.config.globalProperties.$router=P,Object.defineProperty(g.config.globalProperties,"$route",{enumerable:!0,get:()=>zn(l)}),bn&&!nt&&l.value===At&&(nt=!0,te(s.location).catch(re=>{}));const x={};for(const re in At)x[re]=ot(()=>l.value[re]);g.provide(mo,P),g.provide(Fu,Yn(x)),g.provide(_i,l);const N=g.unmount;He.add(g),g.unmount=function(){He.delete(g),He.size<1&&(u=At,pt&&pt(),l.value=At,nt=!1,_e=!1),N()}}}}function gn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Gy(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oPn(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Pn(u,l))||s.push(l))}return[n,r,s]}export{nl as A,rv as B,iv as C,fv as D,cv as E,wt as F,ot as a,tv as b,Xy as c,Yf as d,Zy as e,yl as f,ev as g,E as h,uv as i,Ic as j,af as k,cf as l,Fe as m,bi as n,Af as o,qy as p,ov as q,Qy as r,il as s,Ky as t,av as u,lv as v,Kc as w,Jy as x,nv as y,sv as z}; + */const Vu=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",jn=e=>Vu?Symbol(e):"_vr_"+e,Oy=jn("rvlm"),ma=jn("rvd"),go=jn("r"),Bu=jn("rl"),gi=jn("rvl"),Sn=typeof window!="undefined";function xy(e){return e.__esModule||Vu&&e[Symbol.toStringTag]==="Module"}const ie=Object.assign;function $s(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const er=()=>{},My=/\/$/,Ey=e=>e.replace(My,"");function Hs(e,t,n="/"){let r,s={},i="",o="";const l=t.indexOf("?"),a=t.indexOf("#",l>-1?l:0);return l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=Ry(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function ky(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function pa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dy(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Cn(t.matched[r],n.matched[s])&&Gu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ty(e[n],t[n]))return!1;return!0}function Ty(e,t){return Array.isArray(e)?ga(e,t):Array.isArray(t)?ga(t,e):e===t}function ga(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ry(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,o;for(i=0;i({left:window.pageXOffset,top:window.pageYOffset});function Yy(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Ny(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _a(e,t){return(history.state?history.state.position-t:-1)+e}const _i=new Map;function Iy(e,t){_i.set(e,t)}function Fy(e){const t=_i.get(e);return _i.delete(e),t}let Ly=()=>location.protocol+"//"+location.host;function zu(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let l=s.includes(e.slice(i))?e.slice(i).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),pa(a,"")}return pa(n,e)+r+s}function Uy(e,t,n,r){let s=[],i=[],o=null;const l=({state:h})=>{const g=zu(e,location),E=n.value,L=t.value;let R=0;if(h){if(n.value=g,t.value=h,o&&o===E){o=null;return}R=L?h.position-L.position:0}else r(g);s.forEach(A=>{A(n.value,E,{delta:R,type:fr.pop,direction:R?R>0?tr.forward:tr.back:tr.unknown})})};function a(){o=n.value}function u(h){s.push(h);const g=()=>{const E=s.indexOf(h);E>-1&&s.splice(E,1)};return i.push(g),g}function f(){const{history:h}=window;!h.state||h.replaceState(ie({},h.state,{scroll:ks()}),"")}function d(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f),{pauseListeners:a,listen:u,destroy:d}}function ya(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ks():null}}function jy(e){const{history:t,location:n}=window,r={value:zu(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,u,f){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:Ly()+e+a;try{t[f?"replaceState":"pushState"](u,"",h),s.value=u}catch(g){console.error(g),n[f?"replace":"assign"](h)}}function o(a,u){const f=ie({},t.state,ya(s.value.back,a,s.value.forward,!0),u,{position:s.value.position});i(a,f,!0),r.value=a}function l(a,u){const f=ie({},s.value,t.state,{forward:a,scroll:ks()});i(f.current,f,!0);const d=ie({},ya(r.value,a,null),{position:f.position+1},u);i(a,d,!1),r.value=a}return{location:r,state:s,push:l,replace:o}}function $v(e){e=Py(e);const t=jy(e),n=Uy(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=ie({location:"",base:e,go:r,createHref:Ay.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Wy(e){return typeof e=="string"||e&&typeof e=="object"}function qu(e){return typeof e=="string"||typeof e=="symbol"}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ku=jn("nf");var va;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(va||(va={}));function An(e,t){return ie(new Error,{type:e,[Ku]:!0},t)}function Nt(e,t){return e instanceof Error&&Ku in e&&(t==null||!!(e.type&t))}const wa="[^/]+?",$y={sensitive:!1,strict:!1,start:!0,end:!0},Hy=/[.+*?^${}()[\]/\\]/g;function Vy(e,t){const n=ie({},$y,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Gy(e,t){let n=0;const r=e.score,s=t.score;for(;n1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:f,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=a}for(;l{o(V)}:er}function o(f){if(qu(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function l(){return n}function a(f){let d=0;for(;d=0&&(f.record.path!==n[d].record.path||!Zu(f,n[d]));)d++;n.splice(d,0,f),f.record.name&&!ba(f)&&r.set(f.record.name,f)}function u(f,d){let h,g={},E,L;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw An(1,{location:f});L=h.record.name,g=ie(Qy(d.params,h.keys.filter(V=>!V.optional).map(V=>V.name)),f.params),E=h.stringify(g)}else if("path"in f)E=f.path,h=n.find(V=>V.re.test(E)),h&&(g=h.parse(E),L=h.record.name);else{if(h=d.name?r.get(d.name):n.find(V=>V.re.test(d.path)),!h)throw An(1,{location:f,currentLocation:d});L=h.record.name,g=ie({},d.params,f.params),E=h.stringify(g)}const R=[];let A=h;for(;A;)R.unshift(A.record),A=A.parent;return{name:L,path:E,params:g,matched:R,meta:tv(R)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:l,getRecordMatcher:s}}function Qy(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Xy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ev(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function ev(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function ba(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tv(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Sa(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Zu(e,t){return t.children.some(n=>n===e||Zu(e,n))}const Ju=/#/g,nv=/&/g,rv=/\//g,sv=/=/g,iv=/\?/g,Qu=/\+/g,ov=/%5B/g,av=/%5D/g,Xu=/%5E/g,lv=/%60/g,ec=/%7B/g,uv=/%7C/g,tc=/%7D/g,cv=/%20/g;function _o(e){return encodeURI(""+e).replace(uv,"|").replace(ov,"[").replace(av,"]")}function fv(e){return _o(e).replace(ec,"{").replace(tc,"}").replace(Xu,"^")}function yi(e){return _o(e).replace(Qu,"%2B").replace(cv,"+").replace(Ju,"%23").replace(nv,"%26").replace(lv,"`").replace(ec,"{").replace(tc,"}").replace(Xu,"^")}function dv(e){return yi(e).replace(sv,"%3D")}function hv(e){return _o(e).replace(Ju,"%23").replace(iv,"%3F")}function mv(e){return e==null?"":hv(e).replace(rv,"%2F")}function Xr(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function pv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&yi(i)):[r&&yi(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function gv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Bn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ft(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const a=d=>{d===!1?l(An(4,{from:n,to:t})):d instanceof Error?l(d):Wy(d)?l(An(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),o())},u=e.call(r&&r.instances[s],t,n,a);let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch(d=>l(d))})}function Vs(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(_v(l)){const u=(l.__vccOpts||l)[t];u&&s.push(Ft(u,n,r,i,o))}else{let a=l();s.push(()=>a.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const f=xy(u)?u.default:u;i.components[o]=f;const h=(f.__vccOpts||f)[t];return h&&Ft(h,n,r,i,o)()}))}}return s}function _v(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function xa(e){const t=xt(go),n=xt(Bu),r=ot(()=>t.resolve(qn(e.to))),s=ot(()=>{const{matched:a}=r.value,{length:u}=a,f=a[u-1],d=n.matched;if(!f||!d.length)return-1;const h=d.findIndex(Cn.bind(null,f));if(h>-1)return h;const g=Ma(a[u-2]);return u>1&&Ma(f)===g&&d[d.length-1].path!==g?d.findIndex(Cn.bind(null,a[u-2])):h}),i=ot(()=>s.value>-1&&bv(n.params,r.value.params)),o=ot(()=>s.value>-1&&s.value===n.matched.length-1&&Gu(n.params,r.value.params));function l(a={}){return wv(a)?t[qn(e.replace)?"replace":"push"](qn(e.to)).catch(er):Promise.resolve()}return{route:r,href:ot(()=>r.value.href),isActive:i,isExactActive:o,navigate:l}}const yv=al({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:xa,setup(e,{slots:t}){const n=In(xa(e)),{options:r}=xt(go),s=ot(()=>({[Ea(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ea(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:El("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),vv=yv;function wv(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Array.isArray(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Ma(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ea=(e,t,n)=>e!=null?e:t!=null?t:n,Sv=al({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=xt(gi),s=ot(()=>e.route||r.value),i=xt(ma,0),o=ot(()=>s.value.matched[i]);Dr(ma,i+1),Dr(Oy,o),Dr(gi,s);const l=Vc();return kn(()=>[l.value,o.value,e.name],([a,u,f],[d,h,g])=>{u&&(u.instances[f]=a,h&&h!==u&&a&&a===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),a&&u&&(!h||!Cn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(E=>E(a))},{flush:"post"}),()=>{const a=s.value,u=o.value,f=u&&u.components[e.name],d=e.name;if(!f)return ka(n.default,{Component:f,route:a});const h=u.props[e.name],g=h?h===!0?a.params:typeof h=="function"?h(a):h:null,L=El(f,ie({},g,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return ka(n.default,{Component:L,route:a})||L}}});function ka(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ov=Sv;function Hv(e){const t=Jy(e.routes,e),n=e.parseQuery||pv,r=e.stringifyQuery||Oa,s=e.history,i=Bn(),o=Bn(),l=Bn(),a=Bc(At);let u=At;Sn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=$s.bind(null,_=>""+_),d=$s.bind(null,mv),h=$s.bind(null,Xr);function g(_,C){let M,N;return qu(_)?(M=t.getRecordMatcher(_),N=C):N=_,t.addRoute(N,M)}function E(_){const C=t.getRecordMatcher(_);C&&t.removeRoute(C)}function L(){return t.getRoutes().map(_=>_.record)}function R(_){return!!t.getRecordMatcher(_)}function A(_,C){if(C=ie({},C||a.value),typeof _=="string"){const $=Hs(n,_,C.path),c=t.resolve({path:$.path},C),m=s.createHref($.fullPath);return ie($,c,{params:h(c.params),hash:Xr($.hash),redirectedFrom:void 0,href:m})}let M;if("path"in _)M=ie({},_,{path:Hs(n,_.path,C.path).path});else{const $=ie({},_.params);for(const c in $)$[c]==null&&delete $[c];M=ie({},_,{params:d(_.params)}),C.params=d(C.params)}const N=t.resolve(M,C),re=_.hash||"";N.params=f(h(N.params));const le=ky(r,ie({},_,{hash:fv(re),path:N.path})),G=s.createHref(le);return ie({fullPath:le,hash:re,query:r===Oa?gv(_.query):_.query||{}},N,{redirectedFrom:void 0,href:G})}function V(_){return typeof _=="string"?Hs(n,_,a.value.path):ie({},_)}function X(_,C){if(u!==_)return An(8,{from:C,to:_})}function te(_){return ht(_)}function De(_){return te(ie(V(_),{replace:!0}))}function Ce(_){const C=_.matched[_.matched.length-1];if(C&&C.redirect){const{redirect:M}=C;let N=typeof M=="function"?M(_):M;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=V(N):{path:N},N.params={}),ie({query:_.query,hash:_.hash,params:_.params},N)}}function ht(_,C){const M=u=A(_),N=a.value,re=_.state,le=_.force,G=_.replace===!0,$=Ce(M);if($)return ht(ie(V($),{state:re,force:le,replace:G}),C||M);const c=M;c.redirectedFrom=C;let m;return!le&&Dy(r,N,M)&&(m=An(16,{to:c,from:N}),dn(N,N,!0,!1)),(m?Promise.resolve(m):tt(c,N)).catch(p=>Nt(p)?Nt(p,2)?p:Ae(p):ae(p,c,N)).then(p=>{if(p){if(Nt(p,2))return ht(ie(V(p.to),{state:re,force:le,replace:G}),C||c)}else p=mt(c,N,!0,G,re);return Pt(c,N,p),p})}function ln(_,C){const M=X(_,C);return M?Promise.reject(M):Promise.resolve()}function tt(_,C){let M;const[N,re,le]=xv(_,C);M=Vs(N.reverse(),"beforeRouteLeave",_,C);for(const $ of N)$.leaveGuards.forEach(c=>{M.push(Ft(c,_,C))});const G=ln.bind(null,_,C);return M.push(G),yn(M).then(()=>{M=[];for(const $ of i.list())M.push(Ft($,_,C));return M.push(G),yn(M)}).then(()=>{M=Vs(re,"beforeRouteUpdate",_,C);for(const $ of re)$.updateGuards.forEach(c=>{M.push(Ft(c,_,C))});return M.push(G),yn(M)}).then(()=>{M=[];for(const $ of _.matched)if($.beforeEnter&&!C.matched.includes($))if(Array.isArray($.beforeEnter))for(const c of $.beforeEnter)M.push(Ft(c,_,C));else M.push(Ft($.beforeEnter,_,C));return M.push(G),yn(M)}).then(()=>(_.matched.forEach($=>$.enterCallbacks={}),M=Vs(le,"beforeRouteEnter",_,C),M.push(G),yn(M))).then(()=>{M=[];for(const $ of o.list())M.push(Ft($,_,C));return M.push(G),yn(M)}).catch($=>Nt($,8)?$:Promise.reject($))}function Pt(_,C,M){for(const N of l.list())N(_,C,M)}function mt(_,C,M,N,re){const le=X(_,C);if(le)return le;const G=C===At,$=Sn?history.state:{};M&&(N||G?s.replace(_.fullPath,ie({scroll:G&&$&&$.scroll},re)):s.push(_.fullPath,re)),a.value=_,dn(_,C,M,G),Ae()}let pt;function un(){pt=s.listen((_,C,M)=>{const N=A(_),re=Ce(N);if(re){ht(ie(re,{replace:!0}),N).catch(er);return}u=N;const le=a.value;Sn&&Iy(_a(le.fullPath,M.delta),ks()),tt(N,le).catch(G=>Nt(G,12)?G:Nt(G,2)?(ht(G.to,N).then($=>{Nt($,20)&&!M.delta&&M.type===fr.pop&&s.go(-1,!1)}).catch(er),Promise.reject()):(M.delta&&s.go(-M.delta,!1),ae(G,N,le))).then(G=>{G=G||mt(N,le,!1),G&&(M.delta?s.go(-M.delta,!1):M.type===fr.pop&&Nt(G,20)&&s.go(-1,!1)),Pt(N,le,G)}).catch(er)})}let cn=Bn(),fn=Bn(),ge;function ae(_,C,M){Ae(_);const N=fn.list();return N.length?N.forEach(re=>re(_,C,M)):console.error(_),Promise.reject(_)}function ne(){return ge&&a.value!==At?Promise.resolve():new Promise((_,C)=>{cn.add([_,C])})}function Ae(_){return ge||(ge=!_,un(),cn.list().forEach(([C,M])=>_?M(_):C()),cn.reset()),_}function dn(_,C,M,N){const{scrollBehavior:re}=e;if(!Sn||!re)return Promise.resolve();const le=!M&&Fy(_a(_.fullPath,0))||(N||!M)&&history.state&&history.state.scroll||null;return Qa().then(()=>re(_,C,le)).then(G=>G&&Yy(G)).catch(G=>ae(G,_,C))}const gt=_=>s.go(_);let nt;const We=new Set;return{currentRoute:a,addRoute:g,removeRoute:E,hasRoute:R,getRoutes:L,resolve:A,options:e,push:te,replace:De,go:gt,back:()=>gt(-1),forward:()=>gt(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:fn.add,isReady:ne,install(_){const C=this;_.component("RouterLink",vv),_.component("RouterView",Ov),_.config.globalProperties.$router=C,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>qn(a)}),Sn&&!nt&&a.value===At&&(nt=!0,te(s.location).catch(re=>{}));const M={};for(const re in At)M[re]=ot(()=>a.value[re]);_.provide(go,C),_.provide(Bu,In(M)),_.provide(gi,a);const N=_.unmount;We.add(_),_.unmount=function(){We.delete(_),We.size<1&&(u=At,pt&&pt(),a.value=At,nt=!1,ge=!1),N()}}}}function yn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function xv(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oCn(u,l))?r.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(u=>Cn(u,a))||s.push(a))}return[n,r,s]}export{al as A,Yv as B,Fv as C,Hv as D,$v as E,wt as F,ot as a,Av as b,Pv as c,Hf as d,Dv as e,Ol as f,Cv as g,k as h,Wv as i,Vc as j,pf as k,yf as l,Fe as m,bi as n,Wf as o,kv as p,Lv as q,Rv as r,cl as s,Ev as t,Uv as u,jv as v,nf as w,Tv as x,Nv as y,Iv as z}; diff --git a/luci-app-amlogic/Makefile b/luci-app-amlogic/Makefile index 02f4d5ba4..e6623ec22 100644 --- a/luci-app-amlogic/Makefile +++ b/luci-app-amlogic/Makefile @@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-amlogic -PKG_VERSION:=3.1.98 +PKG_VERSION:=3.1.100 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 License diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-kernel b/luci-app-amlogic/root/usr/sbin/openwrt-kernel index 08764104b..4dc572af6 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-kernel +++ b/luci-app-amlogic/root/usr/sbin/openwrt-kernel @@ -1,274 +1,252 @@ #!/bin/bash -#=========================================================================================== +#==================================================================================== +# # Function: Update the kernel for OpenWrt (Amlogic s9xxx, Allwinner, Rockchip) # Copyright (C) 2020-- https://github.com/unifreq/openwrt_packit # Copyright (C) 2021-- https://github.com/ophub/luci-app-amlogic -#=========================================================================================== - -# Support the kernel: boot-*.tar.gz, dtb-*.tar.gz, modules-*.tar .gz -# When the kernel version is upgraded from 5.10 or lower to 5.10 or higher, Can choose to install the MAINLINE_UBOOT. +# +# Support the kernel: boot-*.tar.gz, dtb-*.tar.gz, modules-*.tar.gz +# It is recommended to install MAINLINE_UBOOT for kernel versions above 5.10.y # openwrt-kernel ${AUTO_MAINLINE_UBOOT} # E.g: openwrt-kernel yes # E.g: openwrt-kernel no - +# +#================================== Functions list ================================== +# +# error_msg : Output error message +# get_textoffset : Get kernel TEXT_OFFSET +# init_var : Initialize all variables +# check_kernel : Check kernel files list +# update_kernel : Update the kernel +# update_uboot : Update the uboot +# +#============================== Set default parameters ============================== +# # Receive one-key command related parameters -AUTO_MAINLINE_UBOOT="${1}" +AUTO_MAINLINE_UBOOT="no" +# Set the release check file +release_file="/etc/flippy-openwrt-release" +# Current device model +MYDEVICE_NAME="$(cat /proc/device-tree/model | tr -d '\000')" +# +#==================================================================================== # Encountered a serious error, abort the script execution error_msg() { - echo -e " [Error] ${1}" + echo -e "[\033[1;91m Error \033[0m] ${1}" exit 1 } -echo -e "Start update the openwrt kernel." -# Operation environment check -[ -x /usr/sbin/openwrt-kernel ] || error_msg "Please grant execution permission: chmod +x /usr/sbin/openwrt-kernel" - -# Current device model -MYDEVICE_NAME=$(cat /proc/device-tree/model | tr -d '\000') -if [[ -z "${MYDEVICE_NAME}" ]]; then - error_msg "The device name is empty and cannot be recognized." -elif [[ "$(echo ${MYDEVICE_NAME} | grep "Chainedbox L1 Pro")" != "" ]]; then - MYDTB_FILE="rockchip" - MYBOOT_VMLINUZ="Image" -elif [[ "$(echo ${MYDEVICE_NAME} | grep "BeikeYun")" != "" ]]; then - MYDTB_FILE="rockchip" - MYBOOT_VMLINUZ="Image" -elif [[ "$(echo ${MYDEVICE_NAME} | grep "V-Plus Cloud")" != "" ]]; then - MYDTB_FILE="allwinner" - MYBOOT_VMLINUZ="zImage" -elif [[ -f "/etc/flippy-openwrt-release" ]]; then - MYDTB_FILE="amlogic" - MYBOOT_VMLINUZ="zImage" -else - error_msg "Unknown device: [ ${MYDEVICE_NAME} ], Not supported." -fi - -# Find the partition where root is located -ROOT_PTNAME=$(df / | tail -n1 | awk '{print $1}' | awk -F '/' '{print $3}') -if [ "${ROOT_PTNAME}" == "" ]; then - error_msg "Cannot find the partition corresponding to the root file system!" -fi - -# Find the disk where the partition is located, only supports mmcblk?p? sd?? hd?? vd?? and other formats -case ${ROOT_PTNAME} in -mmcblk?p[1-4]) - EMMC_NAME=$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}') - PARTITION_NAME="p" - LB_PRE="EMMC_" - ;; -[hsv]d[a-z][1-4]) - EMMC_NAME=$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}') - PARTITION_NAME="" - LB_PRE="" - ;; -*) - error_msg "Unable to recognize the disk type of ${ROOT_PTNAME}!" - ;; -esac - -echo -e "Current device: ${MYDEVICE_NAME} [ ${MYDTB_FILE} ], Use in [ ${EMMC_NAME} ]" -sleep 3 - -P4_PATH="/mnt/${EMMC_NAME}${PARTITION_NAME}4" - -get_textoffset_from_tgz() { +# Get kernel TEXT_OFFSET, For u-boot.ext and u-boot.emmc +get_textoffset() { boot_tgz_file="${1}" vmlinuz_name="${2}" K510="1" temp_dir="$(mktemp -d)" ( cd ${temp_dir} - tar -xzf "${boot_tgz_file}" "${vmlinuz_name}" + tar -xf "${boot_tgz_file}" "${vmlinuz_name}" ) # With TEXT_OFFSET patch is [ 0108 ], without TEXT_OFFSET patch is [ 0000 ] [[ "$(hexdump -n 15 -x "${temp_dir}/${vmlinuz_name}" 2>/dev/null | head -n 1 | awk '{print $7}')" == "0108" ]] && K510="0" } -# Move kernel related files to the ${P4_PATH} directory -mv -f /tmp/upload/* ${P4_PATH}/ 2>/dev/null && sync +init_var() { + # Receive one-key command related parameters + [[ "${1}" == "yes" ]] && AUTO_MAINLINE_UBOOT="yes" -if [ $(ls ${P4_PATH}/*.tar.gz -l 2>/dev/null | grep "^-" | wc -l) -ge 3 ]; then + # Check dependencies + [[ -n "$(which tar)" ]] || error_msg "Missing [ tar ] in OpenWrt firmware, unable to update kernel" - if [ $(ls ${P4_PATH}/boot-*.tar.gz -l 2>/dev/null | grep "^-" | wc -l) -ge 1 ]; then - build_boot_abs=$(ls ${P4_PATH}/boot-*.tar.gz | head -n 1) && build_boot=${build_boot_abs##*/} - echo -e "Update using [ ${build_boot} ] files. Please wait a moment ..." - flippy_version=${build_boot/boot-/} && flippy_version=${flippy_version/.tar.gz/} - get_textoffset_from_tgz "${build_boot_abs}" "vmlinuz-${flippy_version}" - else - error_msg "Have no boot-*.tar.gz file found in the ${P4_PATH} directory." - fi - - if [[ -f ${P4_PATH}/dtb-${MYDTB_FILE}-${flippy_version}.tar.gz ]]; then - build_dtb="dtb-${MYDTB_FILE}-${flippy_version}.tar.gz" - else - error_msg "Have no dtb-${MYDTB_FILE}-${flippy_version}.tar.gz file." - fi - - if [ -f ${P4_PATH}/modules-${flippy_version}.tar.gz ]; then - build_modules="modules-${flippy_version}.tar.gz" - else - error_msg "Have no modules-*.tar.gz file found in the ${P4_PATH} directory." - fi - - echo -e " \ - Try to using this files to update the kernel: \n \ - build_boot: ${build_boot} \n \ - build_dtb: ${build_dtb} \n \ - build_modules: ${build_modules} \n \ - kernel_version: ${flippy_version} \n \ - K510: ${K510}" - -else - error_msg "After upload the kernel files in [ /mnt/${EMMC_NAME}${PARTITION_NAME}4/ ], run again." -fi - -# Check version consistency from amlogic s9xxx -if [[ "${K510}" -eq "1" && "${MYDTB_FILE}" == "amlogic" ]]; then - echo -e "Update to kernel 5.10 or higher and install U-BOOT." - if [ -f "/etc/flippy-openwrt-release" ]; then - # U-BOOT adaptation - source /etc/flippy-openwrt-release 2>/dev/null + # Check release file + if [[ -s "${release_file}" ]]; then + source "${release_file}" 2>/dev/null + PLATFORM="${PLATFORM}" UBOOT_OVERLOAD="${UBOOT_OVERLOAD}" - MAINLINE_UBOOT="${MAINLINE_UBOOT//\/lib\/u-boot\//}" - - # Check ${UBOOT_OVERLOAD} - if [[ -n "${UBOOT_OVERLOAD}" ]]; then - if [[ ! -f "/boot/${UBOOT_OVERLOAD}" ]]; then - error_msg "The [ ${UBOOT_OVERLOAD} ] file is missing, please complete it first." - else - echo -e "The ${UBOOT_OVERLOAD} file has been found." - fi - else - error_msg "The 5.10 kernel cannot be used without UBOOT_OVERLOAD." - fi - - # Check ${MAINLINE_UBOOT} - if [[ -n "${MAINLINE_UBOOT}" && "${AUTO_MAINLINE_UBOOT}" == "yes" ]]; then - if [[ ! -f "/lib/u-boot/${MAINLINE_UBOOT}" ]]; then - error_msg "The [ ${MAINLINE_UBOOT} ] file is missing, please complete it first." - fi - fi + MAINLINE_UBOOT="${MAINLINE_UBOOT}" + ANDROID_UBOOT="${ANDROID_UBOOT}" else - error_msg "The /etc/flippy-openwrt-release file is missing and cannot be update." + error_msg "${release_file} file is missing!" + fi + [[ -n "${PLATFORM}" ]] || error_msg "Missing ${PLATFORM} value in ${release_file} file." + + # Set /boot/vmlinuz-* replication names for different SoCs + case "${PLATFORM}" in + allwinner) MYBOOT_VMLINUZ="zImage" ;; + rockchip) MYBOOT_VMLINUZ="Image" ;; + amlogic) MYBOOT_VMLINUZ="zImage" ;; + *) error_msg "Unknown device: [ ${MYDEVICE_NAME} ], Not supported." ;; + esac + + # Find the partition where root is located + ROOT_PTNAME="$(df / | tail -n1 | awk '{print $1}' | awk -F '/' '{print $3}')" + [[ -n "${ROOT_PTNAME}" ]] || error_msg "Cannot find the partition corresponding to the root file system!" + + # Find the disk where the partition is located, only supports mmcblk?p? sd?? hd?? vd?? and other formats + case "${ROOT_PTNAME}" in + mmcblk?p[1-4]) + EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')" + PARTITION_NAME="p" + LB_PRE="EMMC_" + ;; + [hsv]d[a-z][1-4]) + EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}')" + PARTITION_NAME="" + LB_PRE="" + ;; + *) + error_msg "Unable to recognize the disk type of ${ROOT_PTNAME}!" + ;; + esac + P4_PATH="/mnt/${EMMC_NAME}${PARTITION_NAME}4" + # Move kernel related files to the ${P4_PATH} directory + mv -f /tmp/upload/* ${P4_PATH} 2>/dev/null && sync + + echo -e "Current device: ${MYDEVICE_NAME} [ ${PLATFORM} ], Use in [ ${EMMC_NAME} ]" + sync && echo "" +} + +# Check kernel files list +check_kernel() { + cd ${P4_PATH} + + # Determine custom kernel filename + kernel_boot="$(ls boot-*.tar.gz | head -n 1)" + kernel_name="${kernel_boot/boot-/}" && kernel_name="${kernel_name/.tar.gz/}" + KERNEL_VERSION="$(echo ${kernel_name} | grep -oE '^[1-9].[0-9]{1,3}.[0-9]+')" + echo -e "Kernel name: ${kernel_name}" + + # Check if the file is added with TEXT_OFFSET patch + get_textoffset "${P4_PATH}/${kernel_boot}" "vmlinuz-${kernel_name}" + echo -e "K510 [ ${K510} ]" + if [[ "${PLATFORM}" == "amlogic" && "${K510}" -eq "1" ]]; then + [[ -n "${UBOOT_OVERLOAD}" && -f "/boot/${UBOOT_OVERLOAD}" ]] || error_msg "The UBOOT_OVERLOAD file is missing and cannot be update." fi - # Copy u-boot.ext and u-boot.emmc - if [ -f "/boot/${UBOOT_OVERLOAD}" ]; then - cp -f "/boot/${UBOOT_OVERLOAD}" /boot/u-boot.ext && sync && chmod +x /boot/u-boot.ext - cp -f "/boot/${UBOOT_OVERLOAD}" /boot/u-boot.emmc && sync && chmod +x /boot/u-boot.emmc - echo -e "The ${UBOOT_OVERLOAD} file copy is complete." - else - error_msg "The UBOOT_OVERLOAD file is missing and cannot be update." - fi + # Check the sha256sums file + sha256sums_file="sha256sums" + sha256sums_check="1" + [[ -s "${sha256sums_file}" && -n "$(cat ${sha256sums_file})" ]] || sha256sums_check="0" + [[ -n "$(which sha256sum)" ]] || sha256sums_check="0" + [[ "${sha256sums_check}" -eq "1" ]] && echo -e "Enable sha256sum checking..." - # Write Mainline bootloader - if [[ -f "/lib/u-boot/${MAINLINE_UBOOT}" && "${AUTO_MAINLINE_UBOOT}" == "yes" ]]; then - echo -e "Write Mainline bootloader: [ ${MAINLINE_UBOOT} ] to [ /dev/${EMMC_NAME} ]" - dd if=/lib/u-boot/${MAINLINE_UBOOT} of=/dev/${EMMC_NAME} bs=1 count=442 conv=fsync - dd if=/lib/u-boot/${MAINLINE_UBOOT} of=/dev/${EMMC_NAME} bs=512 skip=1 seek=1 conv=fsync - echo -e "The MAINLINE_UBOOT file write is complete." - fi -elif [[ "${K510}" -eq "0" && "${MYDTB_FILE}" == "amlogic" ]]; then - rm -f /boot/u-boot.ext 2>/dev/null - rm -f /boot/u-boot.emmc 2>/dev/null -fi - -echo -e "Unpack [ ${flippy_version} ] related files ..." - -# 01. for /boot five files -rm -f /boot/config-* /boot/initrd.img-* /boot/System.map-* /boot/uInitrd-* /boot/vmlinuz-* 2>/dev/null && sync -rm -f /boot/uInitrd /boot/zImage /boot/Image 2>/dev/null && sync -tar -xzf ${P4_PATH}/${build_boot} -C /boot && sync - -if [[ -f "/boot/uInitrd-${flippy_version}" ]]; then - i=1 - max_try=10 - while [ "${i}" -le "${max_try}" ]; do - cp -f /boot/uInitrd-${flippy_version} /boot/uInitrd 2>/dev/null && sync - uInitrd_original=$(md5sum /boot/uInitrd-${flippy_version} | awk '{print $1}') - uInitrd_new=$(md5sum /boot/uInitrd | awk '{print $1}') - if [[ "${uInitrd_original}" == "${uInitrd_new}" ]]; then - echo -e "Unpack [ /boot/uInitrd ] complete." - break - else - rm -f /boot/uInitrd && sync - let i++ - continue + # Loop check file + i="1" + kernel_list=("boot" "dtb-${PLATFORM}" "modules") + for kernel_file in ${kernel_list[*]}; do + # Set check filename + tmp_file="${kernel_file}-${kernel_name}.tar.gz" + # Check if file exists + [[ -s "${tmp_file}" ]] || error_msg "The [ ${kernel_file} ] file is missing." + # Check if the file sha256sum is correct + if [[ "${sha256sums_check}" -eq "1" ]]; then + tmp_sha256sum="$(sha256sum "${tmp_file}" | awk '{print $1}')" + tmp_checkcode="$(cat ${sha256sums_file} | grep ${tmp_file} | awk '{print $1}')" + [[ "${tmp_sha256sum}" == "${tmp_checkcode}" ]] || error_msg "${tmp_file}: sha256sum verification failed." + echo -e "(${i}/3) [ ${tmp_file} ] file sha256sum check same." fi + let i++ done - [ "${i}" -eq "10" ] && error_msg "/boot/uInitrd-${flippy_version} file copy failed." -else - error_msg "/boot/uInitrd-${flippy_version} file is missing." -fi -if [[ -f "/boot/vmlinuz-${flippy_version}" ]]; then - i=1 - max_try=10 - while [ "${i}" -le "${max_try}" ]; do - cp -f /boot/vmlinuz-${flippy_version} /boot/${MYBOOT_VMLINUZ} 2>/dev/null && sync - vmlinuz_original=$(md5sum /boot/vmlinuz-${flippy_version} | awk '{print $1}') - vmlinuz_new=$(md5sum /boot/${MYBOOT_VMLINUZ} | awk '{print $1}') - if [[ "${vmlinuz_original}" == "${vmlinuz_new}" ]]; then - echo -e "Unpack [ /boot/${MYBOOT_VMLINUZ} ] complete." - break - else - rm -f /boot/${MYBOOT_VMLINUZ} && sync - let i++ - continue + sync && echo "" +} + +# Update the kernel +update_kernel() { + echo -e "Start unpacking the kernel..." + + # 01. for /boot five files + rm -f /boot/config-* /boot/initrd.img-* /boot/System.map-* /boot/uInitrd-* /boot/vmlinuz-* 2>/dev/null && sync + rm -f /boot/uInitrd /boot/zImage /boot/Image 2>/dev/null && sync + # + tar -xf ${P4_PATH}/boot-${kernel_name}.tar.gz -C /boot && sync + [[ "$(ls /boot/*${kernel_name}* -l 2>/dev/null | grep "^-" | wc -l)" -ge "4" ]] || error_msg "The /boot files is missing." + ( + cd /boot && cp -f uInitrd-${kernel_name} uInitrd && cp -f vmlinuz-${kernel_name} ${MYBOOT_VMLINUZ} && sync + [[ "$(sha256sum uInitrd-${kernel_name} | awk '{print $1}')" == "$(sha256sum uInitrd | awk '{print $1}')" ]] || cp -f uInitrd-${kernel_name} uInitrd + [[ "$(sha256sum vmlinuz-${kernel_name} | awk '{print $1}')" == "$(sha256sum ${MYBOOT_VMLINUZ} | awk '{print $1}')" ]] || cp -f vmlinuz-${kernel_name} ${MYBOOT_VMLINUZ} + ) + echo -e "(1/3) Unpacking [ boot-${kernel_name}.tar.gz ] done." + + # 02. for /boot/dtb/${PLATFORM}/* + [[ -d "/boot/dtb/${PLATFORM}" ]] || mkdir -p /boot/dtb/${PLATFORM} + if [[ "${PLATFORM}" == "rockchip" ]]; then + mkdir -p /boot/dtb-${kernel_name}/${PLATFORM} + ln -sf /boot/dtb-${kernel_name} /boot/dtb + fi + tar -xf ${P4_PATH}/dtb-${PLATFORM}-${kernel_name}.tar.gz -C /boot/dtb/${PLATFORM} && sync + [ "$(ls /boot/dtb/${PLATFORM} -l 2>/dev/null | grep "^-" | wc -l)" -ge "1" ] || error_msg "/boot/dtb/${PLATFORM} file is missing." + echo -e "(2/3) Unpacking [ dtb-${PLATFORM}-${kernel_name}.tar.gz ] done." + + # 03. for /lib/modules/* + rm -rf /lib/modules/* 2>/dev/null && sync + tar -xf ${P4_PATH}/modules-${kernel_name}.tar.gz -C /lib/modules && sync + ( + cd /lib/modules/${kernel_name} + rm -f *.ko 2>/dev/null + find ./ -type f -name '*.ko' -exec ln -s {} ./ \; + sync && sleep 3 + x=$(ls *.ko -l 2>/dev/null | grep "^l" | wc -l) + if [ "${x}" -eq "0" ]; then + error_msg "Error *.ko Files not found." fi - done - [ "${i}" -eq "10" ] && error_msg "/boot/vmlinuz-${flippy_version} file copy failed." -else - error_msg "/boot/vmlinuz-${flippy_version} file is missing." -fi + ) + echo -e "(3/3) Unpacking [ modules-${kernel_name}.tar.gz ] done." -[ -f "/boot/config-${flippy_version}" ] || error_msg "/boot/config-${flippy_version} file is missing." -[ -f "/boot/System.map-${flippy_version}" ] || error_msg "/boot/System.map-${flippy_version} file is missing." + # Delete kernel tmpfiles + rm -f ${P4_PATH}/*.tar.gz ${P4_PATH}/sha256sums 2>/dev/null -echo -e "01. Unpack [ ${build_boot} ] complete." -sleep 3 + sync && echo "" +} -# 02 for /boot/dtb/${MYDTB_FILE}/* -[ -d /boot/dtb/${MYDTB_FILE} ] || mkdir -p /boot/dtb/${MYDTB_FILE} -if [[ "${MYDTB_FILE}" == "rockchip" ]]; then - mkdir -p /boot/dtb-${flippy_version}/${MYDTB_FILE} - ln -sf /boot/dtb-${flippy_version} /boot/dtb -fi -tar -xzf ${P4_PATH}/${build_dtb} -C /boot/dtb/${MYDTB_FILE} && sync -[ "$(ls /boot/dtb/${MYDTB_FILE} -l 2>/dev/null | grep "^-" | wc -l)" -ge "1" ] || error_msg "/boot/dtb/${MYDTB_FILE} file is missing." -echo -e "02. Unpack [ ${build_dtb} ] complete." -sleep 3 +# Update the uboot +update_uboot() { + # Only amlogic SoCs needs to be updated + if [[ "${PLATFORM}" == "amlogic" ]]; then + # Copy u-boot.ext and u-boot.emmc + if [[ "${K510}" -eq "1" && -n "${UBOOT_OVERLOAD}" && -f "/boot/${UBOOT_OVERLOAD}" ]]; then + [[ ! -f "/boot/u-boot.ext" ]] && cp -f "/boot/${UBOOT_OVERLOAD}" /boot/u-boot.ext && sync && chmod +x /boot/u-boot.ext + [[ ! -f "/boot/u-boot.emmc" ]] && cp -f "/boot/u-boot.ext" /boot/u-boot.emmc && sync && chmod +x /boot/u-boot.emmc + echo -e "The ${UBOOT_OVERLOAD} file copy is complete." + elif [[ "${K510}" -eq "0" ]]; then + rm -f "/boot/u-boot.ext" "/boot/u-boot.emmc" 2>/dev/null + fi -# 03 for /lib/modules/* -rm -rf /lib/modules/* 2>/dev/null && sync -tar -xzf ${P4_PATH}/${build_modules} -C /lib/modules && sync -cd /lib/modules/${flippy_version}/ -rm -f *.ko 2>/dev/null -find ./ -type f -name '*.ko' -exec ln -s {} ./ \; + # Write Mainline bootloader + if [[ -f "${MAINLINE_UBOOT}" && "${AUTO_MAINLINE_UBOOT}" == "yes" ]]; then + echo -e "Write Mainline bootloader: [ ${MAINLINE_UBOOT} ] to [ /dev/${EMMC_NAME} ]" + dd if=${MAINLINE_UBOOT} of=/dev/${EMMC_NAME} bs=1 count=442 conv=fsync + dd if=${MAINLINE_UBOOT} of=/dev/${EMMC_NAME} bs=512 skip=1 seek=1 conv=fsync + echo -e "The MAINLINE_UBOOT file write is complete." + fi + fi + + # Update release file + sed -i '/KERNEL_VERSION/d' /etc/flippy-openwrt-release 2>/dev/null + echo "KERNEL_VERSION='${kernel_name}'" >>/etc/flippy-openwrt-release 2>/dev/null + # + sed -i '/K510/d' /etc/flippy-openwrt-release 2>/dev/null + echo "K510='${K510}'" >>/etc/flippy-openwrt-release 2>/dev/null + # + sed -i "s/ Kernel.*/ Kernel: ${kernel_name}/g" /etc/banner 2>/dev/null + + sync && echo "" +} + +echo -e "Start update the openwrt kernel." +# Operation environment check +[[ -x "/usr/sbin/openwrt-kernel" ]] || error_msg "Please grant execution permission: chmod +x /usr/sbin/openwrt-kernel" +# +# Initialize all variables +init_var "${@}" +# Check kernel files list +check_kernel +# Update the kernel +update_kernel +# Update the uboot +update_uboot +# sync && sleep 3 -x=$(ls *.ko -l 2>/dev/null | grep "^l" | wc -l) -if [ "${x}" -eq "0" ]; then - error_msg "Error *.ko Files not found." -fi -echo -e "03. Unpack [ ${build_modules} ] complete." -sleep 3 - -rm -rf ${P4_PATH}/dtb-*.tar.gz ${P4_PATH}/boot-*.tar.gz ${P4_PATH}/modules-*.tar.gz ${P4_PATH}/header-*.tar.gz 2>/dev/null -sync - -sed -i '/KERNEL_VERSION/d' /etc/flippy-openwrt-release 2>/dev/null -echo "KERNEL_VERSION='${flippy_version}'" >>/etc/flippy-openwrt-release 2>/dev/null - -sed -i '/K510/d' /etc/flippy-openwrt-release 2>/dev/null -echo "K510='${K510}'" >>/etc/flippy-openwrt-release 2>/dev/null - -sed -i "s/ Kernel.*/ Kernel: ${flippy_version}/g" /etc/banner 2>/dev/null - -sync -wait - echo "Successfully updated, automatic restarting..." -sleep 3 reboot exit 0 diff --git a/luci-app-amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh b/luci-app-amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh index 2726a17c9..8b5bc3866 100755 --- a/luci-app-amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh +++ b/luci-app-amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh @@ -22,6 +22,8 @@ RUNNING_LOG="${TMP_CHECK_DIR}/amlogic_running_script.log" LOG_FILE="${TMP_CHECK_DIR}/amlogic.log" github_api_kernel_library="${TMP_CHECK_DIR}/github_api_kernel_library" github_api_kernel_file="${TMP_CHECK_DIR}/github_api_kernel_file" +support_platform=("allwinner" "rockchip" "amlogic") +MYDEVICE_NAME="$(cat /proc/device-tree/model | tr -d '\000')" LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") [[ -d ${TMP_CHECK_DIR} ]] || mkdir -p ${TMP_CHECK_DIR} @@ -40,7 +42,7 @@ tolog() { # Check running scripts, prohibit running concurrently this_running_log="2@Kernel update in progress, try again later!" running_script="$(cat ${RUNNING_LOG} 2>/dev/null | xargs)" -if [ -n "${running_script}" ]; then +if [[ -n "${running_script}" ]]; then run_num=$(echo "${running_script}" | awk -F "@" '{print $1}') run_log=$(echo "${running_script}" | awk -F "@" '{print $2}') fi @@ -51,20 +53,18 @@ else fi # Find the partition where root is located -ROOT_PTNAME=$(df / | tail -n1 | awk '{print $1}' | awk -F '/' '{print $3}') -if [ "${ROOT_PTNAME}" == "" ]; then - tolog "Cannot find the partition corresponding to the root file system!" "1" -fi +ROOT_PTNAME="$(df / | tail -n1 | awk '{print $1}' | awk -F '/' '{print $3}')" +[[ -n "${ROOT_PTNAME}" ]] || tolog "Cannot find the partition corresponding to the root file system!" "1" # Find the disk where the partition is located, only supports mmcblk?p? sd?? hd?? vd?? and other formats -case ${ROOT_PTNAME} in +case "${ROOT_PTNAME}" in mmcblk?p[1-4]) - EMMC_NAME=$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}') + EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')" PARTITION_NAME="p" LB_PRE="EMMC_" ;; [hsv]d[a-z][1-4]) - EMMC_NAME=$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}') + EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}')" PARTITION_NAME="" LB_PRE="" ;; @@ -72,36 +72,32 @@ mmcblk?p[1-4]) tolog "Unable to recognize the disk type of ${ROOT_PTNAME}!" "1" ;; esac - # Set the default download path KERNEL_DOWNLOAD_PATH="/mnt/${EMMC_NAME}${PARTITION_NAME}4" -# Current device model -MYDEVICE_NAME=$(cat /proc/device-tree/model | tr -d '\000') -if [[ -z "${MYDEVICE_NAME}" ]]; then - tolog "Unknown device" "1" -elif [[ "$(echo ${MYDEVICE_NAME} | grep "Chainedbox L1 Pro")" != "" ]]; then - MYDTB_FILE="rockchip" -elif [[ "$(echo ${MYDEVICE_NAME} | grep "BeikeYun")" != "" ]]; then - MYDTB_FILE="rockchip" -elif [[ "$(echo ${MYDEVICE_NAME} | grep "V-Plus Cloud")" != "" ]]; then - MYDTB_FILE="allwinner" -elif [[ -f "${AMLOGIC_SOC_FILE}" ]]; then - MYDTB_FILE="amlogic" +# Check release file +if [[ -s "${AMLOGIC_SOC_FILE}" ]]; then + source "${AMLOGIC_SOC_FILE}" 2>/dev/null + PLATFORM="${PLATFORM}" else - tolog "Unknown device: [ ${MYDEVICE_NAME} ], Not supported." "1" + tolog "${AMLOGIC_SOC_FILE} file is missing!" "1" fi -tolog "Device: ${MYDEVICE_NAME} [ ${MYDTB_FILE} ], Use in [ ${EMMC_NAME} ]" + +if [[ -z "${PLATFORM}" || -z "$(echo "${support_platform[@]}" | grep -w "${PLATFORM}")" ]]; then + tolog "Missing [ PLATFORM ] value in ${AMLOGIC_SOC_FILE} file." "1" +fi + +tolog "Device: ${MYDEVICE_NAME} [ ${PLATFORM} ], Use in [ ${EMMC_NAME} ]" sleep 2 # Step 1: URL formatting start ----------------------------------------------------------- # # 01. Download server version documentation tolog "01. Start checking the kernel version." -server_firmware_url=$(uci get amlogic.config.amlogic_firmware_repo 2>/dev/null) -[[ ! -z "${server_firmware_url}" ]] || tolog "01.01 The custom kernel download repo is invalid." "1" -server_kernel_path=$(uci get amlogic.config.amlogic_kernel_path 2>/dev/null) -[[ ! -z "${server_kernel_path}" ]] || tolog "01.02 The custom kernel download path is invalid." "1" +server_firmware_url="$(uci get amlogic.config.amlogic_firmware_repo 2>/dev/null)" +[[ -n "${server_firmware_url}" ]] || tolog "01.01 The custom kernel download repo is invalid." "1" +server_kernel_path="$(uci get amlogic.config.amlogic_kernel_path 2>/dev/null)" +[[ -n "${server_kernel_path}" ]] || tolog "01.02 The custom kernel download path is invalid." "1" # # Supported format: # @@ -112,27 +108,27 @@ server_kernel_path=$(uci get amlogic.config.amlogic_kernel_path 2>/dev/null) # server_kernel_path="https://github.com/ophub/amlogic-s9xxx-openwrt/trunk/amlogic-s9xxx/amlogic-kernel" # server_kernel_path="amlogic-s9xxx/amlogic-kernel" # -if [[ ${server_firmware_url} == http* ]]; then +if [[ "${server_firmware_url}" == http* ]]; then server_firmware_url=${server_firmware_url#*com\/} fi -if [[ ${server_kernel_path} == http* && $(echo ${server_kernel_path} | grep "tree") != "" ]]; then +if [[ "${server_kernel_path}" == http* && -n "$(echo ${server_kernel_path} | grep "tree")" ]]; then # Left part - server_kernel_path_left=${server_kernel_path%\/tree*} - server_kernel_path_left=${server_kernel_path_left#*com\/} - server_firmware_url=${server_kernel_path_left} + server_kernel_path_left="${server_kernel_path%\/tree*}" + server_kernel_path_left="${server_kernel_path_left#*com\/}" + server_firmware_url="${server_kernel_path_left}" # Right part - server_kernel_path_right=${server_kernel_path#*tree\/} - server_kernel_path_right=${server_kernel_path_right#*\/} - server_kernel_path=${server_kernel_path_right} -elif [[ ${server_kernel_path} == http* && $(echo ${server_kernel_path} | grep "trunk") != "" ]]; then + server_kernel_path_right="${server_kernel_path#*tree\/}" + server_kernel_path_right="${server_kernel_path_right#*\/}" + server_kernel_path="${server_kernel_path_right}" +elif [[ "${server_kernel_path}" == http* && -n "$(echo ${server_kernel_path} | grep "trunk")" ]]; then # Left part - server_kernel_path_left=${server_kernel_path%\/trunk*} - server_kernel_path_left=${server_kernel_path_left#*com\/} - server_firmware_url=${server_kernel_path_left} + server_kernel_path_left="${server_kernel_path%\/trunk*}" + server_kernel_path_left="${server_kernel_path_left#*com\/}" + server_firmware_url="${server_kernel_path_left}" # Right part - server_kernel_path_right=${server_kernel_path#*trunk\/} - server_kernel_path=${server_kernel_path_right} + server_kernel_path_right="${server_kernel_path#*trunk\/}" + server_kernel_path="${server_kernel_path_right}" fi server_kernel_url="https://api.github.com/repos/${server_firmware_url}/contents/${server_kernel_path}" @@ -149,20 +145,20 @@ check_kernel() { sleep 2 # 02.02 Version comparison - main_line_ver=$(echo "${current_kernel_v}" | cut -d '.' -f1) - main_line_maj=$(echo "${current_kernel_v}" | cut -d '.' -f2) - main_line_now=$(echo "${current_kernel_v}" | cut -d '.' -f3) + main_line_ver="$(echo "${current_kernel_v}" | cut -d '.' -f1)" + main_line_maj="$(echo "${current_kernel_v}" | cut -d '.' -f2)" + main_line_now="$(echo "${current_kernel_v}" | cut -d '.' -f3)" main_line_version="${main_line_ver}.${main_line_maj}" # 02.03 Query the selected branch in the settings - server_kernel_branch=$(uci get amlogic.config.amlogic_kernel_branch 2>/dev/null | grep -oE '^[1-9].[0-9]{1,3}') - if [ -z "${server_kernel_branch}" ]; then + server_kernel_branch="$(uci get amlogic.config.amlogic_kernel_branch 2>/dev/null | grep -oE '^[1-9].[0-9]{1,3}')" + if [[ -z "${server_kernel_branch}" ]]; then server_kernel_branch="${main_line_version}" uci set amlogic.config.amlogic_kernel_branch="${main_line_version}" 2>/dev/null uci commit amlogic 2>/dev/null fi - branch_ver=$(echo "${server_kernel_branch}" | cut -d '.' -f1) - branch_maj=$(echo "${server_kernel_branch}" | cut -d '.' -f2) + branch_ver="$(echo "${server_kernel_branch}" | cut -d '.' -f1)" + branch_maj="$(echo "${server_kernel_branch}" | cut -d '.' -f2)" if [[ "${server_kernel_branch}" != "${main_line_version}" ]]; then main_line_version="${server_kernel_branch}" main_line_now="0" @@ -174,9 +170,9 @@ check_kernel() { curl -s "${server_kernel_url}" >${github_api_kernel_library} && sync sleep 1 - latest_version=$(cat ${github_api_kernel_library} | grep "name" | grep -oE "${main_line_version}.[0-9]+" | sed -e "s/${main_line_version}.//g" | sort -n | sed -n '$p') + latest_version="$(cat ${github_api_kernel_library} | grep "name" | grep -oE "${main_line_version}.[0-9]+" | sed -e "s/${main_line_version}.//g" | sort -n | sed -n '$p')" #latest_version="124" - [[ ! -z "${latest_version}" ]] || tolog "02.03 Failed to get the version on the server." "1" + [[ -n "${latest_version}" ]] || tolog "02.03 Failed to get the version on the server." "1" tolog "02.03 current version: ${current_kernel_v}, Latest version: ${main_line_version}.${latest_version}" sleep 2 @@ -193,25 +189,23 @@ check_kernel() { # Step 3: Download the latest kernel version download_kernel() { tolog "03. Start download the kernels." - if [[ ${download_version} == download* ]]; then - download_version=$(echo "${download_version}" | cut -d '_' -f2) + if [[ "${download_version}" == download* ]]; then + download_version="$(echo "${download_version}" | cut -d '_' -f2)" tolog "03.01 The kernel version: ${download_version}, downloading..." else tolog "03.02 Invalid parameter" "1" fi # Delete other residual kernel files - rm -f ${KERNEL_DOWNLOAD_PATH}/boot-*.tar.gz 2>/dev/null && sync - rm -f ${KERNEL_DOWNLOAD_PATH}/dtb-*.tar.gz 2>/dev/null && sync - rm -f ${KERNEL_DOWNLOAD_PATH}/modules-*.tar.gz 2>/dev/null && sync + rm -f ${KERNEL_DOWNLOAD_PATH}/*.tar.gz ${KERNEL_DOWNLOAD_PATH}/sha256sums 2>/dev/null && sync curl -s "${server_kernel_url}/${download_version}" >${github_api_kernel_file} && sync sleep 1 - # Download boot file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ + # 01. Download boot file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ server_kernel_boot="$(cat ${github_api_kernel_file} | grep "download_url" | grep -o "https.*/boot-${download_version}.*.tar.gz" | head -n 1)" # Download boot file from current path: ${server_kernel_url}/ - if [ -z "${server_kernel_boot}" ]; then + if [[ -z "${server_kernel_boot}" ]]; then server_kernel_boot="$(cat ${github_api_kernel_library} | grep "download_url" | grep -o "https.*/boot-${download_version}.*.tar.gz" | head -n 1)" fi boot_file_name="${server_kernel_boot##*/}" @@ -224,11 +218,11 @@ download_kernel() { fi sleep 2 - # Download dtb file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ - server_kernel_dtb="$(cat ${github_api_kernel_file} | grep "download_url" | grep -o "https.*/dtb-${MYDTB_FILE}-${download_version}.*.tar.gz" | head -n 1)" + # 02. Download dtb file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ + server_kernel_dtb="$(cat ${github_api_kernel_file} | grep "download_url" | grep -o "https.*/dtb-${PLATFORM}-${download_version}.*.tar.gz" | head -n 1)" # Download dtb file from current path: ${server_kernel_url}/ - if [ -z "${server_kernel_dtb}" ]; then - server_kernel_dtb="$(cat ${github_api_kernel_library} | grep "download_url" | grep -o "https.*/dtb-${MYDTB_FILE}-${download_version}.*.tar.gz" | head -n 1)" + if [[ -z "${server_kernel_dtb}" ]]; then + server_kernel_dtb="$(cat ${github_api_kernel_library} | grep "download_url" | grep -o "https.*/dtb-${PLATFORM}-${download_version}.*.tar.gz" | head -n 1)" fi dtb_file_name="${server_kernel_dtb##*/}" server_kernel_dtb_name="${dtb_file_name//%2B/+}" @@ -240,10 +234,10 @@ download_kernel() { fi sleep 2 - # Download modules file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ + # 03. Download modules file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ server_kernel_modules="$(cat ${github_api_kernel_file} | grep "download_url" | grep -o "https.*/modules-${download_version}.*.tar.gz" | head -n 1)" # Download modules file from current path: ${server_kernel_url}/ - if [ -z "${server_kernel_modules}" ]; then + if [[ -z "${server_kernel_modules}" ]]; then server_kernel_modules="$(cat ${github_api_kernel_library} | grep "download_url" | grep -o "https.*/modules-${download_version}.*.tar.gz" | head -n 1)" fi modules_file_name="${server_kernel_modules##*/}" @@ -256,12 +250,28 @@ download_kernel() { fi sleep 2 + # 04. Download sha256sums file from the kernel directory under the path: ${server_kernel_url}/${download_version}/ + server_kernel_sha256sums="$(cat ${github_api_kernel_file} | grep "download_url" | grep -o "https.*/sha256sums" | head -n 1)" + # Download modules file from current path: ${server_kernel_url}/ + if [[ -z "${server_kernel_sha256sums}" ]]; then + server_kernel_sha256sums="$(cat ${github_api_kernel_library} | grep "download_url" | grep -o "https.*/sha256sums" | head -n 1)" + fi + if [[ -n "${server_kernel_sha256sums}" ]]; then + server_kernel_sha256sums_name="sha256sums" + wget -c "${server_kernel_sha256sums}" -O "${KERNEL_DOWNLOAD_PATH}/${server_kernel_sha256sums_name}" >/dev/null 2>&1 && sync + if [[ "$?" -eq "0" && -s "${KERNEL_DOWNLOAD_PATH}/${server_kernel_sha256sums_name}" ]]; then + tolog "03.09 The sha256sums file complete." + else + tolog "03.10 The sha256sums file failed to download." "1" + fi + sleep 2 + fi + tolog "04 The kernel is ready, you can update." sleep 2 # Delete temporary files - rm -f ${github_api_kernel_library} 2>/dev/null && sync - rm -f ${github_api_kernel_file} 2>/dev/null && sync + rm -f ${github_api_kernel_library} ${github_api_kernel_file} 2>/dev/null && sync #echo 'Update' >$START_LOG tolog '' "1" @@ -270,7 +280,7 @@ download_kernel() { } getopts 'cd' opts -case $opts in +case "${opts}" in c | check) check_kernel ;; diff --git a/luci-app-store/Makefile b/luci-app-store/Makefile index 55723c350..d6e73a350 100644 --- a/luci-app-store/Makefile +++ b/luci-app-store/Makefile @@ -10,13 +10,13 @@ LUCI_DESCRIPTION:=luci-app-store is a ipk store developed by LinkEase team LUCI_DEPENDS:=+curl +opkg +luci-base +tar +coreutils +coreutils-stat +libuci-lua +mount-utils LUCI_PKGARCH:=all -PKG_VERSION:=0.1.9-6 +PKG_VERSION:=0.1.9-7 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= ISTORE_UI_VERSION:=0.1.9 -ISTORE_UI_RELEASE:=5 -PKG_HASH:=86d660f5d115411aa6a9d7f28fe30a127f981ad213599b2b8693adb329f71dd2 +ISTORE_UI_RELEASE:=6 +PKG_HASH:=fd10902e790b1bc357cc6d78c3ece170ff55928a042d3242f947bc1adca351be PKG_SOURCE_URL_FILE:=v$(ISTORE_UI_VERSION)-$(ISTORE_UI_RELEASE).tar.gz PKG_SOURCE:=istore-ui-$(PKG_SOURCE_URL_FILE) diff --git a/natflow/Makefile b/natflow/Makefile index ee05d65ef..fbcea1e19 100644 --- a/natflow/Makefile +++ b/natflow/Makefile @@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=natflow -PKG_VERSION:=20220602 +PKG_VERSION:=20220603 PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)? -PKG_HASH:=92a77a82c56d2cf9af4d5850fe3802e104e155a5cdd2b69313ae48d28eb41f65 +PKG_HASH:=e7f25d09775998bf05efdfd3ffd8868da3e8cf94310922d1f4748c1fd4577c9b PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MAINTAINER:=Chen Minqiang