PageSourceSearch

https://app.nudgebee.com/_next/static/chunks/09ldexy7npc93.js

js nudgebee.com collected 2026-10-03 21:06:57 UTC 34,026 bytes, 337 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,393172,(e,t,r)=>{"use strict";var a=e.r(978509);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=a(e.r(421506)),n=e.r(391398);r.default=(0,s.default)((0,n.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},660270,7369,e=>{"use strict";var t=e.i(586419),r=e.i(857002),a=e.i(655237);let s=`query UserDetails($where: UserDetailsWhereRequest) {
2  users_get_details(where: $where) {
3    rows { id display_name username status created_at updated_at user_roles user_auths tenants groups user_attrs }
4  }
5}`;function n(e){return{id:e.id,display_name:e.display_name,username:e.username,status:e.status,created_at:e.created_at,updated_at:e.updated_at,user_roles:(0,a.safeJSONParse)(e.user_roles)||[],user_auths:(0,a.safeJSONParse)(e.user_auths)||[],tenants:((0,a.safeJSONParse)(e.tenants)||[]).map(e=>({id:e.id,is_default:e.is_default,name:e.name})),groups:((0,a.safeJSONParse)(e.groups)||[]).map(e=>({user_group:e})),user_attrs:(0,a.safeJSONParse)(e.user_attrs)||[]}}let i=`
6query GetUsers($offset: Int, $limit: Int) {
7  users: users_list_by_tenant(limit: $limit, offset: $offset, order_by: [{column: "username", order: asc}], where: __WHERE__) {
8    rows {
9      display_name
10      id
11      status
12      username
13      user_roles
14    }
15  }
16}
17`,o=`
18query GetUsersByTenant($offset: Int, $limit: Int) {
19  users_list_by_tenant (limit: $limit, offset: $offset, order_by: __ORDERBY__, where: __WHERE__) {
20    rows{
21      display_name
22      id
23      status
24      username
25      created_at
26      last_accessed_at
27      user_roles
28      user_groups
29    }
30  }
31  users_aggregate_by_tenant (where: __WHERE__){
32    rows{
33      count
34    }
35  }
36}
37`,u=`
38query GetUserGroups($offset: Int, $limit: Int) {
39  usergroups_list(limit: $limit, offset: $offset, order_by: [{column:"name", order:asc}], where: __WHERE__) {
40    rows{
41      id
42      name
43      description
44      owner
45      created_at
46      group_roles
47      owner_display_name
48      member_count
49    }
50  }
51  usergroups_aggregate(where: __WHERE__) {
52    rows{
53      count
54    }
55  }
56}
57`,d=`
58mutation CreateUserGroup($name: String!, $description: String) {
59  usergroup_create(name: $name, description: $description) {
60    id
61  }
62}
63`,l=`
64query GetUserGroup($id:uuid) {
65  user_groups: usergroups_list(where: {id: {_eq: $id}}) {
66    rows {
67      id
68      name
69      description
70      owner
71      owner_display_name
72    }
73  }
74}
75`,c=`
76query GetUserGroupUsers($offset: Int, $limit: Int, $id: String) {
77  usergroups_list_users(limit: $limit, offset: $offset, where: {group_id: {_eq: $id}}) {
78    rows {
79      user_id
80      display_name
81      username
82      status
83      user_roles
84      user_groups
85    }
86  }
87  usergroups_aggregate_users(where: {group_id: {_eq: $id}}) {
88    rows {
89      count
90    }
91  }
92}
93`;async function p(e){let{id:r}=e,a=await (0,t.queryGraphQL)(s,"UserDetails",{where:{id:{_eq:r}}});return a?.data?.errors?a.data:{data:{users:(a?.data?.data?.users_get_details?.rows||[]).map(n)}}}let g=`query UserSuperAdminRole($where: UserSuperAdminRoleWhereRequest) {
94  users_get_super_admin_role(where: $where) {
95    rows { role }
96  }
97}`;async function _(e){let r=await (0,t.queryGraphQL)(g,"UserSuperAdminRole",{where:{user_id:{_eq:e}}});return r?.data?.data?.users_get_super_admin_role?.rows?.[0]?.role||null}async function m(e,r){let a=await (0,t.queryGraphQL)(d,"CreateUserGroup",{name:e,description:r});return{data:(0,t.unwrapGraphQL)(a,"Failed to create group")?.usergroup_create}}async function f(e){let r={};e.status&&(r.status={_eq:e.status});let a=i;a=a.replaceAll("__WHERE__",(0,t.gqlStringify)(r));let s=await (0,t.queryGraphQL)(a,"GetUsers",{limit:e.limit||10,offset:e.offset||0});return s?.data?.data.users?.rows||[]}async function h(e){let r=o,a=[{column:e.sortCol||"display_name",order:e.sortOrder||"asc"}],s={};e.nameSearch&&(s.display_name={_ilike:"%"+e.nameSearch+"%"}),e.statusSearch&&(s.status={_eq:e.statusSearch}),r=r.replaceAll("__ORDERBY__",(0,t.gqlStringify)(a,["order"])).replaceAll("__WHERE__",(0,t.gqlStringify)(s));let n=await (0,t.queryGraphQL)(r,"GetUsersByTenant",{limit:e.limit||10,offset:e.offset||0});return n?.data?.data||[]}async function y(e){let r={};e.nameSearch&&(Array.isArray(e.nameSearch)?r.name={_in:e.nameSearch}:r.name={_ilike:"%"+e.nameSearch+"%"});let a=u.replaceAll("__WHERE__",(0,t.gqlStringify)(r)),s=await (0,t.queryGraphQL)(a,"GetUserGroups",{limit:e.limit||10,offset:e.offset||0});return s?.data.data||[]}async function v(e){let r=await (0,t.queryGraphQL)(l,"GetUserGroup",{id:e.id}),a=r.data?.data?.user_groups?.rows||[],s=null;if(a.length>0){let e=a[0];s={...e,owner:{id:e.owner,display_name:e.owner_display_name}}}return s}async function b(e){let r=await (0,t.queryGraphQL)(c,"GetUserGroupUsers",{id:e.id,offset:e.offset,limit:e.limit}),a=r.data?.data?.usergroups_list_users?.rows||[],s=r.data?.data?.usergroups_aggregate_users?.rows?.[0]?.count||0;return{usergroup_users:a.map(e=>({user:{id:e.user_id,display_name:e.display_name,username:e.username,status:e.status,user_roles:"string"==typeof e.user_roles?JSON.parse(e.user_roles):e.user_roles,usergroupUsersByUser:"string"==typeof e.user_groups?JSON.parse(e.user_groups):e.user_groups}})),usergroup_users_aggregate:{aggregate:{count:s}}}}async function x(e,r,a){let s=`
98  mutation TenantAttributeAction($data: [TenantAttributeRequest!]!) {
99    tenant_attribute_upsert(object: $data) {
100      name
101      value
102      id
103    }
104  }
105  `;return await (0,t.queryGraphQL)(s,"TenantAttributeAction",{data:e},r,void 0,a)}let S=`query TenantAttributes {
106  tenant_attributes_v2 {
107    rows { id name value tenant_id }
108  }
109}`;async function w(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=r.default.getWithSuffix("tenant.listTenantAttr",null,{});if(!a||e){let e=await (0,t.queryGraphQL)(S,"TenantAttributes",{}),s=e?.data?.data?.tenant_attributes_v2?.rows||[];r.default.setWithSuffix("tenant.listTenantAttr",s,{},3600),a=s}return a}
109async function U(){let e=`
110  query GetFeatures {
111    features_list {
112      rows {
113        value
114        description
115        display_name
116        category
117        category_label
118        category_sort_order
119        polarity
120        stored_value_inverted
121      }
122    }
123  }
124  `,a=r.default.getWithSuffix("tenant.listFeatures",null,{});if(!a){let s=await (0,t.queryGraphQL)(e,"GetFeatures",{}),n=s?.data?.data?.features_list?.rows||[];r.default.setWithSuffix("tenant.listFeatures",n,{},3600),a=n}return a}async function $(e){let r=await (0,t.queryGraphQL)(`
125    mutation FeatureFlagUpsert($features: [featureflag_upsert_input!]!) {
126      featureflag_upsert(features: $features) {
127        status
128        message
129      }
130    }
131    `,"FeatureFlagUpsert",{features:e.map(e=>({feature_id:e.feature_id,status:e.status}))});return r?.data?.errors||r?.errors?r:{data:{}}}async function E(e){return await (0,t.queryGraphQL)(`
132    mutation FeatureFlagUpsert($features: [featureflag_upsert_input!]!) {
133      featureflag_upsert(features: $features) {
134        status
135        message
136      }
137    }
138    `,"FeatureFlagUpsert",{features:e.map(e=>({feature_id:e.feature_id,status:e.status,account_id:e.account_id}))})}async function G(e,r){return await (0,t.queryGraphQL)(`
139    mutation TenantUpdateName($name: String!) {
140      tenant_update_name(name: $name) {
141        status
142        message
143      }
144    }
145    `,"TenantUpdateName",{name:r})}async function k(e){return await (0,t.queryGraphQL)(`
146    mutation TenantAttributeDelete($names: [String!]!) {
147      tenant_attribute_delete(names: $names) {
148        status
149        affected_rows
150      }
151    }
152    `,"TenantAttributeDelete",{names:e})}e.s(["createUserGroup",0,m,"deleteTenantAttributes",0,k,"getFeatures",0,U,"getTenantAttributes",0,w,"getUserById",0,p,"getUserGroup",0,v,"getUserGroupUsers",0,b,"getUserGroups",0,y,"getUserSuperAdminRole",0,_,"getUsers",0,f,"getUsersByTenant",0,h,"updateFeatureFlagForAccount",0,E,"updateTenantFeatureFlag",0,$,"updateTenantName",0,G,"upsertTenantAttributes",0,x],7369);let R="last_account",A="last_account_by_provider",q="table_page_size",T="recent_page_searches",C="k8s_agent_snackbar",L="app_tour_seen",z="app_tour_snoozed_until",P="troubleshoot_tour_seen",I="troubleshoot_investigations_tour_seen",N="troubleshoot_kg_tour_seen",j="optimize_tour_seen",O="tickets_tour_seen",Q="cloud_tour_seen",F="product_updates_last_seen",B=[R,A,T,q,C,L,z,P,I,N,j,O,Q,F],H=`
153query GetCloudAccounts {
154    cloud_accounts: accounts_list(where: {status:{_eq:"active"}}) {
155      rows {
156        id
157        account_name
158        cloud_provider
159      }
160    }
161}
162`,D=`
163query GetNamespaces {
164    k8s_namespaces: k8s_namespaces_v2(where: {is_active:{_eq:true}}, limit : 1000) {
165      rows{
166        name
167        account_id
168      }
169    }
170}
171`,W=`
172mutation ManageGroupUsers($group_id: String!, $add_usernames: [String!]!, $remove_usernames: [String!]!) {
173  usergroups_update_members(group_id: $group_id, add_usernames: $add_usernames, remove_usernames: $remove_usernames) {
174    status
175    message
176  }
177}
178`,M=`
179mutation UpdateUser($username: String!, $display_name: String, $status: String, $role: String) {
180  users_update_profile(username: $username, display_name: $display_name, status: $status, role: $role) {
181    status
182    message
183  }
184}
185`,K=`
186query GetAllStatuses {
187  users_list_status_types {
188    value
189  }
190}`,J=`
191query UserTenant($username:String!){
192  users_list_tenants(object:{username:$username}){
193    name
194  }
195}
196`,X=`
197query ListAllTenants {
198  tenant_list_all {
199    id
200    name
201  }
202}
203`,V=`
204mutation CreateUser($username:String!, $firstname:String!, $lastname:String, $role:String){
205  users_create(user:{firstname:$firstname, lastname:$lastname, username:$username role:$role}){
206    status
207    message
208    id
209    tenant_id 
210  }
211}
212`,Z=`
213mutation UpdateUserGroup($id: String!, $name: String, $description: String, $role: String) {
214  usergroup_update(id: $id, name: $name, description: $description, role: $role) {
215    status
216    message
217  }
218}
219`,Y=`
220mutation UpsertUserGroupAccountRoles($data:auth_account_group_roles_upsert_one_input!) {
221  userroles_upsert_account_group(role:$data) {
222    status
223  }
224}
225`,ee=`
226mutation UpsertUserGroupAccountNamespaceRoles($data:auth_k8saccount_namespace_group_roles_upsert_one_input!) {
227  userroles_upsert_k8s_namespace_group(role:$data) {
228    status
229  }
230}
231`,et=`
232mutation UpsertUserGroupTenantRole($data: auth_tenant_group_roles_upsert_one_input!) {
233  userroles_upsert_group(role: $data) {
234    status
235  }
236}
237`,er=`
238query getAllRoles {
239  roles_list(object:{filter:"tenant%"}) {
240    display_name
241    value
242  }
243}
244`,ea=`
245query GetUserHistroy($accountId: String!, $module: String!, $limit: Int!, $offset: Int!) {
246  users_list_history(where:{account_id:{_eq: $accountId}, module:{_eq: $module}}, limit: $limit, offset: $offset, order_by: [{column: "created_at", order: desc}]) {
247    rows {
248      data
249      created_at
250      status
251      module
252      duration
253      meta
254    }
255  }
256}`,es=`
257query checkGroupNameExists($name: String!) {
258  usergroups_check_name_exists(object: {name: $name}) {
259    id
260    name
261  }
262}
263`,en=`
264query ListUserTokens {
265  users_list_token {
266    tokens {
267      id
268      name
269      provider
270      status
271      created_at
272      accessed_at
273    }
274  }
275}
276`,ei=`
277mutation CreateUserToken($name: String!) {
278  users_create_token(user: {name: $name}) {
279    token
280    name
281  }
282}
283`,eo=`
284mutation DeleteUserToken($name: String!) {
285  users_delete_token(user: {name: $name}) {
286    name
287  }
288}
289`,eu=`
290query ListIntegrationAccounts($user_id: String!) {
291  users_list_integration_accounts(user_id: $user_id) {
292    id
293    account_id
294    account_name
295    integration_type
296    integration_id
297    integration_name
298    external_user_id
299    username
300    email
301    display_name
302    mapped_user_id
303    mapped_via
304    mapped_by_name
305    last_synced_at
306  }
307}
308`,ed=`
309query ListUnmappedAccounts($integration_type: String) {
310  users_list_unmapped_accounts(integration_type: $integration_type) {
311    id
312    account_id
313    account_name
314    integration_type
315    integration_id
316    integration_name
317    external_user_id
318    username
319    email
320    display_name
321  }
322}
323`,el=`
324mutation CreateAccountMapping($mapping_id: String!, $user_id: String!) {
325  users_create_account_mapping(mapping_id: $mapping_id, user_id: $user_id) {
326    id
327    status
328  }
329}
330`,ec=`
331mutation DeleteAccountMapping($mapping_id: String!) {
332  users_delete_account_mapping(mapping_id: $mapping_id) {
333    id
334    status
335  }
336}
337`,ep={listK8sNamespaces:async function(){try{return(await (0,t.queryGraphQL)(D,"GetNamespaces",{})).data.data}catch(e){return e}},addUser:async function(e){let a={firstname:e.firstname,username:e.email,lastname:e.lastname,role:e.role??""};try{let e=await (0,t.queryGraphQL)(V,"CreateUser",a);return r.default.delWithSuffix("user.listUsers"),e.data}catch(e){return e}},listUsers:async function(e){e||(e={});let t={offset:e.offset||0,limit:e.limit||1e3};e.status&&(t.status=e.status);let a=r.default.getWithSuffix("user.listUsers",null,t);if(!a){let e=await f(t);r.default.setWithSuffix("user.listUsers",e,t,36e5),a=e}return{data:a}},listAccounts:async function(){try{let e=await (0,t.queryGraphQL)(H,"GetCloudAccounts",{});return e.data?.data?.cloud_accounts?.rows??[]}catch(e){return console.log("getWidget1Query Error is",e),e}},getUser:async function(e){let t=await p({id:e});return t.data&&t.data.users&&t.data.users.length>0?{data:t.data.users[0]}:{}},getAllStatuses:async function(){try{let e=await (0,t.queryGraphQL)(K,"GetAllStatuses");return{data:{user_status_type:e?.data?.data?.users_list_status_types||[]}}}catch(e){return e}},listUserGroups:async function(e){return e||(e={}),{data:await y({offset:e.offset||0,limit:e.limit||100,nameSearch:e.nameSearch})}},getUserGroup:async function(e){return{data:await v({id:e})}},listUserGroupUsers:async function(e){return{data:await b({offset:e.offset||0,limit:e.limit||100,id:e.id})}},upsertGroupTenantRole:async function(e){let{group_id:r,role:a}=e,s=await (0,t.queryGraphQL)(et,"UpsertUserGroupTenantRole",{data:{group_id:r,role:a??""}});return(0,t.unwrapGraphQL)(s,"Failed to update tenant role")?.userroles_upsert_group},upsertGroupAccountRoles:async function(e){let r=await (0,t.queryGraphQL)(Y,"UpsertUserGroupAccountRoles",{data:e});return(0,t.unwrapGraphQL)(r,"Failed to update account roles"),{data:r.data}},upsertGroupAccountNamespaceRoles:async function(e){let r=await (0,t.queryGraphQL)(ee,"UpsertUserGroupAccountNamespaceRoles",{data:e});return(0,t.unwrapGraphQL)(r,"Failed to update namespace roles"),{data:r.data}},manageGroupUsers:async function(e){let r=await (0,t.queryGraphQL)(W,"ManageGroupUsers",{group_id:e.group_id,add_usernames:e.add_usernames||[],remove_usernames:e.remove_usernames||[]});return(0,t.unwrapGraphQL)(r,"Failed to update group members"),{data:r}},updateUser:async function(e){try{let a=await (0,t.queryGraphQL)(M,"Upd
337ateUser",{username:e.username,display_name:e.display_name,status:e.status,role:e.role});return r.default.delWithSuffix("user.listUsers"),a.data}catch(e){return e}},addUserGroup:async function(e,t){return m(e,t)},listIntegrationAccounts:async function(e){try{let r=await (0,t.queryGraphQL)(eu,"ListIntegrationAccounts",{user_id:e});return r?.data?.data?.users_list_integration_accounts??[]}catch{return[]}},listUnmappedAccounts:async function(e){try{let r=await (0,t.queryGraphQL)(ed,"ListUnmappedAccounts",{integration_type:e??null});return r?.data?.data?.users_list_unmapped_accounts??[]}catch{return[]}},createAccountMapping:async function(e){let{mappingId:r,userId:a}=e,s=await (0,t.queryGraphQL)(el,"CreateAccountMapping",{mapping_id:r,user_id:a});return s?.data?.data?.users_create_account_mapping},deleteAccountMapping:async function(e){let{mappingId:r}=e,a=await (0,t.queryGraphQL)(ec,"DeleteAccountMapping",{mapping_id:r});return a?.data?.data?.users_delete_account_mapping},listUserTenants:async function(e){let r=await (0,t.queryGraphQL)(J,"UserTenant",{username:e});return{data:r?.data?.data?.users_list_tenants}},listAllTenants:async function(){let e=await (0,t.queryGraphQL)(X,"ListAllTenants",{});return{data:e?.data?.data?.tenant_list_all}},updateUserGroup:async function(e){let r=await (0,t.queryGraphQL)(Z,"UpdateUserGroup",{id:e.id,name:e.name,description:e.description,role:e.role});return(0,t.unwrapGraphQL)(r,"Failed to update group")?.usergroup_update},getAllRoles:async function(e){let r=await (0,t.queryGraphQL)(er,"getAllRoles");return r?.data?.data?.roles_list||[]},getUserPreferences:function(){let e=localStorage.getItem("nudgebee.userPreferences");if(e)try{return JSON.parse(e)}catch(e){console.error("Error parsing user preferences",e)}return{}},getUserPreferencesTablePageSize:function(){let e=localStorage.getItem("nudgebee.userPreferences");if(e)try{e=JSON.parse(e)}catch(e){console.error("Error parsing user preferences",e)}return e?.[q]??10},storeUserPreferences:function(e,t){if(!B.includes(e))throw console.error("Invalid user preference key",e),Error("Invalid user preference key");let r=localStorage.getItem("nudgebee.userPreferences");if(r)try{r=JSON.parse(r)}catch(e){console.error("Error parsing user preferences",e),r=null}null===r&&(r={}),r[e]=t,localStorage.setItem("nudgebee.userPreferences",JSON.stringify(r))},getLastAccountIdForProvider:function(e,t){if(!e||!t)return null;let r=(ep.getUserPreferences()||{})[A]||{};return r[t]?.[e.toUpperCase()]||null},setLastAccountIdForProvider:function(e,t,r){if(!e||!t||!r)return;let a=(ep.getUserPreferences()||{})[A]||{},s={...a,[r]:{...a[r]||{},[e.toUpperCase()]:t}};ep.storeUserPreferences(A,s)},getLastAccountProviderById:function(e,t){if(!e||!t)return null;let r=Object.entries(((ep.getUserPreferences()||{})[A]||{})[t]||{}).find(t=>{let[,r]=t;return r===e});return r?r[0]:null},getRecentPageSearches:function(e){return e&&((ep.getUserPreferences()||{})[T]||{})[e]||[]},addRecentPageSearch:function(e,t){if(!e||!t)return;let r=(ep.getUserPreferences()||{})[T]||{},a=[e,...(r[t]||[]).filter(t=>t!==e)].slice(0,3),s={...r,[t]:a};ep.storeUserPreferences(T,s)},removeRecentPageSearches:function(e,t){let r=ep.getRecentPageSearches(t);if(!e?.length||!t)return r;let a=new Set(e),s=r.filter(e=>!a.has(e));if(s.length===r.length)return r;let n=(ep.getUserPreferences()||{})[T]||{};return ep.storeUserPreferences(T,{...n,[t]:s}),s},isK8sAgentSnackbarDismissed:function(e){return!!e&&!!((ep.getUserPreferences()||{})[C]||{})[e]},setK8sAgentSnackbarDismissed:function(e,t){if(!e)return;let r={...(ep.getUserPreferences()||{})[C]||{}};t?r[e]=!0:delete r[e],ep.storeUserPreferences(C,r)},migrateLegacyK8sAgentSnackbarPrefs:function(){if("u">typeof localStorage)try{let e=[];for(let t=0;t<localStorage.length;t+=1){let r=localStorage.key(t);r&&r.startsWith("latest-")&&r.endsWith("-K8sAgentSnackbar")&&e.push(r)}if(0===e.length)return;let t={...(ep.getUserPreferences()||{})[C]||{}};e.forEach(e=>{if("false"===localStorage.getItem(e)){let r=e.slice(7,-17);r&&(t[r]=!0)}localStorage.removeItem(e)}),ep.storeUserPreferences(C,t)}catch(e){console.error("Failed to migrate legacy K8s agent snackbar preferences",e)}},getHistory:async function(e){let{accountId:r,module:a,limit:s,offset:n}=e;if("demo"===r)return{data:{users_create_history:[]}};let i=await (0,t.queryGraphQL)(ea,"GetUserHistroy",{accountId:r,module:a,limit:s,offset:n});return{data:{users_create_history:i.data?.data?.users_list_history?.rows||[]}}},checkGroupNameExists:async function(e){let r=await (0,t.queryGraphQL)(es,"checkGroupNameExists",{name:e});return{data:r?.data?.data.usergroups_check_name_exists,errors:r?.data?.errors}},listUserTokens:async function(){try{let e=await (0,t.queryGraphQL)(en,"ListUserTokens",{});return{data:e?.data?.data?.users_list_token?.tokens||[],errors:e?.data?.errors}}catch(e){return{data:[],errors:[e]}}},createUserToken:async function(e){try{let r=await (0,t.queryGraphQL)(ei,"CreateUserToken",{name:e});return{data:r?.data?.data?.users_create_token,errors:r?.data?.errors}}catch(e){return{data:null,errors:[e]}}},deleteUserToken:async function(e){try{let r=await (0,t.queryGraphQL)(eo,"DeleteUserToken",{name:e});return{data:r?.data?.data?.users_delete_token,errors:r?.data?.errors}}catch(e){return{data:null,errors:[e]}}}};e.s(["PREFERENCE_APP_TOUR_SEEN",0,L,"PREFERENCE_APP_TOUR_SNOOZED_UNTIL",0,z,"PREFERENCE_CLOUD_TOUR_SEEN",0,Q,"PREFERENCE_LAST_ACCOUNT_ID",0,R,"PREFERENCE_OPTIMIZE_TOUR_SEEN",0,j,"PREFERENCE_PRODUCT_UPDATES_LAST_SEEN",0,F,"PREFERENCE_TABLE_PAGE_SIZE",0,q,"PREFERENCE_TICKETS_TOUR_SEEN",0,O,"PREFERENCE_TROUBLESHOOT_INVESTIGATIONS_TOUR_SEEN",0,I,"PREFERENCE_TROUBLESHOOT_KG_TOUR_SEEN",0,N,"PREFERENCE_TROUBLESHOOT_TOUR_SEEN",0,P,"default",0,ep],660270)},635546,e=>{"use strict";var t=e.i(391398),r=e.i(191788),a=e.i(917563);let s={sm:{box:"14px",fontSize:"var(--ds-text-caption)",gap:"6px",iconSize:10},md:{box:"16px",fontSize:"var(--ds-text-body)",gap:"8px",iconSize:12}};e.s(["Checkbox",0,function(e){let{checked:n,onChange:i,label:o,description:u,indeterminate:d,disabled:l,size:c="md","aria-label":p,className:g,id:_,name:m,value:f,"data-testid":h}=e,y=s[c],v=r.useId(),b=_??v,x=r.useRef(null);r.useEffect(()=>{x.current&&(x.current.indeterminate=!!d)},[d]);let S=void 0!==o,w=void 0!==u,U=d?"indeterminate":n?"on":"off",$="off"!==U,E=l?$?"var(--ds-gray-500)":"var(--ds-gray-300)":$?"var(--ds-blue-500)":"var(--ds-gray-400)",G=(0,t.jsxs)(a.Box,{"aria-hidden":"true",sx:{position:"relative",pointerEvents:"none",width:y.box,height:y.box,flexShrink:0,borderRadius:"var(--ds-radius-sm)",border:`1px solid ${E}`,backgroundColor:l?$?"var(--ds-gray-500)":"var(--ds-background-200)":$?"var(--ds-blue-500)":"var(--ds-background-100)",transition:"background-color var(--ds-motion-micro) var(--ds-motion-ease)",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"var(--ds-background-100)"},children:[(0,t.jsx)(a.Box,{component:"svg",viewBox:"0 0 16 16",sx:{width:y.iconSize,height:y.iconSize,opacity:+("on"===U),transition:"opacity var(--ds-motion-micro) var(--ds-motion-ease)"},children:(0,t.jsx)("polyline",{points:"3.5,8 7,11 12.5,5",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"indeterminate"===U&&(0,t.jsx)(a.Box,{component:"span",sx:{width:"60%",height:"2px",backgroundColor:"currentColor",borderRadius:"1px"}})]}),k=(0,t.jsx)(a.Box,{component:"input",ref:x,type:"checkbox",id:b,name:m,value:f,"data-testid":h,checked:n,disabled:l,"aria-label":S?void 0:p,onChange:e=>i(e.currentTarget.checked),sx:{position:"absolute",width:y.box,height:y.box,margin:0,opacity:0,cursor:l?"not-allowed":"pointer","&:focus-visible + span":{outline:"2px s
337olid var(--ds-blue-500)",outlineOffset:"2px"}}});return S?(0,t.jsxs)(a.Box,{component:"label",htmlFor:b,className:g,sx:{display:"inline-flex",alignItems:w?"flex-start":"center",gap:y.gap,cursor:l?"not-allowed":"pointer",color:l?"var(--ds-gray-500)":"var(--ds-gray-700)",position:"relative"},children:[(0,t.jsxs)(a.Box,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:y.box,height:y.box,marginTop:w?"2px":0,flexShrink:0},children:[k,G]}),w?(0,t.jsxs)(a.Box,{component:"span",children:[(0,t.jsx)(a.Box,{component:"span",sx:{display:"block",fontSize:y.fontSize,fontWeight:"var(--ds-font-weight-medium)"},children:o}),(0,t.jsx)(a.Box,{component:"span",sx:{display:"block",fontSize:"var(--ds-text-small)",color:"var(--ds-gray-500)",marginTop:"2px"},children:u})]}):(0,t.jsx)(a.Box,{component:"span",sx:{fontSize:y.fontSize},children:o})]}):(0,t.jsxs)(a.Box,{className:g,sx:{display:"inline-flex",alignItems:"center",position:"relative",width:y.box,height:y.box,cursor:l?"not-allowed":"pointer"},children:[k,(0,t.jsx)(a.Box,{component:"span",sx:{display:"inline-flex"},children:G})]})}])},776210,e=>{"use strict";e.i(350461);var t=e.i(391398),r=e.i(917563),a=e.i(996433),s=e.i(974266),n=e.i(512057),i=e.i(393172),o=e.i(171254);let u={neutral:{bg:"var(--ds-gray-100)",bgHover:"var(--ds-gray-200)",text:"var(--ds-gray-700)",border:"var(--ds-gray-200)",dot:"var(--ds-gray-500)"},subtle:{bg:"var(--ds-background-200)",bgHover:"var(--ds-gray-200)",text:"var(--ds-gray-600)",border:"var(--ds-gray-200)",dot:"var(--ds-gray-500)"},info:{bg:"var(--ds-blue-100)",bgHover:"var(--ds-blue-200)",text:"var(--ds-blue-700)",border:"var(--ds-blue-200)",dot:"var(--ds-blue-500)"},success:{bg:"var(--ds-green-100)",bgHover:"var(--ds-green-200)",text:"var(--ds-green-700)",border:"var(--ds-green-200)",dot:"var(--ds-green-500)"},warning:{bg:"var(--ds-amber-100)",bgHover:"var(--ds-amber-200)",text:"var(--ds-amber-700)",border:"var(--ds-amber-200)",dot:"var(--ds-amber-500)"},critical:{bg:"var(--ds-red-100)",bgHover:"var(--ds-red-200)",text:"var(--ds-red-700)",border:"var(--ds-red-200)",dot:"var(--ds-red-500)"},savings:{bg:"var(--ds-green-100)",bgHover:"var(--ds-green-200)",text:"var(--ds-green-700)",border:"var(--ds-green-200)",dot:"var(--ds-green-500)"},waste:{bg:"var(--ds-red-100)",bgHover:"var(--ds-red-200)",text:"var(--ds-red-700)",border:"var(--ds-red-200)",dot:"var(--ds-red-500)"},agent:{bg:"var(--ds-purple-100)",bgHover:"var(--ds-purple-200)",text:"var(--ds-purple-700)",border:"var(--ds-purple-200)",dot:"var(--ds-purple-500)"}},d={critical:{bg:"var(--ds-red-600)",text:"var(--ds-background-100)"},warning:{bg:"var(--ds-amber-600)",text:"var(--ds-background-100)"}},l={slate:{bg:"var(--ds-gray-100)",fg:"var(--ds-gray-700)",border:"var(--ds-gray-200)"},green:{bg:"var(--ds-green-100)",fg:"var(--ds-green-700)",border:"var(--ds-green-200)"},amber:{bg:"var(--ds-amber-100)",fg:"var(--ds-amber-700)",border:"var(--ds-amber-200)"},red:{bg:"var(--ds-red-100)",fg:"var(--ds-red-700)",border:"var(--ds-red-200)"},blue:{bg:"var(--ds-blue-100)",fg:"var(--ds-blue-700)",border:"var(--ds-blue-200)"},violet:{bg:"var(--ds-purple-100)",fg:"var(--ds-purple-700)",border:"var(--ds-purple-200)"},pink:{bg:"var(--ds-pink-100)",fg:"var(--ds-pink-700)",border:"var(--ds-pink-200)"},teal:{bg:"var(--ds-teal-100)",fg:"var(--ds-teal-700)",border:"var(--ds-teal-200)"}},c=["slate","green","amber","red","blue","violet","pink","teal"],p={micro:{height:"14px",padX:"5px",fontSize:"9px",gap:"2px",iconSize:7,dotSize:3,trailingDismiss:6,trailingChevron:5,avatarSize:8,pillRadius:"var(--ds-radius-sm)",rectRadius:"var(--ds-radius-sm)"},"2xs":{height:"14px",padX:"6px",fontSize:"10px",gap:"2px",iconSize:8,dotSize:4,trailingDismiss:7,trailingChevron:5,avatarSize:10,pillRadius:"var(--ds-radius-pill)",rectRadius:"var(--ds-radius-sm)"},xs:{height:"18px",padX:"8px",fontSize:"10px",gap:"var(--ds-space-1)",iconSize:10,dotSize:5,trailingDismiss:8,trailingChevron:6,avatarSize:12,pillRadius:"var(--ds-radius-pill)",rectRadius:"var(--ds-radius-sm)"},sm:{height:"22px",padX:"10px",fontSize:"10px",gap:"var(--ds-space-1)",iconSize:12,dotSize:6,trailingDismiss:10,trailingChevron:8,avatarSize:16,pillRadius:"var(--ds-radius-pill)",rectRadius:"var(--ds-radius-sm)"}
337,md:{height:"24px",padX:"10px",fontSize:"var(--ds-text-caption)",gap:"var(--ds-space-1)",iconSize:12,dotSize:6,trailingDismiss:12,trailingChevron:10,avatarSize:18,pillRadius:"var(--ds-radius-pill)",rectRadius:"var(--ds-radius-sm)"}},g={filter:{interactive:!0,pressable:!0,filled:!1},tag:{interactive:!1,pressable:!1,filled:!0},status:{interactive:!1,pressable:!1,filled:!0},input:{interactive:!0,pressable:!1,filled:!0},action:{interactive:!0,pressable:!0,filled:!1},count:{interactive:!1,pressable:!1,filled:!0},avatar:{interactive:!0,pressable:!1,filled:!0}},_=e=>{let{loading:a,dot:n,isHollowDot:i,dotColor:o,leadingAvatar:u,icon:d,tokens:l,fgColor:c}=e;return a?(0,t.jsx)(r.Box,{sx:{width:l.iconSize,height:l.iconSize,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsx)(s.CircularProgress,{size:l.iconSize,thickness:5,sx:{color:c}})}):n?(0,t.jsx)(r.Box,{component:"span","aria-hidden":"true","data-dot":i?"hollow":"filled",sx:{width:l.dotSize,height:l.dotSize,borderRadius:"50%",flexShrink:0,...i?{border:`1px solid ${o}`,backgroundColor:"transparent"}:{backgroundColor:o}}}):u?(0,t.jsx)(r.Box,{"aria-hidden":"true",sx:{width:l.avatarSize,height:l.avatarSize,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",overflow:"hidden",flexShrink:0,"& > *":{width:"100%",height:"100%"}},children:u}):d?(0,t.jsx)(r.Box,{component:"span","aria-hidden":"true",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:"inherit","& svg, & .MuiSvgIcon-root":{width:l.iconSize,height:l.iconSize,fontSize:l.iconSize}},children:d}):null},m=e=>{let{onDismiss:a,trailingChevron:s,trailingIcon:o,tokens:u,fgColor:d,label:l,testIdPrefix:c}=e;return a?(0,t.jsx)(r.Box,{component:"button",type:"button","aria-label":`Remove ${"string"==typeof l?l:"item"}`,"data-testid":`${c||"chip"}-dismiss`,onClick:e=>{e.stopPropagation(),a(e)},sx:{appearance:"none",border:"none",background:"transparent",color:"inherit",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",width:u.iconSize,height:u.iconSize,padding:0,borderRadius:"50%",opacity:.7,flexShrink:0,transition:"opacity 120ms cubic-bezier(0.4, 0, 0.2, 1), background-color 120ms cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{opacity:1,backgroundColor:`${d}1a`},"&:focus-visible":{outline:"2px solid var(--ds-blue-500)",outlineOffset:"1px"}},children:(0,t.jsx)(n.default,{sx:{fontSize:u.trailingDismiss}})}):s?(0,t.jsx)(r.Box,{"aria-hidden":"true",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:"inherit",opacity:.7,flexShrink:0},children:(0,t.jsx)(i.default,{sx:{fontSize:u.trailingChevron}})}):o?(0,t.jsx)(r.Box,{component:"span","aria-hidden":"true",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:"inherit","& svg, & .MuiSvgIcon-root":{width:u.iconSize,height:u.iconSize,fontSize:u.iconSize}},children:o}):null};function f(e){let{size:s="sm",tone:n="neutral",shape:i="pill",hue:c,children:f,icon:h,leadingAvatar:y,count:v,dot:b=!1,dotVariant:x,highlightCount:S=!1,trailingIcon:w,trailingChevron:U=!1,solid:$=!1,onClick:E,onDismiss:G,pressed:k,selected:R,loading:A=!1,disabled:q=!1,"aria-label":T,"aria-pressed":C,className:L,id:z,sx:P,displayTooltip:I=!1,tooltipCharLimit:N=30}=e,j="string"==typeof f?f:null,O=!!(I&&j&&j.length>N),Q=O?`${j.substring(0,N)}...`:f,F=e.variant?e.variant:void 0!==e.pressed||void 0!==e.selected?"filter":e.leadingAvatar?"avatar":e.onDismiss?"tag":e.onClick?"action":e.dot?"status":void 0!==e.count?"count":"tag",B=p[s],H=u[n],D="tag"===F&&c?l[c]:null,W=g[F],M=null!=f&&""!==f,K=R??k??!1,J=(W.interactive||!!E)&&!q&&!A,X=W.pressable&&J,V=$?d[n]:void 0,Z=V?{bg:V.bg,bgHover:V.bg,text:V.text,border:"transparent"}:"filter"===F&&K?{bg:"var(--ds-blue-100)",bgHover:"var(--ds-blue-200)",text:"var(--ds-blue-700)",border:"var(--ds-blue-400)"}:"filter"===F?{bg:"transparent",bgHover:"var(--ds-gray-100)",text:"var(--ds-gray-600)",border:"var(--ds-gray-200)"}:"action"===F?{bg:"transparent",bgHover:"var(--ds-gray-100)",text:H.text,border:H.border}:D?{bg:D.bg,bgHover:D.bg,text:D.fg,border:D.border}:{bg:H.bg,bgHover:H.bgHover,text:H.text,border:H.border},Y="hollow"===x||void 0===x&&"neutral"===n&&b&&"status"===F,ee=void 0!==v&&!h&&
337!y&&!b&&M&&!S,et={display:"inline-flex",alignItems:"center",gap:B.gap,height:B.height,paddingLeft:B.padX,paddingRight:B.padX,fontFamily:"var(--ds-font-display)",fontSize:B.fontSize,fontWeight:"filter"===F&&K||"count"===F?"var(--ds-font-weight-semibold)":"var(--ds-font-weight-medium)",lineHeight:1,color:Z.text,backgroundColor:Z.bg,border:`1px solid ${Z.border}`,borderRadius:"pill"===i?B.pillRadius:B.rectRadius,whiteSpace:"nowrap",verticalAlign:"middle",letterSpacing:"md"===s?"-0.1px":"0",cursor:J?"pointer":"default",userSelect:"none",opacity:q?.4:1,pointerEvents:q||A?"none":"auto",transition:J?"background-color 120ms cubic-bezier(0.4, 0, 0.2, 1), border-color 120ms cubic-bezier(0.4, 0, 0.2, 1), color 120ms cubic-bezier(0.4, 0, 0.2, 1), transform 120ms cubic-bezier(0.4, 0, 0.2, 1)":void 0,"&:hover":J?{backgroundColor:Z.bgHover}:void 0,"&:active":X?{transform:"scale(0.97)"}:void 0,"&.Mui-focusVisible, &:focus-visible":J?{outline:"2px solid var(--ds-blue-500)",outlineOffset:"1px"}:void 0,"@media (prefers-reduced-motion: reduce)":{transition:"none","&:active":{transform:"none"}}},er=V?Z.text:H.dot,ea=b?(0,t.jsx)(_,{loading:!1,dot:!0,isHollowDot:Y,dotColor:er,icon:void 0,leadingAvatar:void 0,tokens:B,fgColor:Z.text}):null,es=b?null:(0,t.jsx)(_,{loading:A,dot:!1,isHollowDot:!1,dotColor:er,icon:h,leadingAvatar:y,tokens:B,fgColor:Z.text}),en=void 0!==v?(0,t.jsx)(r.Box,{component:"span",sx:S?{display:"inline-flex",alignItems:"center",backgroundColor:"var(--ds-gray-alpha-200)",borderRadius:"var(--ds-radius-pill)",padding:"1px 6px",fontVariantNumeric:"tabular-nums",fontWeight:"var(--ds-font-weight-medium)"}:{fontVariantNumeric:"tabular-nums",fontWeight:"var(--ds-font-weight-medium)",opacity:.75},children:v.toLocaleString()}):null,ei=(0,t.jsx)(m,{onDismiss:G,trailingChevron:U,trailingIcon:w,tokens:B,fgColor:Z.text,label:f,testIdPrefix:e["data-testid"]}),eo=(0,t.jsxs)(t.Fragment,{children:[ea,es,ee&&en,M&&(0,t.jsx)(r.Box,{component:"span",children:Q}),!ee&&en,ei]}),eu={"data-variant":F,"data-tone":n,"data-size":s,"data-selected":K||void 0,"data-testid":e["data-testid"]},ed=void 0!==k||void 0!==R?C??K:void 0,el=J?(0,t.jsx)(a.ButtonBase,{id:z,className:L,onClick:E,onKeyDown:e=>{if(J){if("Enter"===e.key||" "===e.key){e.preventDefault(),E?.(e);return}("Backspace"===e.key||"Delete"===e.key)&&G&&(e.preventDefault(),G(e))}},disabled:q,"aria-label":T,"aria-pressed":ed,"aria-disabled":q||void 0,"aria-busy":A||void 0,sx:P?[et,...Array.isArray(P)?P:[P]]:et,...eu,children:eo}):(0,t.jsx)(r.Box,{component:"span",id:z,className:L,"aria-label":T,"aria-pressed":ed,sx:P?[et,...Array.isArray(P)?P:[P]]:et,...eu,children:eo});return O&&j?(0,t.jsx)(o.default,{title:j,placement:"top",children:el}):el}e.s(["Chip",0,f,"default",0,f,"hashHue",0,e=>{let t=0;for(let r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)>>>0;return c[t%c.length]}])}]);

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.