import{c as t,d as e,b as n,D as o,o as s,e as r,f as a,E as c,p as i,g as l,h as p,i as m,j as u,k as f,F as $,l as h,m as d,A as g,y as w,G as y}from"./chunk.82446879.js";import{g as v,t as D,u as k}from"./chunk.f5a3f321.js";import"./chunk.e8a2e241.js";import{a as b}from"./chunk.4b4ee497.js";import"./chunk.b01e898f.js";import{a as E}from"./chunk.fb378401.js";import{a as j}from"./chunk.94a6e723.js";function x(t){let e;return{c(){e=a("Dialog")},l(t){e=m(t,"Dialog")},m(t,n){h(t,e,n)},d(t){t&&u(e)}}}function P(t){let e;return{c(){e=a("Confirm")},l(t){e=m(t,"Confirm")},m(t,n){h(t,e,n)},d(t){t&&u(e)}}}function B(t){let e;return{c(){e=a("Confirm (custom)")},l(t){e=m(t,"Confirm (custom)")},m(t,n){h(t,e,n)},d(t){t&&u(e)}}}function C(t){let e,n,a,m;const D=new v({props:{type:"is-primary",$$slots:{default:[x]},$$scope:{ctx:t}}});D.$on("click",t[5]);const k=new v({props:{type:"is-info",$$slots:{default:[P]},$$scope:{ctx:t}}});k.$on("click",t[6]);const b=new v({props:{type:"is-danger",$$slots:{default:[B]},$$scope:{ctx:t}}});return b.$on("click",t[7]),{c(){e=r("div"),o(D.$$.fragment),n=s(),o(k.$$.fragment),a=s(),o(b.$$.fragment),this.h()},l(t){e=l(t,"DIV",{slot:!0});var o=p(e);c(D.$$.fragment,o),n=i(o),c(k.$$.fragment,o),a=i(o),c(b.$$.fragment,o),o.forEach(u),this.h()},h(){f(e,"slot","preview")},m(t,o){h(t,e,o),$(D,e,null),d(e,n),$(k,e,null),d(e,a),$(b,e,null),m=!0},p(t,e){const n={};1024&e&&(n.$$scope={dirty:e,ctx:t}),D.$set(n);const o={};1024&e&&(o.$$scope={dirty:e,ctx:t}),k.$set(o);const s={};1024&e&&(s.$$scope={dirty:e,ctx:t}),b.$set(s)},i(t){m||(g(D.$$.fragment,t),g(k.$$.fragment,t),g(b.$$.fragment,t),m=!0)},o(t){w(D.$$.fragment,t),w(k.$$.fragment,t),w(b.$$.fragment,t),m=!1},d(t){t&&u(e),y(D),y(k),y(b)}}}function T(t){let e;return{c(){e=a("Prompt")},l(t){e=m(t,"Prompt")},m(t,n){h(t,e,n)},d(t){t&&u(e)}}}function I(t){let e;return{c(){e=a("Date Prompt")},l(t){e=m(t,"Date Prompt")},m(t,n){h(t,e,n)},d(t){t&&u(e)}}}function O(t){let e,n,a;const m=new v({props:{type:"is-primary",$$slots:{default:[T]},$$scope:{ctx:t}}});m.$on("click",t[8]);const D=new v({props:{type:"is-link",$$slots:{default:[I]},$$scope:{ctx:t}}});return D.$on("click",t[9]),{c(){e=r("div"),o(m.$$.fragment),n=s(),o(D.$$.fragment),this.h()},l(t){e=l(t,"DIV",{slot:!0});var o=p(e);c(m.$$.fragment,o),n=i(o),c(D.$$.fragment,o),o.forEach(u),this.h()},h(){f(e,"slot","preview")},m(t,o){h(t,e,o),$(m,e,null),d(e,n),$(D,e,null),a=!0},p(t,e){const n={};1024&e&&(n.$$scope={dirty:e,ctx:t}),m.$set(n);const o={};1024&e&&(o.$$scope={dirty:e,ctx:t}),D.$set(o)},i(t){a||(g(m.$$.fragment,t),g(D.$$.fragment,t),a=!0)},o(t){w(m.$$.fragment,t),w(D.$$.fragment,t),a=!1},d(t){t&&u(e),y(m),y(D)}}}function Y(t){let e,n,v,D,k,x,P,B,T,I,Y,A,q,H,U,W,S,V,F,G,R,z,J,K,L,M,N,Q,X,Z,_,tt,et,nt,ot,st,rt,at,ct;const it=new b({props:{title:"Dialog",subtitle:"用户警报,提示和确认对话框"}}),lt=new E({props:{code:"