PageSourceSearch

https://www.skribil.ai/_next/static/chunks/5337.ee6f5a340e6de6df.js

js skribil.ai collected 2026-10-05 13:33:47 UTC 20,687 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5337],{60493:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},78865:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},4307:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},18289:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},12779:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},82606:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Loader",[["line",{x1:"12",x2:"12",y1:"2",y2:"6",key:"gza1u7"}],["line",{x1:"12",x2:"12",y1:"18",y2:"22",key:"1qhbu9"}],["line",{x1:"4.93",x2:"7.76",y1:"4.93",y2:"7.76",key:"xae44r"}],["line",{x1:"16.24",x2:"19.07",y1:"16.24",y2:"19.07",key:"bxnmvf"}],["line",{x1:"2",x2:"6",y1:"12",y2:"12",key:"89khin"}],["line",{x1:"18",x2:"22",y1:"12",y2:"12",key:"pb8tfm"}],["line",{x1:"4.93",x2:"7.76",y1:"19.07",y2:"16.24",key:"1uxjnu"}],["line",{x1:"16.24",x2:"19.07",y1:"7.76",y2:"4.93",key:"6duxfx"}]])},15452:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},90163:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},69819:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Save",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]])},23603:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]])},19683:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z",key:"s6e0r"}]])},52099:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(63759).Z)("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z",key:"y3tblf"}]])},74695:function(e,t,n){n.r(t),n.d(t,{default:function(){return H}});var s=n(85893),a=n(67294),r=n(11163),l=n(13410),i=n(22155),c=n(39752),o=n(36197);let d="content-humanizer-free-usage";function m(){return new Date().toISOString().slice(0,10)}function u(){try{let e=localStorage.getItem(d);if(!e)return{date:m(),count:0};let t=JSON.parse(e);if(t.date!==m())return{date:m(),count:0};return t}catch(e){return{date:m(),count:0}}}var x=n(83582),h=n(50897),g=n(60493),p=n(33058),y=n(82606),f=n(43832),b=n(15928),j=n(90163),v=n(12779),N=n(66876),w=n(89346),C=n(12587),k=n(22936),Z=n(84450),z=n(62190),S=n(83989);let T=["Unlimited Content Humanizer use","Content Creator included — generate content that never needs humanizing","Always human, authentic, and on-brand"];var A=e=>{let{isOpen:t,onClose:n,trialUrl:a="/checkout?plan=humanizer",title:l="You’ve hit today’s free limit.",subtitle:i="Want unlimited humanizing with zero daily caps? Upgrade for just $12/month and humanize as much as you want—plus unlock Content Creator, so you can create better content from the start instead of fixing robotic AI output after the fact."}=e,c=(0,r.useRouter)();return t?(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm px-4",onClick:n,role:"dialog","aria-modal":"true",children:(0,s.jsxs)("div",{className:"relative w-full max-w-lg rounded-2xl bg-white p-8 shadow-2xl ring-1 ring-green-200",onClick:e=>e.stopPropagation(),children:[(0,s.jsx)("button",{type:"button",onClick:n,"aria-label":"Close",className:"absolute right-4 top-4 text-gray-400 hover:text-gray-600",children:(0,s.jsx)(z.Z,{className:"h-5 w-5"})}),(0,s.jsxs)("div",{className:"mb-6 text-center",children:[(0,s.jsxs)("div",{className:"mb-3 inline-flex items-center rounded-full bg-green-50 px-3 py-1 text-xs font-semibold text-green-700",children:[(0,s.jsx)(p.Z,{className:"mr-1 h-3 w-3"}),"Content Humanizer + Creator."]}),(0,s.jsx)("h2",{className:"mb-2 text-2xl font-bold text-gray-900",children:l}),(0,s.jsx)("p",{className:"text-gray-600",children:i})]}),(0,s.jsx)("div",{className:"mb-6 space-y-3",children:T.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-start",children:[(0,s.jsx)(g.Z,{className:"mr-3 mt-0.5 h-5 w-5 flex-shrink-0 text-green-500"}),(0,s.jsx)("span",{className:"text-sm text-gray-700",children:e})]},t))}),(0,s.jsxs)("button",{type:"button",onClick:()=>{c.push(a)},className:"inline-flex w-full items-center justify-center rounded-lg bg-green-600 px-6 py-3 font-semibold text-white hover:bg-green-700",children:["Get Unlimited for $12/month ",(0,s.jsx)(S.Z,{className:"ml-2 h-4 w-4"})]}),(0,s.jsx)("button",{type:"button",onClick:n,className:"mt-3 w-full text-center text-sm text-gray-500 hover:text-gray-700",children:"Maybe Later"}),(0,s.jsx)("p",{className:"mt-4 text-center text-xs text-gray-400",children:"Cancel anytime"})]})}):null},H=()=>{var e,t,n,z,S,T,H,I;let q=(0,r.useRouter)(),{showNotification:R}=(0,l.l)(),{writingStyle:M,isStyleConfigured:D}=(0,i.o)(),{call:L}=(0,c.k)(),O=function(){let{isAuthenticated:e,loading:t}=(0,o.a)(),[n,s]=(0,a.useState)(null),[r,l]=(0,a.useState)(0),i=(0,a.useCallback)(async()=>{try{let t=await fetch("/api/free-tier/content-humanizer",{method:"GET"});if(t.ok){var e;let n=await t.json();s(null!==(e=n.used)&&void 0!==e?e:0)}}catch(e){}},[]);(0,a.useEffect)(()=>{e||t||(l(u().count),i())},[e,t,i]),(0,a.useEffect)(()=>{e||t||l(u().count)}
1,[e,t]);let c=(0,a.useCallback)(()=>{if(e)return;let t=function(){let e=u().count+1;return!function(e){try{localStorage.setItem(d,JSON.stringify({date:m(),count:e}))}catch(e){}}(e),e}();l(t),s(e=>null!==e?e+1:t)},[e]);if(e||t)return{hasLimit:!1,used:0,limit:0,canRequest:!0,recordSuccess:()=>{},refresh:async()=>{}};let x=null!==n?n:r;return{hasLimit:!0,used:x,limit:2,canRequest:x<2,recordSuccess:c,refresh:i}}(),F=(0,a.useRef)(null),[U,E]=(0,a.useState)(""),[G,P]=(0,a.useState)(null),[V,_]=(0,a.useState)(!1),[Y,$]=(0,a.useState)(""),[W,J]=(0,a.useState)(!1),[B,Q]=(0,a.useState)(!1),[K,X]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(q.isReady){let e=q.query.text;e&&"string"==typeof e&&$(decodeURIComponent(e))}},[q.isReady,q.query.text]);let[ee,et]=(0,a.useState)(""),[en,es]=(0,a.useState)(!1),ea=async()=>{if(!Y.trim()){R("Please enter or upload text to humanize","error");return}if(O.hasLimit&&!O.canRequest){X(!0);return}_(!0),E(Y),P(null);try{let e=await x.Z.getAllStrategicData(),t=await L("humanize",{content:Y,parameters:{styleGuideParameters:M||null,strategicData:e}});console.log("✅ API Response:",t);let n=Y.split(/\s+/).length,s=(t.content||Y).split(/\s+/).length,a={humanizedText:t.content||Y,summary:{aiPatternsRemoved:!0,sentenceVariationAdded:!0,contractionsAdded:!0,passiveVoiceReduced:!0,wordCountChange:s-n,mainChanges:["Removed AI writing patterns","Added natural sentence variation","Improved conversational tone"]},changeDetails:(t.suggestions||[]).map(e=>({original:e.original,suggestion:e.suggestion,reason:e.reason,type:e.type||"humanization"}))};P(a),R("✨ Content humanized successfully!","success"),O.recordSuccess(),setTimeout(()=>{var e;null===(e=F.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},300)}catch(e){console.error("❌ Error humanizing text:",e),e instanceof Error&&429===e.status?(O.refresh(),X(!0)):402===e.status&&console.log("Subscription required - modal already displayed")}finally{_(!1)}},er=e=>{if(!G){R("No humanized text to export","error");return}let t="humanized-text-".concat(new Date().toISOString().slice(0,10));try{switch(e){case"txt":default:(0,h.QM)(G.humanizedText,"".concat(t,".txt"));break;case"pdf":(0,h.Fk)(G.humanizedText,"".concat(t,".pdf"));break;case"docx":(0,h.uk)(G.humanizedText,"".concat(t,".docx"))}R("Text exported as ".concat(e.toUpperCase()),"success"),J(!1)}catch(e){console.error("Export error:",e),R("Export failed. Please try again.","error")}};return(0,s.jsxs)("div",{className:"space-y-8",children:[D&&(0,s.jsxs)(w.Zb,{className:"border-2 border-green-200",children:[(0,s.jsx)(w.Ol,{className:"bg-green-50 pb-6",children:(0,s.jsxs)(w.ll,{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-5 h-5 text-green-600 mr-2"}),(0,s.jsx)("span",{children:"Using Your Style Guide Settings"})]})}),(0,s.jsx)(w.aY,{className:"p-4",children:(0,s.jsxs)("div",{className:"text-sm text-green-700",children:["Style Guide: ",null==M?void 0:null===(e=M.styleGuide)||void 0===e?void 0:e.primary," • Headings:"," ",(null==M?void 0:null===(t=M.formatting)||void 0===t?void 0:t.headingCase)==="upper"?"ALL CAPS":(null==M?void 0:null===(n=M.formatting)||void 0===n?void 0:n.headingCase)==="lower"?"lowercase":(null==M?void 0:null===(z=M.formatting)||void 0===z?void 0:z.headingCase)==="sentence"?"Sentence case":"Title Case",(null==M?void 0:null===(S=M.punctuation)||void 0===S?void 0:S.oxfordComma)!==void 0&&" • Oxford Comma: ".concat(M.punctuation.oxfordComma?"Used":"Omitted")]})})]}),(0,s.jsxs)(w.Zb,{children:[(0,s.jsx)(w.Ol,{children:(0,s.jsxs)(w.ll,{className:"flex items-center justify-between flex-wrap gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(p.Z,{className:"w-6 h-6 text-blue-600 mr-2"}),"Humanize AI-Generated Content"]}),O.hasLimit&&(0,s.jsx)("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm font-medium ".concat(O.canRequest?"bg-blue-100 text-blue-800":"bg-amber-100 text-amber-800"),children:O.canRequest?"".concat(O.limit-O.used," of ").concat(O.limit," free requests left today"):(0,s.jsx)("span",{className:"inline-flex items-center gap-1 flex-wrap",children:"Free limit reached (0/2 requests left today)"})})]})}),(0,s.jsxs)(w.aY,{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"bg-blue-50 p-4 rounded-lg mb-4",children:[(0,s.jsx)("h3",{className:"font-medium text-blue-800 mb-2",children:"What This Tool Does"}),(0,s.jsx)("p",{className:"text-sm text-blue-700",children:"Transforms AI-generated content into natural, human-like writing by removing robotic patterns, adding conversational elements, and improving flow while maintaining your message and style guide compliance."})]}),(0,s.jsx)("div",{className:"border-t pt-6",children:(0,s.jsx)(N.Z,{onContentLoaded:e=>{"string"==typeof e?($(e),R("File content loaded successfully","success")):($(JSON.stringify(e,null,2)),R("Structured content loaded successfully","success"))},content:""})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium mb-2",children:"Content to Humanize"}),(0,s.jsx)("textarea",{value:Y,onChange:e=>$(e.target.value),className:"w-full h-64 p-3 border rounded-lg focus:ring-2 focus:ring-blue-500",placeholder:"Paste your AI-generated content here, or upload a file above..."})]}),(0,s.jsxs)("div",{className:"flex justify-end space-x-4",children:[(0,s.jsx)("button",{onClick:()=>{$(""),E(""),P(null),et(""),Q(!1)},className:"px-4 py-2 text-sm text-gray-600 hover:text-gray-700 font-medium",children:"Clear All"}),(0,s.jsx)("button",{onClick:ea,disabled:V||!Y.trim(),className:"px-6 py-2 bg-blue-600 text-white rounded-md font-medium hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed flex items-center",children:V?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y.Z,{className:"w-4 h-4 mr-2 animate-spin"}),"Humanizing Your Content..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.Z,{className:"w-4 h-4 mr-2"}),"Humanize Content"]})})]})]})]}),G&&(0,s.jsxs)("div",{ref:F,className:"space-y-8",children:[(0,s.jsxs)(w.Zb,{className:"border-2 border-green-300",children:[(0,s.jsx)(w.Ol,{className:"bg-green-50 pb-6",children:(0,s.jsxs)(w.ll,{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-6 h-6 text-green-600 mr-2"}),(0,s.jsx)("span",{children:"✨ Content Humanized Successfully"})]}),(0,s.jsxs)("div",{className:"flex space-x-2",children:[(0,s.jsxs)("button",{onClick:()=>Q(!B),className:"px-3 py-1 text-sm border border-gray-300 rounded-md hover:bg-gray-50 flex items-center",children:[B?(0,s.jsx)(f.Z,{className:"w-4 h-4 mr-1"}):(0,s.jsx)(b.Z,{className:"w-4 h-4 mr-1"}),B?"Hide":"Show"," Original"]}),(0,s.jsxs)("button",{onClick:()=>{P(null),Q(!1),R("Reverted to original text","info")},className:"px-3 py-1 text-sm border border-gray-300 rounded-md hover:bg-gray-50 flex items-center",children:[(0,s.jsx)(j.Z,{className:"w-4 h-4 mr-1"}),"Revert"]})]})]})}),(0,s.jsx)(w.aY,{className:"p-4",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-medium text-gray-800 mb
1-2",children:"Humanization Improvements:"}),(0,s.jsxs)("ul",{className:"space-y-1 text-sm text-gray-700",children:[(0,s.jsxs)("li",{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-4 h-4 text-green-600 mr-2"}),"Removed robotic AI writing patterns"]}),(0,s.jsxs)("li",{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-4 h-4 text-green-600 mr-2"}),"Added natural sentence variation"]}),(0,s.jsxs)("li",{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-4 h-4 text-green-600 mr-2"}),"Improved conversational flow"]}),G.summary.mainChanges.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center",children:[(0,s.jsx)(g.Z,{className:"w-4 h-4 text-green-600 mr-2"}),e]},t))]})]}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsxs)("div",{className:"text-2xl font-bold text-gray-800",children:[U.split(/\s+/).length," →"," ",G.humanizedText.split(/\s+/).length]}),(0,s.jsx)("div",{className:"text-sm text-gray-600",children:"Word Count"}),0!==G.summary.wordCountChange&&(0,s.jsxs)("div",{className:"text-sm ".concat(G.summary.wordCountChange>0?"text-blue-600":"text-green-600"),children:[G.summary.wordCountChange>0?"+":"",G.summary.wordCountChange," words"]})]})]})})]}),B&&(0,s.jsxs)(w.Zb,{className:"border-2 border-gray-300",children:[(0,s.jsx)(w.Ol,{className:"bg-gray-50",children:(0,s.jsx)(w.ll,{children:"Original AI-Generated Text"})}),(0,s.jsx)(w.aY,{className:"p-6",children:(0,s.jsx)("div",{className:"bg-white p-6 rounded-lg border",style:{fontFamily:'Calibri, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif',lineHeight:"1.6",fontSize:"11pt",color:"#333"},children:U.split("\n").filter(e=>e.trim()).map((e,t)=>(0,s.jsx)("p",{style:{margin:t>0?"12pt 0":"0 0 12pt 0",textIndent:"0pt",lineHeight:"1.6"},children:e},t))})})]}),(0,s.jsxs)(w.Zb,{className:"border-2 border-blue-300",children:[(0,s.jsx)(w.Ol,{className:"bg-blue-50 pb-6",children:(0,s.jsxs)(w.ll,{className:"flex justify-between items-center",children:[(0,s.jsx)("span",{children:"\uD83C\uDF89 Your Humanized Content"}),(0,s.jsxs)("div",{className:"flex space-x-2",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{onClick:()=>J(!W),className:"px-3 py-1 text-sm border border-gray-300 rounded-md hover:bg-gray-50 flex items-center",children:[(0,s.jsx)(v.Z,{className:"w-4 h-4 mr-1"}),"Export"]}),W&&(0,s.jsxs)("div",{className:"absolute right-0 mt-2 w-48 bg-white border rounded-md shadow-lg z-10",children:[(0,s.jsx)("button",{onClick:()=>er("txt"),className:"block w-full text-left px-4 py-2 text-sm hover:bg-gray-100",children:"Plain Text (.txt)"}),(0,s.jsx)("button",{onClick:()=>er("pdf"),className:"block w-full text-left px-4 py-2 text-sm hover:bg-gray-100",children:"PDF (.pdf)"}),(0,s.jsx)("button",{onClick:()=>er("docx"),className:"block w-full text-left px-4 py-2 text-sm hover:bg-gray-100",children:"Word (.docx)"})]})]}),(0,s.jsx)(Z.Z,{content:G.humanizedText,title:"Humanized Text",contentType:"content-humanizer",className:"px-3 py-1 bg-purple-600 text-white rounded-lg hover:bg-purple-700 flex items-center text-sm"})]})]})}),(0,s.jsx)(w.aY,{className:"p-6",children:(0,s.jsx)("div",{className:"bg-white p-8 rounded-lg border border-gray-200 shadow-sm",style:{fontFamily:'Calibri, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif',lineHeight:"1.6",fontSize:"11pt",color:"#333"},children:(0,s.jsx)("div",{style:{textAlign:"justify"},children:G.humanizedText.replace(/\*\*(.*?)\*\*/g,"$1").replace(/__(.*?)__/g,"$1").replace(/\*(.*?)\*/g,"$1").replace(/_(.*?)_/g,"$1").replace(/^#{1,6}\s+/gm,"").replace(/^\s*[-*+]\s+/gm,"• ").replace(/^\s*\d+\.\s+/gm,"").replace(/```[\s\S]*?```/g,"").replace(/`([^`]+)`/g,"$1").replace(/\n\s*\n\s*\n/g,"\n\n").trim().split("\n").filter(e=>e.trim()).map((e,t)=>(0,s.jsx)("p",{style:{margin:t>0?"12pt 0":"0 0 12pt 0",textIndent:"0pt",lineHeight:"1.6"},children:e},t))})})})]}),(0,s.jsx)(C.Z,{changes:G.changeDetails,title:"\uD83C\uDFAF What I Humanized",showByDefault:!1,className:"mb-8"}),(0,s.jsx)(k.Z,{content:G.humanizedText,contentType:"humanized-content",onContentUpdate:(e,t)=>
1{G&&P({...G,humanizedText:e}),R("Content updated successfully","success")}})]}),D&&G&&(0,s.jsx)(w.Zb,{className:"p-4 bg-green-50 border border-green-200",children:(0,s.jsxs)("div",{className:"flex items-center text-sm text-gray-600",children:[(0,s.jsx)(g.Z,{className:"w-4 h-4 mr-2 text-green-600"}),(0,s.jsxs)("span",{children:["Content humanized using ",null==M?void 0:null===(T=M.styleGuide)||void 0===T?void 0:T.primary," style guide",(null==M?void 0:null===(H=M.formatting)||void 0===H?void 0:H.headingCase)==="upper"&&" with ALL CAPS headings",(null==M?void 0:null===(I=M.formatting)||void 0===I?void 0:I.numberFormat)==="numerals"&&" and numerical format","."]})]})}),(0,s.jsx)(A,{isOpen:K,onClose:()=>X(!1),trialUrl:"/checkout?plan=humanizer"})]})}},12587:function(e,t,n){var s=n(85893),a=n(67294),r=n(42171),l=n(4307);t.Z=e=>{let{changes:t,title:n="What Changed",showByDefault:i=!1,className:c=""}=e,[o,d]=(0,a.useState)(i);return t&&0!==t.length?(0,s.jsxs)("div",{className:"border border-gray-200 rounded-lg ".concat(c),children:[(0,s.jsx)("button",{onClick:()=>d(!o),className:"w-full px-4 py-3 flex items-center justify-between text-left hover:bg-gray-50 transition-colors",children:(0,s.jsxs)("div",{className:"flex items-center",children:[o?(0,s.jsx)(r.Z,{className:"w-4 h-4 mr-2 text-gray-500"}):(0,s.jsx)(l.Z,{className:"w-4 h-4 mr-2 text-gray-500"}),(0,s.jsx)("span",{className:"font-medium text-gray-800",children:n}),(0,s.jsxs)("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.length," change",1!==t.length?"s":"",")"]})]})}),o&&(0,s.jsx)("div",{className:"border-t border-gray-200 px-4 py-3 space-y-3",children:t.map((e,t)=>(0,s.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,s.jsx)("div",{className:"flex items-start justify-between mb-2",children:(0,s.jsx)("span",{className:"px-2 py-1 text-xs rounded-full font-medium ".concat("improvement"===e.type?"bg-blue-100 text-blue-800":"addition"===e.type?"bg-green-100 text-green-800":"statistical"===e.type?"bg-purple-100 text-purple-800":"refinement"===e.type?"bg-orange-100 text-orange-800":"bg-gray-100 text-gray-800"),children:e.type})}),(0,s.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-medium text-red-600",children:"Before:"}),(0,s.jsxs)("div",{className:"mt-1 p-2 bg-red-50 border-l-2 border-red-200 text-gray-700",children:['"',e.original,'"']})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-medium text-green-600",children:"After:"}),(0,s.jsxs)("div",{className:"mt-1 p-2 bg-green-50 border-l-2 border-green-200 text-gray-700",children:['"',e.suggestion,'"']})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-medium text-gray-600",children:"Reason:"}),(0,s.jsx)("div",{className:"mt-1 text-gray-600",children:e.reason})]})]})]},t))})]}):null}}}]);

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.