PageSourceSearch

https://knitify.ai/static/js/6860.b55ae3f3.chunk.js

js knitify.ai collected 2026-10-05 14:12:20 UTC 17,998 bytes, 2 lines download raw bytes

1/*! For license information please see 6860.b55ae3f3.chunk.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunkknitify_ai=globalThis.webpackChunkknitify_ai||[]).push([[6860],{46860(e,t,s){s.r(t),s.d(t,{default:()=>U});var n=s(92166),a=s(43830),r=s(6540),i=s(99103),o=s(71823),l=s(1053),d=s(93126),c=s(99519),u=s(34412),h=s(81347),x=s(44487),p=s(49307),A=s(11621),g=s(60881),b=s(77674),j=s(52440),m=s(91289),v=s(87282),y=s(86577),f=s(35605),w=s(87592),C=s(11405),P=s(37218),k=s(3929),S=s(83677),z=s(60082),W=s(61112),F=s(10572),B=s(74178),M=s(84827),R=s(9333),I=s(12425),L=s(39250),T=s(19586),q=s(31523),_=s(20131),$=s(44746),D=s(32699),H=s(38011),N=s(10422);const U=()=>{const{t:e}=(0,H.Bd)(),t=(0,a.Zp)(),[s,U]=(0,n.useState)(!0),[E,O]=(0,n.useState)(!1),[Q,V]=(0,n.useState)(null),[Y,K]=(0,n.useState)(""),[Z,G]=(0,n.useState)(""),[J,X]=(0,n.useState)([]),[ee,te]=(0,n.useState)(!1),[se,ne]=(0,n.useState)(!1),[ae,re]=(0,n.useState)(null),[ie,oe]=(0,n.useState)(""),[le,de]=(0,n.useState)(""),[ce,ue]=(0,n.useState)(!0),[he,xe]=(0,n.useState)(!1),[pe,Ae]=(0,n.use
2State)(null),[ge,be]=(0,n.useState)(null),[je,me]=(0,n.useState)("content"),[ve,ye]=(0,n.useState)([]),[fe,we]=(0,n.useState)([]),[Ce,Pe]=(0,n.useState)(""),[ke,Se]=(0,n.useState)(""),[ze,We]=(0,n.useState)("");(0,n.useEffect)(()=>{Fe()},[]);const Fe=async()=>{try{U(!0);const e=await r.FH.get("/profile/preferences");G(e.data.handler||""),await Be()}catch(e){V("Failed to load data"),i.R.error("PublicBrandPagePosts: Failed to load data",{error:e})}finally{U(!1)}},Be=async()=>{try{te(!0);const e=(await r.FH.get("/brand-content/mine")).data.sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime());X(e)}catch(e){i.R.error("PublicBrandPagePosts: Failed to fetch contents",{error:e}),V("Failed to load contents")}finally{te(!1)}},Me=e=>{e?(re(e),oe(e.title),de(e.content_html),ue(e.viewable),ye(e.faq||[]),we(e.products||[]),Pe(e.meta_description||""),Se(e.url_slug||"")):(re(null),oe(""),de(""),ue(!0),ye([]),we([]),Pe(""),Se("")),me("content"),We(""),ne(!0)},Re=()=>{ne(!1),re(null),oe(""),de(""),ue(!0),ye([]),we([]),Pe(""),Se(""),me("content"),We("")};return s?(0,N.jsx)(o.A,{maxWidth:"lg",children:(0,N.jsx)(l.A,{sx:{display:"flex",justifyContent:"center",py:8},children:(0,N.jsx)(d.A,{})})}):(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(o.A,{maxWidth:"lg",sx:{py:4},children:[(0,N.jsxs)(l.A,{sx:{mb:4},children:[(0,N.jsx)(c.A,{variant:"text",startIcon:(0,N.jsx)(B.A,{size:20}),onClick:()=>t("/apps-hub"),sx:{color:"text.secondary",mb:2},children:e("Back to Apps")}),(0,N.jsx)(u.A,{variant:"h4",fontWeight:700,gutterBottom:!0,children:e("Blog Posts & Articles")}),(0,N.jsx)(u.A,{variant:"body1",color:"text.secondary",children:e("Manage content published to your brand page")})]}),Y&&(0,N.jsx)(h.A,{in:!!Y,children:(0,N.jsx)(x.A,{severity:"success",icon:(0,N.jsx)(M.A,{size:16}),sx:{mb:3},onClose:()=>K(""),children:Y})}),Q&&(0,N.jsx)(h.A,{in:!!Q,children:(0,N.jsx)(x.A,{severity:"error",sx:{mb:3},onClose:()=>V(null),children:Q})}),(0,N.jsxs)(l.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:4},children:[(0,N.jsxs)(u.A,{variant:"h6",fontWeight:600,children:[J.length," ",1===J.length?"Post":"Posts"]}),(0,N.jsx)(c.A,{variant:"contained",startIcon:(0,N.jsx)(_.A,{size:20}),onClick:()=>Me(),sx:{background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)","&:hover":{background:"linear-gradient(135deg, #5568d3 0%, #6a3f92 100%)"}},children:e("Create Post")})]}),ee?(0,N.jsx)(l.A,{sx:{display:"flex",justifyContent:"center",py:8},children:(0,N.jsx)(d.A,{})}):0===J.length?(0,N.jsxs)(p.A,{elevation:0,sx:{p:8,textAlign:"center",border:"2px dashed rgba(0,0,0,0.1)",borderRadius:3},children:[(0,N.jsx)(I.A,{size:48,style:{opacity:.3,marginBottom:16}}),(0,N.jsx)(u.A,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:e("No posts yet")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:3},children:e("Create your first blog post or article to share on your brand page")}),(0,N.jsx)(c.A,{variant:"outlined",startIcon:(0,N.jsx)(_.A,{size:20}),onClick:()=>Me(),children:e("Create Your First Post")})]}):(0,N.jsx)(A.A,{spacing:3,children:J.map(t=>(0,N.jsx)(g.A,{elevation:2,sx:{border:"1px solid rgba(0,0,0,0.08)",borderRadius:2,transition:"all 0.3s ease","&:hover":{boxShadow:"0px 8px 24px rgba(0,0,0,0.1)",transform:"translateY(-2px)"}},children:(0,N.jsx)(b.A,{sx:{p:3},children:(0,N.jsxs)(l.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start"},children:[(0,N.jsxs)(l.A,{sx:{flex:1},children:[(0,N.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:2,mb:2,flexWrap:"wrap"},children:[(0,N.jsx)(u.A,{variant:"h6",fontWeight:600,children:t.title}),(0,N.jsx)(j.A,{label:t.viewable?"Published":"Draft",size:"small",color:t.viewable?"success":"default",sx:{height:24}}),t.viewable&&Z&&(0,N.jsx)(m.A,{title:e("View Published Post"),children:(0,N.jsx)(v.A,{size:"small",onClick:()=>window.open(`/brands/${Z}/posts/${t.url_slug||t.id}`,"_blank"),color:"primary",children:(0,N.jsx)(R.A,{size:16})})})]}),(0,N.jsxs)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:2},children:[t.content_html.replace(/<[^>]*>/g,"").substring(0,200),t.content_html.replace(/<[^>]*>/g,"").length>200?"...":""]}),(0,N.jsxs)(u.A,{variant:"caption",color:"text.secondary",children:[e("Last updated:")," ",new Date(t.updated_at).toLocaleDateString()]})]}),(0,N.jsxs)(l.A,{sx:{display:"flex",gap:2,ml:2,alignItems:"center"},children:[(0,N.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,N.jsx)(u.A,{variant:"caption",color:"text.secondary",children:t.viewable?"Published":"Draft"}),(0,N.jsx)(y.A,{checked:t.viewable,onChange:()=>(async e=>{if(ge===e.id)return;be(e.id);const t=e.viewable,s=!e.viewable;X(J.map(t=>
2t.id===e.id?{...t,viewable:s}:t));try{await r.FH.put(`/brand-content/${e.id}`,{viewable:s}),K(`Content ${s?"published":"unpublished"} successfully!`),setTimeout(()=>K(""),3e3)}catch(o){var n,a;i.R.error("PublicBrandPagePosts: Failed to toggle viewable status",{error:o,contentId:e.id,newViewable:s}),X(J.map(s=>s.id===e.id?{...s,viewable:t}:s));const r=(null===(n=o.response)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.detail)||"Unknown error occurred";V(`Failed to ${s?"publish":"unpublish"} "${e.title}": ${r}`)}finally{be(null)}})(t),disabled:ge===t.id,size:"small",sx:{"& .MuiSwitch-switchBase.Mui-checked":{color:"#10b981"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"#10b981"}}})]}),(0,N.jsx)(f.A,{orientation:"vertical",flexItem:!0,sx:{my:.5}}),(0,N.jsx)(m.A,{title:e("Edit"),children:(0,N.jsx)(v.A,{size:"small",onClick:()=>Me(t),color:"primary",children:(0,N.jsx)(F.A,{size:18})})}),(0,N.jsx)(m.A,{title:e("Delete"),children:(0,N.jsx)(v.A,{size:"small",onClick:()=>{Ae(t),xe(!0)},color:"error",children:(0,N.jsx)($.A,{size:18})})})]})]})})},t.id))})]}),(0,N.jsxs)(w.A,{open:se,onClose:Re,maxWidth:"lg",fullWidth:!0,PaperProps:{sx:{borderRadius:3,maxHeight:"90vh"}},children:[(0,N.jsxs)(C.A,{sx:{pb:0,borderBottom:"1px solid rgba(0,0,0,0.08)"},children:[(0,N.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,N.jsx)(u.A,{variant:"h5",fontWeight:600,children:ae?"Edit Post":"Create New Post"}),(0,N.jsx)(v.A,{onClick:Re,children:(0,N.jsx)(D.A,{size:24})})]}),(0,N.jsxs)(P.A,{value:je,onChange:(e,t)=>
2me(t),sx:{minHeight:48,"& .MuiTab-root":{minHeight:48,textTransform:"none",fontWeight:500,fontSize:16}},children:[(0,N.jsx)(k.A,{label:e("Content"),value:"content",icon:(0,N.jsx)(I.A,{size:16}),iconPosition:"start"}),(0,N.jsx)(k.A,{label:"FAQ",value:"faq",icon:(0,N.jsx)(T.A,{size:16}),iconPosition:"start"}),(0,N.jsx)(k.A,{label:e("Products"),value:"products",icon:(0,N.jsx)(q.A,{size:16}),iconPosition:"start"}),(0,N.jsx)(k.A,{label:"SEO",value:"seo",icon:(0,N.jsx)(L.A,{size:16}),iconPosition:"start"})]})]}),(0,N.jsxs)(S.A,{sx:{p:3,overflow:"auto"},children:["content"===je&&(0,N.jsxs)(A.A,{spacing:3,children:[(0,N.jsx)(z.A,{label:e("Title"),value:ie,onChange:e=>oe(e.target.value),placeholder:e("Enter a compelling title..."),fullWidth:!0,required:!0,inputProps:{maxLength:255}}),(0,N.jsxs)(l.A,{children:[(0,N.jsx)(u.A,{variant:"subtitle2",gutterBottom:!0,children:e("Content (HTML)")}),(0,N.jsx)(z.A,{value:le,onChange:e=>de(e.target.value),placeholder:e("<p>Write your content here...</p>"),multiline:!0,rows:14,fullWidth:!0,required:!0,sx:{"& .MuiInputBase-input":{fontFamily:"monospace",fontSize:14}}}),(0,N.jsx)(u.A,{variant:"caption",color:"text.secondary",sx:{mt:1,display:"block"},children:e("Supported tags: p, br, strong, em, u, h1-h6, ul, ol, li, a, blockquote, code, pre")})]}),(0,N.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,N.jsxs)(l.A,{children:[(0,N.jsx)(u.A,{variant:"body1",fontWeight:600,children:e("Publish to Brand Page")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",children:e("Make this content visible on your public page")})]}),(0,N.jsx)(y.A,{checked:ce,onChange:e=>ue(e.target.checked)})]})]}),"faq"===je&&(0,N.jsxs)(A.A,{spacing:3,children:[(0,N.jsxs)(l.A,{children:[(0,N.jsx)(u.A,{variant:"h6",gutterBottom:!0,children:e("Frequently Asked Questions")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:3},children:e("Add questions and answers to help your readers understand your content better")})]}),ve.map((t,s)=>(0,N.jsxs)(p.A,{elevation:1,sx:{p:2,border:"1px solid rgba(0,0,0,0.08)"},children:[(0,N.jsxs)(l.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[(0,N.jsxs)(u.A,{variant:"subtitle2",fontWeight:600,children:[e("FAQ #"),s+1]}),(0,N.jsx)(v.A,{size:"small",color:"error",onClick:()=>ye(ve.filter((e,t)=>t!==s)),children:(0,N.jsx)($.A,{size:16})})]}),(0,N.jsx)(z.A,{label:e("Question"),value:t.question,onChange:e=>{const t=[...ve];t[s].question=e.target.value,ye(t)},placeholder:e("What is your question?"),fullWidth:!0,sx:{mb:2},inputProps:{maxLength:1e3}}),(0,N.jsx)(z.A,{label:e("Answer"),value:t.answer,onChange:e=>{const t=[...ve];t[s].answer=e.target.value,ye(t)},placeholder:e("Provide a detailed answer..."),multiline:!0,rows:3,fullWidth:!0,inputProps:{maxLength:5e3}})]},s)),(0,N.jsx)(c.A,{variant:"outlined",startIcon:(0,N.jsx)(_.A,{size:18}),onClick:()=>ye([...ve,{question:"",answer:""}]),sx:{alignSelf:"flex-start"},children:e("Add FAQ Item")})]}),"products"===je&&(0,N.jsxs)(A.A,{spacing:3,children:[(0,N.jsxs)(l.A,{children:[(0,N.jsx)(u.A,{variant:"h6",gutterBottom:!0,children:e("Featured Products")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:3},children:e("Showcase products or services mentioned in your content")})]}),fe.map((t,s)=>(0,N.jsxs)(p.A,{elevation:1,sx:{p:2,border:"1px solid rgba(0,0,0,0.08)"},children:[(0,N.jsxs)(l.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[(0,N.jsxs)(u.A,{variant:"subtitle2",fontWeight:600,children:[e("Product #"),s+1]}),(0,N.jsx)(v.A,{size:"small",color:"error",onClick:()=>we(fe.filter((e,t)=>t!==s)),children:(0,N.jsx)($.A,{size:16})})]}),(0,N.jsxs)(A.A,{spacing:2,children:[(0,N.jsx)(z.A,{label:e("Product Name"),value:t.name,onChange:e=>{const t=[...fe];t[s].name=e.target.value,we(t)},placeholder:e("Product or Service Name"),fullWidth:!0,inputProps:{maxLength:500}}),(0,N.jsx)(z.A,{label:e("Product URL"),value:t.link,onChange:e=>{const t=[...fe];t[s].link=e.target.value,we(t)},placeholder:"https://example.com/product",fullWidth:!0,inputProps:{maxLength:2e3}}),(0,N.jsx)(z.A,{label:e("Description"),value:t.description,onChange:e=>{const t=[...fe];t[s].description=e.target.value,we(t)},placeholder:e("Brief description of the product..."),multiline:!0,rows:2,fullWidth:!0,inputProps:{maxLength:5e3}})]})]},s)),(0,N.jsx)(c.A,{variant:"outlined",startIcon:(0,N.jsx)(_.A,{size:18}),onClick:()=>we([...fe,{name:"",link:"",description:""}]),sx:{alignSelf:"flex-start"},children:e("Add Product")})]}),"seo"===je&&(0,N.jsxs)(A.A,{spacing:3,children:[(0,N.jsxs)(l.A,{children:[(0,N.jsx)(u.A,{variant:"h6",gutterBottom:!0,children:e("Search Engine Optimization")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:3},children:e("Optimize how your content appears in search results and when shared on social media")})]}),(0,N.jsx)(l.A,{children:(0,N.jsx)(z.A,{label:e("Meta Description"),value:Ce,onChange:e=>Pe(e.target.value),placeholder:e("A brief summary of this content (150-160 characters recommended)"),multiline:!0,rows:3,fullWidth:!0,inputProps:{maxLength:200},helperText:`${Ce.length}/200 characters - This appears in search results and social media previews`})}),(0,N.jsx)(l.A,{children:(0,N.jsx)(z.A,{label:e("URL Slug"),value:ke,onChange:e=>{const t=e.target.value.toLowerCase().replace(/[^a-z0-9-]/g,"");Se(t),We("")},placeholder:e("my-seo-friendly-url"),fullWidth:!0,error:!!ze,helperText:ze||(ke?`Your post URL: /brands/${Z||"your-handler"}/posts/${ke}`:"Create a SEO-friendly URL for this post (lowercase, hyphens, no spaces)"),inputProps:{maxLength:100}})}),(0,N.jsxs)(p.A,{elevation:0,sx:{p:2,bgcolor:"rgba(102, 126, 234, 0.05)",border:"1px solid rgba(102, 126, 234, 0.2)",borderRadius:2},children:[(0,N.jsx)(u.A,{variant:"subtitle2",fontWeight:600,gutterBottom:!0,children:e("SEO Tips")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:e("\u2022 Meta descriptions should be compelling and accurately describe your content")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:e("\u2022 Keep URL slugs short, descriptive, and keyword-rich")}),(0,N.jsx)(u.A,{variant:"body2",color:"text.secondary",children:e("\u2022 Use hyphens (-) to separate words in URL slugs, not underscores")})]})]})]}),(0,N.jsxs)(W.A,{sx:{p:3,pt:2,borderTop:"1px solid rgba(0,0,0,0.08)"},children:[(0,N.jsx)(c.A,{onClick:Re,variant:"outlined",children:e("Cancel")}),(0,N.jsx)(c.A,{onClick:async()=>{try{if(O(!0),V(null),ke&&!/^[a-z0-9-]+$/.test(ke))return We("URL slug can only contain lowercase letters, numbers, and hyphens"),void O(!1);
2const e={title:ie,content_html:le,viewable:ce};ve.length>0&&(e.faq=ve.filter(e=>e.question.trim()&&e.answer.trim())),fe.length>0&&(e.products=fe.filter(e=>e.name.trim()&&e.link.trim()&&e.description.trim())),Ce.trim()&&(e.meta_description=Ce.trim()),ke.trim()&&(e.url_slug=ke.trim()),ae?(await r.FH.put(`/brand-content/${ae.id}`,e),K("Content updated successfully!")):(await r.FH.post("/brand-content",e),K("Content created successfully!")),setTimeout(()=>K(""),3e3),Re(),Be()}catch(s){var e,t;i.R.error("PublicBrandPagePosts: Failed to save content",{error:s,isEdit:!!ae}),V((null===(e=s.response)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.detail)||"Failed to save content")}finally{O(!1)}},variant:"contained",disabled:!ie.trim()||!le.trim()||E,startIcon:E?(0,N.jsx)(d.A,{size:16}):(0,N.jsx)(M.A,{size:16}),sx:{background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)","&:hover":{background:"linear-gradient(135deg, #5568d3 0%, #6a3f92 100%)"}},children:E?"Saving...":ae?"Update Post":"Create Post"})]})]}),(0,N.jsxs)(w.A,{open:he,onClose:()=>xe(!1),maxWidth:"xs",fullWidth:!0,children:[(0,N.jsx)(C.A,{children:e("Delete Post?")}),(0,N.jsx)(S.A,{children:(0,N.jsxs)(u.A,{children:[e('Are you sure you want to delete "'),null===pe||void 0===pe?void 0:pe.title,e('"? This action cannot be undone.')]})}),(0,N.jsxs)(W.A,{sx:{p:3,pt:2},children:[(0,N.jsx)(c.A,{onClick:()=>xe(!1),variant:"outlined",children:e("Cancel")}),(0,N.jsx)(c.A,{onClick:async()=>{if(pe)try{O(!0),V(null),await r.FH.delete(`/brand-content/${pe.id}`),K("Content deleted successfully!"),setTimeout(()=>K(""),3e3),xe(!1),Ae(null),Be()}catch(s){var e,t;i.R.error("PublicBrandPagePosts: Failed to delete content",{error:s,contentId:null===pe||void 0===pe?void 0:pe.id}),V((null===(e=s.response)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.detail)||"Failed to delete content")}finally{O(!1)}},variant:"contained",color:"error",disabled:E,children:E?"Deleting...":"Delete"})]})]})]})}},60881(e,t,s){s.d(t,{A:()=>b});var n=s(78621),a=s(69244),r=s(92166),i=s(24178),o=s(30774),l=s(17562),d=s(94795),c=s(49307),u=s(83096),h=s(60168);function x(e){return(0,h.Ay)("MuiCard",e)}(0,u.A)("MuiCard",["root"]);var p=s(10422);const A=["className","raised"],g=(0,l.Ay)(c.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),b=r.forwardRef(function(e,t){const s=(0,d.b)({props:e,name:"MuiCard"}),{className:r,raised:l=!1}=s,c=(0,a.A)(s,A),u=(0,n.A)({},s,{raised:l}),h=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},x,t)})(u);return(0,p.jsx)(g,(0,n.A)({className:(0,i.A)(h.root,r),elevation:l?8:void 0,ref:t,ownerState:u},c))})},77674(e,t,s){s.d(t,{A:()=>g});var n=s(78621),a=s(69244),r=s(92166),i=s(24178),o=s(30774),l=s(17562),d=s(94795),c=s(83096),u=s(60168);function h(e){return(0,u.Ay)("MuiCardContent",e)}(0,c.A)("MuiCardContent",["root"]);var x=s(10422);const p=["className","component"],A=(0,l.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),g=r.forwardRef(function(e,t){const s=(0,d.b)({props:e,name:"MuiCardContent"}),{className:r,component:l="div"}=s,c=(0,a.A)(s,p),u=(0,n.A)({},s,{component:l}),g=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},h,t)})(u);return(0,x.jsx)(A,(0,n.A)({as:l,className:(0,i.A)(g.root,r),ownerState:u,ref:t},c))})},74178(e,t,s){s.d(t,{A:()=>n});const n=(0,s(75681).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},19586(e,t,s){s.d(t,{A:()=>n});const n=(0,s(75681).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])},10572(e,t,s){s.d(t,{A:()=>n});const n=(0,s(75681).A)("pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])}}]);

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.