1import{a as e}from"./nuxt-beaf736.js";import{an as t,bn as n,g as r,pn as i,vn as a,xn as o}from"./runtime-core.esm-bundler-beaf736.js";import{u as s}from"./error-beaf736.js";import{t as c}from"./fetch-beaf736.js";import{a as l,n as u}from"./pinia-beaf736.js";import{Mi as d}from"./syntax-ui-beaf736.js";import{n as f}from"./SwitchableFeature-beaf736.js";import{t as p}from"./useSessionStore-beaf736.js";import{t as m}from"./useUserDataStore-beaf736.js";import{t as h}from"./internalErrorToaster-beaf736.js";import{t as g}from"./useDataCenterStore-beaf736.js";import{t as _}from"./usePhraseTogglesStore-beaf736.js";import{t as v}from"./successToaster-beaf736.js";var y={Suite:`SUITE`,Legacy:`LEGACY`,Trial:`TRIAL`,None:`NONE`},b={All:`ALL`,Members:`MEMBERS`,None:`NONE`},x={Retention:`RETENTION`,Manage:`MANAGE`,View:`VIEW`,None:`NONE`},S={Purchased:`PURCHASED`,Purchasable:`PURCHASABLE`,PurchasableThroughSupport:`PURCHASABLE_THROUGH_SUPPORT`,UpgradeNeeded:`UPGRADE_NEEDED`},C={Mixpanel:`MIXPANEL`,Hubspot:`HUBSPOT`};function w(e,t){let n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function T(t={}){let{duration:r=2e3,throttle:i=200,hideDelay:a=500,resetDelay:s=400}
1=t,c=t.estimatedProgress||w,l=e(),u=o(0),d=o(!1),f=o(!1),p=!1,m,h,g,_,v=(e={})=>{S(),f.value=!1,y(0,e)};function y(e=0,t={}){if(l.isHydrating)return;if(e>=100)return x({force:t.force});S(),C(),u.value=e<0?0:e;let n=t.force?0:i;n?h=setTimeout(()=>{d.value=!0,T()},n):(d.value=!0,T())}function b(){g=setTimeout(()=>{d.value=!1,_=setTimeout(()=>{u.value=0},s)},a)}function x(e={}){u.value=100,p=!0,C(),S(),e.error&&(f.value=!0),e.force?(u.value=0,d.value=!1):b()}function S(){clearTimeout(g),clearTimeout(_)}function C(){clearTimeout(h),cancelAnimationFrame(m)}function T(){p=!1;let e;function t(n){if(p)return;e??=n;let i=n-e;u.value=Math.max(0,Math.min(100,c(r,i))),m=requestAnimationFrame(t)}m=requestAnimationFrame(t)}let E=()=>{};{let e=l.hook(`page:loading:start`,()=>{v()}),t=l.hook(`page:loading:end`,()=>{x()}),n=l.hook(`vue:error`,()=>x({error:!0}));E=()=>{n(),e(),t(),C(),S()}}return{_cleanup:E,progress:n(u),isLoading:n(d),error:n(f),start:v,set:y,finish:x,clear:C}}function E(n={}){let r=e(),a=r._loadingIndicator||=T(n);return t()&&(r._loadingIndicatorDeps||=0,r._loadingIndicatorDeps++,i(()=>{r._loadingIndicatorDeps--,r._loadingIndicatorDeps===0&&(a._cleanup(),delete r._loadingIndicator)})),a}var D=`dashboard`,O=`organization/subscription-overview`,k={"suite-tms-addon-aem":`aem`,"suite-tms-addon-braze":`braze`,"suite-tms-addon-contentful":`contentful`,"suite-tms-addon-hubspot":`hubspot`,"suite-tms-addon-sf-knowledge":`salesforce-knowledge`,"suite-tms-addon-sf-marketing-cloud":`salesforce-marketing-cloud`,"suite-tms-addon-sitecore":`sitecore`,"suite-tms-addon-storyblok":`storyblok`,"platform-addon-tms-optimizely":`optimizely`},A=[`braze`,`google-drive`],j=`ecosystem-integrations-dashboard`,M=[S.Purchasable,S.PurchasableThroughSupport,S.UpgradeNeeded],ee=function(e){return e.TMS=`tms`,e.ORCHESTRATOR=`orchestrator`,e.REQUEST_DEMO=`request-demo`,e.PHRASE=`phrase`,e.COMPANY=`company`,e.CONTACT=`contact`,e}({}),N=function(e){return e.TMS=`tms`,e.STRINGS=`strings`,e.LANGUAGE_AI=`language-ai`,e.STUDIO=`studio`,e.ORCHESTRATOR=`orchestrator`,e.ALL_PRODUCTS=`all-products`,e}({}),P={groupKey:`organization_id`,product:`Suite`,idm:`IDM`,notApplicable:`N/A`,ssoLogin:`sso_login`},F=function(e){return e.PAGE_ENTERED=`Entered Sign Up Page`,e.FORM_READY=`Filled In Sign Up Form`,e.TRIGGERED=`Triggered Sign Up`,e.VALIDATIONS_FAILED=`Failed In Sign Up Validations`,e.CHANGED_DATA_CENTER=`Changed Sign Up Data Center`,e.SOCIALS_LOGIN_CLICKED=`Clicked Sign Up Social Logins`,e.EMAIL_VERIFIED=`Verified email`,e.FILLED_IN_SIGNUP_QUIZ=`Filled In Sign Up Quiz`,e}({}),I=function(e){return e.ORGANIZATION_CHANGED=`Changed Organization`,e.CREDENTIALS_UPDATED=`Updated Credentials`,e.STARTED_TRIAL=`Started Trial`,e.CLICKED_LEARN_MORE=`Clicked Learn More`,e.OPENED_APPLICATION=`Opened Application`,e.OPENED_APPLICATION_IDM=`Opened Application - IDM`,e.SSO_LOGIN_FAILED=`SSO Login Failed`,e.LSP_CONFIRMED=`LSP Confirmation`,e.DARK_MODE_PREFERENCE=`Set Dark Mode Preference`,e.CLICKED_REMOVE_USER=`Clicked Remove user - IDM`,e.CLICKED_PERMANENTLY_DELETE=`Clicked Permanently delete - IDM`,e.OPENED_IDM_DASHBOARD=`Opened IDM Dashboard`,e.SIDEBAR_NAV_ITEM_CLICKED=`Platform Side Navigation Item Clicked`,e.USER_ACCESS_PANEL_OPENED=`User Access Panel Opened`,e.USER_PLATFORM_ROLE_CHANGED=`User Platform Role Changed`,e.USER_PRODUCT_ACCESS_CHANGED=`User Product Access Changed`,e.USER_ACCESS_SAVED=`User Access Saved`,e.USER_ACCESS_SAVE_FAILED=`User Access Save Failed`,e.USER_ACCESS_PANEL_DISMISSED=`User Access Panel Dismissed`,e.USER_PRODUCT_PROVISIONING_RETRIED=`User Product Provisioning Retried`,e.USER_PRODUCT_PROVISIONING_RETRY_FAILED=`User Product Provisioning Retry Failed`,e.USER_PRODUCT_PROVISIONING_UNASSIGNED=`User Product Provisioning Unassigned`,e.USER_INVITE_STARTED=`User Invite Started`,e.USER_INVITE_ROLE_SELECTED=`User Invite Role Selected`,e.USER_INVITED=`User Invited`,e.USER_INVITE_FAILED=`User Invite Failed`,e.USER_INVITE_CANCELLED=`User Invite Cancelled`,e.PENDING_USERS_EMPTY_STATE_VIEWED=`Pending Users Empty State Viewed`,e.LEARN_MORE_CLICKED=`Learn More Clicked`,e.PENDING_USER_ACTIONS_MENU_OPENED=`Pending User Actions Menu Opened`,e.USER_INVITE_RESENT=`User Invite Resent`,e.USER_INVITE_REVOKED=`User Invite Revoked`,e.USER_INVITE_REVOKE_FAILED=`User Invite Revoke Failed`,e.PENDING_USERS_PAGE_CHANGED=`Pending Users Page Changed`,e.PENDING_USERS_PER_PAGE_CHANGED=`Pending Users Per Page Changed`,e.USERS_SCREEN_VIEWED=`Users Screen Viewed`,e.USERS_TAB_SWITCHED=`Users Tab Switched`,e.USERS_SEARCHED=`Users Searched`,e.USERS_COLUMNS_CUSTOMIZED=`Users Columns Customized`,e.USER_ACTIONS_MENU_OPENED=`User Actions Menu Opened`,e.BILLBOARD_IMPRESSION=`IDM Dashboard content box impression`,e.BILLBOARD_VIDEO_ENGAGEMENT=`IDM Dashboard content box video engagement`,e.BILLBOARD_CTA_CLICK=`IDM Dashboard content box CTA click`,e.BILLBOARD_DISMISSED=`IDM Dashboard content box dismissed`,e}({}),L=function(e){return e.UNMUTE=`unmute`,e.FULLSCREEN=`fullscreen`,e}({}),R=function(e){return e.OPENED=`Opened Atlas`,e}({}),z=function(e){return e.HOME=`HOME`,e.USERS=`USERS`,e.USAGE=`USAGE`,e.ORGANIZATION_SETTINGS=`ORGANIZATION_SETTINGS`,e.PHRASE_ECOSYSTEM=`PHRASE_ECOSYSTEM`,e.CONTENT_GROUPS=`CONTENT_GROUPS`,e.QUALITY_PROFILES=`QUALITY_PROFILES`,e.ASSETS=`ASSETS`,e.HELP_AND_RESOURCES=`HELP_AND_RESOURCES`,e.ATLAS=`ATLAS`,e.CONNECTION_DEFINITIONS=`CONNECTION_DEFINITIONS`,e}({}),B=function(e){return e.PRODUCTS_COLUMN=`Products Column`,e.ACTIONS_MENU=`Actions Menu`,e.ROLE_COLUMN=`Role
1Column`,e.INVITE_MODAL=`Invite Modal`,e.DIRECT_LINK=`Direct Link`,e}({}),V=function(e){return e.MANAGE_ACCESS=`MANAGE_ACCESS`,e.INVITE=`INVITE`,e}({}),H=function(e){return e.HEADER_BUTTON=`HEADER_BUTTON`,e.EMPTY_STATE_CTA=`EMPTY_STATE_CTA`,e.AVATAR_MENU=`AVATAR_MENU`,e}({}),U=function(e){return e.ACTIVE=`ACTIVE`,e.PENDING=`PENDING`,e}({}),W=function(e){return e.SIGN_UP=`Sign up`,e.DASHBOARD=`Dashboard`,e.INVITATION=`Invitation`,e.SETTINGS=`Settings`,e.SUBSCRIPTION_OVERVIEW=`Subscription Overview`,e.LINK=`Link`,e.USERS=`Users`,e.PHRASE_ECOSYSTEM=`Phrase Ecosystem`,e}({}),G=function(e){return e.CLICKED_JOIN_ECOSYSTEM_LINK=`Clicked Join Ecosystem Link`,e.CLICKED_EXPLORE_ALL_SOLUTIONS_LINK=`Clicked Explore All Solutions Link`,e.CLICKED_LEARN_MORE_INTEGRATION_ITEM_LINK=`Clicked Learn More Integration Item Link`,e.VISITED_PHRASE_ECOSYSTEM_PAGE=`Visited Phrase Ecosystem Page`,e.TABLE_OF_CONTENTS_CATEGORY_TYPE_ITEM_CLICKED=`Table of Contents Category Type Item Clicked`,e.CLICKED_ON_REQUEST_DEMO_ECOSYSTEM=`Clicked on Request Demo link`,e.CLICKED_ON_LINK_HELP_CENTRE_ARTICLE=`Clicked on Help centre link`,e.CLICKED_ON_LINK_PHRASE_WEBSITE=`Clicked on Phrase Website link`,e.CLICKED_ON_LINK_EXTERNAL_WEBSITE=`Clicked on Partner website link`,e.CLICKED_ON_LINK_REACH_OUT_TO_PARTNER=`Clicked on Contact Partner link`,e.CLICKED_ON_CONNECT_DASHBOARD=`Clicked on the Connect button while on the Dashboard`,e.ADDON_PURCHASE_COMPLETE_ECOSYSTEM_PAGE=`Add-on purchase completed that was initiated from the Ecosystem page`,e.CLICKED_ON_PURCHASE_DASHBOARD=`Clicked on the Purchase button with the flow initiated from the Dashboard`,e.CLICKED_ON_REQUEST_DEMO_DASHBOARD=`Clicked on the Request Demo button with the flow initiated from the Dashboard`,e.ADDON_PURCHASE_COMPLETE_DASHBOARD=`Add-on purchase completed that was initiated from the Dashboard`,e.CLICKED_ECOSYSTEM_SETUP_CTA=`Clicked Ecosystem Setup CTA`,e}({}),K=function(e){return e.SIGN_UP=`sign-up`,e}({}),te={group_key:P.groupKey,group_id:K.SIGN_UP,properties:{$name:P.notApplicable,Product:P.product}},q=function(e){return e.IndicatorNotifications=`indicatorNotifications`,e.ProductSwitcher=`productSwitcher`,e}({}),ne={"/dashboard":z.HOME,"/users":z.USERS,"/analytics":z.USAGE,"/organization/details":z.ORGANIZATION_SETTINGS},re={[q.IndicatorNotifications]:`widgets/indicator-notifications`,[q.ProductSwitcher]:`product-switcher`},J=()=>{let e=m(),{userData:t}=l(e),n=$(),{organizationData:r,organizationAccounts:i}=l(n),{getCurrentDataCenterLocation:a}=g(),o=p(),{sessionIsImpersonated:s}=l(o),{groupKey:u,product:d}=P,f=()=>{let e={},t=r.value?.role;t&&(e[`User Role (IDM)`]=t);let n=i.value.find(e=>e.application.uid===N.TMS);n?.role&&(e[`User Role (TMS)`]=n.role);let a=i.value.find(e=>e.application.uid===N.STRINGS);a?.role&&(e[`User Role (Strings)`]=a.role);let o=i.value.find(e=>
1e.application.uid===N.STUDIO);return o?.role&&(e[`User Role (Studio)`]=o.role),e},h=e=>({distinct_id:t.value.info?.uid??``,properties:{$name:`${t.value.info?.firstName??``} ${t.value.info?.lastName??``}`,$email:e?t.value.info?.email??``:``,Username:t.value.info?.username??``,Language:t.value.settings?.locale??``,"Data Center":a()}}),_=()=>({group_id:r.value?.uid??``,group_key:u,properties:{Product:d,$name:r.value?.name??``}}),v=(e,n,i,a)=>({distinct_id:t.value.info?.uid??``,organization_id:r.value?.uid??``,event_name:e,properties:{Role:r.value?.role??``,Application:n,Source:i,Product:d,...f(),...a}}),y=(e,t,n,i)=>({distinct_id:t,organization_id:n||(r.value?.uid??``),event_name:e,properties:{Role:P.notApplicable,Application:P.idm,Product:P.product,"Data Center":a(),Source:W.INVITATION,...i}}),b=(e,n)=>({distinct_id:t.value.info?.uid??``,organization_id:r.value?.uid??``,event_name:e,properties:{Role:r.value?.role??``,Application:P.idm,Product:d,"Data Center":a(),...f(),...n}}),x=async e=>{if(!s.value)try{await c.post(`misc/tracking`,{format:C.Mixpanel,payload:e})}catch(e){console.error(e)}};return{emitMixpanelEvent:async({eventName:e,useEmail:t=!0,application:n=P.idm,source:r=W.DASHBOARD,peoplePayload:i,groupPayload:a,eventPayload:o,additionalProperties:s})=>{await x({people:i??h(t),group:a??_(),event:o??v(e,n,r,s)})},createEventPayload:v,emitInvitationMixpanelEvent:async({eventName:e,distinctId:t,organizationUid:n,additionalProps:r})=>{await x({event:y(e,t,n,r)})},emitSubscriptionMixpanelEvent:async({eventName:e,additionalProperties:t})=>{await x({event:b(e,t),group:_(),people:h(!0)})},emitSpecialMixpanelEvent:async(e,t)=>{try{await c.post(`user/organizations/${r.value?.uid}/${re[e]}/tracking`,t)}catch(t){console.error(`Failed to track ${e} event. ${t}`)}},createMixpanelSignupEventPayload:(e,t,n)=>({distinct_id:t.value.distinct_id,organization_id:K.SIGN_UP,event_name:e,properties:{Role:P.notApplicable,Application:P.idm,Source:W.SIGN_UP,Product:d,...n}}),createDarkThemeEventPayload:e=>v(I.DARK_MODE_PREFERENCE,P.idm,W.SETTINGS,{DataCenter:a(),Theme:e})}},Y=u(`product-switcher-store`,()=>{let{start:t,finish:n}=E(),i=a(null),{$i18n:{t:o}}=e(),l=e=>i.value=e,u=r(()=>i.value?.organizationSettingsUrl?{id:`settings`,title:o(`header.title.organization_settings`),label:o(`header.title.organization_settings`),url:i.value?.organizationSettingsUrl}:null),d=r(()=>{let{organizationSwitchUrl:e,switchableOrganizations:t,avatarUrl:n,membershipType:r}=i.value||{};if(!i.value?.organizationSwitchUrl)return null;let a=t?.map(({name:e,switchable:t,avatarUrl:n,membershipType:r},i)=>({id:`org-${i}`,title:e,label:e,url:y(t),avatarUrl:n,membershipType:r,callback:()=>v(t)})),s={id:`all-orgs`,title:o(`product_switcher.all_organizations`),label:o(`product_switcher.all_organizations`),url:e};return{id:`organization`,title:o(`header.title.switch_organization`),label:o(`header.title.switch_organization`),url:e,avatarUrl:n,membershipType:r,children:a?.length?[...a,s]:[]}}),p=r(()=>{let e=[];return u.value&&e.push(u.value),d.value&&e.push(d.value),e}),m=async(e,t=!1)=>{if(!e){console.error(`Organization ID is missing.`);return}if(!(i.value&&!t))try{let t=await c.get(`user/organizations/${e}/product-switcher`);l(t)}catch(e){console.error(e)}},h=()=>i.value=null,g=e=>e.status===f.Allowed,_=e=>{if(e)return new URL(e).searchParams.get(`switchTo`)||void 0},v=async e=>{let{switchToOrganization:r}=$(),{emitMixpanelEvent:i}=J(),a=_(e.startUrl);if(!(!a||!g(e)))try{t(),await r(a),await i({eventName:I.ORGANIZATION_CHANGED}),await s(`/dashboard`)}catch(e){console.error(e)}finally{n()}},y=e=>{if(!g(e))return e.startUrl};return{productSwitcher:i,menuItems:p,fetchProductSwitcher:m,clear:h}}),X=u(`saml-data-store`,()=>{let e=a(null),t=t=>{e.value=t};return{samlData:e,fetchSamlData:async(n,r=!1)=>{if(!(e.value!==null&&!r||!n))try{let e=await c.get(`user/organizations/${n}/saml`);e&&t(e)}catch(e){throw console.error(e),e}},setSamlData:t,clearSamlData:()=>{e.value=null},hasJitpOrScimEnabled:r(()=>!!(e.value?.scimEnabled||e.value?.jitpEnabled))}});function ie(e){return{all:e||=new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}
1var Z=ie(),ae=Z.emit,oe=Z.on,se=Z.off;Z.all.clear;var Q=function(e){return e.MEMBER=`MEMBER`,e.ADMIN=`ADMIN`,e.OWNER=`OWNER`,e}({}),ce={AG:`Antigua and Barbuda`,BA:`Bosnia and Herzegovina`,CG:`Congo`,CI:`Cote d'Ivoire`,CZ:`Czech Republic`,TF:`French Southern and Antarctic Lands`,HM:`Heard Island and McDonald Islands`,HK:`Hong Kong`,MO:`Macau`,PS:`Palestine`,BL:`Saint Barthélemy`,SH:`Saint Helena`,KN:`Saint Kitts and Nevis`,LC:`Saint Lucia`,MF:`Saint Martin`,PM:`Saint Pierre and Miquelon`,VC:`Saint Vincent and the Grenadines`,ST:`Sao Tome and Principe`,GS:`South Georgia and the South Sandwich Islands`,SJ:`Svalbard and Jan Mayen`,TT:`Trinidad and Tobago`,TR:`Turkey`,UM:`United States`,WF:`Wallis and Futuna`},le={[d.Visitor]:d.External,[d.Resident]:d.Internal},ue=e=>le[e]??e,$=u(`organization-store`,()=>{let t=m(),{fetchUserDataInfo:n,fetchOrganizations:i}=t,{fetchProductSwitcher:o}=Y(),{clearSamlData:s}=X(),{$i18n:{t:u}}=e(),{userData:f}=l(t),p=a(null),g=r(()=>p.value?p.value.name:``),S=e=>{p.value=e},C=async()=>{try{let e=await c.get(`sessions/organization`);return S(e),e}catch(e){console.error(e)}},w=async()=>{await Promise.all([i(!0),n(!0),o(p.value?.uid,!0),_().fetchPhraseToggles(!0)]),ae(`organization:switched`),s()},T=async e=>{try{let t=await c.post(`sessions/organization`,{organizationUid:e});S(t),await w(),v(u(`user.settings.organizations.change.success`,{name:p.value?.name}))}catch(e){throw console.error(e),h(),e}},E=()=>{p.value=null},D=r(()=>p.value?[Q.ADMIN,Q.OWNER].includes(p.value?.role):!1),O=r(()=>!!p.value),k=r(()=>p.value?.subscription?.management===x.Manage||p.value?.subscription?.management===x.Retention),A=r(()=>p.value?.subscription?.management===x.Retention),j=r(()=>p.value?p.value?.pricing===y.Legacy||p.value?.pricing===y.Suite&&k.value:!1),M=r(()=>p.value?.features?.invitations.visibility===b.All),ee=r(()=>p.value?.features?.invitations.visibility===b.None),P=r(()=>!p.value||!p.value.subscription||!p.value.subscription.trial?!1:p.value.subscription.trial),F=r(()=>!p.value||!p.value.subscription||!p.value.subscription.trial?!1:p.value.subscription.trial.expired),I=r(()=>!p.value||!p.value.subscription||!p.value.subscription.suite?!1:p.value.subscription.suite.cancelled),L=r(()=>!!p.value?.subscription?.creditBased),R=r(()=>!!p.value?.subscription?.renderCredits),z=r(()=>{let e=p.value?.subscription;return!!e?.trial?.onDemandDeletion||!!e?.suite?.onDemandDeletion}),B=r(()=>{let e=p.value?.countryCode;if(!e)return``;let t=new Intl.DisplayNames([`en`],{type:`region`});return ce[e]||t.of(e)}),V=r(()=>p.value?.membershipType?ue(p.value?.membershipType)===d.Internal:!1),H=r(()=>!!p.value?.features.ecosystem.enabled),U=r(()=>!!p.value?.features?.contentGroups?.enabled),W=r(()=>!!p.value?.features?.atlas?.enabled),G=r(()=>(f.value?.info?.accounts||[]).filter(e=>e.organization?.uid===p.value?.uid)),K=r(()=>G.value.some(e=>e.application.uid===N.TMS));return{hasOrchestratorAccess:r(()=>G.value.some(e=>e.application.uid===N.ORCHESTRATOR)),hasTmsAccess:K,organizationAccounts:G,organizationData:p,organizationName:g,userIsManagement:D,userIsInTrial:P,userHasSubscriptionAccess:O,userHasInvoicesAccess:j,userHasTrialExpired:F,userHasSubscriptionCancelled:I,userHasCreditBasedPricing:L,userHasRenderCredits:R,userPerformedOnDemandDeletion:z,userCanManageSubscription:k,userCanRetainSubscription:A,fullInvitationAccess:M,noInvitationAccess:ee,hubspotCountryName:B,isInHomeOrg:V,isEcosystemEnabled:H,isContentGroupsEnabled:U,hasAtlasEnabled:W,setOrganizationData:S,fetchOrganization:C,switchToOrganization:T,clearOrganization:E,reloadAppData:w}});export{A,P as C,j as D,k as E,y as F,O as M,E as N,N as O,S as P,ne as S,D as T,G as _,ae as a,F as b,Y as c,I as d,R as f,U as g,H as h,se as i,M as j,ee as k,J as l,W as m,ue as n,oe as o,L as p,Q as r,X as s,$ as t,B as u,V as v,te as w,q as x,z as y};
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.