1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8e23ed7-505f-5f60-9bef-4b6faa6d05b5")}catch(e){}}(); 3import { o as __toESM } from "./rolldown-runtime.D1cXj70v.js"; 4import { dt as require_react } from "./vendor~index~newNavigation~AccountTierManagementPage~AdminContainer~AISystemPromptManager~C~h0mf93xb.B-8UGg7U.js"; 5import { cr as matchPath, gr as useLocation } from "./vendor~index~newNavigation~AccountTierManagementPage~AdminContainer~AISystemPromptManager~C~hh2h6ti1.CxCdS9_4.js"; 6import { t as require_dist } from "./dist.DzcutlwI.js"; 7import { Fi as PendoService, Rr as getApolloClient } from "./logReportUtils.Ca-hg6bk.js"; 8import { Au as UserSettingsDocument } from "./graphqlClient.B8mBnpI6.js"; 9//#region client/components/editor/Nooks/User/userSettings.ts 10var preloadUserSettings = async (userId) => { 11 await getApolloClient().query({ 12 query: UserSettingsDocument, 13 variables: { id: userId } 14 }); 15}; 16//#endregion 17//#region client/utils/hooks/usePendoUpdateVideoIdEffect.ts 18var import_react = /* @__PURE__ */ __toESM(require_react()); 19var import_dist = require_dist(); 20var usePendoUpdateVideoIdEffect = () => { 21 useLocation(); 22 const getVideoId = () => { 23 let videoId = ""; 24 const match = matchPath(window.location.pathname, { 25 path: import_dist.newNavVideoPagePath.pattern, 26 strict: false, 27 exact: false 28 }); 29 if (match) videoId = match.params["videoId"]; 30 return videoId; 31 }; 32 const videoId = getVideoId(); 33 (0, import_react.useEffect)(() => { 34 PendoService.getInstance().updateVideoId(videoId); 35 }, [videoId]); 36}; 37//#endregion 38export { preloadUserSettings as n, usePendoUpdateVideoIdEffect as t }; 39 40//# sourceMappingURL=usePendoUpdateVideoIdEffect.CqIMIoEn.js.map 41//# debugId=f8e23ed7-505f-5f60-9bef-4b6faa6d05b5
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.