import{c as s,d as t,b as a,D as e,o as r,e as n,f as o,E as i,p as c,g as $,h as m,i as p,j as f,k as l,F as h,l as g,m as u,A as b,y as d,G as k,a as v}from"./chunk.82446879.js";import{s as w}from"./chunk.f5a3f321.js";import"./chunk.e8a2e241.js";import{a as j}from"./chunk.4b4ee497.js";import"./chunk.b01e898f.js";import{a as I}from"./chunk.fb378401.js";function x(s){let t,a;const r=new w({props:{pack:"fab",size:"is-large",icon:"github"}});return{c(){t=n("div"),e(r.$$.fragment),this.h()},l(s){t=$(s,"DIV",{slot:!0});var a=m(t);i(r.$$.fragment,a),a.forEach(f),this.h()},h(){l(t,"slot","preview")},m(s,e){g(s,t,e),h(r,t,null),a=!0},p:v,i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){d(r.$$.fragment,s),a=!1},d(s){s&&f(t),k(r)}}}function z(s){let t,a;const r=new w({props:{pack:"fab",size:"is-large",icon:"github",num:"99"}});return{c(){t=n("div"),e(r.$$.fragment),this.h()},l(s){t=$(s,"DIV",{slot:!0});var a=m(t);i(r.$$.fragment,a),a.forEach(f),this.h()},h(){l(t,"slot","preview")},m(s,e){g(s,t,e),h(r,t,null),a=!0},p:v,i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){d(r.$$.fragment,s),a=!1},d(s){s&&f(t),k(r)}}}function E(s){let t,a,v,w,E,y,D,V;const A=new j({props:{title:"Icon",subtitle:"浮标"}}),F=new I({props:{code:'<script>\n  import { Icon } from \'svelma-pro\'\n<\/script>\n\n<Icon pack="fab" size="is-large" icon="github" />\n',$$slots:{preview:[x]},$$scope:{ctx:s}}}),G=new I({props:{code:'<script>\n  import { Icon } from \'svelma-pro\'\n<\/script>\n\n<Icon pack="fab" size="is-large" icon="github" num="99"/>\n',$$slots:{preview:[z]},$$scope:{ctx:s}}});return{c(){e(A.$$.fragment),t=r(),e(F.$$.fragment),a=r(),v=n("hr"),w=r(),E=n("p"),y=o("添加角标"),D=r(),e(G.$$.fragment),this.h()},l(s){i(A.$$.fragment,s),t=c(s),i(F.$$.fragment,s),a=c(s),v=$(s,"HR",{class:!0}),w=c(s),E=$(s,"P",{class:!0});var e=m(E);y=p(e,"添加角标"),e.forEach(f),D=c(s),i(G.$$.fragment,s),this.h()},h(){l(v,"class","is-medium"),l(E,"class","title is-4")},m(s,e){h(A,s,e),g(s,t,e),h(F,s,e),g(s,a,e),g(s,v,e),g(s,w,e),g(s,E,e),u(E,y),g(s,D,e),h(G,s,e),V=!0},p(s,[t]){const a={};1&t&&(a.$$scope={dirty:t,ctx:s}),F.$set(a);const e={};1&t&&(e.$$scope={dirty:t,ctx:s}),G.$set(e)},i(s){V||(b(A.$$.fragment,s),b(F.$$.fragment,s),b(G.$$.fragment,s),V=!0)},o(s){d(A.$$.fragment,s),d(F.$$.fragment,s),d(G.$$.fragment,s),V=!1},d(s){k(A,s),s&&f(t),k(F,s),s&&f(a),s&&f(v),s&&f(w),s&&f(E),s&&f(D),k(G,s)}}}export default class extends s{constructor(s){super(),t(this,s,null,E,a,{})}}
//# sourceMappingURL=icon.8c03cabd.js.map
