PageSourceSearch

https://www.aust.edu.lb/assets/js/_config.js

js aust.edu.lb collected 2026-10-03 17:52:13 UTC 7,221 bytes, 265 lines download raw bytes

1app.constant('SERVER_CONFIG', {
2
3    //#region Local
4    // baseUrl: 'https://localhost:44365/',
5    // #endregion
6
7    //#region Shift2
8    baseUrl: 'https://api.aust.edu.lb/',
9    //#endregion
10
11    //#region Online
12    // baseUrl: 'https://api.mobi.net.lb/',
13    //#endregion
14
15});
16
17app.constant('Project_CONFIG', {
18    title : 'AUST',
19    updateProductQttyBySelect: true,
20});
21
22app.constant('SESSION_CONFIG', {
23    headers_user_origin: 'aust',
24});
25
26app.constant('APP_CONFIG', {
27    payment_enabled_savedCards: true,
28    gps_enabled_checkpermissions: true,
29    enable_debugging: true
30})
31
32app.constant('APP_APPEARANCE', {
33    space_reserved_Header: 72,
34    space_reserved_Footer: 44
35})
36
37app.constant('PAYMENT_CONFIG', {
38    link_paymentData: 'api/RefillTransactionRequests/GetCreditCardData',
39    link_paymentConfig: 'api/refilltransactionrequests/ConfirmCreditCardTransaction',
40    link_paymentPage: 'Receipt/BOBRequestResellerRefill',
41    link_deleteSavedCard: 'api/Resellers/DeleteCard',
42    link_payWithSavedCard: 'api/RefillTransactionRequests/PayWithSavedCard'
43})
44
45app.constant('Basket_EVENTS', {
46    itemAdded: 'item-added-to-basket',
47    fetchItem: 'fetch-item',
48    removeItemBasket: 'remove-item-from-basket',
49    removeItemBasketConfirmed: 'remove-item-from-basket-confirmed',
50    currencyChanged: 'currency-changed',
51    mailGiftWrapped: 'mail-gift-wrapped',
52    addressGiftWrapped: 'address-gift-wrapped',
53    removeGiftBasket: 'remove-gift-basket',
54    addressRemoved: 'address-removed',
55    clearbasket: 'clear-basket',
56    checkoutBasketFetched: 'checkout-basket-fetched',
57});
58
59app.constant('USER_ROLES', {
60    all: '*',
61    admin: 'admin',
62    editor: 'editor',
63    guest: 'guest'
64});
65
66app.constant('MAP_DEFAULT_LOCATION', {
67    lattitude: 33.8938,
68    longitude: 35.5018,
69    zoom: 16
70});
71
72app.constant('AUTH_EVENTS', {
73    loginSuccess: 'auth-login-success',
74    loginFailed: 'auth-login-failed',
75    logoutSuccess: 'auth-logout-success',
76    sessionTimeout: 'auth-session-timeout',
77    notAuthenticated: 'auth-not-authenticated',
78    notAuthorized: 'auth-not-authorized',
79    serverError: 'server-error',
80    ressourceNotFound: 'ressurce-notFound',
81    networkErrorPosting: 'network-connection-post-failed',
82    networkErrorGetting: 'network-connection-get-failed'
83});
84
85app.constant('AUTH_EVENTS_USER_FRIENDLY', {
86    loginFailed: 'Invalid Credentials'
87});
88
89app.constant('ERROR_MESSAGES', {
90    missingAccountPicture: 'Please upload a picture',
91    missingDslPlan: 'Please select a plan',
92    requiredPin: 'Please Enter Your Pin',
93    missingCSC: 'Please enter your CSC code',
94    wrongCSC: 'Invalid CSC code',
95    invalidPinCode: 'Invalid Pin Code'
96});
97
98app.constant('EXTERNAL_LINKS', {
99    applicationForms: 'http://shift2.koein.com/mobienduser/#!/service?parentId=7&tabId=44',
100    trackDslFo: "http://fb.mobi.net.lb/dslstatus/search.asp"
101});
102
103app.constant('UPLOADER_CONFIG', {
104    title_addUpload: 'Upload Picture',
105    mssg_addUpload: '',
106
107    title_deleteUpload: 'Remove Picture',
108    mssg_deleteUpload: 'Delete the picture and upload another'
109})
110
111app.constant('SHOP_CONSTANT', {
112    max_Qtty: 15,
113})
114
115app.constant('CART_CONSTANT', {
116    billingAddressInfo: "Billing address is the address (location) you would like the order to be billed to.",
117    deliveryAddressInfo: "Billing address is the address (location) you would like the order to be billed to.",
118})
119
120app.constant('EKOMPRODUCTS_EVENTS', {
121    fetched_headerCategories: 'header-categories-fetched',
122    fetched_headerDisplayIns: 'header-displayIns-fetched',
123    fetched_headerNavigation: 'header-navigation-fetched',
124    fetched_socialMedia: 'socialMedia-fetched',
125});
126
127app.constant('EKOMPRODUCTS_CONFIG', {
128    enableRating: false
129});
130
131app.constant('SHARED_EVENTS', {
132    // fetched_headerCategories: 'header-categories-fetched',
133    // fetched_headerDisplayIns: 'header-displayIns-fetched',
134    // fetched_headerNavigation: 'header-navigation-fetched',
135    fetched_socialMedia: 'socialMedia-fetched',
136    fetched_contactInfo: 'contactInfo-fetched',   
137    fetched_weeklyMenu: 'weeklyMenu-fetched',
138});
139
140app.constant('CORPORATEPAGES_CONFIG', {
141    default_id: 1,
142    home_id: 2,
143    coloredBoxes_id:63,
144    about_id:23,
145    faculty_id:35,
146    news_id:51,
147    industry_id:38,
148    governance_id:46,
149    privacy_id:64,
150    admission_id:36,
151    researchpublication_id:37,
152    austaccreditation_id:39,
153    universitrycalendar_id:40,
154    center_id:42,
155    universityservices_id:52,
156    studentsalumni_id:50,
157    campus_id:49,
158    frenchsection_id:47,
159    career_id:44,
160    apply_id:43,
161    elearning_id:41,
162    midweek_id:93,
163    partners_id:104,
164    profiledetails_id:161,
165    academic_id:176,
166	 faq_id: 527,
167});
168
169app.constant('IMGSRC_RESIZE_CONFIG', {
170    homepage_topSwiper_imgSize: "1041x863xi",
171    homepage_topSwiper_imgSize1: "",
172
173    // #region Products
174    eKomProducts_cart_imgSize: "84x128xi",
175    eKomProducts_bagReview_imgSize: "84x128xi",
176    receipt_imgSize: "",
177    eKomProducts_listing_imgSize: "313x375xi",
178    eKomProducts_listing_imgSize1: "583x387xi",
179    eKomProducts_details_imgSize: "607x879xi",
180    eKomProducts_details_imgSize1: "432x647xi",
181    eKomProducts_details_imgSize2: "683x1024xi",
182    // #endregion
183
184
185    // #region Menu
186    menu_imgSize: "683x397xi",
187    menu_imgSize1: "",
188    menu_imgSize2: "",
189    // #endregion
190})
191
192app.constant('CHECKOUT_CONFIG', {
193    has_termsAndConditions: false,
194    payment_cod_id: 2,
195    payment_online_id: 1,
196    country_lebanon: 117,
197    unable_cod_outsideLebanon: false
198})
199
200app.constant('FORM_CONFIG', {
201    successMssg_waitingTime: 6000
202})
203
204app.constant('FUNCTIONALITY_EVENTS', {
205    languagesFetched: 'languages-fetched',
206    langDirectionChanged: 'languages-direction-changed',
207    layoutReadyForSwipers: 'layout-ready-for-swipers'
208});
209
210app.constant('CustomBoxes_pageId', {
211    homepage_mainSwiper: 1,
212    homepage_firstBanner: 4,
213    homepage_oneCollectionWithManyProducts: 9,
214    homepage_twoTopBoxes: 10,
215    homepage_twoTopBoxes_Left: 20,
216    homepage_twoTopBoxes_Right: 21,
217    homepage_largeBlackBanner: 11,
218    homepage_threeCollections: 12,
219    homepage_bottomTwoBoxes: 13,
220    homepage_twoBottomBoxes_Left: 22,
221    homepage_twoBottomBoxes_Right: 23,
222
223    homepage_productsOnSale: 16,
224    homepage_secondBanner: 17,
225    allPages_topPromoBar: 18,
226    homepage_bottomThreeLinks: 24,
227});
228
229app.constant('PopUp_Id', {
230    popUp_Login: 19,
231    popUp_Register: 20,
232    popUp_ForgetPassword: 21,
233    popUp_ResetPassword: 22,
234    // popUp_EditAccount: 153,
235    // popUp_Newsletter: 154,
236});
237
238app.constant('GoogleAnalytics_CONFIG', {
239    GA_TRACKING_ID: "UA-131037660-3"
240});
241
242app.constant('Facebook_CONFIG', {
243    app_ID: "448605525973973",
244    sdk_version: 'v3.2'
245});
246
247app.constant('Twitter_CONFIG', {
248    username: "", // no username found on twitter
249});
250
251app.constant('Analytics_CONFIG', {
252    enable_Google_Analytics: false,
253    enable_Facebook_Analytics: false
254});
255
256app.constant('Modals_ID', {
257    login: "login-modal",
258    registration: "register-modal",
259    forgotPasssword: "forgot-modal",
260    resetPasssword: "reset-modal",
261    newsletter: "newsletter-modal",
262    addressBook: "new-address",
263    sizeChart: "sizeguide-modal",
264    cashOut: "modal-cash-out-request"
265})

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.