PageSourceSearch

https://www.thegooddocsproject.dev/_app/immutable/nodes/14.d7a2w-BE.js

js thegooddocsproject.dev collected 2026-10-01 11:27:53 UTC 3,238 bytes, 1 lines download raw bytes

1import{s as O}from"../chunks/scheduler.BCRVzj3a.js";import{S as Q,i as R,e as T,s as H,v as M,l as U,f as $,k as h,n as q,o as b,w as G,g as W,h as m,p as r,j as z,y as X,t as V,q as Y,b as L,r as Z,c as tt,a as et,m as at,d as lt,u as st}from"../chunks/index.CBy6P1Ys.js";import{e as F}from"../chunks/each.D6YF6ztN.js";import{C as ct}from"../chunks/CardTactic.VoNo17tG.js";function J(o,s,n){const l=o.slice();return l[1]=s[n],l}function K(o){let s,n;return s=new ct({props:{tactic:o[1]}}),{c(){tt(s.$$.fragment)},l(l){et(s.$$.fragment,l)},m(l,i){at(s,l,i),n=!0},p(l,i){const d={};i&1&&(d.tactic=l[1]),s.$set(d)},i(l){n||(V(s.$$.fragment,l),n=!0)},o(l){L(s.$$.fragment,l),n=!1},d(l){lt(s,l)}}}function nt(o){let s,n,l,i,d,g,f,u,C,E=o[0].tag+"",k,I,P,_,S='Visit the <a href="/tactic">Tactic landing page</a> to see all tactic articles.',j,p,v;document.title=s="Tactics tagged with '"+o[0].tag+"'";let x=F(o[0].articles),e=[];for(let t=0;t<x.length;t+=1)e[t]=K(J(o,x,t));const N=t=>L(e[t],1,1,()=>{e[t]=null});return{c(){n=T("meta"),i=H(),d=T("div"),g=T("div"),f=T("div"),u=T("h2"),C=M("Tactics tagged with '"),k=M(E),I=M("'"),P=H(),_=T("p"),_.innerHTML=S,j=H(),p=T("div");for(let t=0;t<e.length;t+=1)e[t].c();this.h()},l(t){const c=U("svelte-hw0r98",document.head);n=$(c,"META",{name:!0,content:!0}),c.forEach(h),i=q(t),d=$(t,"DIV",{class:!0});var a=b(d);g=$(a,"DIV",{class:!0});var w=b(g);f=$(w,"DIV",{class:!0});var y=b(f);u=$(y,"H2",{class:!0});var D=b(u);C=G(D,"Tactics tagged with '"),k=G(D,E),I=G(D,"'"),D.forEach(h),P=q(y),_=$(y,"P",{class:!0,"data-svelte-h":!0}),W(_)!=="svelte-1iftbhr"&&(_.innerHTML=S),y.forEach(h),j=q(w),p=$(w,"DIV",{class:!0});var B=b(p);for(let A=0;A<e.length;A+=1)e[A].l(B);B.forEach(h),w.forEach(h),a.forEach(h),this.h()},h(){m(n,"name","description"),m(n,"content",l="A filtered view of The Good Docs Project Tactics that are tagged with '"+o[0].tag+"'."),m(u,"class","text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"),m(_,"class","mt-2 text-lg leading-8 text-gray-600 prose max-w-none"),m(f,"class","mx-auto max-w-2xl text-center"),m(p,"class","mx-auto mt-16 grid grid-cols-1 gap-x-8 gap-y-12 md:grid-cols-2 md:mx-0 md:max-w-none xl:grid-cols-3"),m(g,"class","mx-auto max-w-7xl px-6 lg:px-8"),m(d,"class","bg-white px-6 py-8 lg:px-8 mx-auto")},m(t,c){r(document.head,n),z(t,i,c),z(t,d,c),r(d,g),r(g,f),r(f,u),r(u,C),r(u,k),r(u,I),r(f,P),r(f,_),r(g,j),r(g,p);for(let a=0;a<e.length;a+=1)e[a]&&e[a].m(p,null);v=!0},p(t,[c]){if((!v||c&1)&&s!==(s="Tactics tagged with '"+t[0].tag+"'")&&(document.title=s),(!v||c&1&&l!==(l="A filtered view of The Good Docs Project Tactics that are tagged with '"+t[0].tag+"'."))&&m(n,"content",l),(!v||c&1)&&E!==(E=t[0].tag+"")&&X(k,E),c&1){x=F(t[0].articles);let a;for(a=0;a<x.length;a+=1){const w=J(t,x,a);e[a]?(e[a].p(w,c),V(e[a],1)):(e[a]=K(w),e[a].c(),V(e[a],1),e[a].m(p,null))}for(st(),a=x.length;a<e.length;a+=1)N(a);Y()}},i(t){if(!v){for(let c=0;c<x.length;c+=1)V(e[c]);v=!0}},o(t){e=e.filter(Boolean);for(let c=0;c<e.length;c+=1)L(e[c]);v=!1},d(t){t&&(h(i),h(d)),h(n),Z(e,t)}}}function ot(o,s,n){let{data:l}=s;return o.$$set=i=>{"data"in i&&n(0,l=i.data)},[l]}class mt extends Q{constructor(s){super(),R(this,s,ot,nt,O,{data:0})}}export{mt as component};

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.