@openlist-frontend/openlist-frontend 4.0.0-rc.3 → 4.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +1 -1
- package/dist/assets/{2fa-28c62ad7.js → 2fa-bfb60224.js} +1 -1
- package/dist/assets/{2fa-legacy-99038e66.js → 2fa-legacy-68c96d21.js} +1 -1
- package/dist/assets/{About-228f4a6e.js → About-c10044ab.js} +1 -1
- package/dist/assets/{About-legacy-8e43a0da.js → About-legacy-201acb12.js} +1 -1
- package/dist/assets/{AddOrEdit-c6fc1878.js → AddOrEdit-5072f796.js} +1 -1
- package/dist/assets/{AddOrEdit-63178ad7.js → AddOrEdit-7dda7b7f.js} +1 -1
- package/dist/assets/{AddOrEdit-510b4ee2.js → AddOrEdit-9dba70c2.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-ff0ac826.js → AddOrEdit-legacy-451a17d6.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-c94a0d13.js → AddOrEdit-legacy-86b3c8e8.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-b4b77c0f.js → AddOrEdit-legacy-ed8d5e2e.js} +1 -1
- package/dist/assets/{Common-fe53b1ab.js → Common-d195ee07.js} +1 -1
- package/dist/assets/{Common-legacy-326fac79.js → Common-legacy-c316adef.js} +1 -1
- package/dist/assets/{Copy-f4ebe3eb.js → Copy-5209af95.js} +1 -1
- package/dist/assets/{Copy-legacy-92f405d1.js → Copy-legacy-7961e365.js} +1 -1
- package/dist/assets/Decompress-3b5aaf3a.js +1 -0
- package/dist/assets/{Decompress-legacy-9247f1ac.js → Decompress-legacy-9b8f3c2d.js} +1 -1
- package/dist/assets/{DeletePopover-80b2935b.js → DeletePopover-a6255535.js} +1 -1
- package/dist/assets/{DeletePopover-legacy-6766d176.js → DeletePopover-legacy-ba35c239.js} +1 -1
- package/dist/assets/{File-1561f125.js → File-f53305f8.js} +1 -1
- package/dist/assets/{File-legacy-aa19825f.js → File-legacy-574cc2b2.js} +1 -1
- package/dist/assets/{Folder-e935f612.js → Folder-3e3dcf26.js} +2 -2
- package/dist/assets/{Folder-legacy-dcf28ad3.js → Folder-legacy-863cf595.js} +2 -2
- package/dist/assets/{FolderTree-b478b175.js → FolderTree-24a7f346.js} +1 -1
- package/dist/assets/{FolderTree-legacy-7c103e62.js → FolderTree-legacy-06ec6125.js} +1 -1
- package/dist/assets/Grid-da12e31d.js +1 -0
- package/dist/assets/{Grid-legacy-410739d6.js → Grid-legacy-29447c46.js} +1 -1
- package/dist/assets/{GridItem-3def82bb.js → GridItem-9d3cfa51.js} +1 -1
- package/dist/assets/{GridItem-legacy-345a80ce.js → GridItem-legacy-8c37b807.js} +1 -1
- package/dist/assets/{ImageWithError-b8e01bd3.js → ImageWithError-3e1c0878.js} +1 -1
- package/dist/assets/{ImageWithError-legacy-d50c4a1c.js → ImageWithError-legacy-c453212d.js} +1 -1
- package/dist/assets/{Images-fefb0329.js → Images-7e7c0e1e.js} +1 -1
- package/dist/assets/{Images-legacy-f01f548f.js → Images-legacy-818fab2e.js} +1 -1
- package/dist/assets/{Layout-09432b27.js → Layout-dd6eb4a1.js} +2 -2
- package/dist/assets/{Layout-legacy-05c3af7a.js → Layout-legacy-b4a8cc6e.js} +2 -2
- package/dist/assets/{List-a461509b.js → List-0178c305.js} +1 -1
- package/dist/assets/{List-legacy-b32f16d0.js → List-legacy-dd248b10.js} +1 -1
- package/dist/assets/{Messenger-dbe590b6.js → Messenger-b4e08863.js} +1 -1
- package/dist/assets/{Messenger-legacy-a20f32cd.js → Messenger-legacy-5197634e.js} +1 -1
- package/dist/assets/{Metas-73b56e96.js → Metas-4781a513.js} +1 -1
- package/dist/assets/{Metas-legacy-95d1c3f7.js → Metas-legacy-7f1fbfa9.js} +1 -1
- package/dist/assets/{Other-6b754688.js → Other-f1dc486f.js} +1 -1
- package/dist/assets/{Other-legacy-fbe5c890.js → Other-legacy-4735a8cf.js} +1 -1
- package/dist/assets/{PackageDownload-9909887f.js → PackageDownload-8141aa3e.js} +1 -1
- package/dist/assets/{PackageDownload-legacy-8ad5bb65.js → PackageDownload-legacy-6aba90ba.js} +1 -1
- package/dist/assets/{Paginator-4ccd38ac.js → Paginator-2c115610.js} +1 -1
- package/dist/assets/{Paginator-legacy-c524fa71.js → Paginator-legacy-edcb0ccb.js} +1 -1
- package/dist/assets/{Password-dc42da0f.js → Password-7c7b3e01.js} +1 -1
- package/dist/assets/{Password-legacy-dc495cd3.js → Password-legacy-ced9bfd6.js} +1 -1
- package/dist/assets/{Profile-be01a288.js → Profile-fa44ccbc.js} +1 -1
- package/dist/assets/{Profile-legacy-4501b6ed.js → Profile-legacy-29b8999a.js} +1 -1
- package/dist/assets/{PublicKeys-d2aa9787.js → PublicKeys-3c781777.js} +1 -1
- package/dist/assets/{PublicKeys-legacy-0c4c6bc4.js → PublicKeys-legacy-f835a39e.js} +1 -1
- package/dist/assets/{ResponsiveGrid-8f3eee9b.js → ResponsiveGrid-e467d9e5.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy-e625bbe4.js → ResponsiveGrid-legacy-9ede67f5.js} +1 -1
- package/dist/assets/{S3-931076b0.js → S3-52605d70.js} +1 -1
- package/dist/assets/{S3-legacy-71177038.js → S3-legacy-2d774a77.js} +1 -1
- package/dist/assets/{SettingItem-80d24247.js → SettingItem-c13d0eba.js} +1 -1
- package/dist/assets/{SettingItem-legacy-310ac6bb.js → SettingItem-legacy-c1e9c1cd.js} +1 -1
- package/dist/assets/{Storages-6ec18f01.js → Storages-ce4ac846.js} +1 -1
- package/dist/assets/{Storages-legacy-6902e57d.js → Storages-legacy-4c0e66df.js} +1 -1
- package/dist/assets/Upload-07908859.js +1 -0
- package/dist/assets/{Upload-d63c8289.js → Upload-d19fd73d.js} +1 -1
- package/dist/assets/{Upload-legacy-df3ddb3f.js → Upload-legacy-587efaa1.js} +1 -1
- package/dist/assets/{Upload-legacy-e5fd2909.js → Upload-legacy-9b0b2da8.js} +1 -1
- package/dist/assets/{Users-0c5ad714.js → Users-d2142837.js} +1 -1
- package/dist/assets/{Users-legacy-5ed510d5.js → Users-legacy-515010ff.js} +1 -1
- package/dist/assets/{Wether-9de26af6.js → Wether-6b3cbc03.js} +1 -1
- package/dist/assets/{Wether-legacy-213a29af.js → Wether-legacy-25891a73.js} +1 -1
- package/dist/assets/{aliyun_office-d6470cae.js → aliyun_office-6e2e8656.js} +1 -1
- package/dist/assets/{aliyun_office-legacy-3c5b1f26.js → aliyun_office-legacy-1196f6a3.js} +1 -1
- package/dist/assets/{aliyun_video-5cc6aa56.js → aliyun_video-88e2c7a7.js} +1 -1
- package/dist/assets/{aliyun_video-legacy-dea16cd5.js → aliyun_video-legacy-ffc8650c.js} +1 -1
- package/dist/assets/{archive-a7f0a62b.js → archive-4644fd39.js} +1 -1
- package/dist/assets/{archive-legacy-498956dd.js → archive-legacy-d8aa604e.js} +1 -1
- package/dist/assets/{asciinema-da4a012e.js → asciinema-5c3f90a8.js} +1 -1
- package/dist/assets/{asciinema-legacy-85806bff.js → asciinema-legacy-1729fe7b.js} +1 -1
- package/dist/assets/{audio-84b69ace.js → audio-99fac2d8.js} +1 -1
- package/dist/assets/{audio-legacy-d61935ed.js → audio-legacy-ad267c31.js} +1 -1
- package/dist/assets/{backup-restore-3c1d7e81.js → backup-restore-cdea9743.js} +1 -1
- package/dist/assets/{backup-restore-legacy-68f518c0.js → backup-restore-legacy-21c7d4c0.js} +1 -1
- package/dist/assets/{entry-ed3b74f3.js → entry-cb73f290.js} +1 -1
- package/dist/assets/{entry-8665f2b2.js → entry-fd04a539.js} +1 -1
- package/dist/assets/{entry-legacy-384ae66f.js → entry-legacy-e7320ca0.js} +1 -1
- package/dist/assets/{entry-legacy-fdfc1867.js → entry-legacy-fcd60704.js} +1 -1
- package/dist/assets/{helper-9a785054.js → helper-04711c67.js} +1 -1
- package/dist/assets/{helper-f3f58a11.js → helper-541b1f7d.js} +1 -1
- package/dist/assets/{helper-legacy-ba755723.js → helper-legacy-79be66bc.js} +1 -1
- package/dist/assets/{helper-legacy-fedabc16.js → helper-legacy-a15d06a6.js} +1 -1
- package/dist/assets/{hls-6597d204.js → hls-8eb62f2b.js} +1 -1
- package/dist/assets/{hls-legacy-10563e30.js → hls-legacy-43b4dac6.js} +1 -1
- package/dist/assets/{html-d9ab7aa1.js → html-432dcf07.js} +1 -1
- package/dist/assets/{html-legacy-211aec58.js → html-legacy-8d6e1620.js} +1 -1
- package/dist/assets/{icon-373815b0.js → icon-16dc6da0.js} +1 -1
- package/dist/assets/{icon-legacy-9b91c4a7.js → icon-legacy-bc1146fa.js} +1 -1
- package/dist/assets/{image-ee68b3ed.js → image-0b912c98.js} +1 -1
- package/dist/assets/{image-legacy-a956c77c.js → image-legacy-16d5cea9.js} +1 -1
- package/dist/assets/{index-01cfc2e6.js → index-14329186.js} +1 -1
- package/dist/assets/{index-bb955f8a.js → index-19b88e3a.js} +2 -2
- package/dist/assets/{index-039cd2cb.js → index-2d936d2e.js} +1 -1
- package/dist/assets/{index-6b37f904.js → index-3e3f9668.js} +1 -1
- package/dist/assets/{index-6db61743.js → index-896afa94.js} +1 -1
- package/dist/assets/{index-84e09369.js → index-8c4af0b7.js} +1 -1
- package/dist/assets/{index-c2da4167.js → index-97181049.js} +1 -1
- package/dist/assets/{index-83543fc8.js → index-9bb88586.js} +1 -1
- package/dist/assets/{index-c141a786.js → index-ac04d600.js} +1 -1
- package/dist/assets/{index-9e00d9e1.js → index-da4c5c61.js} +1 -1
- package/dist/assets/{index-legacy-cfdbf97b.js → index-legacy-28e6eb48.js} +1 -1
- package/dist/assets/{index-legacy-814e0496.js → index-legacy-387a15cd.js} +3 -3
- package/dist/assets/{index-legacy-2c30e99e.js → index-legacy-55ddeda5.js} +1 -1
- package/dist/assets/{index-legacy-821876a8.js → index-legacy-688b48cf.js} +1 -1
- package/dist/assets/{index-legacy-3e100720.js → index-legacy-7cafe1f4.js} +1 -1
- package/dist/assets/{index-legacy-4880b59a.js → index-legacy-83d9d209.js} +1 -1
- package/dist/assets/{index-legacy-586b03bb.js → index-legacy-d0083da7.js} +1 -1
- package/dist/assets/{index-legacy-b51e0974.js → index-legacy-d2da7f8e.js} +1 -1
- package/dist/assets/{index-legacy-819c5ec4.js → index-legacy-efa4252a.js} +1 -1
- package/dist/assets/{index-legacy-d57617f8.js → index-legacy-f2d0fdb3.js} +1 -1
- package/dist/assets/{indexes-24f3ebbd.js → indexes-51437f6a.js} +1 -1
- package/dist/assets/{indexes-legacy-453e6b9f.js → indexes-legacy-b9930f71.js} +1 -1
- package/dist/assets/{ipa-f561ecc4.js → ipa-a573d4aa.js} +1 -1
- package/dist/assets/{ipa-legacy-c8439b3e.js → ipa-legacy-1b69561b.js} +1 -1
- package/dist/assets/{markdown-fad84792.js → markdown-bd4b8344.js} +1 -1
- package/dist/assets/{markdown-legacy-4c0ce75d.js → markdown-legacy-4ce99a86.js} +1 -1
- package/dist/assets/markdown_with_word_wrap-24d998fe.js +1 -0
- package/dist/assets/markdown_with_word_wrap-legacy-e811269c.js +1 -0
- package/dist/assets/offline_download-7af6a5ee.js +1 -0
- package/dist/assets/{offline_download-legacy-d20b6b9d.js → offline_download-legacy-8c7dd58a.js} +1 -1
- package/dist/assets/plist-66e300cf.js +1 -0
- package/dist/assets/{plist-legacy-fb328075.js → plist-legacy-e364bc3f.js} +1 -1
- package/dist/assets/{polyfills-legacy-84c7163c.js → polyfills-legacy-fa59231c.js} +1 -1
- package/dist/assets/{style-a9ccd75a.js → style-ba51b03c.js} +1 -1
- package/dist/assets/{style-legacy-f99cf939.js → style-legacy-5bf4617b.js} +1 -1
- package/dist/assets/{text-editor-9c5dc9d6.js → text-editor-5559e588.js} +1 -1
- package/dist/assets/{text-editor-legacy-cd483f26.js → text-editor-legacy-a8522084.js} +1 -1
- package/dist/assets/{url-77ac4c13.js → url-df4109c0.js} +1 -1
- package/dist/assets/{url-legacy-85eaeb3a.js → url-legacy-3b4327a7.js} +1 -1
- package/dist/assets/{useTitle-b26ffa95.js → useTitle-d7b4b00d.js} +1 -1
- package/dist/assets/{useTitle-legacy-db995d64.js → useTitle-legacy-0227f0ab.js} +1 -1
- package/dist/assets/{video-983b68f6.js → video-db652b32.js} +1 -1
- package/dist/assets/{video-legacy-4d7da6cb.js → video-legacy-b1942607.js} +1 -1
- package/dist/assets/{video360-5bfb1cc6.js → video360-595f1bfe.js} +1 -1
- package/dist/assets/{video360-legacy-dc228384.js → video360-legacy-2c52b2ac.js} +1 -1
- package/dist/assets/{video_box-a51bfa50.js → video_box-e509d80e.js} +1 -1
- package/dist/assets/{video_box-legacy-fc7f8aab.js → video_box-legacy-ac00185c.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/Decompress-ac5f7b7e.js +0 -1
- package/dist/assets/Grid-ce442ba6.js +0 -1
- package/dist/assets/Upload-fccd8916.js +0 -1
- package/dist/assets/markdown_with_word_wrap-c1407eb2.js +0 -1
- package/dist/assets/markdown_with_word_wrap-legacy-9dfd3056.js +0 -1
- package/dist/assets/offline_download-4b8b3df5.js +0 -1
- package/dist/assets/plist-a32314fb.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aM as a}from"./index-
|
|
1
|
+
import{aM as a}from"./index-19b88e3a.js";function e(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="m16 2 5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16Zm-3 10h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function r(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2ZM13 13h3l-4-4-4 4h3v4h2v-4Z"/>'},l)}function t(l){return a({a:{viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10 0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795Zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795Z"/>'},l)}export{t as R,r as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cc as pe,J as W,cd as q,ce as S,as as V,Z as B,y as e,ag as T,af as I,W as k,d as Q,c8 as _,cf as $,x as X,aH as Y,bk as v,bZ as he,cg as fe,ch as me,ci as we,cj as be,b as Ce,G as ve,q as w,ck as _e,b3 as U,am as $e,aa as ye,bS as A,aE as xe,bR as ke,S as b,I as O,b5 as Z,a9 as Se,ao as Ie,D as z,bv as Le,bw as Ee,cl as Ge,aL as Re,n as C,bl as Pe,cm as J}from"./index-
|
|
1
|
+
import{cc as pe,J as W,cd as q,ce as S,as as V,Z as B,y as e,ag as T,af as I,W as k,d as Q,c8 as _,cf as $,x as X,aH as Y,bk as v,bZ as he,cg as fe,ch as me,ci as we,cj as be,b as Ce,G as ve,q as w,ck as _e,b3 as U,am as $e,aa as ye,bS as A,aE as xe,bR as ke,S as b,I as O,b5 as Z,a9 as Se,ao as Ie,D as z,bv as Le,bw as Ee,cl as Ge,aL as Re,n as C,bl as Pe,cm as J}from"./index-19b88e3a.js";import{a as Me}from"./useTitle-d7b4b00d.js";import{s as Te,g as Ue,a as Ae}from"./webauthn-json.browser-ponyfill-29d8152c.js";const Oe="https://github.com/alist-org/alist";function ze(s){return pe("".concat(s,"-").concat(Oe))}var Be=V('<svg version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink height=896 width=967.8852157128662><defs><path id=path-2 opacity=1 fill-rule=evenodd d="M896,448 C1142.6325445712241,465.5747656464056 695.2579309733121,896 448,896 C200.74206902668806,896 5.684341886080802e-14,695.2579309733121 0,448.0000000000001 C0,200.74206902668806 200.74206902668791,5.684341886080802e-14 447.99999999999994,0 C695.2579309733121,0 475,418 896,448Z"></path><linearGradient id=linearGradient-3 x1=0.5 y1=0 x2=0.5 y2=1><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-2 fill=url(#linearGradient-3) fill-opacity=1>');const Fe=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=Be(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()};var De=V('<svg height=1337 width=1337><defs><path id=path-1 opacity=1 fill-rule=evenodd d="M1337,668.5 C1337,1037.455193874239 1037.455193874239,1337 668.5,1337 C523.6725684305388,1337 337,1236 370.50000000000006,1094 C434.03835568300906,824.6732385973953 6.906089672974592e-14,892.6277623047779 0,668.5000000000001 C0,299.5448061257611 299.5448061257609,1.1368683772161603e-13 668.4999999999999,0 C1037.455193874239,0 1337,299.544806125761 1337,668.5Z"></path><linearGradient id=linearGradient-2 x1=0.79 y1=0.62 x2=0.21 y2=0.86><stop offset=0 stop-opacity=1></stop><stop offset=1 stop-opacity=1></stop></linearGradient></defs><g opacity=1><use xlink:href=#path-1 fill=url(#linearGradient-2) fill-opacity=1>');const Ke=s=>{const g=W({startColor:"#28aff0",endColor:"#120fc4"},s);return(()=>{var n=De(),u=n.firstChild,p=u.firstChild,r=p.nextSibling,c=r.firstChild,a=c.nextSibling;return q(t=>{var i=g.startColor,h=g.endColor;return i!==t.e&&S(c,"stop-color",t.e=i),h!==t.t&&S(a,"stop-color",t.t=h),t},{e:void 0,t:void 0}),n})()},je=()=>{const s=B("#a9c6ff","#062b74");return e(T,{get bgColor(){return s()},pos:"fixed",top:"0",left:"0",overflow:"hidden",zIndex:"-1",w:"100vw",h:"100vh",get children(){return[e(T,{pos:"absolute",right:{"@initial":"-100px","@sm":"-300px"},top:{"@initial":"-1170px","@sm":"-900px"},get children(){return e(Ke,{})}}),e(T,{pos:"absolute",left:{"@initial":"-100px","@sm":"-200px"},bottom:{"@initial":"-760px","@sm":"-400px"},get children(){return e(Fe,{})}})]}})},He=()=>{const s=I("sso_login_enabled"),g=k("sso_login_platform"),n=I("sso_compatibility_mode"),{searchParams:u,to:p}=Q(),r=u.token;r!=null&&r!=""&&(_(r),p(decodeURIComponent(u.redirect||$||"/"),!0));function c(a){const t=a.data;t.token&&(_(t.token),p(decodeURIComponent(u.redirect||$||"/"),!0))}if(window.addEventListener("message",c),X(()=>{window.removeEventListener("message",c)}),s){const a=()=>{const i=v.getUri()+"/auth/sso?method=sso_get_token";if(n){window.location.href=i;return}window.open(i,"authPopup","width=500,height=600")};let t;switch(g){case"Github":t=be;break;case"Microsoft":t=we;break;case"Google":t=me;break;case"Dingtalk":t=fe;break;default:t=he}return e(Y,{cursor:"pointer",boxSize:"$8",as:t,p:"$0_5",onclick:a})}},We=()=>{const s=k("logo").split("\n"),g=B(s[0],s.pop()),n=Ce(),u=ve(()=>"".concat(n("login.login_to")," ").concat(k("site_title")));Me(u);const p=B("white","$neutral1"),[r,c]=w(localStorage.getItem("username")||""),[a,t]=w(localStorage.getItem("password")||""),[i,h]=w(""),[y,ee]=w(!1),[x,te]=_e("remember-pwd","false"),[L,F]=w(!1),[ne,oe]=U(async()=>L()?v.post("/auth/login/ldap",{username:r(),password:a(),otp_code:i()}):v.post("/auth/login/hash",{username:r(),password:ze(a()),otp_code:i()})),[,re]=U((o,l,m,M)=>v.post("/authn/webauthn_finish_login?username="+m,JSON.stringify(l),{headers:{session:o},signal:M})),[,se]=U((o,l)=>v.get("/authn/webauthn_begin_login?username="+o,{signal:l})),{searchParams:E,to:G}=Q(),ae=async()=>PublicKeyCredential&&"isConditionalMediationAvailable"in PublicKeyCredential?await PublicKeyCredential.isConditionalMediationAvailable():!1,D=I("webauthn_login_enabled"),ie=async()=>{ee(!y())};let d=null;const K=async o=>{if(!Te()){o||C.error(n("users.webauthn_not_supported"));return}if(o&&!await ae())return;d==null||d.abort();const l=new AbortController;d=l;const m=o?"":r();!o&&x()==="true"?localStorage.setItem("username",r()):localStorage.removeItem("username");const M=await se(m,l.signal);Pe(M,async N=>{try{const f=Ue(N.options);f.signal=l.signal,o&&(f.mediation="conditional");const ue=await Ae(f),de=await re(N.session,ue,m,l.signal);J(de,ge=>{C.success(n("login.success")),_(ge.token),G(decodeURIComponent(E.redirect||$||"/"),!0)})}catch(f){f instanceof Error&&f.name!="AbortError"&&C.error(f.message)}})},j=()=>d==null?void 0:d.abort();$e(()=>{D&&(window.addEventListener("beforeunload",j),K(!0))}),X(()=>{d==null||d.abort(),window.removeEventListener("beforeunload",j)});const R=async()=>{if(y())await K();else{x()==="true"?(localStorage.setItem("username",r()),localStorage.setItem("password",a())):(localStorage.removeItem("username"),localStorage.removeItem("password"));const o=await oe();J(o,l=>{C.success(n("login.success")),_(l.token),G(decodeURIComponent(E.redirect||$||"/"),!0)},(l,m)=>{!P()&&m===402?le(!0):C.error(l)})}},[P,le]=w(!1),H=I("ldap_login_enabled"),ce=k("ldap_login_tips");return H&&F(!0),e(Re,{zIndex:"1",w:"$full",h:"100vh",get children(){return[e(ye,{get bgColor(){return p()},rounded:"$xl",p:"24px",w:{"@initial":"90%","@sm":"364px"},spacing:"$4",get children(){return[e(A,{alignItems:"center",justifyContent:"space-around",get children(){return[e(xe,{mr:"$2",boxSize:"$12",get src(){return g()}}),e(ke,{color:"$info9",fontSize:"$2xl",get children(){return u()}})]}}),e(b,{get when(){return!P()},get fallback(){return e(O,{id:"totp",name:"otp",get placeholder(){return n("login.otp-tips")},get value(){return i()},onInput:o=>h(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})},get children(){return[e(O,{name:"username",get placeholder(){return n("login.username-tips")},get value(){return r()},onInput:o=>c(o.currentTarget.value)}),e(b,{get when(){return!y()},get children(){return e(O,{name:"password",get placeholder(){return n("login.password-tips")},type:"password",get value(){return a()},onInput:o=>t(o.currentTarget.value),onKeyDown:o=>{o.key==="Enter"&&R()}})}}),e(A,{px:"$1",w:"$full",fontSize:"$sm",color:"$neutral10",justifyContent:"space-between",alignItems:"center",get children(){return[e(Z,{get checked(){return x()==="true"},onChange:()=>te(x()==="true"?"false":"true"),get children(){return n("login.remember")}}),e(Se,{as:"a",target:"_blank",get href(){return n("login.forget_url")},get children(){return n("login.forget")}})]}})]}}),e(Ie,{w:"$full",spacing:"$2",get children(){return[e(b,{get when(){return!y()},get children(){return e(z,{colorScheme:"primary",w:"$full",onClick:()=>{P()?h(""):(c(""),t(""))},get children(){return n("login.clear")}})}}),e(z,{w:"$full",get loading(){return ne()},onClick:R,get children(){return n("login.login")}})]}}),e(b,{when:H,get children(){return e(Z,{w:"$full",get checked(){return L()===!0},onChange:()=>F(!L()),children:ce})}}),e(z,{w:"$full",colorScheme:"accent",onClick:()=>{_(),G(decodeURIComponent(E.redirect||$||"/"),!0)},get children(){return n("login.use_guest")}}),e(A,{mt:"$2",justifyContent:"space-evenly",alignItems:"center",color:"$neutral10",w:"$full",get children(){return[e(Le,{}),e(Ee,{}),e(He,{}),e(b,{when:D,get children(){return e(Y,{cursor:"pointer",boxSize:"$8",as:Ge,p:"$0_5",onclick:ie})}})]}})]}}),e(je,{})]}})};export{We as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{dt as Br,cA as W,cB as ur}from"./index-bb955f8a.js";var jx={exports:{}};function dr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch(t){}var w=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch(t){}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(w());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(a){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y<v;y+=A)this._doProcessBlock(E,y);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.Base,B=D.WordArray,d=p.x64={};d.Word=w.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=w.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=w.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,w=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;w.call(this,e,x)}else w.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var y0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(y0)),y0.exports}var g0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=u(b,H,m,k,E,7,x[0]),k=u(k,b,H,m,l,12,x[1]),m=u(m,k,b,H,A,17,x[2]),H=u(H,m,k,b,_,22,x[3]),b=u(b,H,m,k,S,7,x[4]),k=u(k,b,H,m,v,12,x[5]),m=u(m,k,b,H,F,17,x[6]),H=u(H,m,k,b,y,22,x[7]),b=u(b,H,m,k,g,7,x[8]),k=u(k,b,H,m,z,12,x[9]),m=u(m,k,b,H,q,17,x[10]),H=u(H,m,k,b,P,22,x[11]),b=u(b,H,m,k,U,7,x[12]),k=u(k,b,H,m,N,12,x[13]),m=u(m,k,b,H,O,17,x[14]),H=u(H,m,k,b,X,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,X,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,O,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,N,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,U,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,O,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,N,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,U,11,x[45]),m=s(m,k,b,H,X,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,O,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,U,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,X,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,N,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(g0)),g0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=p.Hasher,B=n.algo,d=[],x=B.SHA1=w.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var w0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+y+u[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+g+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(w0)),w0.exports}var H0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.algo,B=w.SHA256,d=w.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(H0)),H0.exports}var m0={exports:{}},yx;function Vx(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,w=n.x64,B=w.Word,d=w.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,H=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=y,i0=g,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=H,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),y=t.low=y+L,t.high=F+$+(y>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=g+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),H=A.low=H+c0,A.high=b+h0+(H>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},gx;function pr(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,w=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var H=o[r[N]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var N=S+5*y,A=t[N],G=o[N],K=o[(S+1)%5+5*y],$=o[(S+2)%5+5*y];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},wx;function br(){return wx||(wx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
|
|
1
|
+
import{dt as Br,cA as W,cB as ur}from"./index-19b88e3a.js";var jx={exports:{}};function dr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var F0={exports:{}};const hr={},Cr=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),lr=Br(Cr);var hx;function I(){return hx||(hx=1,function(R,T){(function(C,n){R.exports=n()})(W,function(){var C=C||function(n,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof W<"u"&&W.crypto&&(D=W.crypto),!D&&typeof dr=="function")try{D=lr}catch(t){}var w=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch(t){}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=B(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=p?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A<l;A++){var _=i[A>>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S<l;S+=4)a[E+S>>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i<t;i+=4)a.push(w());return new u.init(a,t)}}),r=d.enc={},s=r.Hex={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E+=2)i[E>>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new u.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l<i;l++){var A=a[l>>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E<a;E++)i[E>>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new u.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(a){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y<v;y+=A)this._doProcessBlock(E,y);a=E.splice(0,v),i.sigBytes-=F}return new u.init(a,F)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});x.Hasher=f.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var a=this._doFinalize();return a},blockSize:16,_createHelper:function(t){return function(a,i){return new t.init(i).finalize(a)}},_createHmacHelper:function(t){return function(a,i){return new h.HMAC.init(t,i).finalize(a)}}});var h=d.algo={};return d}(Math);return C})}(F0)),F0.exports}var D0={exports:{}},Cx;function l0(){return Cx||(Cx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.Base,B=D.WordArray,d=p.x64={};d.Word=w.extend({init:function(x,e){this.high=x,this.low=e}}),d.WordArray=w.extend({init:function(x,e){x=this.words=x||[],e!=n?this.sigBytes=e:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,e=x.length,u=[],r=0;r<e;r++){var s=x[r];u.push(s.high),u.push(s.low)}return B.create(u,this.sigBytes)},clone:function(){for(var x=w.clone.call(this),e=x.words=this.words.slice(0),u=e.length,r=0;r<u;r++)e[r]=e[r].clone();return x}})}(),C})}(D0)),D0.exports}var p0={exports:{}},lx;function Er(){return lx||(lx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){if(typeof ArrayBuffer=="function"){var n=C,p=n.lib,D=p.WordArray,w=D.init,B=D.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var x=d.byteLength,e=[],u=0;u<x;u++)e[u>>>2]|=d[u]<<24-u%4*8;w.call(this,e,x)}else w.apply(this,arguments)};B.prototype=D}}(),C.lib.WordArray})}(p0)),p0.exports}var _0={exports:{}},Ex;function Ar(){return Ex||(Ex=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=x[r>>>2]>>>16-r%4*8&65535;u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=d.charCodeAt(u)<<16-u%2*16;return D.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,u=[],r=0;r<e;r+=2){var s=B(x[r>>>2]>>>16-r%4*8&65535);u.push(String.fromCharCode(s))}return u.join("")},parse:function(d){for(var x=d.length,e=[],u=0;u<x;u++)e[u>>>1]|=B(d.charCodeAt(u)<<16-u%2*16);return D.create(e,x*2)}};function B(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(_0)),_0.exports}var b0={exports:{}},Ax;function e0(){return Ax||(Ax=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,u=this._map;d.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=x[s>>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75<e;t++)r.push(u.charAt(h>>>6*(3-t)&63));var a=u.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var r=0;r<e.length;r++)u[e.charCodeAt(r)]=r}var s=e.charAt(64);if(s){var o=d.indexOf(s);o!==-1&&(x=o)}return B(d,x,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64})}(b0)),b0.exports}var y0={exports:{}},Fx;function Fr(){return Fx||(Fx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,u=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o<u;o+=3)for(var c=e[o>>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75<u;a++)s.push(r.charAt(t>>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,u=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<u.length;s++)r[u.charCodeAt(s)]=s}var o=u.charAt(64);if(o){var c=d.indexOf(o);c!==-1&&(e=c)}return B(d,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function B(d,x,e){for(var u=[],r=0,s=0;s<x;s++)if(s%4){var o=e[d.charCodeAt(s-1)]<<s%4*2,c=e[d.charCodeAt(s)]>>>6-s%4*2,f=o|c;u[r>>>2]|=f<<24-r%4*8,r++}return D.create(u,r)}}(),C.enc.Base64url})}(y0)),y0.exports}var g0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=B.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],U=c[f+12],N=c[f+13],O=c[f+14],X=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=u(b,H,m,k,E,7,x[0]),k=u(k,b,H,m,l,12,x[1]),m=u(m,k,b,H,A,17,x[2]),H=u(H,m,k,b,_,22,x[3]),b=u(b,H,m,k,S,7,x[4]),k=u(k,b,H,m,v,12,x[5]),m=u(m,k,b,H,F,17,x[6]),H=u(H,m,k,b,y,22,x[7]),b=u(b,H,m,k,g,7,x[8]),k=u(k,b,H,m,z,12,x[9]),m=u(m,k,b,H,q,17,x[10]),H=u(H,m,k,b,P,22,x[11]),b=u(b,H,m,k,U,7,x[12]),k=u(k,b,H,m,N,12,x[13]),m=u(m,k,b,H,O,17,x[14]),H=u(H,m,k,b,X,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,X,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,O,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,N,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,U,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,O,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,N,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,U,11,x[45]),m=s(m,k,b,H,X,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,O,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,U,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,X,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,N,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function u(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<<i|l>>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<<i|l>>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<<i|l>>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<<i|l>>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),C.MD5})}(g0)),g0.exports}var k0={exports:{}},px;function Mx(){return px||(px=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=p.Hasher,B=n.algo,d=[],x=B.SHA1=w.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,u){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[u+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,u=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return u[s>>>5]|=128<<24-s%32,u[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),u[(s+64>>>9<<4)+15]=r,e.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(k0)),k0.exports}var w0={exports:{}},_x;function rx(){return _x||(_x=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var u=[],r=d.SHA256=B.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)u[_]=s[o+_]|0;else{var S=u[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=u[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;u[_]=v+u[_-7]+y+u[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),U=A+P+g+e[_]+u[_],N=q+z;A=l,l=E,E=i,i=a+U|0,a=t,t=h,h=f,f=U+N|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),C.SHA256})}(w0)),w0.exports}var H0={exports:{}},bx;function Dr(){return bx||(bx=1,function(R,T){(function(C,n,p){R.exports=n(I(),rx())})(W,function(C){return function(){var n=C,p=n.lib,D=p.WordArray,w=n.algo,B=w.SHA256,d=w.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=B._createHelper(d),n.HmacSHA224=B._createHmacHelper(d)}(),C.SHA224})}(H0)),H0.exports}var m0={exports:{}},yx;function Vx(){return yx||(yx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(){var n=C,p=n.lib,D=p.Hasher,w=n.x64,B=w.Word,d=w.WordArray,x=n.algo;function e(){return B.create.apply(B,arguments)}var u=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new d.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,U=E.high,N=E.low,O=l.high,X=l.low,b=A.high,H=A.low,m=_.high,k=_.low,G=S,K=v,$=F,L=y,i0=g,a0=z,E0=q,f0=P,M=U,Q=N,d0=O,s0=X,h0=b,c0=H,A0=m,v0=k,V=0;V<80;V++){var j,J,C0=r[V];if(V<16)J=C0.high=o[c+V*2]|0,j=C0.low=o[c+V*2+1]|0;else{var tx=r[V-15],n0=tx.high,B0=tx.low,Jx=(n0>>>1|B0<<31)^(n0>>>8|B0<<24)^n0>>>7,ax=(B0>>>1|n0<<31)^(B0>>>8|n0<<24)^(B0>>>7|n0<<25),nx=r[V-2],o0=nx.high,u0=nx.low,xr=(o0>>>19|u0<<13)^(o0<<3|u0>>>29)^o0>>>6,ox=(u0>>>19|o0<<13)^(u0<<3|o0>>>29)^(u0>>>6|o0<<26),ix=r[V-7],rr=ix.high,er=ix.low,fx=r[V-16],tr=fx.high,sx=fx.low;j=ax+er,J=Jx+rr+(j>>>0<ax>>>0?1:0),j=j+ox,J=J+xr+(j>>>0<ox>>>0?1:0),j=j+sx,J=J+tr+(j>>>0<sx>>>0?1:0),C0.high=J,C0.low=j}var ar=M&d0^~M&h0,cx=Q&s0^~Q&c0,nr=G&$^G&i0^$&i0,or=K&L^K&a0^L&a0,ir=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),vx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),fr=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),sr=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),Bx=u[V],cr=Bx.high,ux=Bx.low,Y=v0+sr,x0=A0+fr+(Y>>>0<v0>>>0?1:0),Y=Y+cx,x0=x0+ar+(Y>>>0<cx>>>0?1:0),Y=Y+ux,x0=x0+cr+(Y>>>0<ux>>>0?1:0),Y=Y+j,x0=x0+J+(Y>>>0<j>>>0?1:0),dx=vx+or,vr=ir+nr+(dx>>>0<vx>>>0?1:0);A0=h0,v0=c0,h0=d0,c0=s0,d0=M,s0=Q,Q=f0+Y|0,M=E0+x0+(Q>>>0<f0>>>0?1:0)|0,E0=i0,f0=a0,i0=$,a0=L,$=G,L=K,K=Y+dx|0,G=x0+vr+(K>>>0<Y>>>0?1:0)|0}v=h.low=v+K,h.high=S+G+(v>>>0<K>>>0?1:0),y=t.low=y+L,t.high=F+$+(y>>>0<L>>>0?1:0),z=a.low=z+a0,a.high=g+i0+(z>>>0<a0>>>0?1:0),P=i.low=P+f0,i.high=q+E0+(P>>>0<f0>>>0?1:0),N=E.low=N+Q,E.high=U+M+(N>>>0<Q>>>0?1:0),X=l.low=X+s0,l.high=O+d0+(X>>>0<s0>>>0?1:0),H=A.low=H+c0,A.high=b+h0+(H>>>0<c0>>>0?1:0),k=_.low=k+v0,_.high=m+A0+(k>>>0<v0>>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=D._createHelper(s),n.HmacSHA512=D._createHmacHelper(s)}(),C.SHA512})}(m0)),m0.exports}var S0={exports:{}},gx;function pr(){return gx||(gx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0(),Vx())})(W,function(C){return function(){var n=C,p=n.x64,D=p.Word,w=p.WordArray,B=n.algo,d=B.SHA512,x=B.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(S0)),S0.exports}var R0={exports:{}},kx;function _r(){return kx||(kx=1,function(R,T){(function(C,n,p){R.exports=n(I(),l0())})(W,function(C){return function(n){var p=C,D=p.lib,w=D.WordArray,B=D.Hasher,d=p.x64,x=d.Word,e=p.algo,u=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){u[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<<S)-1;v<32?_^=1<<v:A^=1<<v-32}E&128?E=E<<1^113:E<<=1}s[l]=x.create(A,_)}})();var o=[];(function(){for(var f=0;f<25;f++)o[f]=x.create()})();var c=e.SHA3=B.extend({cfg:B.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],h=0;h<25;h++)f[h]=new x.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,h){for(var t=this._state,a=this.blockSize/2,i=0;i<a;i++){var E=f[h+2*i],l=f[h+2*i+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,U=q.low,v=z.high^(P<<1|U>>>31),F=z.low^(U<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var N=1;N<25;N++){var v,F,A=t[N],O=A.high,X=A.low,b=u[N];b<32?(v=O<<b|X>>>32-b,F=X<<b|O>>>32-b):(v=X<<b-32|O>>>64-b,F=O<<b-32|X>>>64-b);var H=o[r[N]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var N=S+5*y,A=t[N],G=o[N],K=o[(S+1)%5+5*y],$=o[(S+2)%5+5*y];A.high=G.high^~K.high&$.high,A.low=G.low^~K.low&$.low}var A=t[0],L=s[_];A.high^=L.high,A.low^=L.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_<l;_++){var S=i[_],v=S.high,F=S.low;v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=B.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),C.SHA3})}(R0)),R0.exports}var z0={exports:{}},wx;function br(){return wx||(wx=1,function(R,T){(function(C,n){R.exports=n(I())})(W,function(C){/** @preserve
|
|
2
2
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
3
3
|
|
|
4
4
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aM as n,y as a,J as o,R as t,L as l,Q as i,ae as c,ap as h,d as s}from"./index-bb955f8a.js";function u(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M20.005 5.995h-1v2h1v8h-1v2h1c1.103 0 2-.897 2-2v-8c0-1.102-.898-2-2-2zm-14 4H15v4H6.005z"/><path d="M17.005 17.995V4H20V2h-8v2h3.005v1.995h-11c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h11V20H12v2h8v-2h-2.995v-2.005zm-13-2v-8h11v8h-11z"/>'},e)}function f(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zm-1 4v2h-5V7h5zm-5 4h5v2h-5v-2zM4 19V5h7v14H4z"/>'},e)}function w(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M2.165 19.551c.186.28.499.449.835.449h15c.4 0 .762-.238.919-.606l3-7A.998.998 0 0 0 21 11h-1V8c0-1.103-.897-2-2-2h-6.655L8.789 4H4c-1.103 0-2 .897-2 2v13h.007a1 1 0 0 0 .158.551zM18 8v3H6c-.4 0-.762.238-.919.606L4 14.129V8h14z"/>'},e)}function p(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M5.536 21.886a1.004 1.004 0 0 0 1.033-.064l13-9a1 1 0 0 0 0-1.644l-13-9A1 1 0 0 0 5 3v18a1 1 0 0 0 .536.886z"/>'},e)}const v=e=>a(i,o(e,{get href(){return t(e.encode?l(e.href):e.href)}})),M=e=>a(h,o(e,{get href(){return c(()=>!!e.cancelBase)()?e.href:t(e.href)}})),z=e=>{const{pushHref:r}=s();return a(v,o(e,{get href(){return r(e.href)}}))};function m(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/>'},e)}function H(e){return n({a:{viewBox:"0 0 320 512"},c:'<path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/>'},e)}function k(e){return n({a:{viewBox:"0 0 320 512"},c:'<path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/>'},e)}function x(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M96 0C43 0 0 43 0 96v320c0 53 43 96 96 96h320c17.7 0 32-14.3 32-32s-14.3-32-32-32v-64c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H96zm0 384h256v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16h192c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48h192c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/>'},e)}function g(e){return n({a:{viewBox:"0 0 512 512"},c:'<path d="M0 256a256 256 0 1 1 512 0 256 256 0 1 1-512 0zm256 32a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm-96-32a96 96 0 1 0 192 0 96 96 0 1 0-192 0zm-64-16c0-35 17.5-71.1 45.2-98.8S205 96 240 96c8.8 0 16-7.2 16-16s-7.2-16-16-16c-45.4 0-89.2 22.3-121.5 54.5S64 194.6 64 240c0 8.8 7.2 16 16 16s16-7.2 16-16z"/>'},e)}function B(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M448 80v48c0 44.2-100.3 80-224 80S0 172.2 0 128V80C0 35.8 100.3 0 224 0s224 35.8 224 80zm-54.8 134.7c20.8-7.4 39.9-16.9 54.8-28.6V288c0 44.2-100.3 80-224 80S0 332.2 0 288V186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6V432c0 44.2-100.3 80-224 80S0 476.2 0 432v-85.9z"/>'},e)}function C(e){return n({a:{viewBox:"0 0 640 512"},c:'<path d="M579.8 267.7c56.5-56.5 56.5-148 0-204.5-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6 31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0l112.3-112.3zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5 50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l112.2-112.3c31.5-31.5 82.5-31.5 114 0 27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"/>'},e)}function b(e){return n({a:{viewBox:"0 0 512 512"},c:'<path d="M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm128-80c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0-96 0 48 48 0 1 0 96 0z"/>'},e)}function Z(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-archive",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"/><path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"/><path d="M10 12l4 0"/>'},e)}function L(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-checkbox",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 11l3 3l8 -8"/><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9"/>'},e)}function V(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-copy",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"/><path d="M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"/>'},e)}function A(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-external-link",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"/><path d="M11 13l9 -9"/><path d="M15 4h5v5"/>'},e)}function S(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-file-arrow-right",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"/><path d="M9 15h6"/><path d="M12.5 17.5l2.5 -2.5l-2.5 -2.5"/>'},e)}function F(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-link",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 15l6 -6"/><path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/><path d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>'},e)}function T(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-selector",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 9l4 -4l4 4"/><path d="M16 15l-4 4l-4 -4"/>'},e)}function j(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 3c-4.963 0-9 4.038-9 9s4.037 9 9 9 9-4.038 9-9-4.037-9-9-9zm0 16c-3.859 0-7-3.14-7-7s3.141-7 7-7 7 3.14 7 7-3.141 7-7 7zm.707-7 2.646-2.646a.502.502 0 0 0 0-.707.502.502 0 0 0-.707 0L12 11.293 9.354 8.646a.5.5 0 0 0-.707.707L11.293 12l-2.646 2.646a.5.5 0 0 0 .707.708L12 12.707l2.646 2.646a.5.5 0 1 0 .708-.706L12.707 12z"/>'},e)}function R(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 4c-4.419 0-8 3.582-8 8s3.581 8 8 8 8-3.582 8-8-3.581-8-8-8zm3.707 10.293a.999.999 0 1 1-1.414 1.414L12 13.414l-2.293 2.293a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L10.586 12 8.293 9.707a.999.999 0 1 1 1.414-1.414L12 10.586l2.293-2.293a.999.999 0 1 1 1.414 1.414L13.414 12l2.293 2.293z"/>'},e)}function y(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M19 17H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2z"/>'},e)}function P(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="m21.171 15.398-5.912-9.854C14.483 4.251 13.296 3.511 12 3.511s-2.483.74-3.259 2.031l-5.912 9.856c-.786 1.309-.872 2.705-.235 3.83C3.23 20.354 4.472 21 6 21h12c1.528 0 2.77-.646 3.406-1.771.637-1.125.551-2.521-.235-3.831zM12 17.549c-.854 0-1.55-.695-1.55-1.549 0-.855.695-1.551 1.55-1.551s1.55.696 1.55 1.551c0 .854-.696 1.549-1.55 1.549zm1.633-7.424c-.011.031-1.401 3.468-1.401 3.468-.038.094-.13.156-.231.156s-.193-.062-.231-.156l-1.391-3.438a1.776 1.776 0 0 1-.129-.655c0-.965.785-1.75 1.75-1.75a1.752 1.752 0 0 1 1.633 2.375z"/>'},e)}function D(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5 9V7h2v2H5ZM9 9h10V7H9v2ZM5 15v2h2v-2H5ZM19 17H9v-2h10v2Z"/><path fill="currentColor" fill-rule="evenodd" d="M1 6a3 3 0 0 1 3-3h16a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6Zm3-1h16a1 1 0 0 1 1 1v5H3V6a1 1 0 0 1 1-1Zm-1 8v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5H3Z" clip-rule="evenodd"/>'},e)}function W(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M10 18v-2H8v-2h2v-2h2v2h2v2h-2v2h-2Z"/><path fill="currentColor" fill-rule="evenodd" d="M6 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9a7 7 0 0 0-7-7H6Zm0 2h7v5h6v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm9 .1A5.009 5.009 0 0 1 18.584 7H15V4.1Z" clip-rule="evenodd"/>'},e)}function O(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M11 14.5v2h2v-2h2v-2h-2v-2h-2v2H9v2h2Z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 0 0-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 0 0 0 7.5v12a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3v-12a3 3 0 0 0-3-3h-9.126A4.002 4.002 0 0 0 8 1.5H4Zm5.732 3A2 2 0 0 0 8 3.5H4v1h5.732ZM3 6.5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-12a1 1 0 0 0-1-1H3Z" clip-rule="evenodd"/>'},e)}function q(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M9 14.5v-2h6v2H9Z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 0 0-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 0 0 0 7.5v12a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3v-12a3 3 0 0 0-3-3h-9.126A4.002 4.002 0 0 0 8 1.5H4Zm5.732 3A2 2 0 0 0 8 3.5H4v1h5.732ZM3 6.5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-12a1 1 0 0 0-1-1H3Z" clip-rule="evenodd"/>'},e)}function E(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M7 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM17 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/><path fill="currentColor" fill-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-2 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/>'},e)}function I(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" fill-rule="evenodd" d="M10 4H8v2H5a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h3v2h2V4ZM8 8v8H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3Z" clip-rule="evenodd"/><path fill="currentColor" d="M19 16h-7v2h7a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-7v2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1Z"/>'},e)}export{M as A,u as B,I as C,b as F,v as L,V as T,S as a,Z as b,F as c,O as d,q as e,W as f,j as g,E as h,f as i,L as j,p as k,D as l,B as m,x as n,y as o,m as p,A as q,g as r,C as s,H as t,T as u,k as v,R as w,w as x,z as y,P as z};
|
|
1
|
+
import{aM as n,y as a,J as o,R as t,L as l,Q as i,ae as c,ap as h,d as s}from"./index-19b88e3a.js";function u(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M20.005 5.995h-1v2h1v8h-1v2h1c1.103 0 2-.897 2-2v-8c0-1.102-.898-2-2-2zm-14 4H15v4H6.005z"/><path d="M17.005 17.995V4H20V2h-8v2h3.005v1.995h-11c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h11V20H12v2h8v-2h-2.995v-2.005zm-13-2v-8h11v8h-11z"/>'},e)}function f(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zm-1 4v2h-5V7h5zm-5 4h5v2h-5v-2zM4 19V5h7v14H4z"/>'},e)}function w(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M2.165 19.551c.186.28.499.449.835.449h15c.4 0 .762-.238.919-.606l3-7A.998.998 0 0 0 21 11h-1V8c0-1.103-.897-2-2-2h-6.655L8.789 4H4c-1.103 0-2 .897-2 2v13h.007a1 1 0 0 0 .158.551zM18 8v3H6c-.4 0-.762.238-.919.606L4 14.129V8h14z"/>'},e)}function p(e){return n({a:{viewBox:"0 0 24 24"},c:'<path d="M5.536 21.886a1.004 1.004 0 0 0 1.033-.064l13-9a1 1 0 0 0 0-1.644l-13-9A1 1 0 0 0 5 3v18a1 1 0 0 0 .536.886z"/>'},e)}const v=e=>a(i,o(e,{get href(){return t(e.encode?l(e.href):e.href)}})),M=e=>a(h,o(e,{get href(){return c(()=>!!e.cancelBase)()?e.href:t(e.href)}})),z=e=>{const{pushHref:r}=s();return a(v,o(e,{get href(){return r(e.href)}}))};function m(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/>'},e)}function H(e){return n({a:{viewBox:"0 0 320 512"},c:'<path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/>'},e)}function k(e){return n({a:{viewBox:"0 0 320 512"},c:'<path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/>'},e)}function x(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M96 0C43 0 0 43 0 96v320c0 53 43 96 96 96h320c17.7 0 32-14.3 32-32s-14.3-32-32-32v-64c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H96zm0 384h256v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16h192c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48h192c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/>'},e)}function g(e){return n({a:{viewBox:"0 0 512 512"},c:'<path d="M0 256a256 256 0 1 1 512 0 256 256 0 1 1-512 0zm256 32a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm-96-32a96 96 0 1 0 192 0 96 96 0 1 0-192 0zm-64-16c0-35 17.5-71.1 45.2-98.8S205 96 240 96c8.8 0 16-7.2 16-16s-7.2-16-16-16c-45.4 0-89.2 22.3-121.5 54.5S64 194.6 64 240c0 8.8 7.2 16 16 16s16-7.2 16-16z"/>'},e)}function B(e){return n({a:{viewBox:"0 0 448 512"},c:'<path d="M448 80v48c0 44.2-100.3 80-224 80S0 172.2 0 128V80C0 35.8 100.3 0 224 0s224 35.8 224 80zm-54.8 134.7c20.8-7.4 39.9-16.9 54.8-28.6V288c0 44.2-100.3 80-224 80S0 332.2 0 288V186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6V432c0 44.2-100.3 80-224 80S0 476.2 0 432v-85.9z"/>'},e)}function C(e){return n({a:{viewBox:"0 0 640 512"},c:'<path d="M579.8 267.7c56.5-56.5 56.5-148 0-204.5-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6 31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0l112.3-112.3zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5 50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l112.2-112.3c31.5-31.5 82.5-31.5 114 0 27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"/>'},e)}function b(e){return n({a:{viewBox:"0 0 512 512"},c:'<path d="M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm128-80c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32h288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0-96 0 48 48 0 1 0 96 0z"/>'},e)}function Z(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-archive",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"/><path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"/><path d="M10 12l4 0"/>'},e)}function L(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-checkbox",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 11l3 3l8 -8"/><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9"/>'},e)}function V(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-copy",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"/><path d="M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"/>'},e)}function A(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-external-link",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"/><path d="M11 13l9 -9"/><path d="M15 4h5v5"/>'},e)}function S(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-file-arrow-right",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"/><path d="M9 15h6"/><path d="M12.5 17.5l2.5 -2.5l-2.5 -2.5"/>'},e)}function F(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-link",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 15l6 -6"/><path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/><path d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>'},e)}function T(e){return n({a:{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-selector",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},c:'<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 9l4 -4l4 4"/><path d="M16 15l-4 4l-4 -4"/>'},e)}function j(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 3c-4.963 0-9 4.038-9 9s4.037 9 9 9 9-4.038 9-9-4.037-9-9-9zm0 16c-3.859 0-7-3.14-7-7s3.141-7 7-7 7 3.14 7 7-3.141 7-7 7zm.707-7 2.646-2.646a.502.502 0 0 0 0-.707.502.502 0 0 0-.707 0L12 11.293 9.354 8.646a.5.5 0 0 0-.707.707L11.293 12l-2.646 2.646a.5.5 0 0 0 .707.708L12 12.707l2.646 2.646a.5.5 0 1 0 .708-.706L12.707 12z"/>'},e)}function R(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M12 4c-4.419 0-8 3.582-8 8s3.581 8 8 8 8-3.582 8-8-3.581-8-8-8zm3.707 10.293a.999.999 0 1 1-1.414 1.414L12 13.414l-2.293 2.293a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L10.586 12 8.293 9.707a.999.999 0 1 1 1.414-1.414L12 10.586l2.293-2.293a.999.999 0 1 1 1.414 1.414L13.414 12l2.293 2.293z"/>'},e)}function y(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="M19 17H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2zm0-7H5c-1.103 0-2 .897-2 2s.897 2 2 2h14c1.103 0 2-.897 2-2s-.897-2-2-2z"/>'},e)}function P(e){return n({a:{baseProfile:"tiny",version:"1.2",viewBox:"0 0 24 24"},c:'<path d="m21.171 15.398-5.912-9.854C14.483 4.251 13.296 3.511 12 3.511s-2.483.74-3.259 2.031l-5.912 9.856c-.786 1.309-.872 2.705-.235 3.83C3.23 20.354 4.472 21 6 21h12c1.528 0 2.77-.646 3.406-1.771.637-1.125.551-2.521-.235-3.831zM12 17.549c-.854 0-1.55-.695-1.55-1.549 0-.855.695-1.551 1.55-1.551s1.55.696 1.55 1.551c0 .854-.696 1.549-1.55 1.549zm1.633-7.424c-.011.031-1.401 3.468-1.401 3.468-.038.094-.13.156-.231.156s-.193-.062-.231-.156l-1.391-3.438a1.776 1.776 0 0 1-.129-.655c0-.965.785-1.75 1.75-1.75a1.752 1.752 0 0 1 1.633 2.375z"/>'},e)}function D(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M5 9V7h2v2H5ZM9 9h10V7H9v2ZM5 15v2h2v-2H5ZM19 17H9v-2h10v2Z"/><path fill="currentColor" fill-rule="evenodd" d="M1 6a3 3 0 0 1 3-3h16a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6Zm3-1h16a1 1 0 0 1 1 1v5H3V6a1 1 0 0 1 1-1Zm-1 8v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5H3Z" clip-rule="evenodd"/>'},e)}function W(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M10 18v-2H8v-2h2v-2h2v2h2v2h-2v2h-2Z"/><path fill="currentColor" fill-rule="evenodd" d="M6 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9a7 7 0 0 0-7-7H6Zm0 2h7v5h6v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm9 .1A5.009 5.009 0 0 1 18.584 7H15V4.1Z" clip-rule="evenodd"/>'},e)}function O(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M11 14.5v2h2v-2h2v-2h-2v-2h-2v2H9v2h2Z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 0 0-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 0 0 0 7.5v12a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3v-12a3 3 0 0 0-3-3h-9.126A4.002 4.002 0 0 0 8 1.5H4Zm5.732 3A2 2 0 0 0 8 3.5H4v1h5.732ZM3 6.5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-12a1 1 0 0 0-1-1H3Z" clip-rule="evenodd"/>'},e)}function q(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M9 14.5v-2h6v2H9Z"/><path fill="currentColor" fill-rule="evenodd" d="M4 1.5a2 2 0 0 0-2 2v1c0 .057.002.113.007.168A3.001 3.001 0 0 0 0 7.5v12a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3v-12a3 3 0 0 0-3-3h-9.126A4.002 4.002 0 0 0 8 1.5H4Zm5.732 3A2 2 0 0 0 8 3.5H4v1h5.732ZM3 6.5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-12a1 1 0 0 0-1-1H3Z" clip-rule="evenodd"/>'},e)}function E(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" d="M7 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM17 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/><path fill="currentColor" fill-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-2 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/>'},e)}function I(e){return n({a:{fill:"none",viewBox:"0 0 24 24"},c:'<path fill="currentColor" fill-rule="evenodd" d="M10 4H8v2H5a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h3v2h2V4ZM8 8v8H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3Z" clip-rule="evenodd"/><path fill="currentColor" d="M19 16h-7v2h7a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-7v2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1Z"/>'},e)}export{M as A,u as B,I as C,b as F,v as L,V as T,S as a,Z as b,F as c,O as d,q as e,W as f,j as g,E as h,f as i,L as j,p as k,D as l,B as m,x as n,y as o,m as p,A as q,g as r,C as s,H as t,T as u,k as v,R as w,w as x,z as y,P as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as t,K as P,aa as y,G as x,aq as L,ar as v,bQ as i,a4 as $,a3 as M,d as f,b as _,Q as F,R as N,P as D,S as E,aH as p,bR as h,q as W,bS as A,ao as m,ag as l,aM as U,X as n,Y as o,bT as H,bU as Y,bV as z,bW as j,bX as q,bY as Z,bZ as S,b_ as X,b$ as Q,c0 as J,c1 as K,a_ as G,c2 as ee,c3 as te,c4 as ne,aI as oe,c5 as re,c6 as ae,aS as ie,b3 as se,bk as ce,Z as O,au as w,c7 as le,bx as ue,bp as ge,bq as me,br as de,bs as _e,bt as he,aL as I,bv as C,bw as k,bl as Ee,c8 as pe,n as fe,c9 as Ae,ca as Ie,cb as be}from"./index-bb955f8a.js";import{b as Re,a as Te}from"./useTitle-b26ffa95.js";import{A as Le,k as ve,b as $e,l as Se,m as we,n as Pe,o as De}from"./index-c2da4167.js";import{S as Oe}from"./index-9e00d9e1.js";var s=(e=>(e[e.SINGLE=0]="SINGLE",e[e.SITE=1]="SITE",e[e.STYLE=2]="STYLE",e[e.PREVIEW=3]="PREVIEW",e[e.GLOBAL=4]="GLOBAL",e[e.ARIA2=5]="ARIA2",e[e.INDEX=6]="INDEX",e[e.SSO=7]="SSO",e[e.LDAP=8]="LDAP",e[e.S3=9]="S3",e[e.FTP=10]="FTP",e[e.TRAFFIC=11]="TRAFFIC",e))(s||{}),Ce=(e=>(e[e.PUBLIC=0]="PUBLIC",e[e.PRIVATE=1]="PRIVATE",e[e.READONLY=2]="READONLY",e[e.DEPRECATED=3]="DEPRECATED",e))(Ce||{});const ke=e=>{const r=x(()=>{if(!L.is_admin(v())){if(e.role===void 0)return!1;if(e.role===i.GENERAL&&!L.is_general(v()))return!1}return!0});return t(M,{get fallback(){return t(Ve,e)},get children(){return[t($,{get when(){return!r()},children:null}),t($,{get when(){return e.children},get children(){return t(Be,e)}})]}})},Ve=e=>{const{pathname:r}=f(),a=_(),u=()=>r()===e.to;return t(Le,{get cancelBase(){return e.to.startsWith("http")},display:"flex",as:F,get href(){return e.to},onClick:g=>{var T;if(V(),e.refresh){(T=g.stopPropagation)==null||T.call(g);let d=e.to;d.startsWith("http")||(d=N(d)),window.open(d,"_self")}},w:"$full",alignItems:"center",get _hover(){return{bgColor:u()?"$info4":D(),textDecoration:"none"}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get bgColor(){return u()?"$info4":""},get color(){return u()?"$info11":""},get external(){return e.external},get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return a(e.title)}})]}})},Be=e=>{const{pathname:r}=f(),[a,u]=W(r().includes(e.to)),g=_();return t(l,{w:"$full",get children(){return[t(A,{justifyContent:"space-between",onClick:()=>{u(!a())},w:"$full",alignItems:"center",get _hover(){return{bgColor:D()}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get children(){return[t(m,{get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return g(e.title)}})]}}),t(p,{as:ve,get transform(){return a()?"rotate(90deg)":"none"},transition:"transform 0.2s"})]}}),t(E,{get when(){return a()},get children(){return t(l,{pl:"$2",get children(){return t(b,{get items(){return e.children}})}})}})]}})},b=e=>t(y,{p:"$2",w:"$full",color:"$neutral11",spacing:"$1",get children(){return t(P,{get each(){return e.items},children:r=>t(ke,r)})}});function ye(e){return U({a:{viewBox:"0 0 16 16"},c:'<path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"/>'},e)}const c=n(()=>o(()=>import("./Common-fe53b1ab.js"),["assets/Common-fe53b1ab.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/SettingItem-80d24247.js","assets/item_type-32dc6fdf.js","assets/index-c2da4167.js","assets/ResponsiveGrid-8f3eee9b.js","assets/index-9e00d9e1.js"])),R=[{title:"manage.sidemenu.profile",icon:H,to:"/@manage",role:i.GUEST,component:n(()=>o(()=>import("./Profile-be01a288.js"),["assets/Profile-be01a288.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/index-c2da4167.js","assets/webauthn-json.browser-ponyfill-29d8152c.js","assets/PublicKeys-d2aa9787.js"]))},{title:"manage.sidemenu.settings",icon:Y,to:"/@manage/settings",children:[{title:"manage.sidemenu.site",icon:z,to:"/@manage/settings/site",component:()=>t(c,{get group(){return s.SITE}})},{title:"manage.sidemenu.style",icon:j,to:"/@manage/settings/style",component:()=>t(c,{get group(){return s.STYLE}})},{title:"manage.sidemenu.preview",icon:q,to:"/@manage/settings/preview",component:()=>t(c,{get group(){return s.PREVIEW}})},{title:"manage.sidemenu.global",icon:Z,to:"/@manage/settings/global",component:()=>t(c,{get group(){return s.GLOBAL}})},{title:"manage.sidemenu.sso",icon:S,to:"/@manage/settings/sso",component:()=>t(c,{get group(){return s.SSO}})},{title:"manage.sidemenu.ldap",icon:S,to:"/@manage/settings/ldap",component:()=>t(c,{get group(){return s.LDAP}})},{title:"manage.sidemenu.s3",icon:X,to:"/@manage/settings/s3",component:n(()=>o(()=>import("./S3-931076b0.js"),["assets/S3-931076b0.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/SettingItem-80d24247.js","assets/item_type-32dc6fdf.js","assets/index-c2da4167.js","assets/ResponsiveGrid-8f3eee9b.js","assets/FolderTree-b478b175.js","assets/index-84e09369.js","assets/index-9e00d9e1.js"]))},{title:"manage.sidemenu.ftp",icon:Q,to:"/@manage/settings/ftp",component:()=>t(c,{get group(){return s.FTP}})},{title:"manage.sidemenu.traffic",icon:J,to:"/@manage/settings/traffic",component:()=>t(c,{get group(){return s.TRAFFIC}})},{title:"manage.sidemenu.other",icon:K,to:"/@manage/settings/other",component:n(()=>o(()=>import("./Other-6b754688.js"),["assets/Other-6b754688.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/FolderTree-b478b175.js","assets/index-c2da4167.js","assets/useTitle-b26ffa95.js","assets/SettingItem-80d24247.js","assets/item_type-32dc6fdf.js","assets/index-9e00d9e1.js"]))}]},{title:"manage.sidemenu.tasks",icon:ye,to:"/@manage/tasks",role:i.GENERAL,children:[{title:"manage.sidemenu.offline_download",icon:G,to:"/@manage/tasks/offline_download",role:i.GENERAL,component:n(()=>o(()=>import("./offline_download-4b8b3df5.js"),["assets/offline_download-4b8b3df5.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/helper-9a785054.js","assets/Paginator-4ccd38ac.js","assets/index-c2da4167.js"]))},{title:"manage.sidemenu.upload",icon:ee,to:"/@manage/tasks/upload",role:i.GENERAL,component:n(()=>o(()=>import("./Upload-fccd8916.js"),["assets/Upload-fccd8916.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/helper-9a785054.js","assets/Paginator-4ccd38ac.js","assets/index-c2da4167.js"]))},{title:"manage.sidemenu.copy",icon:te,to:"/@manage/tasks/copy",role:i.GENERAL,component:n(()=>o(()=>import("./Copy-f4ebe3eb.js"),["assets/Copy-f4ebe3eb.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/helper-9a785054.js","assets/Paginator-4ccd38ac.js","assets/index-c2da4167.js"]))},{title:"manage.sidemenu.decompress",icon:$e,to:"/@manage/tasks/decompress",role:i.GENERAL,component:n(()=>o(()=>import("./Decompress-ac5f7b7e.js"),["assets/Decompress-ac5f7b7e.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/helper-9a785054.js","assets/Paginator-4ccd38ac.js","assets/index-c2da4167.js"]))}]},{title:"manage.sidemenu.users",icon:ne,to:"/@manage/users",component:n(()=>o(()=>import("./Users-0c5ad714.js"),["assets/Users-0c5ad714.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/DeletePopover-80b2935b.js","assets/Wether-9de26af6.js"]))},{title:"manage.sidemenu.storages",icon:Se,to:"/@manage/storages",component:n(()=>o(()=>import("./Storages-6ec18f01.js"),["assets/Storages-6ec18f01.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/DeletePopover-80b2935b.js"]))},{title:"manage.sidemenu.metas",icon:Oe,to:"/@manage/metas",component:n(()=>o(()=>import("./Metas-73b56e96.js"),["assets/Metas-73b56e96.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/DeletePopover-80b2935b.js","assets/Wether-9de26af6.js"]))},{title:"manage.sidemenu.indexes",icon:oe,to:"/@manage/indexes",component:n(()=>o(()=>import("./indexes-24f3ebbd.js"),["assets/indexes-24f3ebbd.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/Common-fe53b1ab.js","assets/useTitle-b26ffa95.js","assets/SettingItem-80d24247.js","assets/item_type-32dc6fdf.js","assets/index-c2da4167.js","assets/ResponsiveGrid-8f3eee9b.js","assets/index-9e00d9e1.js"]))},{title:"manage.sidemenu.backup-restore",to:"/@manage/backup-restore",icon:we,component:n(()=>o(()=>import("./backup-restore-3c1d7e81.js"),["assets/backup-restore-3c1d7e81.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js","assets/index-84e09369.js"]))},{title:"manage.sidemenu.about",icon:re,to:"/@manage/about",role:i.GUEST,component:n(()=>o(()=>import("./About-228f4a6e.js"),["assets/About-228f4a6e.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/useTitle-b26ffa95.js"]))},{title:"manage.sidemenu.docs",icon:Pe,to:"https://docs.openlist.team",role:i.GUEST,external:!0},{title:"manage.sidemenu.home",icon:ae,to:"/",role:i.GUEST,refresh:!0}],{isOpen:xe,onOpen:Me,onClose:V}=ie(),[Fe,Ne]=se(()=>ce.get("/auth/logout")),We=()=>{const e=_(),{to:r}=f(),a=async()=>{Ee(await Ne(),()=>{pe(),fe.success(e("manage.logout_success")),r("/@login?redirect=".concat(encodeURIComponent(location.pathname)))})};return t(l,{as:"header",position:"sticky",top:"0",left:"0",right:"0",zIndex:"$sticky",height:"64px",flexShrink:0,shadow:"$md",p:"$4",get bgColor(){return O("$background","$neutral2")()},get children(){return[t(A,{alignItems:"center",justifyContent:"space-between",h:"$full",get children(){return[t(m,{spacing:"$2",get children(){return[t(w,{"aria-label":"menu",get icon(){return t(De,{})},display:{"@sm":"none"},onClick:Me,size:"sm"}),t(h,{fontSize:"$xl",color:"$info9",cursor:"pointer",onClick:()=>{r("/@manage")},get children(){return e("manage.title")}})]}}),t(m,{spacing:"$1",get children(){return t(w,{"aria-label":"logout",get icon(){return t(le,{})},get loading(){return Fe()},onClick:a,size:"sm"})}})]}}),t(ue,{get opened(){return xe()},placement:"left",onClose:V,get children(){return[t(ge,{}),t(me,{get children(){return[t(de,{}),t(_e,{color:"$info9",get children(){return e("manage.title")}}),t(he,{get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}})]}})]}})]}})},Ue=[{to:"/storages/add",component:n(()=>o(()=>import("./AddOrEdit-c6fc1878.js"),["assets/AddOrEdit-c6fc1878.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-8f3eee9b.js"]))},{to:"/storages/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-c6fc1878.js"),["assets/AddOrEdit-c6fc1878.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-8f3eee9b.js"]))},{to:"/users/add",component:n(()=>o(()=>import("./AddOrEdit-510b4ee2.js"),["assets/AddOrEdit-510b4ee2.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/FolderTree-b478b175.js","assets/index-c2da4167.js","assets/PublicKeys-d2aa9787.js"]))},{to:"/users/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-510b4ee2.js"),["assets/AddOrEdit-510b4ee2.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/FolderTree-b478b175.js","assets/index-c2da4167.js","assets/PublicKeys-d2aa9787.js"]))},{to:"/metas/add",component:n(()=>o(()=>import("./AddOrEdit-63178ad7.js"),["assets/AddOrEdit-63178ad7.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/FolderTree-b478b175.js","assets/index-c2da4167.js"]))},{to:"/metas/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-63178ad7.js"),["assets/AddOrEdit-63178ad7.js","assets/index-bb955f8a.js","assets/index-c0564af7.css","assets/FolderTree-b478b175.js","assets/index-c2da4167.js"]))},{to:"/2fa",component:n(()=>o(()=>import("./2fa-28c62ad7.js"),["assets/2fa-28c62ad7.js","assets/index-bb955f8a.js","assets/index-c0564af7.css"]))},{to:"/messenger",component:n(()=>o(()=>import("./Messenger-dbe590b6.js"),["assets/Messenger-dbe590b6.js","assets/index-bb955f8a.js","assets/index-c0564af7.css"]))}],He=e=>(Re(e.title),t(I,{h:"$full",get children(){return t(h,{get children(){return e.title}})}})),B=(e,r=[])=>(e.forEach(a=>{a.children?B(a.children,r):r.push({to:Ae(a.to,"/@manage"),component:a.component||(()=>t(He,{get title(){return a.title},get to(){return a.to||"empty"}}))})}),r),Ye=B(R).concat(Ue),ze=()=>{const e=_();return Te(()=>e("manage.title")),t(l,{css:{"--hope-colors-background":"var(--hope-colors-loContrast)"},bgColor:"$background",w:"$full",get children(){return[t(We,{}),t(A,{w:"$full",h:"calc(100vh - 64px)",get children(){return[t(l,{display:{"@initial":"none","@sm":"block"},w:"$56",h:"$full",shadow:"$md",get bgColor(){return O("$background","$neutral2")()},overflowY:"auto",get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}}),t(l,{w:{"@initial":"$full","@sm":"calc(100% - 14rem)"},p:"$4",overflowY:"auto",get children(){return t(Ie,{get children(){return t(P,{each:Ye,children:r=>t(be,{get path(){return r.to},get component(){return r.component}})})}})}})]}})]}})},Qe=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));export{Ce as F,s as G,Qe as i};
|
|
1
|
+
import{y as t,K as P,aa as y,G as x,aq as L,ar as v,bQ as i,a4 as $,a3 as M,d as f,b as _,Q as F,R as N,P as D,S as E,aH as p,bR as h,q as W,bS as A,ao as m,ag as l,aM as U,X as n,Y as o,bT as H,bU as Y,bV as z,bW as j,bX as q,bY as Z,bZ as S,b_ as X,b$ as Q,c0 as J,c1 as K,a_ as G,c2 as ee,c3 as te,c4 as ne,aI as oe,c5 as re,c6 as ae,aS as ie,b3 as se,bk as ce,Z as O,au as w,c7 as le,bx as ue,bp as ge,bq as me,br as de,bs as _e,bt as he,aL as I,bv as C,bw as k,bl as Ee,c8 as pe,n as fe,c9 as Ae,ca as Ie,cb as be}from"./index-19b88e3a.js";import{b as Re,a as Te}from"./useTitle-d7b4b00d.js";import{A as Le,k as ve,b as $e,l as Se,m as we,n as Pe,o as De}from"./index-97181049.js";import{S as Oe}from"./index-da4c5c61.js";var s=(e=>(e[e.SINGLE=0]="SINGLE",e[e.SITE=1]="SITE",e[e.STYLE=2]="STYLE",e[e.PREVIEW=3]="PREVIEW",e[e.GLOBAL=4]="GLOBAL",e[e.ARIA2=5]="ARIA2",e[e.INDEX=6]="INDEX",e[e.SSO=7]="SSO",e[e.LDAP=8]="LDAP",e[e.S3=9]="S3",e[e.FTP=10]="FTP",e[e.TRAFFIC=11]="TRAFFIC",e))(s||{}),Ce=(e=>(e[e.PUBLIC=0]="PUBLIC",e[e.PRIVATE=1]="PRIVATE",e[e.READONLY=2]="READONLY",e[e.DEPRECATED=3]="DEPRECATED",e))(Ce||{});const ke=e=>{const r=x(()=>{if(!L.is_admin(v())){if(e.role===void 0)return!1;if(e.role===i.GENERAL&&!L.is_general(v()))return!1}return!0});return t(M,{get fallback(){return t(Ve,e)},get children(){return[t($,{get when(){return!r()},children:null}),t($,{get when(){return e.children},get children(){return t(Be,e)}})]}})},Ve=e=>{const{pathname:r}=f(),a=_(),u=()=>r()===e.to;return t(Le,{get cancelBase(){return e.to.startsWith("http")},display:"flex",as:F,get href(){return e.to},onClick:g=>{var T;if(V(),e.refresh){(T=g.stopPropagation)==null||T.call(g);let d=e.to;d.startsWith("http")||(d=N(d)),window.open(d,"_self")}},w:"$full",alignItems:"center",get _hover(){return{bgColor:u()?"$info4":D(),textDecoration:"none"}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get bgColor(){return u()?"$info4":""},get color(){return u()?"$info11":""},get external(){return e.external},get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return a(e.title)}})]}})},Be=e=>{const{pathname:r}=f(),[a,u]=W(r().includes(e.to)),g=_();return t(l,{w:"$full",get children(){return[t(A,{justifyContent:"space-between",onClick:()=>{u(!a())},w:"$full",alignItems:"center",get _hover(){return{bgColor:D()}},px:"$2",py:"$1_5",rounded:"$md",cursor:"pointer",get children(){return[t(m,{get children(){return[t(E,{get when(){return e.icon},get children(){return t(p,{mr:"$2",get as(){return e.icon}})}}),t(h,{get children(){return g(e.title)}})]}}),t(p,{as:ve,get transform(){return a()?"rotate(90deg)":"none"},transition:"transform 0.2s"})]}}),t(E,{get when(){return a()},get children(){return t(l,{pl:"$2",get children(){return t(b,{get items(){return e.children}})}})}})]}})},b=e=>t(y,{p:"$2",w:"$full",color:"$neutral11",spacing:"$1",get children(){return t(P,{get each(){return e.items},children:r=>t(ke,r)})}});function ye(e){return U({a:{viewBox:"0 0 16 16"},c:'<path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"/>'},e)}const c=n(()=>o(()=>import("./Common-d195ee07.js"),["assets/Common-d195ee07.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/SettingItem-c13d0eba.js","assets/item_type-32dc6fdf.js","assets/index-97181049.js","assets/ResponsiveGrid-e467d9e5.js","assets/index-da4c5c61.js"])),R=[{title:"manage.sidemenu.profile",icon:H,to:"/@manage",role:i.GUEST,component:n(()=>o(()=>import("./Profile-fa44ccbc.js"),["assets/Profile-fa44ccbc.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/index-97181049.js","assets/webauthn-json.browser-ponyfill-29d8152c.js","assets/PublicKeys-3c781777.js"]))},{title:"manage.sidemenu.settings",icon:Y,to:"/@manage/settings",children:[{title:"manage.sidemenu.site",icon:z,to:"/@manage/settings/site",component:()=>t(c,{get group(){return s.SITE}})},{title:"manage.sidemenu.style",icon:j,to:"/@manage/settings/style",component:()=>t(c,{get group(){return s.STYLE}})},{title:"manage.sidemenu.preview",icon:q,to:"/@manage/settings/preview",component:()=>t(c,{get group(){return s.PREVIEW}})},{title:"manage.sidemenu.global",icon:Z,to:"/@manage/settings/global",component:()=>t(c,{get group(){return s.GLOBAL}})},{title:"manage.sidemenu.sso",icon:S,to:"/@manage/settings/sso",component:()=>t(c,{get group(){return s.SSO}})},{title:"manage.sidemenu.ldap",icon:S,to:"/@manage/settings/ldap",component:()=>t(c,{get group(){return s.LDAP}})},{title:"manage.sidemenu.s3",icon:X,to:"/@manage/settings/s3",component:n(()=>o(()=>import("./S3-52605d70.js"),["assets/S3-52605d70.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/SettingItem-c13d0eba.js","assets/item_type-32dc6fdf.js","assets/index-97181049.js","assets/ResponsiveGrid-e467d9e5.js","assets/FolderTree-24a7f346.js","assets/index-8c4af0b7.js","assets/index-da4c5c61.js"]))},{title:"manage.sidemenu.ftp",icon:Q,to:"/@manage/settings/ftp",component:()=>t(c,{get group(){return s.FTP}})},{title:"manage.sidemenu.traffic",icon:J,to:"/@manage/settings/traffic",component:()=>t(c,{get group(){return s.TRAFFIC}})},{title:"manage.sidemenu.other",icon:K,to:"/@manage/settings/other",component:n(()=>o(()=>import("./Other-f1dc486f.js"),["assets/Other-f1dc486f.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/FolderTree-24a7f346.js","assets/index-97181049.js","assets/useTitle-d7b4b00d.js","assets/SettingItem-c13d0eba.js","assets/item_type-32dc6fdf.js","assets/index-da4c5c61.js"]))}]},{title:"manage.sidemenu.tasks",icon:ye,to:"/@manage/tasks",role:i.GENERAL,children:[{title:"manage.sidemenu.offline_download",icon:G,to:"/@manage/tasks/offline_download",role:i.GENERAL,component:n(()=>o(()=>import("./offline_download-7af6a5ee.js"),["assets/offline_download-7af6a5ee.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/helper-04711c67.js","assets/Paginator-2c115610.js","assets/index-97181049.js"]))},{title:"manage.sidemenu.upload",icon:ee,to:"/@manage/tasks/upload",role:i.GENERAL,component:n(()=>o(()=>import("./Upload-07908859.js"),["assets/Upload-07908859.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/helper-04711c67.js","assets/Paginator-2c115610.js","assets/index-97181049.js"]))},{title:"manage.sidemenu.copy",icon:te,to:"/@manage/tasks/copy",role:i.GENERAL,component:n(()=>o(()=>import("./Copy-5209af95.js"),["assets/Copy-5209af95.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/helper-04711c67.js","assets/Paginator-2c115610.js","assets/index-97181049.js"]))},{title:"manage.sidemenu.decompress",icon:$e,to:"/@manage/tasks/decompress",role:i.GENERAL,component:n(()=>o(()=>import("./Decompress-3b5aaf3a.js"),["assets/Decompress-3b5aaf3a.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/helper-04711c67.js","assets/Paginator-2c115610.js","assets/index-97181049.js"]))}]},{title:"manage.sidemenu.users",icon:ne,to:"/@manage/users",component:n(()=>o(()=>import("./Users-d2142837.js"),["assets/Users-d2142837.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/DeletePopover-a6255535.js","assets/Wether-6b3cbc03.js"]))},{title:"manage.sidemenu.storages",icon:Se,to:"/@manage/storages",component:n(()=>o(()=>import("./Storages-ce4ac846.js"),["assets/Storages-ce4ac846.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/DeletePopover-a6255535.js"]))},{title:"manage.sidemenu.metas",icon:Oe,to:"/@manage/metas",component:n(()=>o(()=>import("./Metas-4781a513.js"),["assets/Metas-4781a513.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/DeletePopover-a6255535.js","assets/Wether-6b3cbc03.js"]))},{title:"manage.sidemenu.indexes",icon:oe,to:"/@manage/indexes",component:n(()=>o(()=>import("./indexes-51437f6a.js"),["assets/indexes-51437f6a.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/Common-d195ee07.js","assets/useTitle-d7b4b00d.js","assets/SettingItem-c13d0eba.js","assets/item_type-32dc6fdf.js","assets/index-97181049.js","assets/ResponsiveGrid-e467d9e5.js","assets/index-da4c5c61.js"]))},{title:"manage.sidemenu.backup-restore",to:"/@manage/backup-restore",icon:we,component:n(()=>o(()=>import("./backup-restore-cdea9743.js"),["assets/backup-restore-cdea9743.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js","assets/index-8c4af0b7.js"]))},{title:"manage.sidemenu.about",icon:re,to:"/@manage/about",role:i.GUEST,component:n(()=>o(()=>import("./About-c10044ab.js"),["assets/About-c10044ab.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/useTitle-d7b4b00d.js"]))},{title:"manage.sidemenu.docs",icon:Pe,to:"https://docs.openlist.team",role:i.GUEST,external:!0},{title:"manage.sidemenu.home",icon:ae,to:"/",role:i.GUEST,refresh:!0}],{isOpen:xe,onOpen:Me,onClose:V}=ie(),[Fe,Ne]=se(()=>ce.get("/auth/logout")),We=()=>{const e=_(),{to:r}=f(),a=async()=>{Ee(await Ne(),()=>{pe(),fe.success(e("manage.logout_success")),r("/@login?redirect=".concat(encodeURIComponent(location.pathname)))})};return t(l,{as:"header",position:"sticky",top:"0",left:"0",right:"0",zIndex:"$sticky",height:"64px",flexShrink:0,shadow:"$md",p:"$4",get bgColor(){return O("$background","$neutral2")()},get children(){return[t(A,{alignItems:"center",justifyContent:"space-between",h:"$full",get children(){return[t(m,{spacing:"$2",get children(){return[t(w,{"aria-label":"menu",get icon(){return t(De,{})},display:{"@sm":"none"},onClick:Me,size:"sm"}),t(h,{fontSize:"$xl",color:"$info9",cursor:"pointer",onClick:()=>{r("/@manage")},get children(){return e("manage.title")}})]}}),t(m,{spacing:"$1",get children(){return t(w,{"aria-label":"logout",get icon(){return t(le,{})},get loading(){return Fe()},onClick:a,size:"sm"})}})]}}),t(ue,{get opened(){return xe()},placement:"left",onClose:V,get children(){return[t(ge,{}),t(me,{get children(){return[t(de,{}),t(_e,{color:"$info9",get children(){return e("manage.title")}}),t(he,{get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}})]}})]}})]}})},Ue=[{to:"/storages/add",component:n(()=>o(()=>import("./AddOrEdit-5072f796.js"),["assets/AddOrEdit-5072f796.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-e467d9e5.js"]))},{to:"/storages/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-5072f796.js"),["assets/AddOrEdit-5072f796.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/item_type-32dc6fdf.js","assets/ResponsiveGrid-e467d9e5.js"]))},{to:"/users/add",component:n(()=>o(()=>import("./AddOrEdit-9dba70c2.js"),["assets/AddOrEdit-9dba70c2.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/FolderTree-24a7f346.js","assets/index-97181049.js","assets/PublicKeys-3c781777.js"]))},{to:"/users/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-9dba70c2.js"),["assets/AddOrEdit-9dba70c2.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/FolderTree-24a7f346.js","assets/index-97181049.js","assets/PublicKeys-3c781777.js"]))},{to:"/metas/add",component:n(()=>o(()=>import("./AddOrEdit-7dda7b7f.js"),["assets/AddOrEdit-7dda7b7f.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/FolderTree-24a7f346.js","assets/index-97181049.js"]))},{to:"/metas/edit/:id",component:n(()=>o(()=>import("./AddOrEdit-7dda7b7f.js"),["assets/AddOrEdit-7dda7b7f.js","assets/index-19b88e3a.js","assets/index-c0564af7.css","assets/FolderTree-24a7f346.js","assets/index-97181049.js"]))},{to:"/2fa",component:n(()=>o(()=>import("./2fa-bfb60224.js"),["assets/2fa-bfb60224.js","assets/index-19b88e3a.js","assets/index-c0564af7.css"]))},{to:"/messenger",component:n(()=>o(()=>import("./Messenger-b4e08863.js"),["assets/Messenger-b4e08863.js","assets/index-19b88e3a.js","assets/index-c0564af7.css"]))}],He=e=>(Re(e.title),t(I,{h:"$full",get children(){return t(h,{get children(){return e.title}})}})),B=(e,r=[])=>(e.forEach(a=>{a.children?B(a.children,r):r.push({to:Ae(a.to,"/@manage"),component:a.component||(()=>t(He,{get title(){return a.title},get to(){return a.to||"empty"}}))})}),r),Ye=B(R).concat(Ue),ze=()=>{const e=_();return Te(()=>e("manage.title")),t(l,{css:{"--hope-colors-background":"var(--hope-colors-loContrast)"},bgColor:"$background",w:"$full",get children(){return[t(We,{}),t(A,{w:"$full",h:"calc(100vh - 64px)",get children(){return[t(l,{display:{"@initial":"none","@sm":"block"},w:"$56",h:"$full",shadow:"$md",get bgColor(){return O("$background","$neutral2")()},overflowY:"auto",get children(){return[t(b,{items:R}),t(I,{get children(){return t(m,{spacing:"$4",p:"$2",color:"$neutral11",get children(){return[t(C,{}),t(k,{})]}})}})]}}),t(l,{w:{"@initial":"$full","@sm":"calc(100% - 14rem)"},p:"$4",overflowY:"auto",get children(){return t(Ie,{get children(){return t(P,{each:Ye,children:r=>t(be,{get path(){return r.to},get component(){return r.component}})})}})}})]}})]}})},Qe=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));export{Ce as F,s as G,Qe as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as d,m as g,t as q,s as D,p as v}from"./index-
|
|
1
|
+
import{f as d,m as g,t as q,s as D,p as v}from"./index-19b88e3a.js";const P={tokenize:b,concrete:!0},C={tokenize:I,partial:!0};function b(t,u,l){const i=this,n=i.events[i.events.length-1],m=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0;let o=0;return c;function c(e){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),r(e)}function r(e){return e===36?(t.consume(e),o++,r):o<2?l(e):(t.exit("mathFlowFenceSequence"),d(t,h,"whitespace")(e))}function h(e){return e===null||g(e)?F(e):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===null||g(e)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),F(e)):e===36?l(e):(t.consume(e),s)}function F(e){return t.exit("mathFlowFence"),i.interrupt?u(e):t.attempt(C,p,M)(e)}function p(e){return t.attempt({tokenize:z,partial:!0},M,x)(e)}function x(e){return(m?d(t,w,"linePrefix",m+1):w)(e)}function w(e){return e===null?M(e):g(e)?t.attempt(C,p,M)(e):(t.enter("mathFlowValue"),a(e))}function a(e){return e===null||g(e)?(t.exit("mathFlowValue"),w(e)):(t.consume(e),a)}function M(e){return t.exit("mathFlow"),u(e)}function z(e,S,y){let T=0;return d(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(f){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),k(f)}function k(f){return f===36?(T++,e.consume(f),k):T<o?y(f):(e.exit("mathFlowFenceSequence"),d(e,E,"whitespace")(f))}function E(f){return f===null||g(f)?(e.exit("mathFlowFence"),S(f)):y(f)}}}function I(t,u,l){const i=this;return n;function n(o){return o===null?u(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),m)}function m(o){return i.parser.lazy[i.now().line]?l(o):u(o)}}function N(t){let l=(t||{}).singleDollarTextMath;return l==null&&(l=!0),{tokenize:i,resolve:O,previous:L};function i(n,m,o){let c=0,r,h;return s;function s(a){return n.enter("mathText"),n.enter("mathTextSequence"),F(a)}function F(a){return a===36?(n.consume(a),c++,F):c<2&&!l?o(a):(n.exit("mathTextSequence"),p(a))}function p(a){return a===null?o(a):a===36?(h=n.enter("mathTextSequence"),r=0,w(a)):a===32?(n.enter("space"),n.consume(a),n.exit("space"),p):g(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),p):(n.enter("mathTextData"),x(a))}function x(a){return a===null||a===32||a===36||g(a)?(n.exit("mathTextData"),p(a)):(n.consume(a),x)}function w(a){return a===36?(n.consume(a),r++,w):r===c?(n.exit("mathTextSequence"),n.exit("mathText"),m(a)):(h.type="mathTextData",x(a))}}}function O(t){let u=t.length-4,l=3,i,n;if((t[l][1].type==="lineEnding"||t[l][1].type==="space")&&(t[u][1].type==="lineEnding"||t[u][1].type==="space")){for(i=l;++i<u;)if(t[i][1].type==="mathTextData"){t[u][1].type="mathTextPadding",t[l][1].type="mathTextPadding",l+=2,u-=2;break}}for(i=l-1,u++;++i<=u;)n===void 0?i!==u&&t[i][1].type!=="lineEnding"&&(n=i):(i===u||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),u-=i-n-2,i=n+2),n=void 0);return t}function L(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function _(t){return{flow:{36:P},text:{36:N(t)}}}function A(t,u){const l=String(t);let i=l.indexOf(u),n=i,m=0,o=0;if(typeof u!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++m>o&&(o=m):m=1,n=i+u.length,i=l.indexOf(u,n);return o}function B(){return{enter:{mathFlow:t,mathFlowFenceMeta:u,mathText:m},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:l,mathFlowValue:c,mathText:o,mathTextData:c}};function t(r){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},r)}function u(){this.buffer()}function l(){const r=this.resume(),h=this.stack[this.stack.length-1];h.meta=r}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function n(r){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h,this.setData("mathFlowInside")}function m(r){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},r),this.buffer()}function o(r){const h=this.resume(),s=this.exit(r);s.value=h,s.data.hChildren[0].value=h}function c(r){this.config.enter.data.call(this,r),this.config.exit.data.call(this,r)}}function V(t){let u=(t||{}).singleDollarTextMath;return u==null&&(u=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:u?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:l,inlineMath:i}};function l(m,o,c,r){const h=m.value||"",s=q(r),F="$".repeat(Math.max(A(h,"$")+1,2)),p=c.enter("mathFlow");let x=s.move(F);if(m.meta){const w=c.enter("mathFlowMeta");x+=s.move(D(c,m.meta,{before:x,after:"\n",encode:["$"],...s.current()})),w()}return x+=s.move("\n"),h&&(x+=s.move(h+"\n")),x+=s.move(F),p(),x}function i(m,o,c){let r=m.value||"",h=1;for(u||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(r);)h++;const s="$".repeat(h);/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^\$|\$$/.test(r))&&(r=" "+r+" ");let F=-1;for(;++F<c.unsafe.length;){const p=c.unsafe[F],x=v(p);let w;if(p.atBreak)for(;w=x.exec(r);){let a=w.index;r.codePointAt(a)===10&&r.codePointAt(a-1)===13&&a--,r=r.slice(0,a)+" "+r.slice(w.index+1)}}return s+r+s}function n(){return"$"}}function j(t={}){const u=this.data();l("micromarkExtensions",_(t)),l("fromMarkdownExtensions",B()),l("toMarkdownExtensions",V(t));function l(i,n){(u[i]?u[i]:u[i]=[]).push(n)}}export{j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aM as c}from"./index-
|
|
1
|
+
import{aM as c}from"./index-19b88e3a.js";function z(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M1.61 0v24l20.78-12L1.61 0m4.15 7.2 4.3 2.48-4.3 2.48V7.2m6.79 3.92 1.53.88-8.32 4.8v-1.76l6.79-3.92Z"/>'},s)}function a(s){return c({a:{viewBox:"0 0 24 24"},c:'<path d="M5.385 6.136c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-1.438 2.63c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465-2.63c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.499-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm-1.088 5.592c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.643 1.461 1.438 1.461zm5.464-5.592c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 7.247 12 7.247s1.088-.498 1.088-1.111zm.35-4.675c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461S11.206 0 12 0s1.438.654 1.438 1.461zm-.35 0C13.088.848 12.6.35 12 .35s-1.088.498-1.088 1.111S11.4 2.572 12 2.572s1.088-.498 1.088-1.111zm.35 8.806c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.499 1.088-1.111zm4.376-4.131c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939 1.461c.794 0 1.438-.654 1.438-1.461s-.644-1.461-1.438-1.461-1.438.654-1.438 1.461.644 1.461 1.438 1.461zm-4.027 1.209c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.643-1.461-1.438-1.461zm4.027 0c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 12.857a1.45 1.45 0 0 0-1.438 1.461c0 .807.644 1.461 1.438 1.461s1.438-.654 1.438-1.461a1.45 1.45 0 0 0-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zM12 12.896c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.464 1.461c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.655 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zM3.947 16.948c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461zm5.465 1.5c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm4.376 0c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm.35 4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111S11.4 23.65 12 23.65s1.088-.498 1.088-1.111zm4.376-4.091c0 .807-.644 1.461-1.438 1.461s-1.438-.654-1.438-1.461.644-1.461 1.438-1.461 1.438.654 1.438 1.461zm-.35 0c0-.613-.488-1.111-1.088-1.111s-1.088.498-1.088 1.111.488 1.111 1.088 1.111 1.088-.498 1.088-1.111zm2.939-1.461c-.794 0-1.438.654-1.438 1.461s.644 1.461 1.438 1.461 1.438-.654 1.438-1.461-.644-1.461-1.438-1.461z"/>'},s)}export{a as S,z as a};
|