Bump web v3.24.100221
This commit is contained in:
1 parent
2734132872
commit
73d59de2e0
16 files changed
+69
-69
No files matched your search
@@ -1 +0,0 @@
|
||||
import{a0 as Oe,m as A,x as w,R as Se,a5 as Pe,o as m,d as k,g as t,t as H,F as oe,N as ie,u as n,a6 as Y,a7 as Fe,a2 as He,p as V,e as J,w as W,a8 as We,y as ve,a9 as Je,f as Z,K as me,a3 as Te,j as F,aa as qe,q as Ge,ab as Re,s as Me,ac as Ze,V as Ye,I as je,M as Ve,ad as Xe,a4 as _e,c as $e}from"./vendor-DyjdUqFg.js";import{i as et,u as le,a as tt,b as ot}from"./el-message-box-Cdo1N8K_.js";import{_ as re,A as X}from"./index-D7Z3b_yE.js";const nt=(c,a,d,g)=>(c/=g/2,c<1?d/2*c*c+a:(c--,-d/2*(c*(c-2)-1)+a)),st=()=>{let c,a,d,g,s,x,y,E,p,h,i,b,L;function u(){let C=c.scrollTop||c.scrollY||c.pageYOffset;return C=typeof C>"u"?0:C,C}function B(C){const D=C.getBoundingClientRect().top,q=c.getBoundingClientRect?c.getBoundingClientRect().top:0;return D-q+d}function r(C){c.scrollTo?c.scrollTo(0,C):c.scrollTop=C}function I(C){h||(h=C),i=C-h,b=x(i,d,E,p),r(b),i<p?requestAnimationFrame(I):T()}function T(){r(d+E),a&&y&&(a.setAttribute("tabindex","-1"),a.focus()),typeof L=="function"&&L(),h=!1}function R(C,D={}){switch(p=D.duration||1e3,s=D.offset||0,L=D.callback,x=D.easing||nt,y=D.a11y||!1,typeof D.container){case"object":c=D.container;break;case"string":c=document.querySelector(D.container);break;default:c=window}switch(d=u(),typeof C){case"number":a=void 0,y=!1,g=d+C;break;case"object":a=C,g=B(a);break;case"string":a=document.querySelector(C),g=B(a);break}switch(E=g-d+s,typeof D.duration){case"number":p=D.duration;break;case"function":p=D.duration(E);break}requestAnimationFrame(I)}return R},ee=st(),at=["data-chapterpos"],it=["src"],lt=["innerHTML"],rt={__name:"ChapterContent",props:{chapterIndex:{type:Number,required:!0},contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},emits:["readedLengthChange"],setup(c,{expose:a,emit:d}){Oe(u=>({"17d7f9f0":g.spacing.letter,"55c3df56":g.spacing.line,67823168:g.spacing.paragraph}));const g=c,s=u=>{const B=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,r=u.match(B)[1];return et(r)?X.getProxyImageUrl(r,le().config.readWidth):r},x=u=>{u.target.src=X.getProxyImageUrl(u.target.src,le().config.readWidth)},y=u=>{const B=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return u.replaceAll(B," ").length},E=A(()=>{let u=-1;return Array.from(g.contents,B=>(u+=y(B)+1,u))}),p=w(),h=w();a({scrollToReadedLength:u=>{if(u===0)return;let B=E.value.findIndex(r=>r>=u);B!==-1&&Fe(()=>{ee(h.value[B],{duration:0})})}});let b=null;const L=d;return Se(()=>{b=new IntersectionObserver(u=>{for(let{target:B,isIntersecting:r}of u)r&&L("readedLengthChange",g.chapterIndex,parseInt(B.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),b.observe(p.value),h.value.forEach(u=>{b.observe(u)})}),Pe(()=>{b==null||b.disconnect(),b=null}),(u,B)=>(m(),k(oe,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:p},H(c.title),513),(m(!0),k(oe,null,ie(c.contents,(r,I)=>(m(),k("div",{key:I,ref_for:!0,ref_key:"paragraphRef",ref:h,"data-chapterpos":n(E)[I]},[/^\s*<img[^>]*src[^>]+>$/.test(r)?(m(),k("img",{key:0,class:"full",src:s(r),onErrorOnce:x,loading:"lazy"},null,40,it)):(m(),k("p",{key:1,style:Y({fontFamily:c.fontFamily,fontSize:c.fontSize}),innerHTML:r},null,12,lt))],8,at))),128))],64))}},At=re(rt,[["__scopeId","data-v-b529dd09"]]),ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII=",ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
import{a0 as Ne,m as l,v as U,Q as Ee,a5 as Ue,o as p,d as v,g as t,t as H,F as ee,M as re,u as a,a6 as Z,a7 as xe,H as De,p as x,e as J,w as W,a8 as Oe,x as pe,a9 as He,f as G,J as ue,a4 as We,j as F,aa as Je,q as Te,ab as Qe,ac as Ve,ad as qe,V as Ge,a3 as Ze,L as we,ae as Ye,c as je}from"./vendor-wTuFzYxX.js";import{i as Xe,u as _e,a as $e}from"./el-message-box-Bcaa4bya.js";import{_ as Ae,A as Y,u as le}from"./index-lBr1IOP-.js";const et=(A,n,c,f)=>(A/=f/2,A<1?c/2*A*A+n:(A--,-c/2*(A*(A-2)-1)+n)),tt=()=>{let A,n,c,f,s,S,y,w,k,D,K,u,E;function d(){let B=A.scrollTop||A.scrollY||A.pageYOffset;return B=typeof B>"u"?0:B,B}function m(B){const b=B.getBoundingClientRect().top,te=A.getBoundingClientRect?A.getBoundingClientRect().top:0;return b-te+c}function r(B){A.scrollTo?A.scrollTo(0,B):A.scrollTop=B}function I(B){D||(D=B),K=B-D,u=S(K,c,w,k),r(u),K<k?requestAnimationFrame(I):T()}function T(){r(c+w),n&&y&&(n.setAttribute("tabindex","-1"),n.focus()),typeof E=="function"&&E(),D=!1}function Q(B,b={}){switch(k=b.duration||1e3,s=b.offset||0,E=b.callback,S=b.easing||et,y=b.a11y||!1,typeof b.container){case"object":A=b.container;break;case"string":A=document.querySelector(b.container);break;default:A=window}switch(c=d(),typeof B){case"number":n=void 0,y=!1,f=c+B;break;case"object":n=B,f=m(n);break;case"string":n=document.querySelector(B),f=m(n);break}switch(w=f-c+s,typeof b.duration){case"number":k=b.duration;break;case"function":k=b.duration(w);break}requestAnimationFrame(I)}return Q},_=tt(),ot=["data-chapterpos"],nt=["src"],st=["innerHTML"],at={__name:"ChapterContent",props:{chapterIndex:{type:Number,required:!0},contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},emits:["readedLengthChange"],setup(A,{expose:n,emit:c}){Ne(d=>({"17d7f9f0":f.spacing.letter,"55c3df56":f.spacing.line,67823168:f.spacing.paragraph}));const f=A,s=d=>{const m=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,r=d.match(m)[1];return Xe(r)?Y.getProxyImageUrl(r,le().config.readWidth):r},S=d=>{d.target.src=Y.getProxyImageUrl(d.target.src,le().config.readWidth)},y=d=>{const m=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return d.replaceAll(m," ").length},w=l(()=>{let d=-1;return Array.from(f.contents,m=>(d+=y(m)+1,d))}),k=U(),D=U();n({scrollToReadedLength:d=>{if(d===0)return;let m=w.value.findIndex(r=>r>=d);m!==-1&&xe(()=>{_(D.value[m],{duration:0})})}});let u=null;const E=c;return Ee(()=>{u=new IntersectionObserver(d=>{for(let{target:m,isIntersecting:r}of d)r&&E("readedLengthChange",f.chapterIndex,parseInt(m.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),u.observe(k.value),D.value.forEach(d=>{u.observe(d)})}),Ue(()=>{u==null||u.disconnect(),u=null}),(d,m)=>(p(),v(ee,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:k},H(A.title),513),(p(!0),v(ee,null,re(A.contents,(r,I)=>(p(),v("div",{key:I,ref_for:!0,ref_key:"paragraphRef",ref:D,"data-chapterpos":a(w)[I]},[/^\s*<img[^>]*src[^>]+>$/.test(r)?(p(),v("img",{key:0,class:"full",src:s(r),onErrorOnce:S,loading:"lazy"},null,40,nt)):(p(),v("p",{key:1,style:Z({fontFamily:A.fontFamily,fontSize:A.fontSize}),innerHTML:r},null,12,st))],8,ot))),128))],64))}},it=Ae(at,[["__scopeId","data-v-b529dd09"]]),rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII=",lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgB1I4vXFjLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
@charset "UTF-8";.title[data-v-b529dd09]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-b529dd09]{display:block;word-wrap:break-word;letter-spacing:calc(var(--17d7f9f0) * 1em);line-height:calc(1 + var(--55c3df56));margin:calc(var(--67823168) * 1em) 0}p[data-v-b529dd09] img{height:1em}.full[data-v-b529dd09]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("☺"),url(./popfont-WaOB0hHG.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-PstzbNMW.woff) format("woff")}[data-v-30b6868f] .iconfont,[data-v-30b6868f] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-30b6868f]{-webkit-user-select:none;user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-30b6868f]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list[data-v-30b6868f]{max-height:calc(70vh - 50px);overflow:auto}.settings-wrapper .setting-list ul[data-v-30b6868f]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-30b6868f]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-30b6868f]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-30b6868f]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-30b6868f]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-30b6868f]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-30b6868f]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-30b6868f],.settings-wrapper .setting-list ul .infinite-loading[data-v-30b6868f]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-30b6868f],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-30b6868f],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-30b6868f],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-30b6868f]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-30b6868f],.settings-wrapper .setting-lLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
@charset "UTF-8";.title[data-v-b529dd09]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-b529dd09]{display:block;word-wrap:break-word;letter-spacing:calc(var(--17d7f9f0) * 1em);line-height:calc(1 + var(--55c3df56));margin:calc(var(--67823168) * 1em) 0}p[data-v-b529dd09] img{height:1em}.full[data-v-b529dd09]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("☺"),url(./popfont-WaOB0hHG.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-PstzbNMW.woff) format("woff")}[data-v-25a9aac9] .iconfont,[data-v-25a9aac9] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-25a9aac9]{-webkit-user-select:none;user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-25a9aac9]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list[data-v-25a9aac9]{max-height:calc(70vh - 50px);overflow:auto}.settings-wrapper .setting-list ul[data-v-25a9aac9]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-25a9aac9]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-25a9aac9]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-25a9aac9]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-25a9aac9]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-25a9aac9]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-25a9aac9]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-25a9aac9],.settings-wrapper .setting-list ul .infinite-loading[data-v-25a9aac9]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-25a9aac9],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-25a9aac9],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-25a9aac9],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-25a9aac9]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-25a9aac9],.settings-wrapper .setting-lLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
import{a0 as q,m as w,o as h,d as p,g as t,F as b,M as J,t as g,c as G,w as L,f as M,J as x,u as n,a1 as Z,v as S,a2 as X,L as j,a3 as $,Q as ee,j as A,e as R,x as te,I as se,p as z,a4 as ae,D as oe,y as ne}from"./vendor-wTuFzYxX.js";import{d as re,i as ce,u as ie}from"./el-message-box-Bcaa4bya.js";import{_ as D,A as m,u as le}from"./index-lBr1IOP-.js";const de={class:"books-wrapper"},ue={class:"wrapper"},he=["onClick"],pe={class:"cover-img"},ge=["src"],me={class:"info"},fe={class:"name"},ve={class:"sub"},_e={class:"author"},we={key:0,class:"tags"},Be={key:1,class:"update-info"},Ae={class:"size"},Ce={class:"date"},Ie={key:0,class:"intro"},ke={key:1,class:"dur-chapter"},ye={class:"last-chapter"},xe={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(f,{emit:s}){q(l=>({f19573ba:n(T)}));const C=f,r=s,I=l=>r("bookClick",l),E=l=>ce(l)?m.getProxyCoverUrl(l):l,k=l=>{l.target.src=m.getProxyCoverUrl(l.target.src)},T=w(()=>C.isSearch?"space-between":"flex-start");return(l,d)=>{const y=Z;return h(),p("div",de,[t("div",ue,[(h(!0),p(b,null,J(f.books,o=>{var v;return h(),p("div",{class:"book",key:o.bookUrl,onClick:B=>I(o)},[t("div",pe,[(h(),p("img",{class:"cover",src:E(o.coverUrl),key:o.coverUrl,onErrorOnce:k,alt:"",loading:"lazy"},null,40,ge))]),t("div",me,[t("div",fe,g(o.name),1),t("div",ve,[t("div",_e,g(o.author),1),f.isSearch?(h(),p("div",we,[(h(!0),p(b,null,J((v=o.kind)==null?void 0:v.split(",").slice(0,2),B=>(h(),G(y,{key:B},{default:L(()=>[M(g(B),1)]),_:2},1024))),128))])):x("",!0),f.isSearch?x("",!0):(h(),p("div",Be,[d[0]||(d[0]=t("div",{class:"dot"},"•",-1)),t("div",Ae,"共"+g(o.totalChapterNum)+"章",1),d[1]||(d[1]=t("div",{class:"dot"},"•",-1)),t("div",Ce,g(n(re)(o.lastCheckTime)),1)]))]),f.isSearch?(h(),p("div",Ie,g(o.intro),1)):x("",!0),f.isSearch?x("",!0):(h(),p("div",ke," 已读:"+g(o.durChapterTitle),1)),t("div",ye,"最新:"+g(o.latestChapterTitle),1)])],8,he)}),128))])])}}},Se=D(xe,[["__scopeId","data-v-1139d638"]]),Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T0QLt2B4AxZo9S6qX/yXhT1jn3cpqme3IbSwDM/DgAvNlu3Dm3Uyl1HAA2IOJ2EdleEu5Io9H4EBHPVCqVLSISRsMuInrLazUBpqamhoaGhr4TkRsDgLVpmtbzPmPMLQBwOwD4vvzxw8P5IyJztVrtVL4my7L1iPhTx7Yj/jw/P79pfHx8vgmQZdkLiPhK+O8GBgauqVarv5f819FpxpjLlVJ/hYMi8mKSJHubAMz8KwBcF1EYI6IjqwRIlFImonGWiNZhlmVVRDxWYGTVAMx8HwB8EtMXka1orT0gIo9GJrxNRLH+FW8IMx8EgEeW5QDEgx5gTkQ2Bk7yr9b60hVb6rKAmc8BwJWBne+x4P3XiWhtPwGstV9FzpSzHuBvALgsMHaaiDp2ZbUwWZZNIuKuQOcfD7AAAJeEcaq1Xr9ao+3rmdknnscCzQse4LdWEukYazQaa2q12vl+QTDztwCwOdCr+zA8iYi3RQwREdl+ADDz9QDwIwB0OLaInPJRcEhEHoyEyAmt9d39ALDW2lg1hYjv+lfgC4WJgkTxcJIkPcuqbpC+qgKATwvm7PYAGwDgdBeRZ4notYvZCWPMDqXUe13W3to8C6y10yJyv//u6zj/2R6ziPiRiBwt6xPMrBExFZEdRcYR8WOt9bb8MNoKAJ+3Jvtwed05d4dSKtz+c4h4VGsdrRWttZMici8AXFVix+4homNLBUmWZQcQMc/9x4mommXZ84i4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==",Ee={class:"navigation-wrapper"},Te={class:"search-wrapper"},ze={class:"bottom-wrapper"},Le={class:"recent-wrapper"},Me={class:"reading-recent"},Pe={class:"setting-wrapper"},Ne={class:"setting-item"},Ve={class:"bottom-icons"},be={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Je={class:"bottom-icon"},Ze=["src"],De={__name:"BookShelf",setup(f){const s=le(),C=w(()=>s.isNight),r=S({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),I=S(null),{showLoading:E,closeLoading:k,loadingWrapper:T,isLoading:l}=ie(I,"正在获取书籍信息"),d=X([]),y=w(()=>s.shelf),o=S(""),v=S(!1);j(()=>{if(!(v.value&&o.value!="")){if(v.value=!1,d.value=[],o.value==""){d.value=y.value;return}d.value=y.value.filter(a=>a.name.includes(o.value)||a.author.includes(o.value))}});const B=()=>{o.value!=""&&(d.value=[],s.clearSearchBooks(),E(),v.value=!0,m.search(o.value,a=>{l&&k();try{s.setSearchBooks(JSON.parse(a)),d.value=s.searchBooks}catch(e){throw A.error("后端数据错误"),e}},()=>{k(),d.value.length==0&&A.info("搜索结果为空")}))},W=w(()=>s.connectStatus),H=w(()=>s.connectType),O=w(()=>s.newConnect),U=()=>{ae.prompt("请输入 IP 和端口 ( 如:127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/^[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-6][0-5][0-5][0-3][0-5])$/,inputErrorMessage:"url 形式不正确",beforeClose:(a,e,i)=>{iLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
import{a0 as G,m as D,o as d,d as u,g as t,F as Z,N as W,t as h,c as X,w as P,f as N,K as x,u as n,a1 as H,s as j,x as y,a2 as $,M as ee,R as te,j as B,e as S,y as se,J as ae,p as M,a3 as oe,a4 as ne,G as re,z as ie}from"./vendor-DyjdUqFg.js";import{d as ce,i as le,u as de,a as ue}from"./el-message-box-Cdo1N8K_.js";import{_ as O,A as p}from"./index-D7Z3b_yE.js";const he={class:"books-wrapper"},pe={class:"wrapper"},ge=["onClick"],me={class:"cover-img"},fe=["src"],ve={class:"info"},_e={class:"name"},we={class:"sub"},Be={class:"author"},Ae={key:0,class:"tags"},Ce={key:1,class:"update-info"},Ie={class:"size"},ke={class:"date"},xe={key:0,class:"intro"},ye={key:1,class:"dur-chapter"},Se={class:"last-chapter"},Re={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(m,{emit:o}){G(s=>({f19573ba:n(C)}));const R=m,E=o,z=s=>E("bookClick",s),A=s=>le(s)?p.getProxyCoverUrl(s):s,T=s=>{s.target.src=p.getProxyCoverUrl(s.target.src)},C=D(()=>R.isSearch?"space-between":"flex-start");return(s,f)=>{const L=H;return d(),u("div",he,[t("div",pe,[(d(!0),u(Z,null,W(m.books,r=>{var I;return d(),u("div",{class:"book",key:r.bookUrl,onClick:w=>z(r)},[t("div",me,[(d(),u("img",{class:"cover",src:A(r.coverUrl),key:r.coverUrl,onErrorOnce:T,alt:"",loading:"lazy"},null,40,fe))]),t("div",ve,[t("div",_e,h(r.name),1),t("div",we,[t("div",Be,h(r.author),1),m.isSearch?(d(),u("div",Ae,[(d(!0),u(Z,null,W((I=r.kind)==null?void 0:I.split(",").slice(0,2),w=>(d(),X(L,{key:w},{default:P(()=>[N(h(w),1)]),_:2},1024))),128))])):x("",!0),m.isSearch?x("",!0):(d(),u("div",Ce,[f[0]||(f[0]=t("div",{class:"dot"},"•",-1)),t("div",Ie,"共"+h(r.totalChapterNum)+"章",1),f[1]||(f[1]=t("div",{class:"dot"},"•",-1)),t("div",ke,h(n(ce)(r.lastCheckTime)),1)]))]),m.isSearch?(d(),u("div",xe,h(r.intro),1)):x("",!0),m.isSearch?x("",!0):(d(),u("div",ye," 已读:"+h(r.durChapterTitle),1)),t("div",Se,"最新:"+h(r.latestChapterTitle),1)])],8,ge)}),128))])])}}},Ee=O(Re,[["__scopeId","data-v-1139d638"]]),ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T0QLt2B4AxZo9S6qX/yXhT1jn3cpqme3IbSwDM/DgAvNlu3Dm3Uyl1HAA2IOJ2EdleEu5Io9H4EBHPVCqVLSISRsMuInrLazUBpqamhoaGhr4TkRsDgLVpmtbzPmPMLQBwOwD4vvzxw8P5IyJztVrtVL4my7L1iPhTx7Yj/jw/P79pfHx8vgmQZdkLiPhK+O8GBgauqVarv5f819FpxpjLlVJ/hYMi8mKSJHubAMz8KwBcF1EYI6IjqwRIlFImonGWiNZhlmVVRDxWYGTVAMx8HwB8EtMXka1orT0gIo9GJrxNRLH+FW8IMx8EgEeW5QDEgx5gTkQ2Bk7yr9b60hVb6rKAmc8BwJWBne+x4P3XiWhtPwGstV9FzpSzHuBvALgsMHaaiDp2ZbUwWZZNIuKuQOcfD7AAAJeEcaq1Xr9ao+3rmdknnscCzQse4LdWEukYazQaa2q12vl+QTDztwCwOdCr+zA8iYi3RQwREdl+ADDz9QDwIwB0OLaInPJRcEhEHoyEyAmt9d39ALDW2lg1hYjv+lfgC4WJgkTxcJIkPcuqbpC+qgKATwvm7PYAGwDgdBeRZ4notYvZCWPMDqXUe13W3to8C6y10yJyv//u6zj/2R6ziPiRiBwt6xPMrBExFZEdRcYR8WOt9bb8MNoKAJ+3Jvtwed05d4dSKtz+c4h4VGsdrRWttZMici8AXFVix+4homNLBUmWZQcQMc/9x4mommXZ84i4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==",Te={class:"navigation-wrapper"},Le={class:"search-wrapper"},Me={class:"bottom-wrapper"},Pe={class:"recent-wrapper"},Ne={class:"reading-recent"},Ve={class:"setting-wrapper"},be={class:"setting-item"},Je={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},We={class:"bottom-icon"},De=["src"],He={__name:"BookShelf",setup(m){const o=de(),{connectStatus:R,connectType:E,newConnect:z,shelf:A,theme:T}=j(o),C=D(()=>T.value==6),s=y({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),f=y(null),{showLoading:L,closeLoading:r,loadingWrapper:I,isLoading:w}=ue(f,"正在获取书籍信息"),v=$([]),g=y(""),k=y(!1);ee(()=>{if(!(k.value&&g.value!="")){if(k.value=!1,v.value=[],g.value==""){v.value=A.value;return}v.value=A.value.filter(a=>a.name.includes(g.value)||a.author.includes(g.value))}});const U=()=>{g.value!=""&&(v.value=[],o.clearSearchBooks(),L(),k.value=!0,p.search(g.value,a=>{w&&r();try{o.setSearchBooks(JSON.parse(a)),v.value=o.searchBooks}catch(e){throw B.error("后端数据错误"),e}},()=>{r(),v.value.length==0&&B.info("搜索结果为空")}))},F=()=>{oe.prompt("请输入 IP 和端口 ( 如:127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/^[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-6][0-5][0-5][0-3][0-5])$/,inputErrorMessage:"url 形式不正确",beforeClose:(a,e,c)=>{if(a==="conLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@charset "UTF-8";.books-wrapper[data-v-1139d638]{overflow:auto}.books-wrapper .wrapper[data-v-1139d638]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-1139d638]{-webkit-user-select:none;user-select:none;display:flex;cursor:pointer;margin-bottom:18px;padding:24px;width:360px;flex-direction:row;justify-content:space-around}.books-wrapper .wrapper .book .cover-img[data-v-1139d638],.books-wrapper .wrapper .book .cover-img .cover[data-v-1139d638]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-1139d638]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1;overflow:hidden}.books-wrapper .wrapper .book .info .name[data-v-1139d638]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-1139d638]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--f19573ba);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-1139d638] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-1139d638]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-1139d638]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-1139d638],.books-wrapper .wrapper .book .info .dur-chapter[data-v-1139d638],.books-wrapper .wrapper .book .info .last-chapter[data-v-1139d638]{color:#969ba3;font-size:13px;margin-top:3px;font-weight:500;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}.books-wrapper .wrapper .book[data-v-1139d638]:hover{background:#0000001a;transition-duration:.5s}.books-wrapper .wrapper[data-v-1139d638]:last-child{margin-right:auto}.books-wrapper[data-v-1139d638]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-1139d638]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-1139d638]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}body{padding:0;margin:0;height:100vh}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin:0;height:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./shelffont-D-W4UqG-.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-fb6598ff]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-fb6598ff]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-fb6598ff]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-fb6598ff]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-fb6598ff]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-fb6598ff] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-fb6598ff]{display:flex;flex-direction:column}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-fb6598ff]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-fb6598ff]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-fb6598ff]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-fb6598ff]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-fb6598ff]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-fb6598ff]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-fb6598ff]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-fb6598ff]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-fb6598ff]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-fb6598ff]{padding:48px;width:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}@media screen and (max-width: 750px){.index-wrapper[data-v-fb6598ff]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-fb6598ff]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-fb6598ff]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-fb6598ff]{flex-direction:row}.indexLine truncated
|
||||
@charset "UTF-8";.books-wrapper[data-v-1139d638]{overflow:auto}.books-wrapper .wrapper[data-v-1139d638]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-1139d638]{-webkit-user-select:none;user-select:none;display:flex;cursor:pointer;margin-bottom:18px;padding:24px;width:360px;flex-direction:row;justify-content:space-around}.books-wrapper .wrapper .book .cover-img[data-v-1139d638],.books-wrapper .wrapper .book .cover-img .cover[data-v-1139d638]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-1139d638]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1;overflow:hidden}.books-wrapper .wrapper .book .info .name[data-v-1139d638]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-1139d638]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--f19573ba);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-1139d638] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-1139d638]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-1139d638]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-1139d638],.books-wrapper .wrapper .book .info .dur-chapter[data-v-1139d638],.books-wrapper .wrapper .book .info .last-chapter[data-v-1139d638]{color:#969ba3;font-size:13px;margin-top:3px;font-weight:500;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}.books-wrapper .wrapper .book[data-v-1139d638]:hover{background:#0000001a;transition-duration:.5s}.books-wrapper .wrapper[data-v-1139d638]:last-child{margin-right:auto}.books-wrapper[data-v-1139d638]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-1139d638]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-1139d638]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}body{padding:0;margin:0;height:100vh}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin:0;height:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./shelffont-D-W4UqG-.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-21bbf1bf]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-21bbf1bf]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-21bbf1bf]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-21bbf1bf]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-21bbf1bf]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-21bbf1bf] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-21bbf1bf]{display:flex;flex-direction:column}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-21bbf1bf]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-21bbf1bf]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-21bbf1bf]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-21bbf1bf]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-21bbf1bf]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-21bbf1bf]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-21bbf1bf]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-21bbf1bf]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-21bbf1bf]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-21bbf1bf]{padding:48px;width:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}@media screen and (max-width: 750px){.index-wrapper[data-v-21bbf1bf]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-21bbf1bf]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-21bbf1bf]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-21bbf1bf]{flex-direction:row}.indexLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
import{x as L,u as D,v,H as y,af as Y,a5 as b}from"./vendor-wTuFzYxX.js";function H(t){return typeof t=="function"?t():D(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const w=()=>{};function k(t,r){function e(...a){return new Promise((o,l)=>{Promise.resolve(t(()=>r.apply(this,a),{fn:r,thisArg:this,args:a})).then(o).catch(l)})}return e}function x(...t){let r=0,e,a=!0,o=w,l,i,s,n,c;!L(t[0])&&typeof t[0]=="object"?{delay:i,trailing:s=!0,leading:n=!0,rejectOnCancel:c=!1}=t[0]:[i,s=!0,n=!0,c=!1]=t;const M=()=>{e&&(clearTimeout(e),e=void 0,o(),o=w)};return d=>{const u=H(i),g=Date.now()-r,m=()=>l=d();return M(),u<=0?(r=Date.now(),m()):(g>u&&(n||!a)?(r=Date.now(),m()):s&&(l=new Promise((h,p)=>{o=c?p:h,e=setTimeout(()=>{r=Date.now(),a=!0,h(m()),M()},Math.max(0,u-g))})),!n&&!e&&(e=setTimeout(()=>a=!0,u)),a=!1,l)}}function P(t,r=200,e=!1,a=!0,o=!1){return k(x(r,e,a,o),t)}const T=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function W(t,r,e,a){let o=t<12?"AM":"PM";return a&&(o=o.split("").reduce((l,i)=>l+=`${i}.`,"")),e?o.toLowerCase():o}function f(t){const r=["th","st","nd","rd"],e=t%100;return t+(r[(e-20)%10]||r[e]||r[0])}function $(t,r,e={}){var a;const o=t.getFullYear(),l=t.getMonth(),i=t.getDate(),s=t.getHours(),n=t.getMinutes(),c=t.getSeconds(),M=t.getMilliseconds(),S=t.getDay(),d=(a=e.customMeridiem)!=null?a:W,u={Yo:()=>f(o),YY:()=>String(o).slice(-2),YYYY:()=>o,M:()=>l+1,Mo:()=>f(l+1),MM:()=>`${l+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(e.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(e.locales,{month:"long"}),D:()=>String(i),Do:()=>f(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(s),Ho:()=>f(s),HH:()=>`${s}`.padStart(2,"0"),h:()=>`${s%12||12}`.padStart(1,"0"),ho:()=>f(s%12||12),hh:()=>`${s%12||12}`.padStart(2,"0"),m:()=>String(n),mo:()=>f(n),mm:()=>`${n}`.padStart(2,"0"),s:()=>String(c),so:()=>f(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${M}`.padStart(3,"0"),d:()=>S,dd:()=>t.toLocaleDateString(e.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(e.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(e.locales,{weekday:"long"}),A:()=>d(s,n),AA:()=>d(s,n,!1,!0),a:()=>d(s,n,!0),aa:()=>d(s,n,!0,!0)};return r.replace(T,(g,m)=>{var h,p;return(p=m??((h=u[g])==null?void 0:h.call(u)))!=null?p:g})}const E=t=>/,\s*\{/.test(t)||!(t.startsWith("http")||t.startsWith("data:")||t.startsWith("blob:")),R=t=>{let r=new Date().getTime(),e=Math.floor((r-t)/1e3),a="";return e<=30?a="刚刚":e<60?a=e+"秒前":e<3600?a=Math.floor(e/60)+"分钟前":e<86400?a=Math.floor(e/3600)+"小时前":e<2592e3?a=Math.floor(e/86400)+"天前":a=$(new Date(t),"YYYY-MM-DD"),a},A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"/></svg>',V=(t,r,e=A)=>{const a=v(!1);let o=null;const l=()=>a.value=!1,i=()=>a.value=!0;y(a,n=>{if(!n)return o==null?void 0:o.close();o=Y.service({target:D(t),spinner:e,text:r,lock:!0,background:"rgba(0, 0, 0, 0)"})});const s=n=>{if(!(n instanceof Promise))throw TypeError("loadingWrapper argument must be Promise");return i(),n.finally(l)};return b(()=>{l()}),{isLoading:a,showLoading:i,closeLoading:l,loadingWrapper:s}};export{P as a,R as d,E as i,V as u};
|
||||
@@ -1 +0,0 @@
|
||||
import{k as b,y as D,u as w,x as L,I as C,a5 as y,ae as v}from"./vendor-DyjdUqFg.js";import{A as B}from"./index-D7Z3b_yE.js";const F=b("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{index:0,chapterPos:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}},miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var l;if(e.catalog.length==0)return;const{index:a,chapterPos:t,bookName:o,bookAuthor:s}=e.readingBook;let n=(l=e.catalog[a])==null?void 0:l.title;if(n)return{name:o,author:s,durChapterIndex:a,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:n}},theme:e=>e.config.theme},actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},clearBooks(){this.shelf=[]},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){this.config=Object.assign({},this.config,e)},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(a=>{this.shelf.find(o=>o.bookUrl==a.bookUrl)===void 0&&this.searchBooks.push(a)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){return this.bookProgress?B.saveBookProgress(this.bookProgress):Promise.resolve()}}});function P(e){return typeof e=="function"?e():w(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const M=()=>{};function T(e,a){function t(...o){return new Promise((s,n)=>{Promise.resolve(e(()=>a.apply(this,o),{fn:a,thisArg:this,args:o})).then(s).catch(n)})}return t}function Y(...e){let a=0,t,o=!0,s=M,n,l,i,r,c;!D(e[0])&&typeof e[0]=="object"?{delay:l,trailing:i=!0,leading:r=!0,rejectOnCancel:c=!1}=e[0]:[l,i=!0,r=!0,c=!1]=e;const p=()=>{t&&(clearTimeout(t),t=void 0,s(),s=M)};return h=>{const u=P(l),g=Date.now()-a,d=()=>n=h();return p(),u<=0?(a=Date.now(),d()):(g>u&&(r||!o)?(a=Date.now(),d()):i&&(n=new Promise((m,S)=>{s=c?S:m,t=setTimeout(()=>{a=Date.now(),o=!0,m(d()),p()},Math.max(0,u-g))})),!r&&!t&&(t=setTimeout(()=>o=!0,u)),o=!1,n)}}function E(e,a=200,t=!1,o=!0,s=!1){return T(Y(a,t,o,s),e)}const x=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function A(e,a,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((n,l)=>n+=`${l}.`,"")),t?s.toLowerCase():s}function f(e){const a=["th","st","nd","rd"],t=e%100;return e+(a[(t-20)%10]||a[t]||a[0])}function V(e,a,t={}){var o;const s=e.getFullYear(),n=e.getMonth(),l=e.getDate(),i=e.getHours(),r=e.getMinutes(),c=e.getSeconds(),p=e.getMilliseconds(),k=e.getDay(),h=(o=t.customMeridiem)!=null?o:A,u={Yo:()=>f(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>n+1,Mo:()=>f(n+1),MM:()=>`${n+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(t.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(t.locales,{month:"long"}),D:()=>String(l),Do:()=>f(l),DD:()=>`${l}`.padStart(2,"0"),H:()=>String(i),Ho:()=>f(i),HH:()=>`${i}`.padStart(2,"0"),h:()=>`${i%12||12}`.padStart(1,"0"),ho:()=>f(i%12||12),hh:()=>`${i%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>f(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(c),so:()=>f(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${p}`.padStart(3,"0"),d:()=>k,dd:()=>e.toLocaleDateString(t.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(t.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(t.locales,{weekday:"long"}),A:()=>h(i,r),AA:()=>h(i,r,!1,!0),a:()=>h(i,r,!0),aa:()=>h(i,r,!0,!0)};return a.replace(x,(g,d)=>{var m,S;return(S=d??((m=u[g])==null?void 0:m.call(u)))!=null?S:g})}const R=e=>/,\s*\{/.test(e)||!(e.startsWith("http")||e.startsWith("data:")||e.startsWith("blob:")),j=e=>{let a=new Date().getTime(),t=Math.floor((a-e)/1e3),o="";return t<=30?o="刚刚":t<60?o=t+"秒前":t<3600?o=Math.floor(t/60)+"分钟前":t<86400?o=Math.floor(t/3600)+"小时前":t<2592e3?o=Math.floor(t/86400)+"天前":o=V(new Date(e),"YYYY-MM-DD"),o},H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
.el-link[data-v-35b7188a]{padding:4px}.el-text[data-v-35b7188a]{padding-top:20px}[data-v-c8501b1a] .el-checkbox__label{flex:1;display:flex;justify-content:space-between;align-items:center}.error[data-v-c8501b1a]{border-color:var(--el-color-error)!important;color:var(--el-color-error)!important;--el-checkbox-checked-text-color: var(--el-color-error);--el-checkbox-checked-bg-color: var(--el-color-error);--el-checkbox-checked-input-border-color: var(--el-color-error)}.edit[data-v-c8501b1a]{border-color:var(--el-color-dark)!important}.tool[data-v-8e35ace6]{display:flex;margin:4px 0;justify-content:center}#source-list[data-v-8e35ace6]{margin-top:6px;height:calc(100vh - 119px)}#source-list[data-v-8e35ace6] .el-checkbox{margin-bottom:4px;width:100%}[data-v-a6b5a415] #debug-text{height:calc(100vh - 86px)}[data-v-4e022d46] .el-input{width:100%}[data-v-4e022d46] #source-json{height:calc(100vh - 50px)}[data-v-3e4574c1] .el-tabs__header{margin-bottom:5px}.flex-space-between[data-v-9fd45dad]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-9fd45dad]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-9fd45dad]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-9fd45dad]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-9fd45dad]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-9fd45dad]{margin-bottom:1em}.hotkeys-item__content span[data-v-9fd45dad]{margin:.5em}[data-v-ffcf3f30] .el-tab-pane{height:calc(100vh - 55px);padding-top:15px;padding-right:5px;overflow-y:auto}[data-v-ffcf3f30] .el-tabs__header{margin:0}kbd{align-items:center;background:#7d7d7d1a;border-radius:3px;border:0;padding:4px 5px;font-weight:700;box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66}code{border-radius:4px;padding:.15rem .5rem;background-color:var(--el-fill-color-light);transition:color .25s,background-color .5s;font-size:14px}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0;z-index:2}.editor[data-v-82393d8a]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-82393d8a]{flex:1;margin-left:20px}.editor .right[data-v-82393d8a]{flex:1;width:360px;margin-right:20px}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222c;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2b1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2b1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255,255,255,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-colLine truncated
|
||||
@@ -1,10 +0,0 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-BYu7_7Ty.js","./vendor-DyjdUqFg.js","./vendor-DaRzvvaT.css","./el-message-box-Cdo1N8K_.js","./el-message-box-Bdqw_xyS.css","./BookShelf-2-n0JA9B.css","./BookChapter-B1YmoZ9j.js","./BookChapter-rTVd3xtP.css"])))=>i.map(i=>d[i]);
|
||||
import{r as Ee,o as c,c as U,a as le,b as se,d as I,e as m,w as u,f as y,u as r,l as $,g as h,F as O,E as Be,h as me,i as Ie,j as E,k as Ve,s as Z,m as G,t as X,n as Se,p as he,q as ie,v as Ne,x as J,y as H,z as fe,A as Re,B as Te,C as ue,V as Le,D as $e,G as ee,H as Oe,I as ye,J as Je,K as T,L as De,M as Pe,N as j,O as _e,P as be,Q as M,R as Ae,S as je,T as He,U as Ke,W as Me,X as We,Y as qe,Z as Fe,_ as ze,$ as Ge}from"./vendor-DyjdUqFg.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))l(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const p of s.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&l(p)}).observe(document,{childList:!0,subtree:!0});function t(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function l(n){if(n.ep)return;n.ep=!0;const s=t(n);fetch(n.href,s)}})();const D=(e,o)=>{const t=e.__vccOpts||e;for(const[l,n]of o)t[l]=n;return t},Qe={};function Xe(e,o){const t=Ee("router-view");return c(),U(t)}const Ye=D(Qe,[["render",Xe]]),Ze="modulepreload",et=function(e,o){return new URL(e,o).href},ce={},de=function(o,t,l){let n=Promise.resolve();if(t&&t.length>0){const p=document.getElementsByTagName("link"),g=document.querySelector("meta[property=csp-nonce]"),_=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));n=Promise.allSettled(t.map(b=>{if(b=et(b,l),b in ce)return;ce[b]=!0;const x=b.endsWith(".css"),B=x?'[rel="stylesheet"]':"";if(!!l)for(let d=p.length-1;d>=0;d--){const v=p[d];if(v.href===b&&(!x||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${b}"]${B}`))return;const i=document.createElement("link");if(i.rel=x?"stylesheet":Ze,x||(i.as="script"),i.crossOrigin="",i.href=b,_&&i.setAttribute("nonce",_),document.head.appendChild(i),x)return new Promise((d,v)=>{i.addEventListener("load",d),i.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${b}`)))})}))}function s(p){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=p,window.dispatchEvent(g),!g.defaultPrevented)throw p}return n.then(p=>{for(const g of p||[])g.status==="rejected"&&s(g.reason);return o().catch(s)})},ke=[{path:"/",name:"shelf",component:()=>de(()=>import("./BookShelf-BYu7_7Ty.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>de(()=>import("./BookChapter-B1YmoZ9j.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];le({history:se(),routes:ke});const tt={style:{"margin-top":"20px"}},ot={__name:"SourceHelp",setup(e){return(o,t)=>{const l=Be,n=me;return c(),I(O,null,[m(l,{icon:r($),href:"/help/#appHelp",target:"_blank"},{default:u(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#ruleHelp",target:"_blank"},{default:u(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#jsHelp",target:"_blank"},{default:u(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#xpathHelp",target:"_blank"},{default:u(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#regexHelp",target:"_blank"},{default:u(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:u(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#debugHelp",target:"_blank"},{default:u(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#httpTTSHelp",target:"_blank"},{default:u(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#webDavBookHelp",target:"_blank"},{default:u(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=h("br",null,null,-1)),m(l,{icon:r($),href:"/help/#webDavHelp",target:"_blank"},{default:u(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=h("br",null,null,-1)),m(l,{icon:r($),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=h("br",null,null,-1)),h("div",tt,[h("span",null,[m(n,null,{default:u(()=>t[11]||(t[11]=[h("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=h("br",null,null,-1)),h("span",null,[m(n,null,{default:u(()=>t[12]||(t[12]=[h("code",null,"(?sLine truncated
|
||||
`},s=async()=>{t.value="";try{await q.saveSource(o.currentSource)}catch(g){throw o.debugFinish(),g}q.debug(o.currentSourceUrl,l.value||o.searchKey,n,o.debugFinish)},p=G(()=>/bookSource/.test(window.location.href));return(g,_)=>{const b=ee;return c(),I(O,null,[r(p)?(c(),U(b,{key:0,id:"debug-key",modelValue:r(l),"onUpdate:modelValue":_[0]||(_[0]=x=>H(l)?l.value=x:null),placeholder:"搜索书名、作者","prefix-icon":r(fe),style:{"padding-bottom":"4px"},onKeydown:Je(s,["enter"])},null,8,["modelValue","prefix-icon"])):T("",!0),m(b,{id:"debug-text",modelValue:r(t),"onUpdate:modelValue":_[1]||(_[1]=x=>H(t)?t.value=x:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},$t=D(Lt,[["__scopeId","data-v-97ed449e"]]),Ot=De(),Jt={__name:"SourceJson",setup(e){const o=K(),t=J(""),l=async n=>{try{o.changeEditTabSource(JSON.parse(n))}catch{E({message:"粘贴的源格式错误",type:"error"})}};return Pe(async()=>{let n=o.editTabSource;Object.keys(n).length>0?t.value=JSON.stringify(n,null,4):t.value=""}),(n,s)=>{const p=ee;return c(),U(p,{id:"source-json",modelValue:r(t),"onUpdate:modelValue":s[0]||(s[0]=g=>H(t)?t.value=g:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:l,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Dt=D(Jt,[["__scopeId","data-v-7e91a802"]]),Pt={__name:"SourceTabTools",setup(e){const o=K(),{currentTab:t}=Z(o),l=J([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(n,s)=>{const p=Dt,g=$t,_=Tt,b=nt,x=_e,B=be;return c(),U(B,{modelValue:r(t),"onUpdate:modelValue":s[0]||(s[0]=w=>H(t)?t.value=w:null)},{default:u(()=>[(c(!0),I(O,null,j(r(l),(w,i)=>(c(),U(x,{key:w[0],name:w[0],label:w[1]},{default:u(()=>[i==0?(c(),U(p,{key:0})):T("",!0),i==1?(c(),U(g,{key:1})):T("",!0),i==2?(c(),U(_,{key:2})):T("",!0),i==3?(c(),U(b,{key:3})):T("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},At=D(Pt,[["__scopeId","data-v-dcce2457"]]),jt={class:"menu flex-column-center"},Ht={class:"hotkeys-header flex-space-between"},Kt=["id"],Mt={key:0},Wt={class:"hotkeys-settings flex-column-center"},qt={class:"title"},Ft={class:"hotkeys-item__content"},zt={key:0},Gt={key:0},Qt={__name:"ToolBar",setup(e){const o=K(),t=()=>{const f=E({message:"加载中……",showClose:!0,duration:0});q.getSources().then(({data:a})=>{a.isSuccess?(o.changeTabName("editList"),o.saveSources(a.data),E({message:`成功拉取${a.data.length}条源`,type:"success"})):E({message:a.errorMsg??"后端错误",type:"error"})}).finally(()=>f.close())},l=()=>{let f=o.sources;if(o.changeTabName("editList"),f.length===0)return E({message:"空空如也",type:"info"});E({message:"正在推送中",type:"info"}),q.saveSources(f).then(({data:a})=>{if(a.isSuccess){let S=a.data;if(Array.isArray(S)){let P="";f.length>S.length&&(P=`
|
||||
推送失败的源将用红色字体标注!`,o.setPushReturnSources(S)),E({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${f.length} 条
|
||||
成功: ${S.length} 条
|
||||
失败: ${f.length-S.length} 条${P}`,type:"success"})}}else E({message:`批量推送源失败!
|
||||
ErrorMsg: ${a.errorMsg}`,type:"error"})})},n=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},s=()=>{o.changeCurrentSource(o.editTabSource)},p=()=>{o.editHistoryUndo()},g=()=>{o.clearEdit(),E({message:"已清除",type:"success"})},_=()=>{o.clearEdit(),o.clearAllHistory(),E({message:"已清除所有历史记录",type:"success"})},b=()=>{let f=/bookSource/.test(location.href),a=o.currentSource;Ct(a)?q.saveSource(a).then(({data:S})=>{S.isSuccess?(E({message:`源《${f?a.bookSourceName:a.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):E({message:`源《${f?a.bookSourceName:a.sourceName}》保存失败!
|
||||
ErrorMsg: ${S.errorMsg}`,type:"error"})}):E({message:"请检查<必填>项是否全部填写",type:"error"})},x=()=>{o.startDebug()},B=J(Array.of({name:"⇈推送源",hotKeys:[],action:l},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:n},{name:"⋘编辑源",hotKeys:[],action:s},{name:"✗清空表单",hotKeys:[],action:g},{name:"↶撤销操作",hotKeys:[],action:p},{name:"↷重做操作",hotKeys:[],action:_},{name:"⇏调试源",hotKeys:[],action:x},{name:"✓保存源",hotKeys:[],action:b})),w=J(!0),i=J(!1),d=J(-1),v=()=>{i.value||(w.value=!1),i.value=!1};ye(w,f=>{if(!f){M.unbind("*"),F(),N();return}F(),M.unbind(),M("*",a=>{a.preventDefault();let S=M.getPressedKeyString();S.length==1&&S[0]=="esc"||i.value&&d.value>-1&&(B.value[d.value].hotKeys=S)})},{immediate:!0});const k=f=>{i.value=!0,E({message:"按ESC键或者点击空白处结束录入",type:"info"}),B.value[f].hotKeys=[],d.value=f},V=()=>{const f=[];B.value.forEach(({hotKeys:a})=>{f.push(a)}),L(f),w.value=!1},N=()=>{M.filter=()=>!0,B.value.forEach(({hotKeys:f,action:a})=>{f.length!=0&&M(f.join("+"),S=>{S.preventDefault(),a.call(null)})})},L=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function F(){try{const f=JSON.parse(localStorage.getItem("legado_web_hotkeys"));return!Array.isArray(f)||f.length==0?!1:(B.value.forEach((a,S)=>a.hotKeys=f[S]),!0)}catch{E({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return Ae(()=>{F()&&(w.value=!1)}),(f,a)=>{const S=ie,P=me,Ce=He;return c(),I(O,null,[h("div",jt,[(c(!0),I(O,null,j(r(B),R=>(c(),U(S,{size:"large",key:R.name,onClick:R.action},{default:u(()=>[y(X(R.name),1)]),_:2},1032,["onClick"]))),128)),m(S,{size:"large",onClick:a[0]||(a[0]=()=>w.value=!0)},{default:u(()=>a[2]||(a[2]=[y("快捷键")])),_:1})]),m(Ce,{modelValue:r(w),"onUpdate:modelValue":a[1]||(a[1]=R=>H(w)?w.value=R:null),"show-close":!1,"before-close":v},{header:u(({titleClass:R,titleId:oe})=>[h("div",Ht,[h("div",{id:oe,class:he(R)},[a[4]||(a[4]=y(" 快捷键设置 ")),r(i)?(c(),I("span",Mt,[m(P,null,{default:u(()=>a[3]||(a[3]=[y(" / 录入中 ")])),_:1})])):T("",!0)],10,Kt),m(S,{disabled:r(i),onClick:V,icon:r(je)},{default:u(()=>a[5]||(a[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:u(()=>[h("div",Wt,[(c(!0),I(O,null,j(r(B),(R,oe)=>(c(),I("div",{key:R.name,class:"hotkeys-item flex-space-between"},[h("span",qt,[m(P,null,{default:u(()=>[y(X(R.name),1)]),_:2},1024)]),h("div",Ft,[(c(!0),I(O,null,j(R.hotKeys,(ne,xe)=>(c(),I("div",{key:ne},[h("kbd",null,X(ne),1),xe+1<R.hotKeys.length?(c(),I("span",zt,[m(P,null,{default:u(()=>a[6]||(a[6]=[y("+")])),_:1})])):T("",!0)]))),128)),R.hotKeys.length==0?(c(),I("span",Gt,"未设置")):T("",!0)]),m(S,{disabled:r(i),text:"",icon:r(Se),onClick:ne=>k(oe)},{default:u(()=>a[7]||(a[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Xt=D(Qt,[["__scopeId","data-v-9fd45dad"]]),Yt={__name:"SourceTabForm",props:["config"],setup(e){const o=K(),{currentSource:t}=Z(o);return(l,n)=>{const s=ee,p=Ke,g=Me,_=We,b=qe,x=Fe,B=ze,w=_e,i=be;return c(),U(i,{id:"source-edit"},{default:u(()=>[(c(!0),I(O,null,j(Object.values(e.config),({name:d,children:v})=>(c(),U(w,{label:d,key:d},{default:u(()=>[m(B,{"label-position":"right","label-width":"auto"},{default:u(()=>[(c(!0),I(O,null,j(v,({type:k,title:V,namespace:N,id:L,array:F,hint:f,required:a})=>(c(),U(x,{label:V,key:V,required:a},{default:u(()=>[k=="String"&&typeof N>"u"?(c(),U(s,{key:0,type:"textarea",modelValue:r(t)[L],"onUpdate:modelValue":S=>r(t)[L]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),k=="String"&&typeof N<"u"?(c(),U(s,{key:1,type:"textarea",modelValue:r(t)[N][L],"onUpdate:modelValue":S=>r(t)[N][L]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),k=="Boolean"?(c(),U(p,{key:2,modelValue:r(t)[L],"onUpdate:modelValue":S=>r(t)[L]=S},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),k=="Number"?(c(),U(g,{key:3,modelValue:r(t)[L],"onUpdate:modelValue":S=>r(t)[L]=S,min:0},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),k=="Array"?(c(),U(b,{key:4,modelValue:r(t)[L],"onUpdate:modelValue":S=>r(t)[L]=S},{default:u(()=>[(c(!0),I(O,null,j(F,(S,P)=>(c(),U(_,{value:P,key:S,label:S},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):T("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},Zt=D(Yt,[["__scopeId","data-v-bced2b97"]]),eo={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGro
Line truncated
|
||||
名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List<Element>"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List<String>或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"},{title:"链接拦截",id:"shouldOverrideUrlLoading",type:"String",hint:"填写js,变量url为当前资源链接,返回true拦截"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}},oo={class:"editor"},no={__name:"SourceEditor",setup(e){let o;return/bookSource/i.test(location.href)?(o=eo,document.title="书源管理"):(o=to,document.title="订阅源管理"),(t,l)=>{const n=Zt,s=Xt,p=At;return c(),I("div",oo,[m(n,{class:"left",config:r(o)},null,8,["config"]),m(s),m(p,{class:"right"})])}}},ge=D(no,[["__scopeId","data-v-5fe2b79d"]]),we=[{path:"/bookSource",name:"book-home",component:ge},{path:"/rssSource",name:"rss-home",component:ge}];le({history:se(),routes:we});const Ue=le({history:se(),routes:ke.concat(we)});Ue.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});Ge(Ye).use(Ot).use(Ue).mount("#app");export{q as A,D as _};
|
||||
@@ -1 +0,0 @@
|
||||
.el-link[data-v-35b7188a]{padding:4px}.el-text[data-v-35b7188a]{padding-top:20px}[data-v-830cee5a] .el-checkbox__label{flex:1;display:flex;justify-content:space-between;align-items:center}.error[data-v-830cee5a]{border-color:var(--el-color-error)!important;color:var(--el-color-error)!important;--el-checkbox-checked-text-color: var(--el-color-error);--el-checkbox-checked-bg-color: var(--el-color-error);--el-checkbox-checked-input-border-color: var(--el-color-error)}.edit[data-v-830cee5a]{border-color:var(--el-color-dark)!important}.tool[data-v-cd1572ca]{display:flex;margin:4px 0;justify-content:center}#source-list[data-v-cd1572ca]{margin-top:6px;height:calc(100vh - 119px)}#source-list[data-v-cd1572ca] .el-checkbox{margin-bottom:4px;width:100%}[data-v-97ed449e] #debug-text{height:calc(100vh - 86px)}[data-v-7e91a802] .el-input{width:100%}[data-v-7e91a802] #source-json{height:calc(100vh - 50px)}[data-v-dcce2457] .el-tabs__header{margin-bottom:5px}.flex-space-between[data-v-9fd45dad]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-9fd45dad]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-9fd45dad]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-9fd45dad]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-9fd45dad]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-9fd45dad]{margin-bottom:1em}.hotkeys-item__content span[data-v-9fd45dad]{margin:.5em}[data-v-bced2b97] .el-tab-pane{height:calc(100vh - 55px);padding-top:15px;padding-right:5px;overflow-y:auto}[data-v-bced2b97] .el-tabs__header{margin:0}kbd{background-color:#fcfcfc;border-radius:3px;border:1px solid hsl(0deg,0%,80%);padding:4px 5px;font-weight:700}code{background-color:#f2f1f1;padding:.125rem .25rem;border-radius:.25rem;font-size:.835rem}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0;z-index:2;background-color:#fff}.editor[data-v-5fe2b79d]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-5fe2b79d]{flex:1;margin-left:20px}.editor .right[data-v-5fe2b79d]{flex:1;width:360px;margin-right:20px}
|
||||
@@ -0,0 +1,10 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-BF7C_coa.js","./vendor-wTuFzYxX.js","./vendor-DaRzvvaT.css","./el-message-box-Bcaa4bya.js","./el-message-box-Bdqw_xyS.css","./BookShelf-B_CoBfKJ.css","./BookChapter-BZF8rAzd.js","./BookChapter-zY4RZ-WS.css"])))=>i.map(i=>d[i]);
|
||||
import{r as xe,o as g,c as w,a as re,b as se,d as E,e as m,w as p,f as y,u as s,l as L,g as h,F as O,E as Ee,h as me,i as Ie,j as B,k as Se,m as j,t as X,n as he,p as fe,q as le,s as Ve,v as P,x as K,y as ye,z as Ne,A as Te,B as ue,V as Re,C as Le,D as Z,G as Oe,H as ie,I as Pe,J as N,K as $e,L as De,M as A,N as be,O as _e,P as F,Q as Je,R as je,S as Ae,T as He,U as Ke,W as Me,X as We,Y as Fe,Z as qe,_ as ze,$ as Ge}from"./vendor-wTuFzYxX.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const l of n)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function t(n){const l={};return n.integrity&&(l.integrity=n.integrity),n.referrerPolicy&&(l.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?l.credentials="include":n.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(n){if(n.ep)return;n.ep=!0;const l=t(n);fetch(n.href,l)}})();const $=(e,o)=>{const t=e.__vccOpts||e;for(const[r,n]of o)t[r]=n;return t},Qe={};function Xe(e,o){const t=xe("router-view");return g(),w(t)}const Ye=$(Qe,[["render",Xe]]),Ze="modulepreload",et=function(e,o){return new URL(e,o).href},ce={},de=function(o,t,r){let n=Promise.resolve();if(t&&t.length>0){const c=document.getElementsByTagName("link"),d=document.querySelector("meta[property=csp-nonce]"),k=(d==null?void 0:d.nonce)||(d==null?void 0:d.getAttribute("nonce"));n=Promise.allSettled(t.map(b=>{if(b=et(b,r),b in ce)return;ce[b]=!0;const U=b.endsWith(".css"),I=U?'[rel="stylesheet"]':"";if(!!r)for(let _=c.length-1;_>=0;_--){const v=c[_];if(v.href===b&&(!U||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${b}"]${I}`))return;const i=document.createElement("link");if(i.rel=U?"stylesheet":Ze,U||(i.as="script"),i.crossOrigin="",i.href=b,k&&i.setAttribute("nonce",k),document.head.appendChild(i),U)return new Promise((_,v)=>{i.addEventListener("load",_),i.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${b}`)))})}))}function l(c){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=c,window.dispatchEvent(d),!d.defaultPrevented)throw c}return n.then(c=>{for(const d of c||[])d.status==="rejected"&&l(d.reason);return o().catch(l)})},ke=[{path:"/",name:"shelf",component:()=>de(()=>import("./BookShelf-BF7C_coa.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>de(()=>import("./BookChapter-BZF8rAzd.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];re({history:se(),routes:ke});const tt={style:{"margin-top":"20px"}},ot={__name:"SourceHelp",setup(e){return(o,t)=>{const r=Ee,n=me;return g(),E(O,null,[m(r,{icon:s(L),href:"/help/#appHelp",target:"_blank"},{default:p(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#ruleHelp",target:"_blank"},{default:p(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#jsHelp",target:"_blank"},{default:p(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#xpathHelp",target:"_blank"},{default:p(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#regexHelp",target:"_blank"},{default:p(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:p(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#debugHelp",target:"_blank"},{default:p(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#httpTTSHelp",target:"_blank"},{default:p(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#webDavBookHelp",target:"_blank"},{default:p(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=h("br",null,null,-1)),m(r,{icon:s(L),href:"/help/#webDavHelp",target:"_blank"},{default:p(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=h("br",null,null,-1)),m(r,{icon:s(L),href:"https://regexr-cn.com/",target:"_blank"},{default:p(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=h("br",null,null,-1)),h("div",tt,[h("span",null,[m(n,null,{default:p(()=>t[11]||(t[11]=[h("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=h("br",null,null,-1)),h("span",null,[m(n,null,{default:p(()=>t[12]||(t[12]=[h("code",null,"(?sLine truncated
|
||||
`},l=async()=>{t.value="";try{await H.saveSource(o.currentSource)}catch(d){throw o.debugFinish(),d}H.debug(o.currentSourceUrl,r.value||o.searchKey,n,o.debugFinish)},c=j(()=>/bookSource/.test(window.location.href));return(d,k)=>{const b=Z;return g(),E(O,null,[s(c)?(g(),w(b,{key:0,id:"debug-key",modelValue:s(r),"onUpdate:modelValue":k[0]||(k[0]=U=>K(r)?r.value=U:null),placeholder:"搜索书名、作者","prefix-icon":s(ye),style:{"padding-bottom":"4px"},onKeydown:Pe(l,["enter"])},null,8,["modelValue","prefix-icon"])):N("",!0),m(b,{id:"debug-text",modelValue:s(t),"onUpdate:modelValue":k[1]||(k[1]=U=>K(t)?t.value=U:null),type:"textarea",readonly:"",rows:29,placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},Ot=$(Lt,[["__scopeId","data-v-a6b5a415"]]),Pt=Se("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"primary",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{index:0,chapterPos:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}},miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var c;if(e.catalog.length==0)return;const{index:o,chapterPos:t,bookName:r,bookAuthor:n}=e.readingBook;let l=(c=e.catalog[o])==null?void 0:c.title;if(l)return{name:r,author:n,durChapterIndex:o,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:l}},theme:e=>e.config.theme,isNight:e=>e.config.theme==6},actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},clearBooks(){this.shelf=[]},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){this.config=Object.assign({},this.config,e)},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(o=>{this.shelf.find(r=>r.bookUrl==o.bookUrl)===void 0&&this.searchBooks.push(o)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){return this.bookProgress?H.saveBookProgress(this.bookProgress):Promise.resolve()}}}),$t=$e(),Dt={__name:"SourceJson",setup(e){const o=M(),t=P(""),r=async n=>{try{o.changeEditTabSource(JSON.parse(n))}catch{B({message:"粘贴的源格式错误",type:"error"})}};return De(async()=>{let n=o.editTabSource;Object.keys(n).length>0?t.value=JSON.stringify(n,null,4):t.value=""}),(n,l)=>{const c=Z;return g(),w(c,{id:"source-json",modelValue:s(t),"onUpdate:modelValue":l[0]||(l[0]=d=>K(t)?t.value=d:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:30,onChange:r,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Jt=$(Dt,[["__scopeId","data-v-4e022d46"]]),jt={__name:"SourceTabTools",setup(e){const t=M().currentTab,r=P([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(n,l)=>{const c=Jt,d=Ot,k=Rt,b=nt,U=be,I=_e;return g(),w(I,{modelValue:s(t),"onUpdate:modelValue":l[0]||(l[0]=u=>K(t)?t.value=u:null)},{default:p(()=>[(g(!0),E(O,null,A(s(r),(u,i)=>(g(),w(U,{key:u[0],name:u[0],label:u[1]},{default:p(()=>[i==0?(g(),w(c,{key:0})):N("",!0),i==1?(g(),w(d,{key:1})):N("",!0),i==2?(g(),w(k,{key:2})):N("",!0),i==3?(g(),w(b,{key:3})):N("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},At=$(jt,[["__scopeId","data-v-3e4574c1"]]),Ht={class:"menu flex-column-center"},Kt={class:"hotkeys-header flex-space-between"},Mt=["id"],Wt={key:0},Ft={class:"hotkeys-settings flex-column-center"},qt={class:"title"},zt={class:"hotkeys-item__content"},Gt={key:0},Qt={key:0},Xt={__name:"ToolBar",setup(e){const o=M(),t=()=>{const f=B({message:"加载中……",showClose:!0,duration:0});H.getSources().then(({data:a})=>{a.isSuccess?(o.changeTabName("editList"),o.saveSources(a.data),B({message:`成功拉取${a.data.length}条源`,type:"success"})):B({message:a.errorMsg??"后端错误",type:"error"})}).finally(()=>f.close())},r=()=>{let f=o.sources;if(o.changeTabName("editList"),f.length===0)return B({message:"空空如也",type:"info"});B({message:"正在推送中",type:"info"}),H.saveSources(f).then(({data:a})=>{if(a.isSuccess){let S=a.data;if(Array.isArray(S)){let D="";f.length>S.length&&(D=`
|
||||
推送失败的源将用红色字体标注!`,o.setPushReturnSources(S)),B({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${f.length} 条
|
||||
成功: ${S.length} 条
|
||||
失败: ${f.length-S.length} 条${D}`,type:"success"})}}else B({message:`批量推送源失败!
|
||||
ErrorMsg: ${a.errorMsg}`,type:"error"})})},n=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},l=()=>{o.changeCurrentSource(o.editTabSource)},c=()=>{o.editHistoryUndo()},d=()=>{o.clearEdit(),B({message:"已清除",type:"success"})},k=()=>{o.clearEdit(),o.clearAllHistory(),B({message:"已清除所有历史记录",type:"success"})},b=()=>{let f=/bookSource/.test(location.href),a=o.currentSource;Ut(a)?H.saveSource(a).then(({data:S})=>{S.isSuccess?(B({message:`源《${f?a.bookSourceName:a.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):B({message:`源《${f?a.bookSourceName:a.sourceName}》保存失败!
|
||||
ErrorMsg: ${S.errorMsg}`,type:"error"})}):B({message:"请检查<必填>项是否全部填写",type:"error"})},U=()=>{o.startDebug()},I=P(Array.of({name:"⇈推送源",hotKeys:[],action:r},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:n},{name:"⋘编辑源",hotKeys:[],action:l},{name:"✗清空表单",hotKeys:[],action:d},{name:"↶撤销操作",hotKeys:[],action:c},{name:"↷重做操作",hotKeys:[],action:k},{name:"⇏调试源",hotKeys:[],action:U},{name:"✓保存源",hotKeys:[],action:b})),u=P(!0),i=P(!1),_=P(-1),v=()=>{i.value||(u.value=!1),i.value=!1};ie(u,f=>{if(!f){F.unbind("*"),z(),W();return}z(),F.unbind(),F("*",a=>{a.preventDefault();let S=F.getPressedKeyString();S.length==1&&S[0]=="esc"||i.value&&_.value>-1&&(I.value[_.value].hotKeys=S)})},{immediate:!0});const x=f=>{i.value=!0,B({message:"按ESC键或者点击空白处结束录入",type:"info"}),I.value[f].hotKeys=[],_.value=f},R=()=>{const f=[];I.value.forEach(({hotKeys:a})=>{f.push(a)}),T(f),u.value=!1},W=()=>{F.filter=()=>!0,I.value.forEach(({hotKeys:f,action:a})=>{f.length!=0&&F(f.join("+"),S=>{S.preventDefault(),a.call(null)})})},T=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function z(){try{const f=JSON.parse(localStorage.getItem("legado_web_hotkeys"));return!Array.isArray(f)||f.length==0?!1:(I.value.forEach((a,S)=>a.hotKeys=f[S]),!0)}catch{B({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return Je(()=>{z()&&(u.value=!1)}),(f,a)=>{const S=le,D=me,Ue=Ae;return g(),E(O,null,[h("div",Ht,[(g(!0),E(O,null,A(s(I),V=>(g(),w(S,{size:"large",key:V.name,onClick:V.action},{default:p(()=>[y(X(V.name),1)]),_:2},1032,["onClick"]))),128)),m(S,{size:"large",onClick:a[0]||(a[0]=()=>u.value=!0)},{default:p(()=>a[2]||(a[2]=[y("快捷键")])),_:1})]),m(Ue,{modelValue:s(u),"onUpdate:modelValue":a[1]||(a[1]=V=>K(u)?u.value=V:null),"show-close":!1,"before-close":v},{header:p(({titleClass:V,titleId:te})=>[h("div",Kt,[h("div",{id:te,class:fe(V)},[a[4]||(a[4]=y(" 快捷键设置 ")),s(i)?(g(),E("span",Wt,[m(D,null,{default:p(()=>a[3]||(a[3]=[y(" / 录入中 ")])),_:1})])):N("",!0)],10,Mt),m(S,{disabled:s(i),onClick:R,icon:s(je)},{default:p(()=>a[5]||(a[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:p(()=>[h("div",Ft,[(g(!0),E(O,null,A(s(I),(V,te)=>(g(),E("div",{key:V.name,class:"hotkeys-item flex-space-between"},[h("span",qt,[m(D,null,{default:p(()=>[y(X(V.name),1)]),_:2},1024)]),h("div",zt,[(g(!0),E(O,null,A(V.hotKeys,(oe,Be)=>(g(),E("div",{key:oe},[h("kbd",null,X(oe),1),Be+1<V.hotKeys.length?(g(),E("span",Gt,[m(D,null,{default:p(()=>a[6]||(a[6]=[y("+")])),_:1})])):N("",!0)]))),128)),V.hotKeys.length==0?(g(),E("span",Qt,"未设置")):N("",!0)]),m(S,{disabled:s(i),text:"",icon:s(he),onClick:oe=>x(te)},{default:p(()=>a[7]||(a[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=$(Xt,[["__scopeId","data-v-9fd45dad"]]),Zt={__name:"SourceTabForm",props:["config"],setup(e){const t=M().currentSource;return(r,n)=>{const l=Z,c=He,d=Ke,k=Me,b=We,U=Fe,I=qe,u=be,i=_e;return g(),w(i,{id:"source-edit"},{default:p(()=>[(g(!0),E(O,null,A(Object.values(e.config),({name:_,children:v})=>(g(),w(u,{label:_,key:_},{default:p(()=>[m(I,{"label-position":"right","label-width":"auto"},{default:p(()=>[(g(!0),E(O,null,A(v,({type:x,title:R,namespace:W,id:T,array:z,hint:f,required:a})=>(g(),w(U,{label:R,key:R,required:a},{default:p(()=>[x=="String"&&typeof W>"u"?(g(),w(l,{key:0,type:"textarea",modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):N("",!0),x=="String"&&typeof W<"u"?(g(),w(l,{key:1,type:"textarea",modelValue:s(t)[W][T],"onUpdate:modelValue":S=>s(t)[W][T]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):N("",!0),x=="Boolean"?(g(),w(c,{key:2,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S},null,8,["modelValue","onUpdate:modelValue"])):N("",!0),x=="Number"?(g(),w(d,{key:3,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S,min:0},null,8,["modelValue","onUpdate:modelValue"])):N("",!0),x=="Array"?(g(),w(b,{key:4,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S},{default:p(()=>[(g(!0),E(O,null,A(z,(S,D)=>(g(),w(k,{value:D,key:S,label:S},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):N("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=$(Zt,[["__scopeId","data-v-ffcf3f30"]]),to={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGroup",type:"
Line truncated
|
||||
名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List<Element>"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List<String>或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"},{title:"链接拦截",id:"shouldOverrideUrlLoading",type:"String",hint:"填写js,变量url为当前资源链接,返回true拦截"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}},no={class:"editor"},ro={__name:"SourceEditor",setup(e){ze();let o;return/bookSource/i.test(location.href)?(o=to,document.title="书源管理"):(o=oo,document.title="订阅源管理"),(t,r)=>{const n=eo,l=Yt,c=At;return g(),E("div",no,[m(n,{class:"left",config:s(o)},null,8,["config"]),m(l),m(c,{class:"right"})])}}},ge=$(ro,[["__scopeId","data-v-82393d8a"]]),we=[{path:"/bookSource",name:"book-home",component:ge},{path:"/rssSource",name:"rss-home",component:ge}];re({history:se(),routes:we});const Ce=re({history:se(),routes:ke.concat(we)});Ce.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});Ge(Ye).use($t).use(Ce).mount("#app");ie(()=>Pt().isNight,e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});export{H as A,$ as _,Pt as u};
|
||||
@@ -1,50 +0,0 @@
|
||||
/**
|
||||
* @vue/shared v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function Pu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ye={},Ao=[],ht=()=>{},xy=()=>!1,ma=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Iu=e=>e.startsWith("onUpdate:"),dt=Object.assign,$u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ry=Object.prototype.hasOwnProperty,je=(e,t)=>Ry.call(e,t),he=Array.isArray,xo=e=>qs(e)==="[object Map]",ga=e=>qs(e)==="[object Set]",Gc=e=>qs(e)==="[object Date]",ve=e=>typeof e=="function",Te=e=>typeof e=="string",Fn=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",qi=e=>(Ae(e)||ve(e))&&ve(e.then)&&ve(e.catch),ih=Object.prototype.toString,qs=e=>ih.call(e),Ii=e=>qs(e).slice(8,-1),ah=e=>qs(e)==="[object Object]",ku=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ls=Pu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ya=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Py=/-(\w)/g,Qt=ya(e=>e.replace(Py,(t,n)=>n?n.toUpperCase():"")),Iy=/\B([A-Z])/g,nr=ya(e=>e.replace(Iy,"-$1").toLowerCase()),Ws=ya(e=>e.charAt(0).toUpperCase()+e.slice(1)),$i=ya(e=>e?`on${Ws(e)}`:""),xr=(e,t)=>!Object.is(e,t),ki=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},lh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Fl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$y=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let Yc;const uh=()=>Yc||(Yc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function st(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Te(r)?Ny(r):st(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Te(e)||Ae(e))return e}const ky=/;(?![^(]*\))/g,Ly=/:([^]+)/,My=/\/\*[^]*?\*\//g;function Ny(e){const t={};return e.replace(My,"").split(ky).forEach(n=>{if(n){const r=n.split(Ly);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function V(e){let t="";if(Te(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=V(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",By=Pu(Fy);function ch(e){return!!e||e===""}function Dy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ba(e[r],t[r]);return n}function ba(e,t){if(e===t)return!0;let n=Gc(e),r=Gc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Fn(e),r=Fn(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?Dy(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ba(e[i],t[i]))return!1}}return String(e)===String(t)}function fh(e,t){return e.findIndex(n=>ba(n,t))}const dh=e=>!!(e&&e.__v_isRef===!0),He=e=>Te(e)?e:e==null?"":he(e)||Ae(e)&&(e.toString===ih||!ve(e.toString))?dh(e)?He(e.value):JSON.stringify(e,ph,2):String(e),ph=(e,t)=>dh(t)?ph(e,t.value):xo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[nl(r,s)+" =>"]=o,n),{})}:ga(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>nl(n))}:Fn(t)?nl(t):Ae(t)&&!he(t)&&!ah(t)?String(t):t,nl=(e,t="")=>{var n;return Fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||||
* @vue/reactivity v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let kt;class hh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function vh(e){return new hh(e)}function Lu(){return kt}function Mu(e,t=!1){kt&&kt.cleanups.push(e)}let tt;const rl=new WeakSet;class mh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,kt&&kt.active&&kt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,rl.has(this)&&(rl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||yh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jc(this),bh(this);const t=tt,n=gn;tt=this,gn=!0;try{return this.fn()}finally{wh(this),tt=t,gn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Bu(t);this.deps=this.depsTail=void 0,Jc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Bl(this)&&this.run()}get dirty(){return Bl(this)}}let gh=0,To;function yh(e){e.flags|=8,e.next=To,To=e}function Nu(){gh++}function Fu(){if(--gh>0)return;let e;for(;To;){let t=To,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=To,To=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function bh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Bu(r),Vy(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Bl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Sh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Sh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Es))return;e.globalVersion=Es;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Bl(e)){e.flags&=-3;return}const n=tt,r=gn;tt=e,gn=!0;try{bh(e);const o=e.fn(e._value);(t.version===0||xr(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{tt=n,gn=r,wh(e),e.flags&=-3}}function Bu(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Bu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vy(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gn=!0;const _h=[];function Pr(){_h.push(gn),gn=!1}function Ir(){const e=_h.pop();gn=e===void 0?!0:e}function Jc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=tt;tt=void 0;try{t()}finally{tt=n}}}let Es=0,jy=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Du{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!tt||!gn||tt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==tt)n=this.activeLink=new jy(tt,this),tt.deps?(n.prevDep=tt.depsTail,tt.depsTail.nextDep=n,tt.depsTail=n):tt.deps=tt.depsTail=n,Eh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=tt.depsTail,n.nextDep=void 0,tt.depsTail.nextDep=n,tt.depsTail=n,tt.deps===n&&(tt.deps=r)}return n}trigger(t){this.version++,Es++,this.notify(t)}notify(t){Nu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Fu()}}}function Eh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Eh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Wi=new WeakMap,Jr=Symbol(""),Line truncated
|
||||
* @vue/runtime-core v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function Ys(e,t,n,r){try{return r?e(...r):e()}catch(o){_a(o,t,n)}}function wn(e,t,n,r){if(ve(e)){const o=Ys(e,t,n,r);return o&&qi(o)&&o.catch(s=>{_a(s,t,n)}),o}if(he(e)){const o=[];for(let s=0;s<e.length;s++)o.push(wn(e[s],t,n,r));return o}}function _a(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){Pr(),Ys(s,null,10,[e,l,u]),Ir();return}}mb(e,n,o,r,i)}function mb(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}let Os=!1,Vl=!1;const Lt=[];let Rn=0;const Ro=[];let wr=null,So=0;const kh=Promise.resolve();let qu=null;function Fe(e){const t=qu||kh;return e?t.then(this?e.bind(this):e):t}function gb(e){let t=Os?Rn+1:0,n=Lt.length;for(;t<n;){const r=t+n>>>1,o=Lt[r],s=As(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Wu(e){if(!(e.flags&1)){const t=As(e),n=Lt[Lt.length-1];!n||!(e.flags&2)&&t>=As(n)?Lt.push(e):Lt.splice(gb(t),0,e),e.flags|=1,Lh()}}function Lh(){!Os&&!Vl&&(Vl=!0,qu=kh.then(Nh))}function yb(e){he(e)?Ro.push(...e):wr&&e.id===-1?wr.splice(So+1,0,e):e.flags&1||(Ro.push(e),e.flags|=1),Lh()}function nf(e,t,n=Os?Rn+1:0){for(;n<Lt.length;n++){const r=Lt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Lt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Mh(e){if(Ro.length){const t=[...new Set(Ro)].sort((n,r)=>As(n)-As(r));if(Ro.length=0,wr){wr.push(...t);return}for(wr=t,So=0;So<wr.length;So++){const n=wr[So];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wr=null,So=0}}const As=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Nh(e){Vl=!1,Os=!0;try{for(Rn=0;Rn<Lt.length;Rn++){const t=Lt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ys(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rn<Lt.length;Rn++){const t=Lt[Rn];t&&(t.flags&=-2)}Rn=0,Lt.length=0,Mh(),Os=!1,qu=null,(Lt.length||Ro.length)&&Nh()}}let pt=null,Fh=null;function Yi(e){const t=pt;return pt=e,Fh=e&&e.type.__scopeId||null,t}function ue(e,t=pt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&mf(-1);const s=Yi(t);let i;try{i=e(...o)}finally{Yi(s),r._d&&mf(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ct(e,t){if(pt===null)return e;const n=Pa(pt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ye]=t[o];s&&(ve(s)&&(s={mounted:s,updated:s}),s.deep&&Wn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Br(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Pr(),wn(l,n,8,[e.el,a,e,t]),Ir())}}const Bh=Symbol("_vte"),Dh=e=>e.__isTeleport,us=e=>e&&(e.disabled||e.disabled===""),bb=e=>e&&(e.defer||e.defer===""),rf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,of=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,jl=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},wb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:v,querySelector:p,createText:h,createComment:y}}=u,g=us(t.props);let{shapeFlag:_,children:E,dynamicChildren:S}=t;if(e==null){const b=t.el=h(""),O=t.anchor=h("");v(b,n,r),v(O,n,r);const A=(R,N)=>{_&16&&(o&&o.isCE&&(o.ce._teleportTarget=R),c(E,R,N,o,s,i,a,l))},$=()=>{const R=t.target=jl(t.props,p),N=Vh(R,t,h,v);R&&(i!=="svg"&&rf(R)?i="svg":i!=="mathml"&&of(R)&&(i="mathml"),g||(A(R,N),Li(t)))};g&&(A(n,O),Li(t)),bb(t.props)?Nt($,s):$()}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,O=t.target=e.target,A=t.targetAnchor=e.targetAnchor,$=us(e.props),R=$?n:O,N=$?b:A;if(i==="svg"||rf(O)?i="svg":(i==="mathml"||of(O))&&(i="mathml"),S?(d(e.dynamicChildren,S,R,o,s,i,a),ec(e,t,!0)):l||f(e,t,R,N,o,s,i,a,!1),g)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mi(t,n,b,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=jl(t.props,p);U&&mi(t,U,null,u,0)}else $&&mi(t,O,A,u,1);Li(t)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),s&&o(l),i&16){const v=s||!us(d);for(let p=0;p<a.length;p++){const h=a[p];r(h,t,n,v,!!h.dynamicChildren)}}},move:mi,hydrate:Sb};function mi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),(!f||us(c))&&l&16)for(let d=0;d<u.length;d++)o(u[d],t,n,2);f&&r(a,t,n)}function Sb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=jl(t.props,l);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(us(t.props))t.anchor=f(i(e),t,a(e),n,r,o,s),t.targetStart=v,t.targetAnchor=v&&i(v);else{t.anchor=i(e);let p=v;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.target
Line truncated
|
||||
* @vue/runtime-dom v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let Gl;const wf=typeof window<"u"&&window.trustedTypes;if(wf)try{Gl=wf.createPolicy("vue",{createHTML:e=>e})}catch{}const yv=Gl?e=>Gl.createHTML(e):e=>e,E0="http://www.w3.org/2000/svg",C0="http://www.w3.org/1998/Math/MathML",Kn=typeof document<"u"?document:null,Sf=Kn&&Kn.createElement("template"),T0={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 o=t==="svg"?Kn.createElementNS(E0,e):t==="mathml"?Kn.createElementNS(C0,e):n?Kn.createElement(e,{is:n}):Kn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Kn.createTextNode(e),createComment:e=>Kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Sf.innerHTML=yv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Sf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fr="transition",Qo="animation",$o=Symbol("_vtc"),bv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},wv=dt({},zh,bv),O0=e=>(e.displayName="Transition",e.props=wv,e),kr=O0((e,{slots:t})=>Gn(Cb,Sv(e),t)),Vr=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},_f=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Sv(e){const t={};for(const M in e)M in bv||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,p=A0(o),h=p&&p[0],y=p&&p[1],{onBeforeEnter:g,onEnter:_,onEnterCancelled:E,onLeave:S,onLeaveCancelled:b,onBeforeAppear:O=g,onAppear:A=_,onAppearCancelled:$=E}=t,R=(M,D,X)=>{vr(M,D?c:a),vr(M,D?u:i),X&&X()},N=(M,D)=>{M._isLeaving=!1,vr(M,f),vr(M,v),vr(M,d),D&&D()},U=M=>(D,X)=>{const P=M?A:_,x=()=>R(D,M,X);Vr(P,[D,x]),Ef(()=>{vr(D,M?l:s),Hn(D,M?c:a),_f(P)||Cf(D,r,h,x)})};return dt(t,{onBeforeEnter(M){Vr(g,[M]),Hn(M,s),Hn(M,i)},onBeforeAppear(M){Vr(O,[M]),Hn(M,l),Hn(M,u)},onEnter:U(!1),onAppear:U(!0),onLeave(M,D){M._isLeaving=!0;const X=()=>N(M,D);Hn(M,f),Hn(M,d),Ev(),Ef(()=>{M._isLeaving&&(vr(M,f),Hn(M,v),_f(S)||Cf(M,r,y,X))}),Vr(S,[M,X])},onEnterCancelled(M){R(M,!1),Vr(E,[M])},onAppearCancelled(M){R(M,!0),Vr($,[M])},onLeaveCancelled(M){N(M),Vr(b,[M])}})}function A0(e){if(e==null)return null;if(Ae(e))return[cl(e.enter),cl(e.leave)];{const t=cl(e);return[t,t]}}function cl(e){return $y(e)}function Hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$o]||(e[$o]=new Set)).add(t)}function vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$o];n&&(n.delete(t),n.size||(e[$o]=void 0))}function Ef(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let x0=0;function Cf(e,t,n,r){const o=e._endId=++x0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=_v(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=v=>{v.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function _v(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${fr}Delay`),s=r(`${fr}Duration`),i=Tf(o,s),a=r(`${Qo}Delay`),l=r(`${Qo}Duration`),u=Tf(a,l);let c=null,f=0,d=0;t===fr?i>0&&(c=fr,f=i,d=s.length):t===Qo?u>0&&(c=Qo,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?fr:Qo:null,d=c?c===fr?s.length:l.length:0);const v=c===fr&&/\b(transform|all)(,|$)/.test(r(`${fr}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:v}}function Tf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Of(n)+Of(e[r])))}function Of(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ev(){return document.body.offsetHeight}function R0(e,t,n){const r=e[$o];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zi=Symbol("_vod"),Cv=Symbol("_vsh"),Jt={beforeMount(e,{value:t},{transition:n}){e[Zi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):es(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),es(e,!0
Line truncated
|
||||
* vue-router v4.4.5
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/const _o=typeof document<"u";function Pv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Pv(e.default)}const qe=Object.assign;function pl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Sn(o)?o.map(e):e(o)}return n}const ds=()=>{},Sn=Array.isArray,Iv=/#/g,iw=/&/g,aw=/\//g,lw=/=/g,uw=/\?/g,$v=/\+/g,cw=/%5B/g,fw=/%5D/g,kv=/%5E/g,dw=/%60/g,Lv=/%7B/g,pw=/%7C/g,Mv=/%7D/g,hw=/%20/g;function rc(e){return encodeURI(""+e).replace(pw,"|").replace(cw,"[").replace(fw,"]")}function vw(e){return rc(e).replace(Lv,"{").replace(Mv,"}").replace(kv,"^")}function Jl(e){return rc(e).replace($v,"%2B").replace(hw,"+").replace(Iv,"%23").replace(iw,"%26").replace(dw,"`").replace(Lv,"{").replace(Mv,"}").replace(kv,"^")}function mw(e){return Jl(e).replace(lw,"%3D")}function gw(e){return rc(e).replace(Iv,"%23").replace(uw,"%3F")}function yw(e){return e==null?"":gw(e).replace(aw,"%2F")}function Ps(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const bw=/\/$/,ww=e=>e.replace(bw,"");function hl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Cw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Ps(i)}}function Sw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Df(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _w(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ko(t.matched[r],n.matched[o])&&Nv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ko(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ew(e[n],t[n]))return!1;return!0}function Ew(e,t){return Sn(e)?Vf(e,t):Sn(t)?Vf(t,e):e===t}function Vf(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Cw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const dr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Is;(function(e){e.pop="pop",e.push="push"})(Is||(Is={}));var ps;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ps||(ps={}));function Tw(e){if(!e)if(_o){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ww(e)}const Ow=/^[^#]+#/;function Aw(e,t){return e.replace(Ow,"#")+t}function xw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ia=()=>({left:window.scrollX,top:window.scrollY});function Rw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=xw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jf(e,t){return(history.state?history.state.position-t:-1)+e}const Xl=new Map;function Pw(e,t){Xl.set(e,t)}function Iw(e){const t=Xl.get(e);return Xl.delete(e),t}let $w=()=>location.protocol+"//"+location.host;function Fv(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Df(l,"")}return Df(n,e)+r+o}function kw(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=Fv(e,location),p=n.value,h=t.value;let y=0;if(d){if(n.value=v,t.value=d,i&&i===p){i=null;return}y=h?d.position-h.position:0}else r(v);o.forEach(g=>{g(n.value,p,{delta:y,type:Is.pop,direction:y?y>0?ps.forward:ps.back:ps.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(qe({},d.state,{scroll:Ia()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function zf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ia():null}}function Lw(e){const{history:t,location:n}=window,r={value:Fv(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scLine truncated
|
||||
(?:
|
||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),a=new RegExp("^"+o+"$"),l=function(S){return S&&S.exact?s:new RegExp("(?:"+t(S)+n+t(S)+")|(?:"+t(S)+o+t(S)+")","g")};l.v4=function(E){return E&&E.exact?i:new RegExp(""+t(E)+n+t(E),"g")},l.v6=function(E){return E&&E.exact?a:new RegExp(""+t(E)+o+t(E),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',_="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+p+h+")"+y+g;return _i=new RegExp("(?:^"+_+"$)","i"),_i},hp={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},as={integer:function(t){return as.number(t)&&parseInt(t,10)===t},float:function(t){return as.number(t)&&!as.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!as.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(hp.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(L4())},hex:function(t){return typeof t=="string"&&!!t.match(hp.hex)}},M4=function(t,n,r,o,s){if(t.required&&n===void 0){rg(t,n,r,o,s);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;i.indexOf(a)>-1?as[a](n)||o.push(Yt(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Yt(s.messages.types[a],t.fullField,t.type))},N4=function(t,n,r,o,s){var i=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",v=typeof n=="string",p=Array.isArray(n);if(d?f="number":v?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Yt(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Yt(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Yt(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Yt(s.messages[f].range,t.fullField,t.min,t.max))},mo="enum",F4=function(t,n,r,o,s){t[mo]=Array.isArray(t[mo])?t[mo]:[],t[mo].indexOf(n)===-1&&o.push(Yt(s.messages[mo],t.fullField,t[mo].join(", ")))},B4=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Yt(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Yt(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},De={required:rg,whitespace:k4,type:M4,range:N4,enum:F4,pattern:B4},D4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n,"string")&&!t.required)return r();De.required(t,n,o,i,s,"string"),vt(n,"string")||(De.type(t,n,o,i,s),De.range(t,n,o,i,s),De.pattern(t,n,o,i,s),t.whitespace===!0&&De.whitespace(t,n,o,i,s))}r(i)},V4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},j4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},z4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},H4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),vt(n)||De.type(t,n,o,i,s)}r(i)},K4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},U4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},q4=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();De.required(t,n,o,i,s,"array"),n!=null&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},W4=function(t,n,r,o,s){var
Line truncated
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
${V1()?"":"overflow:hidden !important;"}
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
`,iA=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function aA(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:iA.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function mp(e,t=1,n){var r;dn||(dn=document.createElement("textarea"),document.body.appendChild(dn));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=aA(e);dn.setAttribute("style",`${a};${sA}`),dn.value=e.value||e.placeholder||"";let l=dn.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),dn.value="";const c=dn.scrollHeight-o;if(ze(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(ze(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=dn.parentNode)==null||r.removeChild(dn),dn=void 0,u}const lA=Re({id:{type:String,default:void 0},size:po,disabled:Boolean,modelValue:{type:ye([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ye([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Dt},prefixIcon:{type:Dt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ye([Object,Array,String]),default:()=>ja({})},autofocus:Boolean,rows:{type:Number,default:2},...ar(["ariaLabel"])}),uA={[ot]:e=>Te(e),input:e=>Te(e),change:e=>Te(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},cA=J({name:"ElInput",inheritAttrs:!1}),fA=J({...cA,props:lA,emits:uA,setup(e,{expose:t,emit:n}){const r=e,o=Lb(),s=lo(),i=T(()=>{const L={};return r.containerRole==="combobox"&&(L["aria-haspopup"]=o["aria-haspopup"],L["aria-owns"]=o["aria-owns"],L["aria-expanded"]=o["aria-expanded"]),L}),a=T(()=>[r.type==="textarea"?y.b():h.b(),h.m(v.value),h.is("disabled",p.value),h.is("exceed",Ee.value),{[h.b("group")]:s.prepend||s.append,[h.m("prefix")]:s.prefix||r.prefixIcon,[h.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[h.bm("suffix","password-clear")]:ge.value&&Me.value,[h.b("hidden")]:r.type==="hidden"},o.class]),l=T(()=>[h.e("wrapper"),h.is("focus",R.value)]),u=kT({excludeKeys:T(()=>Object.keys(i.value))}),{form:c,formItem:f}=Nr(),{inputId:d}=ni(r,{formItemContext:f}),v=En(),p=qo(),h=ke("input"),y=ke("textarea"),g=Ar(),_=Ar(),E=B(!1),S=B(!1),b=B(),O=Ar(r.inputStyle),A=T(()=>g.value||_.value),{wrapperRef:$,isFocused:R,handleFocus:N,handleBlur:U}=Zm(A,{beforeFocus(){return p.value},afterBlur(){var L;r.validateEvent&&((L=f==null?void 0:f.validate)==null||L.call(f,"blur").catch(fe=>void 0))}}),M=T(()=>{var L;return(L=c==null?void 0:c.statusIcon)!=null?L:!1}),D=T(()=>(f==null?void 0:f.validateState)||""),X=T(()=>D.value&&xm[D.value]),P=T(()=>S.value?ET:pT),x=T(()=>[o.style]),z=T(()=>[r.inputStyle,O.value,{resize:r.resize}]),ee=T(()=>Mn(r.modelValue)?"":String(r.modelValue)),ge=T(()=>r.clearable&&!p.value&&!r.readonly&&!!ee.value&&(R.value||E.value)),Me=T(()=>r.showPassword&&!p.value&&!r.readonly&&!!ee.value&&(!!ee.value||R.value)),Ne=T(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),Pe=T(()=>ee.value.length),Ee=T(()=>!!Ne.value&&Pe.value>Number(r.maxlength)),Ge=T(()=>!!s.suffix||!!r.suffixIcon||ge.value||r.showPassword||Ne.value||!!D.value&&M.value),[We,Ce]=e4(g);Ft(_,L=>{if(W(),!Ne.value||r.resize!=="both")return;const fe=L[0],{width:_e}=fe.contentRect;b.value={right:`calc(100% - ${_e+15+6}px)`}});const F=()=>{const{type:L,autosize:fe}=r;if(!(!it||L!=="textarea"||!_.value))if(fe){const _e=Ae(fe)?fe.minRows:void 0,Ve=Ae(fe)?fe.maxRows:void 0,Le=mp(_.value,_e,Ve);O.value={overflowY:"hidden",...Le},Fe(()=>{_.value.offsetHeight,O.value=Le})}else O.value={minHeight:mp(_.value).minHeight}},W=(L=>{let fe=!1;return()=>{var _e;if(fe||!r.autosize)return;((_e=_.value)==null?void 0:_e.offsetParent)===null||(L(),fe=!0)}})(F),ne=()=>{const L=A.value,fe=r.formatter?r.formatter(ee.value):ee.value;!L||L.value===
Line truncated
|
||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&TI[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Kp=Symbol("internals");function os(e){return e&&String(e).trim().toLowerCase()}function Ui(e){return e===!1||e==null?e:j.isArray(e)?e.map(Ui):String(e)}function AI(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const xI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Pl(e,t,n,r,o){if(j.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function RI(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function PI(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Ht{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=os(l);if(!c)throw new Error("header name must be a non-empty string");const f=j.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=Ui(a))}const i=(a,l)=>j.forEach(a,(u,c)=>s(u,c,l));if(j.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(j.isString(t)&&(t=t.trim())&&!xI(t))i(OI(t),n);else if(j.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=os(t),t){const r=j.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return AI(o);if(j.isFunction(n))return n.call(this,o,r);if(j.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=os(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Pl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=os(i),i){const a=j.findKey(r,i);a&&(!n||Pl(r,r[a],a,n))&&(delete r[a],o=!0)}}return j.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Pl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return j.forEach(this,(o,s)=>{const i=j.findKey(r,s);if(i){n[i]=Ui(o),delete n[s];return}const a=t?RI(s):String(s).trim();a!==s&&delete n[s],n[a]=Ui(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Kp]=this[Kp]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=os(i);r[a]||(PI(o,i),r[a]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Ht.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(Ht);function Il(e,t){const n=this||si,r=t||n,o=Ht.from(r.headers);let s=r.data;return j.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Jg(e){return!!(e&&e.__CANCEL__)}function Jo(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Jo,xe,{__CANCEL__:!0});function Xg(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function II(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $I(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const v=c&&u-c;return v?Math.round(d*1e3/v):void 0}}function kI(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const ha=(e,t,n=3)=>{let r=0;const o=$I(50,250);return kI(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),c=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Up=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},qp=e=>(...t)=>j.asap(()=>e(...t)),LI=zt.hasStandardBrowserEnv?function(){const t=zt.navigator&&/(msie|trident)/i.test(zt.navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=j.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),MI=zt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),j.isString(r)&&i.push("path="+r),j.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function NI(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function FI(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zg(e,t){return e&&!NI(t)?FI(e,t):t}const Wp=e=>e instanceof Ht?{...e}:e;function io(e,t){t=t||{};const n={};function r(u,c,f){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:f},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function o(u,c,f){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function i(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Wp(u),Wp(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||o,d=f(e[c],t[c],c);j.isUndefined(d)&&f!==a||(n[c]=d)}),n}const Qg=e=>{const t=io({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=Ht.from(i),t.url=Wg(Zg(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));l
Line truncated
|
||||
`+s.map(Jp).join(`
|
||||
`):" "+Jp(s[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Eu};function $l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Jo(null,e)}function Xp(e){return $l(e),e.headers=Ht.from(e.headers),e.data=Il.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ny.getAdapter(e.adapter||si.adapter)(e).then(function(r){return $l(e),r.data=Il.call(e,e.transformResponse,r),r.headers=Ht.from(r.headers),r},function(r){return Jg(r)||($l(e),r&&r.response&&(r.response.data=Il.call(e,e.transformResponse,r.response),r.response.headers=Ht.from(r.response.headers))),Promise.reject(r)})}const ry="1.7.7",jc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Zp={};jc.transitional=function(t,n,r){function o(s,i){return"[Axios v"+ry+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new xe(o(i," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!Zp[i]&&(Zp[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function JI(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new xe("option "+s+" must be "+l,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+s,xe.ERR_BAD_OPTION)}}const Cu={assertOptions:JI,validators:jc},hr=Cu.validators;class eo{constructor(t){this.defaults=t,this.interceptors={request:new Hp,response:new Hp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=io(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Cu.assertOptions(r,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},!1),o!=null&&(j.isFunction(o)?n.paramsSerializer={serialize:o}:Cu.assertOptions(o,{encode:hr.function,serialize:hr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=Ht.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,f=0,d;if(!l){const p=[Xp.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=a.length;let v=n;for(f=0;f<d;){const p=a[f++],h=a[f++];try{v=p(v)}catch(y){h.call(this,y);break}}try{c=Xp.call(this,v)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=io(this.defaults,t);const n=Zg(t.baseURL,t.url);return Wg(n,t.params,t.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(t){eo.prototype[t]=function(n,r){return this.request(io(r||{},{method:t,url:n,data:(r||{}).data}))}});j.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(io(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}eo.prototype[t]=n(),eo.prototype[t+"Form"]=n(!0)});class zc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Jo(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new zc(function(o){t=o}),cancel:t}}}function XI(e){return function(n){return e.apply(null,n)}}function ZI(e){return j.isObject(e)&&e.isAxiosError===!0}const Tu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tu).forEach(([e,t])=>{Tu[t]=e});function oy(e){const t=new eo(e),n=Mg(eo.prototype.request,t);return j.extend(n,eo.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return oy(io(e,o))},n}const mt=oy(si);mt.Axios=eo;mt.CanceledError=Jo;mt.CancelToken=zc;mt.isCancel=Jg;mt.VERSION=ry;mt.toFormData=Za;mt.AxiosError=xe;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=XI;mt.isAxiosError=ZI;mt.mergeConfig=io;mt.AxiosHeaders=Ht;mt.formToJSON=e=>Yg(j.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=ny.getAdapter;mt.HttpStatusCode=Tu;mt.default=mt;function Qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ri(e){for(var t=1;t<arguments.length;t++)
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bo={FRONT:"FRONT",BEHIND:"BEHIND"},zr={INIT:"INIT",FIXED:"FIXED",DYNAMIC:"DYNAMIC"},eh=2,l8=function(){function e(t,n){QI(this,e),this.init(t,n)}return t8(e,[{key:"init",value:function(n,r){this.param=n,this.callUpdate=r,this.sizes=new Map,this.firstRangeTotalSize=0,this.firstRangeAverageSize=0,this.lastCalcIndex=0,this.fixedSizeValue=0,this.calcType=zr.INIT,this.offset=0,this.direction="",this.range=Object.create(null),n&&this.checkRange(0,n.keeps-1)}},{key:"destroy",value:function(){this.init(null,null)}},{key:"getRange",value:function(){var n=Object.create(null);return n.start=this.range.start,n.end=this.range.end,n.padFront=this.range.padFront,n.padBehind=this.range.padBehind,n}},{key:"isBehind",value:function(){return this.direction===bo.BEHIND}},{key:"isFront",value:function(){return this.direction===bo.FRONT}},{key:"getOffset",value:function(n){return(n<1?0:this.getIndexOffset(n))+this.param.slotHeaderSize}},{key:"updateParam",value:function(n,r){var o=this;this.param&&n in this.param&&(n==="uniqueIds"&&this.sizes.forEach(function(s,i){r.includes(i)||o.sizes.delete(i)}),this.param[n]=r)}},{key:"saveSize",value:function(n,r){this.sizes.set(n,r),this.calcType===zr.INIT?(this.fixedSizeValue=r,this.calcType=zr.FIXED):this.calcType===zr.FIXED&&this.fixedSizeValue!==r&&(this.calcType=zr.DYNAMIC,delete this.fixedSizeValue),this.calcType!==zr.FIXED&&typeof this.firstRangeTotalSize<"u"&&(this.sizes.size<Math.min(this.param.keeps,this.param.uniqueIds.length)?(this.firstRangeTotalSize=r8(this.sizes.values()).reduce(function(o,s){return o+s},0),this.firstRangeAverageSize=Math.round(this.firstRangeTotalSize/this.sizes.size)):delete this.firstRangeTotalSize)}},{key:"handleDataSourcesChange",value:function(){var n=this.range.start;this.isFront()?n=n-eh:this.isBehind()&&(n=n+eh),n=Math.max(n,0),this.updateRange(this.range.start,this.getEndByStart(n))}},{key:"handleSlotSizeChange",value:function(){this.handleDataSourcesChange()}},{key:"handleScroll",value:function(n){this.direction=n<this.offset?bo.FRONT:bo.BEHIND,this.offset=n,this.param&&(this.direction===bo.FRONT?this.handleFront():this.direction===bo.BEHIND&&this.handleBehind())}},{key:"handleFront",value:function(){var n=this.getScrollOvers();if(!(n>this.range.start)){var r=Math.max(n-this.param.buffer,0);this.checkRange(r,this.getEndByStart(r))}}},{key:"handleBehind",value:function(){var n=this.getScrollOvers();n<this.range.start+this.param.buffer||this.checkRange(n,this.getEndByStart(n))}},{key:"getScrollOvers",value:function(){var n=this.offset-this.param.slotHeaderSize;if(n<=0)return 0;if(this.isFixedType())return Math.floor(n/this.fixedSizeValue);for(var r=0,o=0,s=0,i=this.param.uniqueIds.length;r<=i;){if(o=r+Math.floor((i-r)/2),s=this.getIndexOffset(o),s===n)return o;s<n?r=o+1:s>n&&(i=o-1)}return r>0?--r:0}},{key:"getIndexOffset",value:function(n){if(!n)return 0;for(var r=0,o=0,s=0;s<n;s++)o=this.sizes.get(this.param.uniqueIds[s]),r=r+(typeof o=="number"?o:this.getEstimateSize());return this.lastCalcIndex=Math.max(this.lastCalcIndex,n-1),this.lastCalcIndex=Math.min(this.lastCalcIndex,this.getLastIndex()),r}},{key:"isFixedType",value:function(){return this.calcType===zr.FIXED}},{key:"getLastIndex",value:function(){return this.param.uniqueIds.length-1}},{key:"checkRange",value:function(n,r){var o=this.param.keeps,s=this.param.uniqueIds.length;s<=o?(n=0,r=this.getLastIndex()):r-n<o-1&&(n=r-o+1),this.range.start!==n&&this.updateRange(n,r)}},{key:"updateRange",value:function(n,r){this.range.start=n,this.range.end=r,this.range.padFront=this.getPadFront(),this.range.padBehind=this.getPadBehind(),this.callUpdate(this.getRange())}},{key:"getEndByStart",value:function(n){var r=n+this.param.keeps-1,o=Math.min(r,this.getLastIndex());return o}},{key:"getPadFront",value:function(){return this.isFixedType()?this.fixedSizeValue*this.range.start:this.getIndexOffset(this.range.start)}},{key:"getPadBehind",value:function(){var n=this.range.end,r=this.getLastIndex();return this.isFixedType()?(r-n)*this.fixedSizeValue:this.lastCalcIndex===r?this.getIndexOffset(r)-this.getIndexOffset(n):(r-n)*this.getEstimateSize()}},{key:"getEstimateSize",value:function(){return this.isFixedType()?this.fixedSizeValue:this.firstRangeAverageSize||this.param.estimateSize}}]),e}(),u8={dataKey:{type:[String,Function],required:!0},dataSources:{type:Array,required:!0,default:function(){return[]}},dataComponent:{type:[Object,Function],required:!0},keeps:{type:Number,default:30},extraProps:{type:Object},estimateSize:{type:Number,default:50},direction:{type:String,default:"vertical"},start:{type:Number,default:0},offset:{type:Number,default:0},topThreshold:{type:Number,default:0},bottomThreshold:{type:Number,default:0},pageMode:{type:Boolean,default:!1},rootTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},wrapClass:{type:String,default:"wrap"},wrapStyle:{type:Object},itemTag:{type:String,default:
Line truncated
|
||||
* pinia v2.2.2
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/let iy;const el=e=>iy=e,ay=Symbol();function Au(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ss;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ss||(Ss={}));function i6(){const e=vh(!0),t=e.run(()=>B({}));let n=[],r=[];const o=Ts({install(s){el(o),o._a=s,s.provide(ay,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!u1?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const ly=()=>{};function nh(e,t,n,r=ly){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Lu()&&Mu(o),o}function wo(e,...t){e.slice().forEach(n=>{n(...t)})}const p8=e=>e(),rh=Symbol(),kl=Symbol();function xu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Au(o)&&Au(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Xn(r)?e[n]=xu(o,r):e[n]=r}return e}const h8=Symbol();function v8(e){return!Au(e)||!e.hasOwnProperty(h8)}const{assign:br}=Object;function m8(e){return!!(Ke(e)&&e.effect)}function g8(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=rr(n.state.value[e]);return br(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Ts(T(()=>{el(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=uy(e,u,t,n,r,!0),l}function uy(e,t,n={},r,o,s){let i;const a=br({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],v;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={}),B({});let h;function y($){let R;u=c=!1,typeof $=="function"?($(r.state.value[e]),R={type:Ss.patchFunction,storeId:e,events:v}):(xu(r.state.value[e],$),R={type:Ss.patchObject,payload:$,storeId:e,events:v});const N=h=Symbol();Fe().then(()=>{h===N&&(u=!0)}),c=!0,wo(f,R,r.state.value[e])}const g=s?function(){const{state:R}=n,N=R?R():{};this.$patch(U=>{br(U,N)})}:ly;function _(){i.stop(),f=[],d=[],r._s.delete(e)}const E=($,R="")=>{if(rh in $)return $[kl]=R,$;const N=function(){el(r);const U=Array.from(arguments),M=[],D=[];function X(z){M.push(z)}function P(z){D.push(z)}wo(d,{args:U,name:N[kl],store:b,after:X,onError:P});let x;try{x=$.apply(this&&this.$id===e?this:b,U)}catch(z){throw wo(D,z),z}return x instanceof Promise?x.then(z=>(wo(M,z),z)).catch(z=>(wo(D,z),Promise.reject(z))):(wo(M,x),x)};return N[rh]=!0,N[kl]=R,N},S={_p:r,$id:e,$onAction:nh.bind(null,d),$patch:y,$reset:g,$subscribe($,R={}){const N=nh(f,$,R.detached,()=>U()),U=i.run(()=>me(()=>r.state.value[e],M=>{(R.flush==="sync"?c:u)&&$({storeId:e,type:Ss.direct,events:v},M)},br({},l,R)));return N},$dispose:_},b=St(S);r._s.set(e,b);const A=(r._a&&r._a.runWithContext||p8)(()=>r._e.run(()=>(i=vh()).run(()=>t({action:E}))));for(const $ in A){const R=A[$];if(Ke(R)&&!m8(R)||Xn(R))s||(p&&v8(R)&&(Ke(R)?R.value=p[$]:xu(R,p[$])),r.state.value[e][$]=R);else if(typeof R=="function"){const N=E(R,$);A[$]=N,a.actions[$]=R}}return br(b,A),br($e(b),A),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:$=>{y(R=>{br(R,$)})}}),r._p.forEach($=>{br(b,i.run(()=>$({store:b,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),u=!0,c=!0,b}function a6(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const u=zb();return a=a||(u?Se(ay,null):null),a&&el(a),a=iy,a._s.has(r)||(s?uy(r,t,o,a):g8(r,o,a)),a._s.get(r)}return i.$id=r,i}function l6(e){{e=$e(e);const t={};for(const n in e){const r=e[n];(Ke(r)||Xn(r))&&(t[n]=nn(e,n))}return t}}const Ll=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Ml(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function ss(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on".concat(t),n)}function cy(e,t){const n=t.slice(0,t.length-1);for(let r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function fy(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");const t=e.split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function y8(e,t){const n=e.length>=t.length?e:t,r=e.length>=t.length?t:e;let o=!0;for(let s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(o=!1);return o}const Ks={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Ll?173:189,"=":Ll?61:187,";":Ll?59:186,"'":222,"[":219,"]":221,"\\":220},Dn={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:Line truncated
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* @vue/shared v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function Bu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ye={},xo=[],ht=()=>{},jy=()=>!1,ba=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Du=e=>e.startsWith("onUpdate:"),dt=Object.assign,Vu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zy=Object.prototype.hasOwnProperty,je=(e,t)=>zy.call(e,t),he=Array.isArray,Ro=e=>Gs(e)==="[object Map]",wa=e=>Gs(e)==="[object Set]",Zc=e=>Gs(e)==="[object Date]",me=e=>typeof e=="function",Te=e=>typeof e=="string",Fn=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Yi=e=>(Ae(e)||me(e))&&me(e.then)&&me(e.catch),dh=Object.prototype.toString,Gs=e=>dh.call(e),Li=e=>Gs(e).slice(8,-1),ph=e=>Gs(e)==="[object Object]",ju=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cs=Bu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sa=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hy=/-(\w)/g,en=Sa(e=>e.replace(Hy,(t,n)=>n?n.toUpperCase():"")),Ky=/\B([A-Z])/g,rr=Sa(e=>e.replace(Ky,"-$1").toLowerCase()),Ys=Sa(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mi=Sa(e=>e?`on${Ys(e)}`:""),xr=(e,t)=>!Object.is(e,t),Ni=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ul=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Uy=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let Qc;const vh=()=>Qc||(Qc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Te(r)?Yy(r):it(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Te(e)||Ae(e))return e}const qy=/;(?![^(]*\))/g,Wy=/:([^]+)/,Gy=/\/\*[^]*?\*\//g;function Yy(e){const t={};return e.replace(Gy,"").split(qy).forEach(n=>{if(n){const r=n.split(Wy);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function j(e){let t="";if(Te(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=j(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Jy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xy=Bu(Jy);function mh(e){return!!e||e===""}function Zy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=_a(e[r],t[r]);return n}function _a(e,t){if(e===t)return!0;let n=Zc(e),r=Zc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Fn(e),r=Fn(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?Zy(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!_a(e[i],t[i]))return!1}}return String(e)===String(t)}function gh(e,t){return e.findIndex(n=>_a(n,t))}const yh=e=>!!(e&&e.__v_isRef===!0),He=e=>Te(e)?e:e==null?"":he(e)||Ae(e)&&(e.toString===dh||!me(e.toString))?yh(e)?He(e.value):JSON.stringify(e,bh,2):String(e),bh=(e,t)=>yh(t)?bh(e,t.value):Ro(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[cl(r,s)+" =>"]=o,n),{})}:wa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cl(n))}:Fn(t)?cl(t):Ae(t)&&!he(t)&&!ph(t)?String(t):t,cl=(e,t="")=>{var n;return Fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||||
* @vue/reactivity v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let kt;class wh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Sh(e){return new wh(e)}function Ea(){return kt}function Ca(e,t=!1){kt&&kt.cleanups.push(e)}let nt;const fl=new WeakSet;class _h{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,kt&&kt.active&&kt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fl.has(this)&&(fl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ef(this),Th(this);const t=nt,n=gn;nt=this,gn=!0;try{return this.fn()}finally{Oh(this),nt=t,gn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ku(t);this.deps=this.depsTail=void 0,ef(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ql(this)&&this.run()}get dirty(){return ql(this)}}let Eh=0,Oo;function Ch(e){e.flags|=8,e.next=Oo,Oo=e}function zu(){Eh++}function Hu(){if(--Eh>0)return;let e;for(;Oo;){let t=Oo,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=Oo,Oo=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Th(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Ku(r),Qy(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ql(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ah(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ah(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ts))return;e.globalVersion=Ts;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ql(e)){e.flags&=-3;return}const n=nt,r=gn;nt=e,gn=!0;try{Th(e);const o=e.fn(e._value);(t.version===0||xr(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{nt=n,gn=r,Oh(e),e.flags&=-3}}function Ku(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ku(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Qy(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gn=!0;const xh=[];function Pr(){xh.push(gn),gn=!1}function Ir(){const e=xh.pop();gn=e===void 0?!0:e}function ef(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=nt;nt=void 0;try{t()}finally{nt=n}}}let Ts=0,eb=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Ta{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!nt||!gn||nt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==nt)n=this.activeLink=new eb(nt,this),nt.deps?(n.prevDep=nt.depsTail,nt.depsTail.nextDep=n,nt.depsTail=n):nt.deps=nt.depsTail=n,Rh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=nt.depsTail,n.nextDep=void 0,nt.depsTail.nextDep=n,nt.depsTail=n,nt.deps===n&&(nt.deps=r)}return n}trigger(t){this.version++,Ts++,this.notify(t)}notify(t){zu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Hu()}}}function Rh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Rh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ji=new WeakMap,Jr=Symbol(""),Line truncated
|
||||
* @vue/runtime-core v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function Js(e,t,n,r){try{return r?e(...r):e()}catch(o){xa(o,t,n)}}function wn(e,t,n,r){if(me(e)){const o=Js(e,t,n,r);return o&&Yi(o)&&o.catch(s=>{xa(s,t,n)}),o}if(he(e)){const o=[];for(let s=0;s<e.length;s++)o.push(wn(e[s],t,n,r));return o}}function xa(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){Pr(),Js(s,null,10,[e,l,u]),Ir();return}}Ib(e,n,o,r,i)}function Ib(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}let xs=!1,Gl=!1;const Lt=[];let Rn=0;const Po=[];let Sr=null,_o=0;const Dh=Promise.resolve();let Xu=null;function $e(e){const t=Xu||Dh;return e?t.then(this?e.bind(this):e):t}function $b(e){let t=xs?Rn+1:0,n=Lt.length;for(;t<n;){const r=t+n>>>1,o=Lt[r],s=Rs(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Zu(e){if(!(e.flags&1)){const t=Rs(e),n=Lt[Lt.length-1];!n||!(e.flags&2)&&t>=Rs(n)?Lt.push(e):Lt.splice($b(t),0,e),e.flags|=1,Vh()}}function Vh(){!xs&&!Gl&&(Gl=!0,Xu=Dh.then(zh))}function kb(e){he(e)?Po.push(...e):Sr&&e.id===-1?Sr.splice(_o+1,0,e):e.flags&1||(Po.push(e),e.flags|=1),Vh()}function af(e,t,n=xs?Rn+1:0){for(;n<Lt.length;n++){const r=Lt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Lt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function jh(e){if(Po.length){const t=[...new Set(Po)].sort((n,r)=>Rs(n)-Rs(r));if(Po.length=0,Sr){Sr.push(...t);return}for(Sr=t,_o=0;_o<Sr.length;_o++){const n=Sr[_o];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Sr=null,_o=0}}const Rs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zh(e){Gl=!1,xs=!0;try{for(Rn=0;Rn<Lt.length;Rn++){const t=Lt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Js(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rn<Lt.length;Rn++){const t=Lt[Rn];t&&(t.flags&=-2)}Rn=0,Lt.length=0,jh(),xs=!1,Xu=null,(Lt.length||Po.length)&&zh()}}let pt=null,Hh=null;function Zi(e){const t=pt;return pt=e,Hh=e&&e.type.__scopeId||null,t}function ue(e,t=pt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&wf(-1);const s=Zi(t);let i;try{i=e(...o)}finally{Zi(s),r._d&&wf(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ct(e,t){if(pt===null)return e;const n=Fa(pt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ye]=t[o];s&&(me(s)&&(s={mounted:s,updated:s}),s.deep&&Wn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Br(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Pr(),wn(l,n,8,[e.el,a,e,t]),Ir())}}const Kh=Symbol("_vte"),Uh=e=>e.__isTeleport,fs=e=>e&&(e.disabled||e.disabled===""),Lb=e=>e&&(e.defer||e.defer===""),lf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yl=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},Mb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:v,querySelector:p,createText:h,createComment:y}}=u,m=fs(t.props);let{shapeFlag:_,children:E,dynamicChildren:w}=t;if(e==null){const b=t.el=h(""),O=t.anchor=h("");v(b,n,r),v(O,n,r);const A=(R,I)=>{_&16&&(o&&o.isCE&&(o.ce._teleportTarget=R),c(E,R,I,o,s,i,a,l))},P=()=>{const R=t.target=Yl(t.props,p),I=qh(R,t,h,v);R&&(i!=="svg"&&lf(R)?i="svg":i!=="mathml"&&uf(R)&&(i="mathml"),m||(A(R,I),Fi(t)))};m&&(A(n,O),Fi(t)),Lb(t.props)?Nt(P,s):P()}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,O=t.target=e.target,A=t.targetAnchor=e.targetAnchor,P=fs(e.props),R=P?n:O,I=P?b:A;if(i==="svg"||lf(O)?i="svg":(i==="mathml"||uf(O))&&(i="mathml"),w?(d(e.dynamicChildren,w,R,o,s,i,a),sc(e,t,!0)):l||f(e,t,R,I,o,s,i,a,!1),m)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gi(t,n,b,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Yl(t.props,p);N&&gi(t,N,null,u,0)}else P&&gi(t,O,A,u,1);Fi(t)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),s&&o(l),i&16){const v=s||!fs(d);for(let p=0;p<a.length;p++){const h=a[p];r(h,t,n,v,!!h.dynamicChildren)}}},move:gi,hydrate:Nb};function gi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),(!f||fs(c))&&l&16)for(let d=0;d<u.length;d++)o(u[d],t,n,2);f&&r(a,t,n)}function Nb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=Yl(t.props,l);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(fs(t.props))t.anchor=f(i(e),t,a(e),n,r,o,s),t.targetStart=v,t.targetAnchor=v&&i(v);else{t.anchor=i(e);let p=v;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.target
Line truncated
|
||||
* @vue/runtime-dom v3.5.10
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let nu;const Cf=typeof window<"u"&&window.trustedTypes;if(Cf)try{nu=Cf.createPolicy("vue",{createHTML:e=>e})}catch{}const Cv=nu?e=>nu.createHTML(e):e=>e,B0="http://www.w3.org/2000/svg",D0="http://www.w3.org/1998/Math/MathML",Kn=typeof document<"u"?document:null,Tf=Kn&&Kn.createElement("template"),V0={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 o=t==="svg"?Kn.createElementNS(B0,e):t==="mathml"?Kn.createElementNS(D0,e):n?Kn.createElement(e,{is:n}):Kn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Kn.createTextNode(e),createComment:e=>Kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Tf.innerHTML=Cv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Tf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dr="transition",ts="animation",ko=Symbol("_vtc"),Tv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ov=dt({},Gh,Tv),j0=e=>(e.displayName="Transition",e.props=Ov,e),kr=j0((e,{slots:t})=>Gn(Db,Av(e),t)),Vr=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Of=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Av(e){const t={};for(const L in e)L in Tv||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,p=z0(o),h=p&&p[0],y=p&&p[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:E,onLeave:w,onLeaveCancelled:b,onBeforeAppear:O=m,onAppear:A=_,onAppearCancelled:P=E}=t,R=(L,D,X)=>{mr(L,D?c:a),mr(L,D?u:i),X&&X()},I=(L,D)=>{L._isLeaving=!1,mr(L,f),mr(L,v),mr(L,d),D&&D()},N=L=>(D,X)=>{const $=L?A:_,x=()=>R(D,L,X);Vr($,[D,x]),Af(()=>{mr(D,L?l:s),Hn(D,L?c:a),Of($)||xf(D,r,h,x)})};return dt(t,{onBeforeEnter(L){Vr(m,[L]),Hn(L,s),Hn(L,i)},onBeforeAppear(L){Vr(O,[L]),Hn(L,l),Hn(L,u)},onEnter:N(!1),onAppear:N(!0),onLeave(L,D){L._isLeaving=!0;const X=()=>I(L,D);Hn(L,f),Hn(L,d),Rv(),Af(()=>{L._isLeaving&&(mr(L,f),Hn(L,v),Of(w)||xf(L,r,y,X))}),Vr(w,[L,X])},onEnterCancelled(L){R(L,!1),Vr(E,[L])},onAppearCancelled(L){R(L,!0),Vr(P,[L])},onLeaveCancelled(L){I(L),Vr(b,[L])}})}function z0(e){if(e==null)return null;if(Ae(e))return[yl(e.enter),yl(e.leave)];{const t=yl(e);return[t,t]}}function yl(e){return Uy(e)}function Hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ko]||(e[ko]=new Set)).add(t)}function mr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ko];n&&(n.delete(t),n.size||(e[ko]=void 0))}function Af(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let H0=0;function xf(e,t,n,r){const o=e._endId=++H0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=xv(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=v=>{v.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function xv(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${dr}Delay`),s=r(`${dr}Duration`),i=Rf(o,s),a=r(`${ts}Delay`),l=r(`${ts}Duration`),u=Rf(a,l);let c=null,f=0,d=0;t===dr?i>0&&(c=dr,f=i,d=s.length):t===ts?u>0&&(c=ts,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?dr:ts:null,d=c?c===dr?s.length:l.length:0);const v=c===dr&&/\b(transform|all)(,|$)/.test(r(`${dr}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:v}}function Rf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Pf(n)+Pf(e[r])))}function Pf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Rv(){return document.body.offsetHeight}function K0(e,t,n){const r=e[ko];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ta=Symbol("_vod"),Pv=Symbol("_vsh"),Xt={beforeMount(e,{value:t},{transition:n}){e[ta]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ns(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ns(e,!0
Line truncated
|
||||
* vue-router v4.4.5
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/const Eo=typeof document<"u";function Nv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ww(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Nv(e.default)}const qe=Object.assign;function Sl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Sn(o)?o.map(e):e(o)}return n}const hs=()=>{},Sn=Array.isArray,Fv=/#/g,Sw=/&/g,_w=/\//g,Ew=/=/g,Cw=/\?/g,Bv=/\+/g,Tw=/%5B/g,Ow=/%5D/g,Dv=/%5E/g,Aw=/%60/g,Vv=/%7B/g,xw=/%7C/g,jv=/%7D/g,Rw=/%20/g;function ac(e){return encodeURI(""+e).replace(xw,"|").replace(Tw,"[").replace(Ow,"]")}function Pw(e){return ac(e).replace(Vv,"{").replace(jv,"}").replace(Dv,"^")}function ou(e){return ac(e).replace(Bv,"%2B").replace(Rw,"+").replace(Fv,"%23").replace(Sw,"%26").replace(Aw,"`").replace(Vv,"{").replace(jv,"}").replace(Dv,"^")}function Iw(e){return ou(e).replace(Ew,"%3D")}function $w(e){return ac(e).replace(Fv,"%23").replace(Cw,"%3F")}function kw(e){return e==null?"":$w(e).replace(_w,"%2F")}function $s(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lw=/\/$/,Mw=e=>e.replace(Lw,"");function _l(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Dw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:$s(i)}}function Nw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Fw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Lo(t.matched[r],n.matched[o])&&zv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bw(e[n],t[n]))return!1;return!0}function Bw(e,t){return Sn(e)?Kf(e,t):Sn(t)?Kf(t,e):e===t}function Kf(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Dw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const pr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ks;(function(e){e.pop="pop",e.push="push"})(ks||(ks={}));var vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vs||(vs={}));function Vw(e){if(!e)if(Eo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Mw(e)}const jw=/^[^#]+#/;function zw(e,t){return e.replace(jw,"#")+t}function Hw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ba=()=>({left:window.scrollX,top:window.scrollY});function Kw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Hw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Uf(e,t){return(history.state?history.state.position-t:-1)+e}const su=new Map;function Uw(e,t){su.set(e,t)}function qw(e){const t=su.get(e);return su.delete(e),t}let Ww=()=>location.protocol+"//"+location.host;function Hv(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Hf(l,"")}return Hf(n,e)+r+o}function Gw(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=Hv(e,location),p=n.value,h=t.value;let y=0;if(d){if(n.value=v,t.value=d,i&&i===p){i=null;return}y=h?d.position-h.position:0}else r(v);o.forEach(m=>{m(n.value,p,{delta:y,type:ks.pop,direction:y?y>0?vs.forward:vs.back:vs.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(qe({},d.state,{scroll:Ba()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function qf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ba():null}}function Yw(e){const{history:t,location:n}=window,r={value:Hv(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scLine truncated
|
||||
(?:
|
||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),a=new RegExp("^"+o+"$"),l=function(w){return w&&w.exact?s:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+o+t(w)+")","g")};l.v4=function(E){return E&&E.exact?i:new RegExp(""+t(E)+n+t(E),"g")},l.v6=function(E){return E&&E.exact?a:new RegExp(""+t(E)+o+t(E),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',_="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+p+h+")"+y+m;return Ei=new RegExp("(?:^"+_+"$)","i"),Ei},yp={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},us={integer:function(t){return us.number(t)&&parseInt(t,10)===t},float:function(t){return us.number(t)&&!us.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!us.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(yp.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Y4())},hex:function(t){return typeof t=="string"&&!!t.match(yp.hex)}},J4=function(t,n,r,o,s){if(t.required&&n===void 0){ug(t,n,r,o,s);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;i.indexOf(a)>-1?us[a](n)||o.push(Jt(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Jt(s.messages.types[a],t.fullField,t.type))},X4=function(t,n,r,o,s){var i=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",v=typeof n=="string",p=Array.isArray(n);if(d?f="number":v?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Jt(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Jt(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Jt(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Jt(s.messages[f].range,t.fullField,t.min,t.max))},go="enum",Z4=function(t,n,r,o,s){t[go]=Array.isArray(t[go])?t[go]:[],t[go].indexOf(n)===-1&&o.push(Jt(s.messages[go],t.fullField,t[go].join(", ")))},Q4=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},De={required:ug,whitespace:G4,type:J4,range:X4,enum:Z4,pattern:Q4},eA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n,"string")&&!t.required)return r();De.required(t,n,o,i,s,"string"),vt(n,"string")||(De.type(t,n,o,i,s),De.range(t,n,o,i,s),De.pattern(t,n,o,i,s),t.whitespace===!0&&De.whitespace(t,n,o,i,s))}r(i)},tA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},nA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},rA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},oA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),vt(n)||De.type(t,n,o,i,s)}r(i)},sA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},iA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},aA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();De.required(t,n,o,i,s,"array"),n!=null&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},lA=function(t,n,r,o,s){var
Line truncated
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
${tS()?"":"overflow:hidden !important;"}
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
`,SA=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function _A(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:SA.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function wp(e,t=1,n){var r;dn||(dn=document.createElement("textarea"),document.body.appendChild(dn));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=_A(e);dn.setAttribute("style",`${a};${wA}`),dn.value=e.value||e.placeholder||"";let l=dn.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),dn.value="";const c=dn.scrollHeight-o;if(ze(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(ze(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=dn.parentNode)==null||r.removeChild(dn),dn=void 0,u}const EA=Re({id:{type:String,default:void 0},size:ho,disabled:Boolean,modelValue:{type:ye([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ye([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Dt},prefixIcon:{type:Dt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ye([Object,Array,String]),default:()=>Ga({})},autofocus:Boolean,rows:{type:Number,default:2},...lr(["ariaLabel"])}),CA={[st]:e=>Te(e),input:e=>Te(e),change:e=>Te(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},TA=J({name:"ElInput",inheritAttrs:!1}),OA=J({...TA,props:EA,emits:CA,setup(e,{expose:t,emit:n}){const r=e,o=Yb(),s=uo(),i=T(()=>{const F={};return r.containerRole==="combobox"&&(F["aria-haspopup"]=o["aria-haspopup"],F["aria-owns"]=o["aria-owns"],F["aria-expanded"]=o["aria-expanded"]),F}),a=T(()=>[r.type==="textarea"?y.b():h.b(),h.m(v.value),h.is("disabled",p.value),h.is("exceed",Ee.value),{[h.b("group")]:s.prepend||s.append,[h.m("prefix")]:s.prefix||r.prefixIcon,[h.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[h.bm("suffix","password-clear")]:ge.value&&Ne.value,[h.b("hidden")]:r.type==="hidden"},o.class]),l=T(()=>[h.e("wrapper"),h.is("focus",R.value)]),u=GT({excludeKeys:T(()=>Object.keys(i.value))}),{form:c,formItem:f}=Nr(),{inputId:d}=ri(r,{formItemContext:f}),v=En(),p=Go(),h=Le("input"),y=Le("textarea"),m=Zn(),_=Zn(),E=B(!1),w=B(!1),b=B(),O=Zn(r.inputStyle),A=T(()=>m.value||_.value),{wrapperRef:P,isFocused:R,handleFocus:I,handleBlur:N}=og(A,{beforeFocus(){return p.value},afterBlur(){var F;r.validateEvent&&((F=f==null?void 0:f.validate)==null||F.call(f,"blur").catch(fe=>void 0))}}),L=T(()=>{var F;return(F=c==null?void 0:c.statusIcon)!=null?F:!1}),D=T(()=>(f==null?void 0:f.validateState)||""),X=T(()=>D.value&&Lm[D.value]),$=T(()=>w.value?BT:xT),x=T(()=>[o.style]),H=T(()=>[r.inputStyle,O.value,{resize:r.resize}]),ee=T(()=>Mn(r.modelValue)?"":String(r.modelValue)),ge=T(()=>r.clearable&&!p.value&&!r.readonly&&!!ee.value&&(R.value||E.value)),Ne=T(()=>r.showPassword&&!p.value&&!r.readonly&&!!ee.value&&(!!ee.value||R.value)),Fe=T(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),Pe=T(()=>ee.value.length),Ee=T(()=>!!Fe.value&&Pe.value>Number(r.maxlength)),Ge=T(()=>!!s.suffix||!!r.suffixIcon||ge.value||r.showPassword||Fe.value||!!D.value&&L.value),[We,Ce]=v4(m);Ft(_,F=>{if(W(),!Fe.value||r.resize!=="both")return;const fe=F[0],{width:_e}=fe.contentRect;b.value={right:`calc(100% - ${_e+15+6}px)`}});const V=()=>{const{type:F,autosize:fe}=r;if(!(!at||F!=="textarea"||!_.value))if(fe){const _e=Ae(fe)?fe.minRows:void 0,Ve=Ae(fe)?fe.maxRows:void 0,Me=wp(_.value,_e,Ve);O.value={overflowY:"hidden",...Me},$e(()=>{_.value.offsetHeight,O.value=Me})}else O.value={minHeight:wp(_.value).minHeight}},W=(F=>{let fe=!1;return()=>{var _e;if(fe||!r.autosize)return;((_e=_.value)==null?void 0:_e.offsetParent)===null||(F(),fe=!0)}})(V),ne=()=>{const F=A.value,fe=r.formatter?r.formatter(ee.value):ee.value;!F||F.value===
Line truncated
|
||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&VI[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Gp=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Gi(e){return e===!1||e==null?e:z.isArray(e)?e.map(Gi):String(e)}function zI(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const HI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bl(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function KI(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function UI(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Ht{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=is(l);if(!c)throw new Error("header name must be a non-empty string");const f=z.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=Gi(a))}const i=(a,l)=>z.forEach(a,(u,c)=>s(u,c,l));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(z.isString(t)&&(t=t.trim())&&!HI(t))i(jI(t),n);else if(z.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=is(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return zI(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=is(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=is(i),i){const a=z.findKey(r,i);a&&(!n||Bl(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Bl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=Gi(o),delete n[s];return}const a=t?KI(s):String(s).trim();a!==s&&delete n[s],n[a]=Gi(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Gp]=this[Gp]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=is(i);r[a]||(UI(o,i),r[a]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Ht.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Ht);function Dl(e,t){const n=this||ii,r=t||n,o=Ht.from(r.headers);let s=r.data;return z.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function ny(e){return!!(e&&e.__CANCEL__)}function Zo(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(Zo,xe,{__CANCEL__:!0});function ry(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function qI(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function WI(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const v=c&&u-c;return v?Math.round(d*1e3/v):void 0}}function GI(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const ga=(e,t,n=3)=>{let r=0;const o=WI(50,250);return GI(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),c=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Yp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Jp=e=>(...t)=>z.asap(()=>e(...t)),YI=zt.hasStandardBrowserEnv?function(){const t=zt.navigator&&/(msie|trident)/i.test(zt.navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=z.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),JI=zt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function XI(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ZI(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function oy(e,t){return e&&!XI(t)?ZI(e,t):t}const Xp=e=>e instanceof Ht?{...e}:e;function io(e,t){t=t||{};const n={};function r(u,c,f){return z.isPlainObject(u)&&z.isPlainObject(c)?z.merge.call({caseless:f},u,c):z.isPlainObject(c)?z.merge({},c):z.isArray(c)?c.slice():c}function o(u,c,f){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function s(u,c){if(!z.isUndefined(c))return r(void 0,c)}function i(u,c){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Xp(u),Xp(c),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||o,d=f(e[c],t[c],c);z.isUndefined(d)&&f!==a||(n[c]=d)}),n}const sy=e=>{const t=io({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=Ht.from(i),t.url=Qg(oy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));l
Line truncated
|
||||
`+s.map(eh).join(`
|
||||
`):" "+eh(s[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Iu};function Vl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zo(null,e)}function th(e){return Vl(e),e.headers=Ht.from(e.headers),e.data=Dl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ly.getAdapter(e.adapter||ii.adapter)(e).then(function(r){return Vl(e),r.data=Dl.call(e,e.transformResponse,r),r.headers=Ht.from(r.headers),r},function(r){return ny(r)||(Vl(e),r&&r.response&&(r.response.data=Dl.call(e,e.transformResponse,r.response),r.response.headers=Ht.from(r.response.headers))),Promise.reject(r)})}const uy="1.7.7",Uc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Uc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const nh={};Uc.transitional=function(t,n,r){function o(s,i){return"[Axios v"+uy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new xe(o(i," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!nh[i]&&(nh[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function f8(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new xe("option "+s+" must be "+l,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+s,xe.ERR_BAD_OPTION)}}const $u={assertOptions:f8,validators:Uc},vr=$u.validators;class eo{constructor(t){this.defaults=t,this.interceptors={request:new Wp,response:new Wp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=io(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&$u.assertOptions(r,{silentJSONParsing:vr.transitional(vr.boolean),forcedJSONParsing:vr.transitional(vr.boolean),clarifyTimeoutError:vr.transitional(vr.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:$u.assertOptions(o,{encode:vr.function,serialize:vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=Ht.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,f=0,d;if(!l){const p=[th.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=a.length;let v=n;for(f=0;f<d;){const p=a[f++],h=a[f++];try{v=p(v)}catch(y){h.call(this,y);break}}try{c=th.call(this,v)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=io(this.defaults,t);const n=oy(t.baseURL,t.url);return Qg(n,t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(t){eo.prototype[t]=function(n,r){return this.request(io(r||{},{method:t,url:n,data:(r||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(io(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}eo.prototype[t]=n(),eo.prototype[t+"Form"]=n(!0)});class qc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Zo(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qc(function(o){t=o}),cancel:t}}}function d8(e){return function(n){return e.apply(null,n)}}function p8(e){return z.isObject(e)&&e.isAxiosError===!0}const ku={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ku).forEach(([e,t])=>{ku[t]=e});function cy(e){const t=new eo(e),n=jg(eo.prototype.request,t);return z.extend(n,eo.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return cy(io(e,o))},n}const mt=cy(ii);mt.Axios=eo;mt.CanceledError=Zo;mt.CancelToken=qc;mt.isCancel=ny;mt.VERSION=uy;mt.toFormData=sl;mt.AxiosError=xe;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=d8;mt.isAxiosError=p8;mt.mergeConfig=io;mt.AxiosHeaders=Ht;mt.formToJSON=e=>ty(z.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=ly.getAdapter;mt.HttpStatusCode=ku;mt.default=mt;function rh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Pi(e){for(var t=1;t<arguments.length;t++)
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wo={FRONT:"FRONT",BEHIND:"BEHIND"},zr={INIT:"INIT",FIXED:"FIXED",DYNAMIC:"DYNAMIC"},oh=2,E8=function(){function e(t,n){h8(this,e),this.init(t,n)}return m8(e,[{key:"init",value:function(n,r){this.param=n,this.callUpdate=r,this.sizes=new Map,this.firstRangeTotalSize=0,this.firstRangeAverageSize=0,this.lastCalcIndex=0,this.fixedSizeValue=0,this.calcType=zr.INIT,this.offset=0,this.direction="",this.range=Object.create(null),n&&this.checkRange(0,n.keeps-1)}},{key:"destroy",value:function(){this.init(null,null)}},{key:"getRange",value:function(){var n=Object.create(null);return n.start=this.range.start,n.end=this.range.end,n.padFront=this.range.padFront,n.padBehind=this.range.padBehind,n}},{key:"isBehind",value:function(){return this.direction===wo.BEHIND}},{key:"isFront",value:function(){return this.direction===wo.FRONT}},{key:"getOffset",value:function(n){return(n<1?0:this.getIndexOffset(n))+this.param.slotHeaderSize}},{key:"updateParam",value:function(n,r){var o=this;this.param&&n in this.param&&(n==="uniqueIds"&&this.sizes.forEach(function(s,i){r.includes(i)||o.sizes.delete(i)}),this.param[n]=r)}},{key:"saveSize",value:function(n,r){this.sizes.set(n,r),this.calcType===zr.INIT?(this.fixedSizeValue=r,this.calcType=zr.FIXED):this.calcType===zr.FIXED&&this.fixedSizeValue!==r&&(this.calcType=zr.DYNAMIC,delete this.fixedSizeValue),this.calcType!==zr.FIXED&&typeof this.firstRangeTotalSize<"u"&&(this.sizes.size<Math.min(this.param.keeps,this.param.uniqueIds.length)?(this.firstRangeTotalSize=y8(this.sizes.values()).reduce(function(o,s){return o+s},0),this.firstRangeAverageSize=Math.round(this.firstRangeTotalSize/this.sizes.size)):delete this.firstRangeTotalSize)}},{key:"handleDataSourcesChange",value:function(){var n=this.range.start;this.isFront()?n=n-oh:this.isBehind()&&(n=n+oh),n=Math.max(n,0),this.updateRange(this.range.start,this.getEndByStart(n))}},{key:"handleSlotSizeChange",value:function(){this.handleDataSourcesChange()}},{key:"handleScroll",value:function(n){this.direction=n<this.offset?wo.FRONT:wo.BEHIND,this.offset=n,this.param&&(this.direction===wo.FRONT?this.handleFront():this.direction===wo.BEHIND&&this.handleBehind())}},{key:"handleFront",value:function(){var n=this.getScrollOvers();if(!(n>this.range.start)){var r=Math.max(n-this.param.buffer,0);this.checkRange(r,this.getEndByStart(r))}}},{key:"handleBehind",value:function(){var n=this.getScrollOvers();n<this.range.start+this.param.buffer||this.checkRange(n,this.getEndByStart(n))}},{key:"getScrollOvers",value:function(){var n=this.offset-this.param.slotHeaderSize;if(n<=0)return 0;if(this.isFixedType())return Math.floor(n/this.fixedSizeValue);for(var r=0,o=0,s=0,i=this.param.uniqueIds.length;r<=i;){if(o=r+Math.floor((i-r)/2),s=this.getIndexOffset(o),s===n)return o;s<n?r=o+1:s>n&&(i=o-1)}return r>0?--r:0}},{key:"getIndexOffset",value:function(n){if(!n)return 0;for(var r=0,o=0,s=0;s<n;s++)o=this.sizes.get(this.param.uniqueIds[s]),r=r+(typeof o=="number"?o:this.getEstimateSize());return this.lastCalcIndex=Math.max(this.lastCalcIndex,n-1),this.lastCalcIndex=Math.min(this.lastCalcIndex,this.getLastIndex()),r}},{key:"isFixedType",value:function(){return this.calcType===zr.FIXED}},{key:"getLastIndex",value:function(){return this.param.uniqueIds.length-1}},{key:"checkRange",value:function(n,r){var o=this.param.keeps,s=this.param.uniqueIds.length;s<=o?(n=0,r=this.getLastIndex()):r-n<o-1&&(n=r-o+1),this.range.start!==n&&this.updateRange(n,r)}},{key:"updateRange",value:function(n,r){this.range.start=n,this.range.end=r,this.range.padFront=this.getPadFront(),this.range.padBehind=this.getPadBehind(),this.callUpdate(this.getRange())}},{key:"getEndByStart",value:function(n){var r=n+this.param.keeps-1,o=Math.min(r,this.getLastIndex());return o}},{key:"getPadFront",value:function(){return this.isFixedType()?this.fixedSizeValue*this.range.start:this.getIndexOffset(this.range.start)}},{key:"getPadBehind",value:function(){var n=this.range.end,r=this.getLastIndex();return this.isFixedType()?(r-n)*this.fixedSizeValue:this.lastCalcIndex===r?this.getIndexOffset(r)-this.getIndexOffset(n):(r-n)*this.getEstimateSize()}},{key:"getEstimateSize",value:function(){return this.isFixedType()?this.fixedSizeValue:this.firstRangeAverageSize||this.param.estimateSize}}]),e}(),C8={dataKey:{type:[String,Function],required:!0},dataSources:{type:Array,required:!0,default:function(){return[]}},dataComponent:{type:[Object,Function],required:!0},keeps:{type:Number,default:30},extraProps:{type:Object},estimateSize:{type:Number,default:50},direction:{type:String,default:"vertical"},start:{type:Number,default:0},offset:{type:Number,default:0},topThreshold:{type:Number,default:0},bottomThreshold:{type:Number,default:0},pageMode:{type:Boolean,default:!1},rootTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},wrapClass:{type:String,default:"wrap"},wrapStyle:{type:Object},itemTag:{type:String,default:
Line truncated
|
||||
* pinia v2.2.4
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/let dy;const al=e=>dy=e,py=Symbol();function Mu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Es;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Es||(Es={}));function V$(){const e=Sh(!0),t=e.run(()=>B({}));let n=[],r=[];const o=As({install(s){al(o),o._a=s,s.provide(py,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!C1?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const hy=()=>{};function ih(e,t,n,r=hy){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ea()&&Ca(o),o}function So(e,...t){e.slice().forEach(n=>{n(...t)})}const x8=e=>e(),ah=Symbol(),jl=Symbol();function Nu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Mu(o)&&Mu(r)&&e.hasOwnProperty(n)&&!Ue(r)&&!Xn(r)?e[n]=Nu(o,r):e[n]=r}return e}const R8=Symbol();function P8(e){return!Mu(e)||!e.hasOwnProperty(R8)}const{assign:wr}=Object;function I8(e){return!!(Ue(e)&&e.effect)}function $8(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=or(n.state.value[e]);return wr(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=As(T(()=>{al(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=vy(e,u,t,n,r,!0),l}function vy(e,t,n={},r,o,s){let i;const a=wr({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],v;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={}),B({});let h;function y(P){let R;u=c=!1,typeof P=="function"?(P(r.state.value[e]),R={type:Es.patchFunction,storeId:e,events:v}):(Nu(r.state.value[e],P),R={type:Es.patchObject,payload:P,storeId:e,events:v});const I=h=Symbol();$e().then(()=>{h===I&&(u=!0)}),c=!0,So(f,R,r.state.value[e])}const m=s?function(){const{state:R}=n,I=R?R():{};this.$patch(N=>{wr(N,I)})}:hy;function _(){i.stop(),f=[],d=[],r._s.delete(e)}const E=(P,R="")=>{if(ah in P)return P[jl]=R,P;const I=function(){al(r);const N=Array.from(arguments),L=[],D=[];function X(H){L.push(H)}function $(H){D.push(H)}So(d,{args:N,name:I[jl],store:b,after:X,onError:$});let x;try{x=P.apply(this&&this.$id===e?this:b,N)}catch(H){throw So(D,H),H}return x instanceof Promise?x.then(H=>(So(L,H),H)).catch(H=>(So(D,H),Promise.reject(H))):(So(L,x),x)};return I[ah]=!0,I[jl]=R,I},w={_p:r,$id:e,$onAction:ih.bind(null,d),$patch:y,$reset:m,$subscribe(P,R={}){const I=ih(f,P,R.detached,()=>N()),N=i.run(()=>ve(()=>r.state.value[e],L=>{(R.flush==="sync"?c:u)&&P({storeId:e,type:Es.direct,events:v},L)},wr({},l,R)));return I},$dispose:_},b=St(w);r._s.set(e,b);const A=(r._a&&r._a.runWithContext||x8)(()=>r._e.run(()=>(i=Sh()).run(()=>t({action:E}))));for(const P in A){const R=A[P];if(Ue(R)&&!I8(R)||Xn(R))s||(p&&P8(R)&&(Ue(R)?R.value=p[P]:Nu(R,p[P])),r.state.value[e][P]=R);else if(typeof R=="function"){const I=E(R,P);A[P]=I,a.actions[P]=R}}return wr(b,A),wr(ke(b),A),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:P=>{y(R=>{wr(R,P)})}}),r._p.forEach(P=>{wr(b,i.run(()=>P({store:b,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),u=!0,c=!0,b}function j$(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const u=r0();return a=a||(u?Se(py,null):null),a&&al(a),a=dy,a._s.has(r)||(s?vy(r,t,o,a):$8(r,o,a)),a._s.get(r)}return i.$id=r,i}function z$(e){{e=ke(e);const t={};for(const n in e){const r=e[n];(Ue(r)||Xn(r))&&(t[n]=Gt(e,n))}return t}}const zl=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Hl(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function as(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on".concat(t),n)}function my(e,t){const n=t.slice(0,t.length-1);for(let r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function gy(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");const t=e.split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function k8(e,t){const n=e.length>=t.length?e:t,r=e.length>=t.length?t:e;let o=!0;for(let s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(o=!1);return o}const qs={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":zl?173:189,"=":zl?61:187,";":zl?59:186,"'":222,"[":219,"]":221,"\\":220},Dn={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:Line truncated
|
||||
@@ -4,10 +4,10 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<script type="module" crossorigin src="./assets/index-D7Z3b_yE.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-DyjdUqFg.js">
|
||||
<script type="module" crossorigin src="./assets/index-lBr1IOP-.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-wTuFzYxX.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/vendor-DaRzvvaT.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-DT4CNe0X.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-Cy3SJc-T.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user