"use strict"; exports.id = 13830; exports.ids = [13830]; exports.modules = { /***/ 13830: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "C": () => (/* binding */ makeNotesUrl), /* harmony export */ "D4": () => (/* binding */ makeActivityDaysUrl), /* harmony export */ "DZ": () => (/* binding */ makeDeleteBookmarkUrl), /* harmony export */ "E4": () => (/* binding */ makePublishNoteUrl), /* harmony export */ "Ej": () => (/* binding */ makeGoogleLoginUrl), /* harmony export */ "Ev": () => (/* binding */ makeBookmarksUrl), /* harmony export */ "G_": () => (/* binding */ makeStreakUrl), /* harmony export */ "Gk": () => (/* binding */ makeGetLessonUrl), /* harmony export */ "I0": () => (/* binding */ makeEstimateReadingGoalUrl), /* harmony export */ "Ip": () => (/* binding */ makeDeleteCollectionUrl), /* harmony export */ "Ix": () => (/* binding */ makeGetBookmarkByCollectionId), /* harmony export */ "Pd": () => (/* binding */ makeDeleteCollectionBookmarkByIdUrl), /* harmony export */ "Q_": () => (/* binding */ makeLogoutUrl), /* harmony export */ "Qd": () => (/* binding */ makeRefreshTokenUrl), /* harmony export */ "Qf": () => (/* binding */ makeEnrollUserUrl), /* harmony export */ "R8": () => (/* binding */ makeCompleteAnnouncementUrl), /* harmony export */ "SH": () => (/* binding */ makeBookmarksRangeUrl), /* harmony export */ "Si": () => (/* binding */ makeSendMagicLinkUrl), /* harmony export */ "TX": () => (/* binding */ makeCourseFeedbackUrl), /* harmony export */ "Tb": () => (/* binding */ makeCollectionsUrl), /* harmony export */ "Tj": () => (/* binding */ makeReadingSessionsUrl), /* harmony export */ "V9": () => (/* binding */ makeGetUserCoursesCountUrl), /* harmony export */ "W_": () => (/* binding */ makeFilterActivityDaysUrl), /* harmony export */ "Wn": () => (/* binding */ makeBookmarkUrl), /* harmony export */ "Xk": () => (/* binding */ makeDeleteAccountUrl), /* harmony export */ "Y0": () => (/* binding */ makeGetNoteByIdUrl), /* harmony export */ "Z2": () => (/* binding */ makeAppleLoginUrl), /* harmony export */ "ZF": () => (/* binding */ makeFacebookLoginUrl), /* harmony export */ "an": () => (/* binding */ makeUserConsentsUrl), /* harmony export */ "bf": () => (/* binding */ makeUrl), /* harmony export */ "bi": () => (/* binding */ makeDeleteOrUpdateNoteUrl), /* harmony export */ "bo": () => (/* binding */ makeUserProfileUrl), /* harmony export */ "h6": () => (/* binding */ makeCountNotesWithinRangeUrl), /* harmony export */ "i5": () => (/* binding */ makeGetLessonUrlPrefix), /* harmony export */ "iX": () => (/* binding */ makeCompleteSignupUrl), /* harmony export */ "j$": () => (/* binding */ makeEstimateRangesReadingTimeUrl), /* harmony export */ "ky": () => (/* binding */ makeGoalUrl), /* harmony export */ "mL": () => (/* binding */ makeUserPreferencesUrl), /* harmony export */ "pI": () => (/* binding */ makeUserBulkPreferencesUrl), /* harmony export */ "qY": () => (/* binding */ makeGetNotesByVerseUrl), /* harmony export */ "qc": () => (/* binding */ makeVerificationCodeUrl), /* harmony export */ "r9": () => (/* binding */ makeGetCoursesUrl), /* harmony export */ "vK": () => (/* binding */ makeUpdateCollectionUrl), /* harmony export */ "vQ": () => (/* binding */ makeAllCollectionsItemsUrl), /* harmony export */ "vp": () => (/* binding */ makeGetCourseUrl), /* harmony export */ "wR": () => (/* binding */ makeSyncLocalDataUrl) /* harmony export */ }); /* unused harmony exports makeUserFeatureFlagsUrl, makeAddCollectionUrl, makeGetNoteByAttachedEntityUrl, makeAddCollectionBookmarkUrl, makeDeleteCollectionBookmarkByKeyUrl, makePostReflectionViewsUrl, makeBookmarkCollectionsUrl, makeReadingGoalProgressUrl */ /* harmony import */ var _qs_stringify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99921); /* harmony import */ var _utils_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(69663); const makeUrl = (url, parameters)=>{ if (!parameters) { return (0,_utils_url__WEBPACK_IMPORTED_MODULE_1__/* .getAuthApiPath */ .vv)(url); } return (0,_utils_url__WEBPACK_IMPORTED_MODULE_1__/* .getAuthApiPath */ .vv)(`${url}${`?${(0,_qs_stringify__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(parameters)}`}`); }; const makeUserProfileUrl = ()=>makeUrl("users/profile"); const makeUserFeatureFlagsUrl = ()=>makeUrl("feature-flags"); const makeUserConsentsUrl = ()=>makeUrl("consent/userConsents"); const makeCompleteSignupUrl = ()=>makeUrl("users/completeSignup"); const makeCompleteAnnouncementUrl = ()=>makeUrl("users/completeAnnouncement"); const makeDeleteAccountUrl = ()=>makeUrl("users/deleteAccount"); const makeSyncLocalDataUrl = ()=>makeUrl("users/syncLocalData"); const makeVerificationCodeUrl = ()=>makeUrl("users/verificationCode"); const makeSendMagicLinkUrl = (redirect)=>makeUrl("auth/magiclogin", redirect ? { redirect } : undefined); const makeGoogleLoginUrl = (redirect)=>makeUrl("auth/google", redirect ? { redirect } : undefined); const makeFacebookLoginUrl = (redirect)=>makeUrl("auth/facebook", redirect ? { redirect } : undefined); const makeAppleLoginUrl = (redirect)=>makeUrl("auth/apple", redirect ? { redirect } : undefined); const makeBookmarksUrl = (mushafId, limit)=>makeUrl("bookmarks", { mushafId, limit }); const makeCollectionsUrl = (queryParams)=>makeUrl("collections", queryParams); const makeAddCollectionUrl = ()=>makeUrl("collections"); const makeGetNotesByVerseUrl = (verseKey)=>makeUrl(`notes/by-verse/${verseKey}`); const makeGetNoteByIdUrl = (id)=>makeUrl(`notes/${id}`); const makeCountNotesWithinRangeUrl = (startVerseKey, endVerseKey)=>makeUrl(`notes/count-within-range`, { from: startVerseKey, to: endVerseKey }); const makeNotesUrl = (params)=>makeUrl("notes", params); const makeGetNoteByAttachedEntityUrl = (queryParams)=>makeUrl(`notes`, queryParams); const makeDeleteOrUpdateNoteUrl = (id)=>makeUrl(`notes/${id}`); const makePublishNoteUrl = (id)=>makeUrl(`notes/${id}/publish`); const makeGetCoursesUrl = (params)=>makeUrl("courses", params); const makeGetCourseUrl = (courseSlugOrId)=>makeUrl(`courses/${courseSlugOrId}`); const makeGetLessonUrlPrefix = (courseSlugOrId)=>makeUrl(`courses/${courseSlugOrId}/lessons`); const makeGetLessonUrl = (courseSlugOrId, lessonSlugOrId)=>`${makeGetLessonUrlPrefix(courseSlugOrId)}/${lessonSlugOrId}`; const makeEnrollUserUrl = ()=>makeUrl("courses/enroll"); const makeGetUserCoursesCountUrl = ()=>makeUrl("courses/count"); const makeCourseFeedbackUrl = (courseId)=>makeUrl(`courses/${courseId}/feedback`); const makeUpdateCollectionUrl = (collectionId)=>makeUrl(`collections/${collectionId}`); const makeDeleteCollectionUrl = (collectionId)=>makeUrl(`collections/${collectionId}`); const makeAddCollectionBookmarkUrl = (collectionId)=>makeUrl(`collections/${collectionId}/bookmarks`); const makeDeleteCollectionBookmarkByIdUrl = (collectionId, bookmarkId)=>makeUrl(`collections/${collectionId}/bookmarks/${bookmarkId}`); const makeDeleteCollectionBookmarkByKeyUrl = (collectionId)=>makeUrl(`collections/${collectionId}/bookmarks`); const makePostReflectionViewsUrl = (postId)=>makeUrl(`posts/${postId}/views`); const makeBookmarkCollectionsUrl = (mushafId, key, type, verseNumber)=>makeUrl("bookmarks/collections", { mushafId, key, type, ...verseNumber && { verseNumber } }); const makeGetBookmarkByCollectionId = (collectionId, queryParams)=>makeUrl(`collections/${collectionId}`, queryParams); const makeAllCollectionsItemsUrl = (queryParams)=>makeUrl(`collections/all`, queryParams); const makeDeleteBookmarkUrl = (bookmarkId)=>makeUrl(`bookmarks/${bookmarkId}`); const makeBookmarksRangeUrl = (mushafId, chapterNumber, verseNumber, perPage)=>makeUrl("bookmarks/ayahs-range", { mushafId, chapterNumber, verseNumber, perPage }); const makeBookmarkUrl = (mushafId, key, type, verseNumber)=>makeUrl("bookmarks/bookmark", { mushafId, key, type, ...verseNumber && { verseNumber } }); const makeReadingSessionsUrl = ()=>makeUrl("reading-sessions"); const makeActivityDaysUrl = (params)=>makeUrl("activity-days", params); const makeFilterActivityDaysUrl = (params)=>makeUrl("activity-days/filter", params); const makeEstimateRangesReadingTimeUrl = (params)=>makeUrl("activity-days/estimate-reading-time", { ranges: params.ranges.join(",") }); const makeGoalUrl = (params)=>makeUrl("goal", params); const makeEstimateReadingGoalUrl = (data)=>makeUrl("goal/estimate", data); const makeStreakUrl = (params)=>makeUrl("streak", params); const makeReadingGoalProgressUrl = (mushafId)=>makeUrl("goal/status", { mushafId }); const makeUserPreferencesUrl = (mushafId)=>makeUrl("preferences", mushafId && { mushafId }); const makeUserBulkPreferencesUrl = (mushafId)=>makeUrl("preferences/bulk", { mushafId }); const makeLogoutUrl = ()=>makeUrl("auth/logout"); const makeRefreshTokenUrl = ()=>makeUrl("tokens/refreshToken"); /***/ }) }; ; //# sourceMappingURL=13830.js.map