import{S as G,i as H,s as J,e as i,k as I,w as O,t as y,M as R,c as l,d as t,m as M,a as p,x as T,h as E,b as c,G as a,g as $,y as U,L as z,q as D,o as K,B as Q,v as V}from"../../chunks/vendor-hf-doc-builder.js";import{I as W}from"../../chunks/IconCopyLink-hf-doc-builder.js";function X(j){let n,_,o,s,f,m,k,d,P,v,r,x,S,A,h,B,w;return m=new W({}),{c(){n=i("meta"),_=I(),o=i("h1"),s=i("a"),f=i("span"),O(m.$$.fragment),k=I(),d=i("span"),P=y("Building a browser extension"),v=I(),r=i("p"),x=i("em"),S=y("Full tutorial coming soon\u2026"),A=y(" In the meantime, check out the example application: "),h=i("a"),B=y("https://github.com/xenova/transformers.js/tree/main/examples/extension"),this.h()},l(e){const u=R('[data-svelte="svelte-1phssyn"]',document.head);n=l(u,"META",{name:!0,content:!0}),u.forEach(t),_=M(e),o=l(e,"H1",{class:!0});var g=p(o);s=l(g,"A",{id:!0,class:!0,href:!0});var q=p(s);f=l(q,"SPAN",{});var L=p(f);T(m.$$.fragment,L),L.forEach(t),q.forEach(t),k=M(g),d=l(g,"SPAN",{});var N=p(d);P=E(N,"Building a browser extension"),N.forEach(t),g.forEach(t),v=M(e),r=l(e,"P",{});var b=p(r);x=l(b,"EM",{});var C=p(x);S=E(C,"Full tutorial coming soon\u2026"),C.forEach(t),A=E(b," In the meantime, check out the example application: "),h=l(b,"A",{href:!0,rel:!0});var F=p(h);B=E(F,"https://github.com/xenova/transformers.js/tree/main/examples/extension"),F.forEach(t),b.forEach(t),this.h()},h(){c(n,"name","hf:doc:metadata"),c(n,"content",JSON.stringify(Y)),c(s,"id","building-a-browser-extension"),c(s,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),c(s,"href","#building-a-browser-extension"),c(o,"class","relative group"),c(h,"href","https://github.com/xenova/transformers.js/tree/main/examples/extension"),c(h,"rel","nofollow")},m(e,u){a(document.head,n),$(e,_,u),$(e,o,u),a(o,s),a(s,f),U(m,f,null),a(o,k),a(o,d),a(d,P),$(e,v,u),$(e,r,u),a(r,x),a(x,S),a(r,A),a(r,h),a(h,B),w=!0},p:z,i(e){w||(D(m.$$.fragment,e),w=!0)},o(e){K(m.$$.fragment,e),w=!1},d(e){t(n),e&&t(_),e&&t(o),Q(m),e&&t(v),e&&t(r)}}}const Y={local:"building-a-browser-extension",title:"Building a browser extension"};function Z(j){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ae extends G{constructor(n){super();H(this,n,Z,X,J,{})}}export{ae as default,Y as metadata};
