From 3e87fe7d68784e6585d6076663b1fd0d837cb00d Mon Sep 17 00:00:00 2001 From: Genji Date: Thu, 26 Oct 2023 11:44:10 +0900 Subject: [PATCH] npm run build --- dist/404.html | 4 +- dist/assets/DevicesList-32c41db0.js | 1 + dist/assets/DevicesList-c4d70243.js | 1 - dist/assets/DrawingControls-1cb26789.js | 3 - dist/assets/DrawingControls-d0d542af.js | 4 + dist/assets/DrawingLayer-0694c721.js | 1 - dist/assets/DrawingLayer-ee311497.js | 1 + dist/assets/NoteDisplay-494e6250.js | 1 + dist/assets/NoteDisplay-a6ee5221.js | 1 - dist/assets/NotesView-2be16bb1.js | 1 - dist/assets/NotesView-ef9e97d4.js | 1 + dist/assets/Presenter-1597e1de.js | 1 - dist/assets/Presenter-f3628c53.js | 1 + dist/assets/PresenterPrint-246a6dc0.js | 17 - dist/assets/PresenterPrint-e20ae9c0.js | 17 + dist/assets/RecordingControls-8ec60186.js | 1 - dist/assets/RecordingControls-b261bff2.js | 1 + dist/assets/RecordingDialog-238b2426.js | 1 + dist/assets/RecordingDialog-4504ad31.js | 1 - dist/assets/WebCamera-8a566ef4.js | 1 - dist/assets/WebCamera-c50faadd.js | 1 + dist/assets/index-4dabaf0f.js | 53 ++ dist/assets/index-cff3c2f7.css | 1 + dist/assets/index-ef0dda9e.css | 1 - dist/assets/index-efca82ff.js | 656 ---------------------- dist/assets/recording-33075ce7.js | 1 - dist/assets/recording-ba7077f3.js | 1 + dist/kintone-graphics/Animal_6_flip.png | Bin 0 -> 132116 bytes dist/slides-kintone-for-hackathon.pdf | Bin 11931902 -> 4701230 bytes 29 files changed, 86 insertions(+), 688 deletions(-) create mode 100644 dist/assets/DevicesList-32c41db0.js delete mode 100644 dist/assets/DevicesList-c4d70243.js delete mode 100644 dist/assets/DrawingControls-1cb26789.js create mode 100644 dist/assets/DrawingControls-d0d542af.js delete mode 100644 dist/assets/DrawingLayer-0694c721.js create mode 100644 dist/assets/DrawingLayer-ee311497.js create mode 100644 dist/assets/NoteDisplay-494e6250.js delete mode 100644 dist/assets/NoteDisplay-a6ee5221.js delete mode 100644 dist/assets/NotesView-2be16bb1.js create mode 100644 dist/assets/NotesView-ef9e97d4.js delete mode 100644 dist/assets/Presenter-1597e1de.js create mode 100644 dist/assets/Presenter-f3628c53.js delete mode 100644 dist/assets/PresenterPrint-246a6dc0.js create mode 100644 dist/assets/PresenterPrint-e20ae9c0.js delete mode 100644 dist/assets/RecordingControls-8ec60186.js create mode 100644 dist/assets/RecordingControls-b261bff2.js create mode 100644 dist/assets/RecordingDialog-238b2426.js delete mode 100644 dist/assets/RecordingDialog-4504ad31.js delete mode 100644 dist/assets/WebCamera-8a566ef4.js create mode 100644 dist/assets/WebCamera-c50faadd.js create mode 100644 dist/assets/index-4dabaf0f.js create mode 100644 dist/assets/index-cff3c2f7.css delete mode 100644 dist/assets/index-ef0dda9e.css delete mode 100644 dist/assets/index-efca82ff.js delete mode 100644 dist/assets/recording-33075ce7.js create mode 100644 dist/assets/recording-ba7077f3.js create mode 100644 dist/kintone-graphics/Animal_6_flip.png diff --git a/dist/404.html b/dist/404.html index 24eee54..eaeef05 100644 --- a/dist/404.html +++ b/dist/404.html @@ -5,8 +5,8 @@ - - + +
diff --git a/dist/assets/DevicesList-32c41db0.js b/dist/assets/DevicesList-32c41db0.js new file mode 100644 index 0000000..296b138 --- /dev/null +++ b/dist/assets/DevicesList-32c41db0.js @@ -0,0 +1 @@ +import{o as u,e as v,f,d as h,b as c,l as p,g as l,am as t,W as o,au as n,av as i,q as y,m as x,_ as L}from"./index-4dabaf0f.js";import{c as k,d as C,s as M,e as b,f as g,m}from"./recording-ba7077f3.js";const B={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},D=f("path",{fill:"currentColor",d:"M21 26H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h17a2 2 0 0 1 2 2v4.06l5.42-3.87A1 1 0 0 1 30 9v14a1 1 0 0 1-1.58.81L23 19.94V24a2 2 0 0 1-2 2ZM4 8v16h17v-6a1 1 0 0 1 1.58-.81L28 21.06V10.94l-5.42 3.87A1 1 0 0 1 21 14V8Z"},null,-1),I=[D];function N(_,r){return u(),v("svg",B,[...I])}const E={name:"carbon-video",render:N},U={class:"text-sm"},T=h({__name:"DevicesList",setup(_){const r=c(()=>[{value:"none",display:"None"},...k.value.map(e=>({value:e.deviceId,display:e.label}))]),V=c(()=>[{value:"none",display:"None"},...C.value.map(e=>({value:e.deviceId,display:e.label}))]),d=M.map(e=>({value:e,display:b[e].toUpperCase()}));return g(),(e,s)=>(u(),v("div",U,[p(n,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=a=>o(t)?t.value=a:null),title:"Camera",items:r.value},null,8,["modelValue","items"]),p(n,{modelValue:l(i),"onUpdate:modelValue":s[1]||(s[1]=a=>o(i)?i.value=a:null),title:"Microphone",items:V.value},null,8,["modelValue","items"]),l(d).length?(u(),y(n,{key:0,modelValue:l(m),"onUpdate:modelValue":s[2]||(s[2]=a=>o(m)?m.value=a:null),title:"mimeType",items:l(d)},null,8,["modelValue","items"])):x("v-if",!0)]))}}),H=L(T,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/DevicesList.vue"]]);export{H as D,E as _}; diff --git a/dist/assets/DevicesList-c4d70243.js b/dist/assets/DevicesList-c4d70243.js deleted file mode 100644 index fad9731..0000000 --- a/dist/assets/DevicesList-c4d70243.js +++ /dev/null @@ -1 +0,0 @@ -import{o as u,f as v,g as f,d as h,i as y,a as x,v as c,m as p,h as t,an as l,T as o,av as n,aw as i,x as C,p as L,_ as k}from"./index-efca82ff.js";import{c as M,d as g,s as B,e as D,f as I,m}from"./recording-33075ce7.js";const N={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},T=f("path",{fill:"currentColor",d:"M21 26H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h17a2 2 0 0 1 2 2v4.06l5.42-3.87A1 1 0 0 1 30 9v14a1 1 0 0 1-1.58.81L23 19.94V24a2 2 0 0 1-2 2ZM4 8v16h17v-6a1 1 0 0 1 1.58-.81L28 21.06V10.94l-5.42 3.87A1 1 0 0 1 21 14V8Z"},null,-1),U=[T];function b(_,r){return u(),v("svg",N,U)}const H={name:"carbon-video",render:b},w={class:"text-sm"},j=h({__name:"DevicesList",setup(_){y(x);const r=c(()=>[{value:"none",display:"None"},...M.value.map(e=>({value:e.deviceId,display:e.label}))]),V=c(()=>[{value:"none",display:"None"},...g.value.map(e=>({value:e.deviceId,display:e.label}))]),d=B.map(e=>({value:e,display:D[e].toUpperCase()}));return I(),(e,s)=>(u(),v("div",w,[p(n,{modelValue:t(l),"onUpdate:modelValue":s[0]||(s[0]=a=>o(l)?l.value=a:null),title:"Camera",items:r.value},null,8,["modelValue","items"]),p(n,{modelValue:t(i),"onUpdate:modelValue":s[1]||(s[1]=a=>o(i)?i.value=a:null),title:"Microphone",items:V.value},null,8,["modelValue","items"]),t(d).length?(u(),C(n,{key:0,modelValue:t(m),"onUpdate:modelValue":s[2]||(s[2]=a=>o(m)?m.value=a:null),title:"mimeType",items:t(d)},null,8,["modelValue","items"])):L("v-if",!0)]))}}),S=k(j,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/DevicesList.vue"]]);export{S as D,H as _}; diff --git a/dist/assets/DrawingControls-1cb26789.js b/dist/assets/DrawingControls-1cb26789.js deleted file mode 100644 index c00dc05..0000000 --- a/dist/assets/DrawingControls-1cb26789.js +++ /dev/null @@ -1,3 +0,0 @@ -import{o as l,f as r,g as e,d as k,i as y,a as M,B as C,s as O,a5 as R,a6 as U,n as B,h as n,_ as Z,x as q,R as F,E as a,m as i,a7 as p,p as f,r as G,a8 as w,a9 as _,aa as P,F as T,ab as Y,ac as I,ad as J,ae as Q,af as m,ag as b,ah as u,ai as x,aj as $,ak as W}from"./index-efca82ff.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 fn(c,s){return l(),r("svg",mn,gn)}const wn={name:"carbon-pin-filled",render:fn},$n={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Ln=e("path",{fill:"currentColor",d:"M29 26H12a1 1 0 0 1-.707-.293l-9-9a1 1 0 0 1 0-1.414l9-9A1 1 0 0 1 12 6h17a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Zm-16.586-2H28V8H12.414l-8 8l8 8Z"},null,-1),Cn=e("path",{fill:"currentColor",d:"M20.414 16L25 11.414L23.586 10L19 14.586L14.414 10L13 11.414L17.586 16L13 20.586L14.414 22L19 17.414L23.586 22L25 20.586L20.414 16z"},null,-1),xn=[Ln,Cn];function kn(c,s){return l(),r("svg",$n,xn)}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),Zn=[Bn];function Dn(c,s){return l(),r("svg",Mn,Zn)}const Hn={name:"carbon-redo",render:Dn},Vn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},zn=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),Sn=[zn];function An(c,s){return l(),r("svg",Vn,Sn)}const jn={name:"carbon-undo",render:An},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},Un={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},qn=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),Fn=[qn];function Gn(c,s){return l(),r("svg",Un,Fn)}const Pn={name:"carbon-radio-button",render:Gn},Tn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Yn=e("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"},null,-1),In=[Yn];function Jn(c,s){return l(),r("svg",Tn,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=C(null),d=s.initial??{x:0,y:0},g=s.storageKey?O(s.storageKey,d):C(d),{style:h}=R(v,{initialValue:g});return(o,L)=>(l(),r("div",{ref_key:"el",ref:v,class:"fixed",style:B(n(h))},[U(o.$slots,"default")],4))}}),Xn=Z(Wn,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/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(){x.undo()}function v(){x.redo()}function d(h){p.value=h,_.value=!0}function g(h){w.color=h,_.value=!0}return(h,o)=>{const L=W,D=Qn,H=Pn,V=Rn,z=jn,S=Hn,A=yn,j=wn,E=vn,K=dn,N=sn;return l(),q(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:F(()=>[e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="stylus"}]),onClick:o[0]||(o[0]=t=>d("stylus"))},[i(L)],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(D)],2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="ellipse"}]),onClick:o[3]||(o[3]=t=>d("ellipse"))},[i(H)],2),e("button",{class:a(["slidev-icon-btn",{shallow:n(p)!=="rectangle"}]),onClick:o[4]||(o[4]=t=>d("rectangle"))},[i(V)],2),f(" TODO: not sure why it's not working! "),f(` `),i($),(l(!0),r(T,null,G(n(P),t=>(l(),r("button",{key:t,class:a(["slidev-icon-btn",n(w).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(w).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(Y)}]),onClick:o[5]||(o[5]=t=>s())},[i(z)],2),e("button",{class:a(["slidev-icon-btn",{disabled:!n(I)}]),onClick:o[6]||(o[6]=t=>v())},[i(S)],2),e("button",{class:a(["slidev-icon-btn",{disabled:!n(J)}]),onClick:o[7]||(o[7]=t=>n(Q)())},[i(A)],2),i($),e("button",{class:a(["slidev-icon-btn",{shallow:!n(u)}]),onClick:o[8]||(o[8]=t=>u.value=!n(u))},[m(i(j,{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)):f("v-if",!0)]),_:1},8,["class"])}}}),ie=Z(te,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/DrawingControls.vue"]]);export{ie as default}; diff --git a/dist/assets/DrawingControls-d0d542af.js b/dist/assets/DrawingControls-d0d542af.js new file mode 100644 index 0000000..6c82836 --- /dev/null +++ b/dist/assets/DrawingControls-d0d542af.js @@ -0,0 +1,4 @@ +import{o as i,e as r,f as t,d as y,y as C,p as K,a4 as N,a5 as O,n as M,g as n,_ as D,q as R,S as T,B as a,a6 as h,a7 as _,l as e,a8 as m,m as f,h as j,a9 as $,aa as F,F as G,ab as P,ac as Y,ad as I,ae as J,H as d,af as g,ag as b,ah as k,ai as x,aj as Q}from"./index-4dabaf0f.js";const W={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},X=t("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),nn=t("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),en=[X,nn];function tn(c,l){return i(),r("svg",W,[...en])}const on={name:"carbon-close-outline",render:tn},sn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ln=t("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),rn=[ln];function an(c,l){return i(),r("svg",sn,[...rn])}const cn={name:"carbon-error",render:an},dn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_n=t("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),un=[_n];function hn(c,l){return i(),r("svg",dn,[...un])}const pn={name:"carbon-pin",render:hn},mn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},vn=t("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=[vn];function bn(c,l){return i(),r("svg",mn,[...gn])}const wn={name:"carbon-pin-filled",render:bn},fn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},$n=t("path",{fill:"currentColor",d:"M29 26H12a1 1 0 0 1-.707-.293l-9-9a1 1 0 0 1 0-1.414l9-9A1 1 0 0 1 12 6h17a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Zm-16.586-2H28V8H12.414l-8 8l8 8Z"},null,-1),xn=t("path",{fill:"currentColor",d:"M20.414 16L25 11.414L23.586 10L19 14.586L14.414 10L13 11.414L17.586 16L13 20.586L14.414 22L19 17.414L23.586 22L25 20.586L20.414 16z"},null,-1),Ln=[$n,xn];function Cn(c,l){return i(),r("svg",fn,[...Ln])}const kn={name:"carbon-delete",render:Cn},yn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Mn=t("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=[Mn];function Bn(c,l){return i(),r("svg",yn,[...Dn])}const Zn={name:"carbon-redo",render:Bn},Hn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Vn=t("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),Sn=[Vn];function zn(c,l){return i(),r("svg",Hn,[...Sn])}const An={name:"carbon-undo",render:zn},Un={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},qn=t("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),En=[qn];function Kn(c,l){return i(),r("svg",Un,[...En])}const Nn={name:"carbon-checkbox",render:Kn},On={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Rn=t("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),Tn=[Rn];function jn(c,l){return i(),r("svg",On,[...Tn])}const Fn={name:"carbon-radio-button",render:jn},Gn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Pn=t("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"},null,-1),Yn=[Pn];function In(c,l){return i(),r("svg",Gn,[...Yn])}const Jn={name:"carbon-arrow-up-right",render:In},Qn=y({__name:"Draggable",props:{storageKey:{type:String,required:!1},initial:{type:Object,required:!1}},setup(c){const l=c,v=C(null),u=l.initial??{x:0,y:0},w=l.storageKey?K(l.storageKey,u):C(u),{style:p}=N(v,{initialValue:w});return(o,L)=>(i(),r("div",{ref_key:"el",ref:v,class:"fixed",style:M(n(p))},[O(o.$slots,"default")],4))}}),Wn=D(Qn,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/Draggable.vue"]]),Xn=t("svg",{width:"1em",height:"1em",class:"-mt-0.5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[t("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),ne=["onClick"],ee=y({__name:"DrawingControls",setup(c){function l(){k.undo()}function v(){k.redo()}function u(p){m.value=p,h.value=!0}function w(p){$.color=p,h.value=!0}return(p,o)=>{const L=Q,B=Jn,Z=Fn,H=Nn,V=An,S=Zn,z=kn,A=wn,U=pn,q=cn,E=on;return i(),R(Wn,{class:a(["flex flex-wrap text-xl p-2 gap-1 rounded-md bg-main shadow transition-opacity duration-200",n(h)?"":n(_)?"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:T(()=>[t("button",{class:a(["slidev-icon-btn",{shallow:n(m)!=="stylus"}]),onClick:o[0]||(o[0]=s=>u("stylus"))},[e(d,{text:"Draw with stylus"}),e(L)],2),t("button",{class:a(["slidev-icon-btn",{shallow:n(m)!=="line"}]),onClick:o[1]||(o[1]=s=>u("line"))},[e(d,{text:"Draw a line"}),Xn],2),t("button",{class:a(["slidev-icon-btn",{shallow:n(m)!=="arrow"}]),onClick:o[2]||(o[2]=s=>u("arrow"))},[e(d,{text:"Draw an arrow"}),e(B)],2),t("button",{class:a(["slidev-icon-btn",{shallow:n(m)!=="ellipse"}]),onClick:o[3]||(o[3]=s=>u("ellipse"))},[e(d,{text:"Draw an ellipse"}),e(Z)],2),t("button",{class:a(["slidev-icon-btn",{shallow:n(m)!=="rectangle"}]),onClick:o[4]||(o[4]=s=>u("rectangle"))},[e(d,{text:"Draw a rectangle"}),e(H)],2),f(" TODO: not sure why it's not working! "),f(` `),e(x),(i(!0),r(G,null,j(n(F),s=>(i(),r("button",{key:s,class:a(["slidev-icon-btn",n($).color===s?"active":"shallow"]),onClick:te=>w(s)},[e(d,{text:"Set brush color"}),t("div",{class:a(["w-6 h-6 transition-all transform border border-gray-400/50",n($).color!==s?"rounded-1/2 scale-85":"rounded-md"]),style:M(n(h)?{background:s}:{borderColor:s})},null,6)],10,ne))),128)),e(x),t("button",{class:a(["slidev-icon-btn",{disabled:!n(P)}]),onClick:o[5]||(o[5]=s=>l())},[e(d,{text:"Undo"}),e(V)],2),t("button",{class:a(["slidev-icon-btn",{disabled:!n(Y)}]),onClick:o[6]||(o[6]=s=>v())},[e(d,{text:"Redo"}),e(S)],2),t("button",{class:a(["slidev-icon-btn",{disabled:!n(I)}]),onClick:o[7]||(o[7]=s=>n(J)())},[e(d,{text:"Delete"}),e(z)],2),e(x),t("button",{class:a(["slidev-icon-btn",{shallow:!n(_)}]),onClick:o[8]||(o[8]=s=>_.value=!n(_))},[e(d,{text:n(_)?"Unpin drawing":"Pin drawing"},null,8,["text"]),g(e(A,{class:"transform -rotate-45"},null,512),[[b,n(_)]]),g(e(U,null,null,512),[[b,!n(_)]])],2),n(h)?(i(),r("button",{key:0,class:a(["slidev-icon-btn",{shallow:!n(h)}]),onClick:o[9]||(o[9]=s=>h.value=!n(h))},[e(d,{text:n(_)?"Drawing pinned":"Drawing unpinned"},null,8,["text"]),g(e(q,null,null,512),[[b,n(_)]]),g(e(E,null,null,512),[[b,!n(_)]])],2)):f("v-if",!0)]),_:1},8,["class"])}}}),se=D(ee,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/DrawingControls.vue"]]);export{se as default}; diff --git a/dist/assets/DrawingLayer-0694c721.js b/dist/assets/DrawingLayer-0694c721.js deleted file mode 100644 index 3ae694d..0000000 --- a/dist/assets/DrawingLayer-0694c721.js +++ /dev/null @@ -1 +0,0 @@ -import{d as l,i as o,a as i,aB as c,B as u,M as d,ai as a,Q as f,aC as p,aD as _,o as m,f as v,E as g,h as s,a9 as t,_ as h}from"./index-efca82ff.js";const w=l({__name:"DrawingLayer",setup(k){o(i);const r=o(c),e=u();return d(()=>{a.mount(e.value,e.value.parentElement),f(r,n=>a.options.coordinateScale=1/n,{immediate:!0}),p()}),_(()=>{a.unmount()}),(n,y)=>(m(),v("svg",{ref_key:"svg",ref:e,class:g(["w-full h-full absolute top-0",{"pointer-events-none":!s(t),"touch-none":s(t)}])},null,2))}}),C=h(w,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{C as default}; diff --git a/dist/assets/DrawingLayer-ee311497.js b/dist/assets/DrawingLayer-ee311497.js new file mode 100644 index 0000000..f3b778d --- /dev/null +++ b/dist/assets/DrawingLayer-ee311497.js @@ -0,0 +1 @@ +import{d as r,az as l,aA as i,y as u,L as c,ah as a,P as d,aB as p,aC as _,o as f,e as m,B as v,g as s,a6 as o,_ as g}from"./index-4dabaf0f.js";const h=r({__name:"DrawingLayer",setup(w){const t=l(i),e=u();return c(()=>{a.mount(e.value,e.value.parentElement),d(t,n=>a.options.coordinateScale=1/n,{immediate:!0}),p()}),_(()=>{a.unmount()}),(n,y)=>(f(),m("svg",{ref_key:"svg",ref:e,class:v(["w-full h-full absolute top-0",{"pointer-events-none":!s(o),"touch-none":s(o)}])},null,2))}}),B=g(h,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{B as default}; diff --git a/dist/assets/NoteDisplay-494e6250.js b/dist/assets/NoteDisplay-494e6250.js new file mode 100644 index 0000000..7817828 --- /dev/null +++ b/dist/assets/NoteDisplay-494e6250.js @@ -0,0 +1 @@ +import{d as c,e as n,B as s,f as r,t as a,o as l,_ as u}from"./index-4dabaf0f.js";const d=["innerHTML"],m=["textContent"],f=["textContent"],k=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(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,d)):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,m)],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,f)],2))}}),v=u(k,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{v as N}; diff --git a/dist/assets/NoteDisplay-a6ee5221.js b/dist/assets/NoteDisplay-a6ee5221.js deleted file mode 100644 index cecfa3f..0000000 --- a/dist/assets/NoteDisplay-a6ee5221.js +++ /dev/null @@ -1 +0,0 @@ -import{d as c,i as u,a as d,f as n,E as s,g as r,t as a,o as i,_ as m}from"./index-efca82ff.js";const f=["innerHTML"],k=["textContent"],y=["textContent"],v=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 u(d),(e,t)=>e.noteHtml?(i(),n("div",{key:0,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[0]||(t[0]=l=>e.$emit("click")),innerHTML:e.noteHtml},null,10,f)):e.note?(i(),n("div",{key:1,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[1]||(t[1]=l=>e.$emit("click"))},[r("p",{textContent:a(e.note)},null,8,k)],2)):(i(),n("div",{key:2,class:s(["prose overflow-auto outline-none opacity-50 italic",o.class]),onClick:t[2]||(t[2]=l=>e.$emit("click"))},[r("p",{textContent:a(o.placeholder||"No notes.")},null,8,y)],2))}}),g=m(v,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{g as N}; diff --git a/dist/assets/NotesView-2be16bb1.js b/dist/assets/NotesView-2be16bb1.js deleted file mode 100644 index d645e2a..0000000 --- a/dist/assets/NotesView-2be16bb1.js +++ /dev/null @@ -1 +0,0 @@ -import{o as n,f as i,g as e,d as G,i as P,a as q,c as S,b as I,s as J,v as d,w as u,j as M,n as L,h as o,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-efca82ff.js";import{N as H}from"./NoteDisplay-a6ee5221.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},te=e("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),oe=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=[te,oe];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=G({__name:"NotesView",setup(_){P(q);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 t;return((t=u.lastUpdate)==null?void 0:t.type)==="viewer"?u.viewerPage:u.page}),h=d(()=>M.find(t=>t.path===`${l.value}`)),r=d(()=>M.find(t=>t.path===`${l.value+1}`));function Z(){s.value=s.value+1}function j(){s.value=s.value-1}return(t,m)=>{var v,f,x,g,b,y,z,$,w,k,N,C;const A=W,R=X,D=ue,U=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)/o(F)*100}%`})},null,4),e("div",_e,[e("div",{class:"px-5 flex-auto h-full overflow-auto",style:L({fontSize:`${o(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":(y=(b=(g=h.value)==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:y.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:(w=($=(z=r.value)==null?void 0:z.meta)==null?void 0:$.slide)==null?void 0:w.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]=(...E)=>o(p)&&o(p)(...E))},[o(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(U)]),ve,e("div",fe,B(l.value)+" / "+B(o(F)),1)])])])],64)}}}),ye=Y(xe,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/NotesView.vue"]]);export{ye as default}; diff --git a/dist/assets/NotesView-ef9e97d4.js b/dist/assets/NotesView-ef9e97d4.js new file mode 100644 index 0000000..851f46f --- /dev/null +++ b/dist/assets/NotesView-ef9e97d4.js @@ -0,0 +1 @@ +import{o as s,e as i,f as e,d as G,c as M,a as I,p as P,b as u,s as d,r as L,n as V,g as o,j as B,l as n,m as J,H as _,q as F,t as T,F as K,v as O,w as Q,x as W,_ as X}from"./index-4dabaf0f.js";import{N as Z}from"./NoteDisplay-494e6250.js";const Y={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ee=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),oe=[ee,te];function ne(p,c){return s(),i("svg",Y,[...oe])}const se={name:"carbon-zoom-out",render:ne},le={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ae=e("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ie=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),ce=[ae,ie];function re(p,c){return s(),i("svg",le,[...ce])}const ue={name:"carbon-zoom-in",render:re},de={class:"h-full flex flex-col"},_e={key:0,class:"px-5 py-2 max-h-60 overflow-auto border-t border-gray-400 border-opacity-20"},pe={class:"flex-none border-t border-gray-400 border-opacity-20"},me={class:"flex gap-1 items-center px-6 py-3"},he=e("div",{class:"flex-auto"},null,-1),ve={class:"p2 text-center"},fe=G({__name:"NotesView",setup(p){const c=M.titleTemplate.replace("%s",M.title||"Slidev");I({title:`Notes - ${c}`});const{isFullscreen:m,toggle:h}=O,l=P("slidev-notes-font-size",18),a=u(()=>{var t;return((t=d.lastUpdate)==null?void 0:t.type)==="viewer"?d.viewerPage:d.page}),v=u(()=>L.find(t=>t.path===`${a.value}`)),r=u(()=>L.find(t=>t.path===`${a.value+1}`));function D(){l.value=l.value+1}function R(){l.value=l.value-1}return(t,f)=>{var x,g,b,y,z,$,w,N,k,C,S,H;const A=Q,E=W,U=ue,j=se;return s(),i(K,null,[e("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:V({width:`${(a.value-1)/o(B)*100}%`})},null,4),e("div",de,[e("div",{class:"px-5 flex-auto h-full overflow-auto",style:V({fontSize:`${o(l)}px`})},[n(Z,{note:(b=(g=(x=v.value)==null?void 0:x.meta)==null?void 0:g.slide)==null?void 0:b.note,"note-html":($=(z=(y=v.value)==null?void 0:y.meta)==null?void 0:z.slide)==null?void 0:$.noteHTML,placeholder:`No notes for Slide ${a.value}.`},null,8,["note","note-html","placeholder"])],4),r.value?(s(),i("div",_e,[n(Z,{class:"opacity-50",note:(k=(N=(w=r.value)==null?void 0:w.meta)==null?void 0:N.slide)==null?void 0:k.note,"note-html":(H=(S=(C=r.value)==null?void 0:C.meta)==null?void 0:S.slide)==null?void 0:H.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):J("v-if",!0),e("div",pe,[e("div",me,[e("button",{class:"slidev-icon-btn",onClick:f[0]||(f[0]=(...q)=>o(h)&&o(h)(...q))},[n(_,{text:o(m)?"Close fullscreen":"Enter fullscreen"},null,8,["text"]),o(m)?(s(),F(A,{key:0})):(s(),F(E,{key:1}))]),e("button",{class:"slidev-icon-btn",onClick:D},[n(_,{text:"Increase font size"}),n(U)]),e("button",{class:"slidev-icon-btn",onClick:R},[n(_,{text:"Decrease font size"}),n(j)]),he,e("div",ve,T(a.value)+" / "+T(o(B)),1)])])])],64)}}}),be=X(fe,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/NotesView.vue"]]);export{be as default}; diff --git a/dist/assets/Presenter-1597e1de.js b/dist/assets/Presenter-1597e1de.js deleted file mode 100644 index d495527..0000000 --- a/dist/assets/Presenter-1597e1de.js +++ /dev/null @@ -1 +0,0 @@ -import{o as d,f as k,g as e,B as y,C as D,v as h,d as H,i as M,a as B,D as S,x as m,E as P,_ as z,G as I,H as R,c as b,b as U,I as $,J as A,K as E,L as G,M as L,N as q,O as F,P as O,Q as W,h as i,m as u,t as Z,n as x,R as N,S as V,p as j,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 ie,a3 as re,a4 as ce}from"./index-efca82ff.js";import{N as ue}from"./NoteDisplay-a6ee5221.js";import de from"./DrawingControls-1cb26789.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),ve=[pe];function me(o,n){return d(),k("svg",_e,ve)}const he={name:"carbon-renew",render:me},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 ye(o,n){return d(),k("svg",fe,we)}const Se={name:"carbon-time",render:ye},ke="/assets/logo-title-horizontal-96c3c915.png";function Ce(){const o=y(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 be=H({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(o){const n=o;M(B);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(),m(ue,{class:P(n.class),note:_.value,"note-html":p.value},null,8,["class","note","note-html"]))}}),$e=z(be,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/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"},He=f(()=>e("img",{src:ke,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"}},null,-1)),Me=f(()=>e("div",{class:"flex-auto"},null,-1)),Be={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Pe=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"},Ue=H({__name:"Presenter",setup(o){M(B);const n=y();I(),R(n);const _=b.titleTemplate.replace("%s",b.title||"Slidev");U({title:`Presenter - ${_}`});const{timer:p,resetTimer:t}=Ce(),l=y([]),s=h(()=>$.value{const C=n.value.querySelector("#slide-content"),r=q(F()),g=O();W(()=>{if(!g.value||te.value||!se.value)return;const c=C.getBoundingClientRect(),a=(r.x-c.left)/c.width*100,v=(r.y-c.top)/c.height*100;if(!(a<0||a>100||v<0||v>100))return{x:a,y:v}},c=>{ee.cursor=c})}),(C,r)=>{const g=Se,c=he;return d(),k(Q,null,[e("div",Ne,[e("div",Ve,[e("div",Te,[He,Me,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:r[0]||(r[0]=(...a)=>i(t)&&i(t)(...a))},[u(g,{class:"absolute"}),u(c,{class:"absolute opacity-0"})]),e("div",Be,Z(i(p)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(i(T))},[u(V,{key:"main",class:"h-full w-full"},{default:N(()=>[u(oe,{context:"presenter"})]),_:1}),Pe],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(i(T))},[s.value?(d(),m(V,{key:"next",class:"h-full w-full"},{default:N(()=>{var a;return[u(i(ne),{is:(a=s.value.route)==null?void 0:a.component,"clicks-elements":l.value,"onUpdate:clicksElements":r[1]||(r[1]=v=>l.value=v),clicks:s.value.clicks,"clicks-disabled":!1,class:P(i(le)(s.value.route)),route:s.value.route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):j("v-if",!0),ze],4),e("div",De,[(d(),m($e,{key:1,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",Ie,[u(re,{persist:!0})]),(d(),m(de,{key:0}))]),e("div",Re,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(i(ae)-1)/(i(ie)-1)*100}%`})},null,4)])]),u(ce),u(K,{modelValue:i(w),"onUpdate:modelValue":r[2]||(r[2]=a=>J(w)?w.value=a:null)},null,8,["modelValue"])],64)}}});const Le=z(Ue,[["__scopeId","data-v-574fd206"],["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/Presenter.vue"]]);export{Le as default}; diff --git a/dist/assets/Presenter-f3628c53.js b/dist/assets/Presenter-f3628c53.js new file mode 100644 index 0000000..2015c7b --- /dev/null +++ b/dist/assets/Presenter-f3628c53.js @@ -0,0 +1 @@ +import{o as d,e as k,f as e,y,z as P,b as h,d as M,A as S,q as v,B,_ as H,C as z,D,c as C,a as R,E as $,G as A,I,J as U,K as E,L as G,M as L,N as q,O as F,P as O,s as W,Q as Z,R as j,g as i,l as u,t as J,n as x,i as N,S as V,T,m as K,U as Q,j as X,V as w,W as Y,X as ee,F as te,Y as se,Z as oe,$ as le,a0 as ne,a1 as ae,a2 as ie,a3 as re}from"./index-4dabaf0f.js";import{N as ce}from"./NoteDisplay-494e6250.js";import ue from"./DrawingControls-d0d542af.js";const de={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_e=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),pe=[_e];function me(o,n){return d(),k("svg",de,[...pe])}const ve={name:"carbon-renew",render:me},he={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},fe=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),ge=e("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z"},null,-1),xe=[fe,ge];function we(o,n){return d(),k("svg",he,[...xe])}const ye={name:"carbon-time",render:we},Se="/assets/logo-title-horizontal-96c3c915.png";function ke(){const o=y(Date.now()),n=P({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 be=M({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(o){const n=o,_=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(ce,{class:B(n.class),note:_.value,"note-html":p.value},null,8,["class","note","note-html"]))}}),Ce=H(be,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=o=>(ne("data-v-574fd206"),o=o(),ae(),o),$e={class:"bg-main h-full slidev-presenter"},Ne={class:"grid-container"},Ve={class:"grid-section top flex"},Te=f(()=>e("img",{src:Se,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"},alt:"Slidev logo"},null,-1)),Me=f(()=>e("div",{class:"flex-auto"},null,-1)),Be={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},He=f(()=>e("div",{class:"context"}," current ",-1)),Pe=f(()=>e("div",{class:"context"}," next ",-1)),ze={class:"grid-section note overflow-auto"},De={class:"grid-section bottom"},Re={class:"progress-bar"},Ae=M({__name:"Presenter",setup(o){const n=y();z(),D(n);const _=C.titleTemplate.replace("%s",C.title||"Slidev");R({title:`Presenter - ${_}`});const{timer:p,resetTimer:t}=ke(),l=y([]),s=h(()=>$.value{const b=n.value.querySelector("#slide-content"),r=L(q()),g=F();O(()=>{if(!g.value||Z.value||!j.value)return;const c=b.getBoundingClientRect(),a=(r.x-c.left)/c.width*100,m=(r.y-c.top)/c.height*100;if(!(a<0||a>100||m<0||m>100))return{x:a,y:m}},c=>{W.cursor=c})}),(b,r)=>{const g=ye,c=ve;return d(),k(te,null,[e("div",$e,[e("div",Ne,[e("div",Ve,[Te,Me,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:r[0]||(r[0]=(...a)=>i(t)&&i(t)(...a))},[u(g,{class:"absolute"}),u(c,{class:"absolute opacity-0"})]),e("div",Be,J(i(p)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(i(N))},[u(T,{key:"main",class:"h-full w-full"},{default:V(()=>[u(se,{"render-context":"presenter"})]),_:1}),He],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(i(N))},[s.value?(d(),v(T,{key:"next",class:"h-full w-full"},{default:V(()=>{var a;return[u(i(le),{is:(a=s.value.route)==null?void 0:a.component,"clicks-elements":l.value,"onUpdate:clicksElements":r[1]||(r[1]=m=>l.value=m),clicks:s.value.clicks,"clicks-disabled":!1,class:B(i(oe)(s.value.route)),route:s.value.route,"render-context":"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):K("v-if",!0),Pe],4),e("div",ze,[(d(),v(Ce,{key:2,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",De,[u(ie,{persist:!0})]),(d(),v(ue,{key:0}))]),e("div",Re,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(i(Q)-1)/(i(X)-1)*100}%`})},null,4)])]),u(re),u(ee,{modelValue:i(w),"onUpdate:modelValue":r[2]||(r[2]=a=>Y(w)?w.value=a:null)},null,8,["modelValue"])],64)}}});const Ge=H(Ae,[["__scopeId","data-v-574fd206"],["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/Presenter.vue"]]);export{Ge as default}; diff --git a/dist/assets/PresenterPrint-246a6dc0.js b/dist/assets/PresenterPrint-246a6dc0.js deleted file mode 100644 index fa092bd..0000000 --- a/dist/assets/PresenterPrint-246a6dc0.js +++ /dev/null @@ -1,17 +0,0 @@ -import{d as _,i as d,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 y,o as r,k as b,l as k,m as N,p as P,q as w,_ as S}from"./index-efca82ff.js";import{N as V}from"./NoteDisplay-a6ee5221.js";const j={class:"m-4"},H={class:"mb-10"},L={class:"text-4xl font-bold mt-2"},T={class:"opacity-50"},B={class:"text-lg"},C={class:"font-bold flex gap-2"},D={class:"opacity-50"},z=t("div",{class:"flex-auto"},null,-1),F={key:0,class:"border-gray-400/50 mb-8"},M=_({__name:"PresenterPrint",setup(q){d(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 l=f(()=>y.map(o=>{var i;return(i=o.meta)==null?void 0:i.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,i)=>(r(),n("div",{id:"page-root",style:x(a(w))},[t("div",j,[t("div",H,[t("h1",L,s(a(m).title),1),t("div",T,s(new Date().toLocaleString()),1)]),(r(!0),n(g,null,v(a(l),(e,c)=>(r(),n("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",B,[t("div",C,[t("div",D,s(e==null?void 0:e.no)+"/"+s(a(b)),1),k(" "+s(e==null?void 0:e.title)+" ",1),z])]),N(V,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),ch.map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(n(),a("div",{id:"page-root",style:v(r(x))},[t("div",V,[t("div",H,[t("h1",L,s(r(m).title),1),t("div",S,s(new Date().toLocaleString()),1)]),(n(!0),a(f,null,g(i.value,(e,c)=>(n(),a("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",T,[t("div",B,[t("div",D,s(e==null?void 0:e.no)+"/"+s(r(y)),1),b(" "+s(e==null?void 0:e.title)+" ",1),j])]),k(w,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),c{l.value=a.value});function v(){o.value?p():D.value=!0}return R(()=>{l.value&&!a.value&&i()}),(ne,_)=>{const g=Y,f=K,b=S,C=H;return n(),s(V,null,[e(M)!=="none"?(n(),s("button",{key:0,class:u(["slidev-icon-btn e(i)&&e(i)(...x))},[c(g)],2)):Z("v-if",!0),t("button",{class:u(["slidev-icon-btn",{"text-red-500":e(o)}]),title:"Recording",onClick:v},[e(o)?(n(),d(f,{key:0})):(n(),d(b,{key:1}))],2),c(y,{disabled:e(o)},{button:h(()=>[t("button",ee,[c(C,{class:"opacity-50"})])]),menu:h(()=>[c(N)]),_:1},8,["disabled"])],64)}}}),ce=L(oe,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/RecordingControls.vue"]]);export{ce as default}; diff --git a/dist/assets/RecordingControls-b261bff2.js b/dist/assets/RecordingControls-b261bff2.js new file mode 100644 index 0000000..8541395 --- /dev/null +++ b/dist/assets/RecordingControls-b261bff2.js @@ -0,0 +1 @@ +import{o as n,e as a,f as s,d as k,p as B,P as $,L as A,g as e,am as R,B as u,l as t,m as Z,H as l,q as m,S as h,as as M,F as y,at as S,_ as L}from"./index-4dabaf0f.js";import{D as V,_ as D}from"./DevicesList-32c41db0.js";import{r as H}from"./recording-ba7077f3.js";const N={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},z=s("path",{fill:"currentColor",d:"m16 10l10 10l-1.4 1.4l-8.6-8.6l-8.6 8.6L6 20z"},null,-1),F=[z];function T(r,o){return n(),a("svg",N,[...F])}const q={name:"carbon-chevron-up",render:T},E={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},G=s("path",{fill:"currentColor",d:"M16 4A12 12 0 1 1 4 16A12 12 0 0 1 16 4m0-2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Z"},null,-1),P=s("path",{fill:"currentColor",d:"M20 12v8h-8v-8h8m0-2h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Z"},null,-1),U=[G,P];function j(r,o){return n(),a("svg",E,[...U])}const I={name:"carbon-stop-outline",render:j},J={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},K=s("path",{fill:"currentColor",d:"M16 8a5 5 0 1 0 5 5a5 5 0 0 0-5-5Zm0 8a3 3 0 1 1 3-3a3.003 3.003 0 0 1-3 3Z"},null,-1),O=s("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2Zm-6 24.377V25a3.003 3.003 0 0 1 3-3h6a3.003 3.003 0 0 1 3 3v1.377a11.899 11.899 0 0 1-12 0Zm13.992-1.451A5.002 5.002 0 0 0 19 20h-6a5.002 5.002 0 0 0-4.992 4.926a12 12 0 1 1 15.985 0Z"},null,-1),Q=[K,O];function W(r,o){return n(),a("svg",J,[...Q])}const X={name:"carbon-user-avatar",render:W},Y={class:"slidev-icon-btn h-full !text-sm !px-0"},ee=k({__name:"RecordingControls",setup(r){const{recording:o,showAvatar:c,streamCamera:v,stopRecording:p,toggleAvatar:i}=H,_=B("slidev-webcam-show",!1);$(c,()=>{_.value=c.value});function g(){o.value?p():S.value=!0}return A(()=>{_.value&&!c.value&&i()}),(oe,d)=>{const f=X,x=I,b=D,C=q;return n(),a(y,null,[e(R)!=="none"?(n(),a("button",{key:0,class:u(["slidev-icon-btn e(i)&&e(i)(...w))},[t(l,{text:"Toggle camera view"}),t(f)],2)):Z("v-if",!0),s("button",{class:u(["slidev-icon-btn",{"text-red-500":e(o)}]),title:"Recording",onClick:g},[t(l,{text:e(o)?"Stop record video":"Record video"},null,8,["text"]),e(o)?(n(),m(x,{key:0})):(n(),m(b,{key:1}))],2),t(M,{disabled:e(o)},{button:h(()=>[s("button",Y,[t(l,{text:"Select recording device"}),t(C,{class:"opacity-50"})])]),menu:h(()=>[t(V)]),_:1},8,["disabled"])],64)}}}),ae=L(ee,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/RecordingControls.vue"]]);export{ae as default}; diff --git a/dist/assets/RecordingDialog-238b2426.js b/dist/assets/RecordingDialog-238b2426.js new file mode 100644 index 0000000..4be697b --- /dev/null +++ b/dist/assets/RecordingDialog-238b2426.js @@ -0,0 +1 @@ +import{D as k,_ as b}from"./DevicesList-32c41db0.js";import{d as V,an as C,o as u,q as R,S as D,f as e,l as m,k as r,af as p,W as n,ao as w,g as t,ap as N,t as _,e as T,m as B,aq as M,ar as U,_ as E}from"./index-4dabaf0f.js";import{a as i,b as s,g as f,m as c,r as S}from"./recording-ba7077f3.js";const q={class:"flex gap-2 text-xl"},z={class:"grid grid-cols-2 gap-4"},F={class:"flex flex-col gap-2 py-2"},G={class:"form-text"},H=e("label",{for:"title"},"Recording Name",-1),L=e("div",{class:"text-xs w-full opacity-50 py-2"},[e("div",null,[r("This will be used in the output filename that might "),e("br"),r("help you better organize your recording chips.")])],-1),W={class:"form-check"},$={class:"text-xs w-full opacity-50"},j=e("div",{class:"mt-2 opacity-50"}," Enumerated filenames ",-1),A={class:"font-mono"},I={key:0,class:"font-mono"},J=e("div",{class:"flex-auto"},null,-1),K=V({__name:"RecordingDialog",props:{modelValue:{default:!1}},setup(v,{emit:g}){const l=C(v,"modelValue",g),{startRecording:x}=S;function d(){l.value=!1}async function y(){d(),await U(),x({mimeType:c.value})}return(Q,o)=>{const h=b;return u(),R(M,{modelValue:t(l),"onUpdate:modelValue":o[3]||(o[3]=a=>n(l)?l.value=a:null),class:"px-6 py-4 recording-dialog flex flex-col gap-2"},{default:D(()=>[e("div",q,[m(h,{class:"my-auto"}),r("Recording ")]),e("div",z,[e("div",F,[e("div",G,[H,p(e("input",{"onUpdate:modelValue":o[0]||(o[0]=a=>n(i)?i.value=a:null),class:"bg-transparent text-current",name:"title",type:"text",placeholder:"Enter the title..."},null,512),[[w,t(i)]]),L]),e("div",W,[p(e("input",{"onUpdate:modelValue":o[1]||(o[1]=a=>n(s)?s.value=a:null),name:"record-camera",type:"checkbox"},null,512),[[N,t(s)]]),e("label",{for:"record-camera",onClick:o[2]||(o[2]=a=>s.value=!t(s))},"Record camera separately")]),e("div",$,[j,e("div",A,_(t(f)("screen",t(c))),1),t(s)?(u(),T("div",I,_(t(f)("camera",t(c))),1)):B("v-if",!0)])]),m(k)]),e("div",{class:"flex my-1"},[e("button",{class:"cancel",onClick:d}," Cancel "),J,e("button",{onClick:y}," Start ")])]),_:1},8,["modelValue"])}}});const ee=E(K,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/RecordingDialog.vue"]]);export{ee as default}; diff --git a/dist/assets/RecordingDialog-4504ad31.js b/dist/assets/RecordingDialog-4504ad31.js deleted file mode 100644 index b7821d9..0000000 --- a/dist/assets/RecordingDialog-4504ad31.js +++ /dev/null @@ -1 +0,0 @@ -import{D as k,_ as V}from"./DevicesList-c4d70243.js";import{d as C,i as R,a as D,ao as T,o as u,x as w,R as N,g as e,m,l as r,af as p,T as n,ap as B,h as t,aq as M,t as _,f as U,p as E,ar as S,as as j,_ as q}from"./index-efca82ff.js";import{a as i,b as s,g as f,m as c,r as z}from"./recording-33075ce7.js";const F={class:"flex gap-2 text-xl"},G={class:"grid grid-cols-2 gap-4"},H={class:"flex flex-col gap-2 py-2"},L={class:"form-text"},$=e("label",{for:"title"},"Recording Name",-1),A=e("div",{class:"text-xs w-full opacity-50 py-2"},[e("div",null,[r("This will be used in the output filename that might "),e("br"),r("help you better organize your recording chips.")])],-1),I={class:"form-check"},J={class:"text-xs w-full opacity-50"},K=e("div",{class:"mt-2 opacity-50"}," Enumerated filenames ",-1),O={class:"font-mono"},P={key:0,class:"font-mono"},Q=e("div",{class:"flex-auto"},null,-1),W=C({__name:"RecordingDialog",props:{modelValue:{default:!1}},setup(v,{emit:g}){const x=v;R(D);const l=T(x,"modelValue",g),{startRecording:h}=z;function d(){l.value=!1}async function y(){d(),await j(),h({mimeType:c.value})}return(X,o)=>{const b=V;return u(),w(S,{modelValue:t(l),"onUpdate:modelValue":o[3]||(o[3]=a=>n(l)?l.value=a:null),class:"px-6 py-4 recording-dialog flex flex-col gap-2"},{default:N(()=>[e("div",F,[m(b,{class:"my-auto"}),r("Recording ")]),e("div",G,[e("div",H,[e("div",L,[$,p(e("input",{"onUpdate:modelValue":o[0]||(o[0]=a=>n(i)?i.value=a:null),class:"bg-transparent text-current",name:"title",type:"text",placeholder:"Enter the title..."},null,512),[[B,t(i)]]),A]),e("div",I,[p(e("input",{"onUpdate:modelValue":o[1]||(o[1]=a=>n(s)?s.value=a:null),name:"record-camera",type:"checkbox"},null,512),[[M,t(s)]]),e("label",{for:"record-camera",onClick:o[2]||(o[2]=a=>s.value=!t(s))},"Record camera separately")]),e("div",J,[K,e("div",O,_(t(f)("screen",t(c))),1),t(s)?(u(),U("div",P,_(t(f)("camera",t(c))),1)):E("v-if",!0)])]),m(k)]),e("div",{class:"flex my-1"},[e("button",{class:"cancel",onClick:d}," Cancel "),Q,e("button",{onClick:y}," Start ")])]),_:1},8,["modelValue"])}}});const te=q(W,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/RecordingDialog.vue"]]);export{te as default}; diff --git a/dist/assets/WebCamera-8a566ef4.js b/dist/assets/WebCamera-8a566ef4.js deleted file mode 100644 index 9ca20c1..0000000 --- a/dist/assets/WebCamera-8a566ef4.js +++ /dev/null @@ -1 +0,0 @@ -import{d as b,i as _,a as k,s as f,B as i,a5 as h,al as C,v as m,am as z,M,h as n,an as W,o as S,f as j,g as s,n as l,E as H,p as B,_ as E}from"./index-efca82ff.js";import{r as $}from"./recording-33075ce7.js";const D=b({__name:"WebCamera",setup(V){_(k);const e=f("slidev-webcam-size",Math.round(Math.min(window.innerHeight,window.innerWidth/8))),a=f("slidev-webcam-pos",{x:window.innerWidth-e.value-30,y:window.innerHeight-e.value-30},{deep:!0}),u=i(),d=i(),r=i(),{streamCamera:c,showAvatar:p}=$,{style:w}=h(u,{initialValue:a,onMove({x:o,y:t}){a.value.x=o,a.value.y=t}}),{isDragging:y}=h(d,{onMove({x:o,y:t}){e.value=Math.max(10,Math.min(o-a.value.x,t-a.value.y)/.8536)}});C(()=>{r.value&&(r.value.srcObject=c.value)},{flush:"post"});const g=m(()=>({width:`${e.value}px`,height:`${e.value}px`})),x=m(()=>({width:"14px",height:"14px",top:`${e.value*.8536-7}px`,left:`${e.value*.8536-7}px`,cursor:"nwse-resize"}));function v(){a.value.x>=window.innerWidth&&(a.value.x=window.innerWidth-e.value-30),a.value.y>=window.innerHeight&&(a.value.y=window.innerHeight-e.value-30)}return z("resize",v),M(v),(o,t)=>n(c)&&n(p)&&n(W)!=="none"?(S(),j("div",{key:0,class:"fixed z-10",style:l(n(w))},[s("div",{ref_key:"frame",ref:u,class:"rounded-full shadow bg-gray-400 bg-opacity-10 overflow-hidden object-cover",style:l(g.value)},[s("video",{ref_key:"video",ref:r,autoplay:"",muted:"",volume:"0",class:"object-cover min-w-full min-h-full rounded-full",style:{transform:"rotateY(180deg)"}},null,512)],4),s("div",{ref_key:"handler",ref:d,class:H(["absolute bottom-0 right-0 rounded-full bg-main shadow opacity-0 shadow z-30 hover:opacity-100 dark:border dark:border-true-gray-700",n(y)?"!opacity-100":""]),style:l(x.value)},null,6)],4)):B("v-if",!0)}}),A=E(D,[["__file","/Users/puppy/GitHub/kintone-for-hackathon/node_modules/@slidev/client/internals/WebCamera.vue"]]);export{A as default}; diff --git a/dist/assets/WebCamera-c50faadd.js b/dist/assets/WebCamera-c50faadd.js new file mode 100644 index 0000000..12dc285 --- /dev/null +++ b/dist/assets/WebCamera-c50faadd.js @@ -0,0 +1 @@ +import{d as x,p as f,y as s,a4 as m,ak as _,b as h,al as k,L as z,g as o,am as C,o as M,e as W,f as i,n as l,B as H,m as S,_ as B}from"./index-4dabaf0f.js";import{r as $}from"./recording-ba7077f3.js";const j=x({__name:"WebCamera",setup(D){const e=f("slidev-webcam-size",Math.round(Math.min(window.innerHeight,window.innerWidth/8))),a=f("slidev-webcam-pos",{x:window.innerWidth-e.value-30,y:window.innerHeight-e.value-30},{deep:!0}),u=s(),d=s(),r=s(),{streamCamera:c,showAvatar:p}=$,{style:w}=m(u,{initialValue:a,onMove({x:t,y:n}){a.value.x=t,a.value.y=n}}),{isDragging:y}=m(d,{onMove({x:t,y:n}){e.value=Math.max(10,Math.min(t-a.value.x,n-a.value.y)/.8536)}});_(()=>{r.value&&(r.value.srcObject=c.value)},{flush:"post"});const g=h(()=>({width:`${e.value}px`,height:`${e.value}px`})),b=h(()=>({width:"14px",height:"14px",top:`${e.value*.8536-7}px`,left:`${e.value*.8536-7}px`,cursor:"nwse-resize"}));function v(){a.value.x>=window.innerWidth&&(a.value.x=window.innerWidth-e.value-30),a.value.y>=window.innerHeight&&(a.value.y=window.innerHeight-e.value-30)}return k("resize",v),z(v),(t,n)=>o(c)&&o(p)&&o(C)!=="none"?(M(),W("div",{key:0,class:"fixed z-10",style:l(o(w))},[i("div",{ref_key:"frame",ref:u,class:"rounded-full shadow bg-gray-400 bg-opacity-10 overflow-hidden object-cover",style:l(g.value)},[i("video",{ref_key:"video",ref:r,autoplay:"",muted:"",volume:"0",class:"object-cover min-w-full min-h-full rounded-full",style:{transform:"rotateY(180deg)"}},null,512)],4),i("div",{ref_key:"handler",ref:d,class:H(["absolute bottom-0 right-0 rounded-full bg-main shadow opacity-0 shadow z-30 hover:opacity-100 dark:border dark:border-true-gray-700",o(y)?"!opacity-100":""]),style:l(b.value)},null,6)],4)):S("v-if",!0)}}),V=B(j,[["__file","/Users/puppy/GitHub/kintone-for-hackathon-slides/node_modules/@slidev/client/internals/WebCamera.vue"]]);export{V as default}; diff --git a/dist/assets/index-4dabaf0f.js b/dist/assets/index-4dabaf0f.js new file mode 100644 index 0000000..32350c1 --- /dev/null +++ b/dist/assets/index-4dabaf0f.js @@ -0,0 +1,53 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function us(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const He=Object.freeze({}),to=Object.freeze([]),St=()=>{},Mf=()=>!1,gm=/^on[^a-z]/,dr=e=>gm.test(e),Jr=e=>e.startsWith("onUpdate:"),Ve=Object.assign,wa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vm=Object.prototype.hasOwnProperty,ke=(e,t)=>vm.call(e,t),ee=Array.isArray,Os=e=>ho(e)==="[object Map]",xi=e=>ho(e)==="[object Set]",$c=e=>ho(e)==="[object Date]",_m=e=>ho(e)==="[object RegExp]",le=e=>typeof e=="function",je=e=>typeof e=="string",lo=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",xa=e=>(Te(e)||le(e))&&le(e.then)&&le(e.catch),If=Object.prototype.toString,ho=e=>If.call(e),$a=e=>ho(e).slice(8,-1),Lf=e=>ho(e)==="[object Object]",ka=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jr=us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ym=us("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),$i=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bm=/-(\w)/g,kn=$i(e=>e.replace(bm,(t,n)=>n?n.toUpperCase():"")),wm=/\B([A-Z])/g,Rn=$i(e=>e.replace(wm,"-$1").toLowerCase()),Ns=$i(e=>e.charAt(0).toUpperCase()+e.slice(1)),_s=$i(e=>e?`on${Ns(e)}`:""),Hs=(e,t)=>!Object.is(e,t),Gn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},wl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xm=e=>{const t=je(e)?Number(e):NaN;return isNaN(t)?e:t};let kc;const Xr=()=>kc||(kc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ze(e){if(ee(e)){const t={};for(let n=0;n{if(n){const s=n.split(km);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Oe(e){let t="";if(je(e))t=e;else if(ee(e))for(let n=0;nki(n,t))}const Zt=e=>je(e)?e:e==null?"":ee(e)||Te(e)&&(e.toString===If||!le(e.toString))?JSON.stringify(e,Ff,2):String(e),Ff=(e,t)=>t&&t.__v_isRef?Ff(e,t.value):Os(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:xi(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!ee(t)&&!Lf(t)?String(t):t;function ei(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let At;class jf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=At,!t&&At&&(this.index=(At.scopes||(At.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=At;try{return At=this,t()}finally{At=n}}else ei("cannot run an inactive effect scope.")}on(){At=this}off(){At=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},Vf=e=>(e.w&is)>0,Bf=e=>(e.n&is)>0,Nm=({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"||!lo(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":ee(e)?ka(n)&&l.push(i.get("length")):(l.push(i.get(As)),Os(e)&&l.push(i.get($l)));break;case"delete":ee(e)||(l.push(i.get(As)),Os(e)&&l.push(i.get($l)));break;case"set":Os(e)&&l.push(i.get(As));break}const a={target:e,type:t,key:n,newValue:s,oldValue:o,oldTarget:r};if(l.length===1)l[0]&&kl(l[0],a);else{const c=[];for(const u of l)u&&c.push(...u);kl(Sa(c),a)}}function kl(e,t){const n=ee(e)?e:[...e];for(const s of n)s.computed&&Ec(s,t);for(const s of n)s.computed||Ec(s,t)}function Ec(e,t){(e!==gt||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(Ve({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Fm(e,t){var n;return(n=ti.get(e))==null?void 0:n.get(t)}const jm=us("__proto__,__v_isRef,__isVue"),qf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lo)),Cc=Dm();function Dm(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=fe(this);for(let r=0,i=this.length;r{e[t]=function(...n){Ds();const s=fe(this)[t].apply(this,n);return Vs(),s}}),e}function Vm(e){const t=fe(this);return ht(t,"has",e),t.hasOwnProperty(e)}class zf{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const o=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(o?r?Xf:Qf:r?Jf:Zf).get(t))return t;const i=ee(t);if(!o){if(i&&ke(Cc,n))return Reflect.get(Cc,n,s);if(n==="hasOwnProperty")return Vm}const l=Reflect.get(t,n,s);return(lo(n)?qf.has(n):jm(n))||(o||ht(t,"get",n),r)?l:Ce(l)?i&&ka(n)?l:l.value:Te(l)?o?bn(l):ie(l):l}}class Wf extends zf{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(ls(r)&&Ce(r)&&!Ce(s))return!1;if(!this._shallow&&(!ni(s)&&!ls(s)&&(r=fe(r),s=fe(s)),!ee(t)&&Ce(r)&&!Ce(s)))return r.value=s,!0;const i=ee(t)&&ka(n)?Number(n)e,Si=e=>Reflect.getPrototypeOf(e);function xr(e,t,n=!1,s=!1){e=e.__v_raw;const o=fe(e),r=fe(t);n||(Hs(t,r)&&ht(o,"get",t),ht(o,"get",r));const{has:i}=Si(o),l=s?Ca:n?Ta:Wo;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function $r(e,t=!1){const n=this.__v_raw,s=fe(n),o=fe(e);return t||(Hs(e,o)&&ht(s,"has",e),ht(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function kr(e,t=!1){return e=e.__v_raw,!t&&ht(fe(e),"iterate",As),Reflect.get(e,"size",e)}function Tc(e){e=fe(e);const t=fe(this);return Si(t).has.call(t,e)||(t.add(e),$n(t,"add",e,e)),this}function Oc(e,t){t=fe(t);const n=fe(this),{has:s,get:o}=Si(n);let r=s.call(n,e);r?Yf(n,s,e):(e=fe(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Hs(t,i)&&$n(n,"set",e,t,i):$n(n,"add",e,t),this}function Ac(e){const t=fe(this),{has:n,get:s}=Si(t);let o=n.call(t,e);o?Yf(t,n,e):(e=fe(e),o=n.call(t,e));const r=s?s.call(t,e):void 0,i=t.delete(e);return o&&$n(t,"delete",e,void 0,r),i}function Pc(){const e=fe(this),t=e.size!==0,n=Os(e)?new Map(e):new Set(e),s=e.clear();return t&&$n(e,"clear",void 0,void 0,n),s}function Sr(e,t){return function(s,o){const r=this,i=r.__v_raw,l=fe(i),a=t?Ca:e?Ta:Wo;return!e&&ht(l,"iterate",As),i.forEach((c,u)=>s.call(o,a(c),a(u),r))}}function Er(e,t,n){return function(...s){const o=this.__v_raw,r=fe(o),i=Os(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=o[e](...s),u=n?Ca:t?Ta:Wo;return!t&&ht(r,"iterate",a?$l:As),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function jn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Ns(e)} operation ${n}failed: target is readonly.`,fe(this))}return e==="delete"?!1:this}}function zm(){const e={get(r){return xr(this,r)},get size(){return kr(this)},has:$r,add:Tc,set:Oc,delete:Ac,clear:Pc,forEach:Sr(!1,!1)},t={get(r){return xr(this,r,!1,!0)},get size(){return kr(this)},has:$r,add:Tc,set:Oc,delete:Ac,clear:Pc,forEach:Sr(!1,!0)},n={get(r){return xr(this,r,!0)},get size(){return kr(this,!0)},has(r){return $r.call(this,r,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:Sr(!0,!1)},s={get(r){return xr(this,r,!0,!0)},get size(){return kr(this,!0)},has(r){return $r.call(this,r,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:Sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Er(r,!1,!1),n[r]=Er(r,!0,!1),t[r]=Er(r,!1,!0),s[r]=Er(r,!0,!0)}),[e,n,t,s]}const[Wm,Gm,Ym,Zm]=zm();function Ei(e,t){const n=t?e?Zm:Ym:e?Gm:Wm;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ke(n,o)&&o in s?n:s,o,r)}const Jm={get:Ei(!1,!1)},Qm={get:Ei(!1,!0)},Xm={get:Ei(!0,!1)},eg={get:Ei(!0,!0)};function Yf(e,t,n){const s=fe(n);if(s!==n&&t.call(e,s)){const o=$a(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 Zf=new WeakMap,Jf=new WeakMap,Qf=new WeakMap,Xf=new WeakMap;function tg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ng(e){return e.__v_skip||!Object.isExtensible(e)?0:tg($a(e))}function ie(e){return ls(e)?e:Ci(e,!1,Bm,Jm,Zf)}function ed(e){return Ci(e,!1,Km,Qm,Jf)}function bn(e){return Ci(e,!0,Um,Xm,Qf)}function Mo(e){return Ci(e,!0,qm,eg,Xf)}function Ci(e,t,n,s,o){if(!Te(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=ng(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Ps(e){return ls(e)?Ps(e.__v_raw):!!(e&&e.__v_isReactive)}function ls(e){return!!(e&&e.__v_isReadonly)}function ni(e){return!!(e&&e.__v_isShallow)}function si(e){return Ps(e)||ls(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Ti(e){return Qr(e,"__v_skip",!0),e}const Wo=e=>Te(e)?ie(e):e,Ta=e=>Te(e)?bn(e):e;function Oa(e){Qn&>&&(e=fe(e),Kf(e.dep||(e.dep=Sa()),{target:e,type:"get",key:"value"}))}function Aa(e,t){e=fe(e);const n=e.dep;n&&kl(n,{target:e,type:"set",key:"value",newValue:t})}function Ce(e){return!!(e&&e.__v_isRef===!0)}function U(e){return td(e,!1)}function Sn(e){return td(e,!0)}function td(e,t){return Ce(e)?e:new sg(e,t)}class sg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:Wo(t)}get value(){return Oa(this),this._value}set value(t){const n=this.__v_isShallow||ni(t)||ls(t);t=n?t:fe(t),Hs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Wo(t),Aa(this,t))}}function E(e){return Ce(e)?e.value:e}const og={get:(e,t,n)=>E(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 nd(e){return Ps(e)?e:new Proxy(e,og)}class rg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Oa(this),()=>Aa(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Pa(e){return new rg(e)}function ig(e){si(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=sd(e,n);return t}class lg{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 Fm(fe(this._object),this._key)}}class ag{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ze(e,t,n){return Ce(e)?e:le(e)?new ag(e):Te(e)&&arguments.length>1?sd(e,t,n):U(e)}function sd(e,t,n){const s=e[t];return Ce(s)?s:new lg(e,t,n)}class cg{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 Ea(t,()=>{this._dirty||(this._dirty=!0,Aa(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=fe(this);return Oa(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ug(e,t,n=!1){let s,o;const r=le(e);r?(s=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(s=e.get,o=e.set);const i=new cg(s,o,r||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const Ms=[];function Dr(e){Ms.push(e)}function Vr(){Ms.pop()}function F(e,...t){Ds();const n=Ms.length?Ms[Ms.length-1].component:null,s=n&&n.appContext.config.warnHandler,o=fg();if(s)In(s,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:r})=>`at <${Hi(n,r.type)}>`).join(` +`),o]);else{const r=[`[Vue warn]: ${e}`,...t];o.length&&r.push(` +`,...dg(o)),console.warn(...r)}Vs()}function fg(){let e=Ms[Ms.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 dg(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...hg(n))}),t}function hg({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,o=` at <${Hi(e.component,e.type,s)}`,r=">"+n;return e.props?[o,...pg(e.props),r]:[o+r]}function pg(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...od(s,e[s]))}),n.length>3&&t.push(" ..."),t}function od(e,t,n){return je(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ce(t)?(t=od(e,fe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):le(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),n?t:[`${e}=`,t])}function mg(e,t){e!==void 0&&(typeof e!="number"?F(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&F(`${t} is NaN - the duration expression might be incorrect.`))}const Ma={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 In(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Oi(r,t,n)}return o}function Vt(e,t,n,s){if(le(e)){const r=In(e,t,n,s);return r&&xa(r)&&r.catch(i=>{Oi(i,t,n)}),r}const o=[];for(let r=0;r>>1,o=ut[s],r=Yo(o);r_n&&ut.splice(t,1)}function ld(e){ee(e)?no.push(...e):(!nn||!nn.includes(e,e.allowRecurse?Kn+1:Kn))&&no.push(e),id()}function Mc(e,t=Go?_n+1:0){for(e=e||new Map;tYo(n)-Yo(s)),Kn=0;Kne.id==null?1/0:e.id,bg=(e,t)=>{const n=Yo(e)-Yo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function cd(e){Sl=!1,Go=!0,e=e||new Map,ut.sort(bg);const t=n=>La(e,n);try{for(_n=0;_nvg){const s=t.ownerInstance,o=s&&er(s.type);return F(`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 Xn=!1;const Qs=new Set;Xr().__VUE_HMR_RUNTIME__={createRecord:Ki(ud),rerender:Ki($g),reload:Ki(kg)};const Fs=new Map;function wg(e){const t=e.type.__hmrId;let n=Fs.get(t);n||(ud(t,e.type),n=Fs.get(t)),n.instances.add(e)}function xg(e){Fs.get(e.type.__hmrId).instances.delete(e)}function ud(e,t){return Fs.has(e)?!1:(Fs.set(e,{initialDef:Fo(t),instances:new Set}),!0)}function Fo(e){return zd(e)?e.__vccOpts:e}function $g(e,t){const n=Fs.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Fo(s.type).render=t),s.renderCache=[],Xn=!0,s.update(),Xn=!1}))}function kg(e,t){const n=Fs.get(e);if(!n)return;t=Fo(t),Ic(n.initialDef,t);const s=[...n.instances];for(const o of s){const r=Fo(o.type);Qs.has(r)||(r!==n.initialDef&&Ic(r,t),Qs.add(r)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Qs.add(r),o.ceReload(t.styles),Qs.delete(r)):o.parent?Ai(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.")}ld(()=>{for(const o of s)Qs.delete(Fo(o.type))})}function Ic(e,t){Ve(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ki(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 yn,Io=[],El=!1;function hr(e,...t){yn?yn.emit(e,...t):El||Io.push({event:e,args:t})}function fd(e,t){var n,s;yn=e,yn?(yn.enabled=!0,Io.forEach(({event:o,args:r})=>yn.emit(o,...r)),Io=[]):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(r=>{fd(r,t)}),setTimeout(()=>{yn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,El=!0,Io=[])},3e3)):(El=!0,Io=[])}function Sg(e,t){hr("app:init",e,t,{Fragment:ye,Text:gr,Comment:nt,Static:Br})}function Eg(e){hr("app:unmount",e)}const Cl=Ra("component:added"),dd=Ra("component:updated"),Cg=Ra("component:removed"),Tg=e=>{yn&&typeof yn.cleanupBuffer=="function"&&!yn.cleanupBuffer(e)&&Cg(e)};function Ra(e){return t=>{hr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Og=hd("perf:start"),Ag=hd("perf:end");function hd(e){return(t,n,s)=>{hr(e,t.appContext.app,t.uid,t,n,s)}}function Pg(e,t,n){hr("component:emit",e.appContext.app,e,t,n)}function Mg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||He;{const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(_s(t)in f))&&F(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${_s(t)}" prop.`);else{const d=u[t];le(d)&&(d(...n)||F(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=s[u]||He;d&&(o=n.map(h=>je(h)?h.trim():h)),f&&(o=n.map(wl))}Pg(e,t,o);{const u=t.toLowerCase();u!==t&&s[_s(u)]&&F(`Event "${u}" is emitted in component ${Hi(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 "${Rn(t)}" instead of "${t}".`)}let l,a=s[l=_s(t)]||s[l=_s(kn(t))];!a&&r&&(a=s[l=_s(Rn(t))]),a&&Vt(a,e,6,o);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Vt(c,e,6,o)}}function pd(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!le(e)){const a=c=>{const u=pd(c,t,!0);u&&(l=!0,Ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(Te(e)&&s.set(e,null),null):(ee(r)?r.forEach(a=>i[a]=null):Ve(i,r),Te(e)&&s.set(e,i),i)}function Pi(e,t){return!e||!dr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Rn(t))||ke(e,t))}let et=null,Mi=null;function oi(e){const t=et;return et=e,Mi=e&&e.type.__scopeId||null,t}function gO(e){Mi=e}function vO(){Mi=null}function xe(e,t=et,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Gc(-1);const r=oi(t);let i;try{i=e(...o)}finally{oi(r),s._d&&Gc(1)}return dd(t),i};return s._n=!0,s._c=!0,s._d=!0,s}let Tl=!1;function ri(){Tl=!0}function qi(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:y}=e;let w,x;const S=oi(e);Tl=!1;try{if(n.shapeFlag&4){const k=o||s;w=Gt(u.call(k,k,f,r,h,d,p)),x=a}else{const k=t;a===r&&ri(),w=Gt(k.length>1?k(r,{get attrs(){return ri(),a},slots:l,emit:c}):k(r,null)),x=t.props?a:Lg(a)}}catch(k){jo.length=0,Oi(k,e,1),w=P(nt)}let _=w,T;if(w.patchFlag>0&&w.patchFlag&2048&&([_,T]=Ig(w)),x&&y!==!1){const k=Object.keys(x),{shapeFlag:R}=_;if(k.length){if(R&7)i&&k.some(Jr)&&(x=Rg(x,i)),_=Qt(_,x);else if(!Tl&&_.type!==nt){const I=Object.keys(a),M=[],D=[];for(let Y=0,se=I.length;Y renders non-element root node that cannot be animated."),_.transition=n.transition),T?T(_):w=_,oi(S),w}const Ig=e=>{const t=e.children,n=e.dynamicChildren,s=md(t);if(!s)return[e,void 0];const o=t.indexOf(s),r=n?n.indexOf(s):-1,i=l=>{t[o]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Gt(s),i]};function md(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||dr(n))&&((t||(t={}))[n]=e[n]);return t},Rg=(e,t)=>{const n={};for(const s in e)(!Jr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Lc=e=>e.shapeFlag&7||e.type===nt;function Ng(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,c=r.emitsOptions;if((o||l)&&Xn||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Rc(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Fg(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):ld(e)}function po(e,t){return Na(e,null,t)}const Cr={};function pe(e,t,n){return le(t)||F("`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."),Na(e,t,n)}function Na(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=He){var l;t||(n!==void 0&&F('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&F('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=k=>{F("Invalid watch source: ",k,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=Df()===((l=Xe)==null?void 0:l.scope)?Xe:null;let u,f=!1,d=!1;if(Ce(e)?(u=()=>e.value,f=ni(e)):Ps(e)?(u=()=>e,s=!0):ee(e)?(d=!0,f=e.some(k=>Ps(k)||ni(k)),u=()=>e.map(k=>{if(Ce(k))return k.value;if(Ps(k))return Es(k);if(le(k))return In(k,c,2);a(k)})):le(e)?t?u=()=>In(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return h&&h(),Vt(e,c,3,[p])}:(u=St,a(e)),t&&s){const k=u;u=()=>Es(k())}let h,p=k=>{h=_.onStop=()=>{In(k,c,4)}},y;if(Xo)if(p=St,t?n&&Vt(t,c,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const k=qv();y=k.__watcherHandles||(k.__watcherHandles=[])}else return St;let w=d?new Array(e.length).fill(Cr):Cr;const x=()=>{if(_.active)if(t){const k=_.run();(s||f||(d?k.some((R,I)=>Hs(R,w[I])):Hs(k,w)))&&(h&&h(),Vt(t,c,3,[k,w===Cr?void 0:d&&w[0]===Cr?[]:w,p]),w=k)}else _.run()};x.allowRecurse=!!t;let S;o==="sync"?S=x:o==="post"?S=()=>ot(x,c&&c.suspense):(x.pre=!0,c&&(x.id=c.uid),S=()=>Ai(x));const _=new Ea(u,S);_.onTrack=r,_.onTrigger=i,t?n?x():w=_.run():o==="post"?ot(_.run.bind(_),c&&c.suspense):_.run();const T=()=>{_.stop(),c&&c.scope&&wa(c.scope.effects,_)};return y&&y.push(T),T}function jg(e,t,n){const s=this.proxy,o=je(e)?e.includes(".")?vd(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=Xe;co(this);const l=Na(o,r.bind(s),n);return i?co(i):Ls(),l}function vd(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Es(n,t)});else if(Lf(e))for(const n in e)Es(e[n],t);return e}function _d(e){ym(e)&&F("Do not use built-in directive ids as custom directive id: "+e)}function yd(e,t){const n=et;if(n===null)return F("withDirectives can only be used inside render functions."),e;const s=Ni(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),mr(()=>{e.isUnmounting=!0}),e}const Ht=[Function,Array],wd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ht,onEnter:Ht,onAfterEnter:Ht,onEnterCancelled:Ht,onBeforeLeave:Ht,onLeave:Ht,onAfterLeave:Ht,onLeaveCancelled:Ht,onBeforeAppear:Ht,onAppear:Ht,onAfterAppear:Ht,onAppearCancelled:Ht},Dg={name:"BaseTransition",props:wd,setup(e,{slots:t}){const n=Ut(),s=bd();let o;return()=>{const r=t.default&&Ha(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){let y=!1;for(const w of r)if(w.type!==nt){if(y){F(" can only be used on a single element or component. Use for lists.");break}i=w,y=!0}}const l=fe(e),{mode:a}=l;if(a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&F(`invalid mode: ${a}`),s.isLeaving)return zi(i);const c=Nc(i);if(!c)return zi(i);const u=Zo(c,l,s,n);ao(c,u);const f=n.subTree,d=f&&Nc(f);let h=!1;const{getTransitionKey:p}=c.type;if(p){const y=p();o===void 0?o=y:y!==o&&(o=y,h=!0)}if(d&&d.type!==nt&&(!Zn(c,d)||h)){const y=Zo(d,l,s,n);if(ao(d,y),a==="out-in")return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},zi(i);a==="in-out"&&c.type!==nt&&(y.delayLeave=(w,x,S)=>{const _=xd(s,d);_[String(d.key)]=d,w[qn]=()=>{x(),w[qn]=void 0,delete u.delayedLeave},u.delayedLeave=S})}return i}}},Vg=Dg;function xd(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 Zo(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:y,onAppear:w,onAfterAppear:x,onAppearCancelled:S}=t,_=String(e.key),T=xd(n,e),k=(M,D)=>{M&&Vt(M,s,9,D)},R=(M,D)=>{const Y=D[1];k(M,D),ee(M)?M.every(se=>se.length<=1)&&Y():M.length<=1&&Y()},I={mode:r,persisted:i,beforeEnter(M){let D=l;if(!n.isMounted)if(o)D=y||l;else return;M[qn]&&M[qn](!0);const Y=T[_];Y&&Zn(e,Y)&&Y.el[qn]&&Y.el[qn](),k(D,[M])},enter(M){let D=a,Y=c,se=u;if(!n.isMounted)if(o)D=w||a,Y=x||c,se=S||u;else return;let q=!1;const de=M[Tr]=me=>{q||(q=!0,me?k(se,[M]):k(Y,[M]),I.delayedLeave&&I.delayedLeave(),M[Tr]=void 0)};D?R(D,[M,de]):de()},leave(M,D){const Y=String(e.key);if(M[Tr]&&M[Tr](!0),n.isUnmounting)return D();k(f,[M]);let se=!1;const q=M[qn]=de=>{se||(se=!0,D(),de?k(p,[M]):k(h,[M]),M[qn]=void 0,T[Y]===e&&delete T[Y])};T[Y]=e,d?R(d,[M,q]):q()},clone(M){return Zo(M,t,n,s)}};return I}function zi(e){if(pr(e))return e=Qt(e),e.children=null,e}function Nc(e){return pr(e)?e.children?e.children[0]:void 0:e}function ao(e,t){e.shapeFlag&6&&e.component?ao(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 Ha(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;rVe({name:e.name},t,{setup:e}))():e}const so=e=>!!e.type.__asyncLoader,pr=e=>e.type.__isKeepAlive,Bg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ut(),s=n.ctx;if(!s.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const o=new Map,r=new Set;let i=null;n.__v_cache=o;const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(S,_,T,k,R)=>{const I=S.component;c(S,_,T,0,l),a(I.vnode,S,_,T,I,l,k,S.slotScopeIds,R),ot(()=>{I.isDeactivated=!1,I.a&&Gn(I.a);const M=S.props&&S.props.onVnodeMounted;M&&Ft(M,I.parent,S)},l),Cl(I)},s.deactivate=S=>{const _=S.component;c(S,d,null,1,l),ot(()=>{_.da&&Gn(_.da);const T=S.props&&S.props.onVnodeUnmounted;T&&Ft(T,_.parent,S),_.isDeactivated=!0},l),Cl(_)};function h(S){Wi(S),u(S,n,l,!0)}function p(S){o.forEach((_,T)=>{const k=er(_.type);k&&(!S||!S(k))&&y(T)})}function y(S){const _=o.get(S);!i||!Zn(_,i)?h(_):i&&Wi(i),o.delete(S),r.delete(S)}pe(()=>[e.include,e.exclude],([S,_])=>{S&&p(T=>Lo(S,T)),_&&p(T=>!Lo(_,T))},{flush:"post",deep:!0});let w=null;const x=()=>{w!=null&&o.set(w,Gi(n.subTree))};return Bs(x),Li(x),mr(()=>{o.forEach(S=>{const{subTree:_,suspense:T}=n,k=Gi(_);if(S.type===k.type&&S.key===k.key){Wi(k);const R=k.component.da;R&&ot(R,T);return}h(S)})}),()=>{if(w=null,!t.default)return null;const S=t.default(),_=S[0];if(S.length>1)return F("KeepAlive should contain exactly one component child."),i=null,S;if(!as(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let T=Gi(_);const k=T.type,R=er(so(T)?T.type.__asyncResolved||{}:k),{include:I,exclude:M,max:D}=e;if(I&&(!R||!Lo(I,R))||M&&R&&Lo(M,R))return i=T,_;const Y=T.key==null?k:T.key,se=o.get(Y);return T.el&&(T=Qt(T),_.shapeFlag&128&&(_.ssContent=T)),w=Y,se?(T.el=se.el,T.component=se.component,T.transition&&ao(T,T.transition),T.shapeFlag|=512,r.delete(Y),r.add(Y)):(r.add(Y),D&&r.size>parseInt(D,10)&&y(r.values().next().value)),T.shapeFlag|=256,i=T,gd(_.type)?_:T}}},$d=Bg;function Lo(e,t){return ee(e)?e.some(n=>Lo(n,t)):je(e)?e.split(",").includes(t):_m(e)?e.test(t):!1}function kd(e,t){Ed(e,"a",t)}function Sd(e,t){Ed(e,"da",t)}function Ed(e,t,n=Xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ii(t,s,n),n){let o=n.parent;for(;o&&o.parent;)pr(o.parent.vnode)&&Ug(s,t,n,o),o=o.parent}}function Ug(e,t,n,s){const o=Ii(t,e,s,!0);Fa(()=>{wa(s[t],o)},n)}function Wi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Gi(e){return e.shapeFlag&128?e.ssContent:e}function Ii(e,t,n=Xe,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ds(),co(n);const l=Vt(t,n,e,i);return Ls(),Vs(),l});return s?o.unshift(r):o.push(r),r}else{const o=_s(Ma[e].replace(/ hook$/,""));F(`${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 Fn=e=>(t,n=Xe)=>(!Xo||e==="sp")&&Ii(e,(...s)=>t(...s),n),Kg=Fn("bm"),Bs=Fn("m"),qg=Fn("bu"),Li=Fn("u"),mr=Fn("bum"),Fa=Fn("um"),zg=Fn("sp"),Wg=Fn("rtg"),Gg=Fn("rtc");function Yg(e,t=Xe){Ii("ec",e,t)}const ii="components";function tt(e,t){return Td(ii,e,!0,t)||e}const Cd=Symbol.for("v-ndc");function Zg(e){return je(e)?Td(ii,e,!1)||e:e||Cd}function Td(e,t,n=!0,s=!1){const o=et||Xe;if(o){const r=o.type;if(e===ii){const l=er(r,!1);if(l&&(l===t||l===kn(t)||l===Ns(kn(t))))return r}const i=Hc(o[e]||r[e],t)||Hc(o.appContext[e],t);if(!i&&s)return r;if(n&&!i){const l=e===ii?` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";F(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return i}else F(`resolve${Ns(e.slice(0,-1))} can only be used in render() or setup().`)}function Hc(e,t){return e&&(e[t]||e[kn(t)]||e[Ns(kn(t))])}function Us(e,t,n,s){let o;const r=n&&n[s];if(ee(e)||je(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l1&&(F("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."),r=()=>[]),r&&r._c&&(r._d=!1),$();const i=r&&Od(r(n)),l=ae(ye,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Od(e){return e.some(t=>as(t)?!(t.type===nt||t.type===ye&&!Od(t.children)):!0)?e:null}const Ol=e=>e?Ud(e)?Ni(e)||e.proxy:Ol(e.parent):null,Is=Ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Mo(e.props),$attrs:e=>Mo(e.attrs),$slots:e=>Mo(e.slots),$refs:e=>Mo(e.refs),$parent:e=>Ol(e.parent),$root:e=>Ol(e.root),$emit:e=>e.emit,$options:e=>Da(e),$forceUpdate:e=>e.f||(e.f=()=>Ai(e.update)),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>jg.bind(e)}),ja=e=>e==="_"||e==="$",Yi=(e,t)=>e!==He&&!e.__isScriptSetup&&ke(e,t),Ad={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;if(t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Yi(s,t))return i[t]=1,s[t];if(o!==He&&ke(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&ke(c,t))return i[t]=3,r[t];if(n!==He&&ke(n,t))return i[t]=4,n[t];Al&&(i[t]=0)}}const u=Is[t];let f,d;if(u)return t==="$attrs"?(ht(e,"get",t),ri()):t==="$slots"&&ht(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==He&&ke(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ke(d,t))return d[t];et&&(!je(t)||t.indexOf("__v")!==0)&&(o!==He&&ja(t[0])&&ke(o,t)?F(`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===et&&F(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Yi(o,t)?(o[t]=n,!0):o.__isScriptSetup&&ke(o,t)?(F(`Cannot mutate