PageSourceSearch

https://julieapp.web.app/_next/static/chunks/pages/my_subscription-4c9543fa0f10b966.js

js julieapp.web.app collected 2026-10-03 12:28:44 UTC 17,462 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4d135dca-319c-475d-a78a-bdf25bb6f333",e._sentryDebugIdIdentifier="sentry-dbid-4d135dca-319c-475d-a78a-bdf25bb6f333")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3090],{40491:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my_subscription",function(){return n(88897)}])},88897:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return O}});var i=n(85893),o=n(80158),l=n(48099),r=n(8658),a=n(31812),s=n(59979),c=n(94246),d=n(50280),u=n(14440),p=n(59505),x=n(67294),v=n(1653),m=n(55167),h=n(35465);function g(e){var t;let{product:n,productAmount:s,currency:d,period:p,intervalCount:v,title:g,customerId:f,onClick:y,renewDate:b,coupon:j,subscriptionId:C,buttonText:_,cancelAtPeriodEnd:w,cancelledDate:S,secondaryTextColor:Z,primaryTextColor:D,ctaColor:k,ctaFontColor:I,trialDayPending:E}=e,{i18n:P,language:T}=(0,o.CG)(e=>e.config),F=new Date(null!=b?b:Date.now());F.setDate(F.getDate());let W=new Date(null!=S?S:Date.now());W.setDate(W.getDate());let[L,N]=(0,x.useState)(0),[B,U]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{(async function(){if(C)try{U(!0);let e=await (0,m.qg)(f,C);N(e)}catch(e){}finally{U(!1)}})()},[C,f]),(0,i.jsx)(u.Z,{py:4,children:B?(0,i.jsx)(i.Fragment,{}):(0,i.jsxs)(h.Z,{direction:{xs:"column",lg:"row"},justifyContent:"space-between",alignItems:"center",minHeight:{xs:150,lg:100},children:[(0,i.jsx)(c.Z,{align:"center",variant:"h5",color:D,children:(0,r.i)({i18nDocs:P,language:T,text:g})}),(0,i.jsxs)(c.Z,{variant:"h5",sx:{fontWeight:"bold",color:D,paddingLeft:2},children:[E&&E>=0&&(0,i.jsxs)(c.Z,{variant:"body2",component:"div",color:D,children:[E," ",E>1?(0,r.i)({i18nDocs:P,language:T,text:"days"}):(0,r.i)({i18nDocs:P,language:T,text:"day"})," ",(0,r.i)({i18nDocs:P,language:T,text:"free trial then"})]}),(0,l.QQ)(d),s,(0,i.jsxs)(c.Z,{align:"center",component:"span",color:D,children:[p?(null!=v?v:0)>1?" ".concat((0,r.i)({i18nDocs:P,language:T,text:"every"})," ").concat(v," "):"/":"",p?v&&v>1?(0,r.i)({i18nDocs:P,language:T,text:"".concat(p,"s")}):(0,r.i)({i18nDocs:P,language:T,text:null!=p?p:""}):" ".concat((0,r.i)({i18nDocs:P,language:T,text:"One Time"}))]}),w&&S&&(0,i.jsxs)(c.Z,{variant:"caption",component:"div",color:Z,children:[(0,r.i)({i18nDocs:P,language:T,text:"Cancelled on"}),":"," ",W.toLocaleDateString()]}),w?(0,i.jsxs)(c.Z,{variant:"caption",component:"div",color:Z,children:[(0,r.i)({i18nDocs:P,language:T,text:"Subscription ends on"}),": ",F.toLocaleDateString()]}):b&&(0,i.jsxs)(c.Z,{variant:"caption",component:"div",color:Z,children:[(0,r.i)({i18nDocs:P,language:T,text:"Renew on"}),":"," ",F.toLocaleDateString()]}),void 0!=C&&!w&&(0,i.jsxs)(c.Z,{variant:"caption",component:"div",color:Z,children:[(0,r.i)({i18nDocs:P,language:T,text:"Renewal Price"}),":"," ",(0,l.QQ)(d),(0,l.gQ)(d)?L/100:L]}),void 0!=j&&Object.keys(null!=j?j:{}).length>0?(0,i.jsxs)(c.Z,{variant:"caption",component:"div",color:Z,children:[(0,r.i)({i18nDocs:P,language:T,text:"Discount coupon"}),": ",null==j?void 0:null===(t=j.coupon)||void 0===t?void 0:t.name,"."]}):(0,i.jsx)(i.Fragment,{})]}),(0,i.jsx)(a.Z,{variant:"contained",onClick:w?void 0:y,sx:{minWidth:220,textTransform:"none",color:I,backgroundColor:k,":hover":{bgcolor:k}},size:"large",children:w?(0,r.i)({i18nDocs:P,language:T,text:"Cancelled"}):(0,r.i)({i18nDocs:P,language:T,text:_})})]})})}var f=n(11163),y=n(67748),b=n(12208),j=n(86664),C=n(2859),_=n(97353),w=n(64864),S=n(49346),Z=n(9131),D=n(37895),k=n(39424);function I(e){var t,n;let{open:l,onClose:s,defaultPaymentMethod:p}=e,v=(0,o.CG)(e=>e.config),h=(0,o.CG)(e=>e.auth),g=(0,o.TL)(),f=(0,j.useElements)(),y=(0,j.useStripe)(),{appUser:C}=h,{paywall:I,i18n:E,language:P}=v,{cta_font_color:T}=null!==(n=null==I?void 0:I.theme)&&void 0!==n?n:{},[F,W]=(0,x.useState)(!1),[L,N]=(0,x.useState)(!1),[B,U]=(0,x.useState)("");(0,x.useEffect)(()=>{U("")},[]);let A=async e=>{e.preventDefault(),N(!0),D.n({message:"Clicked on Update Card Details",level:"info"}),await (0,m.CX)(),(0,m.Rp)().then(async t=>{if(e.preventDefault(),null==f||null==y)return;let n=f.getElement(j.CardElement),{error:i,setupIntent:o}=await y.confirmCardSetup(t.setupIntent,{payment_method:{card:n,billing_details:{name:"".concat(null==C?void 0:C.firstName," ").concat(null==C?void 0:C.lastName)}}});if(i){D.n({message:"Card Error:: ".concat(i.message),data:i,level:"info"});
1let e=(0,r.i)({i18nDocs:E,language:P,text:"Unable to process card. Please try again later."});if("card_error"===i.type){var l;e=null!==(l=i.message)&&void 0!==l?l:(0,r.i)({i18nDocs:E,language:P,text:"Unable to process card. Please try again later."})}let t={message:(0,r.i)({i18nDocs:E,language:P,text:e}),open:!0,severity:"error"};g((0,b.ss)(t)),N(!1),U(e);return}{await (0,m.XW)(null==o?void 0:o.payment_method);let e={message:(0,r.i)({i18nDocs:E,language:P,text:"Card Updated"}),open:!0,severity:"success"};g((0,b.ss)(e)),N(!1),U(""),s(),location.reload()}}).catch(e=>{N(!1);let t=(0,r.i)({i18nDocs:E,language:P,text:"Unable to process payment. Please try again later."});if("card_error"===e.type){var n;t=null!==(n=e.message)&&void 0!==n?n:(0,r.i)({i18nDocs:E,language:P,text:"Unable to process payment. Please try again later."})}let i={message:(0,r.i)({i18nDocs:E,language:P,text:t}),open:!0,severity:"error"};g((0,b.ss)(i)),U(t),"card_error"!==e.type&&"validation_error"!==e.type&&k.Tb(e)})};return(0,i.jsxs)(w.Z,{open:l,onClose:s,fullWidth:!0,maxWidth:"md",children:[(0,i.jsx)(S.Z,{children:(0,r.i)({i18nDocs:E,language:P,text:"Update Card Details"})}),(0,i.jsx)(Z.Z,{style:{minWidth:"400px",minHeight:"300px"},children:(0,i.jsx)("div",{style:{width:"100%",marginTop:32},children:(0,i.jsx)("center",{children:(0,i.jsxs)("form",{onSubmit:A,children:[p?(0,i.jsx)(u.Z,{px:2,maxWidth:400,children:(0,i.jsxs)(c.Z,{variant:"body2",sx:{mb:2},children:[(0,r.i)({i18nDocs:E,language:P,text:"Your Current Card Number"}),": **** **** **** ",(null==p?void 0:null===(t=p.card)||void 0===t?void 0:t.last4)||"",(0,i.jsx)("br",{}),(0,r.i)({i18nDocs:E,language:P,text:"If you proceed with changing your card number, the existing one will be replaced."}),(0,i.jsx)("br",{}),(0,r.i)({i18nDocs:E,language:P,text:"Please enter the new card number below"}),":"]})}):null,(0,i.jsx)(u.Z,{bgcolor:"#fafafa",fontSize:32,px:2,py:2,maxWidth:600,children:(0,i.jsx)(j.CardElement,{options:{hidePostalCode:!0,style:{base:{fontSize:"16px",color:"#424770","::placeholder":{color:"#aab7c4"}},invalid:{color:"#9e2146"}}},onChange:e=>W(e.complete)})}),B&&(0,i.jsx)(d.Z,{severity:"error",sx:{maxWidth:380,mt:2},children:B}),(0,i.jsx)("br",{}),(0,i.jsx)(a.Z,{size:"large",type:"submit",fullWidth:!0,variant:"contained",disabled:!(null==C?void 0:C.uID)||!F,loading:L,sx:{mt:4,maxWidth:380,textTransform:"none",color:T},children:(0,r.i)({i18nDocs:E,language:P,text:"Update Card Details"})}),(0,i.jsx)("br",{}),(0,i.jsx)(_.Z,{disabled:L,sx:{mb:10,textTransform:"none"},onClick:()=>{U(""),s()},color:"primary",children:(0,r.i)({i18nDocs:E,language:P,text:"Cancel"})})]})})})})]})}var E=n(34619),P=n(40417),T=n(10355),F=function(e){var t,n,o,a,s,c;let{subscription:d,i18nDocs:u,language:p,onClick:v,cta_font_color:h,cta_bg_color:f,primary_contrastText:y,secondary_contrastText:b,customerId:j}=e,[C,_]=(0,x.useState)(),[w,S]=(0,x.useState)(!1),{items:Z,discount:D}=d,{plan:k,price:I}=Z.data[0],E=new Date((null!==(o=d.trial_end)&&void 0!==o?o:0)*1e3),P="trialing"===d.status?Math.ceil((E.getTime()-Date.now())/864e5):void 0,F=null!==(a=d.cancel_at_period_end)&&void 0!==a&&a;return(0,x.useEffect)(()=>{(async function(){try{S(!0);let e=await (0,m.OT)(I.product);e&&_(e)}catch(e){console.log(e)}finally{S(!1)}})()},[I.product]),w?(0,i.jsx)(T.Z,{}):(0,i.jsx)(g,{customerId:j,subscriptionId:d.id,currency:I.currency,productAmount:(0,l.gQ)(I.currency)?I.unit_amount/100:I.unit_amount,product:k,title:null!==(s=null==C?void 0:C.name)&&void 0!==s?s:"",period:null===(t=I.recurring)||void 0===t?void 0:t.interval,intervalCount:null===(n=I.recurring)||void 0===n?void 0:n.interval_count,renewDate:1e3*d.current_period_end,cancelledDate:F?(null!==(c=null==d?void 0:d.canceled_at)&&void 0!==c?c:0)*1e3:void 0,buttonText:(0,r.i)({i18nDocs:u,language:p,text:"Cancel Subscription"}),coupon:D,cancelAtPeriodEnd:F,onClick:v,primaryTextColor:y,secondaryTextColor:b,trialDayPending:P,ctaColor:f,ctaFontColor:h})},W=n(86006),L=n(20507),N=n(65268),B=n(93471),U=n(21805),A=n(32559),z=n(77865),O=function(){var e,t,n,h,_,w,S,Z,D,k,T,O;(0,z.D)("my_subscription");let R=(0,o.CG)(e=>e.config),Q=(0,o.CG)(e=>e.auth),Y=(0,o.TL)(),G=(0,f.useRouter)(),[M,X]=(0,x.useState)(),[H,$]=(0,x.useState)(null),[q,K]=(0,x.useState)(!1),[V,J]=(0,x.useState)(!1),[ee,et]=(0,x.useState)(null),{subscriptions:en,isLoading:ei,appUser:eo,lifetimeSubscription:el,revenueCatSubscription:er,subscriptionFromRC:ea}=Q,es=(0,l.IN)(en),[ec,ed]=(0,x.useState)(),[eu,ep]=(0,x.useState)(),ex=async()=>{(null==eo?void 0:eo.stripeId)&&$(await (0,m.mx)(null==eo?void 0:eo.stripeId)
1)},ev=async()=>{let e=ee;e||et(e=await (0,B._)())},em=e=>{let{data:t,eventName:n}=e;try{(0,U.j)(n,t)}catch(e){console.log("Firebase Analytics Log Error: ",e)}try{ee&&ee.event.push(n,t)}catch(e){console.log("CleverTap Log Error: ",e)}if("true"===y.S$.metaPixelEnabled)try{A.B("trackCustom",n,t)}catch(e){console.log("Meta Pixel Log Error: ",e)}};(0,x.useEffect)(()=>{eh()},[ee]),(0,x.useEffect)(()=>{ev()},[]);let eh=async()=>{let e=await (0,l.kC)();em({eventName:y.dW.mySubscriptionPageVisit,data:e})},{paywall:eg,paywallProducts:ef,isLoading:ey,currency:eb,i18n:ej,language:eC,appSetting:e_,appData:ew}=R;(0,x.useEffect)(()=>{eo&&ex()},[eo]),(0,x.useEffect)(()=>{null!=eg&&0===ef.length&&eS()},[eg,ef]);let eS=async()=>{try{let{paywallProducts:e}=await (0,L.vD)(eg,eb);Y((0,N.aR)(e))}catch(e){}finally{}};(0,x.useEffect)(()=>{y.S$.stripePublicKey&&X((0,C.J)(y.S$.stripePublicKey,{locale:null==eC?void 0:eC.split("-")[0]}))},[eC]);let eZ=null!==(D=null===(e=(0,r.i)({i18nDocs:ej,language:eC,text:null!==(Z=null==eg?void 0:eg.download_instruction)&&void 0!==Z?Z:""}))||void 0===e?void 0:e.split("\\n"))&&void 0!==D?D:{};(0,x.useEffect)(()=>{async function e(){let e=[];(null==eo?void 0:eo.stripeId)&&(e=await (0,m.vz)(eo.stripeId)),Y((0,P.f8)(e))}!1==q&&e()},[q,null==eo?void 0:eo.stripeId]);let{primary_main:eD,cta_bg_color:ek,primary_contrastText:eI,secondary_contrastText:eE,cta_font_color:eP}=null!==(k=null==eg?void 0:eg.theme)&&void 0!==k?k:{};return(0,i.jsx)(i.Fragment,{children:ey||ei||q?(0,i.jsx)(W.Z,{}):(0,i.jsxs)("div",{style:{backgroundColor:null==R?void 0:null===(t=R.paywall)||void 0===t?void 0:t.theme.backgroundColor},children:[(0,i.jsx)("title",{children:(0,r.i)({i18nDocs:ej,language:eC,text:"Active Subscription"})}),(0,i.jsxs)(s.Z,{maxWidth:"md",children:[(0,i.jsx)(c.Z,{variant:"h5",component:"h1",sx:{fontWeight:800,color:eI},gutterBottom:!0,children:(0,r.i)({i18nDocs:ej,language:eC,text:"ACTIVE SUBSCRIPTION"})}),ea&&es.length>0&&(0,i.jsxs)(d.Z,{severity:"warning",sx:{mb:2,mt:2},children:[(0,r.i)({i18nDocs:ej,language:eC,text:"You have active subscriptions from both the"})," ",(0,i.jsx)("strong",{children:(null==er?void 0:null===(n=er.management_url)||void 0===n?void 0:n.includes("apple"))?"App Store":"Play Store"}),","," ",(0,r.i)({i18nDocs:ej,language:eC,text:"and the web. To avoid duplicate charges, please cancel one of them."})]}),ea&&(0,i.jsx)(u.Z,{my:2,children:(0,i.jsx)(c.Z,{sx:{color:eI},children:(null==er?void 0:er.management_url)?(0,i.jsxs)(i.Fragment,{children:[(0,r.i)({i18nDocs:ej,language:eC,text:"You have an active subscription from"})," ",(0,i.jsx)("strong",{children:er.management_url.includes("apple")?"App Store":"Play Store"}),"."," ",(0,i.jsx)("a",{href:er.management_url,onClick:e=>{var t;e.preventDefault(),em({eventName:y.dW.manageRcSubscriptionClicked,data:{}}),window.open(null!==(t=er.management_url)&&void 0!==t?t:"","_blank","noopener,noreferrer")},style:{color:eI,textDecoration:"underline"},children:(0,r.i)({i18nDocs:ej,language:eC,text:"Manage your subscription"})})]}):(0,r.i)({i18nDocs:ej,language:eC,text:"You have an active subscription from the mobile app."})})}),0!==es.length||!0==el||ea?(0,i.jsxs)(u.Z,{width:"100%",display:"flex",alignItems:"center",flexDirection:"column",py:2,children:[(0,i.jsx)(c.Z,{variant:"h3",gutterBottom:!0,sx:{mb:2,color:eI},children:(0,r.i)({i18nDocs:ej,language:eC,text:"Download Instructions"})}),(0,i.jsxs)(u.Z,{width:"100%",display:"flex",alignItems:"left",flexDirection:"column",py:2,children:[eZ.map(e=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(c.Z,{variant:"body2",gutterBottom:!0,sx:{mb:2,color:eI,fontSize:18},children:e})})),(0,i.jsxs)(c.Z,{variant:"body2",gutterBottom:!0,sx:{mb:2,color:eI,fontSize:18},children:[(0,r.i)({i18nDocs:ej,language:eC,text:"If you have any questions, please do not hesitate to email"}),"\xa0",(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]}),(0,i.jsx)(v.ZP,{size:180,value:(null==ew?void 0:null===(h=ew.deeplink)||void 0===h?void 0:h.one_link)||(null==e_?void 0:e_.deepLinkData.oneLink)||""}),(0,i.jsx)(u.Z,{height:20}),(0,i.jsx)(a.Z,{variant:"contained",href:(null==ew?void 0:null===(_=ew.deeplink)||void 0===_?void 0:_.one_link)||(null==e_?void 0:e_.deepLinkData.oneLink)||"",sx:{minWidth:220,textTransform:"none",color:eP,backgroundColor:null!=ek?ek:eD,":hover":{bgcolor:null!=ek?ek:eD}},size:"large",children:(0,r.i)({i18nDocs:ej,language:eC,text:(null==eg?void 0:eg.redirectButtonName)||"Open App"})}),!el&&!ea&&es.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Z,{variant:"caption",gutterBottom:!0,sx:{mb:2,color:"red"},children:H?"":(0,r.i)({i18nDocs:ej,language:eC,text:"Please Update your Payment Details!!"})}),(0,i.jsx)(a.Z,{variant:"contained",loading:q,onClick:()=>{J(!0)},sx:{minWidth:220,color:eP,backgroundColor:null!=ek?ek:eD,":hover":{bgcolor:null!=ek?ek:eD}},size:"large",children:(0,r.i)({i18nDocs:ej,language:eC,text:"Update Card Details"})})]})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(c.Z,{gutterBottom:!0,color:eI,children:(0,r.i)({i18nDocs:ej,language:eC,text:"You don’t have an active subscription. Subscribe to start your training"})})}),el&&(0,i.jsx)(c.Z,{sx:{color:eI},children:(0,r.i)({i18nDocs:ej,language:eC,text:"You have Lifetime access."})}),!el&&es.map(e=>(0,i.jsx)("div",{children:(0,i.jsx)(F,{i18nDocs:ej,language:eC,subscription:e,primary_contrastText:eI,customerId:eo.stripeId,cta_font_color:eP,cta_bg_color:null!=ek?ek:eD,secondary_contrastText:eE,onClick:()=>{ep({open:!0,subId:e.id})}})},e.id)),(0,i.jsx)(u.Z,{height:80}),!el&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Z,{variant:"h5",component:"h1",sx:{fontWeight:800,color:eI},gutterBottom:!0,children:(0,r.i)({i18nDocs:ej,language:eC,text:"OTHER PLANS"})}),null==ef?void 0:ef.filter(e=>null==es.find(t=>t.items.data[0].plan.product==e.id)).map(e=>{var t,n,o,a;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g,{currency:e.price.currency,productAmount:(0,l.gQ)(e.price.currency)?e.price.unit_amount/100:e.price.unit_amount,title:e.name,period:null===(n=e.price)||void 0===n?void 0:null===(t=n.recurring)||void 0===t?void 0:t.interval,intervalCount:null===(a=e.price)||void 0===a?void 0:null===(o=a.recurring)||void 0===o?void 0:o.interval_count,buttonText:(0,r.i
1)({i18nDocs:ej,language:eC,text:ea?"Subscribe":"Upgrade"}),onClick:el?()=>{ed({open:!0})}:()=>{var t,n;return em({eventName:y.dW.subscriptionUpgradeAttempted,data:{new_plan:e.id,name:e.name,currency:null!==(n=null==e?void 0:null===(t=e.price)||void 0===t?void 0:t.currency)&&void 0!==n?n:""}}),G.push("".concat(y.Z6.SUBSCRIPTION,"?product=").concat(e.id,"&upgrade=1"))},primaryTextColor:eI,secondaryTextColor:eE,ctaFontColor:eP,ctaColor:null!=ek?ek:eD,customerId:"",product:e}),(0,i.jsx)(p.Z,{})]})})]})]}),M&&(0,i.jsx)(j.Elements,{stripe:M,children:(0,i.jsx)(I,{open:V,onClose:()=>{J(!1)},defaultPaymentMethod:H})}),(0,i.jsx)(E.Z,{fontFamily:null===(w=R.appSetting)||void 0===w?void 0:w.themes.primaryFontFamily,body:(0,r.i)({i18nDocs:ej,language:eC,text:"In order to cancel lifetime subscription please contact support."}),cancelBtn:(0,r.i)({i18nDocs:ej,language:eC,text:"Cancel"}),okBtn:(0,r.i)({i18nDocs:ej,language:eC,text:"Okay"}),okPressed:()=>{ed({open:!1})},onClose:()=>{ed({open:!1})},open:null!==(T=null==ec?void 0:ec.open)&&void 0!==T&&T,title:(0,r.i)({i18nDocs:ej,language:eC,text:"Cancel lifetime to subscription to other."})}),(0,i.jsx)(E.Z,{fontFamily:null===(S=R.appSetting)||void 0===S?void 0:S.themes.primaryFontFamily,body:(0,r.i)({i18nDocs:ej,language:eC,text:"Please note: Cancelling your subscription is irreversible. If you'd like to upgrade, you should subscribe to a different plan without canceling your current one."}),cancelBtn:(0,r.i)({i18nDocs:ej,language:eC,text:"Cancel"}),okBtn:(0,r.i)({i18nDocs:ej,language:eC,text:"Confirm"}),okPressed:()=>{K(!0),ep({open:!1,subId:eu.subId}),(0,m.wF)(eu.subId).then(async e=>{let t={message:(0,r.i)({i18nDocs:ej,language:eC,text:"Subscription cancelled"}),open:!0,severity:"success"};Y((0,b.ss)(t)),K(!1)}).catch(e=>{K(!1)})},onClose:()=>{ep({open:!1,subId:""})},open:null!==(O=null==eu?void 0:eu.open)&&void 0!==O&&O,title:(0,r.i)({i18nDocs:ej,language:eC,text:"Are you sure?"})})]})})}}},function(e){e.O(0,[9578,7930,2888,9774,179],function(){return e(e.s=40491)}),_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.