1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1724,7514],{11508:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},12005:(e,s,t)=>{"use strict";t.d(s,{T:()=>c});var r=t(37876),a=t(48230),i=t.n(a),l=t(89099),n=t(63200),d=t(59435);let o=[{href:"/tools/builder-dashboard",label:"Builder Dashboard",icon:n.A},{href:"/tools/image-finder",label:"Image Finder",icon:d.A}];function c(){let{pathname:e}=(0,l.useRouter)();return(0,r.jsx)("nav",{className:"fixed left-0 right-0 top-0 z-40 border-b border-medium-gray bg-white/90 backdrop-blur-sm",children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-3xl items-center gap-1 px-4 py-2",children:[(0,r.jsx)("span",{className:"mr-3 text-xs font-semibold uppercase tracking-wider text-light-text",children:"Website Tools"}),o.map(s=>{let t=e===s.href,a=s.icon;return(0,r.jsxs)(i(),{href:s.href,className:"flex items-center gap-1.5 rounded-lg px-3 py-1.5 text-sm font-medium transition-colors ".concat(t?"bg-forest text-white":"text-light-text hover:bg-seafoam hover:text-forest"),children:[(0,r.jsx)(a,{className:"size-3.5"}),s.label]},s.href)})]})})}},30860:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},45691:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},47529:(e,s,t)=>{"use strict";t.d(s,{y:()=>a});var r=t(37876);function a(e){let{inverted:s=!1}=e;return(0,r.jsx)("div",{className:"inline-block",children:(0,r.jsxs)("svg",{className:"size-4 animate-spin",fill:"none",viewBox:"0 0 38 37",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"18.9999",cy:"18.5",r:"16",stroke:s?"rgba(248, 246, 242, 0.25)":"#C1C8C0",strokeWidth:"5"}),(0,r.jsx)("path",{d:"M35.0001 18.5C35.0001 16.1782 34.4948 13.8843 33.5192 11.7774C32.5437 9.67049 31.1213 7.80116 29.3509 6.29914C27.5804 4.79713 25.5042 3.69843 23.2665 3.07932C21.0288 2.46021 18.6832 2.33553 16.3925 2.71392",stroke:s?"#F8F6F2":"#4A786A",strokeWidth:"5"})]})})}},56732:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},59435:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},61861:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>p,default:()=>f});var r=t(37876),a=t(77328),i=t.n(a),l=t(14232),n=t(59435),d=t(45691),o=t(23993),c=t(66023),x=t(67514),h=t(75316),m=t(47529),u=t(12005),p=!0;function f(){let[e,s]=(0,l.useState)(""),[t,a]=(0,l.useState)([]),[p,f]=(0,l.useState)(!1),[y,b]=(0,l.useState)(!1),[g,j]=(0,l.useState)(null),v=async()=>{if(!e.trim())return void j("Please enter an asset ID");f(!0),j(null),b(!1);try{let s=await fetch("/api/find-builder-image?assetId=".concat(encodeURIComponent(e.trim())));if(!s.ok)throw Error("Failed to search");let t=await s.json();a(t.results),b(!0)}catch(e){j("Failed to search. Please try again."),console.error(e)}finally{f(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:"Image Finder | Parsley Health"}),(0,r.jsx)("meta",{content:"noindex, nofollow",name:"robots"})]}),(0,r.jsx)(u.T,{}),(0,r.jsx)("div",{className:"min-h-screen bg-ivory px-4 pt-24 pb-16 font-sans",children:(0,r.jsxs)("div",{className:"mx-auto max-w-2xl",children:[(0,r.jsxs)("div",{className:"mb-10 text-center",children:[(0,r.jsx)("h1",{className:"heading-tertiary text-deep-sea",children:"Builder.io Image Finder"}),(0,r.jsx)("p",{className:"subtitle mt-3 text-light-text",children:"Find all pages that contain a specific Builder.io image asset"})]}),(0,r.jsx)("div",{className:"mb-8 rounded-xl border border-medium-gray bg-white p-6 shadow-float-2",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start",children:[(0,r.jsx)("div",{className:"flex-1",onKeyDown:e=>{"Enter"===e.key&&v()},children:(0,r.jsx)(x.pd,{variant:"default",placeholder:"e.g., da3996c8206a4a88af2a3f746c5d3dc2",label:"Image Asset ID",value:e,onCh
1ange:e=>s(e.target.value),leftIcon:(0,r.jsx)(n.A,{className:"size-5 text-light-text"}),helperText:"Enter the asset ID from the Builder.io image URL (the last part after the final % symbol)"})}),(0,r.jsx)("div",{className:"pt-0 sm:pt-[22px]",children:(0,r.jsx)(c.X,{variant:"primary-light",size:"medium",disabled:p,onClick:v,showIcon:!0,icon:p?(0,r.jsx)(m.y,{}):void 0,children:p?"Searchingâ¦":"Search"})})]})}),g&&(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(h.F,{type:"error",description:g})}),p&&(0,r.jsxs)("div",{className:"py-16 text-center",children:[(0,r.jsx)("div",{className:"mb-4 flex justify-center",children:(0,r.jsx)("div",{className:"size-8",children:(0,r.jsxs)("svg",{className:"size-8 animate-spin",fill:"none",viewBox:"0 0 38 37",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"18.9999",cy:"18.5",r:"16",stroke:"#C1E5DB",strokeWidth:"5"}),(0,r.jsx)("path",{d:"M35.0001 18.5C35.0001 16.1782 34.4948 13.8843 33.5192 11.7774C32.5437 9.67049 31.1213 7.80116 29.3509 6.29914C27.5804 4.79713 25.5042 3.69843 23.2665 3.07932C21.0288 2.46021 18.6832 2.33553 16.3925 2.71392",stroke:"#4A786A",strokeWidth:"5"})]})})}),(0,r.jsx)("p",{className:"p1-style",children:"Searching through all Builder.io modelsâ¦"}),(0,r.jsx)("p",{className:"caption mt-1 text-light-text",children:"This may take a minute"})]}),y&&!p&&(0,r.jsxs)("div",{className:"rounded-xl border border-medium-gray bg-white p-6 shadow-float-2",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,r.jsx)("h2",{className:"heading-quinary text-deep-sea",children:"Results"}),(0,r.jsxs)("span",{className:"rounded-full bg-seafoam px-3 py-1 text-sm font-medium text-sage",children:[t.length," page",1!==t.length?"s":""," found"]})]}),0===t.length?(0,r.jsx)("div",{className:"rounded-xl bg-seafoam py-10 text-center",children:(0,r.jsx)("p",{className:"p1-style text-light-text",children:"No pages found containing this image asset."})}):(0,r.jsx)("div",{className:"divide-y divide-medium-gray",children:t.map(e=>(0,r.jsx)("div",{className:"py-4 first:pt-0 last:pb-0",children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("span",{className:"eyebrow inline-block rounded-full bg-mint px-2 py-1 text-forest",children:e.model}),e.title&&(0,r.jsx)("h3",{className:"heading-senary mt-2 text-deep-sea",children:e.title}),e.url&&(0,r.jsxs)("a",{className:"p2-style mt-1 block text-sage underline underline-offset-4 transition-colors hover:text-deep-sea",href:"".concat(o.W6).concat(e.url),rel:"noopener noreferrer",target:"_blank",children:[o.W6,e.url]})]}),(0,r.jsxs)("a",{href:"https://builder.io/content/".concat(e.entryId),target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-flex shrink-0 items-center gap-1.5 rounded-lg border border-sage/30 bg-seafoam px-3 py-1.5 text-sm font-medium text-sage transition-colors hover:border-sage hover:bg-mint hover:text-forest",title:"Open in Builder.io",children:[(0,r.jsx)(d.A,{className:"size-3.5"}),"Open in Builder.io"]})]})},e.entryId))})]})]})})]})}},63200:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},67514:(e,s,t)=>{"use strict";t.d(s,{eK:()=>x,pd:()=>h});var r=t(37876),a=t(14232),i=t(69518),l=t(56732),n=t(30860),d=t(15565);let o={base:"flex w-full bg-white px-4 py-2 text-forest text-base placeholder:text-light-text transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-sage disabled:cursor-not-allowed disabled:opacity-50 md:text-sm focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm border border-medium-gray ",default:"min-h-[56px] rounded-xl",secondary:"h-12 shadow-sm border border-sage/20 rounded-md"},c=(0,i.F)(o.base,{variants:{variant:{default:o.default,secondary:o.secondary}},defaultVariants:{variant:"default"}}),x=a.forwardRef((e,s)=>{let{className:t,children:a,...i}=e;return(0,r.jsx)("p",{ref:s,className:(0,d.cn)("mt-3 text-xs text-gray-500",t),...i,children:a})});x.displayName="FormHelperText";let h=a.forwardRef((e,s)=>{let{className:t,type:i,validationMessage:o,variant:h,label:m,hideLabel:u,rightElement:p,leftIcon:f,helperText:y,required:b,...g}=e,j=a.useId(),[v,N]=(0,a.useState)(!1),w="password"===i,k=w&&v?"text":i;return(0,r.jsxs)("div",{className:"w-full",children:[m&&(0,r.jsxs)("label",{htmlFor:j,className:u?"sr-only":"text-xs font-medium uppercase tracking-wide mb-2",children:[m,b&&(0,r.jsx)("span",{className:"ml-0.5",children:"*"})]}),(0,r.jsxs)("div",{className:"relative",children:[f&&(0,r.jsx)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 pointer-events-none z-10",children:f}),(0,r.jsx)("input",{id:j,type:k,className:(0,d.cn)(c({variant:h}),o&&"border-error border",f&&"pl-12",w&&"pr-12",t),ref:s,...g}),(0,r.jsx)("p",{className:(0,d.cn)("mt-1 fineprint font-medium text-error hidden h-5",o&&"block"),children:o||"\xa0"}),w&&(0,r.jsx)("button",{type:"button",onClick:()=>{N(e=>!e)},className:"absolute right-4 top-[28px] -translate-y-1/2 text-medium-gray hover:text-forest transition-colors focus:outline-none","aria-label":v?"Hide password":"Show password",children:v?(0,r.jsx)(l.A,{size:20}):(0,r.jsx)(n.A,{size:20})}),p&&!w&&(0,r.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2",children:p})]}),y&&(0,r.jsx)(x,{children:y})]})});h.displayName="Input"},75316:(e,s,t)=>{"use strict";t.d(s,{F:()=>x});var r=t(37876),a=t(83981),i=t(11508),l=t(93784),n=t(95159),d=t(28249),o=t(15565);let c={base:"flex w-full rounded-lg p-4",variants:{success:"bg-mint/10 text-forest border rounded-xl border-forest",error:"bg-error text-white border rounded-xl border-error",warning:"bg-yellow-50 text-yellow-900 border rounded-xl border-yellow-900",info:"bg-baby-blue text-navy border rounded-xl border-navy"},icons:{success:a.A,error:i.A,warning:l.A,info:n.A}};function x(e){let{type:s="info",title:t,description:a,showDismiss:i=!1,onDismiss:l,className:n}=e,x=c.icons[s];return(0,r.jsxs)("div",{className:(0,o.cn)(c.base,c.variants[s],n),children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(x,{"aria-hidden":"true",className:"size-5"})}),(0,r.jsxs)("div",{className:"ml-3 grow gap-2",children:[t&&(0,r.jsx)("h4",{className:"text-sm font-medium",children:t}),a&&(0,r.jsx)("div",{className:"text-sm",children:a})]}),i&&(0,r.jsx)("div",{className:"ml-auto pl-3",children:(0,r.jsx)("div",{className:"-m-1.5",children:(0,r.jsxs)("button",{className:(0,o.cn)("inline-flex rounded-md p-1.5","hover:bg-white/20 focu
1s:outline-none focus:ring-2 focus:ring-offset-2","transition-colors duration-200"),type:"button",onClick:l,children:[(0,r.jsx)("span",{className:"sr-only",children:"Dismiss"}),(0,r.jsx)(d.A,{"aria-hidden":"true",className:"size-5"})]})})})]})}},83981:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},93784:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},95016:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools/image-finder",function(){return t(61861)}])},95159:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(51443).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])}},e=>{e.O(0,[8230,636,6593,8792],()=>e(e.s=95016)),_N_E=e.O()}]);
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.