From 31385cfaafb77a967dd598297e1a26fe7f0931e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Jul 2023 13:25:20 +0000 Subject: [PATCH] Deploy to GitHub pages --- 404.html | 16 + _redirects | 1 + assets/DrawingControls-7cc1e55b.js | 3 + assets/DrawingLayer-be8fae26.js | 1 + assets/FileSaver.min-23a5d44b.js | 1 + assets/NoteDisplay-b1271536.js | 1 + assets/NotesView-43efd837.js | 1 + assets/Presenter-aa6741a8.css | 1 + assets/Presenter-e9b27bf8.js | 1 + assets/PresenterPrint-9e9a6330.js | 17 + assets/favicon-790add39.ico | Bin 0 -> 10990 bytes assets/index-601729fd.js | 1391 ++++++++++++++++++++ assets/index-6217ff9c.css | 1 + assets/logo-b72bde5d.png | Bin 0 -> 94320 bytes assets/logo-title-horizontal-96c3c915.png | Bin 0 -> 122555 bytes assets/plt-logo-ddadc12c.svg | 1 + assets/plt-logo-inverted-c58ba14f.svg | 1 + assets/step-1-create-cd34b7d3.png | Bin 0 -> 157945 bytes assets/step-1-graphiql-eb8a1477.png | Bin 0 -> 156609 bytes assets/step-1-openapi-9e164307.png | Bin 0 -> 125900 bytes assets/step-1-run-7ab8335d.png | Bin 0 -> 29334 bytes assets/step-2-graphiql-65a27840.png | Bin 0 -> 97609 bytes assets/step-2-openapi-096a7a22.png | Bin 0 -> 55092 bytes assets/step-2-run-26670ad5.png | Bin 0 -> 72573 bytes assets/step-3-query-bd5a43bb.png | Bin 0 -> 33727 bytes assets/step-6-mutation-b4386120.png | Bin 0 -> 16186 bytes assets/step-7-ui-7df01360.png | Bin 0 -> 80686 bytes assets/step-8-create-app-280c27bb.png | Bin 0 -> 36377 bytes assets/step-8-deploy-b4a4d934.png | Bin 0 -> 73866 bytes assets/step-8-deploy-ok-da06699b.png | Bin 0 -> 104667 bytes assets/step-8-deploy-test-721036c9.png | Bin 0 -> 96047 bytes assets/step-8-org-57ec94d4.png | Bin 0 -> 36770 bytes assets/step-8-workspace-c930e71c.png | Bin 0 -> 67003 bytes assets/step-8-workspace-ids-0a236f3f.png | Bin 0 -> 121182 bytes assets/step-8-workspace-ids-2-8bb88dc9.png | Bin 0 -> 33687 bytes assets/step-8-workspace-ready-a1421bda.png | Bin 0 -> 93196 bytes index.html | 16 + 37 files changed, 1453 insertions(+) create mode 100644 404.html create mode 100644 _redirects create mode 100644 assets/DrawingControls-7cc1e55b.js create mode 100644 assets/DrawingLayer-be8fae26.js create mode 100644 assets/FileSaver.min-23a5d44b.js create mode 100644 assets/NoteDisplay-b1271536.js create mode 100644 assets/NotesView-43efd837.js create mode 100644 assets/Presenter-aa6741a8.css create mode 100644 assets/Presenter-e9b27bf8.js create mode 100644 assets/PresenterPrint-9e9a6330.js create mode 100644 assets/favicon-790add39.ico create mode 100644 assets/index-601729fd.js create mode 100644 assets/index-6217ff9c.css create mode 100644 assets/logo-b72bde5d.png create mode 100644 assets/logo-title-horizontal-96c3c915.png create mode 100644 assets/plt-logo-ddadc12c.svg create mode 100644 assets/plt-logo-inverted-c58ba14f.svg create mode 100644 assets/step-1-create-cd34b7d3.png create mode 100644 assets/step-1-graphiql-eb8a1477.png create mode 100644 assets/step-1-openapi-9e164307.png create mode 100644 assets/step-1-run-7ab8335d.png create mode 100644 assets/step-2-graphiql-65a27840.png create mode 100644 assets/step-2-openapi-096a7a22.png create mode 100644 assets/step-2-run-26670ad5.png create mode 100644 assets/step-3-query-bd5a43bb.png create mode 100644 assets/step-6-mutation-b4386120.png create mode 100644 assets/step-7-ui-7df01360.png create mode 100644 assets/step-8-create-app-280c27bb.png create mode 100644 assets/step-8-deploy-b4a4d934.png create mode 100644 assets/step-8-deploy-ok-da06699b.png create mode 100644 assets/step-8-deploy-test-721036c9.png create mode 100644 assets/step-8-org-57ec94d4.png create mode 100644 assets/step-8-workspace-c930e71c.png create mode 100644 assets/step-8-workspace-ids-0a236f3f.png create mode 100644 assets/step-8-workspace-ids-2-8bb88dc9.png create mode 100644 assets/step-8-workspace-ready-a1421bda.png create mode 100644 index.html diff --git a/404.html b/404.html new file mode 100644 index 0000000..b394eeb --- /dev/null +++ b/404.html @@ -0,0 +1,16 @@ + + + + + + + + + + + +
+ + + + diff --git a/_redirects b/_redirects new file mode 100644 index 0000000..a4c6e90 --- /dev/null +++ b/_redirects @@ -0,0 +1 @@ +/db-workshop/* /db-workshop/index.html 200 diff --git a/assets/DrawingControls-7cc1e55b.js b/assets/DrawingControls-7cc1e55b.js new file mode 100644 index 0000000..33917d9 --- /dev/null +++ b/assets/DrawingControls-7cc1e55b.js @@ -0,0 +1,3 @@ +import{o as l,f as r,g as e,d as k,i as y,a as M,B as x,s as O,a5 as R,a6 as q,n as B,h as n,_ as D,x as F,R as P,E as a,m as i,a7 as p,p as w,r as T,a8 as f,a9 as _,aa as U,F as Y,ab as G,ac as I,ad as J,ae as Q,af as m,ag as b,ah as u,ai as L,aj as $,ak as W}from"./index-601729fd.js";const X={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},nn=e("path",{fill:"currentColor",d:"M16 2C8.2 2 2 8.2 2 16s6.2 14 14 14s14-6.2 14-14S23.8 2 16 2zm0 26C9.4 28 4 22.6 4 16S9.4 4 16 4s12 5.4 12 12s-5.4 12-12 12z"},null,-1),en=e("path",{fill:"currentColor",d:"M21.4 23L16 17.6L10.6 23L9 21.4l5.4-5.4L9 10.6L10.6 9l5.4 5.4L21.4 9l1.6 1.6l-5.4 5.4l5.4 5.4z"},null,-1),on=[nn,en];function tn(c,s){return l(),r("svg",X,on)}const sn={name:"carbon-close-outline",render:tn},ln={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},rn=e("path",{fill:"currentColor",d:"M2 16A14 14 0 1 0 16 2A14 14 0 0 0 2 16Zm23.15 7.75L8.25 6.85a12 12 0 0 1 16.9 16.9ZM8.24 25.16a12 12 0 0 1-1.4-16.89l16.89 16.89a12 12 0 0 1-15.49 0Z"},null,-1),an=[rn];function cn(c,s){return l(),r("svg",ln,an)}const dn={name:"carbon-error",render:cn},_n={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},un=e("path",{fill:"currentColor",d:"M28.59 13.31L30 11.9L20 2l-1.31 1.42l1.18 1.18l-11.49 9.72l-1.72-1.71L5.25 14l5.66 5.68L2 28.58L3.41 30l8.91-8.91L18 26.75l1.39-1.42l-1.71-1.71l9.72-11.49ZM16.26 22.2L9.8 15.74L21.29 6L26 10.71Z"},null,-1),hn=[un];function pn(c,s){return l(),r("svg",_n,hn)}const vn={name:"carbon-pin",render:pn},mn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},bn=e("path",{fill:"currentColor",d:"M28.586 13.314L30 11.9L20 2l-1.314 1.415l1.186 1.186L8.38 14.322l-1.716-1.715L5.25 14l5.657 5.677L2 28.583L3.41 30l8.911-8.909L18 26.748l1.393-1.414l-1.716-1.716l9.724-11.49Z"},null,-1),gn=[bn];function wn(c,s){return l(),r("svg",mn,gn)}const fn={name:"carbon-pin-filled",render:wn},$n={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Cn=e("path",{fill:"currentColor",d:"M12 12h2v12h-2zm6 0h2v12h-2z"},null,-1),xn=e("path",{fill:"currentColor",d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z"},null,-1),Ln=[Cn,xn];function kn(c,s){return l(),r("svg",$n,Ln)}const yn={name:"carbon-delete",render:kn},Mn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Bn=e("path",{fill:"currentColor",d:"M12 10h12.185l-3.587-3.586L22 5l6 6l-6 6l-1.402-1.415L24.182 12H12a6 6 0 0 0 0 12h8v2h-8a8 8 0 0 1 0-16Z"},null,-1),Dn=[Bn];function zn(c,s){return l(),r("svg",Mn,Dn)}const Vn={name:"carbon-redo",render:zn},Zn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Sn=e("path",{fill:"currentColor",d:"M20 10H7.815l3.587-3.586L10 5l-6 6l6 6l1.402-1.415L7.818 12H20a6 6 0 0 1 0 12h-8v2h8a8 8 0 0 0 0-16Z"},null,-1),Hn=[Sn];function jn(c,s){return l(),r("svg",Zn,Hn)}const An={name:"carbon-undo",render:jn},En={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Kn=e("path",{fill:"currentColor",d:"M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM6 26V6h20v20Z"},null,-1),Nn=[Kn];function On(c,s){return l(),r("svg",En,Nn)}const Rn={name:"carbon-checkbox",render:On},qn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Fn=e("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"},null,-1),Pn=[Fn];function Tn(c,s){return l(),r("svg",qn,Pn)}const Un={name:"carbon-radio-button",render:Tn},Yn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Gn=e("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"},null,-1),In=[Gn];function Jn(c,s){return l(),r("svg",Yn,In)}const Qn={name:"carbon-arrow-up-right",render:Jn},Wn=k({__name:"Draggable",props:{storageKey:{type:String,required:!1},initial:{type:Object,required:!1}},setup(c){const s=c;y(M);const v=x(null),d=s.initial??{x:0,y:0},g=s.storageKey?O(s.storageKey,d):x(d),{style:h}=R(v,{initialValue:g});return(o,C)=>(l(),r("div",{ref_key:"el",ref:v,class:"fixed",style:B(n(h))},[q(o.$slots,"default")],4))}}),Xn=D(Wn,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/Draggable.vue"]]),ne=e("svg",{width:"1em",height:"1em",class:"-mt-0.5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[e("path",{d:"M21.71 3.29a1 1 0 0 0-1.42 0l-18 18a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l18-18a1 1 0 0 0 0-1.42z",fill:"currentColor"})],-1),ee=[ne],oe=["onClick"],te=k({__name:"DrawingControls",setup(c){y(M);function s(){L.undo()}function v(){L.redo()}function d(h){p.value=h,_.value=!0}function g(h){f.color=h,_.value=!0}return(h,o)=>{const C=W,z=Qn,V=Un,Z=Rn,S=An,H=Vn,j=yn,A=fn,E=vn,K=dn,N=sn;return l(),F(Xn,{class:a(["flex flex-wrap text-xl p-2 gap-1 rounded-md bg-main shadow transition-opacity duration-200",n(_)?"":n(u)?"opacity-40 hover:opacity-90":"opacity-0 pointer-events-none"]),dark:"border border-gray-400 border-opacity-10","storage-key":"slidev-drawing-pos","initial-x":10,"initial-y":10},{default:P(()=>[e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="stylus"}]),onClick:o[0]||(o[0]=t=>d("stylus"))},[i(C)],2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="line"}]),onClick:o[1]||(o[1]=t=>d("line"))},ee,2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="arrow"}]),onClick:o[2]||(o[2]=t=>d("arrow"))},[i(z)],2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="ellipse"}]),onClick:o[3]||(o[3]=t=>d("ellipse"))},[i(V)],2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="rectangle"}]),onClick:o[4]||(o[4]=t=>d("rectangle"))},[i(Z)],2),w(" TODO: not sure why it's not working! "),w(` `),i($),(l(!0),r(Y,null,T(n(U),t=>(l(),r("button",{key:t,class:a(["slidev-icon-btn",n(f).color===t?"active":"shallow"]),onClick:se=>g(t)},[e("div",{class:a(["w-6 h-6 transition-all transform border border-gray-400/50",n(f).color!==t?"rounded-1/2 scale-85":"rounded-md"]),style:B(n(_)?{background:t}:{borderColor:t})},null,6)],10,oe))),128)),i($),e("button",{class:a(["slidev-icon-btn",{disabled:!n(G)}]),onClick:o[5]||(o[5]=t=>s())},[i(S)],2),e("button",{class:a(["slidev-icon-btn",{disabled:!n(I)}]),onClick:o[6]||(o[6]=t=>v())},[i(H)],2),e("button",{class:a(["slidev-icon-btn",{disabled:!n(J)}]),onClick:o[7]||(o[7]=t=>n(Q)())},[i(j)],2),i($),e("button",{class:a(["slidev-icon-btn",{shallow:!n(u)}]),onClick:o[8]||(o[8]=t=>u.value=!n(u))},[m(i(A,{class:"transform -rotate-45"},null,512),[[b,n(u)]]),m(i(E,null,null,512),[[b,!n(u)]])],2),n(_)?(l(),r("button",{key:0,class:a(["slidev-icon-btn",{shallow:!n(_)}]),onClick:o[9]||(o[9]=t=>_.value=!n(_))},[m(i(K,null,null,512),[[b,n(u)]]),m(i(N,null,null,512),[[b,!n(u)]])],2)):w("v-if",!0)]),_:1},8,["class"])}}}),ie=D(te,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/DrawingControls.vue"]]);export{ie as default}; diff --git a/assets/DrawingLayer-be8fae26.js b/assets/DrawingLayer-be8fae26.js new file mode 100644 index 0000000..5713c84 --- /dev/null +++ b/assets/DrawingLayer-be8fae26.js @@ -0,0 +1 @@ +import{d as l,i as o,a as i,al as c,B as u,M as d,ai as a,Q as m,am as _,an as f,o as p,f as v,E as w,h as s,a9 as t,_ as h}from"./index-601729fd.js";const g=l({__name:"DrawingLayer",setup(k){o(i);const r=o(c),e=u();return d(()=>{a.mount(e.value,e.value.parentElement),m(r,n=>a.options.coordinateScale=1/n,{immediate:!0}),_()}),f(()=>{a.unmount()}),(n,b)=>(p(),v("svg",{ref_key:"svg",ref:e,class:w(["w-full h-full absolute top-0",{"pointer-events-none":!s(t),"touch-none":s(t)}])},null,2))}}),y=h(g,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{y as default}; diff --git a/assets/FileSaver.min-23a5d44b.js b/assets/FileSaver.min-23a5d44b.js new file mode 100644 index 0000000..c4f1b3b --- /dev/null +++ b/assets/FileSaver.min-23a5d44b.js @@ -0,0 +1 @@ +function O(r,v){for(var u=0;ua[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var g={exports:{}};(function(r,v){(function(u,a){a()})(d,function(){function u(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function a(e,t,l){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,l)},o.onerror=function(){console.error("could not download file")},o.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function c(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,l){var o=i.URL||i.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?c(n):s(n.href)?a(e,t,l):c(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){c(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,l){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(u(e,l),t);else if(s(e))a(e,t,l);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){c(o)})}}:function(e,t,l,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return a(e,t,l);var n=e.type==="application/octet-stream",E=/constructor/i.test(i.HTMLElement)||i.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&E||y)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var f=w.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},w.readAsDataURL(e)}else{var h=i.URL||i.webkitURL,m=h.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout(function(){h.revokeObjectURL(m)},4e4)}});i.saveAs=p.saveAs=p,r.exports=p})})(g);var j=g.exports;const A=_(j),L=O({__proto__:null,default:A},[j]);export{L as F}; diff --git a/assets/NoteDisplay-b1271536.js b/assets/NoteDisplay-b1271536.js new file mode 100644 index 0000000..a7a3d0c --- /dev/null +++ b/assets/NoteDisplay-b1271536.js @@ -0,0 +1 @@ +import{d as c,i as d,a as u,f as n,E as s,g as r,t as a,o as l,_ as m}from"./index-601729fd.js";const k=["innerHTML"],f=["textContent"],v=["textContent"],y=c({__name:"NoteDisplay",props:{class:{type:String,required:!1},noteHtml:{type:String,required:!1},note:{type:String,required:!1},placeholder:{type:String,required:!1}},emits:["click"],setup(p){const o=p;return d(u),(e,t)=>e.noteHtml?(l(),n("div",{key:0,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[0]||(t[0]=i=>e.$emit("click")),innerHTML:e.noteHtml},null,10,k)):e.note?(l(),n("div",{key:1,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[1]||(t[1]=i=>e.$emit("click"))},[r("p",{textContent:a(e.note)},null,8,f)],2)):(l(),n("div",{key:2,class:s(["prose overflow-auto outline-none opacity-50 italic",o.class]),onClick:t[2]||(t[2]=i=>e.$emit("click"))},[r("p",{textContent:a(o.placeholder||"No notes.")},null,8,v)],2))}}),g=m(y,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{g as N}; diff --git a/assets/NotesView-43efd837.js b/assets/NotesView-43efd837.js new file mode 100644 index 0000000..9e5b63a --- /dev/null +++ b/assets/NotesView-43efd837.js @@ -0,0 +1 @@ +import{o as n,f as i,g as e,d as U,i as q,a as G,c as S,b as I,s as J,v as d,w as u,j as M,n as L,h as t,m as a,p as K,x as V,t as B,F as O,k as F,y as Q,z as W,A as X,_ as Y}from"./index-601729fd.js";import{N as H}from"./NoteDisplay-b1271536.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},oe=e("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),te=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),ne=[oe,te];function se(_,c){return n(),i("svg",ee,ne)}const le={name:"carbon-zoom-out",render:se},ae={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ie=e("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ce=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),re=[ie,ce];function de(_,c){return n(),i("svg",ae,re)}const ue={name:"carbon-zoom-in",render:de},_e={class:"h-full flex flex-col"},pe={key:0,class:"px-5 py-2 max-h-60 overflow-auto border-t border-gray-400 border-opacity-20"},he={class:"flex-none border-t border-gray-400 border-opacity-20"},me={class:"flex gap-1 items-center px-6 py-3"},ve=e("div",{class:"flex-auto"},null,-1),fe={class:"p2 text-center"},xe=U({__name:"NotesView",setup(_){q(G);const c=S.titleTemplate.replace("%s",S.title||"Slidev");I({title:`Notes - ${c}`});const{isFullscreen:T,toggle:p}=Q,s=J("slidev-notes-font-size",18),l=d(()=>{var o;return((o=u.lastUpdate)==null?void 0:o.type)==="viewer"?u.viewerPage:u.page}),h=d(()=>M.find(o=>o.path===`${l.value}`)),r=d(()=>M.find(o=>o.path===`${l.value+1}`));function Z(){s.value=s.value+1}function j(){s.value=s.value-1}return(o,m)=>{var v,f,x,g,b,w,y,z,$,k,N,C;const A=W,R=X,D=ue,E=le;return n(),i(O,null,[e("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:L({width:`${(l.value-1)/t(F)*100}%`})},null,4),e("div",_e,[e("div",{class:"px-5 flex-auto h-full overflow-auto",style:L({fontSize:`${t(s)}px`})},[a(H,{note:(x=(f=(v=h.value)==null?void 0:v.meta)==null?void 0:f.slide)==null?void 0:x.note,"note-html":(w=(b=(g=h.value)==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:w.noteHTML,placeholder:`No notes for Slide ${l.value}.`},null,8,["note","note-html","placeholder"])],4),r.value?(n(),i("div",pe,[a(H,{class:"opacity-50",note:($=(z=(y=r.value)==null?void 0:y.meta)==null?void 0:z.slide)==null?void 0:$.note,"note-html":(C=(N=(k=r.value)==null?void 0:k.meta)==null?void 0:N.slide)==null?void 0:C.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):K("v-if",!0),e("div",he,[e("div",me,[e("button",{class:"slidev-icon-btn",onClick:m[0]||(m[0]=(...P)=>t(p)&&t(p)(...P))},[t(T)?(n(),V(A,{key:0})):(n(),V(R,{key:1}))]),e("button",{class:"slidev-icon-btn",onClick:Z},[a(D)]),e("button",{class:"slidev-icon-btn",onClick:j},[a(E)]),ve,e("div",fe,B(l.value)+" / "+B(t(F)),1)])])])],64)}}}),we=Y(xe,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/NotesView.vue"]]);export{we as default}; diff --git a/assets/Presenter-aa6741a8.css b/assets/Presenter-aa6741a8.css new file mode 100644 index 0000000..562c755 --- /dev/null +++ b/assets/Presenter-aa6741a8.css @@ -0,0 +1 @@ +.slidev-presenter[data-v-574fd206]{--slidev-controls-foreground: current}.timer-btn[data-v-574fd206]:hover>:first-child{opacity:0}.timer-btn[data-v-574fd206]:hover>:last-child{opacity:1}.section-title[data-v-574fd206]{padding:.5rem 1rem;font-size:1.25rem;line-height:1.75rem}.grid-container[data-v-574fd206]{height:100%;width:100%;--un-bg-opacity:1;background-color:rgba(156,163,175,var(--un-bg-opacity));--un-bg-opacity:.15;display:grid;gap:1px 1px;grid-template-columns:1fr 1fr;grid-template-rows:min-content 2fr 1fr min-content;grid-template-areas:"top top" "main main" "note next" "bottom bottom"}@media (max-aspect-ratio: 3/5){.grid-container[data-v-574fd206]{grid-template-columns:1fr;grid-template-rows:min-content 1fr 1fr 1fr min-content;grid-template-areas:"top" "main" "note" "next" "bottom"}}@media (min-aspect-ratio: 1/1){.grid-container[data-v-574fd206]{grid-template-columns:1fr 1.1fr .9fr;grid-template-rows:min-content 1fr 2fr min-content;grid-template-areas:"top top top" "main main next" "main main note" "bottom bottom bottom"}}.progress-bar[data-v-574fd206]{position:fixed;left:0;right:0;bottom:0}.grid-section[data-v-574fd206]{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));--un-text-opacity:1;color:rgba(24,24,24,var(--un-text-opacity))}.grid-section.top[data-v-574fd206]{grid-area:top}.grid-section.main[data-v-574fd206]{grid-area:main}.grid-section.next[data-v-574fd206]{grid-area:next}.grid-section.note[data-v-574fd206]{grid-area:note}.grid-section.bottom[data-v-574fd206]{grid-area:bottom}.dark .grid-section[data-v-574fd206]{--un-bg-opacity:1;background-color:rgba(18,18,18,var(--un-bg-opacity));--un-text-opacity:1;color:rgba(221,221,221,var(--un-text-opacity))}.context[data-v-574fd206]{position:absolute;top:0;left:0;border-bottom-right-radius:.375rem;--un-bg-opacity:1;background-color:rgba(156,163,175,var(--un-bg-opacity));--un-bg-opacity:.5;padding-left:.25rem;padding-right:.25rem;font-size:.75rem;line-height:1rem;opacity:.75} diff --git a/assets/Presenter-e9b27bf8.js b/assets/Presenter-e9b27bf8.js new file mode 100644 index 0000000..883cfae --- /dev/null +++ b/assets/Presenter-e9b27bf8.js @@ -0,0 +1 @@ +import{o as d,f as y,g as e,B as k,C as D,v as h,d as M,i as B,a as P,D as S,x as v,E as H,_ as z,G as I,H as R,c as C,b as A,I as $,J as E,K as L,L as q,M as F,N as O,O as U,P as W,Q as Z,h as r,m as u,t as j,n as x,R as N,S as V,p as G,T as J,U as w,V as K,F as Q,W as X,X as Y,w as ee,Y as te,Z as se,q as T,$ as oe,a0 as le,a1 as ne,a2 as ae,k as re,a3 as ie,a4 as ce}from"./index-601729fd.js";import{N as ue}from"./NoteDisplay-b1271536.js";import de from"./DrawingControls-7cc1e55b.js";const _e={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},pe=e("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),me=[pe];function ve(o,n){return d(),y("svg",_e,me)}const he={name:"carbon-renew",render:ve},fe={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ge=e("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14Zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4Z"},null,-1),xe=e("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z"},null,-1),we=[ge,xe];function ke(o,n){return d(),y("svg",fe,we)}const Se={name:"carbon-time",render:ke},ye="/db-workshop/assets/logo-title-horizontal-96c3c915.png";function be(){const o=k(Date.now()),n=D({interval:1e3}),_=h(()=>{const t=(n.value-o.value)/1e3,l=Math.floor(t%60).toString().padStart(2,"0");return`${Math.floor(t/60).toString().padStart(2,"0")}:${l}`});function p(){o.value=n.value}return{timer:_,resetTimer:p}}const Ce=M({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(o){const n=o;B(P);const _=h(()=>{var t,l,s;return(s=(l=(t=S.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.note}),p=h(()=>{var t,l,s;return(s=(l=(t=S.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.noteHTML});return(t,l)=>(d(),v(ue,{class:H(n.class),note:_.value,"note-html":p.value},null,8,["class","note","note-html"]))}}),$e=z(Ce,[["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=o=>(X("data-v-574fd206"),o=o(),Y(),o),Ne={class:"bg-main h-full slidev-presenter"},Ve={class:"grid-container"},Te={class:"grid-section top flex"},Me=f(()=>e("img",{src:ye,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"}},null,-1)),Be=f(()=>e("div",{class:"flex-auto"},null,-1)),Pe={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},He=f(()=>e("div",{class:"context"}," current ",-1)),ze=f(()=>e("div",{class:"context"}," next ",-1)),De={class:"grid-section note overflow-auto"},Ie={class:"grid-section bottom"},Re={class:"progress-bar"},Ae=M({__name:"Presenter",setup(o){B(P);const n=k();I(),R(n);const _=C.titleTemplate.replace("%s",C.title||"Slidev");A({title:`Presenter - ${_}`});const{timer:p,resetTimer:t}=be(),l=k([]),s=h(()=>$.value{const b=n.value.querySelector("#slide-content"),i=O(U()),g=W();Z(()=>{if(!g.value||te.value||!se.value)return;const c=b.getBoundingClientRect(),a=(i.x-c.left)/c.width*100,m=(i.y-c.top)/c.height*100;if(!(a<0||a>100||m<0||m>100))return{x:a,y:m}},c=>{ee.cursor=c})}),(b,i)=>{const g=Se,c=he;return d(),y(Q,null,[e("div",Ne,[e("div",Ve,[e("div",Te,[Me,Be,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:i[0]||(i[0]=(...a)=>r(t)&&r(t)(...a))},[u(g,{class:"absolute"}),u(c,{class:"absolute opacity-0"})]),e("div",Pe,j(r(p)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(r(T))},[u(V,{key:"main",class:"h-full w-full"},{default:N(()=>[u(oe,{context:"presenter"})]),_:1}),He],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(r(T))},[s.value?(d(),v(V,{key:"next",class:"h-full w-full"},{default:N(()=>{var a;return[u(r(ne),{is:(a=s.value.route)==null?void 0:a.component,"clicks-elements":l.value,"onUpdate:clicksElements":i[1]||(i[1]=m=>l.value=m),clicks:s.value.clicks,"clicks-disabled":!1,class:H(r(le)(s.value.route)),route:s.value.route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):G("v-if",!0),ze],4),e("div",De,[(d(),v($e,{key:1,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",Ie,[u(ie,{persist:!0})]),(d(),v(de,{key:0}))]),e("div",Re,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(r(ae)-1)/(r(re)-1)*100}%`})},null,4)])]),u(ce),u(K,{modelValue:r(w),"onUpdate:modelValue":i[2]||(i[2]=a=>J(w)?w.value=a:null)},null,8,["modelValue"])],64)}}});const Fe=z(Ae,[["__scopeId","data-v-574fd206"],["__file","/home/runner/work/db-workshop/db-workshop/node_modules/@slidev/client/internals/Presenter.vue"]]);export{Fe as default}; diff --git a/assets/PresenterPrint-9e9a6330.js b/assets/PresenterPrint-9e9a6330.js new file mode 100644 index 0000000..b00982e --- /dev/null +++ b/assets/PresenterPrint-9e9a6330.js @@ -0,0 +1,17 @@ +import{d,i as _,a as p,u as h,b as u,c as m,e as f,f as n,g as t,t as s,h as a,F as g,r as v,n as x,j as b,o as r,k as y,l as k,m as w,p as N,q as P,_ as S}from"./index-601729fd.js";import{N as V}from"./NoteDisplay-b1271536.js";const j={class:"m-4"},L={class:"mb-10"},T={class:"text-4xl font-bold mt-2"},B={class:"opacity-50"},C={class:"text-lg"},D={class:"font-bold flex gap-2"},H={class:"opacity-50"},z=t("div",{class:"flex-auto"},null,-1),F={key:0,class:"border-gray-400/50 mb-8"},M=d({__name:"PresenterPrint",setup(q){_(p),h(` +@page { + size: A4; + margin-top: 1.5cm; + margin-bottom: 1cm; +} +* { + -webkit-print-color-adjust: exact; +} +html, +html body, +html #app, +html #page-root { + height: auto; + overflow: auto !important; +} +`),u({title:`Notes - ${m.title}`});const i=f(()=>b.map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(r(),n("div",{id:"page-root",style:x(a(P))},[t("div",j,[t("div",L,[t("h1",T,s(a(m).title),1),t("div",B,s(new Date().toLocaleString()),1)]),(r(!0),n(g,null,v(a(i),(e,c)=>(r(),n("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",C,[t("div",D,[t("div",H,s(e==null?void 0:e.no)+"/"+s(a(y)),1),k(" "+s(e==null?void 0:e.title)+" ",1),z])]),w(V,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),caNtK!;17Ky$cq=PG@a^iWH4RMH7wD*kgIIC3eJK zuqM&Zm@k@WEYIYbSo6O3&o1t_fI$;Y^u6bN_ud`u%$)PjIWu$0g@{A)|MWRY;qQ2;ZA(V=njT0AB$&c*Qy)V7H-bvt{1m2Vc z1Oqq%N6wq#-jS~@1^Foo0~I~&-i~9zmV^O{LxoCj3!c8@J4D{kRlcL#-rOk~9I6x= zt^AhA2QXr?)#Aped-i`Tmh{_($K94fB9+62s{oi=pVxW)p#|w?LoU|jYQq2w3s(w_ zQFgcG_&aF`c{;+uui*kIcUw8I0R66kp#xw<3e0DfWvytcj`B6nZqUkY(vA~a9zD48 zn@i`ee0}!Suk)>kKU=?~XjG^lR|D*R4-&xm4p6J981e0uFaQ19Z`Z!Plo`#)#W5=l5(?Sd*un;=HP{j~_kUxN3pG zUQxCiTFdgIfp*u{)j@-FWYI=vsl|;}|0~Wzpz?N5-L-Yq&-dCcC)X}{^ zT)&zqv;#I-sL3Uo=`*xE?AyJR?eHpf7b}{a8}j7IV+aZwk&r?qFIfQLtZ15voi0n? z(}7cR(0IyOQ!i&ZslGhyU)xy?nZyV7xp(*0rz__}EK)p;vnE21W7GVkASF!2(RBRg?g9r61mb2z zK0JAx;dKu!^H=I)NQZR}nWu&f`2N~Aw{KqG|M>FbwcfgMZ9-NM z{**|mBc5kmm;~CdUO++^QuUpA@qQzzaRD7~2bCrB%3%{XuU-`3tO)?nTC|UaKUZDK zMG9WFg4TjmpBvY&-o1TeZe>C65PiIXn<{($$o7A3J#V?*?7KaOg(->Gpp={^Qbu6TW2^!dL zad~QKA>1u%7yo$U8rA?Dm2eL;VCX#Lg>Nt_%-#6?nn{-~o`N|W5kIJKzroAmv8JeW z)!JVzl1kO*%^3I7KW`u2zpX4k%4dM;p93R7ik%~h*=V3Am;5x~{LaCmn(Ok_7~=TR^DMuG~@G0XI3-|2}c4BG5^EVfnVY;A0@ z$P`sqD>kVYPN8dpom;^I`xi?hW2TnuF7DhDtZ|0p#GZc1%+LM#r{Z%)NjL0ER&dm~ z$ctJ{r(ZS;3Q+6<5}J~VHGv%d?Q0i{>_niZ_;DJw_bn!WZpbDsbJn$W!y#!yQE95x z*LzGkZyMmO@IuYX(*F~6c+olU>0s`qEyfW^DmavY3agi0HZT@)siJPx-}iu3jZ9Vj ztHCh*eF#}8ETLJqde+?Q2|;Df(!x=bRHQj_p)Rxu%Y`RQ+iTfMFC{UtbqI@9E?A=v z;|}#fT-e%xhtnymMjM9y?~qLUWe+tW(13FYts&@$$x%ae4}Ag2-zS;&kRVLPU9x`g z6r1~(l5i(F??%0o!2i4iWWR;ItN;BHVBaY%a0_s=@0sGFAo&qLIg)z(Sallatwn{q zjo@Z+2x%%R+GoVlmy}f4jSyK-NwX1+{y>kpWHhThn~Fw;Qc8I@^5d$}$aq(ZOjf13 zX`|_@^Cy{orzz)5$=^eP5S`KZP2EW}K8})x+EI3`4(-^qoDc)jjKXBfeP0JW<;Vj! z!UY<$*pLMM6v+#BN{JRldG#cOddyOTj~jh??l^7RxQt>(s8Q@lHG=0uL#&7pG>}lJ zNO1mWT!tUB@3dxFJ?QH)dqIV}44LgEcRQk@y@nL#W$NdYBk<=C;u@+h&7g2kQx+K!@_Mwmp^VO+JV;|uzj*c-#rauLRE8=A z2oyl8l~O|bQ%<7}ojGxU_Uu?kGfOk6q{Wz!Q)Uh(l^roAWOE3CG8L@Wr)7=P2^kAQ zJWlX1kZGtQBvc6@86lI$Ja!t=8?wTE;_z;A#VkGb98Wgp>s3#<|eNGe=pJ%ThQ9ROjW`q5AR9oJT^4XX!akzBP?7Dr< z374)qxD4OYWjkMKG`~}k60DeKIlyVCd52POQ6cFeiVRzF*k+vlj`k&I<1P{FAipB? z)Ah>T(m%IrSF|Dhro#qPQBg3^W!`}cJy+{%EpXZZY;lc&Y;MS&Tj7BMv`D2$9< zx{15*6Z<|DEzKj6L`{2|I?QqE3|&V@jh$94EzJi%EMNYQJ^3mkz6^nx;XNE3b#tep zou_`t$T#np-1w6cE+SD2-|=jONd@=l^k_cXQ}b0Pd`wk~HaD^ke6J(cS_AEq-)|8m z)Cjq3JpVMQeX+Oi2cv5FEux}RYl6zM78HORzc4ME>wHjM#BT;XQD4Q0&HJ`aQqWvz zTxY?+@Cyd(Eqt%1dfV&oo85o*TIzxLl{xAA{)29^k zQ}8cVVqZn-r?mMdVr*@7#DFC9R-=UR8e(4}tw^6TYqSX=Dg_5CQ{B`t6zHo+*>&3F z=cpmJJCk#Q;Y0MG#@Q2z&+HxUpg~$RbwZ-l_Jss=gPk@cB&7+luGsD%Dkssnc(LCR zJWPqkZ7`q-mCh8NphCz9v+SVQW<{o{P*kQ03+lzTBq6Ii<>uR?j~wwWiH6{ggg?aW zO@Ol&MQ5rK63Jpe<-Mx$lo8=f5dt%@kHY*DX15m2DPgfMY;g$%^9%@ySPFF3rh+sd z3Jy^sBr_?(-JI}ELu{ib?=+-^wMAk-1Bqh_iBh75%6!Tj??ibiUM#;Sw(HFH`S9hD zkLJMVQGn0WgVI7A37-=))eEFmg=P*{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();function qn(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Fe=Object.freeze({}),As=Object.freeze([]),vt=()=>{},dp=()=>!1,qh=/^on[^a-z]/,Do=e=>qh.test(e),wr=e=>e.startsWith("onUpdate:"),Be=Object.assign,Gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Bh=Object.prototype.hasOwnProperty,$e=(e,t)=>Bh.call(e,t),re=Array.isArray,is=e=>Fo(e)==="[object Map]",fp=e=>Fo(e)==="[object Set]",Hh=e=>Fo(e)==="[object RegExp]",ce=e=>typeof e=="function",Ve=e=>typeof e=="string",Qi=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Yi=e=>Le(e)&&ce(e.then)&&ce(e.catch),hp=Object.prototype.toString,Fo=e=>hp.call(e),Zi=e=>Fo(e).slice(8,-1),mp=e=>Fo(e)==="[object Object]",Ji=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,dr=qn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vh=qn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Gr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Uh=/-(\w)/g,tn=Gr(e=>e.replace(Uh,(t,n)=>n?n.toUpperCase():"")),Wh=/\B([A-Z])/g,mn=Gr(e=>e.replace(Wh,"-$1").toLowerCase()),ms=Gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qn=Gr(e=>e?`on${ms(e)}`:""),ko=(e,t)=>!Object.is(e,t),Zn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kh=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let Ql;const Sr=()=>Ql||(Ql=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rt(e){if(re(e)){const t={};for(let n=0;n{if(n){const s=n.split(Qh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function He(e){let t="";if(Ve(e))t=e;else if(re(e))for(let n=0;nVe(e)?e:e==null?"":re(e)||Le(e)&&(e.toString===hp||!ce(e.toString))?JSON.stringify(e,vp,2):String(e),vp=(e,t)=>t&&t.__v_isRef?vp(e,t.value):is(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fp(t)?{[`Set(${t.size})`]:[...t.values()]}:Le(t)&&!re(t)&&!mp(t)?String(t):t;function Er(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let xt;class yp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=xt,!t&&xt&&(this.index=(xt.scopes||(xt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=xt;try{return xt=this,t()}finally{xt=n}}else Er("cannot run an inactive effect scope.")}on(){xt=this}off(){xt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},kp=e=>(e.w&Nn)>0,wp=e=>(e.n&Nn)>0,rm=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=p)&&l.push(d)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":re(e)?Ji(n)&&l.push(i.get("length")):(l.push(i.get(ls)),is(e)&&l.push(i.get(Ga)));break;case"delete":re(e)||(l.push(i.get(ls)),is(e)&&l.push(i.get(Ga)));break;case"set":is(e)&&l.push(i.get(ls));break}const u={target:e,type:t,key:n,newValue:s,oldValue:o,oldTarget:a};if(l.length===1)l[0]&&Qa(l[0],u);else{const p=[];for(const d of l)d&&p.push(...d);Qa(el(p),u)}}function Qa(e,t){const n=re(e)?e:[...e];for(const s of n)s.computed&&Zl(s,t);for(const s of n)s.computed||Zl(s,t)}function Zl(e,t){(e!==dt||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(Be({effect:e},t)),e.scheduler?e.scheduler():e.run())}function im(e,t){var n;return(n=$r.get(e))==null?void 0:n.get(t)}const lm=qn("__proto__,__v_isRef,__isVue"),Ep=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qi)),cm=Qr(),um=Qr(!1,!0),pm=Qr(!0),dm=Qr(!0,!0),Jl=fm();function fm(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=me(this);for(let a=0,i=this.length;a{e[t]=function(...n){_s();const s=me(this)[t].apply(this,n);return vs(),s}}),e}function hm(e){const t=me(this);return it(t,"has",e),t.hasOwnProperty(e)}function Qr(e=!1,t=!1){return function(s,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?Ip:Lp:t?Pp:Cp).get(s))return s;const i=re(s);if(!e){if(i&&$e(Jl,o))return Reflect.get(Jl,o,a);if(o==="hasOwnProperty")return hm}const l=Reflect.get(s,o,a);return(Qi(o)?Ep.has(o):lm(o))||(e||it(s,"get",o),t)?l:Ce(l)?i&&Ji(o)?l:l.value:Le(l)?e?Ht(l):Ue(l):l}}const mm=$p(),gm=$p(!0);function $p(e=!1){return function(n,s,o,a){let i=n[s];if(jn(i)&&Ce(i)&&!Ce(o))return!1;if(!e&&(!Tr(o)&&!jn(o)&&(i=me(i),o=me(o)),!re(n)&&Ce(i)&&!Ce(o)))return i.value=o,!0;const l=re(n)&&Ji(s)?Number(s)e,Yr=e=>Reflect.getPrototypeOf(e);function Go(e,t,n=!1,s=!1){e=e.__v_raw;const o=me(e),a=me(t);n||(t!==a&&it(o,"get",t),it(o,"get",a));const{has:i}=Yr(o),l=s?nl:n?sl:wo;if(i.call(o,t))return l(e.get(t));if(i.call(o,a))return l(e.get(a));e!==o&&e.get(t)}function Qo(e,t=!1){const n=this.__v_raw,s=me(n),o=me(e);return t||(e!==o&&it(s,"has",e),it(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Yo(e,t=!1){return e=e.__v_raw,!t&&it(me(e),"iterate",ls),Reflect.get(e,"size",e)}function Xl(e){e=me(e);const t=me(this);return Yr(t).has.call(t,e)||(t.add(e),nn(t,"add",e,e)),this}function ec(e,t){t=me(t);const n=me(this),{has:s,get:o}=Yr(n);let a=s.call(n,e);a?Ap(n,s,e):(e=me(e),a=s.call(n,e));const i=o.call(n,e);return n.set(e,t),a?ko(t,i)&&nn(n,"set",e,t,i):nn(n,"add",e,t),this}function tc(e){const t=me(this),{has:n,get:s}=Yr(t);let o=n.call(t,e);o?Ap(t,n,e):(e=me(e),o=n.call(t,e));const a=s?s.call(t,e):void 0,i=t.delete(e);return o&&nn(t,"delete",e,void 0,a),i}function nc(){const e=me(this),t=e.size!==0,n=is(e)?new Map(e):new Set(e),s=e.clear();return t&&nn(e,"clear",void 0,void 0,n),s}function Zo(e,t){return function(s,o){const a=this,i=a.__v_raw,l=me(i),u=t?nl:e?sl:wo;return!e&&it(l,"iterate",ls),i.forEach((p,d)=>s.call(o,u(p),u(d),a))}}function Jo(e,t,n){return function(...s){const o=this.__v_raw,a=me(o),i=is(a),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,p=o[e](...s),d=n?nl:t?sl:wo;return!t&&it(a,"iterate",u?Ga:ls),{next(){const{value:f,done:h}=p.next();return h?{value:f,done:h}:{value:l?[d(f[0]),d(f[1])]:d(f),done:h}},[Symbol.iterator](){return this}}}}function yn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${ms(e)} operation ${n}failed: target is readonly.`,me(this))}return e==="delete"?!1:this}}function wm(){const e={get(a){return Go(this,a)},get size(){return Yo(this)},has:Qo,add:Xl,set:ec,delete:tc,clear:nc,forEach:Zo(!1,!1)},t={get(a){return Go(this,a,!1,!0)},get size(){return Yo(this)},has:Qo,add:Xl,set:ec,delete:tc,clear:nc,forEach:Zo(!1,!0)},n={get(a){return Go(this,a,!0)},get size(){return Yo(this,!0)},has(a){return Qo.call(this,a,!0)},add:yn("add"),set:yn("set"),delete:yn("delete"),clear:yn("clear"),forEach:Zo(!0,!1)},s={get(a){return Go(this,a,!0,!0)},get size(){return Yo(this,!0)},has(a){return Qo.call(this,a,!0)},add:yn("add"),set:yn("set"),delete:yn("delete"),clear:yn("clear"),forEach:Zo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Jo(a,!1,!1),n[a]=Jo(a,!0,!1),t[a]=Jo(a,!1,!0),s[a]=Jo(a,!0,!0)}),[e,n,t,s]}const[xm,Sm,Em,$m]=wm();function Zr(e,t){const n=t?e?$m:Em:e?Sm:xm;return(s,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get($e(n,o)&&o in s?n:s,o,a)}const Tm={get:Zr(!1,!1)},Om={get:Zr(!1,!0)},Am={get:Zr(!0,!1)},Cm={get:Zr(!0,!0)};function Ap(e,t,n){const s=me(n);if(s!==n&&t.call(e,s)){const o=Zi(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Cp=new WeakMap,Pp=new WeakMap,Lp=new WeakMap,Ip=new WeakMap;function Pm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lm(e){return e.__v_skip||!Object.isExtensible(e)?0:Pm(Zi(e))}function Ue(e){return jn(e)?e:Jr(e,!1,Tp,Tm,Cp)}function Im(e){return Jr(e,!1,bm,Om,Pp)}function Ht(e){return Jr(e,!0,Op,Am,Lp)}function no(e){return Jr(e,!0,km,Cm,Ip)}function Jr(e,t,n,s,o){if(!Le(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=Lm(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function cs(e){return jn(e)?cs(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function Tr(e){return!!(e&&e.__v_isShallow)}function Or(e){return cs(e)||jn(e)}function me(e){const t=e&&e.__v_raw;return t?me(t):e}function Xr(e){return xr(e,"__v_skip",!0),e}const wo=e=>Le(e)?Ue(e):e,sl=e=>Le(e)?Ht(e):e;function ol(e){On&&dt&&(e=me(e),Sp(e.dep||(e.dep=el()),{target:e,type:"get",key:"value"}))}function rl(e,t){e=me(e);const n=e.dep;n&&Qa(n,{target:e,type:"set",key:"value",newValue:t})}function Ce(e){return!!(e&&e.__v_isRef===!0)}function W(e){return Mp(e,!1)}function sn(e){return Mp(e,!0)}function Mp(e,t){return Ce(e)?e:new Mm(e,t)}class Mm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:me(t),this._value=n?t:wo(t)}get value(){return ol(this),this._value}set value(t){const n=this.__v_isShallow||Tr(t)||jn(t);t=n?t:me(t),ko(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:wo(t),rl(this,t))}}function L(e){return Ce(e)?e.value:e}const Rm={get:(e,t,n)=>L(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ce(o)&&!Ce(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Rp(e){return cs(e)?e:new Proxy(e,Rm)}class Nm{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>ol(this),()=>rl(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function al(e){return new Nm(e)}function jm(e){Or(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=re(e)?new Array(e.length):{};for(const n in e)t[n]=Np(e,n);return t}class Dm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return im(me(this._object),this._key)}}class Fm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function qm(e,t,n){return Ce(e)?e:ce(e)?new Fm(e):Le(e)&&arguments.length>1?Np(e,t,n):W(e)}function Np(e,t,n){const s=e[t];return Ce(s)?s:new Dm(e,t,n)}class Bm{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new tl(t,()=>{this._dirty||(this._dirty=!0,rl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=me(this);return ol(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Hm(e,t,n=!1){let s,o;const a=ce(e);a?(s=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(s=e.get,o=e.set);const i=new Bm(s,o,a||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const us=[];function fr(e){us.push(e)}function hr(){us.pop()}function N(e,...t){_s();const n=us.length?us[us.length-1].component:null,s=n&&n.appContext.config.warnHandler,o=Vm();if(s)hn(s,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:a})=>`at <${ca(n,a.type)}>`).join(` +`),o]);else{const a=[`[Vue warn]: ${e}`,...t];o.length&&a.push(` +`,...Um(o)),console.warn(...a)}vs()}function Vm(){let e=us[us.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function Um(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...Wm(n))}),t}function Wm({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,o=` at <${ca(e.component,e.type,s)}`,a=">"+n;return e.props?[o,...zm(e.props),a]:[o+a]}function zm(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...jp(s,e[s]))}),n.length>3&&t.push(" ..."),t}function jp(e,t,n){return Ve(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ce(t)?(t=jp(e,me(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ce(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=me(t),n?t:[`${e}=`,t])}function Km(e,t){e!==void 0&&(typeof e!="number"?N(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&N(`${t} is NaN - the duration expression might be incorrect.`))}const il={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function hn(e,t,n,s){let o;try{o=s?e(...s):e()}catch(a){ea(a,t,n)}return o}function Rt(e,t,n,s){if(ce(e)){const a=hn(e,t,n,s);return a&&Yi(a)&&a.catch(i=>{ea(i,t,n)}),a}const o=[];for(let a=0;a>>1;So(nt[s])Yt&&nt.splice(t,1)}function qp(e){re(e)?Cs.push(...e):(!Qt||!Qt.includes(e,e.allowRecurse?xn+1:xn))&&Cs.push(e),Fp()}function sc(e,t=xo?Yt+1:0){for(e=e||new Map;tSo(n)-So(s)),xn=0;xne.id==null?1/0:e.id,Jm=(e,t)=>{const n=So(e)-So(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Hp(e){Ya=!1,xo=!0,e=e||new Map,nt.sort(Jm);const t=n=>cl(e,n);try{for(Yt=0;YtQm){const s=t.ownerInstance,o=s&&To(s.type);return N(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let An=!1;const Ts=new Set;Sr().__VUE_HMR_RUNTIME__={createRecord:ma(Vp),rerender:ma(tg),reload:ma(ng)};const gs=new Map;function Xm(e){const t=e.type.__hmrId;let n=gs.get(t);n||(Vp(t,e.type),n=gs.get(t)),n.instances.add(e)}function eg(e){gs.get(e.type.__hmrId).instances.delete(e)}function Vp(e,t){return gs.has(e)?!1:(gs.set(e,{initialDef:lo(t),instances:new Set}),!0)}function lo(e){return kd(e)?e.__vccOpts:e}function tg(e,t){const n=gs.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,lo(s.type).render=t),s.renderCache=[],An=!0,s.update(),An=!1}))}function ng(e,t){const n=gs.get(e);if(!n)return;t=lo(t),oc(n.initialDef,t);const s=[...n.instances];for(const o of s){const a=lo(o.type);Ts.has(a)||(a!==n.initialDef&&oc(a,t),Ts.add(a)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Ts.add(a),o.ceReload(t.styles),Ts.delete(a)):o.parent?ta(o.parent.update):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}qp(()=>{for(const o of s)Ts.delete(lo(o.type))})}function oc(e,t){Be(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function ma(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Zt,so=[],Za=!1;function qo(e,...t){Zt?Zt.emit(e,...t):Za||so.push({event:e,args:t})}function Up(e,t){var n,s;Zt=e,Zt?(Zt.enabled=!0,so.forEach(({event:o,args:a})=>Zt.emit(o,...a)),so=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Up(a,t)}),setTimeout(()=>{Zt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Za=!0,so=[])},3e3)):(Za=!0,so=[])}function sg(e,t){qo("app:init",e,t,{Fragment:Pe,Text:Ho,Comment:ft,Static:mr})}function og(e){qo("app:unmount",e)}const Ja=ul("component:added"),Wp=ul("component:updated"),rg=ul("component:removed"),ag=e=>{Zt&&typeof Zt.cleanupBuffer=="function"&&!Zt.cleanupBuffer(e)&&rg(e)};function ul(e){return t=>{qo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const ig=zp("perf:start"),lg=zp("perf:end");function zp(e){return(t,n,s)=>{qo(e,t.appContext.app,t.uid,t,n,s)}}function cg(e,t,n){qo("component:emit",e.appContext.app,e,t,n)}function ug(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Fe;{const{emitsOptions:d,propsOptions:[f]}=e;if(d)if(!(t in d))(!f||!(Qn(t)in f))&&N(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qn(t)}" prop.`);else{const h=d[t];ce(h)&&(h(...n)||N(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:h}=s[d]||Fe;h&&(o=n.map(m=>Ve(m)?m.trim():m)),f&&(o=n.map(zh))}cg(e,t,o);{const d=t.toLowerCase();d!==t&&s[Qn(d)]&&N(`Event "${d}" is emitted in component ${ca(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${mn(t)}" instead of "${t}".`)}let l,u=s[l=Qn(t)]||s[l=Qn(tn(t))];!u&&a&&(u=s[l=Qn(mn(t))]),u&&Rt(u,e,6,o);const p=s[l+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Rt(p,e,6,o)}}function Kp(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const a=e.emits;let i={},l=!1;if(!ce(e)){const u=p=>{const d=Kp(p,t,!0);d&&(l=!0,Be(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!l?(Le(e)&&s.set(e,null),null):(re(a)?a.forEach(u=>i[u]=null):Be(i,a),Le(e)&&s.set(e,i),i)}function na(e,t){return!e||!Do(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,mn(t))||$e(e,t))}let Je=null,sa=null;function Ar(e){const t=Je;return Je=e,sa=e&&e.type.__scopeId||null,t}function jL(e){sa=e}function DL(){sa=null}function D(e,t=Je,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&vc(-1);const a=Ar(t);let i;try{i=e(...o)}finally{Ar(a),s._d&&vc(1)}return Wp(t),i};return s._n=!0,s._c=!0,s._d=!0,s}let Xa=!1;function Cr(){Xa=!0}function ga(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:a,propsOptions:[i],slots:l,attrs:u,emit:p,render:d,renderCache:f,data:h,setupState:m,ctx:g,inheritAttrs:b}=e;let k,w;const x=Ar(e);Xa=!1;try{if(n.shapeFlag&4){const E=o||s;k=Bt(d.call(E,E,f,a,m,h,g)),w=u}else{const E=t;u===a&&Cr(),k=Bt(E.length>1?E(a,{get attrs(){return Cr(),u},slots:l,emit:p}):E(a,null)),w=t.props?u:dg(u)}}catch(E){co.length=0,ea(E,e,1),k=q(ft)}let y=k,S;if(k.patchFlag>0&&k.patchFlag&2048&&([y,S]=pg(k)),w&&b!==!1){const E=Object.keys(w),{shapeFlag:O}=y;if(E.length){if(O&7)i&&E.some(wr)&&(w=fg(w,i)),y=on(y,w);else if(!Xa&&y.type!==ft){const R=Object.keys(u),C=[],F=[];for(let ne=0,le=R.length;ne renders non-element root node that cannot be animated."),y.transition=n.transition),S?S(y):k=y,Ar(x),k}const pg=e=>{const t=e.children,n=e.dynamicChildren,s=Gp(t);if(!s)return[e,void 0];const o=t.indexOf(s),a=n?n.indexOf(s):-1,i=l=>{t[o]=l,n&&(a>-1?n[a]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Bt(s),i]};function Gp(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Do(n))&&((t||(t={}))[n]=e[n]);return t},fg=(e,t)=>{const n={};for(const s in e)(!wr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},rc=e=>e.shapeFlag&7||e.type===ft;function hg(e,t,n){const{props:s,children:o,component:a}=e,{props:i,children:l,patchFlag:u}=t,p=a.emitsOptions;if((o||l)&&An||t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?ac(s,i,p):!!i;if(u&8){const d=t.dynamicProps;for(let f=0;fe.__isSuspense;function gg(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):qp(e)}function ys(e,t){return pl(e,null,t)}const Xo={};function ve(e,t,n){return ce(t)||N("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),pl(e,t,n)}function pl(e,t,{immediate:n,deep:s,flush:o,onTrack:a,onTrigger:i}=Fe){var l;t||(n!==void 0&&N('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&N('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const u=E=>{N("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Xi()===((l=Ze)==null?void 0:l.scope)?Ze:null;let d,f=!1,h=!1;if(Ce(e)?(d=()=>e.value,f=Tr(e)):cs(e)?(d=()=>e,s=!0):re(e)?(h=!0,f=e.some(E=>cs(E)||Tr(E)),d=()=>e.map(E=>{if(Ce(E))return E.value;if(cs(E))return os(E);if(ce(E))return hn(E,p,2);u(E)})):ce(e)?t?d=()=>hn(e,p,2):d=()=>{if(!(p&&p.isUnmounted))return m&&m(),Rt(e,p,3,[g])}:(d=vt,u(e)),t&&s){const E=d;d=()=>os(E())}let m,g=E=>{m=y.onStop=()=>{hn(E,p,4)}},b;if($o)if(g=vt,t?n&&Rt(t,p,3,[d(),h?[]:void 0,g]):d(),o==="sync"){const E=S_();b=E.__watcherHandles||(E.__watcherHandles=[])}else return vt;let k=h?new Array(e.length).fill(Xo):Xo;const w=()=>{if(y.active)if(t){const E=y.run();(s||f||(h?E.some((O,R)=>ko(O,k[R])):ko(E,k)))&&(m&&m(),Rt(t,p,3,[E,k===Xo?void 0:h&&k[0]===Xo?[]:k,g]),k=E)}else y.run()};w.allowRecurse=!!t;let x;o==="sync"?x=w:o==="post"?x=()=>et(w,p&&p.suspense):(w.pre=!0,p&&(w.id=p.uid),x=()=>ta(w));const y=new tl(d,x);y.onTrack=a,y.onTrigger=i,t?n?w():k=y.run():o==="post"?et(y.run.bind(y),p&&p.suspense):y.run();const S=()=>{y.stop(),p&&p.scope&&Gi(p.scope.effects,y)};return b&&b.push(S),S}function _g(e,t,n){const s=this.proxy,o=Ve(e)?e.includes(".")?Yp(s,e):()=>s[e]:e.bind(s,s);let a;ce(t)?a=t:(a=t.handler,n=t);const i=Ze;Ms(this);const l=pl(o,a.bind(s),n);return i?Ms(i):ds(),l}function Yp(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{os(n,t)});else if(mp(e))for(const n in e)os(e[n],t);return e}function Zp(e){Vh(e)&&N("Do not use built-in directive ids as custom directive id: "+e)}function Jp(e,t){const n=Je;if(n===null)return N("withDirectives can only be used inside render functions."),e;const s=la(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Bo(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],yg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt};function bg(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ei(e,t,n,s){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:p,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:b,onAppear:k,onAfterAppear:w,onAppearCancelled:x}=t,y=String(e.key),S=bg(n,e),E=(C,F)=>{C&&Rt(C,s,9,F)},O=(C,F)=>{const ne=F[1];E(C,F),re(C)?C.every(le=>le.length<=1)&&ne():C.length<=1&&ne()},R={mode:a,persisted:i,beforeEnter(C){let F=l;if(!n.isMounted)if(o)F=b||l;else return;C._leaveCb&&C._leaveCb(!0);const ne=S[y];ne&&Jn(e,ne)&&ne.el._leaveCb&&ne.el._leaveCb(),E(F,[C])},enter(C){let F=u,ne=p,le=d;if(!n.isMounted)if(o)F=k||u,ne=w||p,le=x||d;else return;let z=!1;const ge=C._enterCb=ye=>{z||(z=!0,ye?E(le,[C]):E(ne,[C]),R.delayedLeave&&R.delayedLeave(),C._enterCb=void 0)};F?O(F,[C,ge]):ge()},leave(C,F){const ne=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return F();E(f,[C]);let le=!1;const z=C._leaveCb=ge=>{le||(le=!0,F(),ge?E(g,[C]):E(m,[C]),C._leaveCb=void 0,S[ne]===e&&delete S[ne])};S[ne]=e,h?O(h,[C,z]):z()},clone(C){return ei(C,t,n,s)}};return R}function Pr(e,t){e.shapeFlag&6&&e.component?Pr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xp(e,t=!1,n){let s=[],o=0;for(let a=0;a1)for(let a=0;aBe({name:e.name},t,{setup:e}))():e}const Ps=e=>!!e.type.__asyncLoader,dl=e=>e.type.__isKeepAlive,kg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),s=n.ctx;if(!s.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const o=new Map,a=new Set;let i=null;n.__v_cache=o;const l=n.suspense,{renderer:{p:u,m:p,um:d,o:{createElement:f}}}=s,h=f("div");s.activate=(x,y,S,E,O)=>{const R=x.component;p(x,y,S,0,l),u(R.vnode,x,y,S,R,l,E,x.slotScopeIds,O),et(()=>{R.isDeactivated=!1,R.a&&Zn(R.a);const C=x.props&&x.props.onVnodeMounted;C&&Lt(C,R.parent,x)},l),Ja(R)},s.deactivate=x=>{const y=x.component;p(x,h,null,1,l),et(()=>{y.da&&Zn(y.da);const S=x.props&&x.props.onVnodeUnmounted;S&&Lt(S,y.parent,x),y.isDeactivated=!0},l),Ja(y)};function m(x){_a(x),d(x,n,l,!0)}function g(x){o.forEach((y,S)=>{const E=To(y.type);E&&(!x||!x(E))&&b(S)})}function b(x){const y=o.get(x);!i||!Jn(y,i)?m(y):i&&_a(i),o.delete(x),a.delete(x)}ve(()=>[e.include,e.exclude],([x,y])=>{x&&g(S=>oo(x,S)),y&&g(S=>!oo(y,S))},{flush:"post",deep:!0});let k=null;const w=()=>{k!=null&&o.set(k,va(n.subTree))};return Bn(w),ra(w),Bo(()=>{o.forEach(x=>{const{subTree:y,suspense:S}=n,E=va(y);if(x.type===E.type&&x.key===E.key){_a(E);const O=E.component.da;O&&et(O,S);return}m(x)})}),()=>{if(k=null,!t.default)return null;const x=t.default(),y=x[0];if(x.length>1)return N("KeepAlive should contain exactly one component child."),i=null,x;if(!Dn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let S=va(y);const E=S.type,O=To(Ps(S)?S.type.__asyncResolved||{}:E),{include:R,exclude:C,max:F}=e;if(R&&(!O||!oo(R,O))||C&&O&&oo(C,O))return i=S,y;const ne=S.key==null?E:S.key,le=o.get(ne);return S.el&&(S=on(S),y.shapeFlag&128&&(y.ssContent=S)),k=ne,le?(S.el=le.el,S.component=le.component,S.transition&&Pr(S,S.transition),S.shapeFlag|=512,a.delete(ne),a.add(ne)):(a.add(ne),F&&a.size>parseInt(F,10)&&b(a.values().next().value)),S.shapeFlag|=256,i=S,Qp(y.type)?y:S}}},ed=kg;function oo(e,t){return re(e)?e.some(n=>oo(n,t)):Ve(e)?e.split(",").includes(t):Hh(e)?e.test(t):!1}function td(e,t){sd(e,"a",t)}function nd(e,t){sd(e,"da",t)}function sd(e,t,n=Ze){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(oa(t,s,n),n){let o=n.parent;for(;o&&o.parent;)dl(o.parent.vnode)&&wg(s,t,n,o),o=o.parent}}function wg(e,t,n,s){const o=oa(t,e,s,!0);aa(()=>{Gi(s[t],o)},n)}function _a(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function va(e){return e.shapeFlag&128?e.ssContent:e}function oa(e,t,n=Ze,s=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;_s(),Ms(n);const l=Rt(t,n,e,i);return ds(),vs(),l});return s?o.unshift(a):o.push(a),a}else{const o=Qn(il[e].replace(/ hook$/,""));N(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const vn=e=>(t,n=Ze)=>(!$o||e==="sp")&&oa(e,(...s)=>t(...s),n),xg=vn("bm"),Bn=vn("m"),Sg=vn("bu"),ra=vn("u"),Bo=vn("bum"),aa=vn("um"),Eg=vn("sp"),$g=vn("rtg"),Tg=vn("rtc");function Og(e,t=Ze){oa("ec",e,t)}const ti="components";function Lr(e,t){return Cg(ti,e,!0,t)||e}const Ag=Symbol.for("v-ndc");function Cg(e,t,n=!0,s=!1){const o=Je||Ze;if(o){const a=o.type;if(e===ti){const l=To(a,!1);if(l&&(l===t||l===tn(t)||l===ms(tn(t))))return a}const i=ic(o[e]||a[e],t)||ic(o.appContext[e],t);if(!i&&s)return a;if(n&&!i){const l=e===ti?` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";N(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return i}else N(`resolve${ms(e.slice(0,-1))} can only be used in render() or setup().`)}function ic(e,t){return e&&(e[t]||e[tn(t)]||e[ms(tn(t))])}function Ds(e,t,n,s){let o;const a=n&&n[s];if(re(e)||Ve(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,u=i.length;l1&&(N("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),$();const i=a&&od(a(n)),l=K(Pe,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function od(e){return e.some(t=>Dn(t)?!(t.type===ft||t.type===Pe&&!od(t.children)):!0)?e:null}const ni=e=>e?vd(e)?la(e)||e.proxy:ni(e.parent):null,ps=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>no(e.props),$attrs:e=>no(e.attrs),$slots:e=>no(e.slots),$refs:e=>no(e.refs),$parent:e=>ni(e.parent),$root:e=>ni(e.root),$emit:e=>e.emit,$options:e=>hl(e),$forceUpdate:e=>e.f||(e.f=()=>ta(e.update)),$nextTick:e=>e.n||(e.n=st.bind(e.proxy)),$watch:e=>_g.bind(e)}),fl=e=>e==="_"||e==="$",ya=(e,t)=>e!==Fe&&!e.__isScriptSetup&&$e(e,t),rd={get({_:e},t){const{ctx:n,setupState:s,data:o,props:a,accessCache:i,type:l,appContext:u}=e;if(t==="__isVue")return!0;let p;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(ya(s,t))return i[t]=1,s[t];if(o!==Fe&&$e(o,t))return i[t]=2,o[t];if((p=e.propsOptions[0])&&$e(p,t))return i[t]=3,a[t];if(n!==Fe&&$e(n,t))return i[t]=4,n[t];si&&(i[t]=0)}}const d=ps[t];let f,h;if(d)return t==="$attrs"?(it(e,"get",t),Cr()):t==="$slots"&&it(e,"get",t),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Fe&&$e(n,t))return i[t]=4,n[t];if(h=u.config.globalProperties,$e(h,t))return h[t];Je&&(!Ve(t)||t.indexOf("__v")!==0)&&(o!==Fe&&fl(t[0])&&$e(o,t)?N(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Je&&N(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:o,ctx:a}=e;return ya(o,t)?(o[t]=n,!0):o.__isScriptSetup&&$e(o,t)?(N(`Cannot mutate + + + +
+ + + +