1import{S as ce,i as de,s as fe,e as h,k as D,t as S,c as v,a as b,d as i,m as k,h as O,b as l,P as we,g as R,G as r,j as $e,N as z,w as F,x as L,F as Ce,M as _e,y as B,Q as Ae,q as j,o as N,B as U,v as Fe,n as De,p as ke,R as et,T as Le,U as Be,l as Ue,V as tt,W as He,C as Ge,z as Me,A as Je,H as st,J as at,K as rt,L as lt,I as nt}from"../chunks/vendor-1e77fc52.js";import{i as Qe}from"../chunks/utils-69fc227e.js";import{I as Ee,F as ot}from"../chunks/Footer-cc63b01d.js";import"../chunks/Links-ca30cf95.js";var it="/_app/assets/restapify-icon-bg-47d7f73f.svg";function ut(d){let e,t,s,n,o,a,c,u,y,f,g,w,E;return{c(){e=h("div"),t=h("div"),s=h("div"),n=D(),o=h("div"),a=D(),c=h("div"),u=D(),y=h("pre"),f=h("code"),g=S(d[0]),this.h()},l(_){e=v(_,"DIV",{class:!0});var $=b(e);t=v($,"DIV",{class:!0});var m=b(t);s=v(m,"DIV",{class:!0});var p=b(s);p.forEach(i),n=k(m),o=v(m,"DIV",{class:!0});var V=b(o);V.forEach(i),a=k(m),c=v(m,"DIV",{class:!0});var A=b(c);A.forEach(i),m.forEach(i),u=k($),y=v($,"PRE",{class:!0});var T=b(y);f=v(T,"CODE",{class:!0});var P=b(f);g=O(P,d[0]),P.forEach(i),T.forEach(i),$.forEach(i),this.h()},h(){l(s,"class","rounded-circle mx-1 bg-danger svelte-1lredpr"),l(o,"class","rounded-circle mx-1 bg-warning svelte-1lredpr"),l(c,"class","rounded-circle mx-1 bg-success svelte-1lredpr"),l(t,"class","editor-toolbar d-flex ps-2 py-1 bg-light svelte-1lredpr"),l(f,"class",w=""+(we(`${d[1]} p-3`)+" svelte-1lredpr")),l(y,"class","svelte-1lredpr"),l(e,"class",E=""+(we(`editor d-flex flex-column ${d[2]}`)+" svelte-1lredpr"))},m(_,$){R(_,e,$),r(e,t),r(t,s),r(t,n),r(t,o),r(t,a),r(t,c),r(e,u),r(e,y),r(y,f),r(f,g)},p(_,[$]){$&1&&$e(g,_[0]),$&2&&w!==(w=""+(we(`${_[1]} p-3`)+" svelte-1lredpr"))&&l(f,"class",w),$&4&&E!==(E=""+(we(`editor d-flex flex-column ${_[2]}`)+" svelte-1lredpr"))&&l(e,"class",E)},i:z,o:z,d(_){_&&i(e)}}}function ct(d,e,t){let{content:s}=e,{language:n=""}=e,{class:o=""}=e;return d.$$set=a=>{"content"in a&&t(0,s=a.content),"language"in a&&t(1,n=a.language),"class"in a&&t(2,o=a.class)},[s,n,o]}class xe extends ce{constructor(e){super();de(this,e,ct,ut,fe,{content:0,language:1,class:2})}}var dt="/_app/assets/arrow-90deg-down-3a5f0d80.svg";function ft(d){let e,t,s,n,o,a,c,u,y,f,g,w,E;return t=new Ee({props:{name:"file-earmark-text"}}),f=new xe({props:{class:"ms-4 mt-2",content:JSON.stringify(d[2],null,d[2][0]!==null?2:0),language:"json"}}),{c(){e=h("button"),F(t.$$.fragment),s=D(),n=S(d[1]),o=D(),a=h("img"),u=D(),y=h("div"),F(f.$$.fragment),this.h()},l(_){e=v(_,"BUTTON",{class:!0});var $=b(e);L(t.$$.fragment,$),s=k($),n=O($,d[1]),o=k($),a=v($,"IMG",{src:!0,alt:!0,class:!0}),$.forEach(i),u=k(_),y=v(_,"DIV",{class:!0});var m=b(y);L(f.$$.fragment,m),m.forEach(i),this.h()},h(){Ce(a.src,c=dt)||l(a,"src",c),l(a,"alt","File content indicator"),l(a,"class","ms-3 svelte-ky9gnv"),_e(a,"d-none",!d[0]),l(e,"class","ps-0 svelte-ky9gnv"),l(y,"class","mt-4"),_e(y,"d-none",!d[0])},m(_,$){R(_,e,$),B(t,e,null),r(e,s),r(e,n),r(e,o),r(e,a),R(_,u,$),R(_,y,$),B(f,y,null),g=!0,w||(E=Ae(e,"click",d[3]),w=!0)},p(_,[$]){(!g||$&2)&&$e(n,_[1]),$&1&&_e(a,"d-none",!_[0]);const m={};$&4&&(m.content=JSON.stringify(_[2],null,_[2][0]!==null?2:0)),f.$set(m),$&1&&_e(y,"d-none",!_[0])},i(_){g||(j(t.$$.fragment,_),j(f.$$.fragment,_),g=!0)},o(_){N(t.$$.fragment,_),N(f.$$.fragment,_),g=!1},d(_){_&&i(e),U(t),_&&i(u),_&&i(y),U(f),w=!1,E()}}}function mt(d,e,t){let{name:s}=e,{content:n}=e,{expended:o=!1}=e;const a=()=>{t(0,o=!o)};return Fe(()=>{Qe()}),d.$$set=c=>{"name"in c&&t(1,s=c.name),"content"in c&&t(2,n=c.content),"expended"in c&&t(0,o=c.expended)},[o,s,n,a]}class pt extends ce{constructor(e){super();de(this,e,mt,ft,fe,{name:1,content:2,expended:0})}}function Ke(d,e,t){const s=d.slice();return s[4]=e[t].type,s[5]=tt(e[t],["type"]),s}function Ye(d){let e,t,s=d[2],n=[];for(let a=0;a<s.length;a+=1)n[a]=We(Ke(d,s,a));const o=a=>N(n[a],1,1,()=>{n[a]=null});return{c(){e=h("ul");for(let a=0;a<n.length;a+=1)n[a].c();this.h()},l(a){e=v(a,"UL",{class:!0});var c=b(e);for(let u=0;u<n.length;u+=1)n[u].l(c);c.forEach(i),this.h()},h(){l(e,"class","svelte-1upv4o3")},m(a,c){R(a,e,c);for(let u=0;u<n.length;u+=1)n[u].m(e,null);t=!0},p(a,c){if(c&4){s=a[2];let u;for(u=0;
1u<s.length;u+=1){const y=Ke(a,s,u);n[u]?(n[u].p(y,c),j(n[u],1)):(n[u]=We(y),n[u].c(),j(n[u],1),n[u].m(e,null))}for(De(),u=s.length;u<n.length;u+=1)o(u);ke()}},i(a){if(!t){for(let c=0;c<s.length;c+=1)j(n[c]);t=!0}},o(a){n=n.filter(Boolean);for(let c=0;c<n.length;c+=1)N(n[c]);t=!1},d(a){a&&i(e),Be(n,a)}}}function ht(d){let e,t;const s=[d[5]];let n={};for(let o=0;o<s.length;o+=1)n=Ge(n,s[o]);return e=new pt({props:n}),{c(){F(e.$$.fragment)},l(o){L(e.$$.fragment,o)},m(o,a){B(e,o,a),t=!0},p(o,a){const c=a&4?Me(s,[Je(o[5])]):{};e.$set(c)},i(o){t||(j(e.$$.fragment,o),t=!0)},o(o){N(e.$$.fragment,o),t=!1},d(o){U(e,o)}}}function vt(d){let e,t;const s=[d[5]];let n={};for(let o=0;o<s.length;o+=1)n=Ge(n,s[o]);return e=new Xe({props:n}),{c(){F(e.$$.fragment)},l(o){L(e.$$.fragment,o)},m(o,a){B(e,o,a),t=!0},p(o,a){const c=a&4?Me(s,[Je(o[5])]):{};e.$set(c)},i(o){t||(j(e.$$.fragment,o),t=!0)},o(o){N(e.$$.fragment,o),t=!1},d(o){U(e,o)}}}function We(d){let e,t,s,n,o,a;const c=[vt,ht],u=[];function y(f,g){return f[4]==="folder"?0:1}return t=y(d),s=u[t]=c[t](d),{c(){e=h("li"),s.c(),n=D(),this.h()},l(f){e=v(f,"LI",{class:!0});var g=b(e);s.l(g),n=k(g),g.forEach(i),this.h()},h(){l(e,"class","svelte-1upv4o3")},m(f,g){R(f,e,g),u[t].m(e,null),r(e,n),a=!0},p(f,g){let w=t;t=y(f),t===w?u[t].p(f,g):(De(),N(u[w],1,1,()=>{u[w]=null}),ke(),s=u[t],s?s.p(f,g):(s=u[t]=c[t](f),s.c()),j(s,1),s.m(e,n))},i(f){a||(j(s),et(()=>{o||(o=Le(e,He,{},!0)),o.run(1)}),a=!0)},o(f){N(s),o||(o=Le(e,He,{},!1)),o.run(0),a=!1},d(f){f&&i(e),u[t].d(),f&&o&&o.end()}}}function gt(d){let e,t,s,n,o,a,c,u,y;t=new Ee({props:{name:d[0]?"folder-open":"folder"}});let f=d[0]&&Ye(d);return{c(){e=h("button"),F(t.$$.fragment),s=D(),n=S(d[1]),o=D(),f&&f.c(),a=Ue(),this.h()},l(g){e=v(g,"BUTTON",{class:!0});var w=b(e);
1L(t.$$.fragment,w),s=k(w),n=O(w,d[1]),w.forEach(i),o=k(g),f&&f.l(g),a=Ue(),this.h()},h(){l(e,"class","ps-0 svelte-1upv4o3")},m(g,w){R(g,e,w),B(t,e,null),r(e,s),r(e,n),R(g,o,w),f&&f.m(g,w),R(g,a,w),c=!0,u||(y=Ae(e,"click",d[3]),u=!0)},p(g,[w]){const E={};w&1&&(E.name=g[0]?"folder-open":"folder"),t.$set(E),(!c||w&2)&&$e(n,g[1]),g[0]?f?(f.p(g,w),w&1&&j(f,1)):(f=Ye(g),f.c(),j(f,1),f.m(a.parentNode,a)):f&&(De(),N(f,1,1,()=>{f=null}),ke())},i(g){c||(j(t.$$.fragment,g),j(f),c=!0)},o(g){N(t.$$.fragment,g),N(f),c=!1},d(g){g&&i(e),U(t),g&&i(o),f&&f.d(g),g&&i(a),u=!1,y()}}}function _t(d,e,t){let{expanded:s=!1}=e,{name:n}=e,{files:o}=e;const a=()=>{t(0,s=!s)};return d.$$set=c=>{"expanded"in c&&t(0,s=c.expanded),"name"in c&&t(1,n=c.name),"files"in c&&t(2,o=c.files)},[s,n,o,a]}class Xe extends ce{constructor(e){super();de(this,e,_t,gt,fe,{expanded:0,name:1,files:2})}}function $t(d){let e,t=d[1]()+"",s;return{c(){e=h("span"),s=S(t),this.h()},l(n){e=v(n,"SPAN",{class:!0});var o=b(e);s=O(o,t),o.forEach(i),this.h()},h(){l(e,"class",""+(we(`badge ${d[0]()} method`)+" svelte-18rcjpl"))},m(n,o){R(n,e,o),r(e,s)},p:z,i:z,o:z,d(n){n&&i(e)}}}function bt(d,e,t){let{method:s}=e;const n=()=>{switch(s){case"GET":return"bg-success";case"POST":return"bg-warning";case"PUT":return"bg-primary";case"PATCH":return"bg-secondary";case"DELETE":return"bg-danger"}},o=()=>{switch(s){case"DELETE":return"DEL";default:return s}};return d.$$set=a=>{"method"in a&&t(2,s=a.method)},[n,o,s]}class Et extends ce{constructor(e){super();de(this,e,bt,$t,fe,{method:2})}}function yt(d){let e,t,s,n,o,a,c,u,y,f,g;n=new Et({props:{method:d[0]}});const w=d[5].default,E=st(w,d,d[4],null);return{c(){e=h("div"),t=h("h2"),s=h("button"),F(n.$$.fragment),o=D(),a=h("h3"),c=S(d[1]),u=D(),y=h("div"),f=h("div"),E&&E.c(),this.h()},l(_){e=v(_,"DIV",{class:!0});var $=b(e);t=v($,"H2",{class:!0,id:!0});var m=b(t);s=v(m,"BUTTON",{class:!0,type:!0,"data-bs-toggle":!0,"data-bs-target":!0,"aria-expanded":!0,"aria-controls":!0});var p=b(s);L(n.$$.fragment,p),o=k(p),a=v(p,"H3",{class:!0});var V=b(a);c=O(V,d[1]),V.forEach(i),p.forEach(i),m.forEach(i),u=k($),y=v($,"DIV",{id:!0,class:!0,"aria-labelledby":!0,"data-bs-parent":!0});var A=b(y);f=v(A,"DIV",{class:!0});var T=b(f);E&&E.l(T),T.forEach(i),A.forEach(i),$.forEach(i),this.h()},h(){l(a,"class","fs-6 ms-2 mb-0"),l(s,"class","accordion-button align-items-center"),l(s,"type","button"),l(s,"data-bs-toggle","collapse"),l(s,"data-bs-target",`#${d[3]}`),l(s,"aria-expanded","false"),l(s,"aria-controls",`${d[3]}`),_e(s,"collapsed",!d[2]),l(t,"class","accordion-header"),l(t,"id",`heading-${d[3]}`),l(f,"class","accordion-body"),l(y,"id",`${d[3]}`),l(y,"class","accordion-collapse collapse"),l(y,"aria-labelledby",`heading-${d[3]}`),l(y,"data-bs-parent","#apiOverview"),_e(y,"show",d[2]),l(e,"class","accordion-item")},m(_,$){R(_,e,$),r(e,t),r(t,s),B(n,s,null),r(s,o),r(s,a),r(a,c),r(e,u),r(e,y),r(y,f),E&&E.m(f,null),g=!0},p(_,[$]){const m={};$&1&&(m.method=_[0]),n.$set(m),(!g||$&2)&&$e(c,_[1]),$&4&&_e(s,"collapsed",!_[2]),E&&E.p&&(!g||$&16)&&at(E,w,_,_[4],g?lt(w,_[4],$,null):rt(_[4]),null),$&4&&_e(y,"show",_[2])},i(_){g||(j(n.$$.fragment,_),j(E,_),g=!0)},o(_){N(n.$$.fragment,_),N(E,_),g=!1},d(_){_&&i(e),U(n),E&&E.d(_)}}}function wt(d,e,t){let{$$slots:s={},$$scope:n}=e,{method:o}=e,{slug:a}=e,{open:c=!1}=e;const u=(f,g,w)=>f.split(g).join(w),y=`${o}_${u(u(a,"/","-"),":","-")}`;return d.$$set=f=>{"method"in f&&t(0,o=f.method),"slug"in f&&t(1,a=f.slug),"open"in f&&t(2,c=f.open),"$$scope"in f&&t(4,n=f.$$scope)},[o,a,c,y,n,s]}class be extends ce{constructor(e){super();de(this,e,wt,yt,fe,{method:0,slug:1,open:2})}}function Dt(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$;return a=new Ee({props:{name:"arrow-bar-bottom"}}),{c(){e=h("div"),t=h("pre"),s=h("code"),n=S(d[0]),o=D(),F(a.$$.fragment),c=D(),u=h("p"),y=S("Status: "),f=S(d[1]),g=D(),w=h("pre"),E=h("code"),_=S(d[2]),this.h()},l(m){e=v(m,"DIV",{class:!0});var p=b(e);t=v(p,"PRE",{class:!0});var V=b(t);s=v(V,"CODE",{class:!0});var A=b(s);n=O(A,d[0]),A.forEach(i),V.forEach(i),o=k(p),L(a.$$.fragment,p),p.forEach(i),c=k(m),u=v(m,"P",{class:!0});var T=b(u);y=O(T,"Status: "),f=O(T,d[1]),T.forEach(i),g=k(m),w=v(m,"PRE",{});var P=b(w);E=v(P,"CODE",{class:!0});var H=b(E);_=O(H,d[2]),H.forEach(i),P.forEach(i),this.h()},h(){l(s,"class","text rounded-3 request svelte-4u2812"),l(t,"class","mb-0"),l(e,"class","d-flex flex-column align-items-center"),l(u,"class","fw-bold mb-1"),l(E,"class","json rounded-3")},m(m,p){R(m,e,p),r(e,t),r(t,s),r(s,n),r(e,o),B(a,e,null),R(m,c,p),R(m,u,p),r(u,
1y),r(u,f),R(m,g,p),R(m,w,p),r(w,E),r(E,_),$=!0},p(m,[p]){(!$||p&1)&&$e(n,m[0]),(!$||p&2)&&$e(f,m[1]),(!$||p&4)&&$e(_,m[2])},i(m){$||(j(a.$$.fragment,m),$=!0)},o(m){N(a.$$.fragment,m),$=!1},d(m){m&&i(e),U(a),m&&i(c),m&&i(u),m&&i(g),m&&i(w)}}}function kt(d,e,t){let{request:s}=e,{status:n=200}=e,{response:o}=e;return d.$$set=a=>{"request"in a&&t(0,s=a.request),"status"in a&&t(1,n=a.status),"response"in a&&t(2,o=a.response)},[s,n,o]}class ye extends ce{constructor(e){super();de(this,e,kt,Dt,fe,{request:0,status:1,response:2})}}function It(d){let e,t;return e=new ye({props:{request:"GET http://localhost:6767/api/posts",response:d[0]([{id:0,title:"Post n: #0"},{id:1,title:"Post n: #1"},{id:2,title:"Post n: #2"},{id:3,title:"Post n: #3"},{id:4,title:"Post n: #4"}])}}),{c(){F(e.$$.fragment)},l(s){L(e.$$.fragment,s)},m(s,n){B(e,s,n),t=!0},p:z,i(s){t||(j(e.$$.fragment,s),t=!0)},o(s){N(e.$$.fragment,s),t=!1},d(s){U(e,s)}}}function Tt(d){let e,t,s,n,o,a;return e=new ye({props:{request:"GET http://localhost:6767/api/users",response:d[0]([{id:0,email:"[email protected]"},{id:1,email:"[email protected]"},". . .",{id:24,email:"[email protected]"}])}}),o=new ye({props:{request:"GET http://localhost:6767/api/users?limit=3",response:d[0]([{id:0,email:"[email protected]"},{id:1,email:"[email protected]"},{id:2,email:"[email protected]"}])}}),{c(){F(e.$$.fragment),t=D(),s=h("hr"),n=D(),F(o.$$.fragment)},l(c){L(e.$$.fragment,c),t=k(c),s=v(c,"HR",{}),n=k(c),L(o.$$.fragment,c)},m(c,u){B(e,c,u),R(c,t,u),R(c,s,u),R(c,n,u),B(o,c,u),a=!0},p:z,i(c){a||(j(e.$$.fragment,c),j(o.$$.fragment,c),a=!0)},o(c){N(e.$$.fragment,c),N(o.$$.fragment,c),a=!1},d(c){U(e,c),c&&i(t),c&&i(s),c&&i(n),U(o,c)}}}function Pt(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$,m,p,V,A,T,P,H,x,K,W,Q,se=d[0]({id:42,email:"[email protected]"})+"",ae,ee,C,Y,G,M;return a=new Ee({props:{name:"arrow-bar-bottom"}}),{c(){e=h("div"),t=h("pre"),s=h("code"),n=S("GET http://localhost:6767/api/users/42"),o=D(),F(a.$$.fragment),c=D(),u=h("ul"),y=h("h5"),f=S("State:"),g=D(),w=h("li"),E=h("button"),_=S("_default"),$=D(),m=h("li"),p=h("button"),V=S("NOT_FOUND"),A=D(),T=h("div"),P=h("div"),H=h("p"),x=S("Status: 200"),K=D(),W=h("pre"),Q=h("code"),ae=S(se),ee=D(),C=h("div"),Y=h("p"),G=S("Status: 404"),this.h()},l(I){e=v(I,"DIV",{class:!0});var J=b(e);t=v(J,"PRE",{class:!0});var Z=b(t);s=v(Z,"CODE",{class:!0});var le=b(s);n=O(le,"GET http://localhost:6767/api/users/42"),le.forEach(i),Z.forEach(i),o=k(J),L(a.$$.fragment,J),J.forEach(i),c=k(I),u=v(I,"UL",{class:!0,id:!0,role:!0});var X=b(u);y=v(X,"H5",{class:!0});var ne=b(y);f=O(ne,"State:"),ne.forEach(i),g=k(X),w=v(X,"LI",{class:!0,role:!0});var re=b(w);E=v(re,"BUTTON",{class:!0,id:!0,"data-bs-toggle":!0,"data-bs-target":!0,type:!0,role:!0,"aria-controls":!0,"aria-selected":!0});var ie=b(E);_=O(ie,"_default"),ie.forEach(i),re.forEach(i),$=k(X),m=v(X,"LI",{class:!0,role:!0});var te=b(m);p=v(te,"BUTTON",{class:!0,id:!0,"data-bs-toggle":!0,"data-bs-target":!0,type:!0,role:!0,"aria-controls":!0,"aria-selected":!0});var oe=b(p);V=O(oe,"NOT_FOUND"),oe.forEach(i),te.forEach(i),X.forEach(i),A=k(I),T=v(I,"DIV",{class:!0,id:!0});var q=b(T);P=v(q,"DIV",{class:!0,id:!0,role:!0,"aria-labelledby":!0});var ue=b(P);H=v(ue,"P",{class:!0});var pe=b(H);x=O(pe,"Status: 200"),pe.forEach(i),K=k(ue),W=v(ue,"PRE",{class:!0});var me=b(W);Q=v(me,"CODE",{});var he=b(Q);ae=O(he,se),he.forEach(i),me.forEach(i),ue.forEach(i),ee=k(q),C=v(q,"DIV",{class:!0,id:!0,role:!0,"aria-labelledby":!0});var ve=b(C);Y=v(ve,"P",{class:!0});var ge=b(Y);G=O(ge,"Status: 404"),ge.forEach(i),ve.forEach(i),q.forEach(i),this.h()},h(){l(s,"class","text rounded-3"),l(t,"class","mb-0 svelte-plmekt"),l(e,"class","d-flex flex-column align-items-center"),l(y,"class","mb-0 me-2"),l(E,"class","nav-link active"),l(E,"id","tabs-default-tab"),l(E,"data-bs-toggle","tab"),l(E,"data-bs-target","#tabs-default"),l(E,"type","button"),l(E,"role","tab"),l(E,"aria-controls","tabs-default"),l(E,"aria-selected","true"),l(w,"class","nav-item"),l(w,"role","presentation"),l(p,"class","nav-link"),l(p,"id","tabs-not-found-tab"),l(p,"data-bs-toggle","tab"),l(p,"data-bs-target","#tabs-not-found"),l(p,"type","button"),l(p,"role","tab"),l(p,"aria-controls","tabs-not-found"),l(p,"aria-selected","false"),l(m,"class","nav-item"),l(m,"role","presentation"),l(u,"class","nav nav-tabs mb-3 align-items-baseline"),l(u,"id","tabs-tab"),l(u,"role","tablist"),l(H,"class","fw-bold mb-1"),l(W,"class","w-100 rounded-3 svelte-plmekt"),l(P,"class","tab-pane fade show active"),l(P,"id","tabs-default"),l(P,"role","tabpanel"),l(P,"aria-labelledby","tabs-default-tab"),l(Y,"class","fw-bold mb-1"),l(C,"class","tab-pane fade"),l(C,"id","tabs-not-found"),l(C,"role","tabpanel"),l(C,"aria-labelledby","tabs-not-found-tab"),l(T,"class","tab-content"),l(T,"id","tabs-tabContent")},m(I,J){R(I,e,J),r(e,t),r(t,s),r(s,n),r(e,o),B(a,e,null),R(I,c,J),R(I,u,J),r(u,y),r(y,f),r(u,g),r(u,w),r(w,E),r(E,_),r(u,$),r(u,m),r(m,p),r(p,V),R(I,A,J),R(I,T,J),r(T,P),r(P,H),r(H,x),r(P,K),r(P,W),r(W,Q),r(Q,ae),r(T,ee),r(T,C),r(C,Y),r(Y,G),M=!0},p:z,i(I){M||(j(a.$$.fragment,I),M=!0)},o(I){N(a.$$.fragment,I),M=!1},d(I){I&&i(e),U(a),I&&i(c),I&&i(u),I&&i(A),I&&i(T)}}}function St(d){let e,t;return e=new ye({props:{request:"POST http://localhost:6767/api/users/42",status:201,response:d[0]({success:!0,data:{id:42,email:"[email protected]"}})}}
1),{c(){F(e.$$.fragment)},l(s){L(e.$$.fragment,s)},m(s,n){B(e,s,n),t=!0},p:z,i(s){t||(j(e.$$.fragment,s),t=!0)},o(s){N(e.$$.fragment,s),t=!1},d(s){U(e,s)}}}function Ot(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$,m,p,V,A,T,P,H,x,K,W,Q,se=d[0]({success:!0})+"",ae,ee,C,Y,G,M;return a=new Ee({props:{name:"arrow-bar-bottom"}}),{c(){e=h("div"),t=h("pre"),s=h("code"),n=S("DELETE http://localhost:6767/api/users/42"),o=D(),F(a.$$.fragment),c=D(),u=h("ul"),y=h("h5"),f=S("State:"),g=D(),w=h("li"),E=h("button"),_=S("_default"),$=D(),m=h("li"),p=h("button"),V=S("INV_CRED"),A=D(),T=h("div"),P=h("div"),H=h("p"),x=S("Status: 200"),K=D(),W=h("pre"),Q=h("code"),ae=S(se),ee=D(),C=h("div"),Y=h("p"),G=S("Status: 401"),this.h()},l(I){e=v(I,"DIV",{class:!0});var J=b(e);t=v(J,"PRE",{class:!0});var Z=b(t);s=v(Z,"CODE",{class:!0});var le=b(s);n=O(le,"DELETE http://localhost:6767/api/users/42"),le.forEach(i),Z.forEach(i),o=k(J),L(a.$$.fragment,J),J.forEach(i),c=k(I),u=v(I,"UL",{class:!0,id:!0,role:!0});var X=b(u);y=v(X,"H5",{class:!0});var ne=b(y);f=O(ne,"State:"),ne.forEach(i),g=k(X),w=v(X,"LI",{class:!0,role:!0});var re=b(w);E=v(re,"BUTTON",{class:!0,id:!0,"data-bs-toggle":!0,"data-bs-target":!0,type:!0,role:!0,"aria-controls":!0,"aria-selected":!0});var ie=b(E);_=O(ie,"_default"),ie.forEach(i),re.forEach(i),$=k(X),m=v(X,"LI",{class:!0,role:!0});var te=b(m);p=v(te,"BUTTON",{class:!0,id:!0,"data-bs-toggle":!0,"data-bs-target":!0,type:!0,role:!0,"aria-controls":!0,"aria-selected":!0});var oe=b(p);V=O(oe,"INV_CRED"),oe.forEach(i),te.forEach(i),X.forEach(i),A=k(I),T=v(I,"DIV",{class:!0,id:!0});var q=b(T);P=v(q,"DIV",{class:!0,id:!0,role:!0,"aria-labelledby":!0});var ue=b(P);H=v(ue,"P",{class:!0});var pe=b(H);x=O(pe,"Status: 200"),pe.forEach(i),K=k(ue),W=v(ue,"PRE",{class:!0});var me=b(W);Q=v(me,"CODE",{});var he=b(Q);ae=O(he,se),he.forEach(i),me.forEach(i),ue.forEach(i),ee=k(q),C=v(q,"DIV",{class:!0,id:!0,role:!0,"aria-labelledby":!0});var ve=b(C);Y=v(ve,"P",{class:!0});var ge=b(Y);G=O(ge,"Status: 401"),ge.forEach(i),ve.forEach(i),q.forEach(i),this.h()},h(){l(s,"class","text rounded-3"),l(t,"class","mb-0 svelte-plmekt"),l(e,"class","d-flex flex-column align-items-center"),l(y,"class","mb-0 me-2"),l(E,"class","nav-link active"),l(E,"id","tabs-del-user-default-tab"),l(E,"data-bs-toggle","tab"),l(E,"data-bs-target","#tabs-del-user-default"),l(E,"type","button"),l(E,"role","tab"),l(E,"aria-controls","tabs-del-user-default"),l(E,"aria-selected","true"),l(w,"class","nav-item"),l(w,"role","presentation"),l(p,"class","nav-link"),l(p,"id","tabs-inv-cred-tab"),l(p,"data-bs-toggle","tab"),l(p,"data-bs-target","#tabs-inv-cred"),l(p,"type","button"),l(p,"role","tab"),l(p,"aria-controls","tabs-inv-cred"),l(p,"aria-selected","false"),l(m,"class","nav-item"),l(m,"role","presentation"),l(u,"class","nav nav-tabs mb-3 align-items-baseline"),l(u,"id","tabs-tab"),l(u,"role","tablist"),l(H,"class","fw-bold mb-1"),l(W,"class","w-100 rounded-3 svelte-plmekt"),l(P,"class","tab-pane fade show active"),l(P,"id","tabs-del-user-default"),l(P,"role","tabpanel"),l(P,"aria-labelledby","tabs-del-user-default-tab"),l(Y,"class","fw-bold mb-1"),l(C,"class","tab-pane fade"),l(C,"id","tabs-inv-cred"),l(C,"role","tabpanel"),l(C,"aria-labelledby","tabs-inv-cred-tab"),l(T,"class","tab-content"),l(T,"id","tabs-tabContent")},m(I,J){R(I,e,J),r(e,t),r(t,s),r(s,n),r(e,o),B(a,e,null),R(I,c,J),R(I,u,J),r(u,y),r(y,f),r(u,g),r(u,w),r(w,E),r(E,_),r(u,$),r(u,m),r(m,p),r(p,V),R(I,A,J),R(I,T,J),r(T,P),r(P,H),r(H,x),r(P,K),r(P,W),r(W,Q),r(Q,ae),r(T,ee),r(T,C),r(C,Y),r(Y,G),M=!0},p:z,i(I){M||(j(a.$$.fragment,I),M=!0)},o(I){N(a.$$.fragment,I),M=!1},d(I){I&&i(e),U(a),I&&i(c),I&&i(u),I&&i(A),I&&i(T)}}}
1function jt(d){let e,t;return e=new ye({props:{request:"GET http://localhost:6767/api/users/42/comments",response:d[0]([{id:0,creatorId:42,content:"Saepe ipsam est recusandae accusamus expedita. Magnam quibusdam aut enim omnis aspernatur libero facilis ab sed. Consequuntur aliquid quod ut ea. Vitae totam nemo error ut quo qui omnis et. Blanditiis natus corporis. Incidunt dolorem recusandae qui."},{id:1,creatorId:42,content:"Quibusdam aut illum sit dicta suscipit. Illo error quia nostrum quod aut. Asperiores vitae tenetur odit odio. Explicabo ab dolores. Molestiae corrupti hic officia nihil sunt veritatis adipisci et et."},". . .",{id:24,creatorId:42,content:"Quo culpa dolorem. Est veniam dolorem nam. Dolor autem dolore qui aut repellendus. Necessitatibus voluptas et et asperiores voluptas consectetur placeat vitae. Voluptas neque et tempora sit aspernatur enim. Quibusdam autem optio veniam."}])}}),{c(){F(e.$$.fragment)},l(s){L(e.$$.fragment,s)},m(s,n){B(e,s,n),t=!0},p:z,i(s){t||(j(e.$$.fragment,s),t=!0)},o(s){N(e.$$.fragment,s),t=!1},d(s){U(e,s)}}}function Nt(d){let e,t;return e=new ye({props:{request:"GET http://localhost:6767/api/me",response:d[0]({firstname:"Janie",lastname:"Hermann",email:"[email protected]"})}}),{c(){F(e.$$.fragment)},l(s){L(e.$$.fragment,s)},m(s,n){B(e,s,n),t=!0},p:z,i(s){t||(j(e.$$.fragment,s),t=!0)},o(s){N(e.$$.fragment,s),t=!1},d(s){U(e,s)}}}function Rt(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$;return t=new be({props:{method:"GET",slug:"/posts",$$slots:{default:[It]},$$scope:{ctx:d}}}),n=new be({props:{method:"GET",slug:"/users",$$slots:{default:[Tt]},$$scope:{ctx:d}}}),a=new be({props:{method:"GET",slug:"/users/:userid",$$slots:{default:[Pt]},$$scope:{ctx:d}}}),u=new be({props:{method:"POST",slug:"/users/:userid",$$slots:{default:[St]},$$scope:{ctx:d}}}),f=new be({props:{method:"DELETE",slug:"/users/:userid",$$slots:{default:[Ot]},$$scope:{ctx:d}}}),w=new be({props:{method:"GET",slug:"/users/:userid/comments",$$slots:{default:[jt]},$$scope:{ctx:d}}}),_=new be({props:{method:"GET",slug:"/me",$$slots:{default:[Nt]},$$scope:{ctx:d}}}),{c(){e=h("div"),F(t.$$.fragment),s=D(),F(n.$$.fragment),o=D(),F(a.$$.fragment),c=D(),F(u.$$.fragment),y=D(),F(f.$$.fragment),g=D(),F(w.$$.fragment),E=D(),F(_.$$.fragment),this.h()},l(m){e=v(m,"DIV",{class:!0,id:!0});var p=b(e);L(t.$$.fragment,p),s=k(p),L(n.$$.fragment,p),o=k(p),L(a.$$.fragment,p),c=k(p),L(u.$$.fragment,p),y=k(p),L(f.$$.fragment,p),g=k(p),L(w.$$.fragment,p),E=k(p
1),L(_.$$.fragment,p),p.forEach(i),this.h()},h(){l(e,"class","accordion bg-light svelte-plmekt"),l(e,"id","apiOverview")},m(m,p){R(m,e,p),B(t,e,null),r(e,s),B(n,e,null),r(e,o),B(a,e,null),r(e,c),B(u,e,null),r(e,y),B(f,e,null),r(e,g),B(w,e,null),r(e,E),B(_,e,null),$=!0},p(m,[p]){const V={};p&2&&(V.$$scope={dirty:p,ctx:m}),t.$set(V);const A={};p&2&&(A.$$scope={dirty:p,ctx:m}),n.$set(A);const T={};p&2&&(T.$$scope={dirty:p,ctx:m}),a.$set(T);const P={};p&2&&(P.$$scope={dirty:p,ctx:m}),u.$set(P);const H={};p&2&&(H.$$scope={dirty:p,ctx:m}),f.$set(H);const x={};p&2&&(x.$$scope={dirty:p,ctx:m}),w.$set(x);const K={};p&2&&(K.$$scope={dirty:p,ctx:m}),_.$set(K)},i(m){$||(j(t.$$.fragment,m),j(n.$$.fragment,m),j(a.$$.fragment,m),j(u.$$.fragment,m),j(f.$$.fragment,m),j(w.$$.fragment,m),j(_.$$.fragment,m),$=!0)},o(m){N(t.$$.fragment,m),N(n.$$.fragment,m),N(a.$$.fragment,m),N(u.$$.fragment,m),N(f.$$.fragment,m),N(w.$$.fragment,m),N(_.$$.fragment,m),$=!1},d(m){m&&i(e),U(t),U(n),U(a),U(u),U(f),U(w),U(_)}}}function Vt(d){return[t=>JSON.stringify(t,null,2)]}class qt extends ce{constructor(e){super();de(this,e,Vt,Rt,fe,{})}}function Ct(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$,m,p,V,A,T,P,H,x,K,W,Q,se,ae,ee,C,Y;return g=new xe({props:{class:"mx-auto mt-5",content:`$ yarn global add restapify 2# or npm install -g restapify 3$ restapify serve mockedApi/`,language:"bash"}}),P=new Xe({props:{name:"mockedApi",files:d[0],expanded:!0}}),K=new Ee({props:{name:"arrow-right"}}),C=new qt({}),{c(){e=h("header"),t=h("img"),n=D(),o=h("h1"),a=S("Quickly and easily deploy a mocked REST API"),c=D(),u=h("p"),y=S("Save time on the development of your Frontend project by avoiding wasting it on the API mocking just by using an intuitive and developer friendly JSON file structure."),f=D(),F(g.$$.fragment),w=D(),E=h("div"),_=h("div"),$=h("h3"),m=S(`#1 Define routes 4 `),p=h("a"),V=S("[docs]"),A=D(),T=h("div"),F(P.$$.fragment),H=D(),x=h("div"),F(K.$$.fragment),W=D(),Q=h("div"),se=h("h3"),ae=S("#2 Consume the API"),ee=D(),F(C.$$.fragment),this.h()},l(G){e=v(G,"HEADER",{class:!0});var M=b(e);t=v(M,"IMG",{src:!0,id:!0,alt:!0,class:!0}),n=k(M),o=v(M,"H1",{class:!0});var I=b(o);a=O(I,"Quickly and easily deploy a mocked REST API"),I.forEach(i),c=k(M),u=v(M,"P",{id:!0,class:!0});var J=b(u);y=O(J,"Save time on the development of your Frontend project by avoiding wasting it on the API mocking just by using an intuitive and developer friendly JSON file structure."),J.forEach(i),f=k(M),L(g.$$.fragment,M),w=k(M),E=v(M,"DIV",{class:!0});var Z=b(E);_=v(Z,"DIV",{class:!0});var le=b(_);$=v(le,"H3",{});var X=b($);m=O(X,`#1 Define routes 5 `),p=v(X,"A",{href:!0,class:!0});var ne=b(p);V=O(ne,"[docs]"),ne.forEach(i),X.forEach(i),A=k(le),T=v(le,"DIV",{id:!0,class:!0});var re=b(T);L(P.$$.fragment,re),re.forEach(i),le.forEach(i),H=k(Z),x=v(Z,"DIV",{id:!0,class:!0});var ie=b(x);L(K.$$.fragment,ie),ie.forEach(i),W=k(Z),Q=v(Z,"DIV",{class:!0});var te=b(Q);se=v(te,"H3",{});var oe=b(se);ae=O(oe,"#2 Consume the API"),oe.forEach(i),ee=k(te),L(C.$$.fragment,te),te.forEach(i),Z.forEach(i),M.forEach(i),this.h()},h(){Ce(t.src,s=it)||l(t,"src",s),l(t,"id","bg"),l(t,"alt","Design colors"),l(t,"class","svelte-1ave6e2"),l(o,"class","text-center px-2 px-md-5 svelte-1ave6e2"),l(u,"id","subtitle"),l(u,"class","text-center fs-5 lh-sm svelte-1ave6e2"),l(p,"href","/docs"),l(p,"class","fs-6 text-decoration-none"),l(T,"id","filesTree"),l(T,"class","p-3 bg-light border border-dark rounded-3 svelte-1ave6e2"),l(_,"class","col-11 col-md-5 col-lg-4 p-0"),l(x,"id","arrowSeparator"),l(x,"class","col-12 col-md-1 align-self-center d-flex justify-content-center svelte-1ave6e2"),l(Q,"class","col-11 col-md-5 col-lg-4 p-0 api-overview svelte-1ave6e2"),l(E,"class","row justify-content-center mt-5"),l(e,"class","px-3 d-flex flex-column justify-content-center svelte-1ave6e2")},m(G,M){R(G,e,M),r(e,t),r(e,n),r(e,o),r(o,a),r(e,c),r(e,u),r(u,y),r(e,f),B(g,e,null),r(e,w),r(e,E),r(E,_),r(_,$),r($,m),r($,p),r(p,V),r(_,A),r(_,T),B(P,T,null),r(E,H),r(E,x),B(K,x,null),r(E,W),r(E,Q),r(Q,se),r(se,ae),r(Q,ee),B(C,Q,null),Y=!0},p:z,i(G){Y||(j(g.$$.fragment,G),j(P.$$.fragment,G),j(K.$$.fragment,G),j(C.$$.fragment,G),Y=!0)},o(G){N(g.$$.fragment,G),N(P.$$.fragment,G),N(K.$$.fragment,G),N(C.$$.fragment,G),Y=!1},d(G){G&&i(e),U(g),U(P),U(K),U(C)}}}function At(d){return[[{type:"folder",name:"posts",files:[{type:"file",name:"_.json",content:["#for i in range(5)",{id:"n:[i]",title:"Post n: #[i]"},"#endfor"]}]},{type:"folder",name:"users",expanded:!0,files:[{type:"file",name:"_.json",content:["#for i in range([q:limit|25])",{id:"n:[i]",email:"[#faker:internet:email]"},"#endfor"]},{type:"folder",name:"[userid]",expanded:!0,files:[{type:"file",name:"_.json",content:{id:"n:[userid]",email:"[#faker:internet:email]"}},{type:"file",name:"_.404.{NOT_FOUND}.json",content:[null]},{type:"file",name:"_.DELETE.401.{INV_CRED}.json",content:[null]},{type:"file",name:"_.DELETE.json",content:{"#header":{"Content-Type":"text/html; charset=UTF-8"},"#body":{success:!0}}},{type:"file",name:"_.POST.201.json",content:{success:!0,data:{id:"n:[userid]",email:"[#faker:internet:email]"}}},{type:"file",name:"comments.json",content:["#for i in range([q:limit|25])",{id:"n:[i]",creatorId:"n:[userid]",content:"[#faker:lorem:sentences]"},"#endfor"]}]}]},{type:"file",name:"me.json",content:{firstname:"[#faker:name:firstName]",lastname:"[#faker:name:lastName]",email:"[#faker:internet:email]"}}]]}class Ft extends ce{constructor(e){super();de(this,e,At,Ct,fe,{})}}function ze(d,e,t){const s=d.slice();return s[1]=e[t],s}function Ze(d){let e,t,s=d[1].title+"",n,o,a,c=d[1].description+"",u;return{c(){e=h("div"),t=h("h3"),n=S(s),o=D(),a=h("p"),u=D(),this.h()},l(y){e=v(y,"DIV",{class:!0});var f=b(e);t=v(f,"H3",{class:!0});var g=b(t);n=O(g,s),g.forEach(i),o=k(f),a=v(f,"P",{class:!0});var w=b(a);
5w.forEach(i),u=k(f),f.forEach(i),this.h()},h(){l(t,"class","mb-3 fs-4"),l(a,"class","grey-text mb-md-0 mb-5 lh-sm"),l(e,"class","col-md-4 px-1 px-md-4 mb-1 mb-md-5")},m(y,f){R(y,e,f),r(e,t),r(t,n),r(e,o),r(e,a),a.innerHTML=c,r(e,u)},p:z,d(y){y&&i(e)}}}function Lt(d){let e,t=d[0],s=[];for(let n=0;n<t.length;n+=1)s[n]=Ze(ze(d,t,n));return{c(){e=h("div");for(let n=0;n<s.length;n+=1)s[n].c();this.h()},l(n){e=v(n,"DIV",{class:!0});var o=b(e);for(let a=0;a<s.length;a+=1)s[a].l(o);o.forEach(i),this.h()},h(){l(e,"class","row mx-4")},m(n,o){R(n,e,o);for(let a=0;a<s.length;a+=1)s[a].m(e,null)},p(n,[o]){if(o&1){t=n[0];let a;for(a=0;a<t.length;a+=1){const c=ze(n,t,a);s[a]?s[a].p(c,o):(s[a]=Ze(c),s[a].c(),s[a].m(e,null))}for(;a<s.length;a+=1)s[a].d(1);s.length=t.length}},i:z,o:z,d(n){n&&i(e),Be(s,n)}}}function Bt(d){return[[{title:"\u{1F4A1} Incredible DX",description:"Intuitive files structure and JSON syntax to cover all the scenarios of your future API"},{title:"\u2705 JSON valid",description:'You will only use <code>.json</code> files that follows the <a href="https://www.ecma-international.org/publications-and-standards/standards/ecma-404/">ECMA-404</a> standard'},{title:"\u{1F39B} Dashboard ",description:"Out of the box Single Page Application to explore and manage your mocked API"},{title:"\u{1F4BB} CLI",description:"Use the CLI for an instant deployment"},{title:"\u{1F4DD} Fakerjs implementation",description:'Intuitive syntax to quickly populate your API responses with the famous <a href="https://github.com/marak/Faker.js/">fakerjs</a> library'},{title:"\u{1F525} Built in hot watcher",description:"Directly see your changes after a file update"}]]}class Ut extends ce{constructor(e){super();de(this,e,Bt,Lt,fe,{})}}function Ht(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_,$,m,p,V,A,T,P,H,x,K,W,Q,se,ae,ee,C,Y,G,M,I,J,Z,le,X,ne,re,ie;return{c(){e=h("div"),t=h("div"),s=h("h2"),n=S("Getting Started"),o=D(),a=h("h4"),c=S("Using the cli"),u=D(),y=h("p"),f=S("The simplest way to use Restapify is to use his "),g=h("a"),w=S("cli"),E=S("..."),_=D(),$=h("pre"),m=h("code"),p=S(`yarn global add restapify 6# or npm install -g restapify`),V=D(),A=h("p"),T=S("...and then serve your api folder:"),P=D(),H=h("pre"),x=h("code"),K=S("restapify serve path/to/folder/"),W=D(),Q=h("h4"),se=S("Using the JavaScript class"),ae=D(),ee=h("p"),C=S("You can install restapify's class using `npm` (note that this package should be a devDependency):"),Y=D(),G=h("pre"),M=h("code"),I=S(`yarn add -D restapify 7# or npm i -D restapify`),J=D(),Z=h("p"),le=S("You can then import the class and instantiate it to serve the api folder:"),X=D(),ne=h("pre"),re=h("code"),ie=S(d[0]),this.h()},l(te){e=v(te,"DIV",{class:!0});var oe=b(e);t=v(oe,"DIV",{class:!0});var q=b(t);s=v(q,"H2",{});var ue=b(s);n=O(ue,"Getting Started"),ue.forEach(i),o=k(q),a=v(q,"H4",{class:!0});var pe=b(a);c=O(pe,"Using the cli"),pe.forEach(i),u=k(q),y=v(q,"P",{});var me=b(y);f=O(me,"The simplest way to use Restapify is to use his "),g=v(me,"A",{href:!0});var he=b(g);w=O(he,"cli"),he.forEach(i),E=O(me,"..."),me.forEach(i),_=k(q),$=v(q,"PRE",{});var ve=b($);m=v(ve,"CODE",{class:!0});var ge=b(m);p=O(ge,`yarn global add restapify 8# or npm install -g restapify`),ge.forEach(i),ve.forEach(i),V=k(q),A=v(q,"P",{});var Ie=b(A);T=O(Ie,"...and then serve your api folder:"),Ie.forEach(i),P=k(q),H=v(q,"PRE",{});var Te=b(H);x=v(Te,"CODE",{class:!0});var Pe=b(x);K=O(Pe,"restapify serve path/to/folder/"),Pe.forEach(i),Te.forEach(i),W=k(q),Q=v(q,"H4",{class:!0});var Se=b(Q);se=O(Se,"Using the JavaScript class"),Se.forEach(i),ae=k(q),ee=v(q,"P",{});var Oe=b(ee);C=O(Oe,"You can install restapify's class using `npm` (note that this package should be a devDependency):"),Oe.forEach(i),Y=k(q),G=v(q,"PRE",{});var je=b(G);M=v(je,"CODE",{class:!0});var Ne=b(M);I=O(Ne,`yarn add -D restapify 9# or npm i -D restapify`),Ne.forEach(i),je.forEach(i),J=k(q),Z=v(q,"P",{});var Re=b(Z);le=O(Re,"You can then import the class and instantiate it to serve the api folder:"),Re.forEach(i),X=k(q),ne=v(q,"PRE",{});var Ve=b(ne);re=v(Ve,"CODE",{class:!0});var qe=b(re);ie=O(qe,d[0]),qe.forEach(i),Ve.forEach(i),q.forEach(i),oe.forEach(i),this.h()},h(){l(a,"class","mt-5"),l(g,"href","/docs#cli"),l(m,"class","rounded-3 bash"),l(x,"class","rounded-3 bash"),l(Q,"class","mt-5"),l(M,"class","rounded-3 bash"),l(re,"class","rounded-3 js"),l(t,"class","col-md-8"),l(e,"class","row justify-content-center")},m(te,oe){R(te,e,oe),r(e,t),r(t,s),r(s,n),r(t,o),r(t,a),r(a,c),r(t,u),r(t,y),r(y,f),r(y,g),r(g,w),r(y,E),r(t,_),r(t,$),r($,m),r(m,p),r(t,V),r(t,A),r(A,T),r(t,P),r(t,H),r(H,x),r(x,K),r(t,W),r(t,Q),r(Q,se),r(t,ae),r(t,ee),r(ee,C),r(t,Y),r(t,G),r(G,M),r(M,I),r(t,J),r(t,Z),r(Z,le),r(t,X),r(t,ne),r(ne,re),r(re,ie)},p:z,i:z,o:z,d(te){te&&i(e)}}}function Gt(d){return[`import * as path from 'path' 10import Restapify from 'restapify' 11 12const apiFolderPath = path.resolve(__dirname, './path/to/folder') 13 14const rpfy = new Restapify({ 15 rootDir: apiFolderPath 16}) 17rpfy.run()`]}class Mt extends ce{constructor(e){super();de(this,e,Gt,Ht,fe,{})}}function Jt(d){let e,t,s,n,o,a,c,u,y,f,g,w,E,_;return n=new Ft({}),c=new Ut({}),g=new Mt({}),E=new ot({}),{c(){e=h("link"),t=D(),s=h("div"),F(n.$$.fragment),o=D(),a=h("section"),F(c.$$.fragment),u=D(),y=h("hr"),f=D(),F(g.$$.fragment),w=D(),F(E.$$.fragment),this.h()},l($){const m=nt('[data-svelte="svelte-6ut2cv"]',document.head);e=v(m,"LINK",{rel:!0,href:!0,integrity:!0,crossorigin:!0}),m.forEach(i),t=k($),s=v($,"DIV",{id:!0,class:!0});var p=b(s);L(n.$$.fragment,p),o=k(p),a=v(p,"SECTION",{class:!0});var V=b(a);L(c.$$.fragment,V),u=k(V),y=v(V,"HR",{}
17),f=k(V),L(g.$$.fragment,V),V.forEach(i),w=k(p),L(E.$$.fragment,p),p.forEach(i),this.h()},h(){document.title="Restapify \u2022 Quickly and easily deploy a mocked REST API",l(e,"rel","stylesheet"),l(e,"href","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/vs2015.min.css"),l(e,"integrity","sha512-w8aclkBlN3Ha08SMwFKXFJqhSUx2qlvTBFLLelF8sm4xQnlg64qmGB/A6pBIKy0W8Bo51yDMDtQiPLNRq1WMcQ=="),l(e,"crossorigin","anonymous"),l(a,"class","container my-5 py-5"),l(s,"id","home"),l(s,"class","svelte-m4bnvl")},m($,m){r(document.head,e),R($,t,m),R($,s,m),B(n,s,null),r(s,o),r(s,a),B(c,a,null),r(a,u),r(a,y),r(a,f),B(g,a,null),r(s,w),B(E,s,null),_=!0},p:z,i($){_||(j(n.$$.fragment,$),j(c.$$.fragment,$),j(g.$$.fragment,$),j(E.$$.fragment,$),_=!0)},o($){N(n.$$.fragment,$),N(c.$$.fragment,$),N(g.$$.fragment,$),N(E.$$.fragment,$),_=!1},d($){i(e),$&&i(t),$&&i(s),U(n),U(c),U(g),U(E)}}}function Qt(d){return Fe(()=>{Qe()}),[]}class Xt extends ce{constructor(e){super();de(this,e,Qt,Jt,fe,{})}}export{Xt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.