PageSourceSearch

https://govtribe.com/js/saved-search-index.ecf97435d012083dfe40db19d5b11a4a5e3817e6.js

js govtribe.com collected 2026-09-24 17:49:50 UTC 39,704 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[2266],{44824(e,t,r){r.d(t,{A:()=>i});var s=r(82124),a=r(95954);const o="SavedSearchStore",i={computed:{...(0,s.aH)(o,{activeFilters:e=>e.activeFilters,errors:e=>e.errors,filters:e=>e.filters,hydrating:e=>e.hydrating,noResults:e=>e.noResults,paginator:e=>e.paginator,query:e=>e.query,scratch:e=>e.scratch,searching:e=>e.searching,selectedId:e=>e.selectedId,sorts:e=>e.sorts}),...(0,s.L8)(o,["activeSearchBody","activeStoreName","activeStore","isDirty","searchBody","selected"])},methods:{...(0,s.i0)(o,["search","hydrateAndSelect"]),...(0,s.PY)(o,{addFilterValue:a.rb,resetErrors:a.yB,resetScratch:a.NO,resetStore:a.Gl,setPage:a.Nj,setQuery:a.WO,setScratch:a.sm,setScratchValue:a.KY,setSelected:a.V8})},data:()=>({storeName:o})}},94032(e,t,r){r.d(t,{h:()=>l});var s=r(4630),a=r(5706),o=r(1118),i=r(49019),n=r(4866);function l(e=[],t=!1,r={}){return(0,a.H)("owner_model_id",(0,s.l)(),i.UL,(0,o.V)([],e),t,n.Tc,"Owned By",Object.assign(r,{autoCompleteFilters:[],autoCompleteModelClass:"UserModel"}))}},25924(e,t,r){r.d(t,{$:()=>l});var s=r(4630),a=r(5706),o=r(1118),i=r(49019),n=r(4866);function l(e=[],t=!1,r=!1){return(0,a.H)("scope",(0,s.l)(),i.UL,(0,o.V)(["ContactModel","FederalContractAwardModel","FederalContractOpportunityModel","FederalContractVehicleOpportunityModel","FederalGrantAwardModel","FederalGrantOpportunityModel","FederalContractIDVModel","FederalForecastModel","StateLocalContractOpportunityModel","StateLocalContractAwardModel","StateLocalContractIDVModel","StateLocalContractVehicleModel"],e),r,n.KQ,"Saved Search Scope")}},7734(e,t,r){r.d(t,{A:()=>o});var s=r(61649),a=r(69430);const o={beforeCreate(){this.$segmentSearchExecutedTrackSubscriber=this.$store.subscribe((e=>{e.type===this.$route.meta.storeName+"/SEARCH_SUCCESS"&&e.payload.meta.searchId&&(0,s.C)(a.jU,this.$route.meta.typeOfThing,e.payload)}))},beforeUnmount(){this.$segmentSearchExecutedTrackSubscriber()}}},28672(e,t,r){r.d(t,{A:()=>g});var s=r(95954),a=r(61711),o=r.n(a),i=r(19162);const n=function(e){return"object"==typeof e&&!Array.isArray(e)&&null!==e};function l({requestOptions:e,payload:t}){let r={},s=null;if(n(t)?(t.url&&(s=t.url),t.body&&(r=t.body),t.data&&(r=t.data)):s=t,!s)throw"ActionHelpers::makeRequest: No URL found: "+JSON.stringify(t);if(n(s))throw"ActionHelpers::makeRequest: You tried to use a vue router location as an API URL: "+JSON.stringify(s);return(0,i.EG)({method:e.method,headers:e.headers||{},url:s,data:r})}function u({context:e,requestOptions:t,payloads:r,requestMutation:s,successMutation:a,failureMutation:i,concurrency:n}){if(!Array.isArray(r))throw"ActionHelpers::dispatchRequestPool: payloads is not an array";s&&e.commit(s,r);let u=new(o())(function*(e,t){for(let r=0;r<t.length;r++)yield l({requestOptions:e,payload:t[r]})}(t,r),n||3),d=[];return u.addEventListener("fulfilled",(t=>{d.push(t.data.result.data),a&&e.commit(a,t.data.result.data)})),u.addEventListener("rejected",(t=>{i&&e.commit(i,t.data.error)})),u.start().then((()=>d))}function d({context:e,requestOptions:t,payload:r,requestMutation:s,successMutation:a,failureMutation:o,isCurrentRequest:i,responseValidator:n}){return s&&e.commit(s,r),l({requestOptions:t,payload:r}).then((t=>{if(!i||i(t.data))return n&&n(t.data),a&&e.commit(a,t.data),t.data}
1)).catch((t=>{if(i&&!i())throw t;throw o&&e.commit(o,t),t}))}var c=r(88369),h=r(50953),p=r(75623);const f=new WeakMap,g={paginatorUnshift(e,t){e=(0,h.ux)(e),(t=(0,h.ux)(t)).url||(t.url=(0,c.O2)("searchWorkspace",e.state.modelClass,{workspace:e.rootGetters["AuthStore/selectedWorkspaceId"]}));let r=JSON.parse(JSON.stringify(t));return r.body.limit=t.limit||1,d({context:e,requestOptions:Object.assign({method:"post"},t.requestOptions||{}),payload:r,requestMutation:s.cT,successMutation:s.ul,failureMutation:s.rE})},refreshItem(e,t={}){if(e=(0,h.ux)(e),!(t=(0,h.ux)(t)).url&&e.getters.selected&&(t.url=e.getters.selected.showUrl),!t.url)throw"refreshItem: Provide the url of the item to refresh";const r={};return f.set(e.state,r),d({context:e,requestOptions:Object.assign({method:"get"},t.requestOptions||{}),payload:t,requestMutation:s.Ul,successMutation:s.Wb,failureMutation:s.Tu,isCurrentRequest:t.isCurrentRequest}).finally((()=>{f.get(e.state)===r&&(f.delete(e.state),t.isCurrentRequest&&!t.isCurrentRequest()&&e.commit(s.Tu))}))},hydrateAndSelect:(e,t)=>(e=(0,h.ux)(e),t=(0,h.ux)(t),e.rootGetters["AuthStore/check"]?(!t.url&&t.showUrl&&(t.url=t.showUrl),d({context:e,requestOptions:Object.assign({method:"get"},t.requestOptions||{}),payload:t,requestMutation:s.zz,successMutation:s.$G,failureMutation:s.y$,isCurrentRequest:t.isCurrentRequest}).then((t=>{if(void 0!==t)return e.commit(s.V8,t._id),t}))):fetch(t.url,{credentials:"include",priority:"high"}).then((e=>((0,p.N7)(e),e.json()))).then((r=>{if(!t.isCurrentRequest||t.isCurrentRequest(r))return e.commit(s.$G,r),e.commit(s.V8,r),r}))),hydrateAll:(e,t)=>(e=(0,h.ux)(e),t=(0,h.ux)(t),u({context:e,requestOptions:Object.assign({method:"post"},t.requestOptions||{},t.requestOptions||{}),payloads:t,requestMutation:s.Ae,successMutation:s.y2,failureMutation:s.hu})),search:(e,t={})=>(e=(0,h.ux)(e),(t=(0,h.ux)(t)).url||(t.url=(0,c.Eq)(e.state.modelClass,{workspace:e.rootGetters["AuthStore/selectedWorkspaceId"]},e.rootGetters["AuthStore/check"])),t.body||(t.body=e.getters.searchBody),d({context:e,requestOptions:Object.assign({method:"post"},t.requestOptions||{}),payload:t,requestMutation:s.rk,successMutation:s.vx,failureMutation:s.k5})),update:(e,t)=>(e=(0,h.ux)(e),!(t=(0,h.ux)(t)).url&&t.showUrl&&(t.url=t.showUrl),d({context:e,requestOptions:Object.assign({method:"patch"},t.requestOptions||{}),payload:t,requestMutation:s.Qe,successMutation:s.eC,failureMutation:s.h8,responseValidator:t.validateResponse})),updateAll:(e,t)=>u({context:e,requestOptions:Object.assign({method:"patch"},t.requestOptions||{}),payloads:t,requestMutation:s.co,successMutation:s.cf,failureMutation:s.rB}),create:(e,t)=>(e=(0,h.ux)(e),(t=(0,h.ux)(t)).url||(t.url=(0,c.pc)(e.state.modelClass,{workspace:e.rootGetters["AuthStore/selectedWorkspaceId"]})),d({context:e,requestOptions:Object.assign({method:"post"},t.requestOptions||{}),payload:t,requestMutation:s.Hq,successMutation:s.xk,failureMutation:s.Uz})),destroy:(e,t)=>(e=(0,h.ux)(e),!(t=(0,h.ux)(t)).url&&t.showUrl&&(t.url=t.showUrl),d({context:e,requestOptions:Object.assign({method:"delete"},t.requestOptions||{}),payload:t,requestMutation:s.dj,successMutation:s.Vc,failureMutation:s.mO})),setSortAndSearch:(e,t)=>(e=(0,h.ux)(e),t=(0,h.ux)(t),e.commit(s.Nj,1),e.commit(s._H,t),e.dispatch("search",{body:e.getters.searchBody})),removeFilter(e,t){e=(0,h.ux)(e),t=(0,h.ux)(t);const{filterKey:r}=t;let a=e.state.filters.find((e=>e.key===r));if(!a)throw"No filter for key: "+r;let o=a.operators.find((e=>e.default));if(!o)throw"No default operator key: "+r;return e.commit(s.pe,{filterKey:r,operatorKey:o.key}),e.getters.selectedValuesForFilter(r).forEach((t=>{e.commit(s.Sx,{filterKey:r,value:t,autoDispatch:!1})})),e.commit(s.Nj,1),e.dispatch("search",{body:e.getters.searchBody})},setAllActiveFiltersToDefault:e=>((e=(0,h.ux)(e)).state.filters.forEach((t=>{if(t.active){const r=t.operators.find((e=>e.default));e.commit(s.pe,{filterKey:t.key,operatorKey:r.key}),e.getters.selectedValuesForFilter(t.key).forEach((r=>{e.commit(s.Sx,{filterKey:t.key,value:r,autoDispatch:!1})}))}})),e.commit(s.Nj,1),e.dispatch("search",{body:e.getters.searchBody}))}},63498(e,t,r){r.d(t,{A:()=>v});var s=r(95954),a=r(28672),o=r(11231),i=r(82037),n=r(72565),l=r(43502),u=r(94032),d=r(9084),c=r(5706),h=r(49019),p=r(5926),f=r(4866);function g(e=null,t=null,r=!1){return(0,c.H)("lastSent",(0,d.T)(),h.Lv,(0,p.s)(e,t),r,f.Mp,"Last Sent")}var m=r(25924);const y=function(){return Object.assign({},(0,i.A)(),{modelClass:"SavedSearchModel",loadRelationshipsMap:["withTrashed:owner.workspaces","workspace"],scratch:{_id:null,name:null,frequency:"Daily",alertsActive:!0,sendResultsToUnanetCrm:!1,scope:null},filters:[(0,u.h)([],!1,{autoCompleteUrlType:"ownerOptions"}),(0,m.$)(),g()],sorts:[...(0,l.p5)(l.LV,"desc"),(0,l.Ru)()],defaultSort:{sortKey:"lastSent",direction:"desc"},availableFields:[{key:"name",label:"Name",description:"The name of the saved search.",tdClass:"truncate-dynamic-50",active:!0},{key:"contains",label:"Type",description:"The type of thing the saved search is linked to (e.g., Federal Contract Opportunity).",active:!0,tdClass:"text-nowrap"},{key:"count",label:"Results Count",description:"The total number of results for this saved search.",active:!0}
1,{key:"frequency",label:"Frequency",description:"The frequency with which the saved search notification emails are sent.",active:!0},{key:"lastSent",label:"Last Sent",description:"The last time the saved search notification email was triggered.",active:!0,sortable:!0},{key:"owner",label:"Owner",description:"The user who owns the saved search.",active:!0},{key:"searchType",label:"Type",description:"The type of search - semantic or keyword.",active:!0},{key:"action",label:"Actions",description:"Actions that can be performed on the saved search.",active:!0,tdClass:"text-nowrap"}]})},v={namespaced:!0,state:()=>y(),getters:Object.assign({},o.A,{isDirty(e,t){let r=t.selected,s=t.activeStore;return!!(s&&!s.loading&&r&&r.searchHash&&s.searchHash)&&s.searchHash!==r.searchHash},activeSearchBody:(e,t,r,s)=>o.A.searchBody(t.activeStore,t,r,s),activeStore:(e,t,r)=>r[t.activeStoreName],activeStoreName:(e,t,r)=>r.route.meta.storeName}),actions:Object.assign({},a.A,{}),mutations:Object.assign({},n.A,{[s.Gl](e){Object.assign(e,y())},[s.NO](e){Object.assign(e.scratch,y().scratch)}})}},83530(e,t,r){r.d(t,{A:()=>s});const s={mounted(e,t){var r;if("undefined"==typeof window||!("IntersectionObserver"in window)||"function"!=typeof window.IntersectionObserver)return void t.value(!0);const s=t.value,a=null===(r=t.modifiers)||void 0===r?void 0:r.once;if("function"!=typeof s)return void console.warn("v-visible expects a function as the value.");const o=new IntersectionObserver(((t,r)=>{t.forEach((t=>{t.isIntersecting?(s(!0),a&&(r.unobserve(e),r.disconnect())):s(!1)}))}),{root:null,rootMargin:"0px",threshold:0});e.__vVisibleObserver__=o,o.observe(e)},unmounted(e){e.__vVisibleObserver__&&(e.__vVisibleObserver__.unobserve(e),e.__vVisibleObserver__.disconnect(),delete e.__vVisibleObserver__)}}},18100(e,t,r){r.d(t,{GL:()=>a,hG:()=>o,iQ:()=>i});const s="undefined"!=typeof window&&"state"in window.history,a=()=>{var e;return s&&null!==(e=window.history.state)&&void 0!==e?e:{}},o=e=>Object.assign(Object.assign({},e.params),a()),i=e=>{if(!s)return;const t=a(),r=Object.assign(Object.assign({},t),e);window.history.replaceState(r,"")}},75824(e,t,r){r.d(t,{A:()=>s});const s=class Aggregation{constructor(e="",t="",r={}){this.name=e,this.aggregationClass=t,this.options=r}getName(){return this.name}getOptions(){return this.options}setOptions(e){return this.options=e,this}}},92601(e,t,r){r.d(t,{A:()=>s});const s=class Filters{constructor(e=[],t="AND"){this.rules=[],this.condition=t,e.forEach((e=>this.addRule(e)))}setCondition(e){return this.condition=e,this}addRule(e){if("keyword"!==e.getId()&&(e.getValue().length||["is_null","is_not_null"].includes(e.getOperator()))){const t=this.rules.findIndex((t=>t.getId()===e.getId()));-1===t?this.rules.push(e):this.rules.splice(t,1,e)}}getRule(e){const t=this.rules.find((t=>t.getId()===e));if(!t)throw new Error("Rule with the id "+e+" does not exist");return t}getRules(){return this.rules}hasRule(e){return!!this.rules.find((t=>t.getId()===e))}}},82312(e,t,r){r.d(t,{A:()=>s});const s=class Options{constructor(e=0,t=5,r=!1,s=[],a=[],o=!1,i=null,n=[],l=null,u={},d=!1){this.from=0,this.size=5,this.save=!1,this.autoComplete=!1,this.nameOnly=!1,this.sorts=[],this.loadRelationshipsMap=[],this.resourcesMap=[],this.trackTotalHits=!1,this.searchId=null,this.searchJobClass=null,this.setFrom(e),this.setSize(t),this.setSave(r),this.setLoadRelationshipsMap(s),this.setTrackTotalHits(o),this.setSearchId(i),this.setSorts(n),this.setSearchJobClass(l),this.setSearchJobOptions(u),this.isOnlySemantic=d}setFrom(e){return this.from=e,this}setSize(e){return window.server.isRobot||(this.size=e),this}getSize(){return this.size}getSorts(){return this.sorts}setSorts(e){return this.sorts=e,this}setSave(e){return this.save=e,this}setAutoComplete(e){return this.autoComplete=e,this}setNameOnly(e){return this.nameOnly=e,this}setLoadRelationshipsMap(e){return this.loadRelationshipsMap=e,this}setResourcesMap(e){return this.resourcesMap=e,this}setTrackTotalHits(e){return this.trackTotalHits=e,this}setSearchId(e){return this.searchId=e,this}setSearchJobClass(e){return this.searchJobClass=e,this}setSearchJobOptions(e){return this.searchJobOptions=e,this}getIsOnlySemantic(){return this.isOnlySemantic}setIsOnlySemantic(e){return this.isOnlySemantic=e,this}}},35894(e,t,r){r.d(t,{A:()=>a});var s=r(92601);const a=class Query{constructor(e,t=new s.A){this.index=e,this.filters=t}getIndex(){return this.index}getFilters(){return this.filters}}},27078(e,t,r){r.d(t,{A:()=>s});const s=class Rule{constructor(e="",t=[],r="in",s={}){this.operator="in",this.meta={},this.id=e,this.value=Array.isArray(t)?t:[t],this.operator=r,this.meta=s}getId(){return this.id}getOperator(){return this.operator}setValue(e){return this.value=Array.isArray(e)?e:[e],this}getValue(){return this.value}
1makeTransactionsSafe(){let e=this.id;return this.isPscRule()?e="p_s_c_category_model_all_ids":this.isNaicsRule()?e="n_a_i_c_s_category_model_all_ids":this.isAgencyRule()?e="funding_federal_agency_model_all_ids":this.isVendorRule()&&(e="awardee_model_all_ids"),e!==this.id&&(this.id=e),this}isDateRule(){return this.id.endsWith("Date")||"timestamp"===this.id}isDollarRule(){return this.id.startsWith("financialStats")}isPscRule(){return["p_s_c_category_model_all_ids","p_s_c_category_model_id"].includes(this.id)}isNaicsRule(){return["n_a_i_c_s_category_model_all_ids","n_a_i_c_s_category_model_id"].includes(this.id)}isVendorRule(){return["vendor_model_id"].includes(this.id)}isAgencyRule(){return["contracting_federal_agency_model_id","funding_federal_agency_model_id","federal_agency_model_id","funding_federal_agency_model_all_ids"].includes(this.id)}}},34620(e,t,r){r.d(t,{A:()=>a});var s=r(82312);const a=class Search{constructor(e,t=null,r=new s.A,a=[],o=[]){this.queries=[],this.aggs=[],this.name=e,this.q=t,this.options=r,this.queries=a,this.aggs=o}getName(){return this.name}addQuery(e){return this.queries.push(e),this}getQuery(e){const t=this.queries.find((t=>t.getIndex()===e));if(!t)throw new Error("Query with the index "+e+" does not exist");return t}hasAggregation(e){return!!this.aggs.find((t=>t.getName()===e))}getAggregation(e){const t=this.aggs.find((t=>t.getName()===e));if(!t)throw new Error("Aggregation "+e+" does not exist");return t}addAggregation(e){return this.aggs.push(e),this}setOptions(e){return this.options=e,this}getOptions(){return this.options}setQ(e){return"string"==typeof e&&e.length?this.q=e:this.q=null,this}setSize(e){return this.options.setSize(e),this}setFrom(e){return this.options.setFrom(e),this}setPage(e){return this.setFrom(e*this.options.getSize()-this.options.getSize()),this}}},27436(e,t,r){r.d(t,{A:()=>s});const s=class Sort{constructor(e,t="desc"){this.key=e,this.direction=t}getKey(){return this.key}getDirection(){return this.direction}}},88455(e,t,r){r.r(t),r.d(t,{default:()=>q});var s=r(20641);const a={class:"col-auto"},o={key:0,class:"pt-3"};var i=r(18607),n=r(69047),l=r(82452),u=r(44824),d=r(82124),c=r(26863),h=r(15947),p=r(90572),f=r(22949),g=r(52607),m=r(34547),y=r(63498),v=r(7734),S=r(87154),b=r(56370),A=r(90033);const w={key:0,class:"text-muted"},C={key:1,class:"d-flex align-items-center gap-1"};var k=r(90710),_=r(3772),x=r(83568);const M={components:{RelatedDateFormatShort:r(62542).A,StickyCompactTable:k.A,AvatarGroup:_.A,SavedSearchButtonResultsCount:x.A},middleware:["auth","subscribed"],registerModules(e){e.state.SavedSearchStore||e.registerModule("SavedSearchStore",y.A)},loadData:e=>(0,l.vj)(e,void 0,"SavedSearchModelIndex"),staticMetaInfo:{title:"Search Saved Searches"},props:{storeName:{type:String,required:!0},searchPersistenceKey:{type:String,required:!0},searching:{type:Boolean,default:!1}},methods:{eagerLoadModal:n.y,creator(e){return e.owner._id===this.authUser._id},abandoned:e=>!e.owner.workspaces.find((t=>t._id===e.workspace._id)),workspaceOwner(){return this.$store.getters["AccountStore/authUserIsAccountOwner"]},showSavedSearchModelDeleteModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_DELETE,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})},showSavedSearchModelUpdateModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_UPDATE,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})},showSavedSearchModelCopyModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_COPY,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})}}};var O=r(66262);const E=(0,O.A)(M,[["render",function(e,t,r,a,o,i){const n=(0,s.g2)("RouterLink"),l=(0,s.g2)("AvatarGroup"),u=(0,s.g2)("SavedSearchButtonResultsCount"),d=(0,s.g2)("RelatedDateFormatShort"),c=b.A,h=(0,s.g2)("StickyCompactTable");return(0,s.uX)(),(0,s.Wv)(h,{dusk:"saved-search-table","empty-text":"No saved searches found.","search-persistence-key":r.searchPersistenceKey,"store-name":r.storeName,loading:r.searching},{"cell(name)":(0,s.k6)((({data:e})=>[(0,s.bF)(n,{to:e.showRoute,dusk:"view",class:"border-0 px-2 col d-flex align-items-center",title:e.name},{default:(0,s.k6)((()=>[(0,s.eW)((0,A.toDisplayString)(e.name),1)])),_:2},1032,["to","title"])])),"cell(owner)":(0,s.k6)((({data:e})=>[i.abandoned(e)?((0,s.uX)(),(0,s.CE)("span",w," Left Workspace ")):((0,s.uX)(),(0,s.CE)("div",C,[e.owner?((0,s.uX)(),(0,s.Wv)(l,{key:0,users:[e.owner]},null,8,["users"])):(0,s.Q3)("",!0)]))])),"cell(count)":(0,s.k6)((({data:e})=>[((0,s.uX)(),(0,s.Wv)(u,{key:"ssc-"+e._id,"saved-search":e},null,8,["saved-search"]))])),"cell(lastSent)":(0,s.k6)((({data:e})=>[(0,s.bF)(d,{date:e.lastSent},null,8,["date"])])),"cell(created_at)":(0,s.k6)((({data:e})=>[(0,s.bF)(d,{date:e.created_at},null,8,["date"])])),"cell(action)":(0,s.k6)((({data:e})=>[i.creator(e)?((0,s.uX)(),(0,s.CE)(s.FK,{key:0},[(0,s.bF)(c,{dusk:"edit",title:"Edit",severity:"secondary",variant:"text",icon:"fa-regular fa-edit","aria-haspopup":"dialog",onMouseenterOnce:t[0]||(t[0]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_UPDATE")}),onClick:t=>{i.showSavedSearchModelUpdateModal(e)}},null,8,["onClick"]),(0,s.bF)(c,{dusk:"copy",title:"Copy",severity:"secondary",variant:"text",icon:"fa-regular fa-copy","aria-haspopup":"dialog",onMouseenterOnce:t[1]||(t[1]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_COPY")}),onClick:t=>{i.showSavedSearchModelCopyModal(e)}},null,8,["onClick"]),!i.abandoned(e)||i.workspaceOwner()?((0,s.uX)(),(0,s.Wv)(c,{key:0,dusk:"delete",title:"Delete",severity:"danger",variant:"text",icon:"fa-regular fa-trash-can","aria-haspopup":"dialog",onMouseenterOnce:t[2]||(t[2]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_DELETE")}),onClick:t=>{i.showSavedSearchModelDeleteModal(e)}},null,8,["onClick"])):(0,s.Q3)("",!0)],64)):i.workspaceOwner()&&i.abandoned(e)?((0,s.uX)(),(0,s.CE)(s.FK,{key:1},[(0,s.bF)(c,{dusk:"delete",title:"Delete",severity:"danger",variant:"text",icon:"fa-regular fa-trash-can","aria-haspopup":"dialog",onMouseenterOnce:t[3]||(t[3]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_DELETE")}),onClick:t=>{i.showSavedSearchModelDeleteModal(e)}},null,8,["onClick"]),(0,s.bF)(c,{dusk:"copy",title:"Copy",severity:"secondary",variant:"text",icon:"fa-regular fa-copy","aria-haspopup":"dialog",onMouseenterOnce:t[4]||(t[4]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_COPY")}),onClick:t=>{i.showSavedSearchModelCopyModal(e)}},null,8,["onClick"])],64)):((0,s.uX)(),(0,s.Wv)(c,{key:2,dusk:"copy",title:"Copy",severity:"secondary",variant:"text",icon:"fa-regular fa-copy","aria-haspopup":"dialog",onMouseenterOnce:t[5]||(t[5]=e=>{i.eagerLoadModal("SAVED_SEARCH_MODEL_COPY")}),onClick:t=>{i.showSavedSearchModelCopyModal(e)}},null,8,["onClick"]))])),_:1},8,["search-persistence-key","store-name","loading"])}]]),F={class:"align-self-center d-flex flex-column flex-fill justify-content-center"};const I={},R={name:"SavedSearchModelIndex",components:{SavedSearchModelTableNoResults:(0,O.A)(I,[["render",function(e,t,r,a,o,i){return(0,s.uX)(),(0,s.CE)("div",F,[...t[0]||(t[0]=[(0,s.Lk)("div",{class:"text-center py-5 mb-5"},[(0,s.Lk)("h2",{class:"fw-bold"}," Get Started With Saved Searches "),(0,s.Lk)("p",{class:"lead"}," Create Saved Searches from Opportunities, Awards, and more. ")],-1)])])}]]),SavedSearchModelTable:E,HeaderIndexPage:c.A,PageSubheader:h.A,PageSection:p.A,SearchBadgesIndexPage:f.A,SearchResultsShareButton:g.A,SearchForm:m.A,LayoutDefault:S.A},mixins:[u.A,v.A],middleware:["auth","subscribed"],registerModules(e){e.state.SavedSearchStore||e.registerModule("SavedSearchStore",y.A)},loadData:e=>(0,l.vj)(e,void 0,"SavedSearchModelIndex"),staticMetaInfo:{title:"Search Saved Searches"},computed:{...(0,d.L8)("SavedSearchStore",["filterGroups","activeFilterValuesCount","noResults","searching","searched","userHasSearched","paginator"])},methods:{creator(e){return e.owner._id===this.authUser._id},abandoned:e=>!e.owner.workspaces.find((t=>t._id===e.workspace._id)),workspaceOwner(){return this.$store.getters["AccountStore/authUserIsAccountOwner"]},showSavedSearchModelDeleteModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_DELETE,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})},showSavedSearchModelUpdateModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_UPDATE,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})},showSavedSearchModelCopyModal(e){(0,n.t)(i.b.SAVED_SEARCH_MODEL_COPY,{props:{source:"SavedSearchModelIndex",entityLocation:e.showUrl}})}}},q=(0,O.A)(R,[["render",function(e,t,r,i,n,l){const u=(0,s.g2)("HeaderIndexPage"),d=(0,s.g2)("SearchForm"),c=(0,s.g2)("SearchResultsShareButton"),h=(0,s.g2)("PageSection"),p=(0,s.g2)("SearchBadgesIndexPage"),f=(0,s.g2)("PageSubheader"),g=(0,s.g2)("SavedSearchModelTableNoResults"),m=(0,s.g2)("SavedSearchModelTable"),y=(0,s.g2)("LayoutDefault");return(0,s.uX)(),(0,s.Wv)(y,null,{default:(0,s.k6)((()=>[(0,s.bF)(u,{fluid:"","col-classes":"col-12"},{default:(0,s.k6)((()=>[...t[0]||(t[0]=[(0,s.eW)(" Saved Searches ",-1)])])),_:1}),(0,s.bF)(f,{sticky:""},{default:(0,s.k6)((()=>[(0,s.bF)(h,{fluid:"",padded:"",class:"border-bottom","row-classes":"align-items-center justify-content-between gap-3"},{default:(0,s.k6)((()=>[(0,s.Lk)("div",a,[(0,s.bF)(d,{placeholder:"Search Saved Searches","store-name":"SavedSearchStore","show-active-filter-bar":!1,"show-result-details":!1,"show-sort-button":!1,"add-filter-button-severity":"secondary","add-filter-button-variant":"text","reset-button-severity":"secondary","reset-button-variant":"text","search-button-severity":"secondary","search-button-variant":"text","search-input-row-classes":"row no-gutters","search-input-col-classes":"col-12",size:"normal"})]),(0,s.bF)(c,{"show-button":!1,"store-name":e.storeName,block:"",size:"normal",severity:"secondary",variant:"text"}
1,null,8,["store-name"])])),_:1}),e.activeFilterValuesCount>0?((0,s.uX)(),(0,s.CE)("div",o,[(0,s.bF)(p,{fluid:"","col-classes":"col-12","store-name":"SavedSearchStore"})])):(0,s.Q3)("",!0)])),_:1}),e.noResults&&!e.searching?((0,s.uX)(),(0,s.Wv)(g,{key:0})):((0,s.uX)(),(0,s.Wv)(m,{key:1,"search-persistence-key":"SavedSearchModelIndex",class:"h-100","store-name":e.storeName,searching:e.searching},null,8,["store-name","searching"]))])),_:1})}]])},83568(e,t,r){r.d(t,{A:()=>g});var s=r(20641),a=r(90033);const o=["title"];var i=r(88369),n=r(34620),l=r(35894),u=r(92601),d=r(75824),c=r(27078),h=r(12776),p=r(19162);const f={name:"SavedSearchButtonResultsCount",directives:{visible:r(83530).A},props:{savedSearch:{type:Object,required:!0}},data:()=>({value:0}),computed:{shortValue(){return 1e4===this.value?">10K":(0,h.ZV)(this.value)},searchUrl(){return(0,i.Eq)(this.savedSearch.scope,{workspace:this.selectedWorkspaceId})}},methods:{visibleHandler(e){e&&this.fetchAggregation()},fetchAggregation(){let e=this.savedSearch.filters.rules.map((({id:e,value:t,operator:r,meta:s})=>new c.A(e,t,r,s))),t=new u.A(e,this.savedSearch.filters.condition),r=new l.A(this.savedSearch.scope,t),s=new n.A(this.savedSearch.scope,this.savedSearch.q).addAggregation(new d.A("count","ModelCountAggregation")).addQuery(r);p.EG.post(`/api/search/workspace/${this.selectedWorkspaceId}`,{searches:[s]}).then((({data:e})=>{e[0].aggregations.count&&(this.value=e[0].aggregations.count.value)}))}}};const g=(0,r(66262).A)(f,[["render",function(e,t,r,i,n,l){const u=(0,s.gN)("visible");return(0,s.bo)(((0,s.uX)(),(0,s.CE)("div",{class:"d-inline",dusk:"count",title:n.value+" Results"},[(0,s.eW)((0,a.toDisplayString)(l.shortValue),1)],8,o)),[[u,l.visibleHandler,void 0,{once:!0}]])}]])},87154(e,t,r){r.d(t,{A:()=>i});var s=r(20641),a=r(90033);const o={name:"LayoutDefault",computed:{style(){return this.loggedIn?{height:0,overflow:"auto"}:{}}}};const i=(0,r(66262).A)(o,[["render",function(e,t,r,o,i,n){return(0,s.uX)(),(0,s.CE)("div",{class:"w-100 min-100vh-auth d-flex flex-column",style:(0,a.normalizeStyle)(n.style)},[(0,s.RG)(e.$slots,"before"),(0,s.RG)(e.$slots,"default"),(0,s.RG)(e.$slots,"after")],4)}]])},62542(e,t,r){r.d(t,{A:()=>n});var s=r(20641),a=r(90033);var o=r(67530);const i={props:{date:{required:!1,type:String,default:null}},computed:{dateFormatted(){return this.date?(0,o.kz)(this.date):"--"}}};const n=(0,r(66262).A)(i,[["render",function(e,t,r,o,i,n){return(0,s.uX)(),(0,s.CE)("span",null,(0,a.toDisplayString)(n.dateFormatted),1)}]])},52607(e,t,r){r.d(t,{A:()=>f});var s=r(3944),a=r(15906),o=r(56370),i=r(20641),n=r(90033);var l=r(15006),u=r(86840),d=r(69430);const c={mixins:[l.A],inject:["toast"],watch:{synced:{handler(e){if(this.syncToUrl&&!e)if(this.tempSearchIdFromActiveStore){let e=Object.assign({},this.$store.state.route.query);e.searchId=this.tempSearchIdFromActiveStore,this.$router.replace({query:e})}else{let e=Object.assign({},this.$store.state.route.query);delete e.searchId,this.$router.replace({query:e})}},immediate:!0}},computed:{synced(){return this.tempSearchIdFromActiveStore===this.tempSearchIdFromUrl},tempSearchIdFromUrl(){return this.$store.state.route.query.searchId?this.$store.state.route.query.searchId:null},tempSearchIdFromActiveStore(){return this.$store.state[this.storeName].searchId},url(){return this.syncToUrl&&this.tempSearchIdFromUrl?window.location.href.split("?")[0]+"?searchId="+this.tempSearchIdFromUrl:window.location.href},memberEmailAddresses(){return this.$store.getters["AccountStore/selected"]?this.$store.getters["AccountStore/selected"].users.map((e=>e.email)):[]},searching(){return this.$store.state[this.storeName].searching}},methods:{email(){const e=`mailto:?target="_top"&body=${this.emailBody()}&subject=${this.emailSubject()}`;this.toast({href:e,summary:"Opening Email Client",detail:"If your email client does not open, try copy to clipboard instead.",severity:"success"}),window.location.href=e,(0,u.A)(d.js)},emailAccount(){const e=`\n                    mailto:${this.memberEmailAddresses.join("; ")}?target="_top"&body=${this.emailBody()}&subject=${this.emailSubject()}\n                `;this.toast({href:e,summary:"Opening Email Client",detail:"If your email client does not open, try copy to clipboard instead.",severity:"success"}),window.location.href=e,(0,u.A)(d.js)},emailSubject(){return encodeURIComponent(`${this.$route.meta.typeOfThings} on GovTribe`)},emailBody(){return encodeURIComponent(this.url)}},props:{title:{type:String,default:"Share Search"},syncToUrl:{type:Boolean,default:!0}}};var h=r(26838);const p={components:{MenuItem:r(44428).A,MenuItems:h.A},mixins:[c],inject:["toast"],props:{showButton:{type:Boolean,default:!0},severity:{type:String,default:"secondary"},variant:{type:String,default:"outlined"},icon:{type:String,default:"fa-regular fa-share-from-square"},menuClass:{type:String,default:""},size:{type:String,default:"lg"},tooltipPlacement:{type:String,default:"top"},block:{type:Boolean,default:!1},toggleClass:{type:String,required:!1,default:""}},data:()=>({feedback:null,isDropdownOpen:!1}),methods:{copyToClipboard(){navigator.clipboard?navigator.clipboard.writeText(this.url).then((()=>{this.toast({severity:"success",summary:"Copied to Clipboard",detail
1:"The search URL has been copied to your clipboard.",life:3e3}),(0,u.A)(d.js)}),(()=>{this.toast({severity:"error",summary:"Error",detail:"There was an error copying the URL to your clipboard. Please try again.",life:3e3})})):console.log("navigator.clipboard is not supported")}}};const f=(0,r(66262).A)(p,[["render",function(e,t,r,l,u,d){const c=o.A,h=(0,i.g2)("MenuItem"),p=(0,i.g2)("MenuItems"),f=a.A,g=s.A;return(0,i.uX)(),(0,i.CE)(i.FK,null,[r.showButton?(0,i.bo)(((0,i.uX)(),(0,i.Wv)(c,{key:0,id:"share-button-dropdown",title:e.title,size:r.size,disabled:e.searching,class:(0,n.normalizeClass)(r.toggleClass),severity:r.severity,variant:r.variant,icon:r.icon,"aria-haspopup":"menu","aria-expanded":u.isDropdownOpen.toString(),onClick:t[0]||(t[0]=t=>{e.$refs.op.toggle(t)})},null,8,["title","size","disabled","class","severity","variant","icon","aria-expanded"])),[[g,u.feedback?u.feedback:e.title,void 0,{top:!0}]]):(0,i.Q3)("",!0),(0,i.bF)(f,{ref:"op",onShow:t[1]||(t[1]=e=>{u.isDropdownOpen=!0}),onHide:t[2]||(t[2]=e=>{u.isDropdownOpen=!1})},{default:(0,i.k6)((()=>[(0,i.bF)(p,{"labelled-by":"share-button-dropdown",class:(0,n.normalizeClass)(["flex-grow-1",r.menuClass])},{default:(0,i.k6)((()=>[(0,i.bF)(h,{label:"Email",onClick:e.email},null,8,["onClick"]),e.memberEmailAddresses.length>1?((0,i.uX)(),(0,i.Wv)(h,{key:0,label:"Email Account",onClick:e.emailAccount},null,8,["onClick"])):(0,i.Q3)("",!0),(0,i.bF)(h,{id:"copy-to-cl
1ipboard",label:"Copy to Clipboard",onClick:d.copyToClipboard},null,8,["onClick"])])),_:1},8,["class"])])),_:1},512)],64)}]])},3772(e,t,r){r.d(t,{A:()=>h});var s=r(3944),a=r(92665),o=r(67461),i=r(20641),n=r(90033),l=r(53751);const u={key:"label",class:"status-indicator",role:"status"},d={class:"visually-hidden"};const c={name:"AvatarGroup",props:{showMax:{type:Number,required:!1,default:3},users:{type:Array,required:!0},size:{type:String,default:"large"},tooltipSuffix:{type:String,required:!1,default:""},showStatusIndicator:{type:Boolean,required:!1,default:!1},statusIndicatorText:{type:String,required:!1,default:""},statusIndicatorColorLight:{type:String,required:!1,default:"var(--p-green-600)"},statusIndicatorColorDark:{type:String,required:!1,default:"var(--p-green-500)"}},computed:{usersToShow(){return this.users.slice(0,this.showMax)},leftoverCount(){return this.users.length-this.showMax},leftoverCountString(){return"+"+this.leftoverCount},statusIndicatorStyle(){return{"--status-indicator-color-light":this.statusIndicatorColorLight,"--status-indicator-color-dark":this.statusIndicatorColorDark}}}};const h=(0,r(66262).A)(c,[["render",function(e,t,r,c,h,p){const f=o.A,g=a.A,m=s.A;return(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",{class:"d-flex align-items-center online-users-detailed position-relative max-w-fit",style:(0,n.normalizeStyle)(p.statusIndicatorStyle)},[(0,i.bF)(g,null,{default:(0,i.k6)((()=>[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(p.usersToShow,((e,t)=>(0,i.bo)(((0,i.uX)(),(0,i.Wv)(f,{key:t,image:e.showUrl+"/avatar?size=64",dusk:"user-avatar-"+e._id,size:r.size,class:"overflow-hidden"},null,8,["image","dusk","size"])),[[m,{value:`${e.name}${r.tooltipSuffix}`,pt:{text:"small"}},void 0,{bottom:!0}]]))),128)),p.leftoverCount>0?((0,i.uX)(),(0,i.Wv)(f,{key:0,title:p.leftoverCount,label:p.leftoverCountString,size:r.size,dusk:"user-avatar-leftover",class:"overflow-hidden"},null,8,["title","label","size"])):(0,i.Q3)("",!0)])),_:1}),p.usersToShow.length>0&&r.showStatusIndicator?((0,i.uX)(),(0,i.CE)("div",u,[(0,i.Lk)("span",d,(0,n.toDisplayString)(r.statusIndicatorText),1)])):(0,i.Q3)("",!0)],4)),[[l.vShow,p.usersToShow.length>0]])}]])},26863(e,t,r){r.d(t,{A:()=>c});var s=r(20641),a=r(90033);const o={class:"bg-content border-bottom border-bottom-light position-sticky",style:{left:"0"}},i={class:"row align-items-center g-0 my-2",style:{gap:"0.5rem 0"}},n={class:"col"},l={class:"mb-0"},u={key:0,class:"d-block fw-lighter"};const d={components:{PageSection:r(90572).A},props:{colClasses:{type:String,required:!1,default:"col-12 col-lg-10"}}};const c=(0,r(66262).A)(d,[["render",function(e,t,r,d,c,h){const p=(0,s.g2)("PageSection");return(0,s.uX)(),(0,s.CE)("div",o,[(0,s.bF)(p,(0,s.v6)(e.$attrs,{"row-classes":"justify-content-center align-items-center",padded:"","padded-amount":"1rem"}),{default:(0,s.k6)((()=>[(0,s.Lk)("div",{class:(0,a.normalizeClass)(r.colClasses)},[(0,s.Lk)("div",i,[(0,s.Lk)("div",n,[(0,s.Lk)("h1",l,[(0,s.Lk)("strong",null,[(0,s.RG)(e.$slots,"default")]),e.$slots.subtitle?((0,s.uX)(),(0,s.CE)("small",u,[(0,s.RG)(e.$slots,"subtitle")])):(0,s.Q3)("",!0)])])])],2)])),_:3},16)])}]])},22949(e,t,r){r.d(t,{A:()=>h});var s=r(20641),a=r(90033);const o={class:"page-badge-outer auto gap-2"};const i={key:0,class:"page-badge-wrapper"};var n=r(15006);const l={components:{FederalAgencyBadgeFromFilter:(0,s.$V)((()=>r.e(84991).then(r.bind(r,84991)))),FederalMetaOpportunityBadgeFromFilter:(0,s.$V)((()=>r.e(9596).then(r.bind(r,9596)))),GenericBadgeFromFilter:(0,s.$V)((()=>r.e(15274).then(r.bind(r,15274)))),IndustryTagBadgeFromFilter:(0,s.$V)((()=>r.e(41750).then(r.bind(r,41750)))),LocationBadgeFromFilter:(0,s.$V)((()=>r.e(44125).then(r.bind(r,44125)))),NaicsBadgeFromFilter:(0,s.$V)((()=>r.e(72545).then(r.bind(r,72545)))),OpportunityTypeBadgeFromFilter:(0,s.$V)((()=>r.e(28458).then(r.bind(r,28458)))),PscBadgeFromFilter:(0,s.$V)((()=>r.e(59716).then(r.bind(r,59716)))),PursuedBadgeFromFilter:(0,s.$V)((()=>r.e(1057).then(r.bind(r,1057)))),PersonaRoleTypeBadgeFromFilter:(0,s.$V)((()=>r.e(29511).then(r.bind(r,29511)))),ClearbitSeniorityBadgeFromFilter:(0,s.$V)((()=>r.e(24313).then(r.bind(r,24313)))),RoleBadgeFromFilter:(0,s.$V)((()=>r.e(14707).then(r.bind(r,14707)))),JobTitleBadgeFromFilter:(0,s.$V)((()=>r.e(3431).then(r.bind(r,3431))))}
1,mixins:[n.A],props:{group:{type:Object,required:!0},size:{type:String,required:!1,default:void 0}},computed:{filterBadgeComponent(){return this.group.meta.filterBadge?this.group.meta.filterBadge:"GenericBadgeFromFilter"},hideFromUI(){return"hideFromUI"in this.group.meta&&this.group.meta.hideFromUI}}};var u=r(66262);const d=(0,u.A)(l,[["render",function(e,t,r,a,o,n){return n.hideFromUI?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("span",i,[((0,s.uX)(),(0,s.Wv)((0,s.$y)(n.filterBadgeComponent),{value:r.group.values[0]||{},group:r.group,"store-name":e.storeName,size:r.size},null,8,["value","group","store-name","size"]))]))}]]);const c={components:{PageSection:r(90572).A,ActiveFilterBadge:d},mixins:[n.A],props:{size:{type:String,required:!1,default:void 0},colClasses:{type:String,required:!0}},computed:{visible(){return this.filterGroups.length>0||this.$slots.default},filterGroups(){return this.$store.getters[this.storeName+"/filterGroups"]??[]}}},h=(0,u.A)(c,[["render",function(e,t,r,i,n,l){const u=(0,s.g2)("ActiveFilterBadge"),d=(0,s.g2)("PageSection");return l.filterGroups.length?((0,s.uX)(),(0,s.Wv)(d,{key:0,dusk:"search-badges-index-page","row-classes":"justify-content-center","padded-left":"","padded-right":"","padded-bottom":""},{default:(0,s.k6)((()=>[(0,s.Lk)("div",{class:(0,a.normalizeClass)(r.colClasses)},[(0,s.Lk)("div",o,[(0,s.RG)(e.$slots,"default"),((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(l.filterGroups,((t,a)=>((0,s.uX)(),(0,s.Wv)(u,{key:a,"store-name":e.storeName,group:t,size:r.size},null,8,["store-name","group","size"])))),128)),(0,s.RG)(e.$slots,"lastItem")])],2)])),_:3})):(0,s.Q3)("",!0)}]])},66613(e,t,r){r.d(t,{A:()=>o});var s=r(65253),a=r(20641),o={name:"ChevronRightIcon",extends:s.A};o.render=function(e,t,r,s,o,i){return(0,a.uX)(),(0,a.CE)("svg",(0,a.v6)({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[(0,a.Lk)("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1)]),16)}},65154(e,t,r){r.d(t,{A:()=>s});const s=function(e,t,r,s){var a=-1,o=null==e?0:e.length;for(s&&o&&(r=e[++a]);++a<o;)r=t(r,e[a],a,e);return r}},70898(e,t,r){r.d(t,{A:()=>a});var s=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const a=function(e){return s.test(e)}},21811(e,t,r){r.d(t,{A:()=>re});var s=r(65154);const a=function(e){return e};const o=function(e){return null==e?"":a(e)};var i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;const n=function(e){return e.match(i)||[]};var l=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;const u=function(e){return l.test(e)};var d=r(48182),c="\\ud800-\\udfff",h="\\u2700-\\u27bf",p="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",g="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",m="["+g+"]",y="\\d+",v="["+h+"]",S="["+p+"]",b="[^"+c+g+y+h+p+f+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",C="["+f+"]",k="(?:"+S+"|"+b+")",_="(?:"+C+"|"+b+")",x="(?:['’](?:d|ll|m|re|s|t|ve))?",M="(?:['’](?:D|LL|M|RE|S|T|VE))?",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",E="[\\ufe0e\\ufe0f]?",F=E+O+("(?:\\u200d(?:"+["[^"+c+"]",A,w].join("|")+")"+E+O+")*"),I="(?:"+[v,A,w].join("|")+")"+F,R=RegExp([C+"?"+S+"+"+x+"(?="+[m,C,"$"].join("|")+")",_+"+"+M+"(?="+[m,C+k,"$"].join("|")+")",C+"?"+k+"+"+x,C+"+"+M,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",y,I].join("|"),"g");const q=function(e){return e.match(R)||[]};const L=function(e,t,r){return e=(0,d.A)(e),void 0===(t=r?void 0:t)?u(e)?q(e):n(e):e.match(t)||[]};var D=RegExp("['’]","g");const T=function(e){return function(t){return(0,s.A)(L(o(t).replace(D,"")),e,"")}};const $=function(e,t,r){var s=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++s<a;)o[s]=e[s+t];return o};const j=function(e,t,r){var s=e.length;return r=void 0===r?s:r,!t&&r>=s?e:$(e,t,r)};var V=r(70898);const U=function(e){return e.split("")};var z="\\ud800-\\udfff",B="["+z+"]",N="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",H="\\ud83c[\\udffb-\\udfff]",G="[^"+z+"]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",W="(?:"+N+"|"+H+")"+"?",Q="[\\ufe0e\\ufe0f]?",K=Q+W+("(?:\\u200d(?:"+[G,P,X].join("|")+")"+Q+W+")*"),J="(?:"+[G+N+"?",N,P,X,B].join("|")+")",Z=RegExp(H+"(?="+H+")|"+J+K,"g");const Y=function(e){return e.match(Z)||[]};const ee=function(e){return(0,V.A)(e)?Y(e):U(e)};const te=function(e){return function(t){t=(0,d.A)(t);var r=(0,V.A)(t)?ee(t):void 0,s=r?r[0]:t.charAt(0),a=r?j(r,1).join(""):t.slice(1);return s[e]()+a}}("toUpperCase");const re=T((function(e,t,r){return e+(r?" ":"")+te(t)}))},48182(e,t,r){r.d(t,{A:()=>s});const s=function(e){return e}}}]);

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.