PageSourceSearch

https://app-cdn.getamsverified.com/_next/static/chunks/pages/company-details/[id]-66e68547fd04c709.js

js getamsverified.com collected 2026-10-08 01:31:02 UTC 19,555 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6014],{489:e=>{"use strict";let t=e=>"object"==typeof e&&null!==e,l=Symbol("skip"),n=e=>t(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),o=(e,t,s,i=new WeakMap)=>{if(s={deep:!1,target:{},...s},i.has(e))return i.get(e);i.set(e,s.target);let{target:a}=s;delete s.target;let r=e=>e.map(e=>n(e)?o(e,t,s,i):e);if(Array.isArray(e))return r(e);for(let[u,c]of Object.entries(e)){let d=t(u,c,e);if(d===l)continue;let[m,p,{shouldRecurse:f=!0}={}]=d;"__proto__"!==m&&(s.deep&&f&&n(p)&&(p=Array.isArray(p)?r(p):o(p,t,s,i)),a[m]=p)}return a};e.exports=(e,l,n)=>{if(!t(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return o(e,l,n)},e.exports.mapObjectSkip=l},28140:(e,t,l)=>{"use strict";l.d(t,{J:()=>i});var n=l(37876),o=l(15039),s=l.n(o);let i=e=>{let{children:t,styles:l="",firstColumnStyles:o,secondColumnStyles:i,useGrid:a=!1}=e;return a?(0,n.jsxs)("div",{className:s()(l,"grid w-full grid-cols-12 gap-[1.5rem] xl:gap-x-[1.5rem] xl:gap-y-[1.5rem]"),children:[(0,n.jsx)("div",{className:s()(null!=o?o:"col-span-12 w-full xl:col-span-8"),children:t[0]}),(0,n.jsx)("div",{className:s()(null!=i?i:"col-span-12 w-full xl:col-span-4"),children:t[1]})]}):(0,n.jsxs)("div",{className:s()(l,"flex w-full flex-col gap-4 xl:flex-row xl:gap-6"),children:[(0,n.jsx)("div",{className:s()(null!=o?o:"flex min-w-0 xl:flex-[2_2_0%]"),children:t[0]}),(0,n.jsx)("div",{className:s()(null!=i?i:"flex min-w-0 xl:flex-1"),children:t[1]})]})}},34690:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var n=l(37876),o=l(13988),s=l(99171),i=l(12150),a=l(44547);let r=e=>{let{link:t="",linkTarget:l="_self",onClick:r=()=>{},size:u="medium",textStyles:c="",text:d=(0,a.t)("common.showAll")}=e,m=(0,n.jsx)(o.A,{textTestId:"show-all-button",text:d,extraTextStyles:c,size:u,onClick:r,icon:(0,n.jsx)(i.A,{icon:"chevron_forward",variant:"outlined",fontSize:"small"===u?16:"medium"===u?20:24,className:"text-newDeepPurple100"})});return t?(0,n.jsx)(s.w,{testid:"show-all-button",passHref:!0,href:t,target:l,children:m}):m}},36668:(e,t,l)=>{"use strict";let n=l(489),{snakeCase:o}=l(57864);e.exports=function(e,t){return n(e,function(e,l){var n,s;return[(n=t.exclude,s=e,n.some(function(e){return"string"==typeof e?e===s:e.test(s)}))?e:o(e,t.parsingOptions),l]},t=Object.assign({deep:!0,exclude:[],parsingOptions:{}},t))}},39087:(e,t,l)=>{"use strict";l.d(t,{gZ:()=>d,sk:()=>f,p8:()=>p,bf:()=>c});var n=l(77310),o=l(26104),s=l(1992),i=l(2123);let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";switch(null==e?void 0:e.toLowerCase().replace(/ /g,"-")){case"newest":if("user-activity"===t)return"-last_visit";if("user"===t)return"-last_page_view_date";if("user-following"===t)return"-wishlist_newest_updated_at";return"-created_at";case"oldest":if("user-activity"===t)return"last_visit";if("user"===t)return"last_page_view_date";if("user-following"===t)return"wishlist_oldest_updated_at";return"created_at";case"alphabetically-(a-z)":if("user-activity"===t)return"page_title";return"name";case"alphabetically-(z-a)":if("user-activity"===t)return"-page_title";return"-name";case"most-visited":return"-total_visits";case"least-visited":return"total_visits";case"most-followers":return"-followers";case"most-members":return"-most-members";default:if("user"===t||"user-activity"===t)return"-last_visit";return"-created_at"}};var r=l(48746);let u=async(e,t)=>{let l=(0,o.cV)(t);return(0,o._A)({url:"/api/customer-companies/".concat(e,"/"),config:{...l,validateStatus:e=>200===e},mapper:r.Q})},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,s.useQuery)([n.hoW,e,t],()=>u(e,t),{keepPreviousData:!0,enabled:!!e&&!!t})},d=async(e,t)=>{let l=(0,o.cV)(t);return(0,o.MB)({url:"/api/customer-companies/",data:{name:e},config:l,successCallback:e=>(null==e?void 0:e.data)||{},errorCallback:e=>{var t;return(null==e||null==(t=e.response)?void 0:t.status)!==200?{}:e}})},m=async(e,t,l,n,s,i,u,c,d,m)=>{let p=(0,o.cV)(n);return(0,o._A)({url:"/api/customer-companies/",config:{...p,params:{page:e,size:t,name:null==l?void 0:l.join(","),industry:null==s?void 0:s.join(","),company_
1size:null==i?void 0:i.join(","),id:null==u?void 0:u.join(","),order:c?a(c):null,following:d,ams_client:!!m||null},validateStatus:e=>200===e},mapper:r.Q,paginated:!0,errorCallback:[]})},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],d=arguments.length>8&&void 0!==arguments[8]&&arguments[8],p=!(arguments.length>9)||void 0===arguments[9]||arguments[9];return(0,s.useInfiniteQuery)([n.Pzg,e,t,l,o,a,r,u,c,d,p],n=>{let{pageParam:s=1}=n;return m(s,u,t,e,o,a,r,l,c,d)},{getNextPageParam:e=>(null==e?void 0:e.next)&&(null==e?void 0:e.next)!==""?(0,i.vt)(null==e?void 0:e.next):null,getPreviousPageParam:e=>(null==e?void 0:e.previous)&&(null==e?void 0:e.previous)!==""?(0,i.XB)(null==e?void 0:e.previous):null,keepPreviousData:!0,enabled:p})},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,l=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,r=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,c=arguments.length>8&&void 0!==arguments[8]&&arguments[8],d=arguments.length>9&&void 0!==arguments[9]&&arguments[9],p=!(arguments.length>10)||void 0===arguments[10]||arguments[10];return(0,s.useQuery)([n.Pzg,"paginated",e,t,l,o,i,a,r,u,c,d,p],()=>m(t,u,l,e,i,a,r,o,c,d),{keepPreviousData:!0,enabled:p})}},52920:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/company-details/[id]",function(){return l(57290)}])},57290:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>W,default:()=>R});var n=l(37876),o=l(83859),s=l(90846),i=l(36708),a=l(11033),r=l(51813),u=l(10037),c=l(84232),d=l(40387),m=l(61101),p=l(3044),f=l(44547),v=l(10841),g=l.n(v),h=l(10553),w=l(2123);let y=e=>{let{open:t,setOpen:l,companyId:o,softwareId:s,softwareName:v,companyName:y}=e,x=(0,w.lW)(),_=(0,w.IS)(x),{data:b}=(0,h.useSession)(),{data:j,isLoading:k,isFetching:S}=(0,p.UG)(o,s,null==b?void 0:b.accessToken),N=()=>{l("")};return(0,n.jsx)(m.A,{open:t,onClose:N,testId:"modal-container-members-from-company-followers",containerStyles:"bg-newWhite100 modal xl:w-[34rem] w-[90%] p-8 max-h-[48.125rem] overflow-y-auto",children:k?(0,n.jsx)("div",{className:"flex h-20 w-full items-center justify-center",children:(0,n.jsx)(a.A,{})}):(null==j?void 0:j.length)>0&&(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsxs)("div",{className:"flex w-full items-center justify-between gap-4",children:[(0,n.jsx)("h3",{className:"text2025-semibold",children:(0,f.t)("profile.users.followersFrom",{product:v,company:y,count:(null==j?void 0:j.length)||0})}),(0,n.jsx)(i.A,{onClick:()=>N()})]}),(0,n.jsx)(d.B,{data:j||[],isLoading:k||S,isInfiniteQuery:!1,renderRow:(e,t)=>{var l;return(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,n.jsx)(c.a,{user:e,nameWithCompany:!1,clickableName:!1,nameStyles:"text1622-semibold",withFollowButton:!1,extraInformation:(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("h6",{className:"text1420-semibold line-clamp-1",children:(null==e?void 0:e.position)||(0,f.t)("common.na")}),(0,n.jsx)("span",{className:"text1420-normal",children:_?(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("span",{children:"".concat((0,f.t)("membersTab.content.lastActive")," ").concat((null==e?void 0:e.lastActivityDate)===""?(0,f.t)("common.na"):(0,w.y2)(g()(null==e?void 0:e.lastActivityDate).toDate()))}),(0,n.jsx)("span",{children:"".concat((null==e?void 0:e.userVisits)||0," ").concat((0,f.t)("membersTab.content.userVisits"))})]}):(0,n.jsxs)(n.Fragment,{children:["".concat((0,f.t)("membersTab.content.lastActive")," ").concat((null==e?void 0:e.lastActivityDate)===""?(0,f.t)("common.na"):(0,w.y2)(g()(null==e?void 0:e.lastActivityDate).toDate()))," | ","".concat((null==e?void 0:e.userVisits)||0," ").concat((0,f.t)("membersTab.content.userVisits"))]})}),(0,n.jsx)("div",{className:"mt-1",children:(0,w.gz)(null==b||null==(l=b.user)?void 0:l.permissions,"users.follow_users")&&(0,n.jsx)("div",{className:"pl-2",children:(0,n.jsx)(u.N,{user:e,following:null==e?void 0:e.following})})})]}),extraStyles:"min-h-[7.25rem] xl:!items-start !bg-newWhite100 !p-0",openDrawer:!1},t),t!==((null==j?void 0:j.length)||0)-1&&(0,n.jsx)(r.A,{})]})},stylesForContainer:"flex flex-none flex-wrap gap-4 w-full mb-6"})]})})};
1var x=l(64095),_=l(53339),b=l(50965),j=l(98067),k=l(63188),S=l(2699),N=l(9067),T=l(28140),A=l(39087),C=l(76830),P=l(32237),O=l(14232),D=l(62887),E=l(10466),I=l(91081),F=l(49395),W=!0;let R=function(e){let{companyId:t,userInfo:l}=e,{data:i}=(0,h.useSession)(),a=(0,w.lW)(),{data:r,isLoading:u}=(0,A.bf)(t,null==i?void 0:i.accessToken),[c,d]=(0,O.useState)(""),[m,p]=(0,P.fp)(D.C5),[v,g]=(0,P.fp)(D.uR),W=(0,O.useRef)(""),R=(null==r?void 0:r.numberMembers)>0&&!u,{mutate:L}=(0,C.qB)(),[z,B]=(0,O.useState)(""),[X,V]=(0,O.useState)("");return(0,O.useEffect)(()=>{v&&m&&W.current!==m&&(W.current=m,p(""),g(!1),L({companyWishlistId:m,token:null==i?void 0:i.accessToken},{onSuccess:()=>{(0,F.O)("success",(0,f.t)("common.softwaresThatIFollow.undoUnfollowToast")),W.current=""}}))},[v,m]),(0,n.jsxs)(N.A,{SEOTitle:(0,f.t)("companyDetails.seoTitle"),SEODescription:(0,f.t)("companyDetails.seoDescription",{company:null==r?void 0:r.name}),userInfo:l,contentBackgroundStyles:"bg-newGray25",pageBackgroundStyles:"bg-newGray25",contentStyles:"p-4 xl:p-12 gap-6 bg-newGray25 isolate overflow-auto",children:[(0,n.jsx)(o.A,{}),(0,n.jsxs)(T.J,{children:[(0,n.jsxs)("section",{className:"flex w-full flex-col gap-4 xl:gap-6",children:[(0,n.jsx)(x.A,{company:r,isLoading:u,setUndoUnfollow:g,setCompanyWishlistRefollow:p}),(0,n.jsx)(b.A,{company:r}),R&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S._,{companyId:t,amountOfProducts:(0,w.ud)(a)?I.ve:I.dT,withPagination:!0,type:"company"}),(0,n.jsx)(_.A,{companyId:t,amountOfProducts:E.ww,setOpenCompanyFollowersModal:()=>d("followersFromCompany"),setSelectedSoftware:B,setSelectedSoftwareName:V})]})]}),t&&(0,n.jsxs)("section",{className:"flex w-full flex-col gap-4 xl:gap-6",children:[(0,n.jsx)(k.n,{userData:null==i?void 0:i.user,companyId:t,companyName:null==r?void 0:r.name,type:"company"}),!u&&(0,n.jsx)(j.h,{setOpen:d,type:R?"company-page":"company-page-empty"})]})]}),(0,n.jsx)(s.o,{open:"inviteClient"===c,setOpen:d}),(0,n.jsx)(y,{open:"followersFromCompany"===c,setOpen:d,companyId:t,softwareId:z,softwareName:X,companyName:(null==r?void 0:r.name)||""})]})}},57864:(e,t,l)=>{"use strict";l.r(t),l.d(t,{snakeCase:()=>r});var n=l(4902);function o(e){return e.toLowerCase()}var s=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],i=/[^A-Z0-9]+/gi;function a(e,t,l){return t instanceof RegExp?e.replace(t,l):t.reduce(function(e,t){return e.replace(t,l)},e)}function r(e,t){var l;return void 0===t&&(t={}),void 0===(l=(0,n.__assign)({delimiter:"_"},t))&&(l={}),function(e,t){void 0===t&&(t={});for(var l=t.splitRegexp,n=t.stripRegexp,r=t.transform,u=t.delimiter,c=a(a(e,void 0===l?s:l,"$1\0$2"),void 0===n?i:n,"\0"),d=0,m=c.length;"\0"===c.charAt(d);)d++;for(;"\0"===c.charAt(m-1);)m--;return c.slice(d,m).split("\0").map(void 0===r?o:r).join(void 0===u?" ":u)}(e,(0,n.__assign)({delimiter:"."},l))}},59804:(e,t,l)=>{"use strict";l.d(t,{d:()=>_});var n=l(14232),o=l(70367),s=l(15463),i=l(89075),a=l(18820),r=l(62214),u=l(26),c=l(49266);let d=(0,n.createContext)(null),m=Object.assign((0,o.FX)(function(e,t){let l=(0,s.B)(),{id:i="headlessui-label-".concat(l),passive:a=!1,...c}=e,m=function e(){let t=(0,n.useContext)(d);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),p=(0,u.P)(t);(0,r.s)(()=>m.register(i),[i,m.register]);let f={ref:p,...m.props,id:i};return a&&("onClick"in f&&(delete f.htmlFor,delete f.onClick),"onClick"in c&&delete c.onClick),(0,o.XX)({ourProps:f,theirProps:c,slot:m.slot||{},defaultTag:"label",name:m.name||"Label"})}),{});var p=l(96345),f=l(96668),v=l(65285),g=l(64193),h=l(79129),w=l(85069);let y=(0,n.createContext)(null);y.displayName="GroupContext";let x=n.Fragment,_=Object.assign((0,o.FX)(function(e,t){let l=(0,s.B)(),{id:r="headlessui-switch-".concat(l),checked:d,defaultChecked:m=!1,onChange:p,name:x,value:_,...b}=e,j=(0,n.useContext)(y),k=(0,n.useRef)(null),S=(0,u.P)(k,t,null===j?null:j.setSwitch),[N,T]=(0,h.P)(d,p,m),A=(0,c._)(()=>null==T?void 0:T(!N)),C=(0,c._)(e=>{if((0,a.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),A()}),P=(0,c._)(e=>{e.key===i.D.Space?(e.preventDefault(),A()):e.key===i.D.Enter&&(0,g.q)(e.currentTarget)}),O=(0,c._)(e=>e.preventDefault()),D=(0,n.useMemo)(()=>({checked:N}),[N]),E={id:r,ref:S,role:"switch",type:(0,f.c)(e,k),tabIndex:0,"aria-checked":N,"aria-labelledby":null==j?void 0:j.labelledby,"aria-describedby":null==j?void 0:j.describedby,onClick:C,onKeyUp:P,onKeyPress:O},I=(0,w.L)();return(0,n.useEffect)(()=>{var e;
1let t=null==(e=k.current)?void 0:e.closest("form");t&&void 0!==m&&I.addEventListener(t,"reset",()=>{T(m)})},[k,T]),n.createElement(n.Fragment,null,null!=x&&N&&n.createElement(v.j,{features:v.O.Hidden,...(0,o.oE)({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:N,name:x,value:_})}),(0,o.XX)({ourProps:E,theirProps:b,slot:D,defaultTag:"button",name:"Switch"}))}),{Group:function(e){var t;let[l,s]=(0,n.useState)(null),[i,a]=function(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)(()=>function(e){let l=(0,c._)(e=>(t(t=>[...t,e]),()=>t(t=>{let l=t.slice(),n=l.indexOf(e);return -1!==n&&l.splice(n,1),l}))),o=(0,n.useMemo)(()=>({register:l,slot:e.slot,name:e.name,props:e.props}),[l,e.slot,e.name,e.props]);return n.createElement(d.Provider,{value:o},e.children)},[t])]}(),[r,u]=(0,p.r)(),m=(0,n.useMemo)(()=>({switch:l,setSwitch:s,labelledby:i,describedby:r}),[l,s,i,r]);return n.createElement(u,{name:"Switch.Description"},n.createElement(a,{name:"Switch.Label",props:{htmlFor:null==(t=m.switch)?void 0:t.id,onClick(e){l&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),l.click(),l.focus({preventScroll:!0}))}}},n.createElement(y.Provider,{value:m},(0,o.XX)({ourProps:{},theirProps:e,defaultTag:x,name:"Switch.Group"}))))},Label:m,Description:p.V})},64193:(e,t,l)=>{"use strict";function n(e,t){return e?e+"["+t+"]":t}function o(e){var t;let l=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(l){for(let e of l.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}}l.d(t,{h:()=>function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[s,i]of Object.entries(t))!function t(l,o,s){if(Array.isArray(s))for(let[e,i]of s.entries())t(l,n(o,e.toString()),i);else s instanceof Date?l.push([o,s.toISOString()]):"boolean"==typeof s?l.push([o,s?"1":"0"]):"string"==typeof s?l.push([o,s]):"number"==typeof s?l.push([o,"".concat(s)]):null==s?l.push([o,""]):e(s,o,l)}(o,n(l,s),i);return o},q:()=>o})},79129:(e,t,l)=>{"use strict";l.d(t,{P:()=>s});var n=l(14232),o=l(49266);function s(e,t,l){let[s,i]=(0,n.useState)(l),a=void 0!==e,r=(0,n.useRef)(a),u=(0,n.useRef)(!1),c=(0,n.useRef)(!1);return!a||r.current||u.current?a||!r.current||c.current||(c.current=!0,r.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(u.current=!0,r.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:s,(0,o._)(e=>(a||i(e),null==t?void 0:t(e)))]}},84425:(e,t,l)=>{"use strict";l.d(t,{J:()=>c});var n=l(37876),o=l(20779),s=l(76830),i=l(44547),a=l(10553),r=l(97685),u=l(49395);let c=e=>{let{company:t,following:l,setUndoUnfollow:c,setCompanyWishlistRefollow:d}=e,{data:m}=(0,a.useSession)(),{mutate:p}=(0,s.pW)(),{mutate:f}=(0,s.Di)(),{mutate:v}=(0,s.qB)(),g=()=>{c(!0),r.Ay.dismiss()},h=async()=>{if(null==m?void 0:m.accessToken)if(l)await f({companyWishlistId:null==t?void 0:t.companyWishlistId,token:null==m?void 0:m.accessToken},{onSuccess:()=>{d(null==t?void 0:t.companyWishlistId),(0,u.O)("warning",(0,i.t)("common.follow.company.undoToastText"),(0,i.t)("common.follow.company.unfollowed",{name:null==t?void 0:t.name}),{duration:1e4},"medium",null,g)}});else if(null==t?void 0:t.companyWishlistId)await v({companyWishlistId:t.companyWishlistId,token:null==m?void 0:m.accessToken},{onSuccess:()=>{(0,u.O)("success",null,(0,i.t)("common.follow.nowFollowingCompany",{name:null==t?void 0:t.name}))}});else{var e;await p({companyId:t.id,userId:null==m||null==(e=m.user)?void 0:e.id,token:null==m?void 0:m.accessToken},{onSuccess:()=>{(0,u.O)("success",null,(0,i.t)("common.follow.nowFollowingCompany",{name:null==t?void 0:t.name}))}})}};return(0,n.jsx)(o.W,{following:l,onFollow:h,tooltipText:(0,i.t)("common.follow.followCompanyTooltip")})}},91645:(e,t,l)=>{"use strict";function n(e){var t,l,n,o,s,i,a,r,u,c,d,m;return{id:null!=(t=null==e?void 0:e.id)?t:"",slug:null!=(l=null==e?void 0:e.slug)?l:"",name:null!=(n=null==e?void 0:e.name)?n:"",image:null!=(o=null==e?void 0:e.image)?o:"",isVerified:null!=(s=null==e?void 0:e.is_verified)&&s,numberFollowers:null!=(i=null==e?void 0:e.followers)?i:0,numberReviews:null!=(a=null==e?void 0:e.num_reviews)?a:0,averageRating:null!=(r=null==e?void 0:e.avg_likely_to_recommend_rating)?r:null,confidenceLevel:null!=(u=null==e?void 0:e.confidence_level)?u:"unknown",onlyRating:null!=(c=null==e?void 0:e.only_rating)&&c,isAmsOwned:null!=(d=null==e?void 0:e.is_ams_owned)&&d,amsOwnedTooltip:null!=(m=null==e?void 0:e.ams_owned_tooltip)?m:""}}l.d(t,{w:()=>n})},93624:(e,t,l)=>{"use strict";l.d(t,{o:()=>n});let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";switch(null==e?void 0:e.toLowerCase().replace(/ /g,"-")){case"newest":if("user-activity"===t)return"-last_visit";if("user"===t)return"-last_page_view_date";if("user-following"===t)return"-wishlist_newest_updated_at";return"-created_at";case"oldest":if("user-activity"===t)return"last_visit";if("user"===t)return"last_page_view_date";if("user-following"===t)return"wishlist_oldest_updated_at";return"created_at";case"alphabetically-(a-z)":if("user-activity"===t)return"page_title";return"name";case"alphabetically-(z-a)":if("user-activity"===t)return"-page_title";return"-name";case"most-visited":return"-total_visits";case"least-visited":return"total_visits";case"most-followers":return"-followers";case"most-members":return"-most-members";case"highest-confidence":return"-confidence_level,name";default:if("user"===t||"user-activity"===t)return"-last_visit";return"-created_at"}}}},e=>{e.O(0,[291,3369,9067,8669,8512,387,6939,7314,5182,4232,5998,2524,636,6593,8792],()=>e(e.s=52920)),_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.