Bump web v3.23.040820
This commit is contained in:
1 parent
9e1cbea49f
commit
142bd5455a
8 files changed
+16
-16
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
import{_ as ue,u as ge,A as he}from"./index-33160311.js";import{m as r,P as q,a8 as Ae,o as d,d as p,y as se,a9 as J,u as n,F as ae,k as g,aa as Oe,R as ke,g as t,z as Q,A as _,e as W,w as z,a2 as Pe,n as de,ab as Ke,f as re,L as oe,ac as Ne,D as Le,ad as Ce,p as ve,i as me,ae as Se,s as Ee,J as ne,a6 as He,B as N,af as ze,c as Je,a7 as We}from"./vendor-47fc1ede.js";import{l as Te}from"./el-loading-15d78e2b.js";const qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7sz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xiAz/MsaGSIsB7R1t4zJXH//n7RTTQQwxqcGEqEvklFHUgiO2GvJV+jAIPR+N29usWDoiSOVrN3XuqT1egQJAAU9EwslVJC8u0rGcy+WPqktJhjfMpatIG6CDAb0v5H34MGKqiVRue7GGLZ9Otxtt4JIrAhxBDwDuqI9JavcO0A7GlqFt219tH/bln9jBXzaKWAEqJV0CBxs5TwM8EvUPHaa8S86vN303MVWOsl3goDBHPWSoQ9c0kQmCKljfsKNH1+ofEOHW8a9a7glZGS8fPieL/SRSs0LAhI4FDTnXs1QYtubv2+IXPZpHB4bhivRexBkYKsSrYXNjvMUbVXpVJ+N6haV72c1k2zrnv5IYBMJBYTSZx0KTkoM3vY93rU/qs7zHplc/3d2ACadhFWByrn9LUk2IWb5JywvawTQc3F0iz+lgsBmInAIemBJtft2plKIlAFOgcroigrG2XlDsAzywQECNyaI8yr2ogoh7D4qJOYmZBzQgoZAM1PAcB8sDrr1uE5CDMR+nWSSVUGUCHAs8Vd21HOE0FzNj37pX0sLine truncated
|
||||
import{_ as ue,u as ge,A as he}from"./index-7eaea170.js";import{m as r,P as q,a8 as Ae,o as d,d as p,y as se,a9 as J,u as n,F as ae,k as g,aa as Oe,R as ke,g as t,z as Q,A as _,e as W,w as z,a2 as Pe,n as de,ab as Ke,f as re,L as oe,ac as Ne,D as Le,ad as Ce,p as ve,i as me,ae as Se,s as Ee,J as ne,a6 as He,B as N,af as ze,c as Je,a7 as We}from"./vendor-ea0dcfac.js";import{l as Te}from"./el-loading-15d78e2b.js";const qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPY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e,F as D,y as V,A as u,a2 as y,a3 as k,c as G,w as E,f as z,u as n,a4 as X,a5 as L,p as N,i as W,s as j,k as m,P as ee,J as P,a6 as te,R as se,B as R,e as x,n as ae,K as oe,z as J,C as ne,q as ce,a7 as re}from"./vendor-47fc1ede.js";import{_ as Y,u as le,A as M}from"./index-33160311.js";import{l as ie}from"./el-loading-15d78e2b.js";const de=l=>{let c=new Date().getTime(),o=Math.floor((c-l)/1e3),i="";return o<=30?i="刚刚":o<60?i=o+"秒前":o<3600?i=Math.floor(o/60)+"分钟前":o<86400?i=Math.floor(o/3600)+"小时前":o<2592e3?i=Math.floor(o/86400)+"天前":i=Q(new Date(l),"YYYY-MM-DD"),i};const Z=l=>(N("data-v-cc526b5e"),l=l(),W(),l),ue={class:"books-wrapper"},he={class:"wrapper"},pe=["onClick"],_e={class:"cover-img"},ve=["src"],ge={class:"info"},me={class:"name"},fe={class:"sub"},we={class:"author"},Ae={class:"tags"},Ie={class:"update-info"},Be=Z(()=>e("div",{class:"dot"},"•",-1)),Se={class:"size"},ye=Z(()=>e("div",{class:"dot"},"•",-1)),ke={class:"date"},xe={class:"last-chapter"},Ce={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(l,{emit:c}){const o=l;q(s=>({c1738ac2:n(A)}));const i=s=>c("bookClick",X(s)),C=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),A=$(()=>o.isSearch?"space-between":"flex-start");return(s,g)=>{const I=L;return f(),w("div",ue,[e("div",he,[(f(!0),w(D,null,V(o.books,r=>(f(),w("div",{class:"book",key:r.noteUrl,onClick:d=>i(r)},[e("div",_e,[(f(),w("img",{class:"cover",src:C(r.coverUrl),key:r.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",ge,[e("div",me,u(r.name),1),e("div",fe,[e("div",we,u(r.author),1),y(e("div",Ae,[(f(!0),w(D,null,V(r.kind.split(",").slice(0,2),d=>(f(),G(I,{key:d},{default:E(()=>[z(u(d),1)]),_:2},1024))),128))],512),[[k,o.isSearch]]),y(e("div",Ie,[Be,e("div",Se,"共"+u(r.totalChapterNum)+"章",1),ye,e("div",ke,u(n(de)(r.lastCheckTime)),1)],512),[[k,!o.isSearch]])]),y(e("div",{class:"intro"},u(r.intro),513),[[k,o.isSearch]]),y(e("div",{class:"dur-chapter"}," 已读:"+u(r.durChapterTitle),513),[[k,!o.isSearch]]),e("div",xe,"最新:"+u(r.latestChapterTitle),1)])],8,pe))),128))])])}}},Re=Y(Ce,[["__scopeId","data-v-cc526b5e"]]);const Me="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==";const b=l=>(N("data-v-d93b1062"),l=l(),W(),l),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},be=b(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Te={class:"search-wrapper"},De={class:"bottom-wrapper"},Ve={class:"recent-wrapper"},Pe=b(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Le={class:"setting-wrapper"},Ne=b(()=>e("div",{class:"setting-title"},"基本设定",-1)),We={class:"setting-item"},Ye={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},He={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(l){const c=le(),{connectStatus:o,connectType:i,newConnect:C,shelf:A}=j(c),s=m({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),g=m(!1),I=m(null),r=m(null);ee(g,t=>{var a;if(!t)return(a=r.value)==null?void 0:a.close();r.value=re.service({target:I.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const d=m([]);P(()=>{d.value.length>0&&(g.value=!1)});const h=m(""),B=m(!1);P(()=>{if(!(B.value&&h.value!="")){if(B.value=!1,d.value=[],h.value==""){d.value=A.value;return}d.value=A.value.filter(t=>t.name.includes(h.value)||tLine truncated
|
||||
import{a0 as Q,a1 as q,m as $,o as f,d as w,g as e,F as D,y as V,A as u,a2 as y,a3 as k,c as G,w as E,f as z,u as n,a4 as X,a5 as L,p as N,i as W,s as j,k as m,P as ee,J as P,a6 as te,R as se,B as R,e as x,n as ae,K as oe,z as J,C as ne,q as ce,a7 as re}from"./vendor-ea0dcfac.js";import{_ as Y,u as le,A as M}from"./index-7eaea170.js";import{l as ie}from"./el-loading-15d78e2b.js";const de=l=>{let c=new Date().getTime(),o=Math.floor((c-l)/1e3),i="";return o<=30?i="刚刚":o<60?i=o+"秒前":o<3600?i=Math.floor(o/60)+"分钟前":o<86400?i=Math.floor(o/3600)+"小时前":o<2592e3?i=Math.floor(o/86400)+"天前":i=Q(new Date(l),"YYYY-MM-DD"),i};const Z=l=>(N("data-v-cc526b5e"),l=l(),W(),l),ue={class:"books-wrapper"},he={class:"wrapper"},pe=["onClick"],_e={class:"cover-img"},ve=["src"],ge={class:"info"},me={class:"name"},fe={class:"sub"},we={class:"author"},Ae={class:"tags"},Ie={class:"update-info"},Be=Z(()=>e("div",{class:"dot"},"•",-1)),Se={class:"size"},ye=Z(()=>e("div",{class:"dot"},"•",-1)),ke={class:"date"},xe={class:"last-chapter"},Ce={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(l,{emit:c}){const o=l;q(s=>({c1738ac2:n(A)}));const i=s=>c("bookClick",X(s)),C=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),A=$(()=>o.isSearch?"space-between":"flex-start");return(s,g)=>{const I=L;return f(),w("div",ue,[e("div",he,[(f(!0),w(D,null,V(o.books,r=>(f(),w("div",{class:"book",key:r.noteUrl,onClick:d=>i(r)},[e("div",_e,[(f(),w("img",{class:"cover",src:C(r.coverUrl),key:r.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",ge,[e("div",me,u(r.name),1),e("div",fe,[e("div",we,u(r.author),1),y(e("div",Ae,[(f(!0),w(D,null,V(r.kind.split(",").slice(0,2),d=>(f(),G(I,{key:d},{default:E(()=>[z(u(d),1)]),_:2},1024))),128))],512),[[k,o.isSearch]]),y(e("div",Ie,[Be,e("div",Se,"共"+u(r.totalChapterNum)+"章",1),ye,e("div",ke,u(n(de)(r.lastCheckTime)),1)],512),[[k,!o.isSearch]])]),y(e("div",{class:"intro"},u(r.intro),513),[[k,o.isSearch]]),y(e("div",{class:"dur-chapter"}," 已读:"+u(r.durChapterTitle),513),[[k,!o.isSearch]]),e("div",xe,"最新:"+u(r.latestChapterTitle),1)])],8,pe))),128))])])}}},Re=Y(Ce,[["__scopeId","data-v-cc526b5e"]]);const Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T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-v-d93b1062"),l=l(),W(),l),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},be=b(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Te={class:"search-wrapper"},De={class:"bottom-wrapper"},Ve={class:"recent-wrapper"},Pe=b(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Le={class:"setting-wrapper"},Ne=b(()=>e("div",{class:"setting-title"},"基本设定",-1)),We={class:"setting-item"},Ye={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},He={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(l){const c=le(),{connectStatus:o,connectType:i,newConnect:C,shelf:A}=j(c),s=m({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),g=m(!1),I=m(null),r=m(null);ee(g,t=>{var a;if(!t)return(a=r.value)==null?void 0:a.close();r.value=re.service({target:I.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const d=m([]);P(()=>{d.value.length>0&&(g.value=!1)});const h=m(""),B=m(!1);P(()=>{if(!(B.value&&h.value!="")){if(B.value=!1,d.value=[],h.value==""){d.value=A.value;return}d.value=A.value.filter(t=>t.name.includes(h.value)||tLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{u as n,A as r}from"./index-33160311.js";import"./vendor-47fc1ede.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
|
||||
import{u as n,A as r}from"./index-7eaea170.js";import"./vendor-ea0dcfac.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
|
||||
@@ -1 +0,0 @@
|
||||
.el-link[data-v-aee57c78]{padding:4px}.el-text[data-v-aee57c78]{padding-top:20px}.tool[data-v-b11685a6]{display:flex;padding:4px 0;justify-content:space-between}#source-list[data-v-b11685a6]{padding-top:6px;height:calc(100vh - 132px);overflow-y:auto;overflow-x:hidden}#source-list[data-v-b11685a6] .el-checkbox{margin-bottom:4px;width:100%}.error[data-v-b11685a6]{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)}.el-input{width:100%}.flex-space-between[data-v-ce145888]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-ce145888]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-ce145888]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-ce145888]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-ce145888]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-ce145888]{margin-bottom:1em}.hotkeys-item__content span[data-v-ce145888]{margin:.5em}[data-v-8c06b92d] .el-tab-pane{height:calc(100vh - 40px);overflow-y:auto}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}::-webkit-scrollbar{width:0;height:0}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0px;z-index:2;background-color:#fff}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-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}.editor[data-v-2d24fab0]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-2d24fab0]{flex:1;margin-left:20px}.editor .right[data-v-2d24fab0]{width:360px;margin-right:20px}.editor #loading[data-v-2d24fab0]{position:fixed;top:100px;left:90vw}
|
||||
+3
-3
@@ -1,13 +1,13 @@
|
||||
import{o as l,c as y,r as we,a as oe,b as ne,d as v,e as h,w as u,f as _,u as i,l as z,g as m,F as $,E as Be,h as ce,p as xe,i as Ue,j as ue,k as R,s as re,m as ee,n as K,q as de,t as Ee,v as Ve,x as se,y as A,z as pe,A as Q,B as x,C as X,D as he,G as Ne,H as Te,I as Ie,J as ge,K as $e,L as T,M as Le,N as me,O as _e,P as Re,Q as M,R as Oe,S as Pe,T as De,U as Je,V as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze}from"./vendor-47fc1ede.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const p of r.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const Me="modulepreload",We=function(e,t){return new URL(e,t).href},ie={},te=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=We(r,s),r in ie)return;ie[r]=!0;const p=r.endsWith(".css"),k=p?'[rel="stylesheet"]':"";if(!!s)for(let C=o.length-1;C>=0;C--){const w=o[C];if(w.href===r&&(!p||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":Me,p||(S.as="script",S.crossOrigin=""),S.href=r,document.head.appendChild(S),p)return new Promise((C,w)=>{S.addEventListener("load",C),S.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Ge={};function Qe(e,t){const n=we("router-view");return l(),y(n)}const Xe=H(Ge,[["render",Qe]]),Se=[{path:"/",name:"shelf",component:()=>te(()=>import("./BookShelf-f552015b.js"),["./BookShelf-f552015b.js","./vendor-47fc1ede.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-fb0e6833.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>te(()=>import("./BookChapter-d89403ae.js"),["./BookChapter-d89403ae.js","./vendor-47fc1ede.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-a6c0a317.css"],import.meta.url)}];oe({history:ne(),routes:Se});const I=e=>(xe("data-v-aee57c78"),e=e(),Ue(),e),Ye=I(()=>m("br",null,null,-1)),Ze=I(()=>m("br",null,null,-1)),et=I(()=>m("br",null,null,-1)),tt=I(()=>m("br",null,null,-1)),ot=I(()=>m("br",null,null,-1)),nt={style:{"margin-top":"20px"}},rt=I(()=>m("code",null,"^$()[]{}.?+*|",-1)),st=I(()=>m("br",null,null,-1)),it=I(()=>m("code",null,"(?s)",-1)),lt=I(()=>m("br",null,null,-1)),at=I(()=>m("code",null,"(?m)",-1)),ct=I(()=>m("br",null,null,-1)),ut=I(()=>m("code",null,"(?i)",-1)),dt=I(()=>m("br",null,null,-1)),pt={__name:"SourceHelp",setup(e){return(t,n)=>{const s=Be,o=ce;return l(),v($,null,[h(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[_("书源制作教程")]),_:1},8,["icon"]),Ye,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[_("xpath基础教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[_("xpath高级教程")]),_:1},8,["icon"]),et,h(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[_("正则表达式教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[_("正则表达式在线验证工具")]),_:1},8,["icon"]),ot,m("div",nt,[m("span",null,[h(o,null,{default:u(()=>[rt,_(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),st,m("span",null,[h(o,null,{default:u(()=>[it,_(" 前缀表示跨行解析")]),_:1})]),lt,m("span",null,[h(o,null,{default:u(()=>[at,_(" 前缀表示逐行匹配")]),_:1})]),ct,m("span",null,[h(o,null,{default:u(()=>[ut,_(" 前缀表示忽略大小写")]),_:1})]),dt])],64)}}},ht=H(pt,[["__scopeId","data-v-aee57c78"]]),W=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),mt=(e,t)=>{var n,s,o,r,p,k,f,S;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((p=e.sourceName)==null?void 0:p.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((S=e.sourceComment)==null?void 0:S.includes(t)))??!1},_t={ruleSeaLine truncated
|
||||
import{o as l,c as y,r as we,a as oe,b as ne,d as v,e as h,w as u,f as _,u as i,l as z,g as m,F as $,E as Be,h as ce,p as xe,i as Ue,j as ue,k as R,s as re,m as ee,n as K,q as de,t as Ee,v as Ne,x as se,y as A,z as pe,A as Q,B as x,C as X,D as he,G as Ve,H as Te,I as Ie,J as ge,K as $e,L as T,M as Le,N as me,O as _e,P as Re,Q as M,R as Oe,S as Pe,T as De,U as Je,V as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze}from"./vendor-ea0dcfac.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const p of r.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const Me="modulepreload",We=function(e,t){return new URL(e,t).href},ie={},te=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=We(r,s),r in ie)return;ie[r]=!0;const p=r.endsWith(".css"),k=p?'[rel="stylesheet"]':"";if(!!s)for(let C=o.length-1;C>=0;C--){const w=o[C];if(w.href===r&&(!p||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":Me,p||(S.as="script",S.crossOrigin=""),S.href=r,document.head.appendChild(S),p)return new Promise((C,w)=>{S.addEventListener("load",C),S.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Ge={};function Qe(e,t){const n=we("router-view");return l(),y(n)}const Xe=H(Ge,[["render",Qe]]),Se=[{path:"/",name:"shelf",component:()=>te(()=>import("./BookShelf-31d73958.js"),["./BookShelf-31d73958.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-fb0e6833.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>te(()=>import("./BookChapter-de8939ea.js"),["./BookChapter-de8939ea.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-a6c0a317.css"],import.meta.url)}];oe({history:ne(),routes:Se});const I=e=>(xe("data-v-aee57c78"),e=e(),Ue(),e),Ye=I(()=>m("br",null,null,-1)),Ze=I(()=>m("br",null,null,-1)),et=I(()=>m("br",null,null,-1)),tt=I(()=>m("br",null,null,-1)),ot=I(()=>m("br",null,null,-1)),nt={style:{"margin-top":"20px"}},rt=I(()=>m("code",null,"^$()[]{}.?+*|",-1)),st=I(()=>m("br",null,null,-1)),it=I(()=>m("code",null,"(?s)",-1)),lt=I(()=>m("br",null,null,-1)),at=I(()=>m("code",null,"(?m)",-1)),ct=I(()=>m("br",null,null,-1)),ut=I(()=>m("code",null,"(?i)",-1)),dt=I(()=>m("br",null,null,-1)),pt={__name:"SourceHelp",setup(e){return(t,n)=>{const s=Be,o=ce;return l(),v($,null,[h(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[_("书源制作教程")]),_:1},8,["icon"]),Ye,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[_("xpath基础教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[_("xpath高级教程")]),_:1},8,["icon"]),et,h(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[_("正则表达式教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[_("正则表达式在线验证工具")]),_:1},8,["icon"]),ot,m("div",nt,[m("span",null,[h(o,null,{default:u(()=>[rt,_(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),st,m("span",null,[h(o,null,{default:u(()=>[it,_(" 前缀表示跨行解析")]),_:1})]),lt,m("span",null,[h(o,null,{default:u(()=>[at,_(" 前缀表示逐行匹配")]),_:1})]),ct,m("span",null,[h(o,null,{default:u(()=>[ut,_(" 前缀表示忽略大小写")]),_:1})]),dt])],64)}}},ht=H(pt,[["__scopeId","data-v-aee57c78"]]),W=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),mt=(e,t)=>{var n,s,o,r,p,k,f,S;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((p=e.sourceName)==null?void 0:p.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((S=e.sourceComment)==null?void 0:S.includes(t)))??!1},_t={ruleSeaLine truncated
|
||||
`},r=async()=>{n.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,o,t.debugFinish)},p=ee(()=>/bookSource/.test(window.location.href));return(k,f)=>{const S=X;return l(),v($,null,[i(p)?(l(),y(S,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":f[0]||(f[0]=C=>K(s)?s.value=C:null),placeholder:"搜索书名、作者","prefix-icon":i(de),style:{"padding-bottom":"4px"},onKeydown:$e(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):T("",!0),h(S,{id:"debug-text",modelValue:i(n),"onUpdate:modelValue":f[1]||(f[1]=C=>K(n)?n.value=C:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},io=ue("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:""},miniInterface:!1,readSettingsVisible:!1}),actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){this.config=e},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(t=>{this.shelf.find(s=>s.bookUrl==t.bookUrl)===void 0&&this.searchBooks.push(t)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProcess(){var r;if(this.catalog.length==0)return;const{index:e,chapterPos:t,bookName:n,bookAuthor:s}=this.readingBook;let o=(r=this.catalog[e])==null?void 0:r.title;o&&j.saveBookProcess({name:n,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:o})}}}),Jt=Le();const At={__name:"SourceJson",setup(e){const t=F(),n=R(""),s=async o=>{try{t.changeEditTabSource(JSON.parse(o))}catch{x({message:"粘贴的源格式错误",type:"error"})}};return ge(async()=>{let o=t.editTabSource;Object.keys(o).length>0?n.value=JSON.stringify(o,null,4):n.value=""}),(o,r)=>{const p=X;return l(),y(p,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=k=>K(n)?n.value=k:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Kt={__name:"SourceTabTools",setup(e){const t=F(),{currentTab:n}=re(t),s=R([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(o,r)=>{const p=At,k=Dt,f=bt,S=ht,C=me,w=_e;return l(),y(w,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=B=>K(n)?n.value=B:null)},{default:u(()=>[(l(!0),v($,null,A(i(s),(B,d)=>(l(),y(C,{key:B[0],name:B[0],label:B[1]},{default:u(()=>[d==0?(l(),y(p,{key:0})):T("",!0),d==1?(l(),y(k,{key:1})):T("",!0),d==2?(l(),y(f,{key:2})):T("",!0),d==3?(l(),y(S,{key:3})):T("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}};const jt={class:"menu flex-column-center"},Ht={class:"hotkeys-header flex-space-between"},Ft=["id"],qt={key:0},zt={class:"hotkeys-settings flex-column-center"},Mt={class:"title"},Wt={class:"hotkeys-item__content"},Gt={key:0},Qt={key:0},Xt={__name:"ToolBar",setup(e){const t=F(),n=()=>{j.getSources().then(({data:a})=>{a.isSuccess?(t.changeTabName("editList"),t.saveSources(a.data),x({message:`成功拉取${a.data.length}条源`,type:"success"})):x({message:a.errorMsg??"后端错误",type:"error"})})},s=()=>{let a=t.sources;if(t.changeTabName("editList"),a.length===0)return x({message:"空空如也",type:"info"});x({message:"正在推送中",type:"info"}),j.saveSources(a).then(({data:c})=>{if(c.isSuccess){let b=c.data;if(Array.isArray(b)){let L="";a.length>b.length&&(L=`
|
||||
推送失败的源将用红色字体标注!`,t.setPushReturnSources(b)),x({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${a.length} 条
|
||||
成功: ${b.length} 条
|
||||
失败: ${a.length-b.length} 条${L}`,type:"success"})}}else x({message:`批量推送源失败!
|
||||
ErrorMsg: ${c.errorMsg}`,type:"error"})})},o=()=>{t.changeTabName("editTab"),t.changeEditTabSource(t.currentSource)},r=()=>{t.changeCurrentSource(t.editTabSource)},p=()=>{t.editHistoryUndo()},k=()=>{t.clearEdit(),x({message:"已清除",type:"success"})},f=()=>{t.clearEdit(),t.clearAllHistory(),x({message:"已清除所有历史记录",type:"success"})},S=()=>{let a=/bookSource/.test(location.href),c=t.currentSource;gt(c)?j.saveSource(c).then(({data:b})=>{b.isSuccess?(x({message:`源《${a?c.bookSourceName:c.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),t.saveCurrentSource()):x({message:`源《${a?c.bookSourceName:c.sourceName}》保存失败!
|
||||
ErrorMsg: ${b.errorMsg}`,type:"error"})}):x({message:"请检查<必填>项是否全部填写",type:"error"})},C=()=>{t.startDebug()},w=R(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:p},{name:"↷重做操作",hotKeys:[],action:f},{name:"⇏调试源",hotKeys:[],action:C},{name:"✓保存源",hotKeys:[],action:S})),B=R(!0),d=R(!1),E=R(-1),O=()=>{d.value=!1};Re(B,a=>{if(!a)return M.unbind("*");M.unbind(),M("*",c=>{c.preventDefault(),d.value&&E.value>-1&&(w.value[E.value].hotKeys=M.getPressedKeyString())})});const V=a=>{d.value=!0,x({message:"按ESC键或者点击空白处结束录入",type:"info"}),w.value[a].hotKeys=[],E.value=a},D=()=>{B.value=!1;const a=[];w.value.forEach(({hotKeys:c,action:b})=>{M(c.join("+"),L=>{L.preventDefault(),b.call(null)}),a.push(c)}),P(a)},P=a=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(a))},N=()=>{try{const a=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(a)||a.length==0)return;w.value.forEach((c,b)=>c.hotKeys=a[b]),B.value=!1,D()}catch{x({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Oe(()=>{N()}),(a,c)=>{const b=he,L=ce,Y=Je;return l(),v($,null,[m("div",jt,[(l(!0),v($,null,A(i(w),g=>(l(),y(b,{size:"large",key:g.name,onClick:g.action},{default:u(()=>[_(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(b,{size:"large",onClick:c[0]||(c[0]=()=>B.value=!0)},{default:u(()=>[_("快捷键")]),_:1})]),h(Y,{modelValue:i(B),"onUpdate:modelValue":c[1]||(c[1]=g=>K(B)?B.value=g:null),"show-close":!1,"before-close":O},{header:u(({titleClass:g,titleId:q})=>[m("div",Ht,[m("div",{id:q,class:pe(g)},[_(" 快捷键设置 "),i(d)?(l(),v("span",qt,[h(L,null,{default:u(()=>[_(" / 录入中 ")]),_:1})])):T("",!0)],10,Ft),h(b,{disabled:i(d),onClick:D,icon:i(Pe)},{default:u(()=>[_("保存")]),_:1},8,["disabled","icon"])])]),default:u(()=>[m("div",zt,[(l(!0),v($,null,A(i(w),(g,q)=>(l(),v("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Mt,[h(L,null,{default:u(()=>[_(Q(g.name),1)]),_:2},1024)]),m("div",Wt,[(l(!0),v($,null,A(g.hotKeys,(Z,Ce)=>(l(),v("div",{key:Z},[m("kbd",null,Q(Z),1),Ce+1<g.hotKeys.length?(l(),v("span",Gt,[h(L,null,{default:u(()=>[_("+")]),_:1})])):T("",!0)]))),128)),g.hotKeys.length==0?(l(),v("span",Qt,"未设置")):T("",!0)]),h(b,{disabled:i(d),text:"",icon:i(De),onClick:Z=>V(q)},{default:u(()=>[_("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=H(Xt,[["__scopeId","data-v-ce145888"]]);const Zt={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=F(),s=Object.values(t.config),{currentSource:o}=re(n);return(r,p)=>{const k=X,f=Ae,S=Ke,C=je,w=He,B=Fe,d=qe,E=me,O=_e;return l(),y(O,{id:"source-edit"},{default:u(()=>[(l(!0),v($,null,A(i(s),({name:V,children:D})=>(l(),y(E,{label:V,key:V},{default:u(()=>[h(d,{"label-position":"right","label-width":"5em"},{default:u(()=>[(l(!0),v($,null,A(D,({type:P,title:N,namespace:a,id:c,array:b,hint:L,required:Y})=>(l(),y(B,{label:N,key:N,required:Y},{default:u(()=>[P=="String"&&typeof a>"u"?(l(),y(k,{key:0,type:"textarea",modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="String"&&typeof a<"u"?(l(),y(k,{key:1,type:"textarea",modelValue:i(o)[a][c],"onUpdate:modelValue":g=>i(o)[a][c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="Boolean"?(l(),y(f,{key:2,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Number"?(l(),y(S,{key:3,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Array"?(l(),y(w,{key:4,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},{default:u(()=>[(l(!0),v($,null,A(b,(g,q)=>(l(),y(C,{value:q,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):T("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=H(Zt,[["__scopeId","data-v-8c06b92d"]]),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:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{title:"登录地
Line truncated
|
||||
ErrorMsg: ${b.errorMsg}`,type:"error"})}):x({message:"请检查<必填>项是否全部填写",type:"error"})},C=()=>{t.startDebug()},w=R(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:p},{name:"↷重做操作",hotKeys:[],action:f},{name:"⇏调试源",hotKeys:[],action:C},{name:"✓保存源",hotKeys:[],action:S})),B=R(!0),d=R(!1),E=R(-1),O=()=>{d.value=!1};Re(B,a=>{if(!a)return M.unbind("*");M.unbind(),M("*",c=>{c.preventDefault(),d.value&&E.value>-1&&(w.value[E.value].hotKeys=M.getPressedKeyString())})});const N=a=>{d.value=!0,x({message:"按ESC键或者点击空白处结束录入",type:"info"}),w.value[a].hotKeys=[],E.value=a},D=()=>{B.value=!1;const a=[];w.value.forEach(({hotKeys:c,action:b})=>{M(c.join("+"),L=>{L.preventDefault(),b.call(null)}),a.push(c)}),P(a)},P=a=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(a))},V=()=>{try{const a=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(a)||a.length==0)return;w.value.forEach((c,b)=>c.hotKeys=a[b]),B.value=!1,D()}catch{x({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Oe(()=>{V()}),(a,c)=>{const b=he,L=ce,Y=Je;return l(),v($,null,[m("div",jt,[(l(!0),v($,null,A(i(w),g=>(l(),y(b,{size:"large",key:g.name,onClick:g.action},{default:u(()=>[_(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(b,{size:"large",onClick:c[0]||(c[0]=()=>B.value=!0)},{default:u(()=>[_("快捷键")]),_:1})]),h(Y,{modelValue:i(B),"onUpdate:modelValue":c[1]||(c[1]=g=>K(B)?B.value=g:null),"show-close":!1,"before-close":O},{header:u(({titleClass:g,titleId:q})=>[m("div",Ht,[m("div",{id:q,class:pe(g)},[_(" 快捷键设置 "),i(d)?(l(),v("span",qt,[h(L,null,{default:u(()=>[_(" / 录入中 ")]),_:1})])):T("",!0)],10,Ft),h(b,{disabled:i(d),onClick:D,icon:i(Pe)},{default:u(()=>[_("保存")]),_:1},8,["disabled","icon"])])]),default:u(()=>[m("div",zt,[(l(!0),v($,null,A(i(w),(g,q)=>(l(),v("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Mt,[h(L,null,{default:u(()=>[_(Q(g.name),1)]),_:2},1024)]),m("div",Wt,[(l(!0),v($,null,A(g.hotKeys,(Z,Ce)=>(l(),v("div",{key:Z},[m("kbd",null,Q(Z),1),Ce+1<g.hotKeys.length?(l(),v("span",Gt,[h(L,null,{default:u(()=>[_("+")]),_:1})])):T("",!0)]))),128)),g.hotKeys.length==0?(l(),v("span",Qt,"未设置")):T("",!0)]),h(b,{disabled:i(d),text:"",icon:i(De),onClick:Z=>N(q)},{default:u(()=>[_("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=H(Xt,[["__scopeId","data-v-ce145888"]]);const Zt={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=F(),s=Object.values(t.config),{currentSource:o}=re(n);return(r,p)=>{const k=X,f=Ae,S=Ke,C=je,w=He,B=Fe,d=qe,E=me,O=_e;return l(),y(O,{id:"source-edit"},{default:u(()=>[(l(!0),v($,null,A(i(s),({name:N,children:D})=>(l(),y(E,{label:N,key:N},{default:u(()=>[h(d,{"label-position":"right","label-width":"5em"},{default:u(()=>[(l(!0),v($,null,A(D,({type:P,title:V,namespace:a,id:c,array:b,hint:L,required:Y})=>(l(),y(B,{label:V,key:V,required:Y},{default:u(()=>[P=="String"&&typeof a>"u"?(l(),y(k,{key:0,type:"textarea",modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="String"&&typeof a<"u"?(l(),y(k,{key:1,type:"textarea",modelValue:i(o)[a][c],"onUpdate:modelValue":g=>i(o)[a][c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="Boolean"?(l(),y(f,{key:2,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Number"?(l(),y(S,{key:3,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Array"?(l(),y(w,{key:4,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},{default:u(()=>[(l(!0),v($,null,A(b,(g,q)=>(l(),y(C,{value:q,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):T("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=H(Zt,[["__scopeId","data-v-8c06b92d"]]),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:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{title:"登录地
Line truncated
|
||||
每行一条发现分类(网址域名可省略),例:
|
||||
名称1::网址(Url)1
|
||||
名称2::网址(Url)2
|
||||
...`},{title:"列表规则",namespace:"ruleExplore",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List<Element>)"},{title:"书名规则",namespace:"ruleExplore",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleExplore",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleExplore",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleExplore",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleExplore",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleExplore",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleExplore",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleExplore",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",namespace:"ruleBookInfo",id:"init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",namespace:"ruleBookInfo",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleBookInfo",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleBookInfo",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleBookInfo",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleBookInfo",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleBookInfo",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleBookInfo",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",namespace:"ruleBookInfo",id:"tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",namespace:"ruleBookInfo",id:"downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",namespace:"ruleBookInfo",id:"canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"预处理",namespace:"ruleToc",id:"preUpdateJs",type:"String",hint:"更新目录前调用JS 动态更新目录链接"},{title:"列表规则",namespace:"ruleToc",id:"chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List<Element>)"},{title:"章节名称",namespace:"ruleToc",id:"chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",namespace:"ruleToc",id:"chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",namespace:"ruleToc",id:"isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",namespace:"ruleToc",id:"isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",namespace:"ruleToc",id:"isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",namespace:"ruleToc",id:"updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",namespace:"ruleToc",id:"nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List<String>或String)"}]},content:{name:"正文",children:[{title:"脚本注入",namespace:"ruleContent",id:"webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",namespace:"ruleContent",id:"content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",namespace:"ruleContent",id:"nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",namespace:"ruleContent",id:"sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",namespace:"ruleContent",id:"replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",namespace:"ruleContent",id:"imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",namespace:"ruleContent",id:"payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接
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链接加载白名单,英文逗号隔开"}]},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"}]}};const no={class:"editor"},ro={__name:"SourceEditor",setup(e){const t=R({});return/bookSource/i.test(location.href)?(t.value=to,document.title="书源管理"):(t.value=oo,document.title="订阅源管理"),(n,s)=>{const o=eo,r=Yt,p=Kt;return l(),v("div",no,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(p,{class:"right"})])}}},ae=H(ro,[["__scopeId","data-v-2d24fab0"]]),ke=[{path:"/bookSource",name:"book-home",component:ae},{path:"/rssSource",name:"rss-home",component:ae}];oe({history:ne(),routes:ke});const ve=oe({history:ne(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ze(Xe).use(Jt).use(ve).mount("#app");te(()=>import("./config-7cef54c9.js"),["./config-7cef54c9.js","./vendor-47fc1ede.js","./vendor-a24e7142.css","./config-811f2a0b.css"],import.meta.url);export{j as A,H as _,io as u};
|
||||
名称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链接加载白名单,英文逗号隔开"}]},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"}]}};const no={class:"editor"},ro={__name:"SourceEditor",setup(e){const t=R({});return/bookSource/i.test(location.href)?(t.value=to,document.title="书源管理"):(t.value=oo,document.title="订阅源管理"),(n,s)=>{const o=eo,r=Yt,p=Kt;return l(),v("div",no,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(p,{class:"right"})])}}},ae=H(ro,[["__scopeId","data-v-5171d5d6"]]),ke=[{path:"/bookSource",name:"book-home",component:ae},{path:"/rssSource",name:"rss-home",component:ae}];oe({history:ne(),routes:ke});const ve=oe({history:ne(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ze(Xe).use(Jt).use(ve).mount("#app");te(()=>import("./config-1f42aece.js"),["./config-1f42aece.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./config-811f2a0b.css"],import.meta.url);export{j as A,H as _,io as u};
|
||||
@@ -0,0 +1 @@
|
||||
.el-link[data-v-aee57c78]{padding:4px}.el-text[data-v-aee57c78]{padding-top:20px}.tool[data-v-b11685a6]{display:flex;padding:4px 0;justify-content:space-between}#source-list[data-v-b11685a6]{padding-top:6px;height:calc(100vh - 132px);overflow-y:auto;overflow-x:hidden}#source-list[data-v-b11685a6] .el-checkbox{margin-bottom:4px;width:100%}.error[data-v-b11685a6]{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)}.el-input{width:100%}.flex-space-between[data-v-ce145888]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-ce145888]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-ce145888]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-ce145888]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-ce145888]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-ce145888]{margin-bottom:1em}.hotkeys-item__content span[data-v-ce145888]{margin:.5em}[data-v-8c06b92d] .el-tab-pane{height:calc(100vh - 40px);overflow-y:auto}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}::-webkit-scrollbar{width:0;height:0}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0px;z-index:2;background-color:#fff}.editor[data-v-5171d5d6]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-5171d5d6]{flex:1;margin-left:20px}.editor .right[data-v-5171d5d6]{width:360px;margin-right:20px}.editor #loading[data-v-5171d5d6]{position:fixed;top:100px;left:90vw}
|
||||
+6
-6
@@ -2,7 +2,7 @@ function zl(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.leng
|
||||
* vue-router v4.1.6
|
||||
* (c) 2022 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/const Zr=typeof window<"u";function nb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Oa(e,t){const n={};for(const r in t){const o=t[r];n[r]=ln(o)?o.map(e):e(o)}return n}const Wo=()=>{},ln=Array.isArray,rb=/\/$/,ob=e=>e.replace(rb,"");function Ta(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=lb(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function sb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ib(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uo(t.matched[r],n.matched[o])&&eh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function eh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ab(e[n],t[n]))return!1;return!0}function ab(e,t){return ln(e)?kc(e,t):ln(t)?kc(t,e):e===t}function kc(e,t){return ln(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var us;(function(e){e.pop="pop",e.push="push"})(us||(us={}));var Go;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Go||(Go={}));function ub(e){if(!e)if(Zr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ob(e)}const cb=/^[^#]+#/;function fb(e,t){return e.replace(cb,"#")+t}function db(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 Ui=()=>({left:window.pageXOffset,top:window.pageYOffset});function pb(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=db(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Mc(e,t){return(history.state?history.state.position-t:-1)+e}const cl=new Map;function hb(e,t){cl.set(e,t)}function vb(e){const t=cl.get(e);return cl.delete(e),t}let mb=()=>location.protocol+"//"+location.host;function th(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),Rc(l,"")}return Rc(n,e)+r+o}function gb(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=th(e,location),m=n.value,p=t.value;let b=0;if(d){if(n.value=v,t.value=d,i&&i===m){i=null;return}b=p?d.position-p.position:0}else r(v);o.forEach(g=>{g(n.value,m,{delta:b,type:us.pop,direction:b?b>0?Go.forward:Go.back:Go.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(Ve({},d.state,{scroll:Ui()}),"")}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),{pauseListeners:l,listen:u,destroy:f}}function Lc(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ui():null}}function bb(e){const{history:t,location:n}=window,r={value:th(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:mb()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(v){console.error(v),n[c?"replace":"assign"](d)}}function i(l,u){const c=Ve({},t.state,Lc(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=Ve({},o.value,t.state,{forward:l,scroll:Ui()});s(c.current,c,!0);const f=Ve({},Lc(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function yb(e){e=ub(e);const t=bb(e),n=gb(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ve({location:"",base:e,go:r,createHref:fb.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function w6(e){return e=locLine truncated
|
||||
*/const Zr=typeof window<"u";function nb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Oa(e,t){const n={};for(const r in t){const o=t[r];n[r]=ln(o)?o.map(e):e(o)}return n}const Wo=()=>{},ln=Array.isArray,rb=/\/$/,ob=e=>e.replace(rb,"");function Ta(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=lb(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function sb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ib(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uo(t.matched[r],n.matched[o])&&eh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function eh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ab(e[n],t[n]))return!1;return!0}function ab(e,t){return ln(e)?kc(e,t):ln(t)?kc(t,e):e===t}function kc(e,t){return ln(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var us;(function(e){e.pop="pop",e.push="push"})(us||(us={}));var Go;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Go||(Go={}));function ub(e){if(!e)if(Zr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ob(e)}const cb=/^[^#]+#/;function fb(e,t){return e.replace(cb,"#")+t}function db(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 Ui=()=>({left:window.pageXOffset,top:window.pageYOffset});function pb(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=db(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Mc(e,t){return(history.state?history.state.position-t:-1)+e}const cl=new Map;function hb(e,t){cl.set(e,t)}function vb(e){const t=cl.get(e);return cl.delete(e),t}let mb=()=>location.protocol+"//"+location.host;function th(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),Rc(l,"")}return Rc(n,e)+r+o}function gb(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=th(e,location),m=n.value,p=t.value;let b=0;if(d){if(n.value=v,t.value=d,i&&i===m){i=null;return}b=p?d.position-p.position:0}else r(v);o.forEach(g=>{g(n.value,m,{delta:b,type:us.pop,direction:b?b>0?Go.forward:Go.back:Go.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(Ve({},d.state,{scroll:Ui()}),"")}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),{pauseListeners:l,listen:u,destroy:f}}function Lc(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ui():null}}function bb(e){const{history:t,location:n}=window,r={value:th(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:mb()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(v){console.error(v),n[c?"replace":"assign"](d)}}function i(l,u){const c=Ve({},t.state,Lc(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=Ve({},o.value,t.state,{forward:l,scroll:Ui()});s(c.current,c,!0);const f=Ve({},Lc(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function yb(e){e=ub(e);const t=bb(e),n=gb(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ve({location:"",base:e,go:r,createHref:fb.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function w6(e){return e=locLine 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
|
||||
@@ -13,18 +13,18 @@ function zl(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.leng
|
||||
(?:`+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(T){return T&&T.exact?s:new RegExp("(?:"+t(T)+n+t(T)+")|(?:"+t(T)+o+t(T)+")","g")};l.v4=function(_){return _&&_.exact?i:new RegExp(""+t(_)+n+t(_),"g")},l.v6=function(_){return _&&_.exact?a:new RegExp(""+t(_)+o+t(_),"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]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',w="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+m+p+")"+b+g;return Us=new RegExp("(?:^"+w+"$)","i"),Us},sd={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},Ho={integer:function(t){return Ho.number(t)&&parseInt(t,10)===t},float:function(t){return Ho.number(t)&&!Ho.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"&&!Ho.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(sd.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(MT())},hex:function(t){return typeof t=="string"&&!!t.match(sd.hex)}},LT=function(t,n,r,o,s){if(t.required&&n===void 0){bv(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?Ho[a](n)||o.push(Ht(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Ht(s.messages.types[a],t.fullField,t.type))},NT=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",m=Array.isArray(n);if(d?f="number":v?f="string":m&&(f="array"),!f)return!1;m&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Ht(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Ht(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Ht(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Ht(s.messages[f].range,t.fullField,t.min,t.max))},Jr="enum",FT=function(t,n,r,o,s){t[Jr]=Array.isArray(t[Jr])?t[Jr]:[],t[Jr].indexOf(n)===-1&&o.push(Ht(s.messages[Jr],t.fullField,t[Jr].join(", ")))},BT=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Ht(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(Ht(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Fe={required:bv,whitespace:kT,type:LT,range:NT,enum:FT,pattern:BT},DT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n,"string")&&!t.required)return r();Fe.required(t,n,o,i,s,"string"),ht(n,"string")||(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s),Fe.pattern(t,n,o,i,s),t.whitespace===!0&&Fe.whitespace(t,n,o,i,s))}r(i)},jT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&Fe.type(t,n,o,i,s)}r(i)},zT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},HT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&Fe.type(t,n,o,i,s)}r(i)},VT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),ht(n)||Fe.type(t,n,o,i,s)}r(i)},KT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},UT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},qT=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();Fe.required(t,n,o,i,s,"array"),n!=null&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},WT=function(t,n,r,o,s){var
Line truncated
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),a=new RegExp("^"+o+"$"),l=function(T){return T&&T.exact?s:new RegExp("(?:"+t(T)+n+t(T)+")|(?:"+t(T)+o+t(T)+")","g")};l.v4=function(_){return _&&_.exact?i:new RegExp(""+t(_)+n+t(_),"g")},l.v6=function(_){return _&&_.exact?a:new RegExp(""+t(_)+o+t(_),"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]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',w="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+m+p+")"+b+g;return Us=new RegExp("(?:^"+w+"$)","i"),Us},sd={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},Ho={integer:function(t){return Ho.number(t)&&parseInt(t,10)===t},float:function(t){return Ho.number(t)&&!Ho.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"&&!Ho.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(sd.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(LT())},hex:function(t){return typeof t=="string"&&!!t.match(sd.hex)}},NT=function(t,n,r,o,s){if(t.required&&n===void 0){bv(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?Ho[a](n)||o.push(Ht(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Ht(s.messages.types[a],t.fullField,t.type))},FT=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",m=Array.isArray(n);if(d?f="number":v?f="string":m&&(f="array"),!f)return!1;m&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Ht(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Ht(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Ht(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Ht(s.messages[f].range,t.fullField,t.min,t.max))},Jr="enum",BT=function(t,n,r,o,s){t[Jr]=Array.isArray(t[Jr])?t[Jr]:[],t[Jr].indexOf(n)===-1&&o.push(Ht(s.messages[Jr],t.fullField,t[Jr].join(", ")))},DT=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Ht(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(Ht(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Fe={required:bv,whitespace:MT,type:NT,range:FT,enum:BT,pattern:DT},jT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n,"string")&&!t.required)return r();Fe.required(t,n,o,i,s,"string"),ht(n,"string")||(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s),Fe.pattern(t,n,o,i,s),t.whitespace===!0&&Fe.whitespace(t,n,o,i,s))}r(i)},zT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&Fe.type(t,n,o,i,s)}r(i)},HT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},VT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&Fe.type(t,n,o,i,s)}r(i)},KT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),ht(n)||Fe.type(t,n,o,i,s)}r(i)},UT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},qT=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(ht(n)&&!t.required)return r();Fe.required(t,n,o,i,s),n!==void 0&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},WT=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();Fe.required(t,n,o,i,s,"array"),n!=null&&(Fe.type(t,n,o,i,s),Fe.range(t,n,o,i,s))}r(i)},GT=function(t,n,r,o,s){var
Line truncated
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
${R4()?"":"overflow:hidden !important;"}
|
||||
${k4()?"":"overflow:hidden !important;"}
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
`,a3=["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 l3(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:a3.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function ad(e,t=1,n){var r;en||(en=document.createElement("textarea"),document.body.appendChild(en));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=l3(e);en.setAttribute("style",`${a};${i3}`),en.value=e.value||e.placeholder||"";let l=en.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),en.value="";const c=en.scrollHeight-o;if(He(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(He(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=en.parentNode)==null||r.removeChild(en),en=void 0,u}const u3=Le({id:{type:String,default:void 0},size:$o,disabled:Boolean,modelValue:{type:Ee([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ee([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Jt},prefixIcon:{type:Jt},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ee([Object,Array,String]),default:()=>ta({})}}),c3={[We]: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},f3=["role"],d3=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],p3=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],h3=se({name:"ElInput",inheritAttrs:!1}),v3=se({...h3,props:u3,emits:c3,setup(e,{expose:t,emit:n}){const r=e,o=b0(),s=Vr(),i=C(()=>{const R={};return r.containerRole==="combobox"&&(R["aria-haspopup"]=o["aria-haspopup"],R["aria-owns"]=o["aria-owns"],R["aria-expanded"]=o["aria-expanded"]),R}),a=C(()=>[r.type==="textarea"?b.b():p.b(),p.m(v.value),p.is("disabled",m.value),p.is("exceed",$e.value),{[p.b("group")]:s.prepend||s.append,[p.bm("group","append")]:s.append,[p.bm("group","prepend")]:s.prepend,[p.m("prefix")]:s.prefix||r.prefixIcon,[p.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[p.bm("suffix","password-clear")]:L.value&&ae.value},o.class]),l=C(()=>[p.e("wrapper"),p.is("focus",_.value)]),u=L4({excludeKeys:C(()=>Object.keys(i.value))}),{form:c,formItem:f}=wr(),{inputId:d}=ia(r,{formItemContext:f}),v=cn(),m=Io(),p=Pe("input"),b=Pe("textarea"),g=Fn(),w=Fn(),_=K(!1),T=K(!1),O=K(!1),x=K(!1),S=K(),A=Fn(r.inputStyle),F=C(()=>g.value||w.value),I=C(()=>{var R;return(R=c==null?void 0:c.statusIcon)!=null?R:!1}),H=C(()=>(f==null?void 0:f.validateState)||""),N=C(()=>H.value&&T4[H.value]),$=C(()=>x.value?g4:$C),j=C(()=>[o.style,r.inputStyle]),X=C(()=>[r.inputStyle,A.value,{resize:r.resize}]),Y=C(()=>Dn(r.modelValue)?"":String(r.modelValue)),L=C(()=>r.clearable&&!m.value&&!r.readonly&&!!Y.value&&(_.value||T.value)),ae=C(()=>r.showPassword&&!m.value&&!r.readonly&&!!Y.value&&(!!Y.value||_.value)),Oe=C(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!m.value&&!r.readonly&&!r.showPassword),De=C(()=>Y.value.length),$e=C(()=>!!Oe.value&&De.value>Number(u.value.maxlength)),ze=C(()=>!!s.suffix||!!r.suffixIcon||L.value||r.showPassword||Oe.value||!!H.value&&I.value),[it,Ue]=oT(g);br(w,R=>{if(B(),!Oe.value||r.resize!=="both")return;const oe=R[0],{width:ye}=oe.contentRect;S.value={right:`calc(100% - ${ye+15+6}px)`}});const z=()=>{const{type:R,autosize:oe}=r;if(!(!rt||R!=="textarea"||!w.value))if(oe){const ye=Me(oe)?oe.minRows:void 0,ke=Me(oe)?oe.maxRows:void 0,Ie=ad(w.value,ye,ke);A.value={overflowY:"hidden",...Ie},Re(()=>{w.value.offsetHeight,A.value=Ie})}else A.value={minHeight:ad(w.value).minHeight}},B=(R=>{let oe=!1;return()=>{var ye;if(oe||!r.autosize)return;((ye=w.value)==null?void 0:ye.offsetParent)===null||(R(),oe=!0)}})(z),G=()=>{const R=F.v
Line truncated
|
||||
`,l3=["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 u3(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:l3.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function ad(e,t=1,n){var r;en||(en=document.createElement("textarea"),document.body.appendChild(en));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=u3(e);en.setAttribute("style",`${a};${a3}`),en.value=e.value||e.placeholder||"";let l=en.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),en.value="";const c=en.scrollHeight-o;if(He(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(He(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=en.parentNode)==null||r.removeChild(en),en=void 0,u}const c3=Le({id:{type:String,default:void 0},size:$o,disabled:Boolean,modelValue:{type:Ee([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ee([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Jt},prefixIcon:{type:Jt},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ee([Object,Array,String]),default:()=>ta({})}}),f3={[We]: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},d3=["role"],p3=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],h3=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],v3=se({name:"ElInput",inheritAttrs:!1}),m3=se({...v3,props:c3,emits:f3,setup(e,{expose:t,emit:n}){const r=e,o=b0(),s=Vr(),i=C(()=>{const R={};return r.containerRole==="combobox"&&(R["aria-haspopup"]=o["aria-haspopup"],R["aria-owns"]=o["aria-owns"],R["aria-expanded"]=o["aria-expanded"]),R}),a=C(()=>[r.type==="textarea"?b.b():p.b(),p.m(v.value),p.is("disabled",m.value),p.is("exceed",$e.value),{[p.b("group")]:s.prepend||s.append,[p.bm("group","append")]:s.append,[p.bm("group","prepend")]:s.prepend,[p.m("prefix")]:s.prefix||r.prefixIcon,[p.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[p.bm("suffix","password-clear")]:L.value&&ae.value},o.class]),l=C(()=>[p.e("wrapper"),p.is("focus",_.value)]),u=N4({excludeKeys:C(()=>Object.keys(i.value))}),{form:c,formItem:f}=wr(),{inputId:d}=ia(r,{formItemContext:f}),v=cn(),m=Io(),p=Pe("input"),b=Pe("textarea"),g=Fn(),w=Fn(),_=K(!1),T=K(!1),O=K(!1),x=K(!1),S=K(),A=Fn(r.inputStyle),F=C(()=>g.value||w.value),I=C(()=>{var R;return(R=c==null?void 0:c.statusIcon)!=null?R:!1}),H=C(()=>(f==null?void 0:f.validateState)||""),N=C(()=>H.value&&A4[H.value]),$=C(()=>x.value?b4:PC),j=C(()=>[o.style,r.inputStyle]),X=C(()=>[r.inputStyle,A.value,{resize:r.resize}]),Y=C(()=>Dn(r.modelValue)?"":String(r.modelValue)),L=C(()=>r.clearable&&!m.value&&!r.readonly&&!!Y.value&&(_.value||T.value)),ae=C(()=>r.showPassword&&!m.value&&!r.readonly&&!!Y.value&&(!!Y.value||_.value)),Oe=C(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!m.value&&!r.readonly&&!r.showPassword),De=C(()=>Y.value.length),$e=C(()=>!!Oe.value&&De.value>Number(u.value.maxlength)),ze=C(()=>!!s.suffix||!!r.suffixIcon||L.value||r.showPassword||Oe.value||!!H.value&&I.value),[it,Ue]=sT(g);br(w,R=>{if(B(),!Oe.value||r.resize!=="both")return;const oe=R[0],{width:ye}=oe.contentRect;S.value={right:`calc(100% - ${ye+15+6}px)`}});const z=()=>{const{type:R,autosize:oe}=r;if(!(!rt||R!=="textarea"||!w.value))if(oe){const ye=Me(oe)?oe.minRows:void 0,ke=Me(oe)?oe.maxRows:void 0,Ie=ad(w.value,ye,ke);A.value={overflowY:"hidden",...Ie},Re(()=>{w.value.offsetHeight,A.value=Ie})}else A.value={minHeight:ad(w.value).minHeight}},B=(R=>{let oe=!1;return()=>{var ye;if(oe||!r.autosize)return;((ye=w.value)==null?void 0:ye.offsetParent)===null||(R(),oe=!0)}})(z),G=()=>{const R=F.v
Line truncated
|
||||
* pinia v2.0.34
|
||||
* (c) 2023 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/let Jv;const ca=e=>Jv=e,Xv=Symbol();function Ml(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zo||(Zo={}));function G6(){const e=Jd(!0),t=e.run(()=>K({}));let n=[],r=[];const o=ao({install(s){ca(o),o._a=s,s.provide(Xv,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!j8?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Qv=()=>{};function Pd(e,t,n,r=Qv){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ul()&&ql(o),o}function Qr(e,...t){e.slice().forEach(n=>{n(...t)})}function Ll(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];Ml(o)&&Ml(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Nn(r)?e[n]=Ll(o,r):e[n]=r}return e}const z8=Symbol();function H8(e){return!Ml(e)||!e.hasOwnProperty(z8)}const{assign:or}=Object;function V8(e){return!!(Ke(e)&&e.effect)}function K8(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=gr(n.state.value[e]);return or(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=ao(C(()=>{ca(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=Zv(e,u,t,n,r,!0),l}function Zv(e,t,n={},r,o,s){let i;const a=or({actions:{}},n),l={deep:!0};let u,c,f=ao([]),d=ao([]),v;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={}),K({});let p;function b(S){let A;u=c=!1,typeof S=="function"?(S(r.state.value[e]),A={type:Zo.patchFunction,storeId:e,events:v}):(Ll(r.state.value[e],S),A={type:Zo.patchObject,payload:S,storeId:e,events:v});const F=p=Symbol();Re().then(()=>{p===F&&(u=!0)}),c=!0,Qr(f,A,r.state.value[e])}const g=s?function(){const{state:A}=n,F=A?A():{};this.$patch(I=>{or(I,F)})}:Qv;function w(){i.stop(),f=[],d=[],r._s.delete(e)}function _(S,A){return function(){ca(r);const F=Array.from(arguments),I=[],H=[];function N(X){I.push(X)}function $(X){H.push(X)}Qr(d,{args:F,name:S,store:O,after:N,onError:$});let j;try{j=A.apply(this&&this.$id===e?this:O,F)}catch(X){throw Qr(H,X),X}return j instanceof Promise?j.then(X=>(Qr(I,X),X)).catch(X=>(Qr(H,X),Promise.reject(X))):(Qr(I,j),j)}}const T={_p:r,$id:e,$onAction:Pd.bind(null,d),$patch:b,$reset:g,$subscribe(S,A={}){const F=Pd(f,S,A.detached,()=>I()),I=i.run(()=>fe(()=>r.state.value[e],H=>{(A.flush==="sync"?c:u)&&S({storeId:e,type:Zo.direct,events:v},H)},or({},l,A)));return F},$dispose:w},O=St(T);r._s.set(e,O);const x=r._e.run(()=>(i=Jd(),i.run(()=>t())));for(const S in x){const A=x[S];if(Ke(A)&&!V8(A)||Nn(A))s||(m&&H8(A)&&(Ke(A)?A.value=m[S]:Ll(A,m[S])),r.state.value[e][S]=A);else if(typeof A=="function"){const F=_(S,A);x[S]=F,a.actions[S]=A}}return or(O,x),or(Ae(O),x),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:S=>{b(A=>{or(A,S)})}}),r._p.forEach(S=>{or(O,i.run(()=>S({store:O,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(O.$state,m),u=!0,c=!0,O}function Y6(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=ot();return a=a||u&&Ce(Xv,null),a&&ca(a),a=Jv,a._s.has(r)||(s?Zv(r,t,o,a):K8(r,o,a)),a._s.get(r)}return i.$id=r,i}function J6(e){{e=Ae(e);const t={};for(const n in e){const r=e[n];(Ke(r)||Nn(r))&&(t[n]=zt(e,n))}return t}}function em(e,t){return function(){return e.apply(t,arguments)}}const{toString:tm}=Object.prototype,{getPrototypeOf:zu}=Object,Hu=(e=>t=>{const n=tm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gn=e=>(e=e.toLowerCase(),t=>Hu(t)===e),fa=e=>t=>typeof t===e,{isArray:ko}=Array,_s=fa("undefined");function U8(e){return e!==null&&!_s(e)&&e.constructor!==null&&!_s(e.constructor)&&vr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const nm=Gn("ArrayBuffer");function q8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&nm(e.buffer),t}const W8=fa("string"),vr=fa("function"),rm=fa("number"),Vu=e=>e!==null&&typeof e=="object",G8=e=>e===!0||e===!1,ui=e=>{if(Hu(e)!=="object")return!1;const t=zu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Y8=Gn("Date"),J8=Gn("File"),X8=Gn("Blob"),Q8=Gn("FileList"),Z8=e=>Vu(e)&&vr(e.pipe),eP=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||tm.call(e)===t||vr(e.toString)&&e.toString()===t)},tP=Gn("URLSearchParams"),nP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ko(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[rLine truncated
|
||||
*/let Jv;const ca=e=>Jv=e,Xv=Symbol();function Ml(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zo||(Zo={}));function G6(){const e=Jd(!0),t=e.run(()=>K({}));let n=[],r=[];const o=ao({install(s){ca(o),o._a=s,s.provide(Xv,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!oy?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Qv=()=>{};function Pd(e,t,n,r=Qv){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ul()&&ql(o),o}function Qr(e,...t){e.slice().forEach(n=>{n(...t)})}function Ll(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];Ml(o)&&Ml(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Nn(r)?e[n]=Ll(o,r):e[n]=r}return e}const z8=Symbol();function H8(e){return!Ml(e)||!e.hasOwnProperty(z8)}const{assign:or}=Object;function V8(e){return!!(Ke(e)&&e.effect)}function K8(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=gr(n.state.value[e]);return or(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=ao(C(()=>{ca(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=Zv(e,u,t,n,r,!0),l}function Zv(e,t,n={},r,o,s){let i;const a=or({actions:{}},n),l={deep:!0};let u,c,f=ao([]),d=ao([]),v;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={}),K({});let p;function b(S){let A;u=c=!1,typeof S=="function"?(S(r.state.value[e]),A={type:Zo.patchFunction,storeId:e,events:v}):(Ll(r.state.value[e],S),A={type:Zo.patchObject,payload:S,storeId:e,events:v});const F=p=Symbol();Re().then(()=>{p===F&&(u=!0)}),c=!0,Qr(f,A,r.state.value[e])}const g=s?function(){const{state:A}=n,F=A?A():{};this.$patch(I=>{or(I,F)})}:Qv;function w(){i.stop(),f=[],d=[],r._s.delete(e)}function _(S,A){return function(){ca(r);const F=Array.from(arguments),I=[],H=[];function N(X){I.push(X)}function $(X){H.push(X)}Qr(d,{args:F,name:S,store:O,after:N,onError:$});let j;try{j=A.apply(this&&this.$id===e?this:O,F)}catch(X){throw Qr(H,X),X}return j instanceof Promise?j.then(X=>(Qr(I,X),X)).catch(X=>(Qr(H,X),Promise.reject(X))):(Qr(I,j),j)}}const T={_p:r,$id:e,$onAction:Pd.bind(null,d),$patch:b,$reset:g,$subscribe(S,A={}){const F=Pd(f,S,A.detached,()=>I()),I=i.run(()=>fe(()=>r.state.value[e],H=>{(A.flush==="sync"?c:u)&&S({storeId:e,type:Zo.direct,events:v},H)},or({},l,A)));return F},$dispose:w},O=St(T);r._s.set(e,O);const x=r._e.run(()=>(i=Jd(),i.run(()=>t())));for(const S in x){const A=x[S];if(Ke(A)&&!V8(A)||Nn(A))s||(m&&H8(A)&&(Ke(A)?A.value=m[S]:Ll(A,m[S])),r.state.value[e][S]=A);else if(typeof A=="function"){const F=_(S,A);x[S]=F,a.actions[S]=A}}return or(O,x),or(Ae(O),x),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:S=>{b(A=>{or(A,S)})}}),r._p.forEach(S=>{or(O,i.run(()=>S({store:O,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(O.$state,m),u=!0,c=!0,O}function Y6(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=ot();return a=a||u&&Ce(Xv,null),a&&ca(a),a=Jv,a._s.has(r)||(s?Zv(r,t,o,a):K8(r,o,a)),a._s.get(r)}return i.$id=r,i}function J6(e){{e=Ae(e);const t={};for(const n in e){const r=e[n];(Ke(r)||Nn(r))&&(t[n]=zt(e,n))}return t}}function em(e,t){return function(){return e.apply(t,arguments)}}const{toString:tm}=Object.prototype,{getPrototypeOf:zu}=Object,Hu=(e=>t=>{const n=tm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gn=e=>(e=e.toLowerCase(),t=>Hu(t)===e),fa=e=>t=>typeof t===e,{isArray:ko}=Array,_s=fa("undefined");function U8(e){return e!==null&&!_s(e)&&e.constructor!==null&&!_s(e.constructor)&&vr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const nm=Gn("ArrayBuffer");function q8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&nm(e.buffer),t}const W8=fa("string"),vr=fa("function"),rm=fa("number"),Vu=e=>e!==null&&typeof e=="object",G8=e=>e===!0||e===!1,ui=e=>{if(Hu(e)!=="object")return!1;const t=zu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Y8=Gn("Date"),J8=Gn("File"),X8=Gn("Blob"),Q8=Gn("FileList"),Z8=e=>Vu(e)&&vr(e.pipe),eP=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||tm.call(e)===t||vr(e.toString)&&e.toString()===t)},tP=Gn("URLSearchParams"),nP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ko(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[rLine truncated
|
||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&FP[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Nd=Symbol("internals");function jo(e){return e&&String(e).trim().toLowerCase()}function ci(e){return e===!1||e==null?e:V.isArray(e)?e.map(ci):String(e)}function DP(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 jP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ha(e,t,n,r,o){if(V.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!V.isString(t)){if(V.isString(r))return t.indexOf(r)!==-1;if(V.isRegExp(r))return r.test(t)}}function zP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function HP(e,t){const n=V.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 ha{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=jo(l);if(!c)throw new Error("header name must be a non-empty string");const f=V.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=ci(a))}const i=(a,l)=>V.forEach(a,(u,c)=>s(u,c,l));return V.isPlainObject(t)||t instanceof this.constructor?i(t,n):V.isString(t)&&(t=t.trim())&&!jP(t)?i(BP(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=jo(t),t){const r=V.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return DP(o);if(V.isFunction(n))return n.call(this,o,r);if(V.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=jo(t),t){const r=V.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ha(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=jo(i),i){const a=V.findKey(r,i);a&&(!n||Ha(r,r[a],a,n))&&(delete r[a],o=!0)}}return V.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||Ha(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return V.forEach(this,(o,s)=>{const i=V.findKey(r,s);if(i){n[i]=ci(o),delete n[s];return}const a=t?zP(s):String(s).trim();a!==s&&delete n[s],n[a]=ci(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&V.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[Nd]=this[Nd]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=jo(i);r[a]||(HP(o,i),r[a]=!0)}return V.isArray(t)?t.forEach(s):s(t),this}}ha.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.freezeMethods(ha.prototype);V.freezeMethods(ha);const jn=ha;function Va(e,t){const n=this||Uu,r=t||n,o=jn.from(r.headers);let s=r.data;return V.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function mm(e){return!!(e&&e.__CANCEL__)}function ks(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(ks,je,{__CANCEL__:!0});function VP(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const KP=yn.isStandardBrowserEnv?function(){return{write:function(n,r,o,s,i,a){const l=[];l.push(n+"="+encodeURIComponent(r)),V.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),V.isString(s)&&l.push("path="+s),V.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function UP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qP(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function gm(e,t){return e&&!UP(t)?qP(e,t):t}const WP=yn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(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=V.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function GP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function YP(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 Fd(e,t){let n=0;const r=YP(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const c={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const JP=typeof XMLHttpRequest<"u",XP=JP&&function(e){return new Promise(function(n,r){let o=e.data;const s=jn.from(e.headers).normalize(),i=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}V.isFormData(o)&&(yn.isStandardBrowserEnv||yn.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(v+":"+m))}const c=gm(e.baseURL,e.url);u.open(e.method.toUpperCase(),pm(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const v=jn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),p={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:v,config:e,request:u};VP(function(g){n(g),l()},function(g){r(g),l()},p),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(r(new je("Request aborted",je.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new je("Network Error",je.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||hm;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new je(m,p.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,u)),u=null},yn.isStandardBrowserEnv){const v=(e.withCredentials||WP(c))&&e.xsrfCookieName&&KP.read(e.xsrfCookieName);v&&s.set(e.xsrfHeaderName,v)}o===void 0&&s.setContentType(null),"setRequestHeader"in u&&V.forEach(s.toJSON(),function(m,p){u.setRequestHeader(p,m)}),V.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withC
Line truncated
|
||||
`)}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[Nd]=this[Nd]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=jo(i);r[a]||(HP(o,i),r[a]=!0)}return V.isArray(t)?t.forEach(s):s(t),this}}ha.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.freezeMethods(ha.prototype);V.freezeMethods(ha);const jn=ha;function Va(e,t){const n=this||Uu,r=t||n,o=jn.from(r.headers);let s=r.data;return V.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function mm(e){return!!(e&&e.__CANCEL__)}function ks(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(ks,je,{__CANCEL__:!0});function VP(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const KP=yn.isStandardBrowserEnv?function(){return{write:function(n,r,o,s,i,a){const l=[];l.push(n+"="+encodeURIComponent(r)),V.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),V.isString(s)&&l.push("path="+s),V.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function UP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qP(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function gm(e,t){return e&&!UP(t)?qP(e,t):t}const WP=yn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(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=V.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function GP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function YP(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 Fd(e,t){let n=0;const r=YP(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const c={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const JP=typeof XMLHttpRequest<"u",XP=JP&&function(e){return new Promise(function(n,r){let o=e.data;const s=jn.from(e.headers).normalize(),i=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}V.isFormData(o)&&(yn.isStandardBrowserEnv||yn.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(v+":"+m))}const c=gm(e.baseURL,e.url);u.open(e.method.toUpperCase(),pm(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const v=jn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),p={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:v,config:e,request:u};VP(function(g){n(g),l()},function(g){r(g),l()},p),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(r(new je("Request aborted",je.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new je("Network Error",je.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||hm;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new je(m,p.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,u)),u=null},yn.isStandardBrowserEnv){const v=(e.withCredentials||WP(c))&&e.xsrfCookieName&&KP.read(e.xsrfCookieName);v&&s.set(e.xsrfHeaderName,v)}o===void 0&&s.setContentType(null),"setRequestHeader"in u&&V.forEach(s.toJSON(),function(m,p){u.setRequestHeader(p,m)}),V.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withC
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-33160311.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-47fc1ede.js">
|
||||
<script type="module" crossorigin src="./assets/index-7eaea170.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-ea0dcfac.js">
|
||||
<link rel="stylesheet" href="./assets/vendor-a24e7142.css">
|
||||
<link rel="stylesheet" href="./assets/index-1144b610.css">
|
||||
<link rel="stylesheet" href="./assets/index-e7155cf8.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user