PageSourceSearch

https://static.cdn.bookyourhunt.com/_nuxt/CdwrogLd.js

js bookyourhunt.com collected 2026-10-02 11:43:14 UTC 3,709 bytes, 1 lines download raw bytes

1import{r as b}from"./A13lJypL.js";import{B as P,b8 as T,b9 as D,$ as F,c as I,ba as U,bb as e,u as E,x as $,a2 as q,z}from"./Ky0_wSIA.js";import{u as j}from"./GnQlNyfA.js";import{g as G,l as J}from"./qgU1IR7L.js";const Z=()=>{const{isRole:t,accountContext:c,hasLocalMarkets:k,gotoOldOutfitter:v,accountNewUIMode:C,isOutfitter:x,isHunter:S,logout:y}=P(),{hasEmpty:O,check:M}=T(),{hunterNotifications:s,outfitterNotifications:w}=D(),{getFavorites:N}=j(),{httpProxy:H}=F().public;return{menu:I(()=>{var m,p,f,h,g;x.value&&setTimeout(M,500),S.value&&setTimeout(N);const R=H&&C.value!==U.NewOnly,B=()=>{const{$lr:n}=E();$(n({name:"support-context",query:{redirect:q().fullPath}}),{replace:!0})},L=()=>{navigator.clipboard.writeText(String(c.value)),z("Context email copied")},A=G.flatMap(({label:n,list:l})=>l.filter(a=>t(e.Support)?["Operations","Outfitters"].includes(n):[e.Sales,e.Accountant].some(r=>{var o;return t(r)&&((o=J(a))==null?void 0:o.includes(r))})).map(({name:a,icon:r,iconSize:o,route:i,url:d})=>({name:a,icon:r,iconSize:o,route:d||{name:String(i)},external:!!d}))).slice(0,11),u={name:"Log out",icon:"signout",click:y};return[{label:"Outfitter",roles:[e.Outfitter],list:[{route:{name:"outfitter-dashboard"},name:"Dashboard",icon:"grid",dot:O.value},{route:{name:"outfitter-chats"},name:"Chats",icon:"bubbles",count:((m=w.value)==null?void 0:m.unreadChatMessages)||0},{route:{name:"outfitter-hunts"},name:"Hunts",icon:"target"},{route:{name:"outfitter-territories"},name:"Territories",icon:"globe"},{route:{name:"outfitter-bookings"},name:"Bookings",icon:"calendarCheck"},{route:{name:"outfitter-promo"},name:"Promo",icon:"coupon"},{route:{name:"outfitter-calendar"},name:"Calendar",icon:"calendar"},{route:{name:"outfitter-finance"},name:"Finance",icon:"wallet"},...k.value?[{route:{name:"outfitter-markets"},name:"Local markets",icon:"checklist"}]:[],{route:{name:"outfitter-reviews"},name:"Reviews",icon:"star"},{route:{name:"outfitter-profile"},name:"Profile",icon:"profile"},{route:{name:"outfitter-settings"},name:"Settings",icon:"settings"},{route:{name:"outfitter-help"},name:"Help center",icon:"roundInfo"},...R?[{name:"Back to old extranet",icon:"link",click:v}]:[],...t(e.Support)?[]:[u]]},{label:"Hunter",roles:[e.Hunter],list:[{route:{name:"hunter-dashboard"},name:"Dashboard",icon:"grid"},{route:{name:"hunter-bookings"},name:"Bookings",icon:"calendarCheck"},{route:{name:"hunter-chats"},name:"Chats",icon:"bubbles",count:(p=s.value)==null?void 0:p.unreadChatMessages},{route:{name:"hunter-subscriptions"},name:"Subscriptions",icon:"write",count:(f=s.value)==null?void 0:f.subscriptionsCount},{route:{name:"hunter-coupons"},name:"Coupons",icon:"coupon",count:(h=s.value)==null?void 0:h.vouchersCount},{route:{name:"hunter-favorites"},name:"Favorite hunts",icon:"heart",count:(g=s.value)==null?void 0:g.favoriteHuntsCount},{route:"/shop/my/orders",external:!0,name:"Orders",icon:"cart"},{route:{name:"hunter-profile"},name:"Profile",icon:"profile"},{route:{name:"hunter-settings"},name:"Settings",icon:"settings"}
1,...t([e.Support,e.Outfitter])?[]:[u]]},{label:"Content manager",roles:[e.ContentManager],list:[{route:{name:"support-animal-types"},name:"Animal types",icon:"species"},...t(e.Support)?[]:[u]]},{label:"Support",roles:[e.Support,e.Sales,e.Accountant,e.Marketing],list:[{route:{name:"support-index"},name:"All sections",icon:"grid"},...A,...c.value?[{name:"Copy context email",text:String(c.value),icon:"copy",click:L},{name:"Clear context",icon:"remove",click:B}]:[],u]}].reduce((n,{label:l,roles:a,list:r})=>{if(!a||t(a)){const o=r.filter(({route:i})=>!i||typeof i=="string"||!b[i.name]||t(b[i.name]));o.length&&n.push({label:l,list:o})}return n},[])})}};export{Z as u};

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.