{"version":3,"sources":["src/js/init/polyfills/find.js","src/js/init/polyfills/findIndex.js","src/js/init/polyfills/foreach.js","src/js/init/polyfills/isInteger.js","src/js/init/polyfills/numberInput.js","src/js/init/polyfills/object-assign.js","src/js/init/modules/accessibility.js","src/js/init/modules/api.js","src/js/init/modules/browserCompatibility.js","src/js/init/modules/checkboxes.js","src/js/init/modules/consoleLog.js","src/js/init/modules/countryStateInputs.js","src/js/init/modules/isVisible.js","src/js/init/modules/jqueryMethods.js","src/js/init/modules/js-lazy-loader.js","src/js/init/modules/phoneNumberInput.js","src/js/init/modules/security-questions-helper.js","src/js/init/modules/textformatting.js","src/js/init/modules/transactionDetails.js","src/js/init/modules/urlparams.js","src/js/init/apiForm.js","src/js/init/events.js","src/js/init/findLinks.js","src/js/init/institutionHelper.js","src/js/init/jqueryInit.js","src/js/init/jsGridHelper.js","src/js/init/mobileNavigationMenu.js","src/js/init/svgSpriteLoader.js","src/js/init/tagIEVersion.js","src/js/init/site.js","src/js/init/global/bootstrap-collapse-ada.js","src/js/init/global/card-management-accordion.js","src/js/init/global/collapse.js","src/js/init/global/complex-password-hints.js","src/js/init/global/datepicker.js","src/js/init/global/dropdowns.js","src/js/init/global/loadingScreen.js","src/js/init/global/logout.js","src/js/init/global/maskedinput.js","src/js/init/global/misc.js","src/js/init/global/modals.js","src/js/init/global/navigation.js","src/js/init/global/ping.js","src/js/init/global/placeholders.js","src/js/init/global/service/cartService.js","src/js/init/global/service/customerService.js","src/js/init/global/service/institutionService.js","src/js/init/global/service/jobsService.js","src/js/init/global/service/jqueryService.js","src/js/init/global/service/productsService.js","src/js/init/global/service/PublicService.js","src/js/init/global/service/serviceRequestService.js","src/js/init/global/service/settingsService.js","src/js/init/global/service/uriService.js","src/js/init/global/service/userService.js","src/js/init/global/vue/components/add-products-product-bulk.js","src/js/init/global/vue/components/add-products-product.js","src/js/init/global/vue/components/autoload-options.js","src/js/init/global/vue/components/autoload-suspend-singlecard.js","src/js/init/global/vue/components/autoload-suspend.js","src/js/init/global/vue/components/begin-institution-checkout.js","src/js/init/global/vue/components/institution-shopping-cart-receipt.js","src/js/init/global/vue/components/purchase-passes.js","src/js/init/global/vue/components/shopping-cart-empty.js","src/js/init/global/vue/components/shopping-cart-item.js","src/js/init/global/vue/components/shopping-cart-receipt.js","src/js/init/global/vue/filters.js","src/js/init/components/accordion.js","src/js/init/components/add-value-product.js","src/js/init/components/addCardPassModal.js","src/js/init/components/cardActivity.js","src/js/init/components/cardProducts.js","src/js/init/components/cardsDashboard.js","src/js/init/components/cart-badge.js","src/js/init/components/contactlessHistory.js","src/js/init/components/contactlessModals.js","src/js/init/components/contentTabs.js","src/js/init/components/fareCapping.js","src/js/init/components/googleMap.js","src/js/init/components/guestOrderCardCurrentProducts.js","src/js/init/components/helpForm.js","src/js/init/components/institution/accountSettings.js","src/js/init/components/institution/billingAddress.js","src/js/init/components/institution/bulkAddCards.js","src/js/init/components/institution/bulkAddEditAutoloads.js","src/js/init/components/institution/bulkAddParticipants.js","src/js/init/components/institution/bulkAddParticipantsToGroup.js","src/js/init/components/institution/bulkAddValueOrPasses.js","src/js/init/components/institution/bulkAvailableActions.js","src/js/init/components/institution/bulkBlockCards.js","src/js/init/components/institution/bulkDeleteParticipants.js","src/js/init/components/institution/bulkImport.js","src/js/init/components/institution/bulkPauseAutoloads.js","src/js/init/components/institution/bulkRemoveAutoloads.js","src/js/init/components/institution/bulkRemoveCards.js","src/js/init/components/institution/bulkRemoveParticipantsFromGroup.js","src/js/init/components/institution/bulkResumeAutoloads.js","src/js/init/components/institution/bulkUnblockCards.js","src/js/init/components/institution/bulkUpdateParticipants.js","src/js/init/components/institution/groupsList.js","src/js/init/components/institution/institutionHeading.js","src/js/init/components/institution/institutionInvoiceHistory.js","src/js/init/components/institution/institutionOrderHistory.js","src/js/init/components/institution/institutionShoppingCart.js","src/js/init/components/institution/jobsCreateModal.js","src/js/init/components/institution/jobsCurrent.js","src/js/init/components/institution/jobsPast.js","src/js/init/components/institution/keyEvents.js","src/js/init/components/institution/loginDetails.js","src/js/init/components/institution/loginsList.js","src/js/init/components/institution/manageCards.js","src/js/init/components/institution/manageCardsAddProductsMultiple.js","src/js/init/components/institution/manageCardsAddProductsSingle.js","src/js/init/components/institution/manageCardsAutoloadControlsSingle.js","src/js/init/components/institution/manageCardsCurrentProductsMultiple.js","src/js/init/components/institution/manageCardsCurrentProductsSingle.js","src/js/init/components/institution/manageCardsDetails.js","src/js/init/components/institution/manageCardsEditMultiple.js","src/js/init/components/institution/manageCardsEditSingle.js","src/js/init/components/institution/manageCardsOnetimePaymentMultiple.js","src/js/init/components/institution/manageCardsOnetimePaymentSingle.js","src/js/init/components/institution/notificationsBadge.js","src/js/init/components/institution/notificationSettingsInstitution.js","src/js/init/components/institution/notificationsInbox.js","src/js/init/components/institution/notificationsList.js","src/js/init/components/institution/orderCardsInstitution.js","src/js/init/components/institution/orderDescription.js","src/js/init/components/institution/participantDetails.js","src/js/init/components/institution/participantsList.js","src/js/init/components/institution/paymentMethodSelector.js","src/js/init/components/institution/paymentSettingsInstitution.js","src/js/init/components/institution/profileSettings.js","src/js/init/components/institution/shippingAddress.js","src/js/init/components/institution/shippingAddressSelector.js","src/js/init/components/institution/subAccountList.js","src/js/init/components/institution/superUser/institutionsList.js","src/js/init/components/institution/superUser/superUserProfile.js","src/js/init/components/institution/userInfo.js","src/js/init/components/institution/userProfile.js","src/js/init/components/institution/viewBillingAddress.js","src/js/init/components/institution/viewLoginDetails.js","src/js/init/components/myPasses.js","src/js/init/components/notificationItem.js","src/js/init/components/notifications.js","src/js/init/components/notificationsBadge.js","src/js/init/components/notificationSettings.js","src/js/init/components/orderCards.js","src/js/init/components/orderHistory.js","src/js/init/components/quantitySelect.js","src/js/init/components/tabs.js","src/js/init/forms/deleteCustomerAccountByIdAddressById.js","src/js/init/forms/deleteCustomerAccountByIdFundingSource.js","src/js/init/forms/deleteCustomerAccountByIdNotification.js","src/js/init/forms/getCanAddPaymentMethods.js","src/js/init/forms/getCardHolderById.js","src/js/init/forms/GetCardholders.js","src/js/init/forms/getCustomerAccountById.js","src/js/init/forms/getCustomerAccountByIdAddresses.js","src/js/init/forms/getCustomerAccountByIdFundingSources.js","src/js/init/forms/getShoppingCart.js","src/js/init/forms/institution/getInstitutionNotificationSettings.js","src/js/init/forms/institution/getParticipantSearchCard.js","src/js/init/forms/institution/getSubAccountSearch.js","src/js/init/forms/institution/postAddParticipantToTransitAccount.js","src/js/init/forms/institution/postAddPaymentMethodInstitution.js","src/js/init/forms/institution/postCredentialVerifications.js","src/js/init/forms/institution/postDeleteParticipant.js","src/js/init/forms/institution/postDeletePaymentMethod.js","src/js/init/forms/institution/postForgotPassword.js","src/js/init/forms/institution/postInstitutionAccountLogin.js","src/js/init/forms/institution/postInstitutionAccountParticipant.js","src/js/init/forms/institution/postInstitutionAccountParticipantGroup.js","src/js/init/forms/institution/postInstitutionAccountParticipantPhoto.js","src/js/init/forms/institution/postInstitutionAccountShippingAddress.js","src/js/init/forms/institution/postInstitutionAddCard.js","src/js/init/forms/institution/postInstitutionSecurityQuestionChallenge.js","src/js/init/forms/institution/putBlockCardSingle.js","src/js/init/forms/institution/putBlockCardsMultiple.js","src/js/init/forms/institution/putBlockInstitutionAccountLogin.js","src/js/init/forms/institution/putEditPaymentMethod.js","src/js/init/forms/institution/putInstitutionAccountByIdForceCredentials.js","src/js/init/forms/institution/putInstitutionAccountLogin.js","src/js/init/forms/institution/putInstitutionAccountLoginTokenCredentials.js","src/js/init/forms/institution/putInstitutionAccountParticipant.js","src/js/init/forms/institution/putInstitutionAccountParticipantGroup.js","src/js/init/forms/institution/putInstitutionAccountShippingAddress.js","src/js/init/forms/institution/putInstitutionLoginNotification.js","src/js/init/forms/institution/putInstitutionReplaceCard.js","src/js/init/forms/institution/putInstitutionUserProfile.js","src/js/init/forms/institution/putUnblockInstitutionAccountLogin.js","src/js/init/forms/institution/putUnlinkCardSingle.js","src/js/init/forms/institution/putUnlinkCardsMultiple.js","src/js/init/forms/institution/putUnlinkMultipleParticipants.js","src/js/init/forms/institution/putUnlinkParticipant.js","src/js/init/forms/institution/putUpdateInstitutionAccount.js","src/js/init/forms/institution/putUpdateLoginSecurityQuestions.js","src/js/init/forms/institution/putUpdateUserLoginPassword.js","src/js/init/forms/institution/putUpdateUserProfilePassword.js","src/js/init/forms/institution/putUpdateUserProfilePin.js","src/js/init/forms/institution/putUpdateUserSecurityQuestions.js","src/js/init/forms/postAddCard.js","src/js/init/forms/postAddPaymentMethod.js","src/js/init/forms/postAuthorizePaymentMethod.js","src/js/init/forms/postBalanceTransfer.js","src/js/init/forms/postCreateAccount.js","src/js/init/forms/postCredentialVerifications.js","src/js/init/forms/postCustomerAccountByIdAddress.js","src/js/init/forms/postCustomerAccountByIdFundingSource.js","src/js/init/forms/postCustomerCredentialLoginVerifications.js","src/js/init/forms/postEditCard.js","src/js/init/forms/postForgotPassword.js","src/js/init/forms/postGuestAddAddress.js","src/js/init/forms/postGuestAddCard.js","src/js/init/forms/postGuestAddContact.js","src/js/init/forms/postLockCard.js","src/js/init/forms/postRemoveCard.js","src/js/init/forms/postResetCustomerActivationCode.js","src/js/init/forms/postSecurityQuestionChallenge.js","src/js/init/forms/postUnlockCard.js","src/js/init/forms/putCloseTransitAccount.js","src/js/init/forms/putCustomerAccountById.js","src/js/init/forms/putCustomerAccountByIdActivation.js","src/js/init/forms/putCustomerAccountByIdAddressById.js","src/js/init/forms/putCustomerAccountByIdClosure.js","src/js/init/forms/putCustomerAccountByIdCredentials.js","src/js/init/forms/putCustomerAccountByIdForceCredentials.js","src/js/init/forms/PutCustomerAccountByIdFundingSourceById.js","src/js/init/forms/putCustomerAccountByIdPhoneCredentials.js","src/js/init/forms/putCustomerAccountByIdSecurityQuestions.js","src/js/init/forms/putCustomerAccountByIdTokenCredentials.js","src/js/init/forms/putReplaceCard.js","src/js/init/forms/user/postCredentialVerifications.js","src/js/init/forms/user/putUpdateSuperUserProfile.js","src/js/init/forms/user/putUpdateSuperUserProfilePassword.js","src/js/init/forms/user/removeSubAccounts.js","src/js/init/jqueryExtensions/commonExtensions.js","src/js/init/jqueryExtensions/extensions.js","src/js/init/jqueryExtensions/getUrlVars.js","src/js/init/signalr/notificationsBadge.js"],"names":["Array","prototype","find","Object","defineProperty","value","predicate","this","TypeError","o","len","length","thisArg","arguments","k","kValue","call","configurable","writable","findIndex","forEach","callback","T","O","window","NodeList","Number","isInteger","isFinite","Math","floor","$","i","numberPolyfill","jQuery","document","createElement","setAttribute","type","fn","inputNumber","filter","$this","is","parent","next","children","first","eq","each","polyfills","push","elem","$fieldContainer","MutationObserver","halfHeight","_this","height","Error","outerHeight","upBtn","class","style","downBtn","btnContainer","appendTo","wrap","insertAfter","on","focus","e","DOMMouseScroll","domMouseScrollHandler","mousewheel","mouseWheelHandler","p","blur","off","keypress","elemKeypressHandler","change","elemChangeHandler","func","elemBtnMousedownHandler","css","attrMutationHandler","WebKitMutationObserver","mutations","observer","mutation","_i","_len","attributeName","oldValue","attr","observe","attributes","attributeOldValue","attributeFilter","MutationEvent","evt","originalEvent","attrName","prevValue","newValue","isNumber","input","toString","test","isFloat","isInt","isNegative","raiseNum","num","nump","precision","String","replace","getPrecision","slice","raiseNumPrecision","rNum","newPrecision","_ref","lowerNum","preciseAdd","num1","num2","num1i","num2i","result","parseInt","SyntaxError","preciseSubtract","kNum","pow","exec","getParams","max","min","step","val","clipValues","parseFloat","stepNormalize","cValue","params","sn","round","data","preventDefault","detail","increment","decrement","wheelDelta","_ref1","keyCode","which","newVal","releaseFunc","timeoutFunc","incFunc","timeoutID","setTimeout","clearTimeout","name","ei","h","display","assign","target","varArgs","to","index","nextSource","nextKey","hasOwnProperty","ACCESSIBILITY","module","processKeyboardClickEvent","code","charCode","trigger","SetupKeyboardClick","elements","SetupLiveKeyboardClick","selector","SetupAriaAttributesForTable","table","readonly","ClearFocus","activeElement","body","API","culture","__locale","request","url","async","cache","dataType","ajax","headers","fileRequest","contentType","processData","HandleApiResponseGetDataResult","response","Success","Data","Result","HandleApiResponseGetData","BROWSER_COMPATIBILITY","ua","navigator","userAgent","indexOf","CHECKBOXES","removeKeyupCheck","ignoreSpace","checkBoxes","Loggers","Console","debugLogBase","debugMode","debug","console","args","unshift","log","apply","errorLogBase","error","debugLogger","settings","bind","errorLogger","UpdateStateInputs","ele","selectedValue","form","closest","country","stateSelectField","stateInputField","stateSelect","selectParent","parents","stateInput","inputParent","hide","empty","append","show","SettingsService","getStateListByCountry","locale","Country","done","res","sta","xhr","undefined","util","isVisible","HTMLElement","offsetWidth","offsetHeight","getClientRects","Util","forceNumeric","keydown","key","shiftKey","altKey","ctrlKey","loadedSources","alreadyLoaded","src","cb","LazyJs","scriptTag","onload","getElementsByTagName","appendChild","PHONENUMBERINPUT","setSelectionRange","SecurityQuestionsHelper","managedDropdowns","alreadySelectedIndex","selected","questionId","updateDropdowns","dropdowns","questions","selectedQuestions","disableOpts","alreadySelected","parentNode","dropdown","options","option","removeAttribute","allQuestions","x","z","oId","oText","text","currentTarget","valid","resetSecurityQuestions","TEXTFORMATTING","cents","format","dollars","returnValue","AddCommasToNumber","toFixed","abs","arr","join","item","products","field","productString","product","ProductName","CentsToDollars","ProductPrice","validity","n","split","x1","x2","rgx","charAt","toUpperCase","toLowerCase","parseZone","out","moment","isValid","shift","subtract","add","card","showFullNumber","lastFour","PrintedNumber","substring","cardNr","cardName","Description","dayOfMonth","last","isNaN","timestamp","utcOffset","isDST","s","RegExp","TRANSACTION_DETAILS","GetTransitAccounts","lineItems","saleItems","items","lineItem","OrderDetailId","CardNumber","Price","simpleSaleItems","saleItem","TicketName","PrintedCardNumber","distinctSaleItems","reduce","c","id","temp","dedupe","cardNumbers","distinctItem","GetSaleItemDetails","cardnumbers","Quantity","GetCardOrderDetails","cardOrders","RequiredOrderDetailId","Products","Subtotal","UrlParams","getParamValue","paramName","location","href","results","getUrlVars","errorClass","submittingClass","errorEvent","showFieldError","slideDown","findHintContainerForElement","fieldId","hintContainer","findErrorContainerForElement","errorContainer","submitHandler","errorContainerId","confirmId","resultsContainerId","multistepNextPage","submitForm","prop","removeClass","addClass","ajaxSubmit","html","success","frm","apiResponse","ErrorsByField","fields","keys","fieldName","errorSpan","Messages","parseFieldErrors","InitEvents","apiFormError","dispatch","map","formAlert","apiFormSuccess","hasAttribute","resetForm","beforeSubmit","opt","beforeSend","setRequestHeader","confirmContainer","initializeForm","f","oldErrorFunction","oldHighlight","validatorSetup","oldUnhighlight","errorPlacementFunction","inputElement","highlightFunction","element","unhighlightFunction","slideUp","errorFieldId","errorField","JQueryService","selectId","errorPlacement","highlight","unhighlight","onkeyup","onfocusout","validate","onsubmit","hint","apiFormReinit","formSelector","Signal","customerAccountLoad","customerAccountReload","customerTransitAccounts","managedCardSelecting","managedCardSelected","managedCardReload","managedCardAdded","managedCardRemoved","managedCardUpdated","managedCardActivityUpdate","managedCardPassAutoloadComponentStateChanged","configurations","fareCategories","notificationRead","notificationDeleted","orderHistoryLoaded","checkoutWithNewFundingSource","itemQuantityChanged","itemRemovedFromCart","customerBeginCheckout","institutionBeginCheckout","customerDataReadyForPaymentModal","checkoutComplete","newGuestPaymentMethodAdded","newInstitutionTemporaryPaymentMethodAdded","cancelCartProcessing","shoppingCartReload","shoppingCartTotalLoaded","shippingAddressUpdated","shippingAddressUpdatedForCheckout","institutionOrderSuccess","institutionCartIsValid","institutionCheckout","newShippingAddressClicked","newShippingAddressIsValid","billingAddressLoaded","paymentMethodUpdated","addressUpdated","guestContactDetailsAdded","guestShippingAddressAdded","addCardholder","cardholderAdded","customerAddedNewPaymentMethod","customerPaymentMethodDeleted","customerPaymentMethodEdited","customerPaymentMethodAdded","customerPaymentMethodPendingComplete","viewProductsForInstitutionClicked","valueAddedToCardPurchase","unlinkMultipleParticipants","institutionReplaceCard","singleCardReloading","serviceRequestFormOpened","viewParticipantClicked","editParticipantClicked","addParticipantClicked","availableCardsLoaded","participantSaved","participantDeleting","participantsDeleted","participantBackToSearch","addParticipantCardClicked","newParticipantPhotoAdded","editParticipantPhotoClicked","participantPhotoUpdated","institutionAddedNewPaymentMethod","triggerUpdateAvailableTransitAccounts","institutionNotificationRead","institutionNotificationsDeleted","institutionNotificationsDeleting","institutionNotificationsNew","reducedFareCardSeniorClicked","addSelectedCardToCartClicked","reducedFareCardYouthClicked","addGroupClicked","editGroupClicked","groupSaved","accountSettingsLoading","shippingAddressLoading","userInfoLoading","billingAddressLoading","shippingAddressSaved","paymentMethodDeleting","paymentMethodDeleted","paymentMethodEditing","paymentMethodSaved","cardDetailsClosed","cardDetailsOpenedSingle","cardDetailsOpenedMultiple","editCardsClicked","singleCardReseting","singleCardDataLoaded","multipleCardDataLoaded","singleCardPassesLoaded","singleCardFareProductsLoaded","singleCardEditing","multipleCardEditing","manageCardsTableResetting","cardTableReload","cardBlocking","cardBlocked","participantUnlinking","participantUnlinked","cardMultipleBlocking","cardMultipleBlocked","cardMultipleRemoving","guestCardAdded","guestItemAddedToOrderCardsCart","orderCardsShowResult","loginClicked","loginLoading","loginLoaded","loginDeleting","loginViewLoading","loginViewLoaded","loginSaved","loginClearForms","loginBlock","loginActivate","currentJobTableReload","pastJobTableReload","userProfileLoading","userProfileSaved","superUserProfileLoading","superUserProfileSaved","quantitySelectChange","institutionLoaded","currentInstitutionAccountFetched","currentInstitutionAccountUpdated","currentInstitutionAccountNeedsRefresh","institutionShippingAddressEditRequested","institutionPaymentMethodChange","institutionPaymentMethodAddSuccess","institutionPaymentMethodAddFailed","institutionPaymentMethodEditRequested","institutionPaymentMethodDeleteRequested","institutionJobsTableNeedsRefresh","loginsListTableJsGridPageIndexUpdate","enterSubAccountFailure","shoppingCartMixedFulfillmentDetected","shoppingCartMixedFulfillmentNotDetected","subAccountListUpdated","subAccountDeleting","signals","SetLinksAsClickable","OnReady","dataTag","exists","$body","stopPropagation","$anchor","$preferredLink","userTarget","smartTarget","startsWith","open","warn","InstitutionHelper","setPanelHeight","parentContainer","setHeightAuto","leftColumnSelectorString","containerHeight","loadDetailsPanel","rightColumnSelectorString","breadcrumbs","hideMiddleColumn","shippingColumn","columnSelector","participantPanelSectionVisible","makeVisible","showErrorNotification","message","delay","showSuccessNotification","showSuccessCheckoutModal","modal","showSuccessModal","showErrorModal","showBulkActionMessageModal","linkUrl","setUpTabs","el","tabsSelector","tabButtonsSelector","tabContainerSelector","shouldAutoActivate","tabs","tabButtons","focusTabButton","button","activateTabButton","bootstrap","Tab","nextButton","prevButton","prev","addEventListener","bg","getAttribute","backgroundImage","event","special","touchstart","setup","_","ns","handle","passive","includes","touchmove","JsGridHelper","caseInsensitiveAlphaSort","A","B","asc","a","b","currencySort","sortResults","list","property","direction","self","sort","reverse","sortLoginResults","PersonalData","Email","LastName","FirstName","UserName","getLocalizedColumnNames","columnObj","PublicService","getLocalizedTableColumnNames","MobileMenuControllers","ready","$mobileMenuControllerElement","isCustomer","isInstitution","isGuest","loginUrl","submenuBackText","_dropdownItems","Vue","get","template","outerHTML","IsCustomer","IsInstitution","IsGuest","LoginUrl","ProfileMenuOpened","NavigationMenuOpened","SubmenuOpened","SubmenuBackText","computed","methods","OnProfileBarToggleClicked","__ToggleProfileMenu","OnMenuBarToggleClicked","__ToggleNavigationMenu","__CloseProfileMenu","__CloseNavigationMenu","__OpenProfileMenu","__OpenNavigationMenu","vueModel","$nextTick","__CloseAllSubmenus","dropdownItem","__CloseSubmenu","__OpenSubmenu","$dropdown","isOpen","__BindNavigationSubmenuActions","$el","removeAttr","click","_closeSubmenu","_openSubmenu","mounted","InitializeLogoutLinks","svg4everybody","MarathonTagIEVersion","rv","appName","$1","appVersion","root","documentElement","className","CommonExtensions","enabledSmoothScrollToId","handleExternalLinks","initA11yMenu","ReCaptchaHelper","InitResponsiveReCaptcha","HandleADA","adjustCustomerDashboardColumnHeight","$elem","headerHeight","footerHeight","breadcrumbsHeight","minHeightOfElem","BootstrapADA","Collapse","_settings","querySelectorAll","dataset","bsTarget","collapse","logError","scrollToAnimationOptions","duration","easing","offset","top","scrollTo","__PasswordHintService","Bind","fieldElement","passwordContainer","hintSteps","UpperCaseRegexp","LowerCaseRegexp","NumberRegexp","SpecialRegexp","Password","match","datepicker","changeMonth","changeYear","fixDropdownArrows","dropdownButtons","dropdownButton","currentOpenAttr","currentOpenBool","$siteWrapper","$loadingScreen","$mainContent","logOutRedirect","jwt","Cookies","post","remove","InstitutionService","exitSubAccount","Action","Token","set","secure","extend","mask","autoclear","history","scrollRestoration","focusSignInMenu","isMobile","innerWidth","$anchorInNav","modalId","localStorage","removeItem","breadcrumbsHTML","hasClass","prepend","$html","$breadcrumbs","sameSite","$main","otherElementsThatNeedHeightAdjustment","setHeights","pixels","adjust","adjustMainContentHeight","applyDelay","mainHeight","$targetColumn","breadcrumbsHtml","classIfHasValue","setInterval","$input","CartService","$modal","iframeSrc","title","trim","navs","slideMenus","slideMenuAnimationOptions","openSlideMenu","panelContainer","menu","panel","parentWidth","width","resetSlideMenu","animate","left","setupBootstrapDropdownNavEvents","keycode","dropdownElements","successAlert","querySelector","getComputedStyle","parentDropdown","parentNav","slidePanelContainer","lastPanel","complete","not","classList","preventScrollMobileMenu","hash","collapsiblePanel","header","scrollTop","expandPanelFromUrl","vue","userInfo","FullName","CustomerService","getCustomerAccount","getInstitutionAccountLoginId","fail","jqXHR","exception","alert","_vm","warnModalSelector","expiredModalSelector","extensionsPaused","modalVisible","userHasSession","closeAllModals","checkTimeInSession","sleepBetweenChecks","extendSession","force","extendSessionGovernor","extendSessionCallback","Failed","Extend","reload","placeholder","PRODUCT_TYPE_TOPUP","PRODUCT_TYPE_REPLACEMENT","PRODUCT_TYPE_APPLICATION_FEE","PRODUCT_TYPE_GROUP_PASS","TEMPORARY_PAYMENT_INFORMATION_KEY","COLLECT_JS_RESPONSE_KEY","saveCollectJsResponseToLocalStorage","collectJsResponse","setItem","JSON","stringify","fetchCollectJsResponseFromLocalStorage","object","getItem","parse","saveBillingAndPaymentInformationToLocalStorage","billingInfo","paymentInfo","BillingInfo","PaymentInfo","fetchSavedBillingInformationFromLocalStorage","fetchSavedPaymentInformationFromLocalStorage","updateCartBadge","qty","setCartIdCookie","cartId","getItemsInCart","getShoppingCart","getProductIdsInCart","fareMediaId","productIds","FareMediaId","ProductIds","getLimitedValidityProductsInCart","addItemToCart","updateItemQuantity","updateItemProductQuantity","addValueAddToCart","addValueAddToGuestCart","addValuesAddToCart","transitAccountIds","TransitAccountId","Amount","addBulkValueAddToCart","addProductToCart","addProductToGuestCart","addBulkProductToCart","removeProductFromCart","deleteCart","token","addProductsToCart","productId","quantity","ProductId","checkoutShoppingCartCustomer","checkoutShoppingCartGuest","checkoutShoppingCartInstitution","getPaymentProcessing","paymentProcessingId","PaymentProcessingId","cancelPaymentProcessing","getOrderByOrderId","getOrders","getReceiptDetails","getPromoCodeByPromoCodeNumber","getCanAddPaymentMethods","getCustomerAccountAddresses","getPaymentMethods","getCustomerAccountByIdAddressById","getCustomerAccountByIdAddress","getTransitAccounts","getTransitAccountProducts","transitAccountId","getTransitAccountCardholder","getTransitAccountById","getTransitAccountByIdTrip","getCappingPotsByTransitAccountId","getTransactionHistory","take","Take","getTransactionHistoryTable","getFundingSources","addFundingSource","deleteFundingSource","getMessageEvents","getMessageSettings","putMessageSettings","getCustomerNotifications","putNotifications","getNotificationSettings","putNotificationSettings","getDeviceTokens","getSecurityQuestions","postAuthorizePaymentMethod","getCustomerAccountSalesHistoryTable","getCustomerAccountSalesHistory","getCustomerAccountSalesHistoryDetailById","getSaleByTransactionId","getSaleByTransitAccount","postTransferTransitAccountProducts","putCloseTransitAccount","putReplaceCard","postLockCard","postFundingSource","postAddCollectJsPaymentMethod","putInstitutionAccountFundingSourceDefault","getFundingSourceById","unlinkCardParticipant","deleteInstitutionParticipant","getSingleCardInfo","getMultipleCardsInfo","Ids","getCardParticipantInfo","getCurrentUserId","getInstitutionAccountLoginById","loginId","AccountId","getInstitutionAccountLoginIdSecurityQuestions","getOrderHistorySaleDetails","saleTransactionId","SaleTransactionId","getInstitutionAccountAddressById","getInstitutionAccountLogins","getManageCardsTable","getInstitutionAccountTransitAccountsExport","unblockInstitutionTransitAccount","blockInstitutionTransitAccount","getInstitutionAccountsSalesHistoryTable","getInstitutionAccountsInvoiceHistoryTable","getInstitutionAccountParticipants","getInstitutionAccountParticipantsById","getInstitutionAccountParticipantsTable","getInstitutionAccountParticipantsExport","getParticipantGroups","getParticipantGroupModelResult","getParticipantGroupById","deleteParticipantGroup","deleteInstitutionAccountShippingAddressById","getInstitutionAccountAddresses","getInstitutionAccounts","getInstitutionAccountsTable","getInstitutionAccountsById","putInstitutionAccountLoginBlock","putInstitutionAccountLoginUnblock","putInstitutionAccountLoginActivate","getInstitutionAccountTransitAccounts","postInstitutionAccountTransitAccount","getCardInfo","getAddressListItems","postAddPaymentMethod","getMaxPaymentMethods","saveParticipant","saveParticipantTransitAccount","batchCardEnable","CardIds","batchCardUnlinkInstitutions","batchCardUnlinkParticipants","getNotifications","markAsRead","deleteNotifications","processParticipantImage","participantHasImage","participantId","getParticipantImage","deleteParticipantImage","getGroupsTableTooltips","getSalesByTransactionId","getSaleItemsByTransactionId","getTransitAccountAutoloads","getPaymentOptions","getManageSubAccountsTable","verifySubAccount","postSubAccount","removeSubAccounts","enterSubAccount","searchTransitAccounts","getInstitutionAccountLoginEvents","putInstitutionLoginEvents","getInstitutionLoginMessageSettings","putInstitutionLoginMessageSettings","getInstitutionLoginNotificationSettings","putInstitutionLoginNotificationSettings","JobsService","getJobs","getJobById","getCurrentJobs","getPastJobs","getJobDetails","getJobInputFile","getJobOutputFile","validateParticipantsUpload","processImportParticipants","processUpdateParticipants","processDeleteParticipants","processImportTransitAccounts","processRegisterTransitAccounts","processUnregisterTransitAccounts","processImportBlockTransitAccounts","processImportUnblockTransitAccounts","validateTransitAccountsUpload","processAutoloadsImport","processBulkAutoloadsRemove","processBulkAutoloadsSuspend","processBulkAutoloadsResume","getFareMediaTypes","validateBulkSalesUpload","processBulkSalesCsv","getTransitAccountsBulkFile","getParticipantsBulkFile","myid","ProductsService","CARD_STATES","INACTIVE","ACTIVE","BLOCKED","REPLACED","CARD_REPLACEMENT_ORDERED","CLOSED","BLOCKING_REASONS","NONE","LOST","STOLEN","RECEIVABLE","DEFECTIVE","REVOKED","LOST_IN_SHIPPING","FRAUDULENT_USE","NO_PRODUCT","THREE_WRONG_PIN_ATTEMPTS","ORDER_FULFILLMENT_REPLACEMENT","getFareProducts","ExcludeShippingProducts","ExcludeFees","SkipInstitutionAccountId","getFareShippingProducts","getValidFareProductsForTransitAccount","printedCardNumber","ExcludeLoadedProducts","getFareProductById","getFareMedia","getAutoloadByProductId","getAutoloadsByTransitAccountId","getAllowAutoloadFareProductExternalIds","SalesChannelId","saveAutoload","saveUrl","AutoloadId","savePassAutoRenew","deleteAutoload","addCardGuest","cardNumber","securityCode","AddCardNumber","AddSecurityCode","getTransitAccountsByBankingServiceToken","getTransitAccountsByDPAN","getTransitAccountsByIds","getContactlessTransactionHistory","getCardholderById","cardHolderId","Id","getCardholderDocumentsById","postCardholderDocument","postCardholderDocumentsMultiple","ServiceRequestService","getServiceRequestTypes","getFareCategories","getSalesChannels","getOperators","getCountries","getConfigurations","getLines","UriService","getParameters","chain","search","compact","UserService","getSuperUser","putSuperUser","impersonate","institutionId","isCurrentUserASuperUser","qtyOptions","addToCartSuccess","ShowAddToCartSuccess","CartId","Product","IsValidWhenSelling","ErrorMessage","ShowError","component","props","RawReloadAmounts","QtyOptions","ClickAddToCart","csrfToken","__RequestVerificationToken","ClickAddBulkValueToCart","IsTopUpProduct","Type","ReloadAmounts","templateSelector","centsToDollars","IsBulkSale","Boolean","default","HasText","CustomAmount","MinimumLoad","MaximumLoad","CustomAmountInvalid","UnexpectedErrorText","ClickAddValueToCart","MaximumLoadingLimit","addBukValueAddToCart","CardActive","State","allowed","reloadAmounts","LoadingLimit","LoadingLimitAsDollars","MinimumLoadAsDollars","opts","instance","isSaving","SavePurseAutoload","isRemovingSuspension","CustomerAccountId","CustomerAccount","OwnerName","$emit","OnAutoloadUpdated","MultipleFundingSources","ShowSuccess","AutoLoad","autoLoad","FundingSources","fundingSourcesCollection","fundingSource","Amounts","amountsRaw","Thresholds","thresholdsRaw","ShowForm","SubmitAttempted","ShowSuspend","ShowBackupPaymentSource","ShowSplitPaymentSource","ShowSuspensionSuccess","AutoloadCustomAmount","FundingSourceId","BackupFundingSourceId","AutoloadThreshold","UserSelectedAutoloadValue","UserInputtedAutoloadValue","UserSelectedAutoloadThreshold","UserInputtedAutoloadThreshold","renderComponent","isRemoving","currentAutoloadPrimaryFundingSourceId","hasCurrentAutoLoad","currentAutoloadBackupFundingSourceId","currentAutoloadSecondaryFundingSourceId","currentAutoloadSecondaryBackupFundingSourceId","DefaultFundingSourceFromAutoload","searchedFundingSources","source","AutoLoadIsActive","isActive","SuspendedFrom","SuspendedTo","isoTodayDate","Date","toISOString","AutoLoadIsSuspended","AutoLoadBelongsToAnotherAccount","currentCustomerAccountId","IsAutoLoadAmountLow","AutoloadAmount","amt","CalcAutoloadAmount","ThresholdExceedsLimit","AutoloadThresholdAmount","MaxPurseAmount","AutoLoadSumsExceedLimit","PaymentSourceSelected","BackupPaymentSourceSelected","AutoloadValueIsValid","ShowThresholdExceedsLimitError","AutoloadValueAmount","getUserInputtedNumber","UserInputtedAutoloadValueAmount","CanSubmitAutoLoad","CanSubmitAutoRenew","Days","days","BackupPaymentMethodMissing","TopUpProduct","AutoloadAmountAsNumber","AutoloadValue","MaxCustomAmount","maxAutoload","MaxCustomAmountInDollars","MaxAllowedToAutoload","MaxAllowedToAutoloadInDollars","maxDollars","BackupFundingSources","fundingSources","AutoloadThresholdValue","hasMultipleAutoLoads","MultipleAutoloads","hasFundingSource","hasSecondFundingSourceForBackup","watch","FormatMonthDay","day","FormatDayOfMonth","GetFundingSourceByIdFromOptions","ForceRerenderComponent","autoload","SetDefaultPaymentMethod","IsDefault","FundingSourceDisplayName","nickname","LimitCardName","Name","maskedPan","MaskedPan","autoloadThreshold","clearAutoloadForm","EnableAutoload","confirm","SaveAutoload","ThresholdValue","Value","RemoveAutoloadSuspend","PeriodDayOfMonth","PartialValue","PartialAutoloadValue","CancelAutoloadSave","ShowAutoloadSuspend","HideAutoloadSuspend","EmitAutoloadSuspendUpdate","ShowBackupPayment","HideBackupPayment","BackupPaymentFundingSources","fundingSourcesInUse","sourceName","RemoveCustomAmount","SelectCustomRadioBtn","isPass","From","To","CanSaveSuspension","DateRangeIsValid","IsValidStartDate","IsValidEndDate","StartDateIsBeforeToday","EndDateIsBeforeStartDate","startDate","endDate","today","setHours","ex","from","CancelAutoloadSuspend","UpdateAutoload","SubmitAutoloadSuspend","OpenDatepicker","dateToday","minDate","onSelect","date","picker","InitialAutoLoad","modalSelector","typeDropdown","_vueData","ShowOrder","Loading","Labels","Order","Details","Sale","VerboseDetails","Logo","Shared","PaymentMethodsUsed","Payments","paymentMethodsUsed","paymentMethod","PaymentMethod","AmountDollars","CreditCard","ACH","Promo","PaymentReference","HasSplitPayments","RetrieveTransactionDetailPdf","order","cardOrderDetails","details","downloadOrderPdf","PrintTransactionDetailPdf","orderDetails","imgLogo","Image","TransactionNumber","OrderNumber","ReceiptReference","Time","OrderState","SaleType","SplitPaymentMethods","Invoice","InvoiceName","ItemName","Total","IsPreTax","Visa","MasterCard","AmericanExpress","Discover","renderPdfTextWithLabel","pdf","label","labelX","dataX","y","setFontType","alignPdfCol","cell","col","column","styles","halign","orderData","payments","labels","print","jsPDF","saleDate","SaleDate","tableCols","tableRows","row","ticketname","price","subtotal","AllowLinebreak","Discount","autoTable","headerStyles","textColor","fillColor","columnWidth","overflow","font","cellPadding","columnStyles","margin","right","createdHeaderCell","createdCell","fontStyle","addPageContent","setFontSize","setTextColor","naturalHeight","addImage","setDrawColor","setLineWidth","line","internal","pageSize","autoPrint","output","fileName","save","salesTransactionId","transactionId","getOrder","then","TotalResults","transaction","DataSet","UtcToRegional","getOrderDetails","IsPreTaxPayment","SaleItems","payment","orderId","OrderId","Skip","getVerboseTransactionDetails","accum","current","nextTick","shoppingCartUrl","PurchasePassesData","ShoppingCartUrl","cardSignal","initialCard","isTotalAmountShown","lowBalanceThreshold","isShown","availableProducts","selectedOperatorId","noProducts","isProductLoadDone","passValidFrom","selectedValidity","selectedQuantity","changedQuantity","productsAddingToCart","productsShowingCartSuccess","quantitySelectIds","disableCartButton","cartSuccessful","cartError","errorMessages","ProductType","RegionalFrequency","RegionalDailySelected","RegionalProduct","AgencyProduct","WSFProductType","WSFMonthlyProduct","WSFMultiProduct","AddToCartModal","LowBalanceThreshold","AddValueProductId","HasPassesInCart","TotalForPassesInCart","selectedGroupSize","groupSizeRange","isLoading","numberOfTrips","NumberOfTrips","cartValidityGroupViolation","violation","ValidityDates","restrictedValidity","CartRestrictedValidity","restricted","ValidityGroup","Dates","validityOptions","InCartValidFrom","ValidFrom","utc","CardSoftBlocked","BlockDate","CardHasLowBalance","Balance","ProductTypeName","regionalDailyProduct","filtered","regionalProducts","OperatorId","wsfMonthlyProducts","wsfMultiProducts","multiRideOptions","rides","cardOperators","operators","operatorIds","j","selectedProducts","CanSubmit","newPropCard","newCard","loadProducts","loadCard","ShowAddPassesModal","ShowAddToCartModal","groupSize","GroupSize","Checkout","getOperatorName","operatorId","operatorDict","purchasableProducts","_Products","Purchasable","setProductCartProperties","cardId","status","InCart","inCartValidFrom","inCartCard","validFromProduct","InCartCard","NoValidityOptions","setProductCartValidFromProperty","loadProductDictionaries","updateCheckoutButtonAndTotal","quantitySelectors","QuantitySelectService","InitQuantitySelect","loadQuantitySelectDictionary","$quantitySelectModule","$set","populateCartRestrictedValidity","isGroupPass","productGroupSizeRange","MinGroupSize","quantityChanged","hasRequiredData","hasCustomEventData","eventData","CurrentValue","InBounds","updateGroupSize","getTotalForPassesInCart","getHasPassesInCart","addToCart","validFrom","validTo","validityRange","dates","ValidTo","onProductAddedToCart","OverrideValue","resetQuantity","handleCartResponse","errorMessage","isArray","msgIndx","cartResponse","targetProducts","_getProductsForTarget","total","itemsInCart","Items","targetItems","targetItemId","inCart","inCart2","reset","productIsTopUp","fareProducts","file","CardholderFiles","getCardholderFareCategory","cardholderFareCategory","FareCategories","fareCategory","CardholderFareCategory","limitCardName","cardNumberFilter","$quantitySelect","findFirstProduct","ProductsList","Item","productsList","productPrice","CardHolderIds","GetCardholder","CardHolderId","vanpoolGroupId","IsTopUp","PricePerPerson","VanpoolGroupId","IsNewCard","HasCardholder","CardholderName","CardholderBirthday","IsShipping","IsTopUpForExistingCard","FirstProduct","FareMedia","FareMediaList","FareMediaTypeId","ReplacedCardNumber","IsVanpoolPayment","IsLoading","ReplacedCardBalance","CardNickname","ReplacedCardNickname","CanHaveQuantitySelect","isMonthlyPassCartItem","IsMonthlyPassItem","Validity","NewCardPrice","ReplacementCard","IsGroupPass","TypeName","OperatorName","OperatorDict","OrderHasMultipleAgencies","CardDescription","CardNumberAndOptionalNickname","number","ReplacedCardNumberAndOptionalNickname","VanpoolNotes","Notes","NewCardProducts","LineTotal","IsFareMediaItem","IsReloadItem","isFareCard","hasAPassWithTimeValidityContraints","productIdsInItem","validWhenSelling","DateOfBirth","years","diff","Moment","FareCategory","RemoveItem","itemViewModel","UpdateQuantity","updateProductQuantity","vueInstance","matchingTransitAccount","PreTaxBalance","previousBalance","CartEmpty","NoReceipt","CardOrderDetails","loadComplete","sessionStorage","formatReceipt","SalesHistoryResult","OrderDetails","isGuestCheckout","GuestCheckout","RetrieveReceipt","receipt","RetrieveGuestTransaction","_guestCart","guestCart","cart","Contact","contact","cardOrder","ShippingAddress","shippingAddress","AddressLine1","OrderDate","getGuestOrders","getGuestSale","Initialize","StoredValue","Download","Print","Close","SalesReceipt","FormatCardProducts","pageCount","hideNumber","lang","MomentMDY","phone","CapitalizeFirstLetterOnly","accordion","buttonShow","buttonHide","multi","AddValueProductData","showAddedToCartScreen","showError","isAddingToCart","updateReloadAmountInCart","topUpProduct","rawReloadAmounts","epurseLoadingLimit","amount","customAmount","minimumLoad","customAmountEmpty","oneTimePayment","ReloadAmountInCart","totalEpurse","goToShoppingCart","clickAddValueToCart","reloadAmount","validateDollarInputKey","allow","decimalPos","hasTopUpProduct","cardIsActive","showLoadingAnimation","loadingLimit","minimumLoadAsDollars","canAddToCart","checkCart","showingModal","$refs","purchasePasses","hidingModal","modalEle","activityLoading","formModel","Transactions","UnfilteredTransactions","Filters","Month","Year","Activity","FilterOptions","Activities","ActivityFilterOptions","ActivityFiltersHandleAutoload","NumPages","TotalCount","TransactionUpperLimit","TransactionLowerLimit","CurrentPageIndex","NumPerPage","NumOnPage","NumOnPageMobile","PaginationButtonTextNext","PaginationButtonTextPrev","PaginationButtonTextPage","FilterSet","SortOrder","activity","CardId","SharedAdditions","SharedDeductions","NumTransactionsOnPage","numOnPage","NumTotalTransactions","ceil","PageLinks","pageLinks","numPages","PageNumbers","pageNumbers","pageLink","FilterTransactions","filters","monthFilterSet","yearFilterSet","getFullYear","toUTCString","TransactionTypes","getCardHistory","SortTransactions","sortable","SortDescending","SortField","SortTransactionsKeyboard","PreviousPage","PreviousPageKeyboard","NextPage","NextPageKeyboard","DownloadCsv","formModelDownload","transactions","formatCardActivity","csvTransactions","Transaction","TransactionTypeDescription","TransactionType","description","ResultId","TransactionDeclined","csvTransaction","Timestamp","Location","PurseCredit","PurseBalance","csv","json2csv","downloadCsvFile","DownloadPdf","shared","columns","tableJson","tableToJSON","ignoreHiddenRows","rows","alignPdfColForTransactionCosts","CardActivity","CardType","CardTypeName","updated","setupPagination","$paginationContainer","dataSourceArray","currentPage","pagination","totalNumber","pageNumber","pageRange","nextText","prevText","$prevPageButton","$nextPageButton","$pageNumberButtons","$pageButton","pageNum","NavigateToPage","makePaginationADACompliant","setActivities","TapOff","SalesChannel","Boarding","TapTransfer","Use","MoneyLoad","TicketnameLoad","FareMediaSale","Refund","AccountAdjustment","InactivityAdjustment","CardReplacement","BalanceTransfer","ProductTransfer","ProductActivation","activityLabels","approvedTransactionTypes","Agency","Tap","MoneyAutoload","TicketnameAutoload","Line","Stop","Online","Passengers","ApprovedTransactions","idx","SalesChannelCustomer","SalesChannelAutoload","getInitialCardHistory","historyStart","previousYear","pageIndex","perPage","mobile","lo","UpdateNumberOfRecords","IsIE","csvData","decodeURIComponent","msSaveBlob","blob","Blob","aLink","download","encodeURIComponent","MouseEvent","dispatchEvent","TransactionTypeId","AppliedValuePassProductName","ProductTicketName","PassValidUntil","NumberOfPersons","locationLine","LineName","LineNumber","locationStop","StopName","StopNumber","autoLoads","autoLoadValues","autoLoadThresholds","shoppingCart","isAutoLoadDone","isCartLoadDone","isOperatorLoadDone","isFundingLoadDone","passes","Passes","IsActive","purse","Purse","hasOperators","loadFareProducts","loadFundingSources","defaultIndex","defaultSource","splice","loadShoppingCart","loadOperators","operatorArray","operator","externalId","fareProduct","ExternalIdentifier","autoloadUpdate","parseCSV","csvString","doneCallback","autoLoaders","autoloaderCallbackFactory","concurrent","err","newVals","getAutoLoads","reloadSignal","autoloadValues","autoloadThresholds","pid","contra","loadCardAssets","caps","getTransitCappingPots","getTransitProducts","media","getAvailableFareProducts","fareCapAchieved","_Caps","MissingValue","_PurseAutoLoad","always","riderCategory","RiderCategory","hideLoader","transitAccount","LoadCards","currentCard","showLoader","cardList","onlyCard","second","selectedCardId","cards","completeLoad","loading","$successModal","LoadFareCategories","Configurations","MaxAllowedPurseValue","LoadConfigurations","msg","defaultMessage","$successModalMsg","loadingDetails","Caps","PurseAutoLoad","SelectedCard","customer","CardFareCategoryName","selectedFareCategory","CardIsActive","CardCanBeUnblocked","BlockingReason","Stolen","CardCanBeReplaced","PassProductsList","ActivePurseAutoload","HasCardNickname","CardSelected","selectedCard","IsSoftBlocked","_vueInstances","Qty","updateBadge","SanitizedQty","tableContainer","AccountIds","transitAccounts","selectedMonth","selectedYear","selectedActivity","activeAccount","req","TransitAccountIds","headerVM","emitTable","switchAccount","month","year","formatCardNumber","setPaginationTitles","navButton","getColumnWidth","columnModel","Columns","ApiFieldName","IsSortable","sortingField","descending","skip","loadingError","monthSet","yearSet","toDate","setMonth","getMonth","newAccountId","oldAccountId","createTable","vm","ContactlessHistory","jsGrid","sorting","paging","pageButtonCount","pagerContainer","pagerFormat","pageNextText","pagePrevText","pageNavigatorNextText","pageNavigatorPrevText","pageLoading","headerRowRenderer","$result","grid","_eachField","headerTemplate","$th","reloadTable","controller","loadData","d","Deferred","startLoading","hideResponseError","showResponseError","finishLoading","reject","toLocaleDateString","toLocaleTimeString","hour","minute","LineInfo","Intl","NumberFormat","currency","showingResults","firstTransactionOnPage","lastTransactionOnPage","resolve","itemsCount","promise","onPageChanged","onDataLoaded","getPDF","getCSV","selectedTransitAccount","changeTable","changeInfo","accounts","formatEmptyColumn","dataSet","csvItem","FormatCsvField","language","modalsSelector","mobileModalSelector","cardModalSelector","contactlessErrors","dpanLengthError","dateError","resetRecaptcha","recaptchaElement","grecaptcha","cardValidationHappened","cardNumberValidated","expirationValidated","securityCodeValidated","dpan","dpanError","tripDate","tripDateError","route","visited","mobileValidationHappened","cardSubmitAllowed","mobileSubmitAllowed","openCardModal","openMobileModal","submitCardModal","CollectJS","startPaymentRequest","displayFieldValidationError","hideFieldValidationError","handleCollectJsResponse","recaptchaResponse","getResponse","BankingServiceToken","validationCallback","setupCollectJsFields","getRoute","validateDpanValue","validateTripDateValue","submitMobileModal","$mobileSubmitButton","DPAN","TapDate","LineCode","clearInputs","configure","variant","fieldsAvailableCallback","ccnumber","ccexp","cvv","customCss","routeDropdown","newRouteOption","contentTabsContainer","activeTabIndex","contentTabs","firstTab","lastTab","tabClicked","l","resetTabSwitcherStates","moveFocusToTab","currentTab","flag","moveFocusToNextTab","vueTemplateSelector","cappingPots","dayCappingPots","monthCappingPots","momentDay","momentMonth","setCard","getFareCapping","_vue","sortFareCappingList","addCappingProperties","pot","progressbar","tooltip","aDone","bDone","msInDay","dateFormatter","DateTimeFormat","cappingPot","validDurationMs","pcntDone","PercentComplete","$infotext","GoogleMapComponent","pos","$map","searchButtonDisabled","unfilteredLocations","defaultZoom","locationsPerPage","defaultRadius","UpdateMap","$searchButton","EnableDisableSearchButton","SearchClicked","mapSearchIndex","mapSearch","SetupNextPrevButtons","addressZipInput","searchButton","mapElement","locations","epicenter","radius","zoom","isSearch","filterLocationOffers","postData","Locations","Radius","Zoom","LocationsPerPage","Locale","FilterLocationOffers","IsSearch","Epicenter","locationListContainer","locationIndex","theMap","mapMarkers","selectedMarker","topOffset","getBoundingClientRect","google","maps","scrollBy","behavior","panTo","position","SetupLocationClick","HideListLoader","BindLocationListHeights","BindLocationListSimplebar","$insertMapContainer","Element","InitGmap","isDistanceQuery","searchDistance","searchAddressZip","isReset","selectedLocationOffers","purchaseCardsCheckbox","reloadCardsCheckbox","checked","purchaseCards","reloadCards","geocoder","Geocoder","geocode","address","GeocoderStatus","OK","Latitude","geometry","lat","Longitude","lng","clickedButton","currPage","currPageNum","pageNumToShow","locationsCount","upper","lower","handleLocationError","browserHasGeolocation","alerted","mapIndex","permissionDenied","geolocation","getCurrentPosition","coords","latitude","longitude","MobileGoogleMapUIControllerFactory","CreateController","$mGoogleMap","_CreateController","viewModes","viewports","getViewport","$RootElem","$Button_Search","$Button_SearchClose","$Button_ListView","$Button_MapView","$FixedControlBar","$View_List","$View_Map","$Bar_Search","$Bar_Sort","CurrentViewMode","CurrentViewport","SearchBarOpen","SortBarOpen","Init","SetViewMode","ButtonsArray","BindViewportChanges","BindButtons","runOnChange","ResetButtonStates","ShowSearchBar","ShowSortBar","changedViewport","ScrollToTop","HideSearchBar","viewMode","scrollY","$button","HideSortBar","$mGoogleMaps","prependTo","$maps","$Elements","loaded","GetDirections","MoreInfo","LocationOffers","geoPermission","InitGMaps","$thisMap","$locationListContainer","SimpleBar","autoHide","InitGeolocationMap","places","mel","bounds","LatLngBounds","addGeolocationToMap","setCenter","getCenter","fitBounds","markerPinTag","marker","AdvancedMarkerElement","content","collisionBehavior","CollisionBehavior","REQUIRED_AND_HIDES_OPTIONAL","zIndex","pop","InitSearchLocationMap","searchAddr","markerSearchTag","infowindow","plugins","loader","Loader","apiKey","version","libraries","load","myOptions","mapId","mapTypeId","MapTypeId","ROADMAP","mapTypeControl","addresses","contents","Markers","pinPos","addr","coordinates","LatLng","hasAddress","SetInfowindowContent","locationName","headerContent","Map","importLibrary","center","InfoWindow","listener","addListener","removeListener","MakeADAGoogleMap","geocoderType","requestCount","mapBounds","getCallback","latlng","types","extractAddress","address_components","addMarkerToMap","OVER_QUERY_LIMIT","latLng","markerTag","isDefault","_content","_headerContent","setHeaderContent","setContent","onresize","close","defaultLocation","getDefaultLocation","setBounds","geocodeAddress","markers","components","streetAddress","$location","long_name","short_name","addressLine1","addressLine2","city","state","zip","storeHours","locationOffers","fontAwesomeIcon_pin","wrapTextComponent","wrapperClass","fontAwesomeIcon","HasContent","contentString","escape","helpForms","FetchServiceRequestTypesAndOperators","InitEmailFieldsIfLoggedIn","forms","customerEmail","LoggedInUserEmail","customerName","LoggedInUserName","$form","loggedIn","serviceRequestTypes","helpFormIndex","helpForm","serviceRequestTypeDropdown","serviceRequestType","operatorDropdown","LongName","InitializeHelpFormRequestTypesDropDown","addressLoaded","addressIsEmpty","addressInfo","AddressType","AddressLine2","PostalCode","City","invoiceAddressId","waterfall","AddressId","ok","dataModel","validationResults","passed","failed","totalRows","totalFailed","totalPassed","uploadSuccess","uploadEmpty","uploadedFile","validFile","getFormData","FormData","files","submitForProcess","dataResult","redirectUrl","goToStep","stepNum","fileChanged","filepath","filename","lastIndexOf","extension","downloadErrors","ErrorList","ValidationErrors","uploadFileText","validationPassed","fileIsEmpty","populateValidationResults","isPassedList","v","failedTableController","setPaginationTitlesPassed","passedTableController","handleDataValidation","ValidFileFormat","TotalFailedResults","TotalRows","ValidResults","FailedResults","validateData","rowClass","itemTemplate","onRefreshed","heading","BulkActionTypes","showProductList","AvailableProducts","participantGroupId","groups","bulkActionType","ePurseExternalIdentifier","Operators","FareProductId","ShowBackup","Autoload","Day","ThresholdAmount","AvailableFundingSources","MinimumAmount","MaximumAmount","getElementById","selectedProduct","getSelectedProduct","isTopup","getAutoloadAmount","toggleBulkActionType","typeId","ToggleBackupPayment","ResetAutoload","AutoloadError","AutoloadSumsExceedLimit","AutoloadAmountTooLow","AutoloadAmountIsValid","IsThresholdAmountTooLow","ThresholdAmountIsWrongFormat","PurchasablePasses","SelectedProduct","topupProduct","availableFundingSources","ValidFileOrGroupSelected","IsValidAutoload","ThresholdAmountIsValid","MinimumThreshold","valueAsString","decimalIndex","afterDecimal","hasMoreThanTwoDecimalPlaces","dollarsToCents","MinAllowedTopUpValue","PurseLoadLimit","salesChannelId","ShowAllAvailableFareProducts","bottom","concat","orderProductsTopUpFirst","LoadProducts","Identifier","PhoneNumber","GroupName","link","navButtons","firstPage","forward","pageFirstText","pageLastText","totalResults","participantGroupName","groupName","fileString","fileData","PassQuantities","showUpload","noCardsInGroup","evaluateGroup","AddFundsSuccess","SelectedProducts","PassMonth","PassAddedSuccessMessage","ValidityGroupViolation","ShoppingCart","IsProcessingTopup","IsProcessingPass","Configuration","MinimumTopUp","MaximumTopUp","QuantityOptions","resetSelections","selectedPassId","AddPassToCart","pass","addPassToCart","PassQuantityChanged","passId","SetupPassQuantitiesDictionary","AvailablePasses","handleValidation","checkForItemsInCart","showProducts","SetAmount","UpdateCustomAmount","AddFundsToCart","SelectedAmount","numberOfAccounts","NumberOfAccounts","IsTopup","RemoveFromCart","setShoppingCart","PassAdded","AddAnotherPass","ChangeProductType","ChangeQuantity","currentQuantity","changeBy","ValidateDollarInputKey","PurchasableProducts","SelectedPasses","SelectedPass","enableSubmit","InCartPassQuantity","inCartPassQuantity","AddFundsEnabled","SelectedAmountTooLow","SelectedAmountTooHigh","SelectedAmountIsInvalid","bindQuantitySelects","passNameOverride","BulkQuantity","productName","isExistingItem","ii","errors","BulkActions","BulkActionRedirect","fareMedia","isConfirmed","ParticipantGroupId","isTopUp","EPurseExternalIdentifier","availableProduct","fareMediaTypeSelected","$groupListTable","deleteGroupSuccess","ClearCache","participantCount","deleteAllGroups","deleteThisGroup","groupsTableController","getGroups","model","uncheckAllGroups","participantGroupIds","groupIds","ParticipantGroupIds","noDataContent","colWidth","NumberOfParticipants","checkbox","groupId","Filter","FilteredTransactions","InstitutionName","Tooltips","ExportOption","ExportOptions","Language","Results","CartNotEmpty","PleaseEmptyCart","OrderNotAdded","ItemsAdded","InvoicePaymentsEnabled","InvoiceProduct","InvoiceDueDate","PayNow","invoiceHistorySelector","invoiceHistoryLabels","invoiceHistory","invoiceId","orderNumber","totalAmount","amountPaid","amountDue","applyFilter","refreshTable","applyExportOption","downloadCsv","getCsv","downloadPdf","downloadPdfBasedOnFilter","exportOrders","exportType","createPdf","invoiceHistoryTableController","getInvoiceHistoryList","filteredDataSet","filterOrderHistory","getYearOptions","yearOptions","transactionYear","rid","random","getColWidth","setupInvoiceHistoryTable","loadMessage","rowattr","role","receiptRef","InvoiceNumber","alignPdfColForOrderHistory","filteredTransactionIds","createOrderHistoryPdf","setFont","AmountPaid","AmountDue","InvoiceID","TotalAmount","getFilteredTransactions","institution","detailsPageCount","_detailsInstances","detailsFormModel","$orderHistoryTable","SalesChannels","CurrentTransaction","OrderDetailsExportOption","setLoadingState","VanpoolId","Comment","MaxSaleItems","OrderNotCopied","OrderNotExported","MonthNames","ViewOrder","ExcludeSaleItems","paymentMethodCode","creditCardNetwork","CreditCardNetwork","RetrieveTransactionDetail","CloseOrder","ReturnFocusTo","SearchText","SearchClass","refreshDetailsTable","getOrderDetailsForCsv","getOrderDetailsForPdf","closeOrderDetails","setupOrderDetails","SearchCardNumber","showSearchReset","ResetSearch","searchOption","orderHistorySelector","orderHistoryLabels","orderHistory","datePaid","poNumber","invoiceNumber","terms","reference","saleType","viewDetails","preTax","LoadSalesChannels","detailsColumnModel","getDetailsColWidth","orderHistoryTableController","getSalesHistoryList","invoiceData","orderDetailsTableController","OrderDetailsCount","CardNumbers","container","DisplayTotal","TermsCode","invoice","InternalOrderNumber","setPaginationTitlesForOrderDetails","setupOrderHistoryTable","clicked","divId","span","orderInfo","getHistoryTableSaleDetails","itemx","closestRow","orderInfoClass","showPretax","orderInfoRow","PaidDate","orderDetailsLink","after","excludeSaleItems","PointOfSale","vanpoolId","notes","thisPageTransactions","transactionx","orderDetailsRes","handleOrderDetailsResponseForPdf","createPdfSectionForOrder","labelTotal","addPage","starty","startY","method","splitText","splitTextToSize","getOrderForCsv","Reference","orderDetailRes","handleOrderDetailsResponseForCsv","cardNum","discount","shoppingCarts","BillingAddress","IsProcessing","IsError","IsSuccess","ShowShippingAddress","CurrentUserEmail","Participants","HasSufficientFunds","PaymentAddedCollectJsResponse","InvalidCardReplacement","CardReplacementOrders","PromoCode","PromoCodeNumber","PromoCodeError","PromoCodeErrorNoApplicableProducts","DiscountType","maxQuantity","dispatchCartValidation","checkout","getCurrentUserEmail","Model","ShowCartCannotBeUpdatedAlert","SelectedIndex","CartValid","isCartValid","InvoiceLimitHit","pm","InstitutionInvoiceData","CheckCreditLimit","OutstandingBalance","CreditLimit","SortedItems","shoppingCartModuleElement","removeModal","UpdateQuantityVisibility","itemRow","EnableUpdateQuantity","DisableUpdateQuantity","GenerateQuantityOptions","newQuantity","ExistingCard","CalculateItemTotal","cost","IsVanpoolProduct","FareProduct","GetAgency","GetParticipantName","GetDescription","IsMonthlyPass","IsMultiridePass","IsDailyPass","CanAdjustQuantity","NewTemporaryPaymentMethodAdded","ValidatePromoCode","created","itemId","removeCartItem","TypeId","itemsCompleted","requiresShippingAddress","CardQuantity","ParticipantId","ParticipantIds","ParticipantName","itemCount","itemCompleted","toggleBillingAddressVisibility","togglePaymentMethodVisibility","toggleOrderDescriptionVisibilty","participant","calculateItemPrices","calculateCartTotals","calculateShippingProducts","checkCartForFareMedia","getParticipantNames","participants","itemPrice","TotalPrice","bulktotal","promoCodeDiscount","calculatePromoCodeDiscount","BulkTotal","TicketId","TicketGroupId","CalculateSpecificProductPromoDiscount","shippingTotal","ShippingTotal","OnHold","reqData","PaymentAmount","ShippingAddressId","NewShippingAddress","Addressee","toggleShippingAddressVisibility","orderDescription","AdditionalFundingSourceId","AdditionalPaymentAmount","SalesPersonEmail","AdditionalFundingSources","userSubmittedCheckoutWithNewFundingSource","CreateFundingSource","TrackingGuid","handleCheckoutSuccess","handleCheckoutFailure","SalesTransactionId","saleId","$i_shopping_cart","createJobModalOM","modalRoot","modalDialog","modalContent","modalHeader","headerButton","headerButtonSpan","headerButtonSpanText","headerDiv","headerDivText","createTextNode","headerInput","modalBody","resetFormModel","$loader","tableController","sortField","sortOrder","refreshClicked","detailsRequest","jobId","displayModal","JobId","DisplayModal","commaArray","csvArray","linebreak","substr","downloadInputFile","downloadOutputFile","norecords","toLocalTime","localizedDate","newDate","DateString","TimeString","toLocaleString","hour12","jobInfo","localizedCreateTime","localizedStartTime","localizedValue","currentJobsContainer","putJobById","JobState","uriParams","monitor","jobDetailsModal","setupModal","pastJobsContainer","dateString","timer","updateRefreshTimer","remainingTime","updateCallback","updateDetails","jobState","clearInterval","keyup","resetVisibility","isViewUser","$loginsListTable","loginsTableController","getLoginsList","setupLoginTable","sortedHeader","rowAttr","outerIndex","cardsSelector","cardIds","$cardsListTable","firstLoad","exportLimit","allowCardLookup","addParticipant","noCardsFound","SearchFilter","Category","exportColumnNames","ParticipantFirstName","ParticipantLastName","Status","postModel","ParticipantLastNamePattern","HasParticipant","PrintedCardNumberPattern","TransitAccountState","IsBlocked","FareMediaTypeExternalIdentifier","GroupId","bulkProcessingText","manageCards","logo","enableEdit","bulkExportOption","exportOption","searchType","searchText","selectSearch","filteredSearchResults","searchClass","onDownloadCSV","resetSearchData","exportLimitExceeded","resetPostModel","dropdownVisibility","eleToShow","resetValue","setActiveDropdown","populateDropDowns","nogroups","AccountStates","cardsTableController","getcardsList","processCardIds","setupcardsTable","StateId","resetTable","doShow","performSearch","fieldToSearch","addcardClicked","FareType","emptyTableTitle","searchFilters","getPDFFormModel","bulkExport","FareProductsMultiple","Prefix","SaleInCart","BulkSaleInCart","productsMultipleAddingToCart","addProductsContainer","isPassInCart","populateVueInstances","numberCards","refreshShoppingCart","addCsvToCart","NumProducts","PurchaseableFareProductsMultiple","hasMultipleFareCategories","getProductData","isWaterfall","totalAvailableProducts","totalCardProductsFetched","batchCardProductsFetched","setData","handleProductsResponseForCard","cardProducts","tapIndex","found","cpIndex","cardProduct","handleLoopProcessing","start","end","getProductsForCards","startIndex","endIndex","getProductsForCard","setIsCartBulkSale","setCardList","FareProductsSingle","Card","AutoLoads","FareProducts","FareProductsLoaded","instanceId","AutoLoadValues","AutoLoadThresholds","AutoloadUpdate","InstitutionAccountId","IsAddingToCart","updateCheckoutButton","PurchaseableFareProductsSingle","cardData","TransitAccount","getProductsForTarget","autoloads","institutionAccount","IsSavingAutoload","AutoloadType","Minimum","Values","AutoloadDefaultThreshold","Threshold","AutoLoadThresholdValue","CustomThreshold","AutoloadDayOfMonth","AutoloadPeriod","DeleteAutoloadError","InstitutionAccount","IsThresholdAmountNegative","IsAutoLoadAmountInvalid","maxDate","currentInstitutionAccountId","AutoloadAmountValue","HasFundingSource","HasSecondFundingSource","PassAutoloadError","SubmitButtonsActive","SubmitButtonsActiveForPassAutoload","MaxPurseAmountInDollars","DollarsToCents","HasMoreThanTwoDecimalPlaces","RefreshAutoloadData","RemoveAutoload","ProceedWithAutoload","ChangeAutoloadType","ShowEditAutoload","autoloadId","isBackup","currentFundingSourceId","fundingSourceId","Cards","AutoLoadSelected","CardInfo","TransitAccountAutoloads","PurseProductExternalIdentifier","GetAutoloadForProductById","getAutoloadsForTransitAccount","populateData","cardInfo","ProductPasses","ProductPurse","ProductAndPassIds","fareProductsPromise","LoadFareProducts","OneTimePaymentValues","newAutoLoads","refreshedTransitAccountAutoloads","newAutoLoad","i2","GetAutoLoadForProducts","autoLoadForProducts","HasPasses","GetPasses","allPasses","TopUpProducts","topUpProducts","IsLoadComplete","PreTax","CardBalance","GetAutoloadsForTransitAccount","GetAutoloadsForProduct","FindProductAutoloads","AutoloadsForTransitAccount","LoadShoppingCart","PreTaxPurse","cardBalance","RemainingValue","hours","HasInvoicedPurse","LoadTransitAccountProducts","ShowDeleteSuccess","tab","hasValidPassportContract","contract","bindInstanceViews","displayEditView","currentCardsRequest","cardsInfo","multipleActive","hasReplacedCard","removeCardsProcessing","lockCardsProcessing","unlockCardsProcessing","removeParticipantsProcessing","hideMultipleForm","hasBlockedCard","blockEnabled","canBlock","unblockEnabled","canUnblock","hasCardWithParticipant","InstitutionParticipantId","unlinkMultipleCards","blockMultipleCards","unblockMultipleCards","getUnblockCardsFormData","unlinkParticipants","Participant","idList","buildIdList","ids","abort","dispatchList","cardIdList","HasPurse","IsValid","getCardData","blockModal","singleActive","isCardOwner","successCardRemoved","errorCardNotRemoved","successParticipantRemoved","errorParticipantNotRemoved","successCardUnlocked","errorCardNotUnlocked","blockCard","hasParticipant","IsPrimaryAccount","AssociationType","unlinkCard","unblockCard","unlinkParticipant","openServiceRequestForm","businessCloseCard","CurrentUser","replaceCard","reloadCard","makeNotActive","addValueSection","OneTimePayment","ErrorAmount","CustomError","CustomErrorMessage","saving","showBulkModal","dataPromise","getCardNumbers","Submittable","limits","LowestLoadingLimit","lowestLoadingLimit","lowestLimit","AllowedValues","MaximumReached","AllCardsHaveStoredValue","AddSuccess","SelectedOneTimePaymentVal","CustomOneTimePaymentVal","UpdateReloadAmountInCart","ExistingLoadInCart","isTopUpProductInCart","HideRead","ShowDeleted","messageEvents","messageSettings","notificationSettings","SettingsDict","NotificationsDict","CsrfToken","MissingPhoneNumber","hasPhoneNumber","IsNotificationActive","messageType","IsEventActive","eventId","ToggleNotificationSettings","toggle","MessageType","Enabled","UpdateNotificationsDictionary","ToggleMessageSettings","MessageEventId","UpdateSettingsDictionary","enabled","SetNotificationsDictionary","notificationSettingsDict","SetSettingsDictionary","events","settingsDict","deleteModalSelector","$notificationsListTable","totalNew","noNotificationsMessage","deleteOption","notificationsTableController","setupNotificationsTable","IsRead","EventId","Subject","Message","uncheckAllNotifications","notificationId","isDeleted","notificationSubject","notificationContent","openItem","handleContentDisplay","itemCell","deleteElement","Events","handleMarkAsRead","notificationIds","_cardOptionsVueInstances","_cardSelectionVueInstances","cardOptions","bulkSaleInCart","MaxQuantity","showAddToCartSuccess","containerClass","CardQuantityOptions","CanAddToCart","UpdateHasMoneyOrPass","AddSelectionToOrder","quantityUpdate","AddingItemToCart","ResetCardSelection","cardElement","ManuallySetQuantityInModuleForCard","ProductsPrice","quantitySelectId","hasSelectedProducts","AddSelection","Selected","clonedCard","AddItemToCart","ResetSelections","ResetQuantitySelector","cardToAddToCart","productIdPieces","productToAddToCart","addedCard","AddCardSelection","resetCallback","insertionIndex","selectedCards","totalCost","getTotalPriceForSelectedCards","shippingCost","getShippingPriceForSelectedCards","productChange","cardindex","existingProductIndx","UpdateReloadAmount","HasMoneyOrPass","HasMoney","HasValidAmount","currentAmount","getMoneyFromAmountOrCustomAmount","hasAmount","priceOfAddedPasses","hasProductsBasedOnCurrentOperator","SelectedOperatorId","CardCanBeAddedToCart","hasValidQuantity","hasValidMoney","hasValidPasses","IsProductRequired","HasValidPasses","ProductValidity","RemoveMoney","UncheckProductCheckbox","$checkbox","RemoveProduct","RemoveSelectedCard","selectedCardIndex","removedQuantity","opId","getCardOptions","orderCardsLoaders","orderCardsContent","cardsCount","cardProductsFetched","CardImage","getCardImage","IsFee","PriceInDollars","IsLimitedUseCard","setupCardOptions","identifier","cardCost","cardAmount","shippingProductId","res2","shippingData","currentLength","viewModel","Phone","CellPhoneNumber","FaxNumber","Group","HasPhoto","getParticipantDetails","dobString","groupRes","participantName","participantsSelector","$participantsListTable","FirstNamePattern","LastNamePattern","PhoneNumberPattern","participantFilterCookieName","participantsFilter","searchVal","recordsPerPage","noParticipantsFound","manageParticipants","groupSearch","resetSearch","participantsTableController","getParticipantFilterFromCookie","getParticipantsList","executeSearch","savedRecordsPerPage","setParticipantRecordCountFromCookieSettings","resetFormModelAndTable","editParticipant","performReloadTable","needToSetCookie","setParticipantSearchFilterCookieSettings","setParticipantSearchFilterFromPageValues","pfltrCookie","cname","ca","cookie","getCookie","cvalue","participantIds","pathname","hasCard","SelectedFundingSourceId","SelectedAdditionalFundingSourceId","PaymentMethodType","HasInvoiceOption","ShoppingCartTotal","IsCartValid","HasAddress","AddressRequired","NewPaymentMethodLabel","AccountNumberLabel","directive","inserted","hasSufficientFunds","paymentMethodSelectors","getAvailableFundingSources","HasTemporaryPaymentMethod","TemporaryBillingInfo","TemporaryPaymentInfo","TemporaryPaymentMethodDetailsHTML","AllowAdditionalPayment","InvoiceAllowed","invoiceAllowed","iData","InvoiceLengthValid","CanBeginCheckout","HasNewPaymentSelected","NoCostOrder","UpdateSelectedPaymentMethod","setType","setSelectedPaymentMethod","newPaymentMethodText","CardNumberMasked","AccountNumber","AccountName","ZipCode","FundingSourceType","getInstitutionInvoiceData","paymentMethodData","InvoicingOnHold","paymentSettingsLoaded","addPaymentPending","paymentSettingsInfo","canAddPaymentMethodLoaded","canAddPaymentMethod","maxSavedFundingSourcesReached","editPaymentMethod","updateModel","bindDeleteLinks","deletePaymentSetting","bindPrimaryCheckboxes","sourceId","getPaymentSettingsDetails","IsACH","numPaymentMethods","paymentMethodAddRequestStatusGuid","addParam","pmStatusRes","cancelParam","paymentMethodError","addressSettingsLoaded","addressSettingsInfo","addressDeleting","bindActionLinks","addressId","getAddressSettingsDetails","AvailableAddresses","SelectedAddressId","SelectedAddress","NewAddress","addressSelectors","getAvailableAddresses","defaultState","UpdateSelectedAddress","setExisting","setSelectedAddress","openAddressModal","ActualNewAddress","setUpAvailableAddresses","addressLine","DisplayText","setAddress","editNewShippingAddress","$subAccountListTable","tooltips","isSuperUser","selectedSubAccounts","subAccountsTableController","getSubAccountList","setupSubAccountsTable","columnRequest","numOfColumns","getFields","subAccountId","SubInstitutionAccountId","count","AccountIdentifier","$institutionsListTable","institutionsTableController","getInstitutionsList","impersonateInstitution","userLoaded","getUserDetails","InvoiceAddressId","dobRaw","ContactInformation","securityQuestions","secQuestionLabels","q","LoadingFailure","billingAddresses","getAddress","accountAddressId","_views","userName","firstName","lastName","email","phoneNumber","currentUserId","handleActivation","AccountLoginId","initializeActivation","loadLoginInfo","getInfo","getLoginInfo","login","showActivate","showBlock","isCurrentlyLoggedIn","activate","showBlockError","isRead","notification","IsDeleted","UpdateNotification","isread","isdeleted","notificationsPage","_notificationsInstances","Notifications","NotificationsTotal","NotificationDeleted","Shown","navigateTo","page","dataSource","notificationsTotal","customerId","hasDeviceToken","cardResultsContainerId","cardErrorContainerId","quantityOptions","AddNewCard","CurrentCard","CurrentPage","onSuccess","parentElementSuccess","parentElementError","childElement","fadeTo","handleAlerts","preventOrderCards","paginate","shown","itemsPerPage","pages","getPrevClass","getNextClass","goToPage","paginator","goToPreviousPage","goToNextPage","customAmountBlurAction","WsfMonthlyProducts","WsfMultiProducts","MultiRideOptions","RegionalDailyProduct","RegionalProducts","UpdateCardProductsPrice","cardProductsPrice","LoadingLimitExceeded","AddToProfile","TicketGroupID","ItemId","SetupCardOptions","SetupCardsForShoppingCart","AddCardsToCart","cardsToAddToShoppingCart","addItemsToCart","addedCards","hostname","GetTotalPriceForSelectedCards","FindExistingCard","cardIndex","GetCardOptions","ticketgroupid","_historyInstances","_detailInstances","SaleDetailsLoading","CardOrderDetailsLoading","CardTransactions","saletype","Guest","ReceiptRefs","Customer","getSale","OrderHistory","DownloadReceipt","OrderedBy","GetFrontEndLabelForPaymentMethod","paymentMethodLabel","SelectedOrder","OwnerNameDict","Source","r","GetSalesChannelName","getOrderHistory","numPagesToGoPrevious","numPagesToGoNext","TransactionAmount","sortOrderHistory","GetOrderedBy","RetrieveTransactionDetailTable","LoadCustomer","alignPdfColOrderHistory","getCardTransactions","getSalesByTransitAccount","saleloaderCallbackFactory","saleLoader","setOrderHistory","setOrderSource","filteredTransactions","sortOrderHistoryByDate","aAmount","sortOrderHistoryByAmount","sortOrderHistoryBySaleType","sortOrderHistoryByState","alignPdfColSalesReceipt","_Modules","_AddModule","logicController","service","_GetModule","searchedModule","$jsQuantitySelect","$element","$btnSubtract","$btnAdd","$textfield","elementId","initial","LogicController","MaxValue","MinValue","UpdateButtons","BindTextfield","BindSubtractButton","BindAddButton","onChanged","lastValue","rawValue","MIN_SAFE_INTEGER","getTextfieldNumericValue","CurrentValueIsInBounds","TriggerValueChangedEvent","ResetCurrentValue","CurrentValueIsMin","SetCurrentValue","CurrentValueIsMax","customEvent","Event","bubbles","ElementId","quantitySelectModule","activeTab","btn","relatedTarget","ShowDeletingMessage","ShowDeletedSuccessMessage","ShowDeletedFailureMessage","deleteBtn","totalCount","PaymentMethodCount","resultsContainer","billingAddress","shippingAddressArray","billingAddressArray","countryDict","populateUserAddress","GetCountryFullName","getCountryFullName","CustomerPhoneNumber","isNotEmpty","getUserAddress","countries","localizedName","setCountryDictionary","parseResults","configurableNotifications","EventName","MappedName","shipping","Option","getAddRequestShowSuccess","URLSearchParams","getAddRequestShowError","addRequestShowSuccess","addRequestShowError","replaceState","creditcards","cc","SetTopMessagesIfApplicable","GatewaySuccess","GatewayPending","GatewayError","GatewayMessage","ShowAddedSuccessMessage","ShowAddedErrorMessage","sortedPaymentMethods","sorted","timesRun","_vuedata","Loaded","CartLoaded","IsUpdated","IsRedirectingToGateway","ItemRemoved","QuantityUpdate","ShippingAddresses","BillingAddresses","ShowFailureMessage","ShoppingCartPending","ShoppingCartError","AvailablePaymentMethods","SelectedPaymentMethod","EligiblePaymentMethods","CancelPurchase","PendingReload","PendingPassPurchase","CartHasCardOrder","CardOrderTotal","NewPaymentMethodLength","GuestShippingAddress","StateText","GuestContact","GuestUseAsBilling","LoadingShippingAddress","FoundCachedCollectJsResponseOnMount","UsingACH","getCustomerAddresses","loadPaymentMethods","paymentMethods","processResults","newProducts","parseProducts","newFareMedia","parseFareMedia","shippingAddressId","shippingAddresses","parseCustomerAddresses","PushPayment","parsePaymentMethods","setOperatorDictionary","loadCart","loadGuestDetails","reloadCart","parseSubmitCartResponse","failureRedirect","stopProcessing","isProduct","HasGuestPaymentMethod","GuestPaymentMethodDetailsHTML","GuestPaymentInfo","GuestBillingInfo","MaxCheckoutAmount","HasSavedPaymentSelected","primaryPaymentMethod","primaryPaymentMethodSelectedIsSavedSource","secondaryPaymentMethodSelectedIsSavedSource","secondaryPaymentMethod","newPaymentSelected","UsingNewPaymentMethod","HasPaymentOptionsAlreadyAvailable","AvailableCustomerPaymentMethods","NeedsShippingDetails","SelectedShippingAddress","GetSelectedShippingAddress","IncompleteShippingAddress","MissingShippingAddress","IncompleteContactDetails","MissingContactDetails","PaymentMethodChange","paymentMethodSelected","CentsToDollarWithoutDollarSign","GetShippingAddressButtonTarget","NewGuestPaymentMethodAdded","DeleteGuestAddressDetails","DeleteContactDetails","GetGuestContactDetails","ReloadCart","CartIncludesReload","cartIncludesReload","allProductsInCart","cartItem","itemProducts","myProduct","productInSharedList","ClearInput","CancelCheckout","BeginCheckout","cartTotal","needsAddress","singlePaymentMethod","guestShipping","DateCreated","saveGuestCart","PaymentMethods","ContactData","checkoutResponse","fundingSourceIndex","populateDetails","needsReload","modes","LinkCard","mode","availableTransitAccounts","availableTransitAccountNumbers","filteredCardNumbers","inputCardNumber","selectCardNumber","dropdownCardNumber","isSearching","inEditMode","hideCardNumberOptions","setAriaActiveDescendent","descendent","searchCards","queryResults","getFilteredCardNumbers","focusedItem","firstItem","nextItem","lastItem","prevItem","resetAll","showErrors","messages","updateAvailableTransitAccounts","Gender","ParticipantIdentifier","addCardFormContainers","transferTransitAccount","SecurityCode","cancel","searchTransitAccount","IsInInstitution","setTarget","institutionName","selectedInstitution","filteredInstitutionList","showConfirmation","searchInstitutions","getFilteredInstitutions","addSubAccountFormContainers","SetInstitution","SelectSubAccount","LinkSubAccount","Mode","ParticipantSearchType","ParticipantSearchValue","ParticipantSearchResults","SelectedParticipantId","resetVueData","keepTransitAccount","addNewParticipantFormSelector","addParticipantToCard","resetError","searchForParticipant","searchValue","selectParticipant","selectChosenParticipant","backToResults","setSearchMode","setAddNewMode","$addNewParticipantForm","__CloseModal","GoToFirstScreen","redirect","redirectQuery","failureRedirectQuery","proceed","UsingResponseToAddPaymentMethodToAccount","_InstitutionData","Account","__FirstName","__LastName","__InitInstitutionData","__InitAccount","institutionDataObject","getCurrentAccount","__InitBillingAddressAndName","getCurrentAccountBillingAddress","FUNDING_SOURCE_TYPE","SCREEN_VALUE","UiControls","CurrentScreenValue","HasCollectJsValidationError","IsCreditCardType","PaymentMethodNickname","IsDefaultPaymentMethod","IsTemporaryPaymentMethod","ShoppingCartGuid","ShippingAddressObject","BillingAddressSameAsShipping","BillingInformationFields","CollectJsFields","CardBin","CardHash","CardExp","TokenType","ValidationPassed","ValidationErrorMessage","ValidationResponse","ErrorMessages","CollectJsValidationRequestFailed","CollectJsValidationFailed","IsOnShoppingCart","newFundingSourceType","IsShoppingCartPage","IsShowingConfigurationScreen","IsShowingBillingInformationScreen","IsShowingCollectJsScreen","HasCompleteBillingInformation","requiredFields","fieldValue","__Setup","__SetupPaymentMethodTypeDropdown","__RegisterEvents","__TurnOffLoader","__AutoFillBillingAddress","GoToCollectJsScreen","__TurnOnLoader","ccLabel","achLabel","__MakeModalNarrower","__MakeModalWider","__SaveBillingAndPaymentInfo","__ConfigureCollectJs","__ProcessCollectJsResponse","IsTemporary","Address1","Address2","StateTextInput","ExpirationDate","BankingToken","__OnCollectJsValidationResponseReceived","checkname","checkaccount","checkaba","bin","exp","check","account","tokenType","getErrorMessage","__ExitWorkflow","GoToBillingInformationScreen","GoToConfigurationScreen","NavigateBackFromBillingInformationScreen","fundingSourceType","savedUsername","SaveUsername","expires","showForm","showSuccess","deleteFiltered","warning","successMessage","deleteParticipantIds","participantIdentifiers","frms","elementVal","SQH","successMsg","hintBody","availableGroups","selectTransitAccountId","selectedGroup","existingTransitAccount","clearAddParticipantForm","base64File","submitForProcessing","formData","dispatchPhotoUpdatedEvent","CroppingEnabled","IsNewParticipant","UploadedImageSrc","AdjustedImage","ValidFileType","CanReset","createImage","imageSrc","imageWidth","imageHeight","canvas","getContext","drawImage","toDataURL","image","chooseFile","onUpload","previewPhoto","reader","FileReader","originalImage","adjustedImage","cropWidth","cropHeight","alteredImage","readAsDataURL","resetPhoto","enableCropping","resizeableImage","onDoneCropping","$container","target_src","orig_src","image_target","event_state","resize_canvas","init","before","crop","startResize","startMoving","saveEventState","resizing","endResize","container_width","container_height","container_left","container_top","mouse_x","clientX","pageX","touches","scrollLeft","mouse_y","clientY","pageY","ob","evnt","mouse","resizeImage","moving","endMoving","containerOffsetLeft","containerOffsetTop","dist1","sqrt","ratio","crop_canvas","tempImage","validationOnly","clearAddressForm","CardNumberSearch","ReloadOnClose","searchForCard","addAnotherCard","numAttempts","availableQuestionsLength","isSetPassword","Refresh","sp","setPasswordNextPage","ChallengeToken","lockCardsMessage","BlockingComment","lockcardsmessage","submit","formContainer","currentId","IsAdministrator","$e","numberContainer","group","successMessageSingle","successMessageMulti","messageNoNotifications","messageVerifySingle","messageVerifyMulti","formStep1","formStep2","maxAllowedPurseValue","replacementMethod","transferToMethod","replaceCardId","existingReplacementCard","institutionAccountId","photoOnFile","cardloading","locking","ordering","cardReplacementFee","loadError","cardIsSoftBlocked","orderReplacementError","replacementCard","requiresPhoto","showCardReplacedSuccess","pendingReplacements","lockCardRequired","lockCardError","lockCardSuccess","originalCardNumber","targetCardNumber","IsNotLocked","ExistingReplacementCards","existingReplacementCards","replacementcard","CanReplaceAndTransfer","ReplaceCard","SalePrecondition","HasImage","SetupOrder","TicketType","AssociationDescription","ReplacementMediaTypeId","Cardholder","ResetTransferForm","FileName","InstitutionAccountIds","userProfile","resultsContainerSuccess","formVisible","removeCardsMessage","removecardsmessage","removeParticipantsMessage","getCsvField","removeparticipantsmessage","info","accountInfo","LastNamee","InstitutionType","populateForm","textContent","initializePasswordForm","verified","initializePinForm","resultsContainerSelector","submitButton","$cardNumberInput","$securityCodeInput","valueExists","bindRequiredInputKeydown","cardNumberValue","securityCodeValue","instanceSelector","_CustomerData","__InitCustomerData","Addresses","__ShippingAddress","__GetAddressById","__BillingAddress","customerDataObject","__InitAddressesAndNames","getCurrentAccountAddresses","targettedAddresses","IsGuestView","CustomerOnlyFields","ccNumberPassedValidation","ccExpPassedValidation","cvvPassedValidation","HasUniqueNickname","$paymentMethodItems","otherPaymentMethodNames","$item","thisNicknameMatchesAnother","nicknameIsUnique","BehaveLikeGuest","IsReadOnlyBillingAddressForm","IsShowingCustomerOnlyConfigurationScreen","CanSubmitCollectJsForm","HasShippingAddress","hasObject","hasRequiredFields","HasSavedBillingInformation","HasSavedPaymentInformation","CreditCardFieldsPassedValidation","DefaultBillingAddressState","DefaultBillingAddressCountry","__SetShippingAddressObject","__OnSetupComplete","__ResetRecaptcha","__OnBillingInformationSubmitted","$iframes","hasInvalidField","__SendCollectJsResponseToBackendForValidation","validationResponse","getPostAddCollectJsPaymentFormModelFromInstance","__ResetShippingAddressObject","__ResetBillingAddressFields","guestAddress","GoToCustomerOnlyConfigurationScreen","NavigateBackFromCustomerOnlyConfigurationScreen","BillingAddressSameAsShippingChanged","dform","resultsBtn","DisplayAsDollars","cardsList","transferAmount","targetId","sourceCard","availableBalance","pretaxBalance","transferring","targetLoadingLimit","noReload","transferBalanceMinimum","errorUnexpectedText","AvailableBalanceAsDollars","TransferBalanceMinimumAsDollars","TargetBalanceExceeded","TargetCards","targetCards","CanTransferBalance","InvalidTransferAmount","parsedAmount","SourceChanged","TargetChanged","TransferProducts","SourceTransitAccountId","TargetTransitAccountId","store","AccountOptionSelected","getValueFromStore","obj","back","$label","isShoppingCartPage","addressAddedSuccess","configureSameAsAddress","sourceElement","thing","addressType","address1","address2","postalCode","defaultOption","formContainerSelector","vueSelector","formResultsContainer","cardListedError","canSubmit","resetCard","hasValue","$inputCardNumber","$inputSecurityCode","hasCardNumber","hasSecurityCode","secureCookies","questionComponent","answerId","emailField","emailChangedField","confirmEmailField","confirmEmailParent","copybutton","deleteAddressBtn","modalTitle","setCurrentAddress","setOtherAddress","ShowSuccessMessage","$submitBtn","$failureErrorContainer","$nicknameErrorContainer","isSoftBlocked","BusinessEmail","BusinessPhoneNo","removeSubAccountsFormContainers","ConfirmDelete","SubAccountIds","CookiesHelper","cookieName","setCookie","ModalHelper","showModal","given_options","correctFixedDom","buttons","defaultCloseButton","modalSize","callbackRendered","handleLoadingImgLoaded","destroyOnClose","loadingInit","modalHtml","modalEl","Modal","imagesLoaded","hideModal","myModal","GoogleMapsHelper","createMarker","imgMarker","fillStyle","context","clearRect","textAlign","fillText","calculateDistance","lat1","lon1","lat2","lon2","unit","radlat1","PI","radlat2","theta","radtheta","dist","sin","cos","acos","bindMapsAPILoaded","google_map_loaded","google_map_loaded_timer","SignalEvents","SIG_GoogleMapsLoaded","fireOnMapsAPILoaded","a11yMenu","a11yMenuCloseBtn","a11yMenuActive","a11yMenuTabItems","focusedElement","host","stop","one","hashTarget","$target","scrollPos","scrollToElement","aTargetMargin","scrollOffset","UpdateResponsiveAll","captchas","UpdateResponsive","captcha","wrapper","captchaWidth","outerWidth","wrapperWidth","scale","$gTextareaRecaptchaResponse","LoadJs","relativeUrl","cacheBreakingQS","siteMinCSSElement","siteMinCSSUrl","script","head","replaceAll","replacement","Extensions","function1","vars","hashes","getUrlVar"],"mappings":"AACKA,MAAMC,UAAUC,MACjBC,OAAOC,eAAeJ,MAAMC,UAAW,OAAQ,CAC3CI,MAAO,SAAUC,GAEb,GAAa,OAATC,KACA,MAAM,IAAIC,UAAU,iCAGxB,IAAIC,EAAIN,OAAOI,MAGXG,EAAMD,EAAEE,SAAW,EAGvB,GAAyB,mBAAdL,EACP,MAAM,IAAIE,UAAU,gCAUxB,IANA,IAAII,EAAUC,UAAU,GAGpBC,EAAI,EAGDA,EAAIJ,GAAK,CAKZ,IAAIK,EAASN,EAAEK,GACf,GAAIR,EAAUU,KAAKJ,EAASG,EAAQD,EAAGL,GACnC,OAAOM,EAGXD,GACJ,CAIJ,EACAG,cAAc,EACdC,UAAU;AC1CblB,MAAMC,UAAUkB,WACjBhB,OAAOC,eAAeJ,MAAMC,UAAW,YAAa,CAChDI,MAAO,SAAUC,GAEb,GAAa,OAATC,KACA,MAAM,IAAIC,UAAU,iCAGxB,IAAIC,EAAIN,OAAOI,MAGXG,EAAMD,EAAEE,SAAW,EAGvB,GAAyB,mBAAdL,EACP,MAAM,IAAIE,UAAU,gCAUxB,IANA,IAAII,EAAUC,UAAU,GAGpBC,EAAI,EAGDA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build.min.js","sourcesContent":["// https://tc39.github.io/ecma262/#sec-array.prototype.find\r\nif (!Array.prototype.find) {\r\n Object.defineProperty(Array.prototype, 'find', {\r\n value: function (predicate) {\r\n // 1. Let O be ? ToObject(this value).\r\n if (this === null) {\r\n throw new TypeError('\"this\" is null or not defined');\r\n }\r\n\r\n var o = Object(this);\r\n\r\n // 2. Let len be ? ToLength(? Get(O, \"length\")).\r\n var len = o.length >>> 0;\r\n\r\n // 3. If IsCallable(predicate) is false, throw a TypeError exception.\r\n if (typeof predicate !== 'function') {\r\n throw new TypeError('predicate must be a function');\r\n }\r\n\r\n // 4. If thisArg was supplied, let T be thisArg; else let T be undefined.\r\n var thisArg = arguments[1];\r\n\r\n // 5. Let k be 0.\r\n var k = 0;\r\n\r\n // 6. Repeat, while k < len\r\n while (k < len) {\r\n // a. Let Pk be ! ToString(k).\r\n // b. Let kValue be ? Get(O, Pk).\r\n // c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).\r\n // d. If testResult is true, return kValue.\r\n var kValue = o[k];\r\n if (predicate.call(thisArg, kValue, k, o)) {\r\n return kValue;\r\n }\r\n // e. Increase k by 1.\r\n k++;\r\n }\r\n\r\n // 7. Return undefined.\r\n return undefined;\r\n },\r\n configurable: true,\r\n writable: true\r\n });\r\n}","// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\r\nif (!Array.prototype.findIndex) {\r\n Object.defineProperty(Array.prototype, 'findIndex', {\r\n value: function (predicate) {\r\n // 1. Let O be ? ToObject(this value).\r\n if (this === null) {\r\n throw new TypeError('\"this\" is null or not defined');\r\n }\r\n\r\n var o = Object(this);\r\n\r\n // 2. Let len be ? ToLength(? Get(O, \"length\")).\r\n var len = o.length >>> 0;\r\n\r\n // 3. If IsCallable(predicate) is false, throw a TypeError exception.\r\n if (typeof predicate !== 'function') {\r\n throw new TypeError('predicate must be a function');\r\n }\r\n\r\n // 4. If thisArg was supplied, let T be thisArg; else let T be undefined.\r\n var thisArg = arguments[1];\r\n\r\n // 5. Let k be 0.\r\n var k = 0;\r\n\r\n // 6. Repeat, while k < len\r\n while (k < len) {\r\n // a. Let Pk be ! ToString(k).\r\n // b. Let kValue be ? Get(O, Pk).\r\n // c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).\r\n // d. If testResult is true, return k.\r\n var kValue = o[k];\r\n if (predicate.call(thisArg, kValue, k, o)) {\r\n return k;\r\n }\r\n // e. Increase k by 1.\r\n k++;\r\n }\r\n\r\n // 7. Return -1.\r\n return -1;\r\n },\r\n configurable: true,\r\n writable: true\r\n });\r\n}","// Production steps of ECMA-262, Edition 5, 15.4.4.18\r\n// Reference: http://es5.github.io/#x15.4.4.18\r\nif (!Array.prototype.forEach) {\r\n\r\n Array.prototype.forEach = function (callback/*, thisArg*/) {\r\n\r\n var T, k;\r\n\r\n if (this === null) {\r\n throw new TypeError('this is null or not defined');\r\n }\r\n\r\n // 1. Let O be the result of calling toObject() passing the\r\n // |this| value as the argument.\r\n var O = Object(this);\r\n\r\n // 2. Let lenValue be the result of calling the Get() internal\r\n // method of O with the argument \"length\".\r\n // 3. Let len be toUint32(lenValue).\r\n var len = O.length >>> 0;\r\n\r\n // 4. If isCallable(callback) is false, throw a TypeError exception. \r\n // See: http://es5.github.com/#x9.11\r\n if (typeof callback !== 'function') {\r\n throw new TypeError(callback + ' is not a function');\r\n }\r\n\r\n // 5. If thisArg was supplied, let T be thisArg; else let\r\n // T be undefined.\r\n if (arguments.length > 1) {\r\n T = arguments[1];\r\n }\r\n\r\n // 6. Let k be 0.\r\n k = 0;\r\n\r\n // 7. Repeat while k < len.\r\n while (k < len) {\r\n\r\n var kValue;\r\n\r\n // a. Let Pk be ToString(k).\r\n // This is implicit for LHS operands of the in operator.\r\n // b. Let kPresent be the result of calling the HasProperty\r\n // internal method of O with argument Pk.\r\n // This step can be combined with c.\r\n // c. If kPresent is true, then\r\n if (k in O) {\r\n\r\n // i. Let kValue be the result of calling the Get internal\r\n // method of O with argument Pk.\r\n kValue = O[k];\r\n\r\n // ii. Call the Call internal method of callback with T as\r\n // the this value and argument list containing kValue, k, and O.\r\n callback.call(T, kValue, k, O);\r\n }\r\n // d. Increase k by 1.\r\n k++;\r\n }\r\n // 8. return undefined.\r\n };\r\n}\r\n\r\nif (window.NodeList && !NodeList.prototype.forEach) {\r\n NodeList.prototype.forEach = Array.prototype.forEach;\r\n}","//https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger\r\nNumber.isInteger = Number.isInteger || function (value) {\r\n return typeof value === 'number' &&\r\n isFinite(value) &&\r\n Math.floor(value) === value;\r\n};","// For proper functionality of number field on IE 11\r\n// Generated by CoffeeScript 1.6.3\r\n/*\r\nHTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-polyfill\r\n*/\r\n(function () {\r\n (function ($) {\r\n var i, numberPolyfill;\r\n i = document.createElement(\"input\");\r\n i.setAttribute(\"type\", \"number\");\r\n if (i.type === \"text\") {\r\n $.fn.inputNumber = function () {\r\n $(this).filter(function () {\r\n var $this;\r\n $this = $(this);\r\n return $this.is('input[type=\"number\"]') && !($this.parent().is(\"span\") && $this.next().is(\"div.number-spin-btn-container\") && $this.next().children().first().is(\"div.number-spin-btn-up\") && $this.next().children().eq(1).is(\"div.number-spin-btn-down\"));\r\n }).each(function () {\r\n numberPolyfill.polyfills.push(new numberPolyfill(this));\r\n });\r\n return $(this);\r\n };\r\n numberPolyfill = function (elem) {\r\n var $fieldContainer, MutationObserver, attrObserver, halfHeight,\r\n _this = this;\r\n this.elem = $(elem);\r\n if (!(this.elem.is(\":root *\") && this.elem.height() > 0)) {\r\n throw new Error(\"Element must be in DOM and displayed so that its height can be measured.\");\r\n }\r\n halfHeight = (this.elem.outerHeight() / 2) + 'px';\r\n this.upBtn = $('
', {\r\n \"class\": 'number-spin-btn number-spin-btn-up',\r\n style: \"height: \" + halfHeight\r\n });\r\n this.downBtn = $('
', {\r\n \"class\": 'number-spin-btn number-spin-btn-down',\r\n style: \"height: \" + halfHeight\r\n });\r\n this.btnContainer = $('
', {\r\n \"class\": 'number-spin-btn-container'\r\n });\r\n $fieldContainer = $('', {\r\n style: \"white-space: nowrap\"\r\n });\r\n this.upBtn.appendTo(this.btnContainer);\r\n this.downBtn.appendTo(this.btnContainer);\r\n this.elem.wrap($fieldContainer);\r\n this.btnContainer.insertAfter(this.elem);\r\n this.elem.on({\r\n focus: function (e) {\r\n _this.elem.on({\r\n DOMMouseScroll: numberPolyfill.domMouseScrollHandler,\r\n mousewheel: numberPolyfill.mouseWheelHandler\r\n }, {\r\n p: _this\r\n });\r\n },\r\n blur: function (e) {\r\n _this.elem.off({\r\n DOMMouseScroll: numberPolyfill.domMouseScrollHandler,\r\n mousewheel: numberPolyfill.mouseWheelHandler\r\n });\r\n }\r\n });\r\n this.elem.on({\r\n keypress: numberPolyfill.elemKeypressHandler,\r\n change: numberPolyfill.elemChangeHandler\r\n }, {\r\n p: this\r\n });\r\n this.upBtn.on(\"mousedown\", {\r\n p: this,\r\n func: \"increment\"\r\n }, numberPolyfill.elemBtnMousedownHandler);\r\n this.downBtn.on(\"mousedown\", {\r\n p: this,\r\n func: \"decrement\"\r\n }, numberPolyfill.elemBtnMousedownHandler);\r\n this.elem.css(\"textAlign\", 'right');\r\n this.attrMutationHandler(\"class\");\r\n if ((typeof WebKitMutationObserver !== \"undefined\" && WebKitMutationObserver !== null) || (typeof MutationObserver !== \"undefined\" && MutationObserver !== null)) {\r\n if ((typeof WebKitMutationObserver !== \"undefined\" && WebKitMutationObserver !== null) && (typeof MutationObserver === \"undefined\" || MutationObserver === null)) {\r\n MutationObserver = WebKitMutationObserver;\r\n }\r\n attrObserver = new MutationObserver(function (mutations, observer) {\r\n var mutation, _i, _len;\r\n for (_i = 0, _len = mutations.length; _i < _len; _i++) {\r\n mutation = mutations[_i];\r\n if (mutation.type === \"attributes\") {\r\n _this.attrMutationHandler(mutation.attributeName, mutation.oldValue, _this.elem.attr(mutation.attributeName));\r\n }\r\n }\r\n });\r\n attrObserver.observe(elem, {\r\n attributes: true,\r\n attributeOldValue: true,\r\n attributeFilter: [\"class\", \"style\", \"min\", \"max\", \"step\"]\r\n });\r\n } else if (typeof MutationEvent !== \"undefined\" && MutationEvent !== null) {\r\n this.elem.on(\"DOMAttrModified\", function (evt) {\r\n _this.attrMutationHandler(evt.originalEvent.attrName, evt.originalEvent.prevValue, evt.originalEvent.newValue);\r\n });\r\n }\r\n };\r\n numberPolyfill.polyfills = [];\r\n numberPolyfill.isNumber = function (input) {\r\n if ((input !== null) && typeof input.toString === \"function\") {\r\n return /^-?\\d+(?:\\.\\d+)?$/.test(input.toString());\r\n } else {\r\n return false;\r\n }\r\n };\r\n numberPolyfill.isFloat = function (input) {\r\n if ((input !== null) && typeof input.toString === \"function\") {\r\n return /^-?\\d+\\.\\d+$/.test(input.toString());\r\n } else {\r\n return false;\r\n }\r\n };\r\n numberPolyfill.isInt = function (input) {\r\n if ((input !== null) && typeof input.toString === \"function\") {\r\n return /^-?\\d+$/.test(input.toString());\r\n } else {\r\n return false;\r\n }\r\n };\r\n numberPolyfill.isNegative = function (input) {\r\n if ((input !== null) && typeof input.toString === \"function\") {\r\n return /^-\\d+(?:\\.\\d+)?$/.test(input.toString());\r\n } else {\r\n return false;\r\n }\r\n };\r\n numberPolyfill.raiseNum = function (num) {\r\n var a, numi, nump;\r\n if (typeof num === \"number\" || (typeof num === \"object\" && num instanceof Number)) {\r\n if (num % 1) {\r\n return {\r\n num: num.toString(),\r\n precision: 0\r\n };\r\n } else {\r\n return numberPolyfill.raiseNum(num.toString());\r\n }\r\n } else if (typeof num === \"string\" || (typeof num === \"object\" && num instanceof String)) {\r\n if (numberPolyfill.isFloat(num)) {\r\n num = num.replace(/(\\.\\d)0+$/, \"$1\");\r\n nump = numberPolyfill.getPrecision(num);\r\n numi = num.slice(0, -(nump + 1)) + num.slice(-nump);\r\n numi = numi.replace(/^(-?)0+(\\d+)/, \"$1$2\");\r\n a = {\r\n num: numi,\r\n precision: nump\r\n };\r\n return a;\r\n } else if (numberPolyfill.isInt(num)) {\r\n return {\r\n num: num,\r\n precision: 0\r\n };\r\n }\r\n }\r\n };\r\n numberPolyfill.raiseNumPrecision = function (rNum, newPrecision) {\r\n var _i, _ref;\r\n if (rNum.precision < newPrecision) {\r\n for (i = _i = _ref = rNum.precision; _ref <= newPrecision ? _i < newPrecision : _i > newPrecision; i = _ref <= newPrecision ? ++_i : --_i) {\r\n rNum.num += \"0\";\r\n }\r\n rNum.precision = newPrecision;\r\n }\r\n };\r\n numberPolyfill.lowerNum = function (num) {\r\n if (num.precision > 0) {\r\n while (num.num.length < (num.precision + 1)) {\r\n if (numberPolyfill.isNegative(num.num)) {\r\n num.num = num.num.slice(0, 1) + \"0\" + num.num.slice(1);\r\n } else {\r\n num.num = \"0\" + num.num;\r\n }\r\n }\r\n return (num.num.slice(0, -num.precision) + \".\" + num.num.slice(-num.precision)).replace(/\\.?0+$/, '').replace(/^(-?)(\\.)/, \"$10$2\");\r\n } else {\r\n return num.num;\r\n }\r\n };\r\n numberPolyfill.preciseAdd = function (num1, num2) {\r\n var num1i, num2i, result;\r\n if ((typeof num1 === \"number\" || (typeof num1 === \"object\" && num1 instanceof Number)) && (typeof num2 === \"number\" || (typeof num2 === \"object\" && num2 instanceof Number))) {\r\n if (num1 % 1 === 0 && num2 % 1 === 0) {\r\n return (num1 + num2).toString();\r\n } else {\r\n return numberPolyfill.preciseAdd(num1.toString(), num2.toString());\r\n }\r\n } else if ((typeof num1 === \"string\" || (typeof num1 === \"object\" && num1 instanceof String)) && (typeof num2 === \"string\" || (typeof num2 === \"object\" && num2 instanceof String))) {\r\n if (numberPolyfill.isNumber(num1)) {\r\n if (numberPolyfill.isNumber(num2)) {\r\n if (numberPolyfill.isInt(num1)) {\r\n if (numberPolyfill.isInt(num2)) {\r\n return numberPolyfill.preciseAdd(parseInt(num1, 10), parseInt(num2, 10));\r\n } else if (numberPolyfill.isFloat(num2)) {\r\n num1 += \".0\";\r\n }\r\n } else if (numberPolyfill.isFloat(num1)) {\r\n if (numberPolyfill.isInt(num2)) {\r\n num2 += \".0\";\r\n }\r\n }\r\n num1i = numberPolyfill.raiseNum(num1);\r\n num2i = numberPolyfill.raiseNum(num2);\r\n if (num1i.precision < num2i.precision) {\r\n numberPolyfill.raiseNumPrecision(num1i, num2i.precision);\r\n } else if (num1i.precision > num2i.precision) {\r\n numberPolyfill.raiseNumPrecision(num2i, num1i.precision);\r\n }\r\n result = (parseInt(num1i.num, 10) + parseInt(num2i.num, 10)).toString();\r\n if (num1i.precision > 0) {\r\n if (numberPolyfill.isNegative(result)) {\r\n while (num1i.precision > (result.length - 1)) {\r\n result = \"-0\" + result.slice(1);\r\n }\r\n } else {\r\n while (num1i.precision > result.length) {\r\n result = \"0\" + result;\r\n }\r\n }\r\n result = numberPolyfill.lowerNum({\r\n num: result,\r\n precision: num1i.precision\r\n });\r\n }\r\n result = result.replace(/^(-?)\\./, '$10.');\r\n if (numberPolyfill.isFloat(result)) {\r\n result = result.replace(/0+$/, '');\r\n }\r\n return result;\r\n } else {\r\n throw new SyntaxError(\"Argument \\\"\" + num2 + \"\\\" is not a number.\");\r\n }\r\n } else {\r\n throw new SyntaxError(\"Argument \\\"\" + num1 + \"\\\" is not a number.\");\r\n }\r\n } else {\r\n return numberPolyfill.preciseAdd(num1.toString(), num2.toString());\r\n }\r\n };\r\n numberPolyfill.preciseSubtract = function (num1, num2) {\r\n if (typeof num2 === \"number\" || (typeof num2 === \"object\" && num2 instanceof Number)) {\r\n return numberPolyfill.preciseAdd(num1, -num2);\r\n } else if (typeof num2 === \"string\" || (typeof num2 === \"object\" && num2 instanceof String)) {\r\n if (numberPolyfill.isNegative(num2)) {\r\n return numberPolyfill.preciseAdd(num1, num2.slice(1));\r\n } else {\r\n return numberPolyfill.preciseAdd(num1, \"-\" + num2);\r\n }\r\n }\r\n };\r\n numberPolyfill.getPrecision = function (num) {\r\n var k, kNum;\r\n if (typeof num === \"number\") {\r\n k = 0;\r\n kNum = num;\r\n while (kNum !== Math.floor(kNum)) {\r\n kNum = num * Math.pow(10, ++k);\r\n }\r\n return k;\r\n } else if (typeof num === \"string\") {\r\n if (numberPolyfill.isNumber(num)) {\r\n if (numberPolyfill.isFloat(num)) {\r\n return /^-?\\d+(?:\\.(\\d+))?$/.exec(num)[1].length;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n }\r\n };\r\n numberPolyfill.prototype.getParams = function () {\r\n var max, min, step, val;\r\n step = this.elem.attr('step');\r\n min = this.elem.attr('min');\r\n max = this.elem.attr('max');\r\n val = this.elem.val();\r\n if (!numberPolyfill.isNumber(step)) {\r\n step = null;\r\n }\r\n if (!numberPolyfill.isNumber(min)) {\r\n min = null;\r\n }\r\n if (!numberPolyfill.isNumber(max)) {\r\n max = null;\r\n }\r\n if (!numberPolyfill.isNumber(val)) {\r\n val = min || 0;\r\n }\r\n return {\r\n min: (min !== null) ? min : null,\r\n max: (max !== null) ? max : null,\r\n step: (step !== null) ? step : \"1\",\r\n val: (val !== null) ? val : null\r\n };\r\n };\r\n numberPolyfill.prototype.clipValues = function (value, min, max) {\r\n if ((max !== null) && parseFloat(value) > parseFloat(max)) {\r\n return max;\r\n } else if ((min !== null) && parseFloat(value) < parseFloat(min)) {\r\n return min;\r\n } else {\r\n return value;\r\n }\r\n };\r\n numberPolyfill.prototype.stepNormalize = function (value) {\r\n var cValue, min, params, sn, step;\r\n params = this.getParams();\r\n step = params.step;\r\n min = params.min;\r\n if (step === null) {\r\n return value;\r\n } else {\r\n step = numberPolyfill.raiseNum(step);\r\n cValue = numberPolyfill.raiseNum(value);\r\n if (cValue.precision > step.precision) {\r\n numberPolyfill.raiseNumPrecision(step, cValue.precision);\r\n } else if (cValue.precision < step.precision) {\r\n numberPolyfill.raiseNumPrecision(cValue, step.precision);\r\n }\r\n if (min !== null) {\r\n cValue = numberPolyfill.raiseNum(numberPolyfill.preciseSubtract(value, min));\r\n numberPolyfill.raiseNumPrecision(cValue, step.precision);\r\n }\r\n if (parseFloat(cValue.num) % parseFloat(step.num) === 0) {\r\n return value;\r\n } else {\r\n cValue = numberPolyfill.lowerNum({\r\n num: (Math.round(parseFloat(cValue.num) / (sn = parseFloat(step.num))) * sn).toString(),\r\n precision: cValue.precision\r\n });\r\n if (min !== null) {\r\n cValue = numberPolyfill.preciseAdd(cValue, min);\r\n }\r\n return cValue;\r\n }\r\n }\r\n };\r\n numberPolyfill.domMouseScrollHandler = function (evt) {\r\n var p;\r\n p = evt.data.p;\r\n evt.preventDefault();\r\n if (evt.originalEvent.detail < 0) {\r\n p.increment();\r\n } else {\r\n p.decrement();\r\n }\r\n };\r\n numberPolyfill.mouseWheelHandler = function (evt) {\r\n var p;\r\n p = evt.data.p;\r\n evt.preventDefault();\r\n if (evt.originalEvent.wheelDelta > 0) {\r\n p.increment();\r\n } else {\r\n p.decrement();\r\n }\r\n };\r\n numberPolyfill.elemKeypressHandler = function (evt) {\r\n var p, _ref, _ref1;\r\n p = evt.data.p;\r\n if (evt.keyCode === 38) {\r\n p.increment();\r\n } else if (evt.keyCode === 40) {\r\n p.decrement();\r\n } else if (((_ref = evt.keyCode) !== 8 && _ref !== 9 && _ref !== 35 && _ref !== 36 && _ref !== 37 && _ref !== 39 && _ref !== 46) && ((_ref1 = evt.which) !== 45 && _ref1 !== 46 && _ref1 !== 48 && _ref1 !== 49 && _ref1 !== 50 && _ref1 !== 51 && _ref1 !== 52 && _ref1 !== 53 && _ref1 !== 54 && _ref1 !== 55 && _ref1 !== 56 && _ref1 !== 57)) {\r\n evt.preventDefault();\r\n }\r\n };\r\n numberPolyfill.elemChangeHandler = function (evt) {\r\n var min, newVal, p, params;\r\n p = evt.data.p;\r\n if (p.elem.val() !== \"\") {\r\n if (numberPolyfill.isNumber(p.elem.val())) {\r\n params = p.getParams();\r\n newVal = p.clipValues(params.val, params.min, params.max);\r\n newVal = p.stepNormalize(newVal);\r\n if (newVal.toString() !== p.elem.val()) {\r\n p.elem.val(newVal).change();\r\n }\r\n } else {\r\n min = p.elem.attr('min');\r\n p.elem.val((min !== null) && numberPolyfill.isNumber(min) ? min : \"0\").change();\r\n }\r\n }\r\n };\r\n numberPolyfill.elemBtnMousedownHandler = function (evt) {\r\n var func, p, releaseFunc, timeoutFunc,\r\n _this = this;\r\n p = evt.data.p;\r\n func = evt.data.func;\r\n p[func]();\r\n timeoutFunc = function (incFunc) {\r\n p[func]();\r\n p.timeoutID = window.setTimeout(timeoutFunc, 10);\r\n };\r\n releaseFunc = function (e) {\r\n window.clearTimeout(p.timeoutID);\r\n $(document).off('mouseup', releaseFunc);\r\n $(_this).off('mouseleave', releaseFunc);\r\n };\r\n $(document).on('mouseup', releaseFunc);\r\n $(this).on('mouseleave', releaseFunc);\r\n p.timeoutID = window.setTimeout(timeoutFunc, 700);\r\n };\r\n numberPolyfill.prototype.attrMutationHandler = function (name, oldValue, newValue) {\r\n var ei, h, _i, _len, _ref;\r\n if (name === \"class\" || name === \"style\") {\r\n h = {};\r\n ei = null;\r\n _ref = [\"opacity\", \"visibility\", \"-moz-transition-property\", \"-moz-transition-duration\", \"-moz-transition-timing-function\", \"-moz-transition-delay\", \"-webkit-transition-property\", \"-webkit-transition-duration\", \"-webkit-transition-timing-function\", \"-webkit-transition-delay\", \"-o-transition-property\", \"-o-transition-duration\", \"-o-transition-timing-function\", \"-o-transition-delay\", \"transition-property\", \"transition-duration\", \"transition-timing-function\", \"transition-delay\"];\r\n for (_i = 0, _len = _ref.length; _i < _len; _i++) {\r\n i = _ref[_i];\r\n if ((ei = this.elem.css(i)) !== this.btnContainer.css(i)) {\r\n h[i] = ei;\r\n }\r\n }\r\n if (this.elem.css(\"display\") === \"none\") {\r\n h.display = \"none\";\r\n } else {\r\n h.display = \"inline-block\";\r\n }\r\n this.btnContainer.css(h);\r\n } else if (name === \"min\" || name === \"max\" || name === \"step\") {\r\n this.elem.change();\r\n }\r\n };\r\n numberPolyfill.prototype.increment = function () {\r\n var newVal, params;\r\n if (!(this.elem.is(\":disabled\") || this.elem.is(\"[readonly]\"))) {\r\n params = this.getParams();\r\n newVal = numberPolyfill.preciseAdd(params.val, params.step);\r\n if ((params.max !== null) && parseFloat(newVal) > parseFloat(params.max)) {\r\n newVal = params.max;\r\n }\r\n newVal = this.stepNormalize(newVal);\r\n this.elem.val(newVal).change();\r\n }\r\n };\r\n numberPolyfill.prototype.decrement = function () {\r\n var newVal, params;\r\n if (!(this.elem.is(\":disabled\") || this.elem.is(\"[readonly]\"))) {\r\n params = this.getParams();\r\n newVal = numberPolyfill.preciseSubtract(params.val, params.step);\r\n if ((params.min !== null) && parseFloat(newVal) < parseFloat(params.min)) {\r\n newVal = params.min;\r\n }\r\n newVal = this.stepNormalize(newVal);\r\n this.elem.val(newVal).change();\r\n }\r\n };\r\n } else {\r\n $.fn.inputNumber = function () {\r\n return $(this);\r\n };\r\n return;\r\n }\r\n $(function () {\r\n $('input[type=\"number\"]').inputNumber();\r\n });\r\n })(jQuery);\r\n\r\n}).call(this);\r\n","//https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\r\nif (typeof Object.assign !== 'function') {\r\n // Must be writable: true, enumerable: false, configurable: true\r\n Object.defineProperty(Object, \"assign\", {\r\n value: function assign(target, varArgs) { // .length of function is 2\r\n 'use strict';\r\n if (target === null) { // TypeError if undefined or null\r\n throw new TypeError('Cannot convert undefined or null to object');\r\n }\r\n\r\n var to = Object(target);\r\n\r\n for (var index = 1; index < arguments.length; index++) {\r\n var nextSource = arguments[index];\r\n\r\n if (nextSource !== null) { // Skip over if undefined or null\r\n for (var nextKey in nextSource) {\r\n // Avoid bugs when hasOwnProperty is shadowed\r\n if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\r\n to[nextKey] = nextSource[nextKey];\r\n }\r\n }\r\n }\r\n }\r\n return to;\r\n },\r\n writable: true,\r\n configurable: true\r\n });\r\n}","var ACCESSIBILITY = (function ($) {\r\n var module = {};\r\n\r\n var processKeyboardClickEvent = function (e) {\r\n var code = e.charCode || e.keyCode;\r\n if ((code === 32) || (code === 13)) {\r\n $(e.target).trigger('click');\r\n }\r\n };\r\n\r\n module.SetupKeyboardClick = function (elements) {\r\n elements.on('keypress', processKeyboardClickEvent);\r\n };\r\n\r\n module.SetupLiveKeyboardClick = function (selector) {\r\n $(document).on(\"keypress\", selector, processKeyboardClickEvent);\r\n };\r\n\r\n module.SetupAriaAttributesForTable = function (table, readonly) {\r\n readonly = (typeof readonly !== 'undefined') ? readonly : true;\r\n table.attr('role', 'grid');\r\n table.attr('aria-readonly', readonly);\r\n $.each($('tr', table), function () {\r\n $(this).attr('role', 'row');\r\n });\r\n $.each($('th', table), function () {\r\n $(this).attr('role', 'columnheader');\r\n });\r\n $.each($('td', table), function () {\r\n $(this).attr('role', 'gridcell');\r\n });\r\n };\r\n\r\n module.ClearFocus = function () {\r\n if(document.activeElement !== document.body) document.activeElement.blur();\r\n };\r\n\r\n return module;\r\n})(jQuery);","var API = (function ($) {\r\n var module = {};\r\n var culture = window.__locale || \"en-us\";\r\n module.request = function (type, url, data, async, cache, dataType) {\r\n return $.ajax({\r\n url: url,\r\n type: type || 'post',\r\n headers: {\r\n \"Accept-Language\": culture\r\n },\r\n data: data,\r\n async: async || true, \r\n cache: cache || false, \r\n dataType: dataType || \"json\"\r\n });\r\n };\r\n\r\n module.fileRequest = function (type, url, data, async, cache) {\r\n return $.ajax({\r\n url: url,\r\n type: type || 'post',\r\n headers: {\r\n \"Accept-Language\": culture\r\n },\r\n data: data,\r\n async: async || true,\r\n cache: cache || false,\r\n contentType: false,\r\n processData: false\r\n });\r\n };\r\n\r\n module.HandleApiResponseGetDataResult = function (response) {\r\n if (typeof response.Success !== 'undefined' && response.Success === true) {\r\n if (typeof response.Data.Result !== 'undefined') {\r\n return response.Data.Result;\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n\r\n module.HandleApiResponseGetData = function (response) {\r\n if (typeof response.Success !== 'undefined' && response.Success === true) {\r\n if (typeof response.Data !== 'undefined') {\r\n return response.Data;\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n return module;\r\n})($);","var BROWSER_COMPATIBILITY = (function ($) {\r\n var module = {};\r\n\r\n module.IsIE = function () {\r\n var ua = window.navigator.userAgent;\r\n\r\n //IE10 or older\r\n var msie = ua.indexOf('MSIE ');\r\n if (msie > 0) {\r\n return true;\r\n }\r\n\r\n //IE 11\r\n var trident = ua.indexOf('Trident/');\r\n if (trident > 0) {\r\n return true;\r\n }\r\n\r\n //IE12(Edge)\r\n var edge = ua.indexOf('Edge/');\r\n if (edge > 0) {\r\n return true;\r\n }\r\n\r\n // other browser\r\n return false;\r\n };\r\n\r\n return module;\r\n})(jQuery);","var CHECKBOXES = (function($){\r\n // Run on page load.\r\n $(function() {\r\n removeKeyupCheck();\r\n });\r\n\r\n // Event Handler ignoring tab keypress.\r\n var ignoreSpace = function (e) {\r\n if (e.keyCode === 32 || e.which === 32) {\r\n return false;\r\n }\r\n };\r\n\r\n // Fixes checkboxes getting double-clicked with spacebar in FireFox.\r\n var removeKeyupCheck = function() {\r\n var checkBoxes = $('input[type=\"checkbox\"]');\r\n\r\n checkBoxes.off('keypress', ignoreSpace);\r\n checkBoxes.on('keypress', ignoreSpace);\r\n };\r\n\r\n // Allow call from CHECKBOXES.removeKeyupCheck() globally for checkboxes added after page load.\r\n return {\r\n removeKeyupCheck: function() { removeKeyupCheck(); } \r\n };\r\n})(jQuery);\r\n","/**\r\n * @namespace Loggers\r\n */\r\n(function (window) {\r\n window.Loggers = window.Loggers || {};\r\n}(window));\r\n\r\n/**\r\n * @namespace Console\r\n * @memberof Loggers\r\n */\r\nLoggers.Console = (function (window) {\r\n\r\n /**\r\n * Generates a debug function with optional bound settings. \r\n * Expects properties in settings object of name and debug.\r\n * name is prepended to the start of every log message.\r\n * debug log lines are not called when debug is false.\r\n * @function debugLogger\r\n * @memberof! Loggers.Console\r\n * @param {object} settings Settings object iwth options for debugLogger.\r\n * @example\r\n * let settings = { name: 'Name Of Module', debug: true };\r\n * let logDebug = Loggers.Console.debugLogger( settings );\r\n */\r\n function debugLogBase() {\r\n var debugMode = this.debug;\r\n if (typeof debugMode === 'undefined') {\r\n debugMode = true;\r\n }\r\n\r\n if (debugMode && window.console) {\r\n // Convert args to a normal array\r\n var args = Array.prototype.slice.call(arguments);\r\n if (this.name) {\r\n args.unshift(this.name + ' -');\r\n }\r\n // Pass along arguments to console.log\r\n console.log.apply(console, args);\r\n }\r\n }\r\n\r\n /**\r\n * Generates an error log function with optional bound settings. \r\n * Expects name property in settings object, or a plain string.\r\n * name is prepended to the start of every log message.\r\n * @function debugLogger\r\n * @memberof! Loggers.Console\r\n * @param {object} settings Settings object iwth options for debugLogger.\r\n * @example\r\n * let settings = { name: 'Name Of Module' };\r\n * let logError = Loggers.Console.errorLogger( settings );\r\n */\r\n function errorLogBase() {\r\n if (window.console) {\r\n // Convert args to a normal array\r\n var args = Array.prototype.slice.call(arguments);\r\n if (this.name) {\r\n args.unshift(this.name + ' -');\r\n }\r\n // Pass along arguments to console.error\r\n console.error.apply(console, args);\r\n }\r\n }\r\n\r\n return {\r\n debugLogger: function (settings) { return debugLogBase.bind(settings); },\r\n errorLogger: function (settings) { return errorLogBase.bind(settings); }\r\n };\r\n}(window));","(function ($) {\r\n window.UpdateStateInputs = function (ele, selectedValue) {\r\n var form = $(ele).closest('form');\r\n if (!(form && form.length > 0)) {\r\n //only other non-form location with country/state dropdowns is new address container on the shipping address selector\r\n form = $(ele).closest('.new-address-container');\r\n }\r\n\r\n var country = $(\"option:selected\", ele).val(); // Find value of the selected option in the country select element\r\n var stateSelectField = $(ele).data(\"stateSelect\"); // Get state-select data attribute on the country select element\r\n var stateInputField = $(ele).data(\"stateInput\"); // Get state-input data attribute on the country select element\r\n\r\n // Get a select element with ID matching the state-select data attribute with fallback to matching name if not found\r\n var stateSelect = $(\"select#\" + stateSelectField, form); \r\n if (!stateSelect.length) stateSelect = $(\"select[name='\" + stateSelectField + \"']\", form);\r\n if (!stateSelect.length) return; // Exit cleanly if neither found\r\n\r\n // Get the wrapping .form-group of the found select element with fallback to the wrapping .address-line if not found\r\n var selectParent = $(stateSelect).parents(\".form-group\"); \r\n if (!selectParent.length) selectParent = $(stateSelect).parents(\".address-line\");\r\n if (!selectParent.length) return; // Exit clealy if neither found\r\n\r\n // Get an input element with ID matching the state-input data attribute with fallback to matching name if not found\r\n var stateInput = $(\"input#\" + stateInputField, form);\r\n if (!stateInput.length) stateInput = $(\"input[name='\" + stateInputField + \"']\", form);\r\n\r\n // Get the wrapping .form-group of the found input element with fallback to the wrapping .address-line if not found\r\n var inputParent = $(stateInput).parents(\".form-group\");\r\n if (!inputParent.length) inputParent = $(stateInput).parents(\".address-line\");\r\n\r\n // We should have everything we need now to make the update\r\n if (country === \"US\" || country === \"United States\" || country === \"CA\" || country === \"Canada\") {\r\n //var defaultOption = $(\"option:first-child\", stateSelect); // Find the value of the first selected option in the state select element\r\n\r\n $(inputParent).hide();\r\n $(stateSelect).empty();\r\n\r\n // Insert default (empty value)\r\n $(stateSelect).append(\"\");\r\n\r\n $(selectParent).show();\r\n SettingsService.getStateListByCountry({ locale: window.__locale, Country: country }).done(function (res, sta, xhr) {\r\n for (var p in res) {\r\n if (!res.hasOwnProperty(p)) continue;\r\n $(stateSelect).append(\"\");\r\n }\r\n if(selectedValue !== undefined) $(stateSelect).val(selectedValue);\r\n });\r\n } else {\r\n $(selectParent).hide();\r\n $(inputParent).show();\r\n }\r\n };\r\n})(jQuery);","/**\r\n * @namespace Util\r\n */\r\n(function (util) {\r\n /**\r\n * Helper method to test visibility. Directly out of jQuery.\r\n * @param {HTMLElement} elem Element to test for visibility.\r\n * @returns {boolean} true if visible, false if not visible.\r\n */\r\n var isVisible = function (elem) {\r\n if (typeof elem === 'undefined') {\r\n console.error('Helper.isVisible requires an argument.');\r\n return false;\r\n }\r\n else if (!(elem instanceof HTMLElement)) {\r\n console.error('Helper.isVisible can only check the visibility of HTMLElements. Was passed:', elem);\r\n return false;\r\n }\r\n\r\n return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);\r\n };\r\n\r\n util.isVisible = function (elem) { return isVisible(elem); };\r\n})(window.Util = window.Util || {});","jQuery.fn.forceNumeric = function () {\r\n return this.each(function () {\r\n $(this).keydown(function (e) {\r\n var key = e.which || e.keyCode;\r\n\r\n // List of allowed keys\r\n if (!e.shiftKey && !e.altKey && !e.ctrlKey &&\r\n // numbers \r\n key >= 48 && key <= 57 ||\r\n // Numeric keypad\r\n key >= 96 && key <= 105 ||\r\n // comma, period and minus, . on keypad\r\n key === 190 || key === 188 || key === 109 || key === 110 ||\r\n // Backspace and Tab and Enter\r\n key === 8 || key === 9 || key === 13 ||\r\n // Home and End\r\n key === 35 || key === 36 ||\r\n // left and right arrows\r\n key === 37 || key === 39 ||\r\n // Del and Ins\r\n key === 46 || key === 45) {\r\n\r\n return true;\r\n }\r\n\r\n return false;\r\n });\r\n });\r\n};","(function ($) {\r\n var loadedSources = {};\r\n\r\n var alreadyLoaded = function (src, cb) {\r\n if (!loadedSources.hasOwnProperty(src)) { return false; }\r\n if (loadedSources[src] === true) { if (typeof cb === \"function\") cb(); }\r\n else { window.setTimeout(function () { alreadyLoaded(src, cb); }, 100); }\r\n return true;\r\n };\r\n\r\n window.LazyJs = function (src, cb) {\r\n if (!alreadyLoaded(src, cb)) {\r\n loadedSources[src] = false;\r\n var scriptTag = document.createElement('script');\r\n scriptTag.src = src;\r\n scriptTag.async = true;\r\n scriptTag.onload = function () {\r\n loadedSources[src] = true;\r\n if (typeof cb === \"function\") { cb(); }\r\n };\r\n\r\n var headTag = document.getElementsByTagName('head')[0];\r\n headTag.appendChild(scriptTag);\r\n }\r\n };\r\n})(jQuery);","var PHONENUMBERINPUT = (function ($) {\r\n var module = {};\r\n\r\n module.addFocusEvent = function (selector) {\r\n\r\n $(selector).on('focus click', function () {\r\n var val = $(this).val();\r\n if (!val || val.length === 0) {\r\n return;\r\n }\r\n var n = val.indexOf('_');\r\n if (n === 0) {\r\n $(this)[0].setSelectionRange(0, 0);\r\n }\r\n \r\n });\r\n };\r\n\r\n return module;\r\n})(jQuery);","window.SecurityQuestionsHelper = (function ($) {\r\n\r\n var managedDropdowns = null;\r\n\r\n // Poor-man's indexOf for our selectedQuestions object\r\n var alreadySelectedIndex = function (selected, questionId) {\r\n for (var i = 0; i < selected.length; i++) {\r\n if (selected[i].value === questionId) return i;\r\n }\r\n\r\n return -1;\r\n };\r\n\r\n // Updates security question dropdowns - allows each question to be selected once\r\n var updateDropdowns = function (dropdowns, questions) {\r\n var selectedQuestions = $(\"option:selected\", dropdowns);\r\n \r\n // Iterate through each dropdown\r\n for (var i = 0; i < dropdowns.length; i++) {\r\n var disableOpts = [];\r\n\r\n // Build up an array of possible answers for this dropdown\r\n for (var questionId in questions) {\r\n if (!questions.hasOwnProperty(questionId)) continue;\r\n\r\n var alreadySelected = alreadySelectedIndex(selectedQuestions, questionId);\r\n if (alreadySelected !== -1 && dropdowns[i] !== selectedQuestions[alreadySelected].parentNode) {\r\n disableOpts.push(questionId);\r\n continue;\r\n }\r\n }\r\n\r\n var dropdown = $(dropdowns[i])[0];\r\n for (var k = 0; k < dropdown.options.length; k++) {\r\n var option = dropdown.options[k];\r\n if (disableOpts.indexOf(option.value) !== -1) {\r\n option.setAttribute('disabled', '');\r\n $(option).hide();\r\n }\r\n else {\r\n option.removeAttribute('disabled');\r\n $(option).show();\r\n }\r\n }\r\n }\r\n };\r\n\r\n $(function () {\r\n $(\"[data-mvc-security-questions]\").each(function (i, e) {\r\n var allQuestions = {};\r\n managedDropdowns = $(\"select\", e);\r\n\r\n // Collect list of questions for later input after onChange event\r\n for (var x = 0; x < managedDropdowns.length; x++) {\r\n var options = $(\"option\", managedDropdowns[x]);\r\n for (var z = 0; z < options.length; z++) {\r\n var oId = $(options[z]).val();\r\n if (oId === \"\" || typeof allQuestions[oId] !== \"undefined\") continue;\r\n\r\n var oText = $(options[z]).text();\r\n allQuestions[oId] = oText;\r\n }\r\n }\r\n\r\n // Bind to change event and call update method\r\n $(managedDropdowns).on(\"change\", function (e) {\r\n // Bootstrap selects don't re-check jQuery validation, so check it now.\r\n if (e.currentTarget) {\r\n $(e.currentTarget).valid();\r\n }\r\n updateDropdowns(managedDropdowns, allQuestions);\r\n });\r\n });\r\n });\r\n\r\n var resetSecurityQuestions = function () {\r\n if (managedDropdowns === null) {\r\n return;\r\n }\r\n\r\n for (var i = 0; i < managedDropdowns.length; i++) {\r\n for (var k = 0; k < managedDropdowns[i].options.length; k++) {\r\n var option = managedDropdowns[i].options[k];\r\n option.removeAttribute('disabled');\r\n $(option).show();\r\n }\r\n }\r\n };\r\n\r\n return {\r\n resetSecurityQuestions: function () { resetSecurityQuestions(); },\r\n updateDropdowns: function (managedDropdowns, allQuestions) { updateDropdowns(managedDropdowns, allQuestions); }\r\n };\r\n})(jQuery);","var TEXTFORMATTING = (function ($) {\r\n var module = {};\r\n\r\n module.CentsToDollars = function (cents, format) {\r\n if (cents === null) { return ''; }\r\n var returnValue = \"\";\r\n var dollars;\r\n switch (format) {\r\n case \"WithoutCents\": // Without Cents iff .00\r\n dollars = cents / 100;\r\n if (Number.isInteger(dollars)) {\r\n returnValue = module.AddCommasToNumber(dollars.toFixed(0));\r\n }\r\n else {\r\n returnValue = module.AddCommasToNumber(dollars.toFixed(2));\r\n }\r\n break;\r\n case \"WithSignWithoutCents\": // Without Cents iff .00\r\n dollars = cents / 100;\r\n if(Number.isInteger(dollars)) {\r\n dollars = dollars.toFixed(0);\r\n returnValue = cents < 0 ? '-$' + module.AddCommasToNumber(Math.abs(dollars).toFixed(0)) : '$' + module.AddCommasToNumber(dollars);\r\n }\r\n else {\r\n dollars = dollars.toFixed(2);\r\n returnValue = cents < 0 ? '-$' + module.AddCommasToNumber(Math.abs(dollars).toFixed(2)) : '$' + module.AddCommasToNumber(dollars);\r\n }\r\n break;\r\n case \"WithDollarSignAndPlusMinus\":\r\n dollars = (cents / 100.0).toFixed(2);\r\n returnValue = cents < 0 ? '-$' + module.AddCommasToNumber(Math.abs(dollars).toFixed(2)) : cents > 0 ?\r\n '+$' + module.AddCommasToNumber(dollars) :\r\n '$' + module.AddCommasToNumber(dollars);\r\n break;\r\n case \"WithDollarSign\":\r\n dollars = (cents / 100.0).toFixed(2);\r\n returnValue = cents < 0 ? '-$' + module.AddCommasToNumber(Math.abs(dollars).toFixed(2)) : '$' + module.AddCommasToNumber(dollars);\r\n break;\r\n case \"WithoutSign\":\r\n dollars = (cents / 100.0).toFixed(2);\r\n returnValue = cents < 0 ? '-' + module.AddCommasToNumber(Math.abs(dollars).toFixed(2)) : module.AddCommasToNumber(dollars);\r\n break;\r\n default:\r\n returnValue = module.AddCommasToNumber((cents / 100).toFixed(2));\r\n }\r\n return returnValue;\r\n };\r\n\r\n module.AllowLinebreak = function (arr) {\r\n //Used for stacking card numbers in Order History pdf\r\n if (arr) return arr.join(' ');\r\n return '';\r\n };\r\n\r\n module.FormatCardProducts = function (item, products, field) {\r\n //Used to stack card order items in receipt\r\n if (products.length > 0) {\r\n var productString = '';\r\n products.forEach(function (product) {\r\n var text = field === \"name\" ? product.ProductName : TEXTFORMATTING.CentsToDollars(product.ProductPrice, 'WithDollarSign');\r\n productString += text + ' \\n';\r\n });\r\n return item + ' \\n' + productString;\r\n }\r\n return item;\r\n };\r\n\r\n module.FormatValidityProducts = function (item, validity) {\r\n if (validity !== \"\") {\r\n return item + ' \\n' + validity;\r\n }\r\n return item;\r\n };\r\n\r\n module.AddCommasToNumber = function (n) {\r\n x = n.split('.');\r\n x1 = x[0];\r\n x2 = x.length > 1 ? '.' + x[1] : '';\r\n var rgx = /(\\d+)(\\d{3})/;\r\n while (rgx.test(x1)) {\r\n x1 = x1.replace(rgx, '$1' + ',' + '$2');\r\n }\r\n return x1 + x2;\r\n };\r\n\r\n module.CapitalizeFirstLetterOnly = function (text) {\r\n if (typeof text === \"undefined\" || text === null) { return '';}\r\n return text.charAt(0).toUpperCase() + text.slice(1).toLowerCase();\r\n };\r\n\r\n module.Moment = function (value, format, parseZone) {\r\n //parseZone maintains the same timezone rather than converting to user's local time. if we're just returning a date without a time, we likely\r\n //would want to keep UTC time so that the date doesn't accidentally move back a day\r\n var out;\r\n\r\n if (parseZone) out = moment.parseZone(value);\r\n else out = moment(value);\r\n\r\n var field = format;\r\n\r\n // Support chained operations by checking whether format is an array\r\n if (typeof format === \"object\" && format !== null && out.isValid()) {\r\n while (format.length) {\r\n field = format.shift();\r\n\r\n if (field.toLowerCase() === 'subtract') out.subtract(format.shift(), format.shift());\r\n else if (field.toLowerCase() === 'add') out.add(format.shift(), format.shift());\r\n }\r\n }\r\n\r\n return out.isValid() ? out.format(field) : '';\r\n };\r\n\r\n module.MomentMDY = function (value, format, parseZone) {\r\n var out;\r\n if (parseZone) out = moment.parseZone(value);\r\n else out = moment(value);\r\n var field = format;\r\n\r\n // Support chained operations by checking whether format is an array\r\n if (typeof format === \"object\" && format !== null && out.isValid()) {\r\n while (format.length) {\r\n field = format.shift();\r\n\r\n if (field.toLowerCase() === 'subtract') out.subtract(format.shift(), format.shift());\r\n if (field.toLowerCase() === 'add') out.add(format.shift(), format.shift());\r\n if (field.toLowerCase() === 'es') field = 'D/M/YYYY';\r\n else field = 'M/D/YYYY';\r\n }\r\n }\r\n\r\n return out.isValid() ? out.format(field) : '';\r\n };\r\n\r\n module.LimitCardName = function (card, length, showFullNumber) {\r\n //var cardNumberFilter = Vue.filter('transitCardNumber');\r\n if (card) {\r\n var lastFour = card.PrintedNumber.substring(card.PrintedNumber.length - 4);\r\n var cardNr = showFullNumber !== null && showFullNumber === true ? card.PrintedNumber : lastFour;\r\n var cardName = card.Description !== null ? card.Description : \"\";\r\n\r\n if (cardName.length > 0) {\r\n if (cardName.length > length) {\r\n return cardName.substring(0, length) + \"...\" + \" (\" + cardNr + \")\";\r\n }\r\n else {\r\n var cardname = cardName + \" (\" + cardNr + \")\";\r\n return cardname;\r\n }\r\n }\r\n else {\r\n return card.PrintedNumber;\r\n }\r\n } else {\r\n return \"\";\r\n }\r\n };\r\n\r\n module.FormatDayOfMonth = function (dayOfMonth) {\r\n var last = dayOfMonth.toString().slice(-1);\r\n if (last === '1' && dayOfMonth !== 11) {\r\n return dayOfMonth + \"st\";\r\n }\r\n else if (last === '2' && dayOfMonth !== 12) {\r\n return dayOfMonth + \"nd\";\r\n }\r\n else if (last === '3' && dayOfMonth !== 13) {\r\n return dayOfMonth + \"rd\";\r\n }\r\n else {\r\n return dayOfMonth + 'th';\r\n }\r\n };\r\n\r\n module.FormatCsvField = function (field) {\r\n if (field) {\r\n if (isNaN(field) || field.length <= 10) {\r\n return field;\r\n }\r\n else if (field.length > 10) {\r\n return \"'\" + field;\r\n }\r\n }\r\n return '';\r\n };\r\n\r\n module.UtcToRegional = function (timestamp) {\r\n return moment(timestamp).utcOffset(moment(timestamp).isDST() ? \"-07:00\" : \"-08:00\");\r\n };\r\n\r\n return module;\r\n})(jQuery);\r\n\r\n(function ($) {\r\n\r\n //Provide support for .format() [equivalent of C# string.Format method]\r\n String.prototype.format = function () {\r\n var s = this,\r\n i = arguments.length;\r\n\r\n while (i--) {\r\n s = s.replace(new RegExp('\\\\{' + i + '\\\\}', 'gm'), arguments[i]);\r\n }\r\n return s;\r\n };\r\n\r\n})(jQuery);\r\n","var TRANSACTION_DETAILS = (function ($) {\r\n var module = {};\r\n\r\n var getTransactionDetails = function (transaction, isInstitution) {\r\n if (isInstitution) {\r\n return InstitutionService.getSalesByTransactionId({ SaleTransactionId: transaction.SaleTransactionId });\r\n }\r\n else {\r\n return CustomerService.getSaleByTransactionId({ SaleTransactionId: transaction.SaleTransactionId });\r\n }\r\n };\r\n\r\n function dedupe(saleItems) {\r\n // from stackoverflow.com/questions/36032179/remove-duplicates-in-an-object-array-javascript\r\n return saleItems.reduce(function (p, c) {\r\n // create an identifying id from the object values\r\n var id = [c.TicketName, c.CardNumber].join('|');\r\n // if the id is not found in the temp array\r\n // add the object to the output array and add the key to the temp array\r\n if (p.temp.indexOf(id) === -1) {\r\n p.out.push(c);\r\n p.temp.push(id);\r\n }\r\n return p;\r\n }, { temp: [], out: [] }).out;\r\n }\r\n\r\n //Retrieve card numbers for line items\r\n module.GetTransitAccounts = function (lineItems, saleItems) {\r\n var items = [];\r\n // console.log('module.GetTransitAccounts', lineItems, saleItems);\r\n lineItems.forEach(function (lineItem) {\r\n if (lineItem.OrderDetailId === null) {\r\n lineItem.CardNumber = [];\r\n if (lineItem.Price > 0) {\r\n var simpleSaleItems = [];\r\n saleItems.forEach(function (item) {\r\n var saleItem = {\r\n 'TicketName': item.TicketName,\r\n 'CardNumber': item.PrintedCardNumber,\r\n 'Price': item.Price\r\n };\r\n simpleSaleItems.push(saleItem);\r\n });\r\n if (simpleSaleItems.length > 0) {\r\n var distinctSaleItems = dedupe(simpleSaleItems);\r\n var cardNumbers = [];\r\n distinctSaleItems.forEach(function (distinctItem) {\r\n if (distinctItem.TicketName === lineItem.TicketName && distinctItem.Price === lineItem.Price) {\r\n if (distinctItem.CardNumber && distinctItem.CardNumber.length > 0) {\r\n cardNumbers.push(distinctItem.CardNumber);\r\n }\r\n }\r\n });\r\n lineItem.CardNumber = cardNumbers;\r\n }\r\n }\r\n items.push(lineItem);\r\n }\r\n });\r\n return items;\r\n };\r\n\r\n module.GetSaleItemDetails = function (saleItems) {\r\n var items = [];\r\n saleItems.forEach(function (item) {\r\n var cardnumbers = [];\r\n cardnumbers.push(item.PrintedCardNumber);\r\n var saleItem = {\r\n 'TicketName': item.TicketName,\r\n 'Quantity': 1,\r\n 'CardNumber': cardnumbers,\r\n 'Price': item.Price\r\n };\r\n items.push(saleItem);\r\n });\r\n return items;\r\n };\r\n\r\n module.GetCardOrderDetails = function (lineItems) {\r\n var cardOrders = [];\r\n lineItems.forEach(function (item) {\r\n //get cards\r\n if (item.RequiredOrderDetailId === null) {\r\n var card = {\r\n 'TicketName': item.ProductName,\r\n 'Quantity': item.Quantity,\r\n 'Price': item.ProductPrice,\r\n 'OrderDetailId': item.OrderDetailId,\r\n 'Products': [],\r\n 'Subtotal': item.ProductPrice\r\n };\r\n cardOrders.push(card);\r\n }\r\n });\r\n lineItems.forEach(function (item) {\r\n //apply products\r\n if (item.RequiredOrderDetailId !== null) {\r\n var card = cardOrders.find(function (card) {\r\n return card.OrderDetailId === item.RequiredOrderDetailId;\r\n });\r\n if (card) {\r\n var product = {\r\n 'ProductName': item.ProductName,\r\n 'ProductPrice': item.ProductPrice\r\n };\r\n card.Products.push(product);\r\n card.Subtotal += item.ProductPrice;\r\n }\r\n }\r\n });\r\n\r\n return cardOrders;\r\n };\r\n\r\n return module;\r\n})(jQuery);","(function ($) {\r\n function getUrlVars(name) {\r\n var url = location.href;\r\n name = name.replace(/[\\[]/, \"\\\\\\[\").replace(/[\\]]/, \"\\\\\\]\");\r\n var regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\r\n var regex = new RegExp(regexS);\r\n var results = regex.exec(url);\r\n return results === null ? null : results[1];\r\n }\r\n\r\n window.UrlParams = {\r\n getParamValue: function(paramName) {\r\n return getUrlVars(paramName);\r\n }\r\n }; \r\n})(jQuery);","(function ($) {\r\n var hintOpenSpeed = 200; // Length of open animation for field hints\r\n var errorOpenSpeed = 200; // Length of open animation for field errors\r\n var hintCloseSpeed = 100; // Length of close animation for field hints\r\n var errorCloseSpeed = 100; // Length of close animation for field errors\r\n var closeDelay = 100; // Delay before close animations fire (necessary to prevent missed clicks caused by close animations)\r\n\r\n var errorClass = \"apiform-isError\";\r\n var submittingClass = \"apiform-isSubmitting\";\r\n var errorEvent = \"fail.apiform\";\r\n var successEvent = \"success.apiform\";\r\n\r\n var errorContainerDataAttribute = \"errorContainer\";\r\n var confirmContainerDataAttribute = \"confirm\";\r\n var resultsContainerDataAttribute = \"resultsContainer\";\r\n var multistepNextPageDataAttribute = \"apiformNext\";\r\n\r\n var culture = window.__locale || \"en-us\";\r\n\r\n var showFieldError = function(field) {\r\n window.setTimeout(function () {\r\n $(field).slideDown(errorOpenSpeed);\r\n }, closeDelay);\r\n };\r\n\r\n var parseFieldErrors = function (form, apiResponse) {\r\n if (typeof apiResponse.ErrorsByField !== \"undefined\") {\r\n var fields = Object.keys(apiResponse.ErrorsByField) || [];\r\n if (fields.length > 0) {\r\n for (var i = 0; i < fields.length; i++) {\r\n var fieldName = fields[i];\r\n if (apiResponse.ErrorsByField[fieldName].length === 0) {\r\n continue;\r\n }\r\n\r\n var field = $('[name=\"' + fieldName + '\"]', form);\r\n var errorContainer;\r\n if (field.length) {\r\n $(field).addClass(\"input-validation-error\");\r\n errorContainer = findErrorContainerForElement(field);\r\n field.attr('aria-invalid', 'true');\r\n } else {\r\n errorContainer = $(\"[data-errorfor='\" + fieldName + \"']\");\r\n }\r\n if (typeof errorContainer === \"undefined\" || !errorContainer || !errorContainer.length) {\r\n apiResponse.Messages.push(apiResponse.ErrorsByField[fieldName]);\r\n continue;\r\n }\r\n var errorSpan = $(\"span\", errorContainer);\r\n if (errorSpan.length) {\r\n $(errorSpan).html(apiResponse.ErrorsByField[fieldName]).show();\r\n } else {\r\n $(errorContainer).html(apiResponse.ErrorsByField[fieldName]);\r\n }\r\n showFieldError($(errorContainer));\r\n }\r\n\r\n // Set focus to first non-empty error field\r\n for (var i = 0; i < fields.length; i++) {\r\n var fieldName = fields[i];\r\n var field = $('[name=\"' + fieldName + '\"]', form);\r\n if (field.length && apiResponse.ErrorsByField[fieldName].length) {\r\n $(field).focus();\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n var findHintContainerForElement = function (ele) {\r\n var form = $(ele).parents('form');\r\n if (!form.length) return null;\r\n\r\n var fieldId = $(ele).attr('id');\r\n var hintContainer = $('[data-hintfor=\"' + fieldId + '\"]', form);\r\n if (!hintContainer.length) return null;\r\n\r\n return hintContainer;\r\n };\r\n\r\n var findErrorContainerForElement = function (ele) {\r\n var form = $(ele).parents('form');\r\n if (!form.length) return null;\r\n\r\n var fieldId = $(ele).attr('id');\r\n var errorContainer = $('[data-errorfor=\"' + fieldId + '\"]', form);\r\n if (!errorContainer.length) return null;\r\n\r\n return errorContainer;\r\n };\r\n\r\n var defaultSubmitHandler = function (form, e) {\r\n e.preventDefault();\r\n form.submit();\r\n };\r\n\r\n var submitHandler = function (form, e) {\r\n e.preventDefault();\r\n var errorContainerId = $(form).data(errorContainerDataAttribute);\r\n var confirmId = $(form).data(confirmContainerDataAttribute);\r\n var resultsContainerId = $(form).data(resultsContainerDataAttribute);\r\n var multistepNextPage = $(form).data(multistepNextPageDataAttribute);\r\n\r\n var submitForm = function () {\r\n var resetBeforeSubmit = function () {\r\n if (typeof errorContainerId !== \"undefined\") $(errorContainerId).empty().hide();\r\n if (typeof resultsContainerId !== \"undefined\") $(resultsContainerId).empty().hide();\r\n if (typeof confirmId !== \"undefined\") $(confirmId).hide();\r\n $(\".form-errors-container\", form).empty().hide();\r\n $(form).find('input[type=\"submit\"]').prop('disabled', true);\r\n $(form).removeClass(errorClass).addClass(submittingClass);\r\n };\r\n\r\n var onError = function () {\r\n $(form).addClass(errorClass);\r\n $(form).trigger(errorEvent, []);\r\n $(form).find('input[type=\"submit\"]').prop('disabled', false);\r\n if (errorContainerId) {\r\n $(errorContainerId)\r\n .html(\"
\" + \"An unexpected error occurred. Please try again.\" + \"
\")\r\n .show()\r\n .focus();\r\n }\r\n };\r\n\r\n var onSuccess = function (res, sta, xhr, frm) {\r\n if (res && typeof res.Success !== \"undefined\") {\r\n if (res.Success === false) {\r\n parseFieldErrors(form, res);\r\n $(form).trigger(errorEvent, res);\r\n window.InitEvents.apiFormError.dispatch(res.Data);\r\n $(form).addClass(errorClass);\r\n $(form).removeClass(submittingClass);\r\n $(form).find('input[type=\"submit\"]').prop('disabled', false);\r\n\r\n if (errorContainerId && res.Messages.length > 0) {\r\n $(errorContainerId)\r\n .html(res.Messages.map(function (x) { return \"\" + x + \"\"; }).join(\"
\"))\r\n .show();\r\n\r\n var formAlert = $(errorContainerId).find('.form-alert');\r\n if (formAlert && formAlert.length > 0) {\r\n $(errorContainerId).find('.form-alert')[0].focus();\r\n }\r\n }\r\n } else {\r\n $(form).trigger(successEvent, [res.Data]);\r\n window.InitEvents.apiFormSuccess.dispatch(res.Data);\r\n if (resultsContainerId && res.Messages.length > 0) {\r\n $(resultsContainerId)\r\n .html(\"\" + res.Messages.join(\"
\") + \"
\")\r\n .show().focus();\r\n }\r\n\r\n if (form.hasAttribute('data-apiform-clearonsuccess') && $(form).attr('data-apiform-clearonsuccess') === \"true\") {\r\n $(form).data('validator').resetForm();\r\n }\r\n\r\n if (multistepNextPage) {\r\n console.log(\"TRACE1\", multistepNextPage);\r\n window.location = multistepNextPage;\r\n }\r\n else {\r\n // Leave submittingClass in place if loading new page\r\n $(form).find('input[type=\"submit\"]').prop('disabled', false);\r\n $(form).removeClass(submittingClass); \r\n }\r\n }\r\n }\r\n };\r\n\r\n var onBeforeSubmit = function (arr, frm, opt) {\r\n arr.push({ name: 'Locale', value: culture });\r\n };\r\n\r\n var onBeforeSend = function (request) {\r\n request.setRequestHeader(\"Accept-Language\", culture);\r\n };\r\n\r\n resetBeforeSubmit();\r\n\r\n $(form).ajaxSubmit({\r\n dataType: 'json',\r\n error: onError,\r\n success: onSuccess,\r\n beforeSubmit: onBeforeSubmit,\r\n beforeSend: onBeforeSend\r\n });\r\n };\r\n\r\n if (typeof confirmId === \"undefined\") {\r\n submitForm();\r\n } else {\r\n var confirmContainer = $(confirmId);\r\n if (confirmContainer) {\r\n $(confirmContainer)\r\n .off(\".apiform\")\r\n .on(\"click.apiform\", \"[data-confirm-yes]\", function () { $(confirmContainer).hide(); submitForm(); })\r\n .on(\"click.apiform\", \"[data-confirm-no]\", function () { $(confirmContainer).hide(); })\r\n .show();\r\n }\r\n }\r\n };\r\n\r\n $(function () {\r\n function initializeForm(i, f) {\r\n var validatorSetup = $(f).data('validator');\r\n var oldErrorFunction, oldHighlight, oldUnhighlight = null;\r\n\r\n var errorPlacementFunction = function (error, inputElement) {\r\n //console.log('errorPlacementFunction', error, inputElement);\r\n var errorContainer = findErrorContainerForElement(inputElement);\r\n if (errorContainer) {\r\n if ($(error).text() !== \"\") errorContainer.html(error);\r\n } else {\r\n if (oldErrorFunction !== null) oldErrorFunction(error, inputElement);\r\n }\r\n };\r\n\r\n var highlightFunction = function (element, errorClass) {\r\n if (oldHighlight) {\r\n oldHighlight(element, errorClass);\r\n }\r\n\r\n var errorContainer = findErrorContainerForElement(element);\r\n if (errorContainer) showFieldError(errorContainer);\r\n\r\n var form = $(element).closest('form');\r\n if (form.find('input.input-validation-error').length > 0) {\r\n form.addClass(\"invalid-form\");\r\n }\r\n };\r\n\r\n var unhighlightFunction = function (element, errorClass) {\r\n if (oldUnhighlight) {\r\n oldUnhighlight(element, errorClass);\r\n }\r\n\r\n var errorContainer = findErrorContainerForElement(element);\r\n if (errorContainer) {\r\n window.setTimeout(function () { errorContainer.slideUp(errorCloseSpeed); }, closeDelay);\r\n var errorFieldId = $(errorContainer).data(\"errorfor\");\r\n if (errorFieldId !== null) {\r\n var errorField = $(JQueryService.selectId(errorFieldId));\r\n if (errorField.length) $(errorField).removeClass(\"input-validation-error\");\r\n }\r\n }\r\n\r\n var form = $(element).closest('form');\r\n if (form.find('input.input-validation-error').length === 0) {\r\n form.removeClass(\"invalid-form\");\r\n }\r\n };\r\n\r\n if (typeof validatorSetup !== \"undefined\" && validatorSetup !== null) {\r\n // Hold references to original functions\r\n oldErrorFunction = validatorSetup.settings.errorPlacement;\r\n oldHighlight = validatorSetup.settings.highlight;\r\n oldUnhighlight = validatorSetup.settings.unhighlight;\r\n\r\n validatorSetup.settings.submitHandler = submitHandler;\r\n\r\n validatorSetup.settings.errorPlacement = errorPlacementFunction;\r\n validatorSetup.settings.highlight = highlightFunction;\r\n validatorSetup.settings.unhighlight = unhighlightFunction;\r\n validatorSetup.settings.onkeyup = false;\r\n validatorSetup.settings.onfocusout = false;\r\n } else {\r\n // Initialize jQuery validation on the form when jquery.unobtrusive is not enabled\r\n $(f).validate({\r\n submitHandler: submitHandler,\r\n errorPlacement: errorPlacementFunction,\r\n highlight: highlightFunction,\r\n unhighlight: unhighlightFunction,\r\n onsubmit: true\r\n });\r\n }\r\n }\r\n\r\n $(\"[data-apiform]\").each(initializeForm);\r\n\r\n $(\"form input\").on(\"focus\", function (e) {\r\n var hint = findHintContainerForElement($(this));\r\n if (hint) {\r\n var errorContainer = findErrorContainerForElement($(this));\r\n $(errorContainer).hide();\r\n\r\n $(hint).slideDown(hintOpenSpeed);\r\n $(hint).next(\"small\").hide();\r\n }\r\n }).on(\"focusout\", function (e) {\r\n var hint = findHintContainerForElement($(this));\r\n if (hint) {\r\n window.setTimeout(function () {\r\n $(hint).slideUp(hintCloseSpeed);\r\n $(hint).next(\"small\").show();\r\n }, closeDelay);\r\n }\r\n });\r\n\r\n window.InitEvents.apiFormReinit.add(function (formSelector) {\r\n var form = $(formSelector);\r\n if (form.length === 0) {\r\n return;\r\n }\r\n initializeForm(0, form);\r\n });\r\n });\r\n\r\n})(jQuery);\r\n","// Implementation Examples //\r\n// https://github.com/millermedeiros/js-signals/wiki/Examples //\r\n\r\n(function ($, Signal) {\r\n window.InitEvents = {\r\n customerAccountLoad: new Signal(),\r\n customerAccountReload: new Signal(), // Signal thrown to operations that change customer account info\r\n customerTransitAccounts: new Signal(),\r\n\r\n managedCardSelecting: new Signal(), // Signal thrown by customer dashboard carousel while changing\r\n managedCardSelected: new Signal(), // Signal thrown by customer dashboard carousel when change complete\r\n managedCardReload: new Signal(),\r\n managedCardAdded: new Signal(), // Signal for when a new card is added.\r\n managedCardRemoved: new Signal(), // Signal for when a card is removed.\r\n managedCardUpdated: new Signal(), // Signal for when a card is updated.\r\n //managedCardAutoLoadUpdate: new Signal(), // Signal for when a card has had its AutoLoad updated\r\n managedCardActivityUpdate: new Signal(), // Signal for when user's card activity needs to be updated (i.e. after transfer balance).\r\n managedCardPassAutoloadComponentStateChanged: new Signal(),\r\n\r\n configurations: new Signal(), //Signal for when a configurations are retrieved.\r\n fareCategories: new Signal(), //Signal for when a fare categories are retrieved.\r\n notificationRead: new Signal(),\r\n notificationDeleted: new Signal(),\r\n orderHistoryLoaded: new Signal(),\r\n\r\n //Shopping Cart\r\n checkoutWithNewFundingSource: new Signal(),\r\n itemQuantityChanged: new Signal(),\r\n itemRemovedFromCart: new Signal(),\r\n customerBeginCheckout: new Signal(),\r\n institutionBeginCheckout: new Signal(),\r\n customerDataReadyForPaymentModal: new Signal(),\r\n checkoutComplete: new Signal(),\r\n newGuestPaymentMethodAdded: new Signal(),\r\n newInstitutionTemporaryPaymentMethodAdded: new Signal(),\r\n cancelCartProcessing: new Signal(),\r\n shoppingCartReload: new Signal(), // Signal thrown when the cart has been changed\r\n shoppingCartTotalLoaded: new Signal(),\r\n shippingAddressUpdated: new Signal(),\r\n shippingAddressUpdatedForCheckout: new Signal(),\r\n institutionOrderSuccess: new Signal(),\r\n institutionCartIsValid: new Signal(),\r\n institutionCheckout: new Signal(),\r\n newShippingAddressClicked: new Signal(), //used when adding a shipping address on the shopping cart page\r\n newShippingAddressIsValid: new Signal(), //used when adding a shipping address on the shopping cart page\r\n\r\n // Signal thrown when selected shipping address is updated on shopping cart page\r\n billingAddressLoaded: new Signal(),\r\n paymentMethodUpdated: new Signal(),\r\n addressUpdated: new Signal(), //customer cart and profile settings, not specific to billing or shipping\r\n guestContactDetailsAdded: new Signal(), //Signal thrown on guest shopping cart\r\n guestShippingAddressAdded: new Signal(), //Signal thrown on guest shopping cart\r\n\r\n // Buy Online\r\n addCardholder: new Signal(), //Signal thrown on guest/customer Buy Online\r\n cardholderAdded: new Signal(), //Signal thrown on guest/customer Buy Online\r\n\r\n // Payment Profile\r\n customerAddedNewPaymentMethod: new Signal(),\r\n customerPaymentMethodDeleted: new Signal(),\r\n customerPaymentMethodEdited: new Signal(),\r\n customerPaymentMethodAdded: new Signal(),\r\n customerPaymentMethodPendingComplete: new Signal(),//signal thrown when payment method request is complete, even if there's an error\r\n\r\n //// Institution\r\n viewProductsForInstitutionClicked: new Signal(),\r\n valueAddedToCardPurchase: new Signal(),\r\n unlinkMultipleParticipants: new Signal(),\r\n institutionReplaceCard: new Signal(), // Signal thrown when institutionReplaceCard form is opened\r\n singleCardReloading: new Signal(),\r\n serviceRequestFormOpened: new Signal(),\r\n // Participant\r\n viewParticipantClicked: new Signal(),\r\n // Signal thrown from the participants list table when the user name is clicked\r\n editParticipantClicked: new Signal(),\r\n // Signal thrown from the participants list table when the Edit link is clicked\r\n addParticipantClicked: new Signal(),\r\n availableCardsLoaded: new Signal(),\r\n // Signal thrown from the participants dashboard when the add button is clicked\r\n participantSaved: new Signal(),\r\n // Signal thrown from the participants details panel when a user is edited, created or deleted\r\n participantDeleting: new Signal(),\r\n participantsDeleted: new Signal(),\r\n participantBackToSearch: new Signal(),\r\n // Signal thrown from the participants list table when the Delete link is clicked\r\n addParticipantCardClicked: new Signal(), // Signal thrown with 'Add Card' is clicked for a participant\r\n newParticipantPhotoAdded: new Signal(), // Signal thrown when 'Submit' is clicked after uploading a photo in the Add New Participant Modal\r\n editParticipantPhotoClicked: new Signal(), //Signal thrown when 'Edit Photo' is clicked for a participant\r\n participantPhotoUpdated: new Signal(), // Signal thrown when 'Submit' is clicked after uploading a photo in the Edit Participant Modal\r\n institutionAddedNewPaymentMethod: new Signal(),\r\n\r\n triggerUpdateAvailableTransitAccounts: new Signal(),\r\n\r\n // Notifications\r\n institutionNotificationRead: new Signal(),\r\n institutionNotificationsDeleted: new Signal(),\r\n institutionNotificationsDeleting: new Signal(), // Signal thrown from the notifications table\r\n institutionNotificationsNew: new Signal(), // Signal thrown from header call\r\n\r\n //Order Cards\r\n reducedFareCardSeniorClicked: new Signal(),\r\n addSelectedCardToCartClicked: new Signal(),\r\n reducedFareCardYouthClicked: new Signal(),\r\n\r\n //Groups\r\n addGroupClicked: new Signal(),\r\n editGroupClicked: new Signal(),\r\n groupSaved: new Signal(),\r\n\r\n // Account Settings\r\n accountSettingsLoading: new Signal(), // Signal thrown to trigger loading of all account settings modules\r\n shippingAddressLoading: new Signal(), // Signal thrown to trigger load institution account shipping addresses\r\n userInfoLoading: new Signal(),\r\n billingAddressLoading: new Signal(), // Signal thrown to trigger load institution account billing\r\n shippingAddressSaved: new Signal(), // Signal thrown when a shipping address is saved from modal\r\n paymentMethodDeleting: new Signal(),\r\n paymentMethodDeleted: new Signal(),\r\n paymentMethodEditing: new Signal(),\r\n paymentMethodSaved: new Signal(),\r\n // Cards\r\n cardDetailsClosed: new Signal(),\r\n cardDetailsOpenedSingle: new Signal(),\r\n cardDetailsOpenedMultiple: new Signal(),\r\n editCardsClicked: new Signal(),\r\n singleCardReseting: new Signal(),\r\n singleCardDataLoaded: new Signal(),\r\n multipleCardDataLoaded: new Signal(),\r\n singleCardPassesLoaded: new Signal(),\r\n singleCardFareProductsLoaded: new Signal(),\r\n singleCardEditing: new Signal(),\r\n multipleCardEditing: new Signal(),\r\n manageCardsTableResetting: new Signal(),\r\n cardTableReload: new Signal(),\r\n cardBlocking: new Signal(),\r\n cardBlocked: new Signal(),\r\n participantUnlinking: new Signal(),\r\n participantUnlinked: new Signal(),\r\n cardMultipleBlocking: new Signal(),\r\n cardMultipleBlocked: new Signal(),\r\n cardMultipleRemoving: new Signal(),\r\n //Guest/Anonymous card selection on order cards page\r\n guestCardAdded: new Signal(),\r\n guestItemAddedToOrderCardsCart: new Signal(),\r\n //use event to display api result on vue methods\r\n orderCardsShowResult: new Signal(),\r\n\r\n // Logins\r\n loginClicked: new Signal(),\r\n loginLoading: new Signal(),\r\n loginLoaded: new Signal(),\r\n loginDeleting: new Signal(),\r\n loginViewLoading: new Signal(),\r\n loginViewLoaded: new Signal(),\r\n loginSaved: new Signal(),\r\n loginClearForms: new Signal(),\r\n loginBlock: new Signal(),\r\n loginActivate: new Signal(),\r\n //Bulk Action Jobs \r\n currentJobTableReload: new Signal(),\r\n pastJobTableReload: new Signal(),\r\n // User profile\r\n userProfileLoading: new Signal(),\r\n userProfileSaved: new Signal(),\r\n // SuperUser profile\r\n superUserProfileLoading: new Signal(),\r\n superUserProfileSaved: new Signal(),\r\n //Api Forms\r\n apiFormSuccess: new Signal(),\r\n apiFormError: new Signal(),\r\n apiFormReinit: new Signal(),\r\n\r\n quantitySelectChange: new Signal(),\r\n\r\n institutionLoaded: new Signal(),\r\n currentInstitutionAccountFetched: new Signal(),\r\n currentInstitutionAccountUpdated: new Signal(),\r\n currentInstitutionAccountNeedsRefresh: new Signal(),\r\n institutionShippingAddressEditRequested: new Signal(),\r\n institutionPaymentMethodChange: new Signal(),\r\n institutionPaymentMethodAddSuccess: new Signal(),\r\n institutionPaymentMethodAddFailed: new Signal(),\r\n institutionPaymentMethodEditRequested: new Signal(),\r\n institutionPaymentMethodDeleteRequested: new Signal(),\r\n institutionJobsTableNeedsRefresh: new Signal(),\r\n loginsListTableJsGridPageIndexUpdate: new Signal(),\r\n enterSubAccountFailure: new Signal(),\r\n\r\n shoppingCartMixedFulfillmentDetected: new Signal(),\r\n shoppingCartMixedFulfillmentNotDetected: new Signal(),\r\n\r\n //Inherited but unused:\r\n //Groups\r\n addGroupClicked: new Signal(),\r\n editGroupClicked: new Signal(),\r\n groupSaved: new Signal(),\r\n //Sub-Accounts\r\n subAccountListUpdated: new Signal(),\r\n subAccountDeleting: new Signal(),\r\n //Shopping cart\r\n checkoutWithNewFundingSource: new Signal(),\r\n cancelCartProcessing: new Signal()\r\n };\r\n})(jQuery, signals.Signal);","//To use this functionality, simply add the class 'link-enabled' onto any container element that contains an anchor tag within it\r\n//If the container features more than 1 child anchor tag, you can specify which anchor should take precedence by adding the 'preferred-link' class to that anchor element\r\n\r\nwindow.SetLinksAsClickable = {\r\n OnReady: function () {\r\n\r\n $('.preferredLink').each(function () {\r\n var dataTag = $(this).closest('[data-link-enabled]');\r\n if (dataTag.exists()) dataTag.addClass('linkEnabled');\r\n });\r\n\r\n var $body = $('body');\r\n\r\n //Prevent links within link-enabled classes from bubbling the event up the dom to our link-enabled handler below\r\n $body.on('click', '.linkEnabled a', function (e) {\r\n e.stopPropagation();\r\n });\r\n\r\n $body.on('click', '.linkEnabled', function (e) {\r\n\r\n //Prevent default actions & navigate them to the preferred link if one exists, or the nearest anchor tag\r\n e.preventDefault();\r\n var $anchor;\r\n\r\n if ($(this).find('.preferredLink').length > 0) {\r\n var $preferredLink = $(this).find('.preferredLink');\r\n //preferred-link can get added as a class through the RTE and will be added onto a new span tag in some instances\r\n if ($preferredLink.is('a')) $anchor = $preferredLink;\r\n else if ($preferredLink.find('a').length > 0) $anchor = $preferredLink.find('a');\r\n } else {\r\n $anchor = $(this).find('a');\r\n }\r\n\r\n if ($anchor !== null) {\r\n var url = $anchor.attr('href');\r\n var userTarget = $anchor.attr('target');\r\n var smartTarget = url.startsWith(\"/\") || url.startsWith(\"tel:\") || url.startsWith(\"mailto:\") ? \"_self\" : \"_blank\";\r\n var target = userTarget || smartTarget;\r\n window.open(url, target);\r\n } else {\r\n console.warn('Anchor tag could not be found');\r\n }\r\n });\r\n }\r\n};","(function($) {\r\n window.InstitutionHelper = {\r\n setPanelHeight: function (parentContainer, setHeightAuto) {\r\n var colMd3Selector = parentContainer + ' [data-area-col-span=\"3\"]';\r\n var colMd4Selector = parentContainer + ' [data-area-col-span=\"4\"]';\r\n var leftColumnSelectorString = colMd3Selector + ', ' + colMd4Selector;\r\n\r\n var containerHeight = $(parentContainer).height() ?? 0;\r\n $(leftColumnSelectorString).height(containerHeight).css({ 'overflow-y': 'auto', 'overflow-x': 'hidden' });\r\n },\r\n loadDetailsPanel: function (parentContainer, show) {\r\n var leftColumnSelectorString = parentContainer + ' [data-area-col-span=\"3\"]';\r\n var rightColumnSelectorString = parentContainer + ' [data-area-col-span=\"9\"]';\r\n var breadcrumbs = $('.breadcrumbs');\r\n\r\n $('#edit-p-form').resetForm();\r\n\r\n if (show) {\r\n $(leftColumnSelectorString).show();\r\n $(rightColumnSelectorString).addClass('regular');\r\n if (parentContainer !== '#l-manage-cards') {\r\n $(leftColumnSelectorString + ' button:first').focus();\r\n }\r\n $(\".inst-toggle-side\").hide();\r\n $(parentContainer).addClass('regular');\r\n if (breadcrumbs) {\r\n $(breadcrumbs).addClass('regular');\r\n }\r\n window.InstitutionHelper.setPanelHeight(parentContainer);\r\n } else {\r\n $(leftColumnSelectorString).hide();\r\n $(rightColumnSelectorString).removeClass('regular');\r\n $(\".inst-toggle-side\").show();\r\n $(parentContainer).removeClass('regular');\r\n if (breadcrumbs) {\r\n $(breadcrumbs).removeClass('regular');\r\n }\r\n }\r\n },\r\n hideMiddleColumn: function (parentContainer, show) {\r\n var shippingColumn = parentContainer + ' [data-area-col-span=\"4\"][data-area-alias=\"Column 2\"]';\r\n var columnSelector = parentContainer + ' [data-area-col-span=\"4\"]';\r\n //console.log(\"Show shipping column:\", show);\r\n\r\n if (show) {\r\n $(columnSelector).each(function (index) {\r\n $(this).removeClass('regular');\r\n $(shippingColumn).show();\r\n });\r\n }\r\n else {\r\n $(columnSelector).each(function (index) {\r\n $(this).addClass('regular');\r\n $(shippingColumn).hide();\r\n });\r\n }\r\n },\r\n participantPanelSectionVisible: function(ele, makeVisible) {\r\n if (makeVisible) {\r\n $('.m-participant-details .l-loader').hide();\r\n $(ele).show();\r\n } else {\r\n $(ele).hide();\r\n $('.m-participant-details .l-loader').show();\r\n }\r\n },\r\n showErrorNotification: function (message, delay) {\r\n if (delay === null || typeof (delay) === \"undefined\")\r\n delay = 6000;\r\n\r\n $('.notification.error').html('').html('' + message + '').slideDown(500).delay(delay).slideUp(500);\r\n },\r\n showSuccessNotification: function (message, delay) {\r\n if (delay === null || typeof (delay) === \"undefined\")\r\n delay = 6000;\r\n\r\n $('.notification.success').html('').html('' + message + '').slideDown(500).delay(delay).slideUp(500);\r\n },\r\n showSuccessCheckoutModal: function (message, body) {\r\n $(\".modal-message\", $(\"#instSuccessCheckoutModal\")).html(message);\r\n $(\".modal-message\", $(\"#instSuccessCheckoutModal\")).show();\r\n if (body) {\r\n $(\".modal-body p\", $(\"#instSuccessCheckoutModal\")).show();\r\n $(\".modal-body p\", $(\"#instSuccessCheckoutModal\")).html(body);\r\n } else {\r\n $(\".modal-body p\", $(\"#instSuccessCheckoutModal\")).hide();\r\n }\r\n $(\"#instSuccessCheckoutModal\").modal('show');\r\n },\r\n showSuccessModal: function (message) {\r\n $(\".modal-title\", $(\"#instSuccessModal\")).html(message);\r\n $(\".modal-title\", $(\"#instSuccessModal\")).show();\r\n $(\"#instSuccessModal\").modal('show');\r\n },\r\n showErrorModal: function (message, body) {\r\n $(\".modal-title\", $(\"#instErrorModal\")).html(message);\r\n $(\".modal-title\", $(\"#instErrorModal\")).show();\r\n $(\"#instErrorModal\").modal('show');\r\n },\r\n showBulkActionMessageModal: function (message, linkUrl) {\r\n $(\".modal-bulkmessage\", $(\"#instBulkActionMessageModal\")).html(message);\r\n $(\".modal-bulkmessage\", $(\"#instBulkActionMessageModal\")).show();\r\n $(\".modal-bulkheading\", $(\"#instBulkActionMessageModal\")).hide();\r\n $(\"#bulkActionOverviewLink\", $(\"#instBulkActionMessageModal\")).attr('href', linkUrl);\r\n $(\"#instBulkActionMessageModal\").modal('show');\r\n },\r\n setUpTabs: function (el, tabsSelector, tabButtonsSelector, tabContainerSelector, shouldAutoActivate=true) {\r\n var tabs = $(tabsSelector, el);\r\n var tabButtons = $(tabButtonsSelector, tabs);\r\n tabButtons.attr(\"tabindex\", \"-1\");\r\n tabButtons.first().attr(\"tabindex\", \"0\");\r\n function focusTabButton(button) {\r\n tabButtons.attr(\"tabindex\", \"-1\");\r\n $(button, tabs).attr(\"tabindex\", \"0\").focus();\r\n if (shouldAutoActivate) {\r\n activateTabButton(button);\r\n }\r\n }\r\n\r\n function activateTabButton(button) {\r\n new bootstrap.Tab(button).show();\r\n }\r\n\r\n $(tabButtons).on('keydown', function (e) {\r\n if (tabButtons.is(\":focus\")) {\r\n switch (e.key) {\r\n case \"ArrowRight\":\r\n var nextButton = $(tabButtonsSelector + \":focus\", tabs).parent().next(tabContainerSelector).children();\r\n // If there's a next button, go to that, else cycle to the first\r\n focusTabButton(nextButton.length ? nextButton[0] : tabButtons.first());\r\n break;\r\n case \"ArrowLeft\":\r\n var prevButton = $(tabButtonsSelector + \":focus\", tabs).parent().prev(tabContainerSelector).children();\r\n // If there's a previous button, go to that, else cycle to the last\r\n focusTabButton(prevButton.length ? prevButton[0] : tabButtons.last());\r\n break;\r\n case \"Home\":\r\n e.preventDefault();\r\n focusTabButton(tabButtons.first());\r\n break;\r\n case \"End\":\r\n e.preventDefault();\r\n focusTabButton(tabButtons.last());\r\n break;\r\n case \" \":\r\n case \"Enter\":\r\n if (!shouldAutoActivate) {\r\n activateTabButton($(tabButtonsSelector + \":focus\", tabs));\r\n }\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n };\r\n})(jQuery);","/* Non-Site Specific Init Events */\r\n\r\n//Add lazy support for background images:\r\ndocument.addEventListener('lazybeforeunveil', function (e) {\r\n var bg = e.target.getAttribute('data-bg');\r\n if (bg) {\r\n e.target.style.backgroundImage = 'url(' + bg + ')';\r\n }\r\n});\r\n\r\n// Passive touch event listeners\r\njQuery.event.special.touchstart = {\r\n setup: function (_, ns, handle) {\r\n this.addEventListener(\"touchstart\", handle, { passive: !ns.includes(\"noPreventDefault\") });\r\n }\r\n};\r\njQuery.event.special.touchmove = {\r\n setup: function (_, ns, handle) {\r\n this.addEventListener(\"touchmove\", handle, { passive: !ns.includes(\"noPreventDefault\") });\r\n }\r\n};\r\n","(function ($) {\r\n window.JsGridHelper = {\r\n caseInsensitiveAlphaSort: function (A, B, asc) {\r\n var a = A.toLowerCase();\r\n var b = B.toLowerCase();\r\n\r\n if (asc) {\r\n return (a > b) ? 1 : ((a < b) ? -1 : 0);\r\n } else {\r\n return (b > a) ? 1 : ((b < a) ? -1 : 0);\r\n }\r\n },\r\n currencySort: function (A, B, asc) {\r\n var a = Number(A.toString().replace(/(^\\$|,)/g, ''));\r\n var b = Number(B.toString().replace(/(^\\$|,)/g, ''));\r\n\r\n if (asc) {\r\n return (a > b) ? 1 : ((a < b) ? -1 : 0);\r\n } else {\r\n return (b > a) ? 1 : ((b < a) ? -1 : 0);\r\n }\r\n },\r\n /* Sorts a list of table results\r\n \r\n list: list of JSON objects\r\n property: name of property for the list to be sorted on\r\n direction: direction for the sort\r\n\r\n NOTE: Both property and direction are provided by jsGrid. Please see participantslist.js for an example of usage\r\n */\r\n sortResults: function (list, property, direction) {\r\n var self = this;\r\n var propertyValid = property !== '' && typeof (property) !== \"undefined\";\r\n var directionValid = direction !== '' && typeof (direction) !== \"undefined\";\r\n\r\n if (propertyValid && directionValid) {\r\n if (property === \"Name\") { // Special case - split/reverse/join the field to sort by last name (ugly workaround)\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.caseInsensitiveAlphaSort(a[property].split(\" \").reverse().join(\" \"), b[property].split(\" \").reverse().join(\" \"), direction === \"asc\");\r\n }\r\n });\r\n }\r\n else if (property === \"Amount\") {\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.currencySort(a[property], b[property], direction === \"asc\");\r\n }\r\n });\r\n }\r\n else\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.caseInsensitiveAlphaSort(a[property], b[property], direction === \"asc\");\r\n }\r\n });\r\n }\r\n\r\n return list;\r\n },\r\n sortLoginResults: function (list, property, direction) {\r\n var self = this;\r\n var directionValid = direction !== '' && typeof (direction) !== \"undefined\";\r\n\r\n if (directionValid) {\r\n if (property === \"Email\")\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.caseInsensitiveAlphaSort(a.PersonalData.Email, b.PersonalData.Email, direction === \"asc\" ? false : true);\r\n }\r\n });\r\n\r\n else if (property === \"Name\")\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.caseInsensitiveAlphaSort(a.PersonalData.LastName + a.PersonalData.FirstName, b.PersonalData.LastName + b.PersonalData.FirstName, direction === \"asc\" ? false : true);\r\n }\r\n });\r\n\r\n else if (property === \"Username\")\r\n list = list.sort(function (a, b) {\r\n if (a[property] === b[property]) {\r\n return 0;\r\n }\r\n else if (a[property] === null) {\r\n return 1;\r\n }\r\n else if (b[property] === null) {\r\n return -1;\r\n }\r\n else {\r\n return self.caseInsensitiveAlphaSort(a.UserName, b.UserName, direction === \"asc\" ? false : true);\r\n }\r\n });\r\n }\r\n\r\n return list;\r\n },\r\n /* Gets localized column names\r\n returns promise that can be accessed by .done(function(data){})\r\n\r\n columnObj: example obj\r\n\r\n {\r\n Columns: [\r\n { Name: 'col1', IsSortable: true },\r\n { Name: 'col2', IsSortable: false }\r\n ]\r\n }\r\n */\r\n getLocalizedColumnNames: function (columnObj) {\r\n return new PublicService.getLocalizedTableColumnNames(columnObj);\r\n }\r\n };\r\n})(jQuery);","(function () {\r\n var CreateMobileMenuController = function ($mobileMenuControllerElement) {\r\n var isCustomer = $mobileMenuControllerElement.attr('data-iscustomer') === 'true';\r\n var isInstitution = $mobileMenuControllerElement.attr('data-isinstitution') === 'true';\r\n var isGuest = !isCustomer && !isInstitution;\r\n var loginUrl = $mobileMenuControllerElement.attr('data-loginurl');\r\n var submenuBackText = $mobileMenuControllerElement.attr('data-submenubacktext');\r\n\r\n var _dropdownItems = [];\r\n\r\n return new Vue({\r\n el: $mobileMenuControllerElement.get(0),\r\n template: $mobileMenuControllerElement.get(0).outerHTML,\r\n data: function () {\r\n return {\r\n IsCustomer: isCustomer,\r\n IsInstitution: isInstitution,\r\n IsGuest: isGuest,\r\n LoginUrl: loginUrl,\r\n ProfileMenuOpened: false,\r\n NavigationMenuOpened: false,\r\n SubmenuOpened: false,\r\n SubmenuBackText: submenuBackText\r\n };\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n OnProfileBarToggleClicked: function () {\r\n if (this.IsGuest || this.IsInstitution) {\r\n window.location.href = this.LoginUrl;\r\n return;\r\n } else {\r\n this.__ToggleProfileMenu();\r\n }\r\n },\r\n OnMenuBarToggleClicked: function () {\r\n this.__ToggleNavigationMenu();\r\n },\r\n __ToggleProfileMenu: function () {\r\n if (this.ProfileMenuOpened) {\r\n this.__CloseProfileMenu();\r\n } else {\r\n this.__CloseNavigationMenu();\r\n this.__OpenProfileMenu();\r\n }\r\n },\r\n __ToggleNavigationMenu: function () {\r\n if (this.NavigationMenuOpened) {\r\n this.__CloseNavigationMenu();\r\n } else {\r\n this.__CloseProfileMenu();\r\n this.__OpenNavigationMenu();\r\n }\r\n },\r\n __OpenProfileMenu: function () {\r\n var vueModel = this;\r\n vueModel.$nextTick(function () {\r\n vueModel.ProfileMenuOpened = true;\r\n });\r\n },\r\n __CloseProfileMenu: function () {\r\n var vueModel = this;\r\n vueModel.$nextTick(function () {\r\n vueModel.ProfileMenuOpened = false;\r\n });\r\n },\r\n __OpenNavigationMenu: function () {\r\n var vueModel = this;\r\n vueModel.$nextTick(function () {\r\n vueModel.NavigationMenuOpened = true;\r\n });\r\n },\r\n __CloseNavigationMenu: function () {\r\n var vueModel = this;\r\n vueModel.$nextTick(function () {\r\n vueModel.NavigationMenuOpened = false;\r\n vueModel.__CloseAllSubmenus();\r\n });\r\n },\r\n __CloseAllSubmenus: function () {\r\n var vueModel = this;\r\n _dropdownItems.forEach(function (dropdownItem) {\r\n vueModel.__CloseSubmenu(dropdownItem);\r\n });\r\n },\r\n __OpenSubmenu: function (dropdownItem) {\r\n var vueModel = this;\r\n vueModel.__CloseAllSubmenus();\r\n dropdownItem.$dropdown.addClass('open');\r\n dropdownItem.$anchor.attr('aria-expanded', 'true');\r\n dropdownItem.$dropdown.attr('aria-hidden', 'false');\r\n dropdownItem.isOpen = true;\r\n window.setTimeout(function () {\r\n vueModel.SubmenuOpened = true;\r\n }, 501);\r\n },\r\n __CloseSubmenu: function (dropdownItem) {\r\n var vueModel = this;\r\n dropdownItem.$dropdown.removeClass('open');\r\n dropdownItem.$anchor.attr('aria-expanded', 'false');\r\n dropdownItem.$dropdown.attr('aria-hidden', 'true');\r\n dropdownItem.isOpen = false;\r\n window.setTimeout(function () {\r\n vueModel.SubmenuOpened = false;\r\n }, 501);\r\n },\r\n __BindNavigationSubmenuActions: function () {\r\n var vueModel = this;\r\n $(vueModel.$el).find('a[data-bs-toggle=\"dropdown\"').each(function () {\r\n var $anchor = $(this);\r\n var $dropdown = $(this).closest('.dropdown').find('.dropdown-menu').first();\r\n $dropdown.addClass('mobile-submenu');\r\n $anchor.addClass('has-submenu');\r\n $(this).closest('.dropdown').removeClass('dropdown');\r\n $anchor.removeClass('dropdown-toggle');\r\n $anchor.removeAttr('data-bs-toggle');\r\n $anchor.removeAttr('aria-haspopup');\r\n $dropdown.removeClass('dropdown-menu');\r\n _dropdownItems.push({\r\n $anchor: $anchor,\r\n $dropdown: $dropdown,\r\n isOpen: false\r\n });\r\n });\r\n _dropdownItems.forEach(function (item) {\r\n item.$anchor.click(function (event) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n if (item.isOpen) {\r\n _closeSubmenu(item);\r\n } else {\r\n _openSubmenu(item);\r\n }\r\n });\r\n });\r\n var _openSubmenu = function (dropdownItem) {\r\n vueModel.__OpenSubmenu(dropdownItem);\r\n };\r\n var _closeSubmenu = function (dropdownItem) {\r\n vueModel.__CloseSubmenu(dropdownItem);\r\n };\r\n }\r\n },\r\n mounted: function () {\r\n var vueModel = this;\r\n vueModel.$nextTick(function () {\r\n window.InitializeLogoutLinks();\r\n //if (!this.IsInstitution) {\r\n // window.InitializeDashboardInfoPanels();\r\n //}\r\n vueModel.__BindNavigationSubmenuActions();\r\n });\r\n }\r\n });\r\n };\r\n\r\n window.MobileMenuControllers = [];\r\n\r\n $(document).ready(function () {\r\n $('[data-vuemobilemenucontroller]').each(function () {\r\n window.MobileMenuControllers.push(CreateMobileMenuController($(this)));\r\n });\r\n });\r\n})();","(function ($) {\r\n svg4everybody();\r\n})(jQuery);","window.MarathonTagIEVersion = function() {\r\n var rv = -1; // Return value assumes failure.\r\n\r\n if (navigator.appName === 'Microsoft Internet Explorer') {\r\n\r\n var ua = navigator.userAgent,\r\n re = new RegExp(\"MSIE ([0-9]{1,}[\\\\.0-9]{0,})\");\r\n\r\n if (re.exec(ua) !== null) {\r\n rv = parseFloat(RegExp.$1);\r\n }\r\n }\r\n else if (navigator.appName === \"Netscape\") {\r\n /// in IE 11 the navigator.appVersion says 'trident'\r\n /// in Edge the navigator.appVersion does not say trident\r\n if (navigator.appVersion.indexOf('Trident') === -1) { }\r\n else {\r\n rv = 11;\r\n }\r\n }\r\n if (rv > -1) {\r\n var root = document.documentElement;\r\n if (root.className === \"\") {\r\n root.className += 'ie';\r\n }\r\n else {\r\n root.className += ' ie';\r\n }\r\n }\r\n return rv;\r\n}","window.MarathonTagIEVersion();\r\n\r\n$(document).ready(function () {\r\n window.SetLinksAsClickable.OnReady();\r\n window.CommonExtensions.enabledSmoothScrollToId();\r\n window.CommonExtensions.handleExternalLinks();\r\n window.CommonExtensions.initA11yMenu();\r\n window.CommonExtensions.ReCaptchaHelper.InitResponsiveReCaptcha();\r\n\r\n $(window).on('load', function () {\r\n window.CommonExtensions.ReCaptchaHelper.HandleADA();\r\n });\r\n\r\n if ($('.pageBreadcrumbs').length === 0) {\r\n $('.pageContent').addClass('noBreadcrumbs');\r\n }\r\n\r\n var adjustCustomerDashboardColumnHeight = function () {\r\n $('.customer-dashboard-column').each(function () {\r\n var $elem = $(this);\r\n var headerHeight = $('header').outerHeight();\r\n var footerHeight = $('footer').outerHeight();\r\n var breadcrumbsHeight = 0;\r\n if ($('.pageBreadcrumbs').length > 0) {\r\n breadcrumbsHeight = $('.pageBreadcrumbs').first().outerHeight();\r\n }\r\n var minHeightOfElem = `calc(100vh - ${(headerHeight + footerHeight + breadcrumbsHeight)}px)`;\r\n $elem.css('min-height', minHeightOfElem);\r\n });\r\n };\r\n adjustCustomerDashboardColumnHeight();\r\n $(window).on('resize', function () {\r\n adjustCustomerDashboardColumnHeight();\r\n });\r\n});","window.BootstrapADA = window.BootstrapADA || {};\r\n\r\nwindow.BootstrapADA.Collapse = (function ($, logger) {\r\n\r\n var _settings = {\r\n name: 'Collapse Bootstrap ADA',\r\n debug: true\r\n };\r\n\r\n var logDebug = logger.debugLogger(_settings);\r\n\r\n var _init = function () {\r\n var collapseEles = document.querySelectorAll('.collapse, .collapsed');\r\n\r\n $('[data-bs-toggle=\"collapse\"]').on({\r\n 'keydown': function (e) {\r\n if (e && (e.keyCode === 32 || e.which === 32 || e.key === ' ' || e.key === 'Space')) {\r\n // logDebug('SpaceBar Keyup on collapse toggle: ', e);\r\n // Keep from doing page scroll.\r\n e.preventDefault();\r\n\r\n var target = e.target.dataset.bsTarget;\r\n\r\n if (target) {\r\n $(target).collapse('toggle');\r\n }\r\n else {\r\n logError('No target identified for bootstrap collapse toggle');\r\n }\r\n }\r\n }\r\n });\r\n };\r\n\r\n // Fire this off when the page loads.\r\n $(function () {\r\n _init();\r\n });\r\n\r\n return {\r\n settings: _settings\r\n };\r\n})(jQuery, Loggers.Console);","(function ($) {\r\n // By default, events from nested collapse elements will bubble up and trigger scrollTo on the parent. Event propagation will be stopped for elements matching this selector\r\n var nestedCollapseSelectors = \"#cardmgmt-panelgroup .panel-group-type, #cardmgmt-panelgroup panel-group-products\";\r\n\r\n var scrollToAnimationOptions = {\r\n duration: 190,\r\n easing: \"easeOutQuint\",\r\n offset: { top: -125 }\r\n };\r\n\r\n $(function () {\r\n $(document).on(\"shown.bs.collapse\", nestedCollapseSelectors, function (e) { e.stopPropagation(); });\r\n\r\n $(document).on(\"shown.bs.collapse\", \"#cardmgmt-panelgroup > .panel > .panel-collapse\", function (e) {\r\n var panel = $(e.currentTarget);\r\n\r\n var target = panel;\r\n $(window).scrollTo($(target), scrollToAnimationOptions);\r\n });\r\n });\r\n})(jQuery);","////(function ($, window) {\r\n//// var isIE = /*@cc_on!@*/false || !!document.documentMode, // Internet Explorer 6-11\r\n//// isEdge = !isIE && !!window.StyleMedia; // Edge 20+\r\n\r\n//// var toggled = function () {\r\n//// if (isEdge) {\r\n//// try {\r\n//// // force refresh.\r\n//// this.style.display = 'inline-block';\r\n//// this.offsetHeight = this.offsetHeight;\r\n//// this.style.display = 'block';\r\n//// } catch (e) {\r\n//// window.console.error('Attempted to force refresh in IE.', e);\r\n//// }\r\n//// }\r\n//// };\r\n\r\n//// // Whenever data-bs-toggle is used, check if Edge to fix janky animation result.\r\n//// // Animation is still gross, but at least it cleans up after the collapse opens / closes.\r\n//// $('[data-bs-toggle=\"collapse\"]').on({\r\n//// 'shown.bs.collapse': toggled,\r\n//// 'hidden.bs.collapse': toggled\r\n//// });\r\n////})(jQuery, window);\r\n","(function ($) {\r\n window.__PasswordHintService = {\r\n Bind: function (fieldName, frm) {\r\n var fieldElement = $('[name=\"' + fieldName + '\"]', frm);\r\n if (!fieldElement.length) return;\r\n\r\n var fieldId = $(fieldElement).attr('id');\r\n var passwordContainer = $('[data-field-container=\"' + fieldId + '\"]', frm);\r\n if (!passwordContainer.length) return;\r\n\r\n var hintContainer = $('[data-hintfor=\"' + fieldId+'\"]', passwordContainer);\r\n\r\n var hintSteps = [\r\n $('[data-hintstep=\"1\"]', hintContainer),\r\n $('[data-hintstep=\"2\"]', hintContainer),\r\n $('[data-hintstep=\"3\"]', hintContainer),\r\n $('[data-hintstep=\"4\"]', hintContainer),\r\n $('[data-hintstep=\"5\"]', hintContainer)\r\n ];\r\n\r\n var UpperCaseRegexp = new RegExp(/[A-Z]/);\r\n var LowerCaseRegexp = new RegExp(/[a-z]/);\r\n var NumberRegexp = new RegExp(/[0-9]/);\r\n var SpecialRegexp = new RegExp(/[\\.,_\\-!@#$%^&*\\(\\)=+\\\\|\\[\\];:'\"<>\\/\\?{}]/);\r\n\r\n $('#' + fieldId, passwordContainer).on('keyup', function (e) {\r\n var Password = $(this).val();\r\n if (Password.length >= 8) hintSteps[0].addClass('pass');\r\n else hintSteps[0].removeClass('pass');\r\n\r\n if (Password.match(UpperCaseRegexp) !== null) hintSteps[1].addClass('pass');\r\n else hintSteps[1].removeClass('pass');\r\n\r\n if (Password.match(LowerCaseRegexp) !== null) hintSteps[2].addClass('pass');\r\n else hintSteps[2].removeClass('pass');\r\n\r\n if (Password.match(NumberRegexp) !== null) hintSteps[3].addClass('pass');\r\n else hintSteps[3].removeClass('pass');\r\n\r\n if (Password.match(SpecialRegexp) !== null) hintSteps[4].addClass('pass');\r\n else hintSteps[4].removeClass('pass');\r\n\r\n });\r\n }\r\n };\r\n})(jQuery);","(function ($) {\r\n $(function () {\r\n $('[rel=\"datepicker\"]').datepicker({\r\n changeMonth: true,\r\n changeYear: true\r\n });\r\n });\r\n})(jQuery);","/* javascript methods for dropdowns */\r\n(function ($) {\r\n // Fixes dropdown icons on page load (with a timeout for dropdowns still loading)\r\n $(document).on('DOMContentLoaded', function (e) {\r\n window.setTimeout(function () {\r\n fixDropdownArrows();\r\n }, 4000);\r\n });\r\n\r\n // Update dropdown icon during MouseDown, Blur, and KeyDown events are triggered.\r\n var fixDropdownArrows = function () {\r\n var dropdownButtons = $('select.form-select');\r\n\r\n dropdownButtons.on('mousedown', function () {\r\n var dropdownButton = $(this);\r\n\r\n var currentOpenAttr = dropdownButton.attr('data-open');\r\n if (currentOpenAttr && currentOpenAttr != undefined) {\r\n var currentOpenBool = currentOpenAttr == 'true' ? true : false;\r\n dropdownButton.attr('data-open', !currentOpenBool);\r\n }\r\n else { \r\n dropdownButton.attr('data-open', true);\r\n }\r\n });\r\n\r\n dropdownButtons.on('blur', function () {\r\n var dropdownButton = $(this);\r\n dropdownButton.attr('data-open', false);\r\n });\r\n\r\n dropdownButtons.on('keydown', function (event) {\r\n console.log('dropdown event');\r\n if (event.keyCode === 13 || event.key === 'Enter' || event.key === ' ' || event.keyCode === 32) {\r\n var dropdownButton = $(this);\r\n\r\n var currentOpenAttr = dropdownButton.attr('data-open');\r\n if (currentOpenAttr && currentOpenAttr != undefined) {\r\n var currentOpenBool = currentOpenAttr == 'true' ? true : false;\r\n dropdownButton.attr('data-open', !currentOpenBool);\r\n }\r\n else {\r\n dropdownButton.attr('data-open', true);\r\n }\r\n }\r\n });\r\n };\r\n})(jQuery);\r\n","(function () {\r\n var removeLoadingScreen = function () {\r\n var $body = $('body');\r\n var $siteWrapper = $('body > .js-site-wrapper');\r\n var $loadingScreen = $('body > .js-loading-screen');\r\n var $mainContent = $('#maincontent');\r\n\r\n $body.addClass('hideLoadingScreen');\r\n $siteWrapper.attr('aria-hidden', 'false');\r\n $loadingScreen.attr('aria-hidden', 'true');\r\n $mainContent.addClass('init');\r\n };\r\n $(document).ready(function () {\r\n removeLoadingScreen();\r\n });\r\n})(jQuery);\r\n","window.InitializeLogoutLinks = function () {\r\n $(function () {\r\n function logOutRedirect(href) {\r\n var jwt = Cookies.get(\"__jwt\");\r\n if (jwt === null || typeof (jwt) === \"undefined\") {\r\n window.location.href = href ? href : \"/sign-in/\";\r\n return;\r\n }\r\n\r\n setTimeout(function () {\r\n logOutRedirect(href);\r\n }, 500);\r\n }\r\n\r\n $(\"[data-logout]\").click(function (e) {\r\n e.preventDefault(); \r\n\r\n $.post(\"/umbraco/Api/SessionApi/AddTokenToBlacklist\", function () {\r\n Cookies.remove(\"__jwt\");\r\n var href = $(e.target).attr('href');\r\n logOutRedirect(href);\r\n }); \r\n });\r\n\r\n if ($('#force-logout-customer') && $('#force-logout-customer').is(':checked')) {\r\n Cookies.remove(\"__jwt\");\r\n logOutRedirect($('#force-logout-customer').attr(\"data-login-url\"));\r\n }\r\n\r\n if ($('#force-logout-inst-user') && $('#force-logout-inst-user').is(':checked')) {\r\n Cookies.remove(\"__jwt\");\r\n logOutRedirect($('#force-logout-inst-user').attr(\"data-login-url\"));\r\n }\r\n\r\n if ($('#force-logout-super-user') && $('#force-logout-super-user').is(':checked')) {\r\n Cookies.remove(\"__jwt\");\r\n logOutRedirect($('#force-logout-super-user').attr(\"data-login-url\"));\r\n }\r\n\r\n $(\".sub-account-admin-link\").on(\"click\", function () {\r\n InstitutionService.exitSubAccount().done(function (data) {\r\n if (typeof data !== \"undefined\" && data !== null && typeof data.Action !== \"undefined\") {\r\n if (data.Action === \"SetAuthToken\" && typeof data.Token !== \"undefined\") {\r\n Cookies.set('__jwt', data.Token, { secure: true });\r\n Cookies.remove(\"__fltr_participant\");\r\n Cookies.remove(\"__fltr_card\");\r\n Cookies.remove(\"__fltr_group\");\r\n window.location.href = \"/institution/sub-accounts/\";\r\n }\r\n }\r\n });\r\n });\r\n });\r\n};","(function ($) {\r\n $.extend($.mask, {\r\n \"autoclear\": false\r\n });\r\n})(jQuery);","//////////////////////////////////////////////////////////////////////\r\n// //\r\n// Add miscellaneous functions/bindings/events in here. //\r\n// //\r\n//////////////////////////////////////////////////////////////////////\r\n\r\n(function ($, CartService, API) {\r\n /**\r\n * Force scroll to top of page on load.\r\n */ \r\n if ('scrollRestoration' in window.history) {\r\n window.history.scrollRestoration = 'manual';\r\n }\r\n\r\n /**$(document).ready(function () {\r\n window.scrollBy({\r\n top: 0 - window.scrollY,\r\n left: 0,\r\n });\r\n });*/\r\n\r\n /**\r\n * Sign in dropdown triggers - any anchor with a \"#triggerSignInDropdown\" href attribute value\r\n * will control the sign in dropdown in the nav. This binds it.\r\n */\r\n $(document).ready(function () {\r\n var $signInDropdownTriggers = $('a[href=\"#triggerSignInDropdown\"]');\r\n $signInDropdownTriggers.each(function () {\r\n $(this).click(function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n focusSignInMenu();\r\n });\r\n });\r\n });\r\n\r\n /**\r\n * If on homepage with a return URL, open the sign in menu. \r\n */\r\n $(document).ready(function () {\r\n //if (window.location.search.includes(\"returnUrl\") && $('body').hasClass('homepage')) {\r\n // focusSignInMenu();\r\n //}\r\n });\r\n\r\n /**\r\n * Focuses the sign in menu in navigation. \r\n */\r\n var focusSignInMenu = function () {\r\n var isMobile = function () {\r\n return window.innerWidth <= 991;\r\n };\r\n var getSignInDropdownLinkInNav = function () {\r\n var $anchor = isMobile() ? $('.utility-nav a.login-link') : $('.primary-nav-desktop a.sign-in-dropdown');\r\n return $anchor.length > 0 ? $anchor.first() : null;\r\n };\r\n var $anchorInNav = getSignInDropdownLinkInNav();\r\n if ($anchorInNav !== null) {\r\n $anchorInNav.click();\r\n if (isMobile()) {\r\n $('.nav-sign-in-form.mobile-version form input[type=text]').first().focus();\r\n } else {\r\n $('.nav-sign-in-form.desktop-version form input[type=text]').first().focus();\r\n }\r\n }\r\n };\r\n\r\n /**\r\n * Binds the anchors to info modals\r\n */\r\n $(document).ready(function () {\r\n var bindModalFromId = function (modalId) {\r\n if (modalId !== '' && modalId !== undefined && modalId !== null) {\r\n var $anchorsThatNeedUpdating = $('a[href=\"#' + modalId + '\"]');\r\n $anchorsThatNeedUpdating.each(function () {\r\n var $anchor = $(this);\r\n $anchor.attr('data-bs-toggle', 'modal');\r\n $anchor.attr('data-bs-target', '#' + modalId);\r\n $anchor.attr('href', '#');\r\n $anchor.addClass('altered-in-misc-dot-js');\r\n });\r\n }\r\n };\r\n $('.js-info-modal').each(function () {\r\n bindModalFromId($(this).data('id'));\r\n });\r\n });\r\n\r\n /**\r\n * \"Add Payment\" modal (collectJS) saves some details to localStorage for use in shopping cart.\r\n * Let's just clear these out on every page load (except on shopping cart page refreshes) since we don't want this to be persistent.\r\n */\r\n $(document).ready(function () {\r\n if (window.location.href.includes('/shopping-cart')) {\r\n return;\r\n }\r\n var key1 = '_temporaryPaymentInformation';\r\n var key2 = '_collectJsResponse';\r\n window.localStorage.removeItem(key1);\r\n window.localStorage.removeItem(key2);\r\n });\r\n\r\n /**\r\n * Layout fixes for Institution\r\n */\r\n $(document).ready(function () {\r\n var breadcrumbsHTML = null;\r\n if ($('html').hasClass('institution') && $('#maincontent').hasClass('bulk-actions')) {\r\n breadcrumbsHTML = $('#maincontent > .breadcrumbs-content').html();\r\n $('.two-column-34-right.col-lg-9').first().prepend('
' + breadcrumbsHTML + '
');\r\n } else if ($('html').hasClass('institution') && $('#maincontent').hasClass('admin-manage-layout')) {\r\n breadcrumbsHTML = $('#maincontent > .breadcrumbs-content').get(0).outerHTML;\r\n $('[data-insert-breadcrumbs-here]').html(breadcrumbsHTML);\r\n } else if ($('html').hasClass('institution') && $('#maincontent').hasClass('manage-cards')) {\r\n breadcrumbsHTML = $('#maincontent > .breadcrumbs-content').html();\r\n $('[data-insert-manage-cards-breadcrumbs]').html(breadcrumbsHTML);\r\n } else if ($('html').hasClass('institution') && $('#maincontent').hasClass('manage-participants')) {\r\n breadcrumbsHTML = $('#maincontent > .breadcrumbs-content').html();\r\n $('[data-insert-manage-participants-breadcrumbs]').html(breadcrumbsHTML);\r\n } else if ($('html').hasClass('inst-order-history-page')) {\r\n $('#maincontent > .breadcrumbs-content').addClass('apply-layout-lr-padding');\r\n } else if ($('html').hasClass('manage-subaccounts-page')) {\r\n $('#maincontent > .breadcrumbs-content').addClass('apply-layout-lr-padding');\r\n $('.m-subaccounts-list').addClass('apply-layout-lr-padding');\r\n }\r\n });\r\n\r\n /**\r\n * Sub-account admin links (for exiting sub-accounts) \r\n */\r\n $(document).ready(function () {\r\n window.setTimeout(function () {\r\n var $html = $('html');\r\n var $breadcrumbs = $('.breadcrumbs-section');\r\n if ($breadcrumbs.length > 0 && $html.hasClass('subAccountAdmin')) {\r\n $breadcrumbs.find('.breadcrumbs-nav').append(\"\");\r\n }\r\n window.setTimeout(function () {\r\n $('a.exit-subaccount-link').click(function (event) {\r\n event.preventDefault();\r\n InstitutionService.exitSubAccount().done(function (data) {\r\n if (typeof data !== \"undefined\" && data !== null && typeof data.Action !== \"undefined\") {\r\n if (data.Action === \"SetAuthToken\" && typeof data.Token !== \"undefined\") {\r\n Cookies.set('__jwt', data.Token, { sameSite: 'None', secure: true });\r\n Cookies.remove(\"__pfltr\");\r\n Cookies.remove(\"__cfltr\");\r\n Cookies.remove(\"__gfltr\");\r\n window.location.href = \"/\" + window.__locale + \"/institution/administration/sub-accounts/\";\r\n }\r\n }\r\n });\r\n });\r\n }, 50);\r\n }, 200);\r\n });\r\n\r\n /**\r\n * Layout fixes for customer dashboard\r\n */\r\n $(document).ready(function () {\r\n var $main = $('main').first();\r\n var $mainContent = $('#maincontent');\r\n if (!$mainContent.hasClass('l-customerdashboard')) {\r\n return;\r\n }\r\n var otherElementsThatNeedHeightAdjustment = [\r\n $mainContent.find('.subpage-content'),\r\n $mainContent.find('.subpage-content .umbraco-grid'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner > section'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner > section > .container-fluid'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner > section > .container'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner .umbraco-row'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner .umbraco-row > .column'),\r\n $mainContent.find('.subpage-content .umbraco-grid .grid-inner .umbraco-row .m-dashboard-infopanel')\r\n ];\r\n var setHeights = function (pixels) {\r\n var adjust = function ($elem) {\r\n $elem.css('min-height', pixels + 'px');\r\n };\r\n adjust($mainContent);\r\n otherElementsThatNeedHeightAdjustment.forEach(function ($elem) {\r\n $elem.each(function () {\r\n adjust($(this));\r\n });\r\n });\r\n };\r\n var adjustMainContentHeight = function (applyDelay) {\r\n setHeights(0);\r\n window.setTimeout(function () {\r\n var mainHeight = $main.get(0).offsetHeight;\r\n setHeights(mainHeight);\r\n }, (applyDelay ? 400 : 0));\r\n };\r\n adjustMainContentHeight(false);\r\n $(window).on('resize orientationchange zoom', function () {\r\n adjustMainContentHeight(true);\r\n });\r\n // Breadcrumbs\r\n var $targetColumn = $mainContent.find('.umbraco-row > .column:last-child').first();\r\n var breadcrumbsHtml = $mainContent.find('.breadcrumbs-content').first().html();\r\n $targetColumn.prepend(\"\");\r\n });\r\n\r\n /**\r\n * Dollar sign inputs - make the $ darker when there is a value in the input.\r\n **/\r\n $(document).ready(function () {\r\n var dollarSignInputSelector = \".make-dollarsign-input\";\r\n var classIfHasValue = \"hasValueInInput\";\r\n var bindDollarSignInputEvents = function () {\r\n $(dollarSignInputSelector).each(function () {\r\n var $elem = $(this);\r\n var $input = $elem.find('input').first();\r\n if ($elem.attr('data-bound') !== 'true') {\r\n $(this).on('keydown keyup focus blur change click', function () {\r\n var value = $input.val();\r\n if (value === null || value === '' || value === undefined) {\r\n $elem.removeClass(classIfHasValue);\r\n } else {\r\n $elem.addClass(classIfHasValue);\r\n }\r\n });\r\n $elem.attr('data-bound', 'true'); \r\n }\r\n });\r\n };\r\n window.setInterval(bindDollarSignInputEvents, 1000); \r\n });\r\n})(jQuery, CartService, API);\r\n\r\n/* Institution Global Notifications Modals */\r\n(function ($) {\r\n $('.global-notifications-modal').each(function () {\r\n var $modal = $(this);\r\n $modal.on('hidden.bs.modal', function () {\r\n $modal.find('.modal-message').html('');\r\n });\r\n });\r\n})(jQuery);","/* javascript methods for modals */\r\n(function ($) {\r\n $(function () {\r\n SetupIframeModalTriggers();\r\n\r\n $('body').on('hidden.bs.modal', function () {\r\n if ($('.modal.show').length) {\r\n $('body').addClass('modal-open');\r\n }\r\n });\r\n });\r\n function SetupIframeModalTriggers() {\r\n var iframeModalTriggers = $('.iframeModalTrigger');\r\n iframeModalTriggers.click(function () {\r\n var modal = $(this).data('bs-target');\r\n //set iframe src\r\n var iframeSrc = $(this).attr('data-iframeSrc');\r\n $(modal + ' iframe').attr('src', iframeSrc);\r\n //set title\r\n var title = $(this).attr('data-modal-title');\r\n $(modal + ' .modal-title').text(title);\r\n\r\n var titleNotEmpty = (title && title.trim());\r\n\r\n if (titleNotEmpty) {\r\n $(modal + ' .modal-title').removeClass('display-none');\r\n }\r\n else {\r\n $(modal + ' .modal-title').addClass('display-none');\r\n }\r\n\r\n $(modal + ' iframe').attr('title', 'Embedded Youtube Video');\r\n if (title !== \"\") {\r\n $(modal + ' iframe').attr('title', title);\r\n }\r\n\r\n //remove modal info on close\r\n $(modal).on('hidden.bs.modal', function () {\r\n $(modal + ' iframe').attr('src', '');\r\n $(modal + ' iframe').attr('title', 'Embedded Youtube Video');\r\n $(modal + ' .modal-title').text('');\r\n });\r\n });\r\n }\r\n})(jQuery);","(function ($) {\r\n \"use strict\";\r\n var navs = [];\r\n var detectMobileSelector = \"#_CheckForMobile\";\r\n var slideMenus = [];\r\n //var keyFocusedMenu = false;\r\n\r\n var slideMenuAnimationOptions = {\r\n duration: 350,\r\n easing: \"easeOutQuint\"\r\n };\r\n\r\n var resetSlideMenu = function (parent, panel) {\r\n var parentWidth = $(parent).width();\r\n $(panel).hide().css(\"left\", parentWidth);\r\n };\r\n\r\n var openSlideMenu = function (parent, panelContainer, menu) {\r\n var panel = $('
    ' + $(menu).html() + '
');\r\n resetSlideMenu(parent, panel);\r\n\r\n $(panel).appendTo(panelContainer);\r\n $(panel).show().animate({ left: 0 }, slideMenuAnimationOptions);\r\n slideMenus.push(menu);\r\n };\r\n\r\n var closeSlideMenu = function (nav, panelContainer) {\r\n var width = $(nav).width() + 1; // One extra pixel to ensure nav slides out of view\r\n\r\n var lastPanel = $(\".navbar-slidepanel:last-child\", panelContainer);\r\n $(lastPanel).animate({ left: width + \"px\" }, $.extend({}, slideMenuAnimationOptions, { complete: function() { $(lastPanel).remove(); }}));\r\n };\r\n\r\n var preventDoubleNavbarExpand = function () {\r\n // Allow one instance of mobile nav open at one time\r\n navs = $(\".l-header .navbar-collapse\");\r\n navs.on(\"show.bs.collapse\", function (e) {\r\n navs.not(this).collapse('hide');\r\n });\r\n };\r\n\r\n /**\r\n * Adds 'no-scroll' class to Body when mobile nav menus open.\r\n * */\r\n var preventScrollMobileMenu = function () {\r\n var navs = $('.l-header .navbar-collapse');\r\n var body = document.querySelector('body');\r\n\r\n navs.on('show.bs.collapse', function () {\r\n body.classList.add('no-scroll');\r\n });\r\n navs.on('hide.bs.collapse', function () {\r\n body.classList.remove('no-scroll');\r\n });\r\n // Had a wonderful scroll fix that worked everywhere except for safarIE! Now using this ugly method..\r\n };\r\n\r\n var isMobile = function () {\r\n return !$(detectMobileSelector).is(\":hidden\");\r\n };\r\n\r\n var setupBootstrapDropdownNavEvents = function () {\r\n // Force the menu to stay open when opened with the spacebar.\r\n $('.nav-item.dropdown').on({\r\n 'keypress': function (e) {\r\n if (e && (e.keycode === 32 || e.which === 32)) { // spacebar\r\n e.preventDefault();\r\n var target = e.currentTarget;\r\n\r\n window.setTimeout(function () {\r\n if (!$(target).hasClass('open')) {\r\n $(target).find('.dropdown-toggle').dropdown('toggle');\r\n }\r\n }, 10);\r\n }\r\n }\r\n });\r\n\r\n // Close the menu when tabbed out of but make sure it doesn't close on form submission.\r\n var dropdownElements = $('.nav .dropdown-menu').find('input, a, button, select');\r\n var successAlert = document.querySelector('.nav .dropdown-menu .form-results-container.alert-success');\r\n var successStyle = successAlert ? window.getComputedStyle(successAlert) : null;\r\n dropdownElements.on({\r\n 'focus': function (e) {\r\n $(this).addClass('js-key-focus');\r\n },\r\n 'blur': function (e) {\r\n $(this).removeClass('js-key-focus');\r\n\r\n //window.setTimeout(function () {\r\n // if (!document.querySelector('.js-key-focus') && // still on a field\r\n // (successStyle && successStyle.display === 'none')) { // success message displaying\r\n\r\n // $('.nav .dropdown .dropdown-toggle').dropdown('toggle');\r\n // }\r\n //}, 10);\r\n }\r\n });\r\n \r\n // Setup Mobile indicator / Back buttons - opens subnav on click rather than hover/focus\r\n $(document).on(\"click\", \".subnav-indicator-mobile\", function (e) {\r\n e.preventDefault();\r\n\r\n var parentDropdown = $(e.currentTarget).parents(\".dropdown\");\r\n var parentNav = $(parentDropdown).parents(\".navbar-collapse\");\r\n var slidePanelContainer = $(\".navbar-slidepanels\", parentNav);\r\n var menu = $(\".dropdown-menu\", parentDropdown);\r\n\r\n openSlideMenu(parentDropdown, slidePanelContainer, menu);\r\n }).on(\"click\", \".slidepanel-back-li a\", function (e) {\r\n e.preventDefault();\r\n\r\n var parentNav = $(e.currentTarget).parents(\".navbar-collapse\");\r\n var slidePanelContainer = $(\".navbar-slidepanels\", parentNav);\r\n\r\n closeSlideMenu(parentNav, slidePanelContainer);\r\n });\r\n };\r\n\r\n var expandPanelFromUrl = function () {\r\n if (typeof window.location.hash !== 'undefined' &&\r\n window.location.hash !== '' &&\r\n window.location.hash !== '#') // instead of being empty this is # for IE...\r\n {\r\n var collapsiblePanel = $(window.location.hash + '.collapse');\r\n if (collapsiblePanel.length > 0) {\r\n collapsiblePanel.collapse('show');\r\n window.setTimeout(function () {\r\n //get header height and factor it in if it's fixed\r\n var header = $('header').first();\r\n var headerHeight = 0;\r\n if (header.css('position') === 'fixed') {\r\n headerHeight = header.height();\r\n }\r\n $('html,body').animate({\r\n scrollTop: collapsiblePanel.offset().top - headerHeight\r\n }, 500);\r\n }, 2000);\r\n }\r\n }\r\n };\r\n\r\n $(function () {\r\n preventDoubleNavbarExpand();\r\n preventScrollMobileMenu();\r\n setupBootstrapDropdownNavEvents();\r\n expandPanelFromUrl();\r\n\r\n $('.welcome-container .userName')\r\n .each(function () {\r\n var vue = new Vue({\r\n el: '.welcome-container .userName',\r\n data: {\r\n userInfo: {},\r\n isCustomer: $('.welcome-container').data('is-customer') == \"True\" ? true : false\r\n },\r\n computed: {\r\n FullName: function () {\r\n var fullName = (this.userInfo.hasOwnProperty(\"FirstName\") ? this.userInfo.FirstName + ' ' : \"\") +\r\n (this.userInfo.hasOwnProperty(\"LastName\") ? this.userInfo.LastName : \"\");\r\n return fullName;\r\n }\r\n }\r\n });\r\n\r\n function getUserDetails() {\r\n if (vue.isCustomer) {\r\n CustomerService.getCustomerAccount().done(function (res, sta, xhr) {\r\n if (res && res.Success) {\r\n vue.userInfo = res.Data;\r\n\r\n window.InitEvents.customerAccountLoad.dispatch(res.Data);\r\n }\r\n });\r\n }\r\n else {\r\n InstitutionService.getInstitutionAccountLoginId().done(function (res) {\r\n if (res.Success && res.Data && res.Data.PersonalData) {\r\n vue.userInfo = res.Data.PersonalData;\r\n }\r\n\r\n window.InitEvents.loginLoaded.dispatch(res.Data);\r\n }).fail(function (jqXHR, exception) {\r\n alert(exception);\r\n });\r\n }\r\n }\r\n\r\n getUserDetails();\r\n });\r\n });\r\n})(jQuery);\r\n","(function ($) {\r\n var _vm;\r\n\r\n var warnModalSelector = \"#sessionExpirationWarningModal\";\r\n var expiredModalSelector = \"#sessionExpiredModal\";\r\n\r\n var extendOnEvents = \"click keyup scroll\"; // Extend session when these events fire\r\n var warnThreshhold = 300; // Warn user if no activity and session expires in less than X seconds\r\n var sleepBetweenChecks = 60; // Wait time between idle session checks\r\n var extendSessionGovernor = 60; // Throttle session extension requests - allow one per X seconds\r\n var extensionsPaused = false; // Disable extension requests - gets reset by timer\r\n var modalVisible = false;\r\n\r\n var userHasSession = function () {\r\n return Cookies.get('__jwt') !== undefined;\r\n };\r\n\r\n var closeAllModals = function () {\r\n $('.modal.show').modal('hide');\r\n };\r\n\r\n var checkTimeInSession = function () {\r\n\r\n if (!userHasSession()) return;\r\n\r\n $.get(\"/umbraco/Api/SessionApi/Ping\", function (res, sta, xhr) {\r\n console.log('expires in', res, \"seconds\");\r\n if (res === 0) {\r\n closeAllModals();\r\n $(expiredModalSelector).modal('show');\r\n Cookies.remove('__jwt');\r\n window.setTimeout(function () {\r\n var url = $(\"[data-logout]\").attr('href');\r\n window.location.href = url ? url : '/';\r\n }, 4000);\r\n return;\r\n }\r\n\r\n if (!modalVisible && (res < warnThreshhold || res < sleepBetweenChecks * 2) ) {\r\n closeAllModals();\r\n $(warnModalSelector).modal('show');\r\n }\r\n });\r\n };\r\n\r\n var extendSession = function (force, cb) {\r\n if (!userHasSession()) return;\r\n\r\n if (!extensionsPaused || force) {\r\n extensionsPaused = true;\r\n\r\n $.post(\"/umbraco/Api/SessionApi/ExtendSession\", function (res, sta, xhr) {\r\n //console.log(res);\r\n if (typeof res.data !== \"undefined\" && res.data !== null && typeof res.data.Action !== \"undefined\") {\r\n if (res.data.Action === \"SetAuthToken\" && typeof res.data.Token !== \"undefined\") {\r\n Cookies.set('__jwt', res.data.Token, { sameSite: 'None', secure: true });\r\n\r\n window.setTimeout(function () { extensionsPaused = false; }, extendSessionGovernor * 1000);\r\n\r\n if (typeof cb === \"function\") cb(true);\r\n return;\r\n }\r\n }\r\n\r\n extensionsPaused = false;\r\n if (typeof cb === \"function\") cb(false);\r\n });\r\n }\r\n };\r\n\r\n var extendSessionCallback = function (success) {\r\n $(warnModalSelector).modal('hide');\r\n _vm.Success = success;\r\n _vm.Failed = !success;\r\n };\r\n\r\n $(function () {\r\n if ($(warnModalSelector).length <= 0 && $(expiredModalSelector).length <= 0) return;\r\n\r\n _vm = new Vue({\r\n el: warnModalSelector,\r\n data: {\r\n Success: false,\r\n Failed: false,\r\n },\r\n methods: {\r\n Extend: function () {\r\n extendSession(true, extendSessionCallback);\r\n }\r\n }\r\n });\r\n\r\n $(warnModalSelector).on('hidden.bs.modal', function (e) {\r\n _vm.Success = false;\r\n _vm.Failed = false;\r\n modalVisible = false;\r\n }).on('shown.bs.modal', function (e) {\r\n modalVisible = true;\r\n });\r\n\r\n $(expiredModalSelector).on('hidden.bs.modal', function (e) {\r\n location.reload(true);\r\n });\r\n\r\n // Setup idle check timer\r\n window.setInterval(checkTimeInSession, sleepBetweenChecks * 1000);\r\n\r\n // Setup extension on events\r\n extendSession(false); // Extend session on page load\r\n $(document).on(extendOnEvents, function (e) {\r\n if ($(e.target).data(\"extend-session\") === \"no\") return;\r\n extendSession(false);\r\n });\r\n });\r\n})(jQuery);","(function ($) {\r\n $(function () {\r\n $(\"input,textarea\").placeholder();\r\n });\r\n})(jQuery);","var CartService = (function ($, API) {\r\n return {\r\n PRODUCT_TYPE_TOPUP: 8, // Product type id for TOPUP product\r\n PRODUCT_TYPE_REPLACEMENT: 20,\r\n PRODUCT_TYPE_APPLICATION_FEE: 11,\r\n PRODUCT_TYPE_GROUP_PASS: 205,\r\n TEMPORARY_PAYMENT_INFORMATION_KEY: '_temporaryPaymentInformation',\r\n COLLECT_JS_RESPONSE_KEY: '_collectJsResponse',\r\n saveCollectJsResponseToLocalStorage: function (collectJsResponse) {\r\n window.localStorage.removeItem(CartService.COLLECT_JS_RESPONSE_KEY);\r\n window.localStorage.setItem(CartService.COLLECT_JS_RESPONSE_KEY, JSON.stringify(collectJsResponse));\r\n },\r\n fetchCollectJsResponseFromLocalStorage: function () {\r\n var object = window.localStorage.getItem(CartService.COLLECT_JS_RESPONSE_KEY);\r\n if (object !== null) {\r\n return JSON.parse(object);\r\n }\r\n return null;\r\n },\r\n saveBillingAndPaymentInformationToLocalStorage: function (billingInfo, paymentInfo) {\r\n window.localStorage.removeItem(CartService.TEMPORARY_PAYMENT_INFORMATION_KEY);\r\n window.localStorage.setItem(CartService.TEMPORARY_PAYMENT_INFORMATION_KEY, JSON.stringify({\r\n BillingInfo: billingInfo,\r\n PaymentInfo: paymentInfo\r\n }));\r\n },\r\n fetchSavedBillingInformationFromLocalStorage: function () {\r\n var items = window.localStorage.getItem(CartService.TEMPORARY_PAYMENT_INFORMATION_KEY);\r\n if (items !== null) {\r\n return JSON.parse(items).BillingInfo;\r\n }\r\n return null;\r\n },\r\n fetchSavedPaymentInformationFromLocalStorage: function () {\r\n var items = window.localStorage.getItem(CartService.TEMPORARY_PAYMENT_INFORMATION_KEY);\r\n if (items !== null) {\r\n return JSON.parse(items).PaymentInfo;\r\n }\r\n return null;\r\n },\r\n updateCartBadge: function (qty) {\r\n $(\".cart-badge-quantity\").html((qty > 0) ? qty : 0);\r\n },\r\n setCartIdCookie: function (cartId) {\r\n Cookies.set('__crt', cartId, { sameSite: 'Strict', secure: true });\r\n },\r\n //getGuestStoredValueOptions: function (form) {\r\n // return API.request('post', \"/umbraco/api/ShoppingCartApi/GetGuestStoredValueOptions\", form);\r\n //},\r\n //getTotalInCart: function () {\r\n // return API.request('post', \"/umbraco/api/ShoppingCartApi/GetShoppingCartTotal\");\r\n //},\r\n getItemsInCart: function () {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetShoppingCartNumItems\");\r\n },\r\n getShoppingCart: function () {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetShoppingCart\");\r\n },\r\n getProductIdsInCart: function (fareMediaId, productIds, isGuest) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetProductIdsInCart\", { FareMediaId: fareMediaId, ProductIds: productIds, IsGuest: isGuest });\r\n },\r\n getLimitedValidityProductsInCart: function (fareMediaId) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetLimitedValidityProductsInCart\", { FareMediaId: fareMediaId });\r\n },\r\n addItemToCart: function (card) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/AddItem', card);\r\n },\r\n //addItemsToCart: function(form){\r\n // return API.request('post', '/umbraco/Api/ShoppingCartApi/AddItems', form);\r\n //},\r\n updateItemQuantity: function(form){\r\n return API.request('post', \"/umbraco/Api/ShoppingCartApi/UpdateItemQuantity\",form);\r\n },\r\n updateItemProductQuantity: function(form){\r\n return API.request('post', \"/umbraco/Api/ShoppingCartApi/UpdateItemProductQuantity\", form);\r\n },\r\n addValueAddToCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddCardValueToShoppingCart', form);\r\n },\r\n addValueAddToGuestCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddCardValueToGuestShoppingCart', form);\r\n },\r\n addValuesAddToCart: function (transitAccountIds, value) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddCardValuesToShoppingCart', { TransitAccountId: transitAccountIds, Amount: value });\r\n },\r\n addBulkValueAddToCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddBulkCardValueToShoppingCart', form);\r\n },\r\n addProductToCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddProductToShoppingCart', form);\r\n },\r\n addProductToGuestCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddProductToGuestShoppingCart', form);\r\n },\r\n addBulkProductToCart: function (form) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddBulkProductToShoppingCart', form);\r\n },\r\n removeProductFromCart: function (card) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/DeleteItem', card);\r\n },\r\n deleteCart: function (token) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/DeleteCart\", token);\r\n },\r\n addProductsToCart: function (transitAccountIds, productId, quantity) {\r\n return API.request('post', '/umbraco/Api/ShoppingCartApi/PostAddProductsToShoppingCart', { TransitAccountId: transitAccountIds, ProductId: productId, Quantity: quantity });\r\n },\r\n checkoutShoppingCartCustomer: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/PostShoppingCartCheckoutCustomer\", form);\r\n },\r\n checkoutShoppingCartGuest: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/PostShoppingCartCheckoutGuest\", form);\r\n },\r\n checkoutShoppingCartInstitution: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/PostShoppingCartCheckoutInstitution\", form);\r\n },\r\n getPaymentProcessing: function (paymentProcessingId) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/PostGetPaymentProcessing\", { PaymentProcessingId: paymentProcessingId });\r\n },\r\n //nothing returned from this endpoint\r\n cancelPaymentProcessing: function (paymentProcessingId) {\r\n API.request('post', \"/umbraco/api/ShoppingCartApi/PostCancelPaymentProcessing\", { PaymentProcessingId: paymentProcessingId });\r\n },\r\n getOrderByOrderId: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetOrderByOrderId\", form);\r\n },\r\n getOrders: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetOrders\", form);\r\n },\r\n getReceiptDetails: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetReceiptDetails\", form);\r\n },\r\n getPromoCodeByPromoCodeNumber: function (form) {\r\n return API.request('post', \"/umbraco/api/ShoppingCartApi/GetPromoCodeByPromoCodeNumber\", form);\r\n }\r\n };\r\n})(jQuery, API);","var CustomerService = (function ($, API) {\r\n return {\r\n getCustomerAccount: function () { \r\n return API.request('post',\"/umbraco/api/CustomerAccountApi/GetCurrentCustomerAccount\");\r\n },\r\n getCanAddPaymentMethods: function(form){\r\n return API.request('post', \"/umbraco/api/CustomerAccountApi/GetCanAddPaymentMethods\",form);\r\n },\r\n getCustomerAccountAddresses: function () {\r\n return API.request('post',\"/umbraco/api/CustomerAccountApi/GetCurrentCustomerAddresses\");\r\n },\r\n getPaymentMethods: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdFundingSources\");\r\n },\r\n getCustomerAccountByIdAddressById:function(form){\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdAddressById\",form);\r\n },\r\n getCustomerAccountByIdAddress: function(){\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdAddress\");\r\n },\r\n getTransitAccounts: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransitAccounts\");\r\n },\r\n getTransitAccountProducts: function (transitAccountId) {\r\n return API.request('post', '/umbraco/Api/CustomerAccountApi/GetTransitAccountProducts', { TransitAccountId: transitAccountId });\r\n },\r\n getTransitAccountCardholder: function (form) {\r\n return API.request('post', '/umbraco/Api/CustomerAccountApi/GetTransitAccountCardholder', form);\r\n },\r\n getTransitAccountById: function (transitAccountId) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransitAccountById\", { TransitAccountId: transitAccountId });\r\n },\r\n getTransitAccountByIdTrip: function (transitAccountId) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransitAccountByIdTrip\", { TransitAccountId: transitAccountId });\r\n },\r\n getCappingPotsByTransitAccountId: function (transitAccountId) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCappingPotsByTransitAccount\", { TransitAccountId: transitAccountId });\r\n },\r\n getTransactionHistory: function (transitAccountId, take) {\r\n if(take){\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransactionHistory\", { TransitAccountId: transitAccountId, Take: take });\r\n } else {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransactionHistory\", { TransitAccountId: transitAccountId });\r\n }\r\n },\r\n getTransactionHistoryTable: function (form) { // Will need to switch to this to paginate and just get rid of above call\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetTransactionHistoryTable\", form);\r\n },\r\n getFundingSources: function () {\r\n return API.request('post', \"/umbraco/api/CustomerAccountApi/GetCustomerAccountByIdFundingSources\");\r\n },\r\n addFundingSource: function (data) {\r\n return API.request('post', \"/umbraco/api/CustomerAccountApi/PostAddPaymentMethod\", data);\r\n },\r\n deleteFundingSource: function (form) {\r\n return API.request('post', \"/umbraco/api/CustomerAccountApi/DeleteCustomerAccountByIdFundingSourceById\", form);\r\n },\r\n getMessageEvents: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetMessageEvents\");\r\n },\r\n getMessageSettings: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdMessageSettings\");\r\n },\r\n putMessageSettings: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/PutCustomerAccountByIdMessageSettings\", form);\r\n },\r\n getCustomerNotifications: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerNotifications\", form);\r\n },\r\n putNotifications: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/PutNotifications\", form);\r\n },\r\n getNotificationSettings: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdNotificationSettings\");\r\n },\r\n putNotificationSettings: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/PutCustomerAccountByIdNotificationSettings\", form);\r\n },\r\n getDeviceTokens: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountByIdDeviceTokens\");\r\n },\r\n getSecurityQuestions: function () {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetSecurityQuestions\");\r\n },\r\n postAuthorizePaymentMethod: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/PostAuthorizePaymentMethod\", form);\r\n },\r\n getCustomerAccountSalesHistoryTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountSalesHistoryTable\", form);\r\n },\r\n getCustomerAccountSalesHistory: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountSalesHistory\", form);\r\n },\r\n getCustomerAccountSalesHistoryDetailById: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetCustomerAccountSalesHistoryDetailById\", form);\r\n },\r\n getSaleByTransactionId: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetSaleBySaleTransactionId\", form);\r\n },\r\n getSaleByTransitAccount: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/GetSaleByTransitAccount\", form);\r\n },\r\n postTransferTransitAccountProducts: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/TransferBalance\", form);\r\n },\r\n putCloseTransitAccount: function (transitAccountId) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/CloseTransitAccount\", { TransitAccountId: transitAccountId });\r\n },\r\n putReplaceCard: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/ReplaceCard\", form);\r\n },\r\n postLockCard: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/LockCard\", form);\r\n },\r\n postFundingSource: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/ReceivePaymentInformation\", form);\r\n },\r\n postAddCollectJsPaymentMethod: function (form) {\r\n return API.request('post', \"/umbraco/Api/CustomerAccountApi/PostAddCollectJsPaymentMethod\", form);\r\n }\r\n };\r\n})(jQuery,API);","var InstitutionService = (function($, API) {\r\n return {\r\n getFundingSources: function() {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountFundingSources\");\r\n },\r\n putInstitutionAccountFundingSourceDefault: function(form){\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountFundingSourceDefault\", form);\r\n },\r\n getFundingSourceById: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountFundingSourceById\", form);\r\n },\r\n unlinkCardParticipant: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/UnlinkCardParticipant\", form, true, false, \"json\");\r\n },\r\n deleteInstitutionParticipant: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/DeleteInstitutionAccountParticipant\", form);\r\n },\r\n getSingleCardInfo: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetSingleCardInfo\", form);\r\n },\r\n getMultipleCardsInfo: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetMultipleCardsInfo\", { Ids: form }, true, false, \"json\");\r\n },\r\n getCardParticipantInfo: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetCardParticipant\", form);\r\n },\r\n //batchCardDisable: function (blockingInfo) {\r\n // return API.request('post', \"/umbraco/Api/InstitutionAccountApi/BlockMultipleInstitutionTransitAccount\", blockingInfo, true, false, \"json\");\r\n //},\r\n getCurrentUserId: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetCurrentUserId\", {}, true, false, \"json\");\r\n },\r\n getInstitutionAccountLoginById: function (loginId) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountLoginByIdForm\", { AccountId: loginId }, true, false, \"json\");\r\n },\r\n getInstitutionAccountLoginId: function (loginId) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountLoginById\");\r\n },\r\n getInstitutionAccountLoginIdSecurityQuestions: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountLoginByIdSecurityQuestions\");\r\n },\r\n getOrderHistorySaleDetails: function (saleTransactionId) { \r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountSalesHistoryDetailById\", { SaleTransactionId: saleTransactionId });\r\n },\r\n getInstitutionAccountAddressById: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountAddressById\", form, true, false, \"json\");\r\n },\r\n getInstitutionAccountLogins: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountLogins\", form);\r\n },\r\n getManageCardsTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetManageCardsTable\", form);\r\n },\r\n getInstitutionAccountTransitAccountsExport: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetTransitAccountsExport\", form);\r\n },\r\n unblockInstitutionTransitAccount: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/UnblockInstitutionTransitAccount\", form);\r\n },\r\n blockInstitutionTransitAccount: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/BlockInstitutionTransitAccount\", form);\r\n },\r\n getInstitutionAccountsSalesHistoryTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountsSalesHistoryTable\", form);\r\n },\r\n getInstitutionAccountsInvoiceHistoryTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInvoiceHistoryTable\", form);\r\n },\r\n getInstitutionAccountParticipants: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipants\", form);\r\n },\r\n getInstitutionAccountParticipantsById: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipantsById\", form);\r\n },\r\n getInstitutionAccountParticipantsTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipantsTable\", form);\r\n },\r\n getInstitutionAccountParticipantsExport: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipantsForExport\", form);\r\n },\r\n getParticipantGroups: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipantGroups', form);\r\n },\r\n getParticipantGroupModelResult: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountParticipantGroupModelResult', form);\r\n },\r\n getParticipantGroupById: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountsParticipantGroupById', form);\r\n },\r\n deleteParticipantGroup: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/DeleteInstitutionAccountsParticipantGroup', form);\r\n },\r\n deleteInstitutionAccountShippingAddressById: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/DeleteInstitutionAccountShippingAddressById\", form);\r\n },\r\n getInstitutionAccountAddresses: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountAddresses\");\r\n },\r\n getInstitutionAccounts: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccounts\", form);\r\n },\r\n getInstitutionAccountsTable: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionsTable\", form);\r\n },\r\n getInstitutionAccountsById: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountsById\");\r\n },\r\n putInstitutionAccountLoginBlock: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountLoginBlock\", form);\r\n },\r\n putInstitutionAccountLoginUnblock: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/DeleteInstitutionAccountLoginBlock\", form);\r\n },\r\n putInstitutionAccountLoginActivate: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountLoginActivate\", form);\r\n },\r\n getInstitutionAccountTransitAccounts: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionTransitAccounts\", form);\r\n },\r\n postInstitutionAccountTransitAccount: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PostInstitutionTransitAccount\", form);\r\n },\r\n getCardInfo: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetCardInfo\", form);\r\n },\r\n getAddressListItems: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetAddressListItems\");\r\n },\r\n postAddPaymentMethod: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PostAddPaymentMethod\", form);\r\n },\r\n getMaxPaymentMethods: function(){\r\n return API.request('post', \"/umbraco/api/InstitutionAccountApi/GetMaxPaymentMethods\");\r\n },\r\n saveParticipant: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountParticipant\", form);\r\n },\r\n saveParticipantTransitAccount: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountParticipantTransitAccount\", form);\r\n },\r\n getTransitAccountById: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetTransitAccountById\", form);\r\n },\r\n //QueueApi controller calls (only institution uses these)\r\n batchCardEnable: function (form) {\r\n return API.request('post', \"/umbraco/Api/QueueApi/ScheduleBatchCardEnable\", { CardIds: form }, true, false, \"json\");\r\n },\r\n batchCardUnlinkInstitutions: function (form) {\r\n return API.request('post', \"/umbraco/Api/QueueApi/ScheduleBatchCardInstitutionUnlink\", { CardIds: form }, true, false, \"json\");\r\n },\r\n batchCardUnlinkParticipants: function (form) {\r\n return API.request('post', \"/umbraco/Api/QueueApi/ScheduleBatchUnlinkParticipants\", { CardIds: form }, true, false, \"json\");\r\n },\r\n //Notification controller calls (only institution uses these)\r\n getNotifications: function (form) {\r\n return API.request('post', \"/umbraco/Api/NotificationApi/GetNotifications\", form);\r\n },\r\n markAsRead: function (form) {\r\n return API.request('post', \"/umbraco/Api/NotificationApi/MarkAsRead\", form);\r\n },\r\n deleteNotifications: function (form) {\r\n return API.request('post', \"/umbraco/Api/NotificationApi/DeleteNotifications\", form);\r\n },\r\n processParticipantImage: function (form) {\r\n return API.fileRequest('post', \"/umbraco/Api/InstitutionAccountApi/PostInstitutionAccountParticipantImage\", form);\r\n },\r\n participantHasImage: function (participantId) {\r\n return API.request('get', \"/umbraco/Api/InstitutionAccountApi/HasParticipantImage?participantId=\" + participantId);\r\n },\r\n getParticipantImage: function (participantId) {\r\n return API.request('get', \"/umbraco/Api/InstitutionAccountApi/GetParticipantImage?participantId=\" + participantId);\r\n },\r\n deleteParticipantImage: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/DeleteInstitutionAccountParticipantImage\", form);\r\n },\r\n getGroupsTableTooltips: function () {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountGroupsTableTooltips');\r\n },\r\n getSalesByTransactionId: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetSaleBySaleTransactionId', form);\r\n },\r\n getSaleItemsByTransactionId: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountSaleItemsBySaleTransactionId', form);\r\n },\r\n postFundingSource: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/ReceivePaymentInformation', form);\r\n },\r\n getTransitAccountAutoloads: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetTransitAccountByIdAutoloads', form);\r\n },\r\n postAddCollectJsPaymentMethod: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/PostAddCollectJsPaymentMethod', form);\r\n },\r\n getPaymentOptions: function () {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountPaymentOptions');\r\n },\r\n getManageSubAccountsTable: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountSubAccounts', form);\r\n },\r\n verifySubAccount: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/VerifyInstitutionSubAccount', form);\r\n },\r\n postSubAccount: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/PostInstitutionSubAccount', form);\r\n },\r\n removeSubAccounts: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/DeleteInstitutionSubAccounts', form);\r\n },\r\n enterSubAccount: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/EnterSubAccount', form);\r\n },\r\n exitSubAccount: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/ExitSubAccount', form);\r\n },\r\n searchTransitAccounts: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/SearchTransitAccounts', form);\r\n },\r\n getInstitutionAccountLoginEvents: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/GetInstitutionAccountLoginEventsTable', form);\r\n },\r\n putInstitutionLoginEvents: function (form) {\r\n return API.request('post', '/umbraco/Api/InstitutionAccountApi/PutInstitutionAccountLoginEvents', form);\r\n },\r\n getInstitutionLoginMessageSettings: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionLoginByIdMessageSettings\");\r\n },\r\n putInstitutionLoginMessageSettings: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionLoginByIdMessageSettings\", form);\r\n },\r\n getInstitutionLoginNotificationSettings: function () {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/GetInstitutionLoginByIdNotificationSettings\");\r\n },\r\n putInstitutionLoginNotificationSettings: function (form) {\r\n return API.request('post', \"/umbraco/Api/InstitutionAccountApi/PutInstitutionLoginByIdNotificationSettings\", form);\r\n }\r\n };\r\n})(jQuery, API);","var JobsService = (function($, API) {\r\n return {\r\n getJobs: function(form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetJobs\", form);\r\n },\r\n getJobById: function(form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetJobById\", form);\r\n },\r\n getCurrentJobs: function(form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetCurrentJobs\", form);\r\n },\r\n getPastJobs: function(form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetPastJobs\", form);\r\n },\r\n getJobDetails: function(form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetJobDetails\", form);\r\n },\r\n getJobInputFile: function (form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetJobInputFile\", form);\r\n },\r\n getJobOutputFile: function (form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetJobOutputFile\", form);\r\n },\r\n validateParticipantsUpload: function(data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ValidateParticipantsUpload\", data);\r\n },\r\n processImportParticipants: function(data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportParticipants\", data);\r\n },\r\n processUpdateParticipants: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessUpdateParticipants\", data);\r\n },\r\n processDeleteParticipants: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessDeleteParticipants\", data);\r\n },\r\n processImportTransitAccounts: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportTransitAccounts\", data);\r\n },\r\n processRegisterTransitAccounts: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportRegisterTransitAccounts\", data);\r\n },\r\n processUnregisterTransitAccounts: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportUnregisterTransitAccounts\", data);\r\n },\r\n processImportBlockTransitAccounts: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportBlockTransitAccounts\", data);\r\n },\r\n processImportUnblockTransitAccounts: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessImportUnBlockTransitAccounts\", data);\r\n },\r\n validateTransitAccountsUpload: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ValidateTransitAccountsUpload\", data);\r\n },\r\n processAutoloadsImport: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessBulkAutoloadsImport\", data);\r\n },\r\n processBulkAutoloadsRemove: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessBulkAutoloadsRemove\", data);\r\n },\r\n processBulkAutoloadsSuspend: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessBulkAutoloadsSuspend\", data);\r\n },\r\n processBulkAutoloadsResume: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessBulkAutoloadsResume\", data);\r\n },\r\n getFareMediaTypes: function() {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetFareMediaTypes\");\r\n },\r\n validateBulkSalesUpload: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ValidateBulkSalesUpload\", data);\r\n },\r\n processBulkSalesCsv: function (data) {\r\n return API.fileRequest(\"post\", \"/umbraco/Api/JobsApi/ProcessBulkSaleCsv\", data);\r\n },\r\n getTransitAccountsBulkFile: function (form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetTransitAccountsBulkFile\", form);\r\n },\r\n getParticipantsBulkFile: function (form) {\r\n return API.request(\"post\", \"/umbraco/Api/JobsApi/GetParticipantsBulkFile\", form);\r\n }\r\n };\r\n})(jQuery, API);","(function () {\r\n window.JQueryService = {\r\n // properly escapes special characters (typically in field names) for use in selectors, ie: Record[0][Name]\r\n selectId: function(myid) {\r\n return \"#\" + myid.replace(/(:|\\.|\\[|\\]|,|=|@)/g, \"\\\\$1\");\r\n }\r\n };\r\n})();","var ProductsService = (function ($, API) {\r\n return {\r\n CARD_STATES: {\r\n INACTIVE: 0,\r\n ACTIVE: 1,\r\n BLOCKED: 2,\r\n REPLACED: 3,\r\n CARD_REPLACEMENT_ORDERED: 4,\r\n CLOSED: 8\r\n },\r\n BLOCKING_REASONS: {\r\n NONE: 0,\r\n LOST: 1,\r\n STOLEN: 2,\r\n RECEIVABLE: 3,\r\n DEFECTIVE: 4,\r\n REVOKED: 5,\r\n LOST_IN_SHIPPING: 6,\r\n FRAUDULENT_USE: 7,\r\n NO_PRODUCT: 8,\r\n THREE_WRONG_PIN_ATTEMPTS: 9,\r\n ORDER_FULFILLMENT_REPLACEMENT: 10\r\n },\r\n getFareProducts: function (form) {\r\n form = form || {};\r\n form.ExcludeShippingProducts = true;\r\n form.ExcludeFees = form.ExcludeFees ?? true;\r\n form.SkipInstitutionAccountId = form.SkipInstitutionAccountId ? form.SkipInstitutionAccountId : false;\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetFareProducts\", form);\r\n },\r\n getFareShippingProducts: function (form) {\r\n form = form || {};\r\n form.ExcludeShippingProducts = false;\r\n form.ExcludeFees = form.ExcludeFees ?? true;\r\n form.SkipInstitutionAccountId = form.SkipInstitutionAccountId ? form.SkipInstitutionAccountId : false;\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetFareProducts\", form);\r\n },\r\n getValidFareProductsForTransitAccount: function (transitAccountId, printedCardNumber) {\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetFareProducts\",\r\n {\r\n TransitAccountId: transitAccountId,\r\n PrintedCardNumber: printedCardNumber,\r\n ExcludeLoadedProducts: true,\r\n ExcludeShippingProducts: true,\r\n ExcludeFees: true\r\n });\r\n },\r\n getFareProductById: function (form) {\r\n form = form || {};\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetFareProductById\", form);\r\n },\r\n getFareMedia: function (form) {\r\n form = form || {};\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetFareMedia\", form);\r\n },\r\n getAutoloadByProductId: function (productId) {\r\n return API.request('post', '/umbraco/Api/ProductsApi/GetAutoloadByProductId', { ProductId: productId });\r\n },\r\n getAutoloadsByTransitAccountId: function (form) {\r\n return API.request('post', '/umbraco/Api/ProductsApi/GetAutoloadsByTransitAccountId', form);\r\n },\r\n getAllowAutoloadFareProductExternalIds: function () {\r\n return API.request('post', \"/umbraco/api/ProductsApi/GetAllowAutoloadFareProductExternalIds\", { SalesChannelId: 408 });\r\n },\r\n saveAutoload: function (data) {\r\n var saveUrl = \"/umbraco/api/ProductsApi/\" + (data.AutoloadId ? \"PutAutoload\" : \"PostAutoload\");\r\n return API.request('post', saveUrl, data);\r\n },\r\n savePassAutoRenew: function (data) {\r\n var saveUrl = \"/umbraco/api/ProductsApi/\" + (data.AutoloadId ? \"PutPassAutoRenew\" : \"PostPassAutoRenew\");\r\n return API.request('post', saveUrl, data);\r\n },\r\n deleteAutoload: function (data) {\r\n return API.request('post', \"/umbraco/api/ProductsApi/DeleteAutoload\", data);\r\n }\r\n };\r\n})(jQuery, API);","var PublicService = (function ($, API) {\r\n return {\r\n getLocalizedTableColumnNames: function (form) {\r\n return API.request('post', \"/umbraco/Api/PublicApi/GetLocalizedTableColumnNames\", form);\r\n },\r\n searchTransitAccounts: function (form) {\r\n return API.request('post', \"/umbraco/api/PublicApi/SearchTransitAccounts\", form);\r\n },\r\n addCardGuest: function(cardNumber, securityCode){\r\n return API.request('post', \"/umbraco/api/PublicApi/GuestAddCard\", { AddCardNumber: cardNumber, AddSecurityCode: securityCode });\r\n },\r\n getTransitAccountsByBankingServiceToken: function (form) {\r\n return API.request('post', '/umbraco/api/PublicApi/GetTransitAccountsByBankingServiceToken', form);\r\n },\r\n getTransitAccountsByDPAN: function (form) {\r\n return API.request('post', '/umbraco/api/PublicApi/GetTransitAccountsByDPAN', form);\r\n },\r\n getTransitAccountsByIds: function (form) {\r\n return API.request('post', \"/umbraco/Api/PublicApi/GetTransitAccountsByIds\", form);\r\n },\r\n getContactlessTransactionHistory: function (form) {\r\n return API.request('post', \"/umbraco/Api/PublicApi/GetContactlessTransactionHistory\", form);\r\n },\r\n getCardholderById: function (cardHolderId) {\r\n return API.request('post', '/umbraco/api/PublicApi/GetCardholderById', { Id: cardHolderId });\r\n },\r\n getCardholderDocumentsById: function (cardHolderId) {\r\n return API.request('post', '/umbraco/api/PublicApi/GetCardholderDocumentsById', { Id: cardHolderId });\r\n },\r\n postCardholderDocument: function (form) {\r\n return API.fileRequest('post', '/umbraco/Api/PublicApi/PostCardholderDocument', form);\r\n },\r\n postCardholderDocumentsMultiple: function (form) {\r\n return API.fileRequest('post', '/umbraco/Api/PublicApi/PostCardholderDocumentsMultiple', form);\r\n }\r\n };\r\n})(jQuery, API);","var ServiceRequestService = (function ($, API) {\r\n return {\r\n getServiceRequestTypes: function (form) { \r\n return API.request('post', \"/umbraco/Api/ServiceRequestApi/GetServiceRequestTypes\", form);\r\n }\r\n };\r\n})(jQuery, API);\r\n","var SettingsService = (function ($, API) {\r\n return {\r\n getSecurityQuestions: function () { \r\n return API.request('post', \"/umbraco/Api/SettingsApi/GetSecurityQuestions\");\r\n },\r\n getFareCategories: function() { \r\n return API.request('post', \"/umbraco/Api/SettingsApi/GetFareCategories\");\r\n },\r\n getSalesChannels: function () {\r\n return API.request('post', '/umbraco/Api/SettingsApi/GetSalesChannels');\r\n },\r\n getOperators: function(){\r\n return API.request('post', \"/umbraco/api/SettingsApi/GetOperators\");\r\n },\r\n getCountries: function () {\r\n return API.request('post', \"/umbraco/Api/GeoApi/Countries\");\r\n },\r\n getStateListByCountry: function (form) {\r\n return API.request('post', \"/umbraco/Api/GeoApi/StateListByCountry\", form);\r\n },\r\n getConfigurations: function () {\r\n return API.request('post', \"/umbraco/api/SettingsApi/GetConfigurations\");\r\n },\r\n getLines: function () {\r\n return API.request('post', \"/umbraco/Api/SettingsApi/GetLines\");\r\n }\r\n };\r\n})(jQuery, API);","var UriService = (function (_) {\r\n return {\r\n // Collects parameters from the location bar URL and converts/returns them as a JS object\r\n getParameters: function () {\r\n // Credit: http://www.timetler.com/2013/11/14/location-search-split-one-liner/\r\n // Remove the '?' at the start of the string and split out each assignment\r\n return _.chain(location.search.slice(1).split('&'))\r\n // Split each array item into [key, value]\r\n // ignore empty string if search is empty\r\n .map(function (item) { if (item) return item.split('='); })\r\n // Remove undefined in the case the search is empty\r\n .compact()\r\n // Turn [key, value] arrays into object parameters\r\n .object()\r\n // Return the value of the chain operation\r\n .value();\r\n }\r\n };\r\n\r\n})(_);","var UserService = (function($, API) {\r\n return {\r\n getSuperUser: function () {\r\n return API.request('post', \"/umbraco/Api/UserApi/GetSuperUser\");\r\n },\r\n putSuperUser: function (form) {\r\n return API.request('post', \"/umbraco/Api/UserApi/PutSuperUser\", form);\r\n },\r\n impersonate: function (institutionId) {\r\n return API.request('post', \"/umbraco/Api/UserApi/ImpersonateInstitutionAsSuperUser?institutionId=\" + institutionId);\r\n },\r\n isCurrentUserASuperUser: function () {\r\n return API.request('post', \"/umbraco/Api/UserApi/IsSuperUser\", {}, true, false, \"json\");\r\n }\r\n };\r\n})(jQuery, API);","(function ($, Vue, ACCESSIBILITY) {\r\n var qtyOptions = [1, 2, 3, 4, 5, 6, 7];\r\n\r\n var addToCartSuccess = function (res, sta, xhr, self) {\r\n if (res.Success) {\r\n self.ShowAddToCartSuccess = true;\r\n window.setTimeout(function () { self.ShowAddToCartSuccess = false; }, 2500);\r\n if (res.Data && res.Data.CartId) CartService.setCartIdCookie(res.Data.CartId);\r\n window.InitEvents.shoppingCartReload.dispatch();\r\n if (self.Product.IsValidWhenSelling) {\r\n $(\"#addToCart-\" + self.Product.Id).hide();\r\n $(\"#success-\" + self.Product.Id).show();\r\n }\r\n } else {\r\n self.ErrorMessage = res.Messages.join(\",\");\r\n\r\n self.ShowError = true;\r\n window.setTimeout(function () { self.ShowError = false; }, 2500);\r\n }\r\n ACCESSIBILITY.ClearFocus();\r\n };\r\n\r\n $(function () {\r\n Vue.component(\"add-products-product-bulk\", {\r\n template: \"#template-bulk-addvalue-product\",\r\n props: ['Product', 'Card', 'RawReloadAmounts', 'IsBulkSale'],\r\n data: function () {\r\n return {\r\n Quantity: $(\"#bulk-qty\").val(),\r\n Amount: this.RawReloadAmounts.split(',')[0],\r\n QtyOptions: qtyOptions,\r\n ShowAddToCartSuccess: false,\r\n ShowError: false,\r\n ErrorMessage: \"\"\r\n };\r\n },\r\n methods: {\r\n ClickAddToCart: function () {\r\n var self = this;\r\n var addValuePassesContainer = '.add-value-product-container';\r\n\r\n // Manually add CSRF token to request to pass CSRF token validation\r\n var csrfToken = $('input[name=\"__RequestVerificationToken\"]', addValuePassesContainer).val();\r\n CartService.addBulkProductToCart({\r\n TransitAccountId: 0,\r\n ProductId: this.Product.Id,\r\n Quantity: $(\"#bulk-qty\").val(),\r\n __RequestVerificationToken: csrfToken\r\n }).done(function (res, sta, xhr) {\r\n addToCartSuccess(res, sta, xhr, self);\r\n }).fail(function () {\r\n window.InstitutionHelper.showErrorNotification('There was an error adding the bulk sale to the shopping cart.');\r\n });\r\n },\r\n ClickAddBulkValueToCart: function () {\r\n var self = this;\r\n var addValuePassesContainer = '.add-value-product-container';\r\n\r\n // Manually add CSRF token to request to pass CSRF token validation\r\n var csrfToken = $('input[name=\"__RequestVerificationToken\"]', addValuePassesContainer).val();\r\n CartService.addBulkValueAddToCart({\r\n TransitAccountId: \"Bulk\",\r\n ProductId: this.Product.Id,\r\n Amount: this.Amount,\r\n Quantity: $(\"#bulk-qty\").val(),\r\n __RequestVerificationToken: csrfToken\r\n }).done(function (res, sta, xhr) {\r\n addToCartSuccess(res, sta, xhr, self);\r\n }).fail(function () {\r\n window.InstitutionHelper.showErrorNotification('There was an error adding the bulk sale to the shopping cart.');\r\n });\r\n }\r\n },\r\n computed: {\r\n IsTopUpProduct: function () {\r\n return this.Product.Type === CartService.PRODUCT_TYPE_TOPUP;\r\n },\r\n ReloadAmounts: function () {\r\n return this.RawReloadAmounts.split(',');\r\n }\r\n }\r\n });\r\n });\r\n})(jQuery, Vue, ACCESSIBILITY);","(function ($, Vue, ACCESSIBILITY) {\r\n var qtyOptions = [1, 2, 3, 4, 5, 6, 7];\r\n\r\n var addToCartSuccess = function (res, sta, xhr) {\r\n ACCESSIBILITY.ClearFocus();\r\n\r\n if (res.Success) {\r\n this.ShowAddToCartSuccess = true;\r\n window.setTimeout(function () { this.ShowAddToCartSuccess = false; }.bind(this), 2500);\r\n\r\n if (res.Data && res.Data.CartId) CartService.setCartIdCookie(res.Data.CartId);\r\n window.InitEvents.shoppingCartReload.dispatch();\r\n } else {\r\n this.ErrorMessage = res.Messages.join(\",\");\r\n\r\n this.ShowError = true;\r\n window.setTimeout(function () { this.ShowError = false; }.bind(this), 5000);\r\n }\r\n };\r\n\r\n $(function () {\r\n var templateSelector = \"#template-customer-addvalue-product\";\r\n var centsToDollars = Vue.filter('centsToDollars');\r\n Vue.component(\"add-products-product\", {\r\n template: templateSelector,\r\n props:\r\n {\r\n product: Object,\r\n card: Object,\r\n RawReloadAmounts: String,\r\n IsBulkSale: {\r\n type: Boolean,\r\n default: false\r\n },\r\n HasText: {\r\n type: Boolean,\r\n default: true\r\n },\r\n isGuest: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n data: function () {\r\n return {\r\n Quantity: 1,\r\n Amount: this.RawReloadAmounts.split(',')[0],\r\n CustomAmount: null,\r\n QtyOptions: qtyOptions,\r\n MinimumLoad: Number($(templateSelector).attr('data-minimum-topup')),\r\n MaximumLoad: Number($(templateSelector).attr('data-maximum-topup')),\r\n ShowAddToCartSuccess: false,\r\n CustomAmountInvalid: false,\r\n ShowError: false,\r\n ErrorMessage: \"\",\r\n UnexpectedErrorText: $(templateSelector).attr('data-unexpected-error-text')\r\n };\r\n },\r\n methods: {\r\n ClickAddToCart: function () {\r\n // Manually add CSRF token to the request to pass CSRF token validation\r\n var csrfToken = $('.add-value-and-product').find('input[name=\"__RequestVerificationToken\"]').val();\r\n\r\n if (this.card === null || typeof (this.card) === \"undefined\") {\r\n // process bulk add to cart\r\n CartService.addBulkProductToCart({\r\n TransitAccountId: 0,\r\n ProductId: this.product.Id,\r\n Quantity: this.Quantity,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this));\r\n } else {\r\n if (!this.isGuest) {\r\n CartService.addProductToCart({\r\n TransitAccountId: this.card.Id,\r\n ProductId: this.product.Id,\r\n Quantity: this.Quantity,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this));\r\n }\r\n else {\r\n CartService.addProductToGuestCart({\r\n TransitAccountId: this.card.Id,\r\n ProductId: this.product.Id,\r\n Quantity: this.Quantity,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this));\r\n }\r\n }\r\n },\r\n ClickAddValueToCart: function () {\r\n var self = this;\r\n var Amount = this.Amount !== 0 ? this.Amount : (this.CustomAmount * 100).toFixed(0);\r\n\r\n // Manually add CSRF token to the request to pass CSRF token validation\r\n var csrfToken = $('.add-value-and-product').find('input[name=\"__RequestVerificationToken\"]').val();\r\n\r\n if (Amount >= this.MinimumLoad && Amount <= this.MaximumLoadingLimit) {\r\n if (this.isGuest) {\r\n // If the user is a guest, use the guest add value to cart \r\n CartService.addValueAddToGuestCart({\r\n TransitAccountId: this.card.Id,\r\n Amount: Amount,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this))\r\n .fail(function () {\r\n // Display an ambiguous error if the request fails\r\n this.ErrorMessage = this.UnexpectedErrorText;\r\n this.ShowError = true;\r\n window.setTimeout(function () { this.ShowError = false; }.bind(this), 5000);\r\n }.bind(this));\r\n }\r\n else { \r\n // If the user is a logged-in customer, use the customer add value to cart \r\n CartService.addValueAddToCart({\r\n TransitAccountId: this.card.Id,\r\n Amount: Amount,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this))\r\n .fail(function () {\r\n // Display an ambiguous error if the request fails\r\n this.ErrorMessage = this.UnexpectedErrorText;\r\n this.ShowError = true;\r\n window.setTimeout(function () { this.ShowError = false; }.bind(this), 5000);\r\n }.bind(this));\r\n }\r\n } else {\r\n this.CustomAmountInvalid = true;\r\n window.setTimeout(function () { this.CustomAmountInvalid = false; }.bind(this), 4500);\r\n }\r\n },\r\n ClickAddBulkValueToCart: function () {\r\n var self = this;\r\n var Amount = this.Amount !== 0 ? this.Amount : (this.CustomAmount * 100).toFixed(2);\r\n\r\n CartService.addBukValueAddToCart(this.product.Id, Amount)\r\n .done(addToCartSuccess.bind(this));\r\n }\r\n },\r\n computed: {\r\n CardActive: function () {\r\n if (this.card !== null && (this.card.State === 1 || this.card.State === 3)) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n IsTopUpProduct: function () {\r\n return this.product.Type === CartService.PRODUCT_TYPE_TOPUP;\r\n },\r\n ReloadAmounts: function () {\r\n var allowed = [];\r\n var reloadAmounts = this.RawReloadAmounts.split(',');\r\n for (var i = 0; i < reloadAmounts.length; i++) {\r\n if (reloadAmounts[i] <= this.LoadingLimit) allowed.push(reloadAmounts[i]);\r\n }\r\n return allowed;\r\n },\r\n LoadingLimit: function () {\r\n return this.product.LoadingLimit;\r\n },\r\n LoadingLimitAsDollars: function () {\r\n return centsToDollars(this.MaximumLoadingLimit);\r\n },\r\n MaximumLoadingLimit: function () {\r\n var maxLoadingLimit = this.LoadingLimit < this.MaximumLoad ? this.LoadingLimit : this.MaximumLoad;\r\n return maxLoadingLimit;\r\n },\r\n MinimumLoadAsDollars: function () {\r\n return centsToDollars(this.MinimumLoad);\r\n }\r\n },\r\n mounted: function () {\r\n $(\"#Custom-Amount\").keypress(function (e) {\r\n return e.charCode >= 48 && e.charCode <= 57;\r\n });\r\n }\r\n });\r\n });\r\n})(jQuery, Vue, ACCESSIBILITY);","(function ($, Vue, ACCESSIBILITY) {\r\n var templateSelector = \"#template-customer-currentvalue-autoload\";\r\n if (document.querySelector(templateSelector) === null) {\r\n return;\r\n }\r\n\r\n /**\r\n * Get all funding sources which aren't stored value (just credit cards/ACH)\r\n */\r\n var getFundingSources = function (fundingSourcesCollection) {\r\n return fundingSourcesCollection.filter(function (fundingSource) {\r\n return fundingSource.Type !== 'Purse';\r\n });\r\n };\r\n\r\n var saveAutoload = function (opts, instance) {\r\n var request = null;\r\n instance.isSaving = true;\r\n\r\n request = SavePurseAutoload(opts);\r\n\r\n request.done(function (res, sta, xhr) {\r\n instance.isSaving = false;\r\n instance.isRemovingSuspension = false;\r\n\r\n if (res && res.Success) {\r\n // Manually set owner to current customer account when saved for frontend\r\n res.Data.CustomerAccountId = instance.CustomerAccount.Id;\r\n res.Data.OwnerName = instance.CustomerAccount.FirstName + \" \" + instance.CustomerAccount.LastName;\r\n\r\n instance.$emit('autoload-update', res.Data);\r\n instance.OnAutoloadUpdated(res.Data);\r\n ACCESSIBILITY.ClearFocus();\r\n\r\n instance.MultipleFundingSources = res.Data.MultipleFundingSources;\r\n\r\n instance.ShowSuccess = true;\r\n window.setTimeout(function () { instance.ShowSuccess = false; }, 4000);\r\n } else {\r\n instance.ShowError = true;\r\n window.setTimeout(function () { instance.ShowError = false; }, 4000);\r\n }\r\n });\r\n };\r\n\r\n var SavePurseAutoload = function (opts) {\r\n return ProductsService.saveAutoload(opts);\r\n };\r\n\r\n var RemoveAutoload = function (opts, instance) {\r\n instance.isRemoving = true;\r\n ProductsService.deleteAutoload(opts).done(function (res, sta, xhr) {\r\n if (res && res.Success && res.Success === true) {\r\n instance.$emit('autoload-update', res.Data);\r\n instance.OnAutoloadUpdated(null);\r\n } else {\r\n console.error('Error Removing Autoload', opts, res);\r\n if (confirm('Failed to remove autoload')) {\r\n window.location.reload();\r\n }\r\n }\r\n instance.isRemoving = false;\r\n });\r\n };\r\n\r\n $(function () {\r\n var templateSelector = \"#template-customer-currentvalue-autoload\";\r\n var centsToDollars = Vue.filter('centsToDollars');\r\n Vue.component(\"autoload-controls\", {\r\n template: templateSelector,\r\n props: [\r\n 'id',\r\n 'card',\r\n 'autoLoad',\r\n 'fundingSourcesCollection',\r\n 'amountsRaw',\r\n 'thresholdsRaw',\r\n 'isGuest',\r\n 'CustomerAccount'\r\n ],\r\n data: function () {\r\n return {\r\n AutoLoad: this.autoLoad,\r\n FundingSources: getFundingSources(this.fundingSourcesCollection),\r\n Amounts: (this.amountsRaw + \"\").split(','),\r\n Thresholds: (this.thresholdsRaw + \"\").split(','),\r\n ShowForm: false,\r\n SubmitAttempted: false,\r\n ShowSuspend: false,\r\n ShowBackupPaymentSource: false,\r\n ShowSplitPaymentSource: false,\r\n ShowSuccess: false,\r\n ShowSuspensionSuccess: false,\r\n ShowError: false,\r\n MinimumLoad: Number($(templateSelector).attr('data-minimum-autoload')),\r\n MaximumLoad: Number($(templateSelector).attr('data-maximum-autoload')),\r\n AutoloadCustomAmount: null,\r\n FundingSourceId: 0,\r\n BackupFundingSourceId: 0,\r\n AutoloadThreshold: Number($(templateSelector).attr('data-fixed-autoload-threshold')),\r\n MultipleFundingSources: this.AutoLoad ? this.AutoLoad.MultipleFundingSources : [],\r\n UserSelectedAutoloadValue: '',\r\n UserInputtedAutoloadValue: '', \r\n UserSelectedAutoloadThreshold: '',\r\n UserInputtedAutoloadThreshold: null,\r\n renderComponent: false,\r\n isSaving: false,\r\n isRemoving: false,\r\n isRemovingSuspension: false\r\n };\r\n },\r\n computed: {\r\n currentAutoloadPrimaryFundingSourceId: function () {\r\n if (!this.hasCurrentAutoLoad) return null;\r\n return this.AutoLoad.FundingSourceId || null;\r\n },\r\n currentAutoloadBackupFundingSourceId: function () {\r\n if (!this.hasCurrentAutoLoad) return null;\r\n return this.AutoLoad.BackupFundingSourceId || null;\r\n },\r\n currentAutoloadSecondaryFundingSourceId: function () {\r\n if (!this.hasCurrentAutoLoad) return null;\r\n if (!this.AutoLoad.MultipleFundingSources || this.AutoLoad.MultipleFundingSources.length === 0) return null;\r\n return this.AutoLoad.MultipleFundingSources[0].FundingSourceId || null;\r\n },\r\n currentAutoloadSecondaryBackupFundingSourceId: function () {\r\n if (!this.hasCurrentAutoLoad) return null;\r\n if (!this.AutoLoad.MultipleFundingSources || this.AutoLoad.MultipleFundingSources.length === 0) return null;\r\n return this.AutoLoad.MultipleFundingSources[0].BackupFundingSourceId || null;\r\n },\r\n DefaultFundingSourceFromAutoload: function () {\r\n if (this.AutoLoad === null || this.AutoLoad === undefined || this.AutoLoad.Id <= 0) {\r\n return null;\r\n }\r\n var searchedFundingSources = this.FundingSources.filter(function (source) {\r\n return source.Id === this.AutoLoad.FundingSourceId;\r\n }.bind(this));\r\n if (searchedFundingSources && searchedFundingSources.length) {\r\n return searchedFundingSources[0];\r\n }\r\n return null;\r\n },\r\n CardActive: function () {\r\n if (this.card !== null && (this.card.State === 1 || this.card.State === 3)) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n AutoLoadIsActive: function () {\r\n if (this.AutoLoad === null) return false;\r\n var isActive = true;\r\n if (this.AutoLoad.SuspendedFrom !== null || this.AutoLoad.SuspendedTo !== null) {\r\n var todayDate = new Date();\r\n var isoTodayDate = todayDate.toISOString().substring(0, 10);\r\n if (this.AutoLoad.SuspendedFrom.substring(0, 10) <= isoTodayDate) { isActive = false; }\r\n if (this.AutoLoad.SuspendedTo.substring(0, 10) < isoTodayDate) { isActive = true; }\r\n }\r\n return isActive;\r\n },\r\n AutoLoadIsSuspended: function () {\r\n if (this.AutoLoad === null) return false;\r\n if (this.AutoLoad.SuspendedFrom !== null || this.AutoLoad.SuspendedTo !== null) {\r\n var todayDate = new Date();\r\n var isoTodayDate = todayDate.toISOString().substring(0, 10);\r\n if (this.AutoLoad.SuspendedTo.substring(0, 10) < isoTodayDate) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n return false;\r\n },\r\n AutoLoadBelongsToAnotherAccount: function () {\r\n if (!this.AutoLoad || !this.CustomerAccount) return false;\r\n var currentCustomerAccountId = this.CustomerAccount.Id;\r\n\r\n if (this.AutoLoad.CustomerAccountId === null || this.AutoLoad.CustomerAccountId !== currentCustomerAccountId) \r\n return true;\r\n else\r\n return false;\r\n },\r\n IsAutoLoadAmountLow: function () {\r\n var Amount = this.AutoloadAmount > 1 ? this.AutoloadAmount : (this.AutoloadCustomAmount * 100).toFixed(2);\r\n var amt = parseFloat(Amount);\r\n if (isNaN(amt)) return false;\r\n\r\n return Amount !== \"\" && this.CalcAutoloadAmount < this.MinimumLoad;\r\n },\r\n ThresholdExceedsLimit: function () {\r\n return this.AutoloadThresholdAmount > this.MaxPurseAmount;\r\n },\r\n AutoLoadSumsExceedLimit: function () {\r\n return this.AutoloadThresholdAmount + this.CalcAutoloadAmount > this.MaxPurseAmount;\r\n },\r\n PaymentSourceSelected: function () {\r\n return this.FundingSourceId !== 0 && !isNaN(this.FundingSourceId) && typeof this.FundingSourceId === \"number\";\r\n },\r\n BackupPaymentSourceSelected: function () {\r\n return this.BackupFundingSourceId !== 0 && !isNaN(this.BackupFundingSourceId) && typeof this.BackupFundingSourceId === \"number\";\r\n },\r\n AutoloadValueIsValid: function () {\r\n return !this.ShowThresholdExceedsLimitError() && this.AutoloadValueAmount >= (this.MinimumLoad / 100) && this.AutoloadValueAmount % 1 === 0;\r\n },\r\n AutoloadValueAmount: function () {\r\n return this.UserSelectedAutoloadValue > 0 ? this.UserSelectedAutoloadValue / 100 : this.getUserInputtedNumber(this.UserInputtedAutoloadValue);\r\n },\r\n UserInputtedAutoloadValueAmount: function () {\r\n return this.UserSelectedAutoloadValue > 0 ? this.UserSelectedAutoloadValue : this.getUserInputtedNumber(this.UserInputtedAutoloadValue) * 100;\r\n },\r\n AutoloadThresholdAmount: function () {\r\n return this.UserSelectedAutoloadThreshold > 0 ? this.UserSelectedAutoloadThreshold / 100 : this.getUserInputtedNumber(this.UserInputtedAutoloadThreshold);\r\n },\r\n CanSubmitAutoLoad: function () {\r\n var thresholdAmountValid = !this.ShowThresholdExceedsLimitError() && this.AutoloadThresholdAmount >= (this.MinimumLoad / 100) || this.AutoloadThreshold > 0;\r\n\r\n return thresholdAmountValid &&\r\n this.AutoloadValueAmount >= (this.MinimumLoad / 100) &&\r\n this.AutoloadValueAmount % 1 === 0 &&\r\n this.PaymentSourceSelected &&\r\n (this.ShowBackupPaymentSource ? this.BackupPaymentSourceSelected : true) &&\r\n !this.isSaving &&\r\n !this.isRemoving;\r\n },\r\n CanSubmitAutoRenew: function () {\r\n return this.PaymentSourceSelected && (this.ShowBackupPaymentSource ? this.BackupPaymentSourceSelected : true) &&\r\n !this.isSaving && !this.isRemoving;\r\n },\r\n Days: function () {\r\n var days = [];\r\n for (var i = 1; i <= 31; i++) {\r\n days.push(i);\r\n }\r\n return days;\r\n },\r\n CalcAutoloadAmount: function () {\r\n var Amount = this.UserInputtedAutoloadValueAmount;\r\n var amt = parseFloat(Amount);\r\n if (isNaN(amt) || typeof amt !== \"number\") return 0;\r\n\r\n return amt;\r\n },\r\n BackupPaymentMethodMissing: function () {\r\n return this.ShowBackupPaymentSource && (!this.PaymentSourceSelected || !this.BackupPaymentSourceSelected);\r\n },\r\n MaxPurseAmount: function () {\r\n return this.TopUpProduct.LoadingLimit;\r\n },\r\n MinimumLoadAsDollars: function () {\r\n return centsToDollars(this.MinimumLoad, 'WithoutCents');\r\n },\r\n AutoloadAmountAsNumber: function () {\r\n return centsToDollars(this.AutoLoad.AutoloadValue);\r\n },\r\n MaxCustomAmount: function () {\r\n var maxAutoload = this.MaxPurseAmount - this.AutoloadThresholdAmount;\r\n return maxAutoload < this.MaximumLoad ? maxAutoload : this.MaximumLoad;\r\n },\r\n MaxCustomAmountInDollars: function () {\r\n return centsToDollars(this.MaxCustomAmount);\r\n },\r\n MaxAllowedToAutoload: function () {\r\n return this.MaximumLoad - (this.AutoloadThresholdAmount * 100);\r\n },\r\n MaxAllowedToAutoloadInDollars: function () {\r\n var maxDollars = this.MaxAllowedToAutoload / 100;\r\n return maxDollars < (this.MinimumLoad / 100) ? centsToDollars(this.MinimumLoad, 'WithoutCents') : centsToDollars(maxDollars * 100, 'WithoutCents');\r\n },\r\n BackupFundingSources: function () { \r\n var fundingSources = [];\r\n for (var i = 0; i < this.FundingSources.length; i++) {\r\n if (this.FundingSources[i].Id !== this.FundingSourceId) {\r\n fundingSources.push(this.FundingSources[i]);\r\n }\r\n }\r\n return fundingSources;\r\n },\r\n hasCurrentAutoLoad: function () {\r\n if (this.AutoLoad !== null && this.AutoLoad !== undefined) {\r\n if (this.AutoLoad.AutoloadThresholdValue > 0 && this.Thresholds.indexOf(this.AutoLoad.AutoloadThresholdValue.toString()) > -1) {\r\n this.AutoloadThreshold = this.AutoLoad.AutoloadThresholdValue;\r\n }\r\n if (this.AutoLoad.AutoloadValue) {\r\n if (this.Amounts.indexOf(this.AutoLoad.AutoloadValue) > -1) {\r\n this.AutoloadAmount = this.AutoLoad.AutoloadValue;\r\n } else {\r\n this.AutoloadAmount = 1;\r\n this.AutoloadCustomAmount = this.AutoLoad.AutoloadValue / 100;\r\n }\r\n }\r\n return true;\r\n }\r\n return false;\r\n },\r\n hasMultipleAutoLoads: function () {\r\n return this.MultipleAutoloads == \"true\";\r\n },\r\n hasFundingSource: function () {\r\n return this.FundingSources.length > 0;\r\n },\r\n hasSecondFundingSourceForBackup: function () {\r\n return this.FundingSources.length > 1;\r\n },\r\n },\r\n watch: {\r\n autoLoad: function (val) {\r\n this.AutoLoad = val;\r\n },\r\n UserSelectedAutoloadValue: function (val) {\r\n if (val !== \"\" && val > 0) {\r\n this.UserInputtedAutoloadValue = null;\r\n }\r\n },\r\n UserInputtedAutoloadValue: function (val) {\r\n if (val !== null && val > 0) {\r\n this.UserSelectedAutoloadValue = \"\";\r\n }\r\n }\r\n },\r\n methods: {\r\n FormatMonthDay: function (day) {\r\n return TEXTFORMATTING.FormatDayOfMonth(day);\r\n },\r\n GetFundingSourceByIdFromOptions: function (id) {\r\n if (this.AutoLoad === null || this.AutoLoad === undefined || this.AutoLoad.Id <= 0) {\r\n return null;\r\n } else if (id === null || id === undefined || id <= 0) {\r\n return null;\r\n }\r\n var searchedFundingSources = this.FundingSources.filter(function (source) {\r\n return source.Id === id;\r\n }.bind(this));\r\n if (searchedFundingSources && searchedFundingSources.length) {\r\n return searchedFundingSources[0];\r\n }\r\n return null;\r\n },\r\n ForceRerenderComponent: function () {\r\n this.renderComponent = false;\r\n this.$nextTick(function () {\r\n this.renderComponent = true;\r\n\r\n if (!this.AutoLoad) {\r\n window.setTimeout(function () {\r\n $('button#setup-autoload').focus();\r\n }, 10);\r\n }\r\n }.bind(this));\r\n },\r\n OnAutoloadUpdated: function (autoload) {\r\n this.ShowForm = false;\r\n this.AutoLoad = autoload;\r\n this.ForceRerenderComponent();\r\n },\r\n centsToDollars: function (value) {\r\n return centsToDollars(parseFloat(value + ''));\r\n },\r\n getUserInputtedNumber: function (value) {\r\n return value !== null && value !== undefined && value !== '' ? parseFloat(value + '') : 0;\r\n },\r\n SetDefaultPaymentMethod: function () {\r\n var vueModel = this;\r\n if (this.AutoLoad !== null && this.AutoLoad !== undefined && this.AutoLoad.hasOwnProperty('FundingSourceId')) {\r\n this.FundingSourceId = this.AutoLoad.FundingSourceId;\r\n } else {\r\n this.FundingSources.forEach(function (source) {\r\n if (source.Id !== 0 && source.IsDefault === true) {\r\n vueModel.FundingSourceId = source.Id;\r\n }\r\n });\r\n }\r\n },\r\n FundingSourceDisplayName: function (source) {\r\n if (source === null || source === undefined) {\r\n return 'Undefined';\r\n }\r\n var nickname = this.LimitCardName(source.Name, 20);\r\n var maskedPan = source.MaskedPan;\r\n maskedPan = maskedPan !== null && maskedPan !== undefined && maskedPan !== '' ? maskedPan : 'Undefined';\r\n if (nickname !== null && nickname !== undefined && nickname !== '') {\r\n return nickname + ' ' + maskedPan;\r\n }\r\n return maskedPan;\r\n },\r\n ShowThresholdExceedsLimitError: function () {\r\n var autoloadThreshold = this.AutoloadThresholdAmount;\r\n var autoloadValue = this.AutoloadValueAmount;\r\n // Checks to see if the inputted amounts by the customer exceed the card limit or if the inputted threshold + min load exceeds the card limit\r\n return autoloadThreshold + autoloadValue > (this.MaximumLoad / 100) || autoloadThreshold + (this.MinimumLoad / 100) > (this.MaximumLoad / 100);\r\n },\r\n clearAutoloadForm: function () {\r\n this.UserInputtedAutoloadThreshold = '';\r\n this.UserInputtedAutoloadValue = '';\r\n },\r\n EnableAutoload: function (val) {\r\n // If adding autoload\r\n if (val === true) {\r\n this.$emit('autoload-editing', true);\r\n this.ShowForm = true;\r\n this.FundingSourceId = this.AutoLoad ? this.AutoLoad.FundingSourceId : this.FundingSources && this.FundingSources.length > 0 ? this.FundingSources[0].Id : 0;\r\n if (this.hasCurrentAutoLoad) {\r\n if (this.AutoLoad.AutoloadThresholdValue > 0) {\r\n if (this.Thresholds.indexOf(this.AutoLoad.AutoloadThresholdValue.toString()) > -1) {\r\n this.UserSelectedAutoloadThreshold = this.AutoLoad.AutoloadThresholdValue;\r\n } else {\r\n this.UserInputtedAutoloadThreshold = this.AutoLoad.AutoloadThresholdValue / 100;\r\n }\r\n this.AutoloadThreshold = this.AutoLoad.AutoloadThresholdValue;\r\n } else {\r\n this.UserInputtedAutoloadThreshold = '';\r\n }\r\n if (this.Amounts.indexOf(this.AutoLoad.AutoloadValue.toString()) > -1) {\r\n this.UserSelectedAutoloadValue = this.AutoLoad.AutoloadValue;\r\n } else {\r\n this.UserInputtedAutoloadValue = this.AutoLoad.AutoloadValue / 100; \r\n }\r\n this.AutoloadThreshold = this.AutoloadThreshold > 0 ? this.AutoloadThreshold : this.Thresholds[0];\r\n\r\n //console.error('currentAutoloadBackupFundingSourceId', this.currentAutoloadBackupFundingSourceId);\r\n if (this.currentAutoloadBackupFundingSourceId !== null) {\r\n // using backup payments... get that ready...\r\n this.BackupFundingSourceId = this.currentAutoloadBackupFundingSourceId;\r\n this.ShowBackupPaymentSource = true; \r\n }\r\n }\r\n\r\n this.$nextTick(() => {\r\n $('select#autoload-threshold_' + this.id).focus();\r\n });\r\n } \r\n else { \r\n // if removing autoload\r\n if (this.AutoLoad && this.AutoLoad.Id) {\r\n RemoveAutoload({ AutoloadId: this.AutoLoad.Id, ProductId: this.id }, this);\r\n } else {\r\n this.ShowForm = false;\r\n }\r\n }\r\n },\r\n SaveAutoload: function () {\r\n // Primary Payment Method data - if we are using split payments, use the primary payment method data within the SplitPayments array\r\n var csrfToken = $('.m-autoload-options').find('input[name=\"__RequestVerificationToken\"]').val();\r\n var data = {\r\n ProductId: this.id,\r\n FundingSourceId: this.FundingSourceId,\r\n BackupFundingSourceId: this.BackupFundingSourceId,\r\n __RequestVerificationToken: csrfToken\r\n };\r\n\r\n if (this.AutoLoad && this.AutoLoad.SuspendedFrom) {\r\n data.SuspendedFrom = this.AutoLoad.SuspendedFrom;\r\n }\r\n\r\n if (this.AutoLoad && this.AutoLoad.SuspendedTo) {\r\n data.SuspendedTo = this.AutoLoad.SuspendedTo;\r\n }\r\n\r\n if (this.AutoloadThresholdAmount > 0 && this.AutoloadThresholdAmount != null) {\r\n data.ThresholdValue = this.AutoloadThresholdAmount * 100;\r\n }\r\n data.Value = this.AutoloadValueAmount * 100;\r\n\r\n if (this.AutoLoad) {\r\n data.AutoloadId = this.AutoLoad.Id;\r\n }\r\n saveAutoload(data, this);\r\n },\r\n RemoveAutoloadSuspend: function () {\r\n var csrfToken = $('.m-autoload-options').find('input[name=\"__RequestVerificationToken\"]').val();\r\n var data = {\r\n ProductId: this.id,\r\n AutoloadId: this.AutoLoad.Id,\r\n FundingSourceId: this.AutoLoad.FundingSourceId,\r\n BackupFundingSourceId: this.AutoLoad.BackupFundingSourceId,\r\n PeriodDayOfMonth = this.AutoLoad.PeriodDayOfMonth,\r\n ThresholdValue: this.AutoLoad.AutoloadThresholdValue,\r\n Value: this.AutoLoad.AutoloadValue,\r\n PartialValue: this.AutoLoad.PartialAutoloadValue,\r\n MultipleFundingSources: this.AutoLoad.MultipleFundingSources,\r\n __RequestVerificationToken: csrfToken\r\n };\r\n\r\n this.isRemovingSuspension = true;\r\n saveAutoload(data, this);\r\n },\r\n CancelAutoloadSave: function () {\r\n this.$emit('autoload-adding', false);\r\n this.$emit('autoload-editing', false);\r\n this.ShowForm = false;\r\n\r\n // Focus either the edit or setup autoload button when form is closed\r\n this.$nextTick(() => {\r\n if ($('#edit-autoload_' + this.id).is(':visible')) {\r\n $('#edit-autoload_' + this.id).focus();\r\n }\r\n else {\r\n $('#setup-autoload').focus();\r\n }\r\n });\r\n },\r\n ShowAutoloadSuspend: function () {\r\n this.$emit('autoload-editing', true);\r\n this.ShowSuspend = true;\r\n\r\n // Focus first input when autoload suspend form is displayed\r\n this.$nextTick(() => {\r\n $('input[name=\"SuspendFrom\"]').focus();\r\n });\r\n },\r\n HideAutoloadSuspend: function () {\r\n this.$emit('autoload-editing', false);\r\n this.ShowSuspend = false;\r\n },\r\n EmitAutoloadSuspendUpdate: function (productId, autoload) {\r\n if (productId == this.id) {\r\n this.ShowSuspensionSuccess = true;\r\n\r\n this.OnAutoloadUpdated(autoload);\r\n }\r\n this.$emit('autoload-update', autoload);\r\n this.ShowSuspend = false;\r\n },\r\n // Used to show backup payment method area (when there's only one payment method)\r\n ShowBackupPayment: function (e) {\r\n console.log('e', e);\r\n this.ShowBackupPaymentSource = true;\r\n\r\n this.$nextTick(() => {\r\n $('select#autoload-backup-payment-method_' + this.id).focus();\r\n });\r\n },\r\n // Used to hide backup payment method area (when there's only one payment method)\r\n HideBackupPayment: function () {\r\n this.ShowBackupPaymentSource = false;\r\n this.BackupFundingSourceId = 0;\r\n },\r\n // Populates the backup payment funding sources based on the already selected payment methods\r\n BackupPaymentFundingSources: function (index) {\r\n var fundingSourcesInUse = [];\r\n\r\n var fundingSources = [];\r\n for (var i = 0; i < this.FundingSources.length; i++) {\r\n if (fundingSourcesInUse.includes(this.FundingSources[i].Id)) {\r\n continue;\r\n }\r\n fundingSources.push(this.FundingSources[i]);\r\n }\r\n return fundingSources;\r\n },\r\n LimitCardName: function (sourceName, length) {\r\n var cardName = sourceName;\r\n if (cardName === null || cardName === undefined) {\r\n return null;\r\n }\r\n if (cardName.length > 0) {\r\n if (cardName.length > length) {\r\n return cardName.substring(0, length) + \"... \";\r\n }\r\n }\r\n return cardName;\r\n },\r\n RemoveCustomAmount: function () {\r\n this.UserInputtedAutoloadValue = '';\r\n },\r\n SelectCustomRadioBtn: function () {\r\n $(\"#otpC-\" + this.id).prop(\"checked\", true);\r\n }\r\n },\r\n mounted: function () {\r\n this.SetDefaultPaymentMethod();\r\n this.renderComponent = true;\r\n\r\n \r\n },\r\n });\r\n });\r\n})(jQuery, Vue, ACCESSIBILITY);","(function ($, Vue) {\r\n if (document.querySelector('#template-institution-autoload-suspend-single') === null) {\r\n return;\r\n }\r\n\r\n var saveAutoload = function (opts, instance) {\r\n var request = null;\r\n instance.isSaving = true;\r\n if (instance.Type === 'Pass') {\r\n request = savePassAutoRenew(opts);\r\n } else {\r\n request = ProductsService.saveAutoload(opts);\r\n }\r\n instance.ShowError = false;\r\n request.done(function (res, sta, xhr) {\r\n instance.isSaving = false;\r\n var isPass = instance.Type === 'Pass';\r\n if (res && res.Success && res.Success === true) {\r\n instance.From = \"\";\r\n instance.To = \"\";\r\n instance.$emit('AutoloadUpdate', opts.ProductId, res.Data,isPass);\r\n } else {\r\n instance.ShowError = true;\r\n }\r\n });\r\n };\r\n\r\n var isValidDateFormat = function (input) {\r\n if (input === null || input === undefined || input === '' || input.trim() === '') {\r\n return false;\r\n }\r\n inputDate = new Date(input)\r\n input = inputDate.getMonth() + \"/\" + inputDate.getDate() + \"/\" + inputDate.getFullYear()\r\n if (!input.includes('/')) {\r\n return false;\r\n }\r\n var dateSegments = input.trim().split('/');\r\n if (dateSegments.length != 3) {\r\n return false;\r\n }\r\n var month = dateSegments[0];\r\n var day = dateSegments[1];\r\n var year = dateSegments[2];\r\n try {\r\n monthInt = parseInt(month);\r\n dayInt = parseInt(day);\r\n yearInt = parseInt(year);\r\n var monthIsValid = monthInt >= 1 && monthInt <= 12;\r\n var dayIsValid = dayInt >= 1 && dayInt <= 31;\r\n var yearIsValid = yearInt >= new Date().getFullYear() && yearInt <= 9999;\r\n return monthIsValid && dayIsValid && yearIsValid;\r\n } catch (ex) {\r\n return false;\r\n }\r\n return false;\r\n };\r\n\r\n function savePassAutoRenew(opts) {\r\n var form = {\r\n ProductId: opts.ProductId,\r\n AutoloadId: opts.AutoloadId,\r\n FundingSourceId: opts.FundingSourceId,\r\n BackupFundingSourceId: opts.BackupFundingSourceId,\r\n PartialValue: opts.PartialValue,\r\n MultipleFundingSources: opts.MultipleFundingSources,\r\n SuspendedFrom: opts.SuspendedFrom,\r\n SuspendedTo: opts.SuspendedTo\r\n };\r\n\r\n var csrfToken = $('.m-institution-autoload-options').find('input[name=\"__RequestVerificationToken\"]').val();\r\n form.__RequestVerificationToken = csrfToken;\r\n\r\n return ProductsService.savePassAutoRenew(form);\r\n }\r\n\r\n $(function () {\r\n Vue.component(\"autoload-suspend-single\", {\r\n template: \"#template-institution-autoload-suspend-single\",\r\n props: ['AutoLoad', 'ProductId', 'Type'],\r\n data: function () {\r\n return {\r\n From: \"\",\r\n To: \"\",\r\n ShowError: false,\r\n ErrorMessage: '',\r\n isSaving: false\r\n };\r\n },\r\n computed: {\r\n CanSaveSuspension: function () {\r\n var canSave = this.DateRangeIsValid && !this.isSaving;\r\n return canSave;\r\n },\r\n DateRangeIsValid: function () {\r\n if (this.IsValidStartDate() && this.IsValidEndDate() && !this.StartDateIsBeforeToday() && !this.EndDateIsBeforeStartDate()) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n },\r\n methods: {\r\n\r\n IsValidStartDate: function () {\r\n var startDate = new Date(this.From);\r\n return !isNaN(startDate);\r\n },\r\n IsValidEndDate: function () {\r\n var endDate = new Date(this.To);\r\n return !isNaN(endDate);\r\n },\r\n StartDateIsBeforeToday: function () {\r\n var vueModel = this;\r\n try {\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n // Need to replace dashes with slashes \r\n // For more information, see https://stackoverflow.com/questions/7556591/is-the-javascript-date-object-always-one-day-off/31732581#31732581\r\n var from = new Date(vueModel.From.replace(/-/g, '/'));\r\n\r\n var fromDateIsInTheFuture = from >= today;\r\n return !fromDateIsInTheFuture;\r\n } catch (ex) {\r\n return false;\r\n }\r\n },\r\n EndDateIsBeforeStartDate: function () {\r\n var vueModel = this;\r\n try {\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n // See above comment for explanation\r\n var from = new Date(vueModel.From.replace(/-/g, '/'));\r\n var to = new Date(vueModel.To.replace(/-/g, '/'));\r\n\r\n var toDateIsAfterFrom = to > from;\r\n return !toDateIsAfterFrom;\r\n } catch (ex) {\r\n return false;\r\n }\r\n },\r\n CancelAutoloadSuspend: function () {\r\n this.From = \"\";\r\n this.To = \"\";\r\n this.ShowError = false;\r\n this.$emit('CancelAutoloadSuspend');\r\n },\r\n UpdateAutoload: function () {\r\n this.$emit('AutoloadUpdate');\r\n },\r\n SubmitAutoloadSuspend: function () {\r\n var csrfToken = $('.m-autoload-suspend').find('input[name=\"__RequestVerificationToken\"]').val();\r\n if (!this.DateRangeIsValid) {\r\n this.ShowError = true;\r\n }\r\n else {\r\n var data = {\r\n ProductId: this.ProductId,\r\n AutoloadId: this.AutoLoad.Id,\r\n FundingSourceId: this.AutoLoad.FundingSourceId,\r\n BackupFundingSourceId: this.AutoLoad.BackupFundingSourceId,\r\n PeriodDayOfMonth: this.AutoLoad.PeriodDayOfMonth,\r\n ThresholdValue: this.AutoLoad.AutoloadThresholdValue,\r\n Value: this.AutoLoad.AutoloadValue,\r\n PartialValue: this.AutoLoad.PartialAutoloadValue,\r\n MultipleFundingSources: this.AutoLoad.MultipleFundingSources,\r\n SuspendedFrom: this.From,\r\n SuspendedTo: this.To,\r\n __RequestVerificationToken: csrfToken\r\n };\r\n saveAutoload(data, this);\r\n }\r\n \r\n },\r\n OpenDatepicker: function (e) {\r\n var self = this;\r\n var dateToday = new Date();\r\n $(e.target).datepicker({\r\n minDate: dateToday,\r\n onSelect: function (date, picker) {\r\n // Hacky - datepicker doesn't seem to natively trigger the Vue data update so we do it manually..\r\n var fieldName = $(this).attr(\"name\");\r\n if (fieldName === \"SuspendFrom\") self.From = date;\r\n else if (fieldName === \"SuspendTo\") self.To = date;\r\n }\r\n });\r\n $(e.target).datepicker(\"show\");\r\n }\r\n }\r\n });\r\n });\r\n\r\n})(jQuery, Vue);","(function ($, Vue) {\r\n if (document.querySelector('#template-customer-currentvalue-autoload-suspend') === null) {\r\n return;\r\n }\r\n\r\n var saveAutoload = function (opts, instance) {\r\n var request = null;\r\n instance.isSaving = true;\r\n\r\n request = ProductsService.saveAutoload(opts);\r\n\r\n instance.ShowError = false;\r\n request.done(function (res, sta, xhr) {\r\n instance.isSaving = false;\r\n if (res && res.Success && res.Success === true) {\r\n instance.From = \"\";\r\n instance.To = \"\";\r\n\r\n // Manually set owner to current customer account when saved for frontend\r\n res.Data.CustomerAccountId = instance.CustomerAccount.Id;\r\n res.Data.OwnerName = instance.CustomerAccount.FirstName + \" \" + instance.CustomerAccount.LastName;\r\n\r\n instance.$emit('AutoloadUpdate', opts.ProductId, res.Data);\r\n } else {\r\n instance.ShowError = true;\r\n }\r\n });\r\n };\r\n\r\n $(function () {\r\n Vue.component(\"autoload-suspend\", {\r\n template: \"#template-customer-currentvalue-autoload-suspend\",\r\n props: [\r\n 'InitialAutoLoad',\r\n 'ProductId',\r\n 'type',\r\n 'CustomerAccount'\r\n ],\r\n data: function () {\r\n return {\r\n AutoLoad: this.InitialAutoLoad,\r\n From: \"\",\r\n To: \"\",\r\n ShowError: false,\r\n ErrorMessage: '',\r\n isSaving: false\r\n };\r\n },\r\n computed: {\r\n CanSaveSuspension: function () {\r\n var canSave = this.DateRangeIsValid && !this.isSaving;\r\n return canSave;\r\n },\r\n DateRangeIsValid: function () {\r\n if (this.EndDateIsBeforeStartDate() || this.StartDateIsBeforeToday()) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n },\r\n methods: {\r\n IsValidStartDate: function () {\r\n var startDate = new Date(this.From);\r\n return !isNaN(startDate);\r\n },\r\n IsValidEndDate: function () {\r\n var endDate = new Date(this.To);\r\n return !isNaN(endDate);\r\n },\r\n StartDateIsBeforeToday: function () {\r\n var vueModel = this;\r\n try {\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n // Need to replace dashes with slashes \r\n // For more information, see https://stackoverflow.com/questions/7556591/is-the-javascript-date-object-always-one-day-off/31732581#31732581\r\n var from = new Date(vueModel.From.replace(/-/g, '/'));\r\n\r\n var fromDateIsInTheFuture = from >= today;\r\n return !fromDateIsInTheFuture;\r\n } catch (ex) {\r\n return false;\r\n }\r\n },\r\n EndDateIsBeforeStartDate: function () {\r\n var vueModel = this;\r\n try {\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n // See above comment for explanation\r\n var from = new Date(vueModel.From.replace(/-/g, '/'));\r\n var to = new Date(vueModel.To.replace(/-/g, '/'));\r\n\r\n var toDateIsAfterFrom = to > from;\r\n return !toDateIsAfterFrom;\r\n } catch (ex) {\r\n return false;\r\n }\r\n },\r\n CancelAutoloadSuspend: function () {\r\n this.From = \"\";\r\n this.To = \"\";\r\n this.ShowError = false;\r\n this.$emit('CancelAutoloadSuspend');\r\n },\r\n UpdateAutoload: function () {\r\n this.$emit('AutoloadUpdate');\r\n },\r\n SubmitAutoloadSuspend: function () {\r\n var csrfToken = $('.m-autoload-suspend').find('input[name=\"__RequestVerificationToken\"]').val();\r\n if (!this.DateRangeIsValid) {\r\n this.ShowError = true;\r\n } else {\r\n var data = {\r\n ProductId: this.ProductId,\r\n AutoloadId: this.AutoLoad.Id,\r\n FundingSourceId: this.AutoLoad.FundingSourceId,\r\n BackupFundingSourceId: this.AutoLoad.BackupFundingSourceId,\r\n PeriodDayOfMonth: this.AutoLoad.PeriodDayOfMonth,\r\n ThresholdValue: this.AutoLoad.AutoloadThresholdValue,\r\n Value: this.AutoLoad.AutoloadValue,\r\n PartialValue: this.AutoLoad.PartialAutoloadValue,\r\n MultipleFundingSources: this.AutoLoad.MultipleFundingSources,\r\n SuspendedFrom: this.From,\r\n SuspendedTo: this.To,\r\n __RequestVerificationToken: csrfToken\r\n };\r\n saveAutoload(data, this);\r\n }\r\n }\r\n }\r\n });\r\n });\r\n})(jQuery, Vue);","(function ($) {\r\n var modalSelector = \"#beginInstitutionCheckoutModal\";\r\n if (document.querySelector(modalSelector) === null) {\r\n return;\r\n }\r\n\r\n $(function () {\r\n $(modalSelector + \" button[type='submit']\").click(function (e) {\r\n var typeDropdown = $('select#InstAddPaymentMethod-FundingSourceType');\r\n window.InitEvents.institutionBeginCheckout.dispatch(typeDropdown.find(\":selected\").val());\r\n });\r\n });\r\n})(jQuery);","(function ($, TEXTFORMATTING, TRANSACTION_DETAILS, CustomerService) {\r\n var _vueData = {\r\n ShowOrder: false,\r\n Loading: false,\r\n Labels: {},\r\n Order: {},\r\n Details: {},\r\n Sale: {},\r\n VerboseDetails: {},\r\n Logo: \"\"\r\n };\r\n\r\n var getSale = function (transactionId) {\r\n return CustomerService.getSaleByTransactionId({ SaleTransactionId: transactionId });\r\n };\r\n\r\n var getOrder = function (transactionId) {\r\n return InstitutionService.getInstitutionAccountsSalesHistoryTable({ SaleTransactionId: transactionId });\r\n };\r\n\r\n var getOrderDetails = function (transactionId) {\r\n return InstitutionService.getOrderHistorySaleDetails(transactionId);\r\n };\r\n\r\n var getVerboseTransactionDetails = function (transactionId, orderId) {\r\n return InstitutionService.getSaleItemsByTransactionId(\r\n {\r\n SaleTransactionId: transactionId,\r\n OrderId: orderId,\r\n Skip: 0,\r\n Take: null\r\n });\r\n };\r\n\r\n $(function () {\r\n Vue.component(\"institution-shopping-cart-receipt\", {\r\n template: \"#template-view-institution-shopping-cart-receipt\",\r\n data: function () {\r\n return {\r\n Shared: _vueData\r\n };\r\n },\r\n computed: {\r\n PaymentMethodsUsed: function () {\r\n if (_vueData.Sale === null || _vueData.Sale.Payments === null || _vueData.Sale.Payments.length === 0) {\r\n return [];\r\n }\r\n var paymentMethodsUsed = [];\r\n _vueData.Sale.Payments.forEach(function (paymentMethod) {\r\n if (paymentMethod.PaymentMethod === 261) {\r\n paymentMethodsUsed.push({\r\n 'Name': 'Invoice',\r\n 'Amount': paymentMethod.Amount,\r\n 'AmountDollars': TEXTFORMATTING.CentsToDollars(paymentMethod.Amount, 'WithDollarSign')\r\n });\r\n }\r\n else if (paymentMethod.PaymentMethod === 2) {\r\n paymentMethodsUsed.push({\r\n 'Name': _vueData.Labels.CreditCard + ': ' + paymentMethod.MaskedPan,\r\n 'Amount': paymentMethod.Amount,\r\n 'AmountDollars': TEXTFORMATTING.CentsToDollars(paymentMethod.Amount, 'WithDollarSign')\r\n });\r\n }\r\n else if (paymentMethod.PaymentMethod === 264) {\r\n paymentMethodsUsed.push({\r\n 'Name': _vueData.Labels.ACH + ': ' + paymentMethod.MaskedPan,\r\n 'Amount': paymentMethod.Amount,\r\n 'AmountDollars': TEXTFORMATTING.CentsToDollars(paymentMethod.Amount, 'WithDollarSign')\r\n });\r\n }\r\n else if (paymentMethod.PaymentMethod === 270) {\r\n paymentMethodsUsed.push({\r\n 'Name': _vueData.Labels.Promo + \" (\" + paymentMethod.PaymentReference + \")\",\r\n 'Amount': paymentMethod.Amount,\r\n 'AmountDollars': TEXTFORMATTING.CentsToDollars(paymentMethod.Amount, 'WithDollarSign')\r\n });\r\n }\r\n });\r\n return paymentMethodsUsed;\r\n },\r\n HasSplitPayments: function () {\r\n return this.PaymentMethodsUsed.length > 1;\r\n }\r\n },\r\n methods: {\r\n RetrieveTransactionDetailPdf: function (order, cardOrderDetails, details) {\r\n downloadOrderPdf(order, cardOrderDetails, details, this.PaymentMethodsUsed, this.Shared.Labels);\r\n },\r\n PrintTransactionDetailPdf: function (order, cardOrderDetails, details) {\r\n var print = true;\r\n downloadOrderPdf(order, cardOrderDetails, details, this.PaymentMethodsUsed, this.Shared.Labels, print);\r\n }\r\n },\r\n mounted: function () {\r\n var orderDetails = $(\".m-institution-order-receipt\");\r\n if (!orderDetails.length) return;\r\n\r\n var imgLogo = new Image();\r\n imgLogo.src = orderDetails.data('logo');\r\n _vueData.Logo = imgLogo;\r\n\r\n $(orderDetails).each(function (i, e) {\r\n _vueData.Labels = {\r\n TransactionNumber: $(this).data(\"label-transaction-number\"),\r\n OrderNumber: $(this).data(\"label-order-number\"),\r\n ReceiptReference: $(this).data(\"label-receipt-reference\"),\r\n Date: $(this).data(\"label-date\"),\r\n Time: $(this).data(\"label-time\"),\r\n OrderState: $(this).data(\"label-order-state\"),\r\n SaleType: $(this).data(\"label-sale-type\"),\r\n Amount: $(this).data(\"label-amount\"),\r\n Description: $(this).data(\"label-description\"),\r\n PaymentMethod: $(this).data(\"label-payment-method\"),\r\n SplitPaymentMethods: $(this).data(\"label-split-payment-methods\"),\r\n Invoice: $(this).data(\"label-invoice\"),\r\n InvoiceName: $(this).data(\"label-invoice-name\"),\r\n ItemName: $(this).data(\"label-item-name\"),\r\n CardNumber: $(this).data(\"label-card-number\"),\r\n Quantity: $(this).data(\"label-quantity\"),\r\n Price: $(this).data(\"label-price\"),\r\n Subtotal: $(this).data(\"label-subtotal\"),\r\n Total: $(this).data(\"label-total\"),\r\n IsPreTax: $(this).data(\"label-is-pretax\"),\r\n CreditCard: $(this).data(\"label-credit-card\"),\r\n Visa: $(this).data(\"label-visa\"),\r\n MasterCard: $(this).data(\"label-mastercard\"),\r\n AmericanExpress: $(this).data(\"label-american-express\"),\r\n Discover: $(this).data(\"label-discover\"),\r\n ACH: $(this).data(\"label-ach\"),\r\n Promo: $(this).data(\"label-promo\")\r\n };\r\n });\r\n }\r\n });\r\n });\r\n\r\n var retrieveTransaction = function (salesTransactionId) {\r\n _vueData.Loading = true;\r\n _vueData.ShowOrder = true;\r\n getSale(salesTransactionId).done(function (res) {\r\n if (res.Success && res.Data !== null) {\r\n _vueData.Sale = res.Data;\r\n getOrder(salesTransactionId).then(function (res, sta, xhr) {\r\n if (res.TotalResults === 1) {\r\n var transaction = res.DataSet[0];\r\n transaction.SaleDate = TEXTFORMATTING.UtcToRegional(transaction.SaleDate);\r\n getOrderDetails(salesTransactionId).then(function (res, sta, xhr) {\r\n if (res.Success === true) {\r\n _vueData.Order = transaction;\r\n _vueData.Order.IsPreTax = _vueData.Sale.Payments && _vueData.Sale.Payments.length ? _vueData.Sale.Payments[0].IsPreTaxPayment : false;\r\n _vueData.Details = TRANSACTION_DETAILS.GetTransitAccounts(res.Data.Result, _vueData.Sale.SaleItems);\r\n\r\n _vueData.Order.Subtotal = 0;\r\n _vueData.Order.Total = 0;\r\n _vueData.Order.Discount = 0;\r\n _vueData.Sale.Payments.forEach(function (payment) {\r\n _vueData.Order.Subtotal += payment.Amount;\r\n\r\n var promoCodePaymentMethod = 270;\r\n if (payment.PaymentMethod !== promoCodePaymentMethod) {\r\n _vueData.Order.Total += payment.Amount;\r\n }\r\n else {\r\n _vueData.Order.Discount += payment.Amount;\r\n }\r\n });\r\n\r\n getVerboseTransactionDetails(salesTransactionId, _vueData.Sale.OrderId).done(function (res) {\r\n _vueData.VerboseDetails = res.Data.Result;\r\n for (var i = 0; i < _vueData.VerboseDetails.length; i++) {\r\n var transaction = _vueData.VerboseDetails[i];\r\n if (transaction.Products) {\r\n _vueData.VerboseDetails[i].Subtotal = transaction.Price + transaction.Products.reduce(function (accum, current) { return accum + current.Price }, 0);\r\n }\r\n else {\r\n _vueData.VerboseDetails[i].Subtotal = transaction.Price;\r\n }\r\n }\r\n Vue.nextTick(function () {\r\n _vueData.Loading = false;\r\n _vueData.ShowOrder = true;\r\n });\r\n });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n });\r\n };\r\n\r\n var renderPdfTextWithLabel = function (pdf, label, data, labelX, dataX, y) {\r\n pdf.setFontType('bold');\r\n pdf.text(labelX, y, label + ':');\r\n pdf.setFontType('normal');\r\n pdf.text(dataX, y, data);\r\n };\r\n\r\n var alignPdfCol = function (cell, data) {\r\n var col = data.column.index;\r\n if (col === 2) {\r\n cell.styles.halign = 'center';\r\n }\r\n else if (col > 2) {\r\n cell.styles.halign = 'right';\r\n }\r\n };\r\n\r\n var downloadOrderPdf = function (orderData, cardOrderDetails, orderDetails, payments, labels, print) {\r\n var defaultFontSize = 12;\r\n var x = 50; //left margin\r\n var y = 75; //y starting point, also top margin\r\n\r\n var pdf = new jsPDF('p', 'pt', 'letter');\r\n\r\n var total = 0;\r\n var saleDate = moment(orderData.SaleDate);\r\n var tableCols = [labels.ItemName, labels.CardNumber, labels.Quantity, labels.Price, labels.Subtotal];\r\n var tableRows = [];\r\n if (orderData.SaleType === \"Order\" && cardOrderDetails && cardOrderDetails.length) {\r\n cardOrderDetails.map(function (row, index) {\r\n var ticketname = row.TicketName;\r\n var price = TEXTFORMATTING.CentsToDollars(row.Price, 'WithDollarSign');\r\n var subtotal = TEXTFORMATTING.CentsToDollars(row.Price * row.Quantity, 'WithDollarSign');\r\n total += row.Quantity * row.Price;\r\n\r\n if (row.Products && row.Products.length) {\r\n for (var i = 0; i < row.Products.length; i++) {\r\n var productName = row.Products[i].Name === 'Balance (Purse)' ? 'Add Money' : row.Products[i].Name;\r\n ticketname = ticketname + '\\r' + productName;\r\n price = price + '\\r' + TEXTFORMATTING.CentsToDollars(row.Products[i].Price, 'WithDollarSign');\r\n subtotal = subtotal + '\\r' + TEXTFORMATTING.CentsToDollars(row.Products[i].Price * row.Quantity, 'WithDollarSign');\r\n total += row.Products[i].Price;\r\n }\r\n }\r\n\r\n tableRows.push([\r\n ticketname,\r\n row.CardNumber ? TEXTFORMATTING.AllowLinebreak(row.CardNumber) : '',\r\n row.Quantity,\r\n price,\r\n subtotal\r\n ]);\r\n });\r\n }\r\n else {\r\n if (orderDetails && orderDetails.length) {\r\n orderDetails = orderDetails.filter(function (row) { return row.Price > 0; });\r\n orderDetails.map(function (row, index) {\r\n total += row.Quantity * row.Price;\r\n tableRows.push([\r\n row.TicketName === 'Balance (Purse)' ? 'Add Money' : row.TicketName,\r\n TEXTFORMATTING.AllowLinebreak(row.CardNumber),\r\n row.Quantity,\r\n TEXTFORMATTING.CentsToDollars(row.Price, 'WithDollarSign'),\r\n TEXTFORMATTING.CentsToDollars(row.Price * row.Quantity, 'WithDollarSign')\r\n ]);\r\n });\r\n }\r\n }\r\n\r\n if (orderData.Discount) {\r\n tableRows.push([\"\", \"\", \"\", labels.Subtotal, TEXTFORMATTING.CentsToDollars(orderData.Subtotal, 'WithDollarSign')]);\r\n tableRows.push([\"\", \"\", \"\", labels.Promo, \"-\" + TEXTFORMATTING.CentsToDollars(orderData.Discount, 'WithDollarSign')]);\r\n }\r\n tableRows.push([\"\", \"\", \"\", labels.Total, TEXTFORMATTING.CentsToDollars(orderData.Total, 'WithDollarSign')]);\r\n\r\n pdf.autoTable(tableCols, tableRows, {\r\n headerStyles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n columnWidth: 'auto'\r\n },\r\n styles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n overflow: 'linebreak',\r\n columnWidth: 'wrap',\r\n font: 'helvetica',\r\n cellPadding: 10\r\n },\r\n columnStyles: {\r\n 0: { columnWidth: 140 },\r\n 1: { columnWidth: 140 },\r\n 2: { columnWidth: 'auto' },\r\n 3: { columnWidth: 'auto' },\r\n 4: { columnWidth: 'auto' }\r\n },\r\n margin: { top: 200, left: 50, right: 50 },\r\n createdHeaderCell: function (cell, data) {\r\n alignPdfCol(cell, data);\r\n },\r\n createdCell: function (cell, data) {\r\n alignPdfCol(cell, data);\r\n if (data.row.index === tableRows.length - 1) {\r\n cell.styles.fontStyle = 'bold';\r\n }\r\n },\r\n addPageContent: function (data) {\r\n pdf.setFontSize(defaultFontSize);\r\n\r\n //title/logo\r\n pdf.setFontSize(36);\r\n pdf.setTextColor(0, 0, 0);\r\n pdf.text(x, y, 'Sales Receipt');\r\n pdf.setFontSize(defaultFontSize);\r\n pdf.setTextColor(0, 0, 0);\r\n if (_vueData.Logo.complete && _vueData.Logo.naturalHeight !== 0) {\r\n pdf.addImage(_vueData.Logo, 'PNG', 440, 50, 120, 30); // format, x, y, width, height\r\n }\r\n y += 20;\r\n\r\n pdf.setDrawColor(43, 43, 43);\r\n pdf.setLineWidth(1);\r\n pdf.line(x, y, pdf.internal.pageSize.width - x, y);\r\n\r\n pdf.setFontSize(10);\r\n\r\n y += 30;\r\n if (orderData.ReceiptReference) { renderPdfTextWithLabel(pdf, labels.ReceiptReference, orderData.ReceiptReference, x, x + 120, y); }\r\n renderPdfTextWithLabel(pdf, labels.Date, saleDate.format('M/D/YYYY'), x + 350, x + 420, y);\r\n\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, labels.Amount, TEXTFORMATTING.CentsToDollars(orderData.Amount, 'WithDollarSign'), x, x + 120, y);\r\n renderPdfTextWithLabel(pdf, labels.Time, saleDate.format('h:mm A'), x + 350, x + 420, y);\r\n\r\n if (payments && payments.length > 0) {\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, \"Payment Method\", payments[0].Name, x, x + 120, y);\r\n }\r\n }\r\n });\r\n\r\n if (print) {\r\n pdf.autoPrint();\r\n window.open(pdf.output('bloburl'), '_blank');\r\n }\r\n else {\r\n var fileName = \"\";\r\n fileName = 'Sales-Receipt-' + orderData.SaleTransactionId + '.pdf';\r\n pdf.save(fileName);\r\n }\r\n };\r\n\r\n window.InitEvents.institutionOrderSuccess.add(retrieveTransaction);\r\n})(jQuery, TEXTFORMATTING, TRANSACTION_DETAILS, CustomerService);","(function ($, CartService) {\r\n if (document.querySelector('#vuePurchasePasses') === null) {\r\n return;\r\n }\r\n\r\n var shoppingCartUrl = window.PurchasePassesData.ShoppingCartUrl;\r\n\r\n var _vueData = {\r\n Total: 0\r\n };\r\n\r\n // AddPasses.cshtml\r\n Vue.component('purchase-passes', {\r\n template: '#vuePurchasePasses',\r\n props: {\r\n cardSignal: {\r\n type: String,\r\n default: ''\r\n },\r\n initialCard: {\r\n default: null\r\n },\r\n isGuest: {\r\n type: Boolean,\r\n default: false\r\n },\r\n isTotalAmountShown: {\r\n type: Boolean,\r\n default: true\r\n },\r\n lowBalanceThreshold: {\r\n type: String,\r\n default: '0'\r\n }\r\n },\r\n data: function () {\r\n return {\r\n isShown: false,\r\n card: this.initialCard,\r\n products: null,\r\n availableProducts: null,\r\n selectedOperatorId: '',\r\n noProducts: false,\r\n isProductLoadDone: false,\r\n passValidFrom: null,\r\n selectedValidity: null,\r\n selectedQuantity: null,\r\n changedQuantity: null,\r\n productsAddingToCart: null,\r\n productsShowingCartSuccess: null,\r\n quantitySelectIds: null,\r\n disableCartButton: null,\r\n qtyOptions: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\r\n cartSuccessful: false,\r\n cartError: false,\r\n errorMessages: '',\r\n ProductType: '',\r\n RegionalFrequency: '',\r\n RegionalDailySelected: false,\r\n RegionalProduct: '',\r\n AgencyProduct: '',\r\n WSFProductType: '',\r\n WSFMonthlyProduct: '',\r\n WSFMultiProduct: '',\r\n Shared: _vueData,\r\n AddToCartModal: {\r\n Product: null,\r\n Quantity: 0\r\n },\r\n LowBalanceThreshold: parseInt(this.lowBalanceThreshold),\r\n AddValueProductId: -1, // gets updated before load is finished.\r\n HasPassesInCart: false, // updates when cart gets updated.\r\n TotalForPassesInCart: -100, // updates when cart gets updated.\r\n selectedGroupSize: null, // Used to track the group size selected for group passes (type: 205)\r\n groupSizeRange: null // Used to track the group size ranges supported by individual group passes\r\n };\r\n },\r\n computed: {\r\n isLoading: function () {\r\n return !(this.isProductLoadDone);\r\n },\r\n numberOfTrips: function () {\r\n var product = this.AgencyProduct !== '' ? this.AgencyProduct : this.RegionalProduct;\r\n if (product && product.NumberOfTrips !== null) {\r\n return product.NumberOfTrips;\r\n }\r\n return null;\r\n },\r\n cartValidityGroupViolation: function () {\r\n var violation = false;\r\n var product = this.AgencyProduct !== '' ? this.AgencyProduct : this.RegionalProduct;\r\n\r\n if (product.ValidityDates.length) {\r\n //console.log('this.card.CartRestrictedValidity',this.card.CartRestrictedValidity);\r\n var restrictedValidity = this.card.CartRestrictedValidity.find(function (restricted) {\r\n return restricted.ValidityGroup === product.ValidityGroup;\r\n });\r\n if (restrictedValidity && restrictedValidity.Dates.length === product.ValidityDates.length) violation = true;\r\n }\r\n return violation;\r\n },\r\n validityOptions: function () {\r\n var validity = [];\r\n var product = this.AgencyProduct !== '' ? this.AgencyProduct : this.RegionalProduct;\r\n if (product && product.NumberOfTrips === null) {\r\n var restrictedValidity = null;\r\n if (product.ValidityGroup !== null) {\r\n restrictedValidity = this.card.CartRestrictedValidity.find(function (restricted) {\r\n return restricted.ValidityGroup === product.ValidityGroup;\r\n });\r\n }\r\n for (var i = 0; i < product.ValidityDates.length; i++) {\r\n if ((!restrictedValidity && product.InCartValidFrom.indexOf(product.ValidityDates[i].ValidFrom) === -1) || (restrictedValidity && restrictedValidity.Dates.indexOf(product.ValidityDates[i].ValidFrom) === -1)) {\r\n validity.push({\r\n ValidFrom: product.ValidityDates[i].ValidFrom,\r\n Name: moment.utc(product.ValidityDates[i].ValidFrom).format('MMMM')\r\n });\r\n }\r\n }\r\n this.selectedValidity[product.Id] = validity.length > 0 ? validity[0].ValidFrom : null;\r\n }\r\n return validity;\r\n },\r\n CardActive: function () {\r\n return this.card !== null && this.card.State === 1;\r\n },\r\n CardSoftBlocked: function () {\r\n return this.card !== null && this.card.State === 1 && this.card.BlockDate !== null && this.card.BlockDate < moment().toISOString();\r\n },\r\n CardHasLowBalance: function () {\r\n return this.card !== null && this.card.State === 1 && this.card.Balance < this.LowBalanceThreshold;\r\n },\r\n ProductTypeName: function () {\r\n return this.ProductType;\r\n },\r\n regionalDailyProduct: function () {\r\n var filtered = [];\r\n if (this.regionalProducts.length > 0) {\r\n filtered = this.regionalProducts.filter(function (product) {\r\n return !product.IsValidWhenSelling;\r\n }.bind(this));\r\n if (this.ProductType === 'regional' && this.regionalProducts.length === 1) {\r\n this.RegionalFrequency = filtered[0];\r\n }\r\n }\r\n return filtered;\r\n },\r\n regionalProducts: function () {\r\n var filtered = [];\r\n if (this.products !== null) {\r\n filtered = this.products.filter(function (product) {\r\n return product.OperatorId === 1 || product.OperatorId === null;\r\n }.bind(this));\r\n }\r\n return filtered;\r\n },\r\n wsfMonthlyProducts: function () {\r\n var filtered = [];\r\n if (this.products !== null) {\r\n filtered = this.products.filter(function (product) {\r\n return product.OperatorId === 8 && !product.NumberOfTrips;\r\n }.bind(this));\r\n return filtered;\r\n }\r\n return filtered;\r\n },\r\n wsfMultiProducts: function () {\r\n var filtered = [];\r\n if (this.products !== null) {\r\n filtered = this.products.filter(function (product) {\r\n return product.OperatorId === 8 && product.NumberOfTrips;\r\n }.bind(this));\r\n return filtered;\r\n }\r\n return filtered;\r\n },\r\n multiRideOptions: function () {\r\n var multiRideOptions = [];\r\n for (var i = 0; i < this.wsfMultiProducts.length; i++) {\r\n var rides = this.wsfMultiProducts[i].NumberOfTrips;\r\n if (multiRideOptions.indexOf(rides) === -1) {\r\n multiRideOptions.push(rides);\r\n }\r\n }\r\n return multiRideOptions;\r\n },\r\n cardOperators: function () {\r\n var operators = [];\r\n var operatorIds = [];\r\n if (this.products !== null) {\r\n for (var i = 0; i < this.products.length; i++) {\r\n if (this.products[i].OperatorId !== null && operatorIds.indexOf(this.products[i].OperatorId) === -1) {\r\n operatorIds.push(this.products[i].OperatorId);\r\n }\r\n }\r\n if (operatorIds.length > 0) {\r\n for (var j = 0; j < this.operators.length; j++) {\r\n if (operatorIds.indexOf(this.operators[j].OperatorId) > -1) {\r\n operators.push(this.operators[j]);\r\n }\r\n }\r\n }\r\n }\r\n return operators;\r\n },\r\n selectedProducts: function () {\r\n if (this.products !== null && this.selectedOperatorId !== null) {\r\n var filtered = this.products.filter(function (product) {\r\n return product.OperatorId === this.selectedOperatorId;\r\n }.bind(this));\r\n return filtered;\r\n }\r\n else {\r\n return [];\r\n }\r\n },\r\n CanSubmit: function () {\r\n return (this.RegionalProduct !== \"\" || this.AgencyProduct !== \"\") && !this.cartValidityGroupViolation;\r\n }\r\n },\r\n watch: {\r\n initialCard: function (newPropCard) {\r\n this.card = newPropCard;\r\n },\r\n card: function (newCard) {\r\n this.products = null;\r\n this.loadProducts();\r\n }\r\n },\r\n methods: {\r\n /**\r\n * Set the card property with provided card.\r\n * @param {TransitAccount} card Card to use with this Vue Root instance.\r\n */\r\n loadCard: function (card) {\r\n if (card !== null && typeof card !== 'undefined' && card !== false) {\r\n this.card = card;\r\n \r\n }\r\n },\r\n ShowAddPassesModal: function () {\r\n $(this.$el).find('.passesAddToCartSuccessModal').modal('hide');\r\n $('#addCardPassModal').modal('show');\r\n },\r\n ShowAddToCartModal: function (product, quantity, groupSize) {\r\n product = product || null;\r\n quantity = quantity > 0 ? quantity : 0;\r\n this.AddToCartModal.Product = product;\r\n this.AddToCartModal.Quantity = quantity;\r\n this.AddToCartModal.GroupSize = groupSize;\r\n\r\n $('#addCardPassModal').modal('hide');\r\n $(this.$el).find('.passesAddToCartSuccessModal').modal('show');\r\n },\r\n /**\r\n * Redirects to checkout. \r\n */\r\n Checkout: function () {\r\n window.location.href = shoppingCartUrl;\r\n },\r\n /**\r\n * Retrieves the Operator Name of provided Operator Id.\r\n * @param {any} operatorId ID of Operator to retrieve the Name of.\r\n * @return {String} Operator Name.\r\n */\r\n getOperatorName: function (operatorId) {\r\n if (this.operatorDict.hasOwnProperty(operatorId)) {\r\n return this.operatorDict[operatorId];\r\n }\r\n else {\r\n return '';\r\n }\r\n },\r\n /**\r\n * Load products for the current card if a card exists.\r\n * Grabs all valid products for card, then orders with the Top Ups first, then adds an InCart property\r\n * detailing whether or not the product is currently in the shopping cart.\r\n */\r\n loadProducts: function () {\r\n if (this.card === null || !this.card.hasOwnProperty('Id') || !this.card.hasOwnProperty('PrintedNumber')) {\r\n this.isProductLoadDone = true;\r\n return;\r\n }\r\n\r\n var purchasableProducts = this.card._Products != null ? this.card._Products.Purchasable : null;\r\n if (purchasableProducts && purchasableProducts.length > 0) {\r\n // Remove TopUps and Replacement Fees from purchasable passes\r\n this.availableProducts = purchasableProducts.filter(function (product) {\r\n return product.Type !== CartService.PRODUCT_TYPE_TOPUP && product.Type !== CartService.PRODUCT_TYPE_REPLACEMENT;\r\n });\r\n }\r\n else {\r\n this.availableProducts = [];\r\n this.isProductLoadDone = true;\r\n return;\r\n }\r\n\r\n this.setProductCartProperties(this.availableProducts);\r\n },\r\n setProductCartProperties: function (availableProducts) {\r\n var vue = this;\r\n\r\n var bindQuantitySelects = function () {\r\n // Bind quantity selects (the jQuery part that responds to button clicks and stuff).\r\n window.setTimeout(function () {\r\n var quantitySelectors = $('.js-quantity-select');\r\n if (quantitySelectors) {\r\n quantitySelectors.each(function () {\r\n window.QuantitySelectService.InitQuantitySelect($(this));\r\n });\r\n }\r\n }, 500);\r\n };\r\n\r\n setProductCartProperty(this.card.FareMediaId, availableProducts)\r\n .done(function (products) {\r\n setProductCartValidFromProperty(this.card.FareMediaId, products).done(function () {\r\n vue.products = products;\r\n vue.loadProductDictionaries();\r\n vue.isProductLoadDone = true;\r\n vue.updateCheckoutButtonAndTotal();\r\n bindQuantitySelects();\r\n window.setTimeout(function () {\r\n vue.loadQuantitySelectDictionary();\r\n }, 101);\r\n }.bind(this));\r\n }.bind(this));\r\n },\r\n /**\r\n * Loads the quantity select dictionary. We need this to reset the quantity value after a product gets added to the cart.\r\n * Call this method after the DOM has been written and loading has finished.\r\n */\r\n loadQuantitySelectDictionary: function () {\r\n var findQuantitySelectId = function (productId) {\r\n var quantityHolderSelector = '.js-quantity-holder[data-id=\"' + productId + '\"]';\r\n var $quantityHolder = $(quantityHolderSelector).first();\r\n var $quantitySelectModule = $quantityHolder.find('.js-quantity-select');\r\n\r\n if ($quantitySelectModule.length === 0) {\r\n return null;\r\n }\r\n return $quantitySelectModule.attr('data-id');\r\n };\r\n var vue = this;\r\n vue.quantitySelectIds = {};\r\n if (!this.noProducts) {\r\n this.products.forEach(function (product) {\r\n vue.quantitySelectIds[product.Id] = findQuantitySelectId(product.Id);\r\n });\r\n }\r\n },\r\n /**\r\n * Load the SelectedQuantity and disableCartButton dictionaries used by all products for updating UI.\r\n */\r\n loadProductDictionaries: function () {\r\n if (this.products === null || this.products.length === 0) {\r\n this.noProducts = true;\r\n return;\r\n }\r\n\r\n this.selectedValidity = {};\r\n this.selectedQuantity = {};\r\n this.changedQuantity = {};\r\n this.disableCartButton = {};\r\n this.productsAddingToCart = {};\r\n this.productsShowingCartSuccess = {};\r\n this.selectedGroupSize = {};\r\n this.groupSizeRange = {};\r\n\r\n for (var i = 0; i < this.products.length; i++) {\r\n var product = this.products[i];\r\n var productId = this.products[i].Id;\r\n this.$set(this.selectedValidity, productId, this.validityOptions[0]);\r\n this.$set(this.selectedQuantity, productId, this.qtyOptions[0]);\r\n this.$set(this.changedQuantity, productId, false);\r\n this.$set(this.disableCartButton, productId, false);\r\n this.$set(this.productsAddingToCart, productId, false);\r\n this.$set(this.productsShowingCartSuccess, productId, false);\r\n if (product.ValidityGroup !== null && product.InCartValidFrom && product.InCartValidFrom.length && product.InCartCard === this.card.FareMediaId) {\r\n for (var j = 0; j < product.InCartValidFrom.length; j++) {\r\n this.populateCartRestrictedValidity(this.products[i], product.InCartValidFrom[j]);\r\n }\r\n }\r\n\r\n if (this.isGroupPass(product)) {\r\n var productGroupSizeRange = [];\r\n\r\n for (var groupSize = product.MinGroupSize; groupSize <= product.GroupSize; groupSize++) {\r\n productGroupSizeRange.push(groupSize);\r\n }\r\n this.$set(this.groupSizeRange, productId, productGroupSizeRange);\r\n this.$set(this.selectedGroupSize, productId, productGroupSizeRange[0]);\r\n }\r\n }\r\n },\r\n /**\r\n * Called when the quantity changes.\r\n * @param {any} productId\r\n */\r\n quantityChanged: function (productId) {\r\n this.changedQuantity[productId] = false;\r\n\r\n var hasRequiredData = productId !== null && this.selectedQuantity[productId] !== null;\r\n var hasCustomEventData = event !== null && event !== undefined && event.eventData !== null && event.eventData !== undefined;\r\n if (!hasRequiredData) return;\r\n\r\n if (hasCustomEventData) {\r\n this.selectedQuantity[productId] = event.eventData.CurrentValue;\r\n if (!event.eventData.InBounds) {\r\n this.selectedQuantity[productId] = 1;\r\n }\r\n\r\n this.changedQuantity[productId] = true;\r\n }\r\n },\r\n updateGroupSize: function (productId, event) {\r\n var hasRequiredData = productId !== null && this.selectedQuantity[productId] !== null;\r\n if (!hasRequiredData) return;\r\n\r\n var hasCustomEventData = event && event.eventData;\r\n if (hasCustomEventData) {\r\n this.selectedGroupSize[productId] = event.eventData.CurrentValue;\r\n if (!event.eventData.InBounds) {\r\n this.selectedGroupSize[productId] = this.groupSizeRange[productId][0];\r\n }\r\n }\r\n },\r\n updateCheckoutButtonAndTotal: function () {\r\n // update total (specific to the card passes) and has passes in cart flag (for checkout button disability/ability)\r\n var vueModel = this;\r\n CartService.getShoppingCart().done(function (response) {\r\n vueModel.TotalForPassesInCart = vueModel.getTotalForPassesInCart(response);\r\n vueModel.HasPassesInCart = vueModel.getHasPassesInCart(response);\r\n });\r\n },\r\n /**\r\n * Add a provided product to the shopping cart.\r\n * @param {FareProduct} product Product to add to the shopping cart.\r\n */\r\n addToCart: function (product) {\r\n var vue = this;\r\n vue.$set(vue.productsShowingCartSuccess, product.Id, false);\r\n\r\n var showCartSuccess = function (productId) {\r\n vue.$set(vue.productsShowingCartSuccess, productId, true);\r\n //console.warn('showCartSuccess', productId, JSON.stringify(vue.productsShowingCartSuccess));\r\n //console.warn('vue.productsShowingCartSuccess[productId]', vue.productsShowingCartSuccess[productId]);\r\n window.setTimeout(function () {\r\n vue.$set(vue.productsShowingCartSuccess, productId, false);\r\n //console.warn('showCartSuccess - end', productId, JSON.stringify(vue.productsShowingCartSuccess));\r\n }, 3000);\r\n };\r\n\r\n var resetQuantity = function (productId) {\r\n window.QuantitySelectService.OverrideValue(vue.quantitySelectIds[productId], 1);\r\n vue.selectedQuantity[productId] = 1;\r\n };\r\n\r\n var validFrom = null;\r\n var validTo = null;\r\n if (this.selectedValidity[product.Id] !== null) validFrom = this.selectedValidity[product.Id];\r\n if (validFrom !== null && product.ValidityDates) {\r\n //this.passValidFrom = moment.utc(validFrom).format(product.NumberOfTrips !== null ? '(MMM D, YYYY)' : '(MMMM YYYY)');\r\n this.passValidFrom = moment.utc(validFrom).format('(MMMM YYYY)'); //shows on cartUpdatedModal\r\n var validityRange = product.ValidityDates.filter(function (dates) {\r\n return dates.ValidFrom === validFrom;\r\n });\r\n if (validityRange.length > 0) validTo = validityRange[0].ValidTo;\r\n }\r\n\r\n var selectedQuantity = this.selectedQuantity[product.Id];\r\n var selectedGroupSize = this.selectedGroupSize[product.Id];\r\n \r\n var onProductAddedToCart = function () {\r\n this.$set(this.disableCartButton, product.Id, false);\r\n product.InCart = true;\r\n product.InCartValidFrom.push(validFrom);\r\n if (product.ValidityGroup !== null) this.populateCartRestrictedValidity(product, validFrom);\r\n this.$set(this.productsAddingToCart, product.Id, false);\r\n showCartSuccess(product.Id);\r\n resetQuantity(product.Id);\r\n\r\n this.ShowAddToCartModal(product, selectedQuantity, selectedGroupSize);\r\n\r\n this.updateCheckoutButtonAndTotal();\r\n\r\n }.bind(vue);\r\n\r\n var purchasePassesContainer = '.purchase-passes-vue-component';\r\n csrfToken = $('input[name=\"__RequestVerificationToken\"]', purchasePassesContainer).val();\r\n\r\n if (!this.isGuest) {\r\n this.productsAddingToCart[product.Id] = true;\r\n CartService.addProductToCart({\r\n TransitAccountId: this.card.Id,\r\n ProductId: product.Id,\r\n Quantity: selectedQuantity,\r\n GroupSize: selectedGroupSize,\r\n ValidFrom: validFrom,\r\n ValidTo: validTo,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n // Handle cart-specific response details.\r\n .done(this.handleCartResponse)\r\n // Reset properties now that cart call is completed.\r\n .done(function (result) {\r\n onProductAddedToCart();\r\n }.bind(this));\r\n }\r\n else {\r\n this.productsAddingToCart[product.Id] = true;\r\n //this.card.AssociationType\r\n CartService.addProductToGuestCart(\r\n {\r\n TransitAccountId: this.card.Id,\r\n ProductId: product.Id,\r\n Quantity: selectedQuantity,\r\n GroupSize: selectedGroupSize,\r\n ValidFrom: validFrom,\r\n ValidTo: validTo,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n // Handle cart-specific response details.\r\n .done(this.handleCartResponse)\r\n // Reset properties now that cart call is completed.\r\n .done(function (result) {\r\n onProductAddedToCart();\r\n }.bind(this));\r\n }\r\n },\r\n /**\r\n * Display error messages and finish cart-specific actions after a product is added to the cart.\r\n * @param {Object} result Result from addProductToCart call.\r\n */\r\n handleCartResponse: function (result) {\r\n if (result.Success) {\r\n this.cartSuccessful = true;\r\n //$(\"#cartUpdatedModal\" + this.card.Id).modal(\"show\");\r\n //window.setTimeout(function () { this.cartSuccessful = false; }.bind(this), 2500);\r\n\r\n if (result.Data && result.Data.CartId) {\r\n CartService.setCartIdCookie(result.Data.CartId);\r\n }\r\n window.InitEvents.shoppingCartReload.dispatch();\r\n }\r\n else {\r\n console.error('Error adding product to cart: ', result);\r\n this.cartSuccessful = false;\r\n this.cartError = true;\r\n window.setTimeout(function () { this.cartError = false; }.bind(this), 2500);\r\n this.errorMessage = '';\r\n\r\n var errorMessages = [];\r\n\r\n if (Array.isArray(result.Messages)) {\r\n errorMessages = result.Messages;\r\n }\r\n if (result.ErrorsByField) {\r\n for (var prop in result.ErrorsByField) {\r\n if (!result.ErrorsByField.hasOwnProperty(prop)) continue;\r\n for (var msgIndx = 0; msgIndx < result.ErrorsByField[prop].length; msgIndx++) {\r\n var msg = result.ErrorsByField[prop][msgIndx];\r\n errorMessages.push(result.ErrorsByField[prop][msgIndx]);\r\n }\r\n }\r\n }\r\n this.errorMessages = errorMessages.join(',');\r\n }\r\n },\r\n getTotalForPassesInCart: function (cartResponse) {\r\n var targetProducts = this._getProductsForTarget(cartResponse);\r\n var total = 0;\r\n if (targetProducts === null) {\r\n console.error('Target products is null. Cannot get total for passes in cart.');\r\n return -1;\r\n }\r\n targetProducts.forEach(function (product) {\r\n total += (product.Price * product.Quantity);\r\n });\r\n return total;\r\n },\r\n getHasPassesInCart: function (cartResponse) {\r\n var targetProducts = this._getProductsForTarget(cartResponse);\r\n return targetProducts !== null && targetProducts.length > 0;\r\n },\r\n _getProductsForTarget: function (cartResponse) {\r\n var vueModel = this;\r\n if (cartResponse !== null && cartResponse !== undefined && cartResponse.Success && cartResponse.Success === true && cartResponse.Data !== null) {\r\n var itemsInCart = cartResponse.Data.Items || [];\r\n var targetProducts = [];\r\n var targetItems = [];\r\n var targetItemId = this.card.FareMediaId;\r\n if (itemsInCart.length > 0) {\r\n itemsInCart.forEach(function (item) {\r\n if (item.FareMediaId !== null && item.FareMediaId !== undefined && item.FareMediaId === targetItemId) {\r\n targetItems.push(item);\r\n }\r\n });\r\n }\r\n if (targetItems.length > 0) {\r\n targetItems.forEach(function (item) {\r\n if (item.Products !== null && item.Products !== undefined && item.Products.length > 0) {\r\n item.Products.forEach(function (product) {\r\n if (product.ProductId !== vueModel.AddValueProductId) { // Only want the passes\r\n targetProducts.push(product);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n return targetProducts;\r\n }\r\n return null;\r\n },\r\n populateCartRestrictedValidity: function (product, validFrom) {\r\n var dates = [];\r\n dates.push(validFrom);\r\n var inCart = {\r\n ValidityGroup: product.ValidityGroup,\r\n Dates: dates\r\n };\r\n if (!this.card.CartRestrictedValidity.length) {\r\n this.card.CartRestrictedValidity.push(inCart);\r\n } else {\r\n var restrictedValidity = this.card.CartRestrictedValidity.find(function (restricted) {\r\n return restricted.ValidityGroup === product.ValidityGroup;\r\n });\r\n if (restrictedValidity) {\r\n if (restrictedValidity.Dates.indexOf(validFrom) === -1) {\r\n restrictedValidity.Dates.push(validFrom);\r\n this.card.CartRestrictedValidity.find(function (restricted) { //update dates\r\n if (restricted.ValidityGroup === product.ValidityGroup) restricted.Dates = restrictedValidity.Dates;\r\n });\r\n }\r\n } else {\r\n this.card.CartRestrictedValidity.push(inCart2);\r\n }\r\n }\r\n //console.log(this.card.CartRestrictedValidity);\r\n },\r\n reset: function () {\r\n this.cartSuccessful = false;\r\n //$(\"#cartUpdatedModal\" + this.card.Id).modal(\"hide\");\r\n this.ProductType = '';\r\n this.RegionalFrequency = '';\r\n this.RegionalProduct = '';\r\n this.RegionalDailySelected = false;\r\n this.selectedOperatorId = '';\r\n this.AgencyProduct = '';\r\n this.WSFProductType = '';\r\n this.WSFMonthlyProduct = '';\r\n this.WSFMultiProduct = '';\r\n if (this.card !== null) {\r\n this.loadProducts();\r\n }\r\n\r\n this.loadProductDictionaries();\r\n },\r\n isGroupPass: function (product) {\r\n return product.Type === CartService.PRODUCT_TYPE_GROUP_PASS;\r\n }\r\n },\r\n mounted: function () {\r\n var vueModel = this;\r\n window.InitEvents.managedCardSelected.add(function (card) {\r\n vueModel.card = card;\r\n vueModel.card.CartRestrictedValidity = [];\r\n vueModel.loadProducts();\r\n });\r\n\r\n if (this.card) {\r\n\r\n vueModel.loadProducts();\r\n }\r\n }\r\n });\r\n\r\n /**\r\n * Updates FareProduct products list with InCart property identifying whether or not\r\n * the item is in the shopping cart at time of call.\r\n * @param {String} cardId FareMediaId for identifying which card in the shopping cart.\r\n * @param {FareProduct[]} products Array of FareProduct objects to modify.\r\n * @return {jQuery.Deferred} Chainable jQuery Deferred with new Products array as parameter.\r\n */\r\n function setProductCartProperty(cardId, products) {\r\n var productIds = products.map(function (product) { return product.Id; });\r\n\r\n return CartService.getProductIdsInCart(cardId, productIds)\r\n .then(function (result, status) {\r\n products.forEach(function (product) {\r\n product.InCart = !!result.Data.includes(product.Id);\r\n });\r\n return products;\r\n });\r\n }\r\n\r\n function setProductCartValidFromProperty(cardId, products) {\r\n return CartService.getLimitedValidityProductsInCart(cardId)\r\n .then(function (res, status) {\r\n products.forEach(function (product) {\r\n var inCartValidFrom = [];\r\n var inCartCard = null;\r\n if (res.Data && res.Data.length) {\r\n res.Data.map(function (validFromProduct) {\r\n if (validFromProduct.ProductId === product.Id) {\r\n inCartValidFrom.push(validFromProduct.ValidFrom);\r\n inCartCard = cardId;\r\n }\r\n });\r\n }\r\n product.InCartValidFrom = inCartValidFrom;\r\n product.InCartCard = inCartCard;\r\n product.NoValidityOptions = true;\r\n if (product.ValidityDates) product.NoValidityOptions = inCartValidFrom.length === product.ValidityDates.length;\r\n });\r\n return products;\r\n });\r\n }\r\n})(jQuery, CartService);\r\n","(function ($) {\r\n var modalSelector = \"#emptyShoppingCartModal\";\r\n if (document.querySelector(modalSelector) === null) {\r\n return;\r\n }\r\n\r\n $(function () {\r\n $(modalSelector + \" button[type='submit']\").click(function (e) {\r\n // Manually add CSRF token to the request for CSRF token validation\r\n var csrfToken = $('input[name=\"__RequestVerificationToken\"]', modalSelector).val();\r\n \r\n CartService.deleteCart({ __RequestVerificationToken: csrfToken }).done(function (result) {\r\n console.log(result);\r\n //instance.$emit('Reload');\r\n var params = UriService.getParameters();\r\n if (typeof params.s !== \"undefined\" && params.s === \"1\" || typeof params.c !== \"undefined\" && params.c === \"1\") {\r\n window.location = window.location.href.split(\"?\")[0];\r\n } else {\r\n window.location = window.location.href;\r\n }\r\n });\r\n });\r\n });\r\n})(jQuery);","(function ($, Vue, TEXTFORMATTING, CustomerService) {\r\n // We may need support for multiple products per cart item, each with their own quantities. But we're assuming one for now..\r\n var findFirstProduct = function (products, item) {\r\n for (var i = 0; i < item.Products.length; i++)\r\n if (products.hasOwnProperty(item.Products[i].ProductId)) return products[item.Products[i].ProductId];\r\n\r\n return null;\r\n };\r\n\r\n var getOperators = function (products, item) {\r\n var operators = [];\r\n for (var i = 0; i < item.Products.length; i++) {\r\n if (products.hasOwnProperty(item.Products[i].ProductId)) {\r\n var product = products[item.Products[i].ProductId];\r\n if (!operators.includes(product.OperatorId)) {\r\n operators.push(product.OperatorId);\r\n }\r\n }\r\n }\r\n return operators;\r\n };\r\n\r\n var getOperatorName = function (products, id, operatorDict) {\r\n var name = '';\r\n if (products.hasOwnProperty(id)) {\r\n var operatorId = products[id].OperatorId;\r\n name = operatorDict.hasOwnProperty(operatorId) ? operatorDict[operatorId] : '';\r\n }\r\n return name;\r\n };\r\n\r\n //necessary because type isn't stored in shopping cart\r\n //type should not be different from card to card, so we're fine using the full list of products\r\n var productIsTopUp = function (fareProducts, productId) {\r\n if (fareProducts.hasOwnProperty(productId)) return fareProducts[productId].Type === 8;\r\n };\r\n\r\n var removeCartItem = function (itemViewModel, instance) {\r\n var csrfToken = $('input[name=\"__RequestVerificationToken\"]', '[data-form-controller=\"getShoppingCart\"]').val();\r\n CartService.removeProductFromCart(\r\n {\r\n Id: itemViewModel.Id,\r\n Products: itemViewModel.Products,\r\n CardHolderIds: itemViewModel.CardHolderIds,\r\n __RequestVerificationToken: csrfToken\r\n }).done(function (result) {\r\n window.InitEvents.itemRemovedFromCart.dispatch(itemViewModel.Id);\r\n });\r\n };\r\n\r\n var updateItemQuantity = function (itemViewModel, quantity, instance) {\r\n CartService.updateItemQuantity(\r\n {\r\n Id: itemViewModel.Id,\r\n Quantity: quantity\r\n }).done(function (result) {\r\n instance.IsLoading = false;\r\n instance.Quantity = quantity;\r\n window.InitEvents.itemQuantityChanged.dispatch(itemViewModel.Id, quantity, false);\r\n });\r\n };\r\n\r\n var updateProductQuantity = function (itemViewModel, quantity, instance) {\r\n CartService.updateItemProductQuantity(\r\n {\r\n Id: itemViewModel.Products[0].Id,\r\n Quantity: quantity\r\n }).done(function (result) {\r\n instance.IsLoading = false;\r\n instance.Quantity = quantity;\r\n window.InitEvents.itemQuantityChanged.dispatch(itemViewModel.Products[0].Id, quantity, true);\r\n });\r\n };\r\n\r\n var getCardholderById = function (id, instance) {\r\n PublicService.getCardholderById(id).done(function (res, sta, xhr) {\r\n if (res !== null && res !== 'undefined') {\r\n var name = res.Data.FirstName + ' ' + res.Data.LastName;\r\n instance.HasCardholder = true;\r\n instance.CardholderName = name !== ' ' ? name : null;\r\n if (res.Data.DateOfBirth) {\r\n var years = moment().diff(moment(res.Data.DateOfBirth), \"years\", true);\r\n instance.CardholderBirthday = years > 0 && years < 150 ? TEXTFORMATTING.Moment(res.Data.DateOfBirth, \"M/D/YYYY\", true) : null;\r\n }\r\n getCardholderDocumentsById(id, instance);\r\n\r\n if (res.Data.FareCategory) {\r\n getCardholderFareCategory(res.Data.FareCategory, instance);\r\n }\r\n }\r\n });\r\n };\r\n\r\n var getCardholderDocumentsById = function (id, instance) {\r\n PublicService.getCardholderDocumentsById(id).done(function (res, sta, xhr) {\r\n if (res !== null && res !== 'undefined' && res.Data) {\r\n for (var i = 0; i < res.Data.length; i++) {\r\n var file = res.Data[i].Name;\r\n var fileName = file ? file.substring(file.indexOf(\"_\") + 1) : null;\r\n if (fileName !== null) instance.CardholderFiles.push(fileName);\r\n }\r\n }\r\n });\r\n };\r\n\r\n var getCardholderFareCategory = function (cardholderFareCategory, instance) {\r\n if (instance.FareCategories && instance.FareCategories.length) {\r\n instance.FareCategories.forEach(function (fareCategory) {\r\n if (cardholderFareCategory === fareCategory.Id) {\r\n instance.CardholderFareCategory = fareCategory.Name;\r\n }\r\n });\r\n }\r\n };\r\n\r\n var getFareCategories = function (instance) {\r\n SettingsService.getFareCategories().done(function (res) {\r\n if (res && res.Success) {\r\n instance.FareCategories = res.Data.Result;\r\n }\r\n });\r\n }\r\n\r\n var getCardNickname = function (printedCardNumber, vueInstance) {\r\n // We currently don't have a way to look up transit accounts by printed card number. And only customers can view nicknames, so this works out.\r\n CustomerService.getTransitAccounts().done(function (res, sta, xhr) {\r\n if (typeof res !== 'undefined' && res.Success && typeof res.Data !== 'undefined' && typeof res.Data.Result !== 'undefined') {\r\n var matchingTransitAccount = res.Data.Result.filter(function (x) {\r\n return x.PrintedNumber === printedCardNumber;\r\n });\r\n if (matchingTransitAccount !== null && matchingTransitAccount !== undefined && matchingTransitAccount.length > 0) {\r\n vueInstance.CardNickname = matchingTransitAccount[0].Description;\r\n if (vueInstance.CardNickname === null ||\r\n vueInstance.CardNickname === undefined ||\r\n vueInstance.CardNickname === \"[__EMPTY]\" ||\r\n vueInstance.CardNickname === \"\") {\r\n vueInstance.CardNickname = null;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n\r\n var limitCardName = function (card, cardNumber, length, showFullNumber) {\r\n var cardNumberFilter = Vue.filter('transitCardNumber');\r\n var lastFour = cardNumber ? cardNumber.substring(cardNumber.length - 4) : \"\";\r\n var cardNr = showFullNumber !== null && showFullNumber === true && cardNumber ? cardNumberFilter(cardNumber) : lastFour;\r\n var cardName = card.Description !== null && card.Description !== undefined ? card.Description : \"\";\r\n if (cardName.length > 0) {\r\n if (cardName.length > length) {\r\n return cardName.substring(0, length) + \"...\" + \" (\" + cardNr + \")\";\r\n } else {\r\n var cardname = cardName + \" (\" + cardNr + \")\";\r\n return cardname;\r\n }\r\n } else {\r\n return cardNumber;\r\n }\r\n };\r\n\r\n $(function () {\r\n var cardNumberFilter = Vue.filter('transitCardNumber');\r\n\r\n Vue.component(\"shopping-cart-item\", {\r\n template: \"#template-view-shopping-cart-item\",\r\n props: [\r\n 'ProductsList',\r\n 'FareMediaList',\r\n 'Item',\r\n 'OperatorDict',\r\n 'ItemIndex'\r\n ],\r\n data: function () {\r\n this.$quantitySelect = null;\r\n this.qtyOptions = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\r\n var p = findFirstProduct(this.ProductsList, this.Item);\r\n var productsList = this.ProductsList;\r\n var productPrice = 0;\r\n this.Item.Products.forEach(function (product) {\r\n productPrice += product.Price * product.Quantity;\r\n });\r\n\r\n if (this.Item.CardHolderIds.length) {\r\n this.GetCardholder(this.Item.CardHolderIds[0].CardHolderId);\r\n }\r\n\r\n var vanpoolGroupId = \"\";\r\n var products = [];\r\n this.Item.Products.forEach(function (product) {\r\n products.push({\r\n Name: productsList[product.ProductId] ? productsList[product.ProductId].Name : '',\r\n Price: product.Price,\r\n IsTopUp: productIsTopUp(productsList, product.ProductId),\r\n ValidFrom: product.ValidFrom,\r\n GroupSize: product.GroupSize,\r\n PricePerPerson: product.GroupSize ? product.Price / product.GroupSize : null\r\n });\r\n if (product.VanpoolGroupId !== null) vanpoolGroupId = product.VanpoolGroupId;\r\n });\r\n\r\n return {\r\n IsNewCard: !this.Item.ProductId && this.Item.ProductId !== 0 && !this.Item.PrintedCardNumber && this.Item.PrintedCardNumber !== true && vanpoolGroupId === \"\",\r\n HasCardholder: false,\r\n CardholderName: null,\r\n CardholderBirthday: null,\r\n CardholderFiles: [],\r\n CardholderFareCategory: null,\r\n IsShipping: this.Item.ProductId && this.Item.ProductId !== true, //exclude shipping cost product\r\n IsTopUpForExistingCard: (p && p.Type === 8) && (this.Item.hasOwnProperty(\"PrintedCardNumber\") && this.Item.PrintedCardNumber !== null && this.Item.PrintedCardNumber !== \"\"),\r\n FirstProduct: p,\r\n FareMedia: this.FareMediaList[this.Item.FareMediaTypeId] || null,\r\n ProductPrice: productPrice,\r\n Products: products,\r\n Quantity: !this.Item.hasOwnProperty(\"PrintedCardNumber\") || this.Item.PrintedCardNumber === null ? this.Item.Quantity : this.Item.Products[0].Quantity,\r\n ReplacedCardNumber: this.Item.ReplacedCardNumber,\r\n IsVanpoolPayment: vanpoolGroupId !== \"\",\r\n VanpoolGroupId: vanpoolGroupId,\r\n IsLoading: false,\r\n ReplacedCardBalance: -100,\r\n CardNickname: null,\r\n ReplacedCardNickname: null,\r\n FareCategories: []\r\n };\r\n },\r\n\r\n computed: {\r\n CanHaveQuantitySelect: function () {\r\n var isMonthlyPassCartItem = this.IsMonthlyPassItem;\r\n return ((!this.IsTopUpForExistingCard && !this.Validity && !this.IsNewCard) ||\r\n (this.IsNewCard && this.NewCardPrice !== '' && this.NewCardPrice >= 0 && !this.ReplacementCard && !this.HasCardholder)) &&\r\n !isMonthlyPassCartItem && !this.IsGroupPass;\r\n },\r\n Name: function () {\r\n if (this.IsNewCard) {\r\n return this.FareMedia !== null ? this.FareMedia.TypeName : \"\";\r\n } else {\r\n var name = \"\";\r\n if (this.FirstProduct !== null) {\r\n name = this.FirstProduct.Name;\r\n }\r\n return name;\r\n }\r\n },\r\n Validity: function () {\r\n var validity = null;\r\n if (this.FirstProduct !== null && this.FirstProduct.IsValidWhenSelling !== null && this.Item.Products.length > 0 && this.Item.Products[0].ValidFrom !== null) {\r\n validity = moment.utc(this.Item.Products[0].ValidFrom).format('MMMM YYYY');\r\n }\r\n return validity;\r\n },\r\n OperatorName: function () {\r\n if (this.FirstProduct !== null && this.FirstProduct &&\r\n this.OperatorDict && Object.keys(this.OperatorDict).length > 0) {\r\n var operatorId = this.FirstProduct.OperatorId;\r\n\r\n return this.OperatorDict.hasOwnProperty(operatorId) ? this.OperatorDict[operatorId] : '';\r\n }\r\n return \"\";\r\n },\r\n OrderHasMultipleAgencies: function () {\r\n return getOperators(this.ProductsList, this.Item).length > 1;\r\n },\r\n CardDescription: function () {\r\n return !this.IsNewCard && !this.IsVanpoolPayment && this.Item.Description !== null && this.Item.Description !== \"\" ? limitCardName(this.Item, this.Item.PrintedCardNumber, 25, true) : \"\";\r\n },\r\n CardNumber: function () {\r\n return !this.IsNewCard && !this.IsVanpoolPayment ? cardNumberFilter(this.Item.PrintedCardNumber) : \"\";\r\n },\r\n CardNumberAndOptionalNickname: function () {\r\n var vueModel = this;\r\n var number = vueModel.CardNumber;\r\n var nickname = vueModel.CardNickname;\r\n if (nickname !== null && nickname !== undefined) {\r\n return nickname + \" (\" + number + \")\";\r\n }\r\n return number;\r\n },\r\n ReplacedCardNumberAndOptionalNickname: function () {\r\n var vueModel = this;\r\n var number = cardNumberFilter(vueModel.ReplacementCard);\r\n var nickname = vueModel.ReplacedCardNickname;\r\n if (nickname !== null && nickname !== undefined) {\r\n return nickname + \" (\" + number + \")\";\r\n }\r\n return number;\r\n },\r\n VanpoolNotes: function () {\r\n if (this.IsVanpoolPayment && this.FirstProduct !== null && this.Item.Products[0].Notes) {\r\n return this.Item.Products[0].Notes.length ? this.Item.Products[0].Notes : null;\r\n }\r\n return null;\r\n },\r\n ReplacementCard: function () {\r\n return this.IsNewCard && this.Description !== null && this.Description !== \"\" ?\r\n limitCardName(this.Item, this.ReplacedCardNumber, 25, true) :\r\n this.ReplacedCardNumber !== null ? this.ReplacedCardNumber : \"\";\r\n },\r\n NewCardProducts: function () {\r\n return this.IsNewCard ? this.Products : \"\";\r\n },\r\n NewCardPrice: function () {\r\n var price = this.IsNewCard && this.FareMedia && this.FareMedia.Price !== null ? this.FareMedia.Price : \"\";\r\n return price;\r\n },\r\n Price: function () {\r\n if (this.IsNewCard) {\r\n if (this.FareMedia && this.FareMedia.Price !== null) {\r\n return this.FareMedia.Price + this.ProductPrice;\r\n } else {\r\n return this.ProductPrice;\r\n }\r\n } else {\r\n return this.Item.Products.reduce(function (total, product) { return total + product.Price; }, 0);\r\n }\r\n },\r\n LineTotal: function () {\r\n if (this.IsNewCard) {\r\n if (this.ReplacementCard !== null) {\r\n return this.Item.Products[0].Price;\r\n } else {\r\n return this.Item.Quantity * this.Price;\r\n }\r\n } else {\r\n return this.Item.Products[0].Quantity * this.Price;\r\n }\r\n },\r\n IsFareMediaItem: function () {\r\n return this.FareMedia !== null && this.FareMedia !== undefined;\r\n },\r\n IsReloadItem: function () {\r\n return !this.IsFareMediaItem && this.FirstProduct !== null && this.FirstProduct !== undefined && this.FirstProduct.IsTopUp;\r\n },\r\n IsMonthlyPassItem: function () {\r\n var isFareCard = this.IsFareMediaItem;\r\n var hasAPassWithTimeValidityContraints = this.IsValidWhenSelling;\r\n //console.log('checking is montly pass item', this, isFareCard, hasAPassWithTimeValidityContraints);\r\n return isFareCard ? false : hasAPassWithTimeValidityContraints;\r\n },\r\n // Iterate through Item.Products, then compare to ProductsList for IsValidWhenSelling. If any are true, then set to true.\r\n IsValidWhenSelling: function () {\r\n var productIdsInItem = this.Item.hasOwnProperty(\"Products\") ?\r\n this.Item.Products.map(function (product) {\r\n return product.ProductId + '';\r\n }) : [];\r\n\r\n var productsList = this.ProductsList;\r\n var validWhenSelling = false;\r\n\r\n productIdsInItem.forEach(function (productId) {\r\n productId = productId + '';\r\n if (typeof productsList !== 'undefined' &&\r\n typeof productsList[productId] !== 'undefined' &&\r\n productsList[productId].hasOwnProperty(\"IsValidWhenSelling\") &&\r\n productsList[productId].IsValidWhenSelling) {\r\n\r\n validWhenSelling = true;\r\n }\r\n });\r\n\r\n return validWhenSelling;\r\n },\r\n // Iterate through Item.Products and see if any have a GroupSize. If so, it has a Group Pass.\r\n IsGroupPass: function () {\r\n var isGroupPass = false;\r\n if (this.Products) {\r\n this.Products.forEach(function (product) {\r\n if (product.GroupSize) isGroupPass = true;\r\n });\r\n }\r\n return isGroupPass;\r\n }\r\n },\r\n methods: {\r\n GetCardholder: function (id) {\r\n return getCardholderById(id, this);\r\n },\r\n RemoveItem: function () {\r\n this.IsLoading = true;\r\n removeCartItem(this.Item, this);\r\n },\r\n UpdateQuantity: function (event) {\r\n this.IsLoading = true;\r\n if (event.eventData !== undefined) {\r\n this.Quantity = parseInt(event.eventData.CurrentValue + '');\r\n }\r\n if (this.Quantity < this.qtyOptions[0] || this.Quantity > this.qtyOptions[this.qtyOptions.length - 1]) {\r\n return;\r\n }\r\n if (this.IsNewCard) {\r\n updateItemQuantity(this.Item, this.Quantity, this);\r\n } else {\r\n updateProductQuantity(this.Item, this.Quantity, this);\r\n }\r\n }\r\n },\r\n mounted: function () {\r\n //console.log('this items quantity after mount', this.Quantity);\r\n var vueModel = this;\r\n vueModel.$quantitySelect = $(vueModel.$el).find('.js-quantity-select').first();\r\n if (vueModel.$quantitySelect.length === 0) {\r\n vueModel.$quantitySelect = null;\r\n }\r\n if (vueModel.$quantitySelect !== null) {\r\n window.setTimeout(function () {\r\n window.QuantitySelectService.InitQuantitySelect(vueModel.$quantitySelect);\r\n }, 100);\r\n }\r\n\r\n if (!vueModel.IsNewCard && !vueModel.IsFareMediaItem) { // Pass/reload\r\n getCardNickname(vueModel.Item.PrintedCardNumber, vueModel);\r\n }\r\n\r\n // Get replaced card balance if applicable..\r\n if (vueModel.ReplacementCard && vueModel.ReplacementCard !== null && vueModel.ReplacementCard !== undefined) {\r\n CustomerService.getTransitAccounts().done(function (res, sta, xhr) {\r\n if (typeof res !== 'undefined' && res.Success && typeof res.Data !== 'undefined' && typeof res.Data.Result !== 'undefined') {\r\n var matchingTransitAccount = res.Data.Result.find(function (x) {\r\n return x.PrintedNumber === vueModel.ReplacementCard;\r\n });\r\n if (typeof matchingTransitAccount !== 'undefined' && typeof matchingTransitAccount.PreTaxBalance !== 'undefined' && typeof matchingTransitAccount.Balance !== 'undefined') {\r\n var previousBalance = matchingTransitAccount.PreTaxBalance + matchingTransitAccount.Balance;\r\n vueModel.ReplacedCardBalance = previousBalance;\r\n vueModel.ReplacedCardNickname = matchingTransitAccount.Description;\r\n if (vueModel.ReplacedCardNickname === null ||\r\n vueModel.ReplacedCardNickname === undefined ||\r\n vueModel.ReplacedCardNickname === \"[__EMPTY]\" ||\r\n vueModel.ReplacedCardNickname === \"\") {\r\n vueModel.ReplacedCardNickname = null;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n // Get fare categories to display reduced fare card distinctions\r\n getFareCategories(this);\r\n\r\n //console.log('shopping-cart-item', vueModel);\r\n //console.log('ITEM IN CART ', vueModel.Item);\r\n }\r\n });\r\n });\r\n})(jQuery, Vue, TEXTFORMATTING, CustomerService);","(function ($, TEXTFORMATTING, TRANSACTION_DETAILS, CartService) {\r\n var templateSelector = '#template-view-shopping-cart-receipt';\r\n if (document.querySelector(templateSelector) === null) {\r\n return;\r\n }\r\n\r\n var _vueData = {\r\n CartEmpty: false,\r\n NoReceipt: false,\r\n ShowOrder: false,\r\n Loading: true,\r\n Labels: {},\r\n Order: {},\r\n Details: {},\r\n CardOrderDetails: {},\r\n Logo: \"\"\r\n };\r\n\r\n var getGuestOrders = function (date, shippingAddress) {\r\n return CartService.getOrders({ OrderDate: date, AddressLine1: shippingAddress });\r\n }\r\n\r\n var getGuestSale = function (card) {\r\n return CustomerService.getSaleByTransitAccount({ PrintedCardNumber: card, Take: 1 });\r\n }\r\n\r\n var getOrder = function () {\r\n // Take: 1 should grab the latest transaction\r\n return CustomerService.getCustomerAccountSalesHistoryTable({ Take: 1 });\r\n };\r\n\r\n var getReceiptDetails = function (transactionId) {\r\n return CartService.getReceiptDetails({ SaleTransactionId: transactionId });\r\n };\r\n\r\n var loadComplete = function () {\r\n _vueData.Loading = false;\r\n if (_vueData.Order !== null) {\r\n _vueData.ShowOrder = true;\r\n if (sessionStorage.getItem('_guestCart')) {\r\n sessionStorage.removeItem('_guestCart');\r\n }\r\n if (sessionStorage.getItem('_guestContact')) {\r\n sessionStorage.removeItem('_guestContact');\r\n }\r\n }\r\n else {\r\n _vueData.NoReceipt = true;\r\n }\r\n };\r\n\r\n var formatReceipt = function (res) {\r\n _vueData.Order.SaleTransactionId = res.Data.SaleTransactionId;\r\n _vueData.Order.ReceiptReference = res.Data.ReceiptReference;\r\n _vueData.Order.SaleDate = TEXTFORMATTING.UtcToRegional(res.Data.SaleDate);\r\n _vueData.Order.SaleType = res.Data.SaleType;\r\n _vueData.Order.OrderState = res.Data.OrderState;\r\n _vueData.Order.OrderNumber = res.Data.OrderNumber;\r\n\r\n _vueData.Order.Subtotal = 0;\r\n _vueData.Order.Total = 0;\r\n _vueData.Order.Discount = 0;\r\n _vueData.Order.Payments = res.Data.Payments || [];\r\n res.Data.Payments.forEach(function (payment) {\r\n _vueData.Order.Subtotal += payment.Amount;\r\n\r\n var promoCodePaymentMethod = 270;\r\n if (payment.PaymentMethod !== promoCodePaymentMethod) {\r\n _vueData.Order.Total += payment.Amount;\r\n }\r\n else {\r\n _vueData.Order.Discount += payment.Amount;\r\n }\r\n });\r\n\r\n if (res.Data.SaleItems && res.Data.SalesHistoryResult) {\r\n _vueData.Details = TRANSACTION_DETAILS.GetTransitAccounts(res.Data.SalesHistoryResult, res.Data.SaleItems);\r\n } else if (res.Data.SaleItems) {\r\n _vueData.Details = TRANSACTION_DETAILS.GetSaleItemDetails(res.Data.SaleItems, false);\r\n }\r\n\r\n if (res.Data.OrderDetails) {\r\n _vueData.CardOrderDetails = res.Data.SalesHistoryResult ? TRANSACTION_DETAILS.GetCardOrderDetails(res.Data.OrderDetails, res.Data.SalesHistoryResult) : TRANSACTION_DETAILS.GetCardOrderDetails(res.Data.OrderDetails, false);\r\n }\r\n\r\n return _vueData.Order;\r\n };\r\n\r\n var openReceiptModal = function () {\r\n var $modal = $('#shoppingCartReceiptModal');\r\n if ($modal.length) {\r\n $modal.modal('show');\r\n window.setTimeout(function () {\r\n $('body').addClass('modal-open');\r\n }, 250);\r\n }\r\n };\r\n\r\n $(function () {\r\n Vue.component(\"shopping-cart-receipt\", {\r\n template: templateSelector,\r\n props: [\r\n 'GuestCheckout',\r\n 'CanInitializeOnMount'\r\n ],\r\n data: function () {\r\n return {\r\n isGuestCheckout: this.GuestCheckout && (this.GuestCheckout + '').toLowerCase() === 'true',\r\n Shared: _vueData\r\n };\r\n },\r\n methods: {\r\n RetrieveReceipt: function () {\r\n _vueData.CardOrderDetails = [];\r\n _vueData.Details = [];\r\n getOrder().then(function (res, sta, xhr) {\r\n if (res.Success === true) {\r\n var transaction = res.Data[0];\r\n if (transaction.SaleTransactionId !== null) {\r\n getReceiptDetails(transaction.SaleTransactionId).then(function (res) {\r\n if (res.Success === true && res.Data !== null) {\r\n var receipt = formatReceipt(res);\r\n _vueData.Order.Name = res.Data.Name;\r\n _vueData.Order.Email = res.Data.Email;\r\n\r\n if (receipt) loadComplete();\r\n }\r\n else {\r\n _vueData.Loading = false;\r\n _vueData.NoReceipt = true;\r\n }\r\n });\r\n }\r\n }\r\n });\r\n },\r\n RetrieveGuestTransaction: function () {\r\n if (localStorage.getItem('_guestCart')) {\r\n try {\r\n this._guestCart = JSON.parse(localStorage.getItem('_guestCart'));\r\n } catch (e) {\r\n localStorage.removeItem('_guestCart');\r\n }\r\n }\r\n if (this._guestCart !== null && this._guestCart !== undefined) {\r\n var guestCart = this._guestCart[0];\r\n var order = guestCart.cart;\r\n _vueData.Order = order;\r\n _vueData.Order.Contact = guestCart.contact;\r\n _vueData.Order.Name = _vueData.Order.Contact !== null ? _vueData.Order.Contact.Name : \"\";\r\n _vueData.Order.Email = _vueData.Order.Contact !== null ? _vueData.Order.Contact.Email : \"\";\r\n\r\n var cardOrder = null;\r\n var card = \"\";\r\n //console.log('guestCart', guestCart);\r\n order.Items.forEach(function (item, i) {\r\n item.Products.forEach(function (product) {\r\n product.CardNumber = [];\r\n if (item.PrintedCardNumber !== null && item.PrintedCardNumber !== undefined && item.PrintedCardNumber.length > 0) {\r\n product.CardNumber.push(item.PrintedCardNumber);\r\n if (i === 0) card = item.PrintedCardNumber;\r\n }\r\n });\r\n i++;\r\n });\r\n\r\n if (guestCart.contact.ShippingAddress !== null) { // Card order (only card orders require shipping address)\r\n var shippingAddress = guestCart.contact.ShippingAddress.AddressLine1;\r\n var dateCreated = TEXTFORMATTING.Moment(new Date(), 'YYYY-MM-DDTHH:mm:ss', true);\r\n getGuestOrders(dateCreated, shippingAddress).then(function (res, sta, xhr) {\r\n //console.log('getGuestOrders:', res);\r\n if (res.Success === true && typeof res.Data !== \"undefined\") {\r\n var data = res.Data;\r\n if (data.length === 1) cardOrder = data[0];\r\n else {\r\n data.forEach(function (order) { //find most recent order\r\n if (cardOrder) {\r\n if (order.OrderDate > cardOrder.OrderDate) {\r\n cardOrder = order;\r\n }\r\n } else {\r\n cardOrder = order;\r\n }\r\n });\r\n }\r\n\r\n // console.log('cardOrder', cardOrder);\r\n if (cardOrder !== null && cardOrder.Id > 0) {\r\n getReceiptDetails(cardOrder.SaleTransactionId).then(function (res, sta, xhr) {\r\n // console.log('getReceiptDetails:', res);\r\n if (res.Success === true) {\r\n var receipt = formatReceipt(res);\r\n if (receipt) loadComplete();\r\n } else {\r\n _vueData.Loading = false;\r\n _vueData.NoReceipt = true;\r\n }\r\n });\r\n }\r\n else {\r\n _vueData.Loading = false;\r\n _vueData.NoReceipt = true;\r\n }\r\n }\r\n });\r\n }\r\n else if (card !== \"\") {\r\n getGuestSale(card).then(function (res, sta, xhr) {\r\n // console.log('getGuestSale(card): ', res);\r\n if (res.Success === true && typeof res.Data !== \"undefined\") {\r\n if (res.Data.SaleTransactionId !== null) {\r\n getReceiptDetails(res.Data.SaleTransactionId).then(function (res, sta, xhr) {\r\n // console.log('getReceiptDetails:', res);\r\n if (res.Success === true) {\r\n var receipt = formatReceipt(res);\r\n if (receipt) loadComplete();\r\n } else {\r\n _vueData.Loading = false;\r\n _vueData.NoReceipt = true;\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n _vueData.Loading = false;\r\n _vueData.CartEmpty = true;\r\n }\r\n }\r\n },\r\n RetrieveTransactionDetailPdf: function (order, cardOrders, details) {\r\n downloadOrderPdf(order, cardOrders, details, this.Shared.Labels, this.isGuestCheckout);\r\n },\r\n PrintTransactionDetailPdf: function (order, cardOrders, details) {\r\n var print = true;\r\n downloadOrderPdf(order, cardOrders, details, this.Shared.Labels, this.isGuestCheckout, print);\r\n },\r\n Initialize: function () {\r\n if (this.isGuestCheckout) {\r\n this.RetrieveGuestTransaction();\r\n } else {\r\n this.RetrieveReceipt();\r\n }\r\n }\r\n },\r\n mounted: function () {\r\n var vueModel = this;\r\n var orderDetails = $(this.$el).find(\".m-customer-order-receipt-data\").first();\r\n if (!orderDetails.length) return;\r\n\r\n $(orderDetails).each(function (i, e) {\r\n _vueData.Labels = {\r\n TransactionNumber: $(this).data(\"label-transaction-number\"),\r\n ReceiptReference: $(this).data(\"label-receipt-reference\"),\r\n Date: $(this).data(\"label-date\"),\r\n Time: $(this).data(\"label-time\"),\r\n OrderState: $(this).data(\"label-order-state\"),\r\n OrderNumber: $(this).data(\"label-order-number\"),\r\n SaleType: $(this).data(\"label-sale-type\"),\r\n Name: $(this).data(\"label-name\"),\r\n Email: $(this).data(\"label-email\"),\r\n Amount: $(this).data(\"label-amount\"),\r\n SalesChannelId: $(this).data(\"label-sales-channel-id\"),\r\n StoredValue: $(this).data(\"label-stored-value\"),\r\n PaymentMethod: $(this).data(\"label-payment-method\"),\r\n SplitPaymentMethods: $(this).data(\"label-split-payment-methods\"),\r\n ItemName: $(this).data(\"label-item-name\"),\r\n CardNumber: $(this).data(\"label-card-number\"),\r\n Quantity: $(this).data(\"label-quantity\"),\r\n Price: $(this).data(\"label-price\"),\r\n Subtotal: $(this).data(\"label-subtotal\"),\r\n Total: $(this).data(\"label-total\"),\r\n Download: $(this).data('label-download'),\r\n Print: $(this).data('label-print'),\r\n Close: $(this).data('label-close'),\r\n SalesReceipt: $(this).data('label-sales-receipt'),\r\n CreditCard: $(this).data('label-credit-card'),\r\n ACH: $(this).data('label-ach'),\r\n Promo: $(this).data('label-promo')\r\n };\r\n\r\n var imgLogo = new Image();\r\n imgLogo.src = $(orderDetails).data('logo');\r\n _vueData.Logo = imgLogo;\r\n });\r\n\r\n window.InitEvents.checkoutComplete.add(function () {\r\n vueModel.Initialize();\r\n window.setTimeout(function () {\r\n openReceiptModal();\r\n }, 250);\r\n });\r\n }\r\n });\r\n });\r\n\r\n var renderPdfTextWithLabel = function (pdf, label, data, labelX, dataX, y) {\r\n pdf.setFontType('bold');\r\n pdf.text(labelX, y, label + ':');\r\n pdf.setFontType('normal');\r\n pdf.text(dataX, y, data);\r\n };\r\n\r\n var alignPdfCol = function (cell, data) {\r\n var col = data.column.index;\r\n if (col === 2) {\r\n cell.styles.halign = 'center';\r\n }\r\n else if (col > 2) {\r\n cell.styles.halign = 'right';\r\n }\r\n };\r\n\r\n var downloadOrderPdf = function (orderData, cardOrderDetails, orderDetails, labels, isGuestCheckout, print) {\r\n var defaultFontSize = 12;\r\n var x = 50; //left margin \r\n var topMargin = 75; //y starting point, also top margin\r\n\r\n var pdf = new jsPDF('p', 'pt', 'letter');\r\n\r\n var total = 0;\r\n var saleDate = moment(orderData.SaleDate);\r\n var tableCols = [labels.ItemName, labels.CardNumber, labels.Quantity, labels.Price, labels.Subtotal];\r\n var tableRows = [];\r\n if (cardOrderDetails && cardOrderDetails.length) {\r\n cardOrderDetails.map(function (row, index) {\r\n total += row.Quantity * row.Subtotal;\r\n tableRows.push([\r\n TEXTFORMATTING.FormatCardProducts(row.TicketName, row.Products, \"name\"),\r\n TEXTFORMATTING.AllowLinebreak(row.CardNumber),\r\n row.Quantity,\r\n TEXTFORMATTING.FormatCardProducts(TEXTFORMATTING.CentsToDollars(row.Price, 'WithDollarSign'), row.Products, \"price\"),\r\n TEXTFORMATTING.CentsToDollars(row.Subtotal * row.Quantity, 'WithDollarSign')\r\n ]);\r\n });\r\n }\r\n if (orderDetails.length) {\r\n orderDetails = orderDetails.filter(function (row) { return row.Price > 0; });\r\n orderDetails.map(function (row, index) {\r\n total += row.Quantity * row.Price;\r\n tableRows.push([\r\n row.TicketName,\r\n TEXTFORMATTING.AllowLinebreak(row.CardNumber),\r\n row.Quantity,\r\n TEXTFORMATTING.CentsToDollars(row.Price, 'WithDollarSign'),\r\n TEXTFORMATTING.CentsToDollars(row.Price * row.Quantity, 'WithDollarSign')\r\n ]);\r\n });\r\n }\r\n\r\n if (orderData.Discount) {\r\n tableRows.push([\"\", \"\", \"\", labels.Subtotal, TEXTFORMATTING.CentsToDollars(orderData.Subtotal, 'WithDollarSign')]);\r\n tableRows.push([\"\", \"\", \"\", labels.Promo, \"-\" + TEXTFORMATTING.CentsToDollars(orderData.Discount, 'WithDollarSign')]);\r\n }\r\n tableRows.push([\"\", \"\", \"\", labels.Total, TEXTFORMATTING.CentsToDollars(orderData.Total, 'WithDollarSign')]);\r\n\r\n pdf.autoTable(tableCols, tableRows, {\r\n headerStyles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n columnWidth: 'auto'\r\n },\r\n styles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n overflow: 'linebreak',\r\n columnWidth: 'wrap',\r\n font: 'helvetica',\r\n cellPadding: 10\r\n },\r\n columnStyles: {\r\n 0: { columnWidth: 140 },\r\n 1: { columnWidth: 140 },\r\n 2: { columnWidth: 'auto' },\r\n 3: { columnWidth: 'auto' },\r\n 4: { columnWidth: 'auto' }\r\n },\r\n margin: { top: 200, left: 50, right: 50 },\r\n createdHeaderCell: function (cell, data) {\r\n alignPdfCol(cell, data);\r\n },\r\n createdCell: function (cell, data) {\r\n alignPdfCol(cell, data);\r\n if (data.row.index === tableRows.length - 1) {\r\n cell.styles.fontStyle = 'bold';\r\n }\r\n },\r\n addPageContent: function (data) {\r\n if (data.pageCount > 1) {\r\n return;\r\n }\r\n var y = topMargin;\r\n pdf.setFontSize(defaultFontSize);\r\n\r\n //title/logo\r\n pdf.setFontSize(36);\r\n pdf.setTextColor(0, 0, 0);\r\n pdf.text(x, y, labels.SalesReceipt);\r\n if (_vueData.Logo.complete && _vueData.Logo.naturalHeight !== 0) {\r\n pdf.addImage(_vueData.Logo, 'PNG', 440, 50, 120, 30); // format, x, y, width, height\r\n }\r\n pdf.setFontSize(defaultFontSize);\r\n y += 20;\r\n\r\n pdf.setDrawColor(43, 43, 43);\r\n pdf.setLineWidth(1);\r\n pdf.line(x, y, pdf.internal.pageSize.width - x, y);\r\n\r\n pdf.setFontSize(10);\r\n\r\n y += 30;\r\n if (orderData.ReceiptReference) { renderPdfTextWithLabel(pdf, labels.ReceiptReference, orderData.ReceiptReference, x, x + 120, y); }\r\n renderPdfTextWithLabel(pdf, labels.Date, saleDate.format('M/D/YYYY'), x + 350, x + 420, y);\r\n\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, labels.Amount, TEXTFORMATTING.CentsToDollars(orderData.Total, 'WithDollarSign'), x, x + 120, y);\r\n renderPdfTextWithLabel(pdf, labels.Time, saleDate.format('h:mm A'), x + 350, x + 420, y);\r\n\r\n if (orderData.Name !== null && orderData.Name !== undefined) { \r\n y += 15;\r\n renderPdfTextWithLabel(pdf, labels.Name, orderData.Name, x, x + 120, y);\r\n }\r\n\r\n if (orderData.Email !== null && orderData.Email !== undefined) {\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, labels.Email, orderData.Email, x, x + 120, y);\r\n }\r\n\r\n y += 15;\r\n if (orderData.Payments && orderData.Payments.length > 0) {\r\n if (orderData.Payments[0].PaymentMethod === 5) {\r\n renderPdfTextWithLabel(pdf, labels.PaymentMethod, labels.StoredValue, x, x + 120, y);\r\n }\r\n else if (orderData.Payments[0].PaymentMethod === 270) {\r\n renderPdfTextWithLabel(pdf, labels.PaymentMethod, labels.Promo + \" (\" + orderData.Payments[0].PaymentReference + \")\", x, x + 120, y);\r\n }\r\n else {\r\n var type = orderData.Payments[0].PaymentMethod === 264 ? labels.ACH + \": \" : labels.CreditCard + \": \";\r\n renderPdfTextWithLabel(pdf, labels.PaymentMethod, type + orderData.Payments[0].MaskedPan, x, x + 120, y);\r\n }\r\n y += 15;\r\n }\r\n }\r\n });\r\n\r\n if (print) {\r\n pdf.autoPrint();\r\n window.open(pdf.output('bloburl'), '_blank');\r\n } else {\r\n var fileName = \"\";\r\n if (!isGuestCheckout) {\r\n fileName = 'Sales-Receipt-' + orderData.SaleTransactionId + '.pdf';\r\n } else {\r\n fileName = 'Sales-Receipt-' + saleDate.format('M-D-YYYY-hmma') + '.pdf';\r\n }\r\n pdf.save(fileName);\r\n }\r\n };\r\n})(jQuery, TEXTFORMATTING, TRANSACTION_DETAILS, CartService);","(function ($, TEXTFORMATTING) {\r\n Vue.filter(\"centsToDollars\", function (value, format) {\r\n return TEXTFORMATTING.CentsToDollars(value, format);\r\n });\r\n\r\n Vue.filter(\"transitCardNumber\", function (value, hideNumber) {\r\n var out = \"\";\r\n var number = value;\r\n if (hideNumber) {\r\n number = \"xxxxxxxxxxxx\" + number.slice(12);\r\n }\r\n for(var i=0; i0 ? \" \" : \"\") + number[i];\r\n }\r\n return out;\r\n });\r\n\r\n Vue.filter(\"moment\", function (value, format, parseZone) {\r\n return TEXTFORMATTING.Moment(value, format, parseZone);\r\n });\r\n\r\n Vue.filter(\"momentMDY\", function (value, format, parseZone, lang) {\r\n return TEXTFORMATTING.MomentMDY(value, format, parseZone, lang);\r\n });\r\n\r\n Vue.filter(\"phone\", function (phone) {\r\n var phoneNumber = \"\";\r\n if (phone.length === 10) {\r\n phoneNumber = phone.replace(/[^+0-9x]/g, '').replace(/(\\d{3})(\\d{3})(\\d{4})/, '$1-$2-$3');\r\n } else {\r\n phoneNumber = phone.replace(/[^+0-9x]/g, '');\r\n } \r\n return phoneNumber;\r\n });\r\n\r\n Vue.filter(\"capitalizeFirstLetterOnly\", function (text) {\r\n return TEXTFORMATTING.CapitalizeFirstLetterOnly(text);\r\n });\r\n})(jQuery,TEXTFORMATTING);","/* javascript methods for accordions */\r\n(function ($, ACCESSIBILITY) {\r\n $(function () {\r\n if (document.querySelector(\".accordionBLE\") === null) {\r\n return;\r\n }\r\n var accordion = $(\".accordionBLE\");\r\n\r\n $('.m-accordion').on('shown.bs.collapse', function (e) {\r\n var panel = $(e.target).closest('.panel');\r\n if (panel.length) {\r\n //get header height and factor it in if it's fixed\r\n var header = $('header').first();\r\n if (header.css('position') === 'fixed') {\r\n headerHeight = header.height();\r\n }\r\n }\r\n });\r\n\r\n var buttonShow = $('.btn-view-questions', accordion);\r\n var buttonHide = $('.btn-hide-questions', accordion);\r\n if (buttonShow.length && buttonHide.length) {\r\n buttonShow.on('click', function (e) {\r\n multi = true;\r\n $('.multi-collapse', accordion).addClass('show');\r\n buttonShow.hide();\r\n buttonHide.show();\r\n });\r\n buttonHide.on('click', function (e) {\r\n multi = false;\r\n $('.multi-collapse', accordion).removeClass('show');\r\n buttonHide.hide();\r\n buttonShow.show();\r\n });\r\n }\r\n\r\n ACCESSIBILITY.SetupKeyboardClick($('.accordionBLE .panel .panel-heading'));\r\n });\r\n})(jQuery, ACCESSIBILITY);","(function ($, Vue, ACCESSIBILITY) {\r\n var templateSelector = \"#vueAddValue\";\r\n if (document.querySelector(templateSelector) === null) {\r\n return;\r\n }\r\n var qtyOptions = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\r\n var shoppingCartUrl = window.AddValueProductData.ShoppingCartUrl;\r\n\r\n var addToCartSuccess = function (res, sta, xhr) {\r\n ACCESSIBILITY.ClearFocus();\r\n if (res.Success) {\r\n this.showAddedToCartScreen = true;\r\n this.inCart = true;\r\n $('#addValueModal').modal('hide');\r\n $(this.$el).find('.valueAddToCartSuccessModal').modal('show');\r\n if (res.Data && res.Data.CartId) CartService.setCartIdCookie(res.Data.CartId);\r\n window.InitEvents.shoppingCartReload.dispatch();\r\n } else {\r\n this.errorMessage = res.Messages.join(\",\");\r\n this.showError = true;\r\n window.setTimeout(function () { this.ShowError = false; }.bind(this), 5000);\r\n }\r\n this.isAddingToCart = false;\r\n this.updateReloadAmountInCart();\r\n };\r\n\r\n $(function () {\r\n var centsToDollars = Vue.filter('centsToDollars');\r\n\r\n // AddValue.cshtml\r\n Vue.component(\"add-value\", {\r\n template: templateSelector,\r\n props: {\r\n card: Object,\r\n topUpProduct: Object,\r\n rawReloadAmounts: String,\r\n IsBulkSale: {\r\n type: Boolean,\r\n default: false\r\n },\r\n HasText: {\r\n type: Boolean,\r\n default: true\r\n },\r\n isGuest: {\r\n type: Boolean,\r\n default: false\r\n },\r\n epurseLoadingLimit: {\r\n type: Number,\r\n default: 0\r\n }\r\n },\r\n data: function () {\r\n return {\r\n isLoading: true,\r\n Quantity: 1,\r\n amount: \"\",\r\n customAmount: null,\r\n QtyOptions: qtyOptions,\r\n minimumLoad: Number($(templateSelector).attr('data-minimum-topup')),\r\n customAmountEmpty: false,\r\n showError: false,\r\n errorMessage: \"\",\r\n oneTimePayment: {\r\n amount: \"\"\r\n },\r\n showAddedToCartScreen: false,\r\n isAddingToCart: false,\r\n inCart: false,\r\n AddValueProductId: -1, // ID of product for \"Add Value\"\r\n ReloadAmountInCart: -100 // gets updated when user adds value to cart\r\n };\r\n },\r\n methods: {\r\n /**\r\n * Update the reload amount that is currently in the cart for the selected card\r\n */\r\n updateReloadAmountInCart: function () {\r\n var vueModel = this;\r\n CartService.getShoppingCart().done(function (response) {\r\n var targetProducts = vueModel._getProductsForTarget(response) || [];\r\n var totalEpurse = 0;\r\n targetProducts.forEach(function (product) {\r\n totalEpurse += (product.Quantity * product.Price);\r\n });\r\n vueModel.ReloadAmountInCart = totalEpurse;\r\n });\r\n },\r\n /**\r\n * Checks the shopping cart for the reload product of the selected card\r\n * @param {any} cartResponse - the current shopping cart object\r\n * @returns reload products in the shopping cart for the selected card, null otherwise\r\n */\r\n _getProductsForTarget: function (cartResponse) {\r\n var vueModel = this;\r\n if (cartResponse !== null && cartResponse !== undefined && cartResponse.Success && cartResponse.Success === true && cartResponse.Data !== null) {\r\n var itemsInCart = cartResponse.Data.Items || [];\r\n var targetProducts = [];\r\n var targetItems = [];\r\n var targetItemId = this.card.FareMediaId;\r\n if (itemsInCart.length > 0) {\r\n itemsInCart.forEach(function (item) {\r\n if (item.FareMediaId !== null && item.FareMediaId !== undefined && item.FareMediaId === targetItemId) {\r\n targetItems.push(item);\r\n }\r\n });\r\n }\r\n if (targetItems.length > 0) {\r\n targetItems.forEach(function (item) {\r\n if (item.Products !== null && item.Products !== undefined && item.Products.length > 0) {\r\n item.Products.forEach(function (product) {\r\n if (product.ProductId === vueModel.AddValueProductId) { // Don't want the passes\r\n targetProducts.push(product);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n return targetProducts;\r\n }\r\n return null;\r\n },\r\n /**\r\n * Redirects the customer to the customer shopping cart URL\r\n */\r\n goToShoppingCart: function () {\r\n window.location.href = shoppingCartUrl;\r\n },\r\n /**\r\n * Triggered when customer clicks 'Add to Cart' for add value. \r\n * Adds selected topup product for the selected card to the shopping cart. \r\n */\r\n clickAddValueToCart: function () {\r\n var csrfToken = $('.add-value-product-vue-component-wrapper').find('input[name=\"__RequestVerificationToken\"]').val();\r\n\r\n var amount = this.reloadAmount;\r\n if (amount > 0) {\r\n this.isAddingToCart = true;\r\n if (this.isGuest) {\r\n CartService.addValueAddToGuestCart({\r\n TransitAccountId: this.card.Id,\r\n Amount: amount,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this))\r\n .fail(function () {\r\n // Display an ambiguous error if the request fails\r\n this.errorMessage = this.UnexpectedErrorText;\r\n this.showError = true;\r\n window.setTimeout(function () { this.showError = false; }.bind(this), 5000);\r\n }.bind(this));\r\n } else {\r\n CartService.addValueAddToCart({\r\n TransitAccountId: this.card.Id,\r\n Amount: amount,\r\n __RequestVerificationToken: csrfToken\r\n })\r\n .done(addToCartSuccess.bind(this))\r\n .fail(function () {\r\n // Display an ambiguous error if the request fails\r\n this.errorMessage = this.UnexpectedErrorText;\r\n this.showError = true;\r\n window.setTimeout(function () { this.showError = false; }.bind(this), 5000);\r\n }.bind(this));\r\n }\r\n } else {\r\n this.customAmountEmpty = true;\r\n window.setTimeout(function () {\r\n this.customAmountEmpty = false;\r\n }.bind(this), 4500);\r\n }\r\n },\r\n validateDollarInputKey: function (e) {\r\n var allow = false;\r\n var keyCode = (typeof e.which === \"number\") ? e.which : e.keyCode;\r\n var decimalPos = this.customAmount ? this.customAmount.indexOf(\".\") : -1;\r\n\r\n if (keyCode < 48) allow = true; // Allow non-alphanumeric keys below 0\r\n else if (keyCode === 190 && decimalPos === -1) allow = true; // Allow only one decimal\r\n else if ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 96 && keyCode <= 105)) { // Allow normal + numpad numeric keys\r\n if (decimalPos === -1 || this.customAmount.length - decimalPos < 3) {\r\n allow = true; // Only allow 2 digits after decimal\r\n }\r\n }\r\n\r\n if (!allow) e.preventDefault();\r\n }\r\n },\r\n watch: {\r\n amount: function (val) {\r\n if (val !== \"\" && val > 0) {\r\n this.customAmount = null;\r\n this.oneTimePayment.amount = \"\";\r\n }\r\n },\r\n customAmount: function (val) {\r\n if (val !== null && val > 0) {\r\n this.amount = \"C\";\r\n this.oneTimePayment.amount = \"C\";\r\n }\r\n }\r\n },\r\n computed: {\r\n hasTopUpProduct: function () {\r\n return typeof this.topUpProduct !== 'undefined' && this.topUpProduct !== undefined && this.topUpProduct !== null;\r\n },\r\n cardIsActive: function () {\r\n return this.card !== null && this.card.State === 1;\r\n },\r\n showLoadingAnimation: function () {\r\n return this.isAddingToCart;\r\n },\r\n /**\r\n * Reload amount selected by customer within Add Money form\r\n * @returns selected predetermined reload amount or custom reload amount\r\n */\r\n reloadAmount: function () {\r\n return this.amount === \"C\" ? (this.customAmount * 100).toFixed(0) : this.amount !== \"\" ? parseFloat(this.amount) : 0;\r\n },\r\n /**\r\n * Used for populating the reload amount dropdown with predetermined values\r\n * @returns array of predetermined reload amounts\r\n */\r\n reloadAmounts: function () {\r\n var allowed = [];\r\n var reloadAmounts = this.rawReloadAmounts.split(',');\r\n for (var i = 0; i < reloadAmounts.length; i++) {\r\n allowed.push(reloadAmounts[i]);\r\n }\r\n return allowed;\r\n },\r\n /**\r\n * The maximum value a customer can add to their selected card\r\n * @returns The minimum of the card's maximum value and the topup product's loading limit\r\n */\r\n loadingLimit: function () {\r\n return Math.min(this.topUpProduct.LoadingLimit, this.epurseLoadingLimit);\r\n },\r\n LoadingLimitAsDollars: function () {\r\n return centsToDollars(this.loadingLimit);\r\n },\r\n minimumLoadAsDollars: function () {\r\n return centsToDollars(this.minimumLoad);\r\n },\r\n canAddToCart: function () {\r\n return this.reloadAmount >= this.minimumLoad && this.reloadAmount <= this.loadingLimit && this.reloadAmount !== null && !this.inCart;\r\n }\r\n },\r\n mounted: function () {\r\n var vueModel = this;\r\n\r\n if (vueModel.reloadAmounts && vueModel.reloadAmounts.length) {\r\n vueModel.amount = vueModel.reloadAmounts[0];\r\n }\r\n\r\n vueModel.AddValueProductId = vueModel.topUpProduct.Id;\r\n vueModel.updateReloadAmountInCart();\r\n\r\n setProductCartProperty(vueModel.card.FareMediaId, vueModel.topUpProduct).done(function (checkCart) {\r\n vueModel.inCart = checkCart;\r\n vueModel.isLoading = false;\r\n });\r\n }\r\n });\r\n });\r\n\r\n /**\r\n * Updates FareProduct products list with InCart property identifying whether or not\r\n * the item is in the shopping cart at time of call.\r\n * @param {String} cardId FareMediaId for identifying which card in the shopping cart.\r\n * @param {FareProduct} product FareProduct object.\r\n * @return {jQuery.Deferred} Chainable jQuery Deferred with new Products array as parameter.\r\n */\r\n function setProductCartProperty(cardId, product) {\r\n return CartService.getProductIdsInCart(cardId)\r\n .then(function (result, status) {\r\n return result.Data.includes(product.Id);\r\n });\r\n }\r\n})(jQuery, Vue, ACCESSIBILITY, ProductsService);","(function ($, SettingsService, CartService) {\r\n // Don't hook up the Vue if the View is not present.\r\n if (document.querySelector('#vueAddPassModal') === null) {\r\n return;\r\n }\r\n\r\n new Vue({\r\n el: '#vueAddPassModal',\r\n data: {\r\n isShown: false\r\n },\r\n methods: {\r\n /**\r\n * Manage details when the modal is shown.\r\n */\r\n showingModal: function () {\r\n if (this.isShown) {\r\n return;\r\n }\r\n this.isShown = true;\r\n\r\n // Load new products if the modal has been opened and doesn't have them.\r\n if (this.$refs.purchasePasses && this.$refs.purchasePasses.products === null) {\r\n this.$refs.purchasePasses.loadProducts();\r\n }\r\n },\r\n /**\r\n * Manage details when the modal is hidden.\r\n */\r\n hidingModal: function () {\r\n if (!this.isShown) {\r\n return;\r\n }\r\n this.isShown = false;\r\n\r\n if (this.$refs.purchasePasses) {\r\n this.$refs.purchasePasses.reset();\r\n }\r\n }\r\n },\r\n mounted: function () {\r\n // Hook up to modal events to know when it's shown / hidden.\r\n var modalSelector = this.$el.dataset.modalSelector;\r\n var modalEle = document.querySelector(modalSelector);\r\n\r\n $(modalEle).on('hidden.bs.modal', this.hidingModal);\r\n $(modalEle).on('shown.bs.modal', this.showingModal);\r\n }\r\n });\r\n})(jQuery);","(function ($, CustomerService, API, TEXTFORMATTING, BROWSER_COMPATIBILITY) {\r\n var templateSelector = '#vueCardActivity';\r\n if (document.querySelector(templateSelector) === null) {\r\n return;\r\n }\r\n\r\n var _vm = {\r\n activityLoading: true,\r\n cardId: null,\r\n formModel: {},\r\n Transactions: {},\r\n UnfilteredTransactions: {},\r\n Filters: {\r\n Month: 0,\r\n Year: 0,\r\n Activity: 0\r\n },\r\n FilterOptions: {},\r\n Labels: {},\r\n Activities: {},\r\n ActivityFilterOptions: {},\r\n ActivityFiltersHandleAutoload: {},\r\n NumPages: {},\r\n TotalCount: {},\r\n TransactionUpperLimit: {},\r\n TransactionLowerLimit: {},\r\n CurrentPageIndex: {},\r\n NumPerPage: 10,\r\n NumOnPage: 10,\r\n NumOnPageMobile: 10,\r\n PaginationButtonTextNext: $(templateSelector).data('pagination-next'),\r\n PaginationButtonTextPrev: $(templateSelector).data('pagination-prev'),\r\n PaginationButtonTextPage: $(templateSelector).data('pagination-page'),\r\n Logo: \"\",\r\n IsGuest: $(\".card-dashboard\").data(\"is-guest\") == \"True\" ? true : false,\r\n FilterSet: false\r\n };\r\n\r\n Vue.component('card-activity', {\r\n template: templateSelector,\r\n props: {\r\n initialCard: {\r\n default: null\r\n }\r\n },\r\n data: function () {\r\n return {\r\n card: this.initialCard,\r\n SortOrder: {\r\n date: 'DESC',\r\n activity: 'DESC'\r\n },\r\n Shared: _vm\r\n };\r\n },\r\n computed: {\r\n CardId: function () {\r\n if (this.card === null || this.card === undefined) return 0;\r\n return this.card.Id;\r\n },\r\n SharedAdditions: function () {\r\n return _vm.Filters[this.CardId] ? _vm.Filters[this.CardId].Activity : 0;\r\n },\r\n SharedDeductions: function () {\r\n return _vm.Filters[this.CardId] ? _vm.Filters[this.CardId].Activity : 0;\r\n },\r\n NumTransactionsOnPage: function () { \r\n var numOnPage = _vm.NumOnPage;\r\n if (typeof numOnPage === 'string') {\r\n return numOnPage;\r\n }\r\n if (numOnPage > this.NumTotalTransactions) {\r\n numOnPage = this.NumTotalTransactions;\r\n }\r\n return numOnPage;\r\n },\r\n NumTotalTransactions: function () {\r\n return _vm.Transactions[this.CardId] ? _vm.Transactions[this.CardId].length : 0;\r\n },\r\n NumPages: function () {\r\n return Math.ceil(this.NumTotalTransactions / _vm.NumPerPage);\r\n },\r\n PageLinks: function () {\r\n var pageLinks = [];\r\n var numPages = this.NumPages;\r\n for (var i = 1; i <= numPages; i++) {\r\n pageLinks.push({\r\n Number: i\r\n });\r\n }\r\n return pageLinks;\r\n },\r\n PageNumbers: function () {\r\n var pageNumbers = [];\r\n if (this.PageLinks.length) {\r\n this.PageLinks.forEach(function (pageLink) {\r\n pageNumbers.push(pageLink.Number);\r\n });\r\n }\r\n return pageNumbers;\r\n }\r\n },\r\n watch: {\r\n initialCard: function (newPropCard) {\r\n this.card = newPropCard;\r\n }\r\n },\r\n methods: {\r\n loadCard: function (card) {\r\n if (card !== null && typeof card !== 'undefined' && card !== false) {\r\n this.card = card;\r\n }\r\n },\r\n FilterTransactions: function (cardId) {\r\n _vm.FilterSet = false;\r\n var filters = _vm.Filters[cardId];\r\n var monthFilterSet = filters.Month && filters.Month !== '' && filters.Month !== \"0\";\r\n var yearFilterSet = filters.Year && filters.Year !== '' && filters.Year !== \"0\";\r\n var today = new Date();\r\n\r\n //filter only on month, year wasn't selected\r\n if (monthFilterSet && !yearFilterSet) {\r\n filters.Year = today.getFullYear();\r\n _vm.formModel[cardId].From = new Date(today.getFullYear(), filters.Month - 1, 1, 0, 0, 0, 0).toUTCString();\r\n _vm.formModel[cardId].To = new Date(today.getFullYear(), filters.Month, 0, 23, 59, 59, 0).toUTCString();\r\n }\r\n //filter only on year, month wasn't selected\r\n else if (!monthFilterSet && yearFilterSet) {\r\n _vm.formModel[cardId].From = new Date(filters.Year, 0, 1, 0, 0, 0, 0).toUTCString();\r\n _vm.formModel[cardId].To = new Date(filters.Year + 1, 0, 0, 23, 59, 59, 0).toUTCString();\r\n }\r\n //filter on month and year\r\n else if (monthFilterSet && yearFilterSet) {\r\n _vm.formModel[cardId].From = new Date(filters.Year, filters.Month - 1, 1, 0, 0, 0, 0).toUTCString();\r\n _vm.formModel[cardId].To = new Date(filters.Year, filters.Month, 0, 23, 59, 59, 0).toUTCString();\r\n }\r\n //no filters set\r\n else {\r\n _vm.formModel[cardId].From = null;\r\n _vm.formModel[cardId].To = null;\r\n }\r\n\r\n _vm.formModel[cardId].TransactionTypes = [];\r\n var activityFilterSet = filters.Activity && filters.Activity !== '' && filters.Activity !== \"0\";\r\n if (activityFilterSet) {\r\n if (filters.Activity === \"deductions\") {\r\n _vm.formModel[cardId].TransactionTypes.push(65, 9027, 9012); // ?? Alight(Tap off), Alight(Legacy), Stored value purchase\r\n } else if (filters.Activity === \"additions\") {\r\n _vm.formModel[cardId].TransactionTypes.push(99, 9028, 9003); // ?? MoneyLoad, MoneyLoad(Legacy), Refund\r\n } else {\r\n if (filters.Activity.indexOf(\"-\")) {\r\n filters.Activity.split(\"-\").forEach(function (activity) {\r\n if (activity !== '408') {\r\n _vm.formModel[cardId].TransactionTypes.push(parseInt(activity));\r\n }\r\n });\r\n } else {\r\n _vm.formModel[cardId].TransactionTypes.push(parseInt(filters.Activity));\r\n }\r\n }\r\n }\r\n\r\n _vm.formModel[cardId].Skip = _vm.CurrentPageIndex[this.card.Id] = 0;\r\n getCardHistory(cardId);\r\n\r\n _vm.FilterSet = true;\r\n },\r\n SortTransactions: function (field) {\r\n for (var sortable in this.SortOrder) {\r\n if (sortable !== field) {\r\n this.SortOrder[sortable] = 'DESC';\r\n }\r\n }\r\n _vm.formModel[this.card.Id].SortDescending = this.SortOrder[field] === 'ASC' ? true : false;\r\n this.SortOrder[field] = this.SortOrder[field] === 'ASC' ? 'DESC' : 'ASC';\r\n _vm.formModel[this.card.Id].SortField =\r\n field === 'date' ? 'Timestamp' :\r\n field === 'activity' ? 'TransactionType' : null;\r\n _vm.formModel[this.card.Id].Skip = _vm.CurrentPageIndex[this.card.Id] = 0;\r\n getCardHistory(this.card.Id);\r\n },\r\n SortTransactionsKeyboard: function (e, field) {\r\n if (e.which === 13) {\r\n this.SortTransactions(field);\r\n }\r\n },\r\n PreviousPage: function () {\r\n if (_vm.CurrentPageIndex[this.card.Id] > 0) {\r\n _vm.CurrentPageIndex[this.card.Id]--;\r\n _vm.formModel[this.card.Id].Skip -= _vm.NumPerPage;\r\n getCardHistory(this.card.Id);\r\n } else return;\r\n },\r\n PreviousPageKeyboard: function (e) {\r\n if (e.which === 13) {\r\n this.PreviousPage();\r\n }\r\n },\r\n NextPage: function () {\r\n if (_vm.CurrentPageIndex[this.card.Id] + 1 < _vm.TotalCount[this.card.Id] / _vm.NumPerPage) {\r\n _vm.CurrentPageIndex[this.card.Id]++;\r\n _vm.formModel[this.card.Id].Skip += _vm.NumPerPage;\r\n getCardHistory(this.card.Id);\r\n } else return;\r\n },\r\n NextPageKeyboard: function (e) {\r\n if (e.which === 13) {\r\n this.NextPage();\r\n }\r\n },\r\n DownloadCsv: function () {\r\n _vm.activityLoading = true;\r\n var fileName = \"Card-Activity-\" + this.card.PrintedNumber + \".csv\";\r\n\r\n var formModelDownload = {\r\n TransitAccountId: this.card.Id,\r\n SortField: _vm.formModel[this.card.Id].SortField,\r\n SortDescending: _vm.formModel[this.card.Id].SortDescending,\r\n From: _vm.formModel[this.card.Id].From,\r\n To: _vm.formModel[this.card.Id].To,\r\n TransactionTypes: _vm.formModel[this.card.Id].TransactionTypes,\r\n Skip: null,\r\n Take: null\r\n };\r\n CustomerService.getTransactionHistoryTable(formModelDownload).done(function (res) {\r\n var transactions = res.Data ? res.Data : [];\r\n transactions = formatCardActivity(transactions);\r\n var csvTransactions = [];\r\n transactions.forEach(function (transaction) {\r\n var activity = transaction.Transaction.TransactionTypeDescription !== undefined ? transaction.Transaction.TransactionTypeDescription : transaction.Transaction.TransactionType;\r\n var description = \"\";\r\n if (transaction.Transaction.Description !== null && transaction.Transaction.Description !== undefined) {\r\n description = transaction.Transaction.Description.replace(\"\\n\", \", \");\r\n }\r\n if (transaction.Transaction.ResultId !== 0) {\r\n activity = activity + ', ' + _vm.Labels.TransactionDeclined + ' (' + transaction.Transaction.ResultId + ')';\r\n }\r\n csvTransaction = {\r\n 'Date': moment(transaction.Transaction.Timestamp).format('M/D/YYYY'),\r\n 'Time': moment(transaction.Transaction.Timestamp).format('h:mma'),\r\n 'Description': description,\r\n 'Location': transaction.Transaction.Location,\r\n 'Activity': activity,\r\n '+/-': TEXTFORMATTING.CentsToDollars(transaction.Transaction.PurseCredit, 'WithDollarSignAndPlusMinus'),\r\n 'Balance': TEXTFORMATTING.CentsToDollars(transaction.Transaction.PurseBalance, 'WithDollarSign')\r\n };\r\n csvTransactions.push(csvTransaction);\r\n });\r\n _vm.activityLoading = false;\r\n var csv = json2csv({ data: csvTransactions });\r\n downloadCsvFile(fileName, csv);\r\n }).fail(function () {\r\n _vm.activityLoading = false;\r\n });\r\n },\r\n DownloadPdf: function () {\r\n _vm.activityLoading = true;\r\n var fileName = 'Card-Activity-' + this.card.PrintedNumber + '.pdf';\r\n var shared = this;\r\n var defaultFontSize = 12;\r\n var x = 50; //left margin\r\n var topMargin = 75; //y starting point, also top margin\r\n var columns = []; // Get columns from first row\r\n var tableJson = $('#card-history-table-' + shared.card.Id).tableToJSON({\r\n ignoreHiddenRows: false\r\n });\r\n for (var i = 0; i < tableJson.length; i++) {\r\n if (i === 0) for (var prop in tableJson[i]) if (tableJson[i].hasOwnProperty(prop)) columns.push(prop);\r\n }\r\n\r\n var formModelDownload = {\r\n TransitAccountId: this.card.Id,\r\n SortField: _vm.formModel[this.card.Id].SortField,\r\n SortDescending: _vm.formModel[this.card.Id].SortDescending,\r\n From: _vm.formModel[this.card.Id].From,\r\n To: _vm.formModel[this.card.Id].To,\r\n TransactionTypes: _vm.formModel[this.card.Id].TransactionTypes,\r\n Skip: null,\r\n Take: null\r\n };\r\n\r\n CustomerService.getTransactionHistoryTable(formModelDownload).done(function (res) {\r\n var transactions = res.Data ? res.Data : [];\r\n transactions = formatCardActivity(transactions);\r\n var rows = transactions.map(function (transaction, index) {\r\n var activity = transaction.Transaction.TransactionTypeDescription !== undefined ? transaction.Transaction.TransactionTypeDescription : transaction.Transaction.TransactionType;\r\n var description = \"\";\r\n if (transaction.Transaction.Description !== null && transaction.Transaction.Description !== undefined) {\r\n description = transaction.Transaction.Description.replace(\"\\n\", \", \");\r\n }\r\n if (transaction.Transaction.ResultId !== 0) {\r\n activity = activity + ', ' + _vm.Labels.TransactionDeclined + ' (' + transaction.Transaction.ResultId + ')';\r\n }\r\n return [\r\n moment(transaction.Transaction.Timestamp).format('M/D/YYYY'),\r\n moment(transaction.Transaction.Timestamp).format('h:mma'),\r\n description,\r\n transaction.Transaction.Location,\r\n activity,\r\n TEXTFORMATTING.CentsToDollars(transaction.Transaction.PurseCredit, 'WithDollarSignAndPlusMinus'),\r\n TEXTFORMATTING.CentsToDollars(transaction.Transaction.PurseBalance, 'WithDollarSign')\r\n ];\r\n });\r\n var pdf = new jsPDF('l', 'pt', 'letter');\r\n\r\n pdf.autoTable(columns, rows, {\r\n headerStyles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n columnWidth: 'auto'\r\n },\r\n styles: {\r\n textColor: [43, 43, 43],\r\n fillColor: [245, 245, 245],\r\n overflow: 'linebreak', columnWidth: 'wrap',\r\n font: 'helvetica',\r\n cellPadding: 10\r\n },\r\n columnStyles: {\r\n 0: { columnWidth: 70 },\r\n 1: { columnWidth: 60 },\r\n 2: { columnWidth: 100 },\r\n 3: { columnWidth: 'auto' },\r\n 4: { columnWidth: 185 },\r\n 5: { columnWidth: 70 },\r\n 6: { columnWidth: 60 }\r\n },\r\n margin: { top: 180, left: 50, right: 50 },\r\n createdHeaderCell: function (cell, data) {\r\n alignPdfColForTransactionCosts(cell, data);\r\n },\r\n createdCell: function (cell, data) {\r\n alignPdfColForTransactionCosts(cell, data);\r\n },\r\n addPageContent: function (data) {\r\n var y = topMargin; //y starting point, also top margin\r\n\r\n pdf.setFontSize(defaultFontSize);\r\n\r\n //title/logo\r\n pdf.setFontSize(36);\r\n pdf.setTextColor(0, 0, 0);\r\n pdf.text(x, y, _vm.Labels.CardActivity);\r\n pdf.setFontSize(defaultFontSize);\r\n pdf.setTextColor(0, 0, 0); if (_vm.Logo.complete && _vm.Logo.naturalHeight !== 0) {\r\n pdf.addImage(_vm.Logo, 'PNG', 580, 40, 160, 40); // format, x, y, width, height\r\n }\r\n y += 20;\r\n\r\n pdf.setDrawColor(43, 43, 43);\r\n pdf.setLineWidth(1);\r\n pdf.line(x, y, pdf.internal.pageSize.width - x, y);\r\n y += 20;\r\n\r\n pdf.setFontSize(10);\r\n\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, _vm.Labels.CardNumber, shared.card.PrintedNumber, x, x + 130, y);\r\n y += 15;\r\n renderPdfTextWithLabel(pdf, _vm.Labels.CardType, shared.card.CardTypeName, x, x + 130, y);\r\n }\r\n });\r\n _vm.activityLoading = false;\r\n pdf.save(fileName);\r\n }).fail(function () {\r\n _vm.activityLoading = false;\r\n });\r\n }\r\n },\r\n mounted: function () {\r\n var imgLogo = new Image();\r\n imgLogo.src = $(templateSelector).data('logo');\r\n _vm.Logo = imgLogo;\r\n },\r\n updated: function () {\r\n setupPagination(this);\r\n }\r\n });\r\n\r\n //// FUNCTIONS ////\r\n var loadLabels = function () {\r\n var activityLabels = {\r\n CardActivity: $(templateSelector).data('label-card-activity'),\r\n CardNumber: $(templateSelector).data('label-card-number'),\r\n CardType: $(templateSelector).data(\"label-card-type\"),\r\n Agency: $(templateSelector).data(\"label-agency\"),\r\n FareMediaSale: $(templateSelector).data(\"label-fare-media-sale\"),\r\n Tap: $(templateSelector).data(\"label-tap\"),\r\n TapTransfer: $(templateSelector).data(\"label-tap-transfer\"),\r\n MoneyLoad: $(templateSelector).data(\"label-money-load\"),\r\n MoneyAutoload: $(templateSelector).data(\"label-money-autoload\"),\r\n TicketnameLoad: $(templateSelector).data(\"label-ticketname-load\"),\r\n TicketnameAutoload: $(templateSelector).data(\"label-ticketname-autoload\"),\r\n Refund: $(templateSelector).data(\"label-refund\"),\r\n AccountAdjustment: $(templateSelector).data(\"label-account-adjustment\"),\r\n InactivityAdjustment: $(templateSelector).data(\"label-inactivity-adjustment\"),\r\n BalanceTransfer: $(templateSelector).data(\"label-balance-transfer\"),\r\n ProductTransfer: $(templateSelector).data(\"label-product-transfer\"),\r\n ProductActivation: $(templateSelector).data(\"label-product-activation\"),\r\n StoredValue: $(templateSelector).data(\"label-stored-value\"),\r\n Line: $(templateSelector).data(\"label-line\"),\r\n Stop: $(templateSelector).data(\"label-stop\"),\r\n Online: $(templateSelector).data(\"label-online\"),\r\n TransactionDeclined: $(templateSelector).data(\"label-transaction-declined\"),\r\n Passengers: $(templateSelector).data(\"label-passengers\")\r\n };\r\n var approvedTransactionTypes = $(templateSelector).data(\"approved-transaction-types\");\r\n activityLabels.ApprovedTransactions = approvedTransactionTypes !== undefined ? approvedTransactionTypes.split(',').map(function (val, idx, arr) { return parseFloat(val); }) : \"\";\r\n activityLabels.SalesChannelCustomer = $(templateSelector).data(\"saleschannel-customer\");\r\n activityLabels.SalesChannelAutoload = $(templateSelector).data(\"saleschannel-autoload\");\r\n _vm.Labels = activityLabels;\r\n };\r\n var setupPagination = function (instance) {\r\n var $paginationContainer = $('#cardActivityPager_' + instance.CardId);\r\n var dataSourceArray = _vm.Transactions[instance.CardId];\r\n var currentPage = _vm.CurrentPageIndex[instance.CardId] + 1;\r\n if ($paginationContainer === null || !$paginationContainer.length || !dataSourceArray.length) {\r\n return;\r\n }\r\n try {\r\n var bindPaginationToInstance = function () {\r\n var $prevPageButton = $paginationContainer.find('.paginationjs-prev').first();\r\n var $nextPageButton = $paginationContainer.find('.paginationjs-next').first();\r\n var $pageNumberButtons = $paginationContainer.find('.paginationjs-page');\r\n $prevPageButton.click(function (e) {\r\n e.preventDefault();\r\n instance.PreviousPage();\r\n });\r\n $nextPageButton.click(function (e) {\r\n e.preventDefault();\r\n instance.NextPage();\r\n });\r\n $pageNumberButtons.each(function () {\r\n var $pageButton = $(this);\r\n var pageNum = parseInt($pageButton.data('num'));\r\n $pageButton.click(function (e) {\r\n e.preventDefault();\r\n instance.NavigateToPage(pageNum);\r\n });\r\n });\r\n };\r\n var makePaginationADACompliant = function () {\r\n var $prevPageButton = $paginationContainer.find('.paginationjs-prev').first();\r\n var $nextPageButton = $paginationContainer.find('.paginationjs-next').first();\r\n var $pageNumberButtons = $paginationContainer.find('.paginationjs-page');\r\n $prevPageButton.attr('title', _vm.PaginationButtonTextPrev + ' ' + _vm.PaginationButtonTextPage);\r\n $prevPageButton.attr('aria-label', _vm.PaginationButtonTextPrev + ' ' + _vm.PaginationButtonTextPage);\r\n $prevPageButton.find('a').attr('title', _vm.PaginationButtonTextPrev + ' ' + _vm.PaginationButtonTextPage);\r\n $prevPageButton.find('a').attr('aria-label', _vm.PaginationButtonTextPrev + ' ' + _vm.PaginationButtonTextPage);\r\n $nextPageButton.attr('title', _vm.PaginationButtonTextNext + ' ' + _vm.PaginationButtonTextPage);\r\n $nextPageButton.attr('aria-label', _vm.PaginationButtonTextNext + ' ' + _vm.PaginationButtonTextPage);\r\n $nextPageButton.find('a').attr('title', _vm.PaginationButtonTextNext + ' ' + _vm.PaginationButtonTextPage);\r\n $nextPageButton.find('a').attr('aria-label', _vm.PaginationButtonTextNext + ' ' + _vm.PaginationButtonTextPage);\r\n $nextPageButton.find('a').attr('tabindex', 0);\r\n $pageNumberButtons.each(function () {\r\n var pageNum = $(this).data('num');\r\n $(this).attr('title', _vm.PaginationButtonTextPage + ' ' + pageNum);\r\n $(this).attr('aria-label', _vm.PaginationButtonTextPage + ' ' + pageNum);\r\n $(this).find('a').attr('title', _vm.PaginationButtonTextPage + ' ' + pageNum);\r\n $(this).find('a').attr('aria-label', _vm.PaginationButtonTextPage + ' ' + pageNum);\r\n if ($(this).hasClass('active')) {\r\n $(this).attr('tabindex', -1);\r\n $(this).find('a').attr('tabindex', -1);\r\n } else {\r\n $(this).find('a').attr('tabindex', 0);\r\n }\r\n });\r\n $paginationContainer.find('.disabled, .disabled a').attr('tabindex', -1);\r\n };\r\n $paginationContainer.pagination({\r\n // dataSource: dataSourceArray,\r\n totalNumber: _vm.TotalCount[_vm.cardId],\r\n pageSize: _vm.NumPerPage,\r\n pageNumber: currentPage,\r\n pageRange: 1,\r\n nextText: \"\",\r\n prevText: \"\",\r\n callback: function (data, pagination) {\r\n bindPaginationToInstance();\r\n makePaginationADACompliant();\r\n }\r\n });\r\n } catch (ex) {\r\n console.error(ex);\r\n }\r\n };\r\n\r\n var setActivities = function (cardId) {\r\n _vm.Activities = [\r\n { 'Id': '65-9027', 'Name': _vm.Labels.TapOff, 'SalesChannel': null },\r\n { 'Id': '66-9026', 'Name': _vm.Labels.Boarding, 'SalesChannel': null },\r\n { 'Id': '84', 'Name': _vm.Labels.TapTransfer, 'SalesChannel': null },\r\n { 'Id': '85', 'Name': _vm.Labels.Use, 'SalesChannel': null },\r\n { 'Id': '99-9028', 'Name': _vm.Labels.MoneyLoad, 'SalesChannel': null },\r\n //{ 'Id': '99-9028', 'Name': _vm.Labels.MoneyAutoload, 'SalesChannel': 408 },\r\n { 'Id': '108', 'Name': _vm.Labels.TicketnameLoad, 'SalesChannel': null },\r\n //{ 'Id': '108', 'Name': _vm.Labels.TicketnameAutoload, 'SalesChannel': 408 },\r\n { 'Id': '9001', 'Name': _vm.Labels.FareMediaSale, 'SalesChannel': null },\r\n { 'Id': '9003', 'Name': _vm.Labels.Refund, 'SalesChannel': null },\r\n { 'Id': '9006', 'Name': _vm.Labels.AccountAdjustment, 'SalesChannel': null },\r\n { 'Id': '9007', 'Name': _vm.Labels.InactivityAdjustment, 'SalesChannel': null },\r\n { 'Id': '9008', 'Name': _vm.Labels.CardReplacement, 'SalesChannel': null },\r\n { 'Id': '9009', 'Name': _vm.Labels.BalanceTransfer, 'SalesChannel': null },\r\n { 'Id': '9010', 'Name': _vm.Labels.ProductTransfer, 'SalesChannel': null },\r\n { 'Id': '9011', 'Name': _vm.Labels.ProductActivation, 'SalesChannel': null },\r\n { 'Id': '9012', 'Name': _vm.Labels.StoredValue, 'SalesChannel': null }\r\n ];\r\n _vm.ActivityFilterOptions[cardId] = _vm.Activities;\r\n _vm.ActivityFilterOptions[cardId].sort(function (a, b) {\r\n return (a.Name < b.Name) ? -1 : (a.Name > b.Name) ? 1 : 0;\r\n });\r\n };\r\n\r\n /**\r\n * Triggered when a new card is selected. Only get transaction history if it hasn't been loaded already.\r\n */\r\n window.InitEvents.managedCardSelected.add(function (card) {\r\n if (!_vm.IsGuest && card) {\r\n _vm.activityLoading = true;\r\n _vm.Filters[card.Id] = {\r\n Month: 0,\r\n Year: 0,\r\n Activity: 0\r\n };\r\n\r\n loadLabels();\r\n setActivities(card.Id);\r\n _vm.CurrentPageIndex[card.Id] = 0;\r\n _vm.formModel[card.Id] = {\r\n TransitAccountId: card.Id,\r\n SortField: '',\r\n SortDescending: false,\r\n From: null,\r\n To: null,\r\n TransactionTypes: [],\r\n Skip: 0,\r\n Take: _vm.NumPerPage\r\n };\r\n\r\n // If the transaction history hasn't been loaded previously, get transaction history table. \r\n if (_vm.Transactions[card.Id] === undefined && _vm.cardId !== card.Id) {\r\n _vm.FilterOptions[card.Id] = {\r\n Year: []\r\n };\r\n\r\n // console.log('Get new transaction history for card:', card.PrintedNumber, card.Id);\r\n _vm.cardId = card.Id;\r\n getInitialCardHistory(card.Id);\r\n } else {\r\n _vm.activityLoading = false;\r\n }\r\n }\r\n else {\r\n _vm.activityLoading = false;\r\n }\r\n });\r\n\r\n /**\r\n * Triggered when card activity table needs to be updated for specific card (ex. after transfer balance)\r\n */\r\n window.InitEvents.managedCardActivityUpdate.add(function (card) {\r\n _vm.activityLoading = true;\r\n _vm.Filters[card.Id] = {\r\n Month: 0,\r\n Year: 0,\r\n Activity: 0\r\n };\r\n\r\n setActivities(card.Id);\r\n _vm.CurrentPageIndex = 0;\r\n _vm.formModel[card.Id] = {\r\n TransitAccountId: card.Id,\r\n SortField: '',\r\n SortDescending: false,\r\n From: null,\r\n To: null,\r\n TransactionTypes: [],\r\n Skip: 0,\r\n Take: _vm.NumPerPage\r\n };\r\n\r\n _vm.FilterOptions[card.Id] = {\r\n Year: []\r\n };\r\n\r\n // console.log('Get updated transaction history for card:', card.PrintedNumber, card.Id);\r\n _vm.cardId = card.Id;\r\n getCardHistory(card.Id);\r\n });\r\n\r\n /** \r\n * Get the earliest card transaction within card activity to populate year filters (the year of earliest transaction to current year)\r\n * then get the first page of card activity using paginated API endpoint. \r\n **/\r\n var getInitialCardHistory = function (cardId) {\r\n CustomerService.getTransactionHistoryTable({ TransitAccountId: _vm.formModel[cardId].TransitAccountId, SortField: 'Timestamp', SortDescending: false, Take: 1 }).done(function (res) {\r\n // Populate year filter (year of earliest transaction to current year)\r\n var today = new Date();\r\n var historyStart = res && res.Data && res.Data.length > 0 ? res.Data[0].Transaction.Timestamp : today;\r\n var years = today.getFullYear() - moment(historyStart).format('YYYY');\r\n _vm.FilterOptions[cardId].Year.push(today.getFullYear());\r\n for (var i = 0; i < years; i++) {\r\n var previousYear = (_vm.FilterOptions[cardId].Year[_vm.FilterOptions[cardId].Year.length - 1] - 1);\r\n _vm.FilterOptions[cardId].Year.push(previousYear);\r\n }\r\n\r\n // Get the first page of card activity table. \r\n getCardHistory(cardId);\r\n }).fail(function () {\r\n _vm.activityLoading = false;\r\n }.bind());\r\n };\r\n\r\n /** \r\n * Gets the card history of selected card. This endpoint is used initially on page load (after getInitialCardHistory)\r\n * and also used when paginating/filtering transactions.\r\n **/ \r\n var getCardHistory = function (cardId) {\r\n _vm.activityLoading = true;\r\n CustomerService.getTransactionHistoryTable(_vm.formModel[cardId]).done(function (res) {\r\n _vm.TotalCount[cardId] = res.TotalResults;\r\n\r\n var transactions = res.Data ? res.Data : [];\r\n _vm.Transactions[cardId] = formatCardActivity(transactions);\r\n\r\n _vm.NumOnPage = UpdateNumberOfRecords(_vm.CurrentPageIndex[cardId], _vm.TotalCount[cardId], _vm.NumPerPage, false);\r\n _vm.activityLoading = false;\r\n })\r\n .fail(function () {\r\n _vm.activityLoading = false;\r\n });\r\n };\r\n\r\n /** \r\n * Format card activity transactions based on business rules. \r\n * OCTA did not provide specific business rules related to card activity formatting so this was mostly inherited from Houston (& other projects).\r\n **/ \r\n function formatCardActivity(transactions) {\r\n //get the description and location based on line/stop\r\n transactions.forEach(function (row) {\r\n if (row.Transaction.TransactionTypeId === 65 || row.Transaction.TransactionTypeId === 66 || row.Transaction.TransactionTypeId === 9011 ||\r\n row.Transaction.TransactionTypeId === 85 || row.Transaction.TransactionTypeId === 261) { //Alight, Boarding, ProductActivation, Use, or ClientFare\r\n if (row.Transaction.TransactionTypeId === 9011) { // Product Activation\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.ProductActivation;\r\n }\r\n } else if (row.Transaction.TransactionTypeId === 84) { //Transfer\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.TapTransfer;\r\n } else if (row.Transaction.TransactionTypeId === 99 && row.Transaction.SalesChannelId === _vm.Labels.SalesChannelCustomer) { // MoneyLoad\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.MoneyLoad;\r\n } else if (row.Transaction.TransactionTypeId === 99 && row.Transaction.SalesChannelId === _vm.Labels.SalesChannelAutoload) { // MoneyAutoload\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.MoneyAutoload;\r\n } else if (row.Transaction.TransactionTypeId === 108 && row.Transaction.SalesChannelId === _vm.Labels.SalesChannelCustomer) { // PassLoad\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.TicketnameLoad;\r\n } else if (row.Transaction.TransactionTypeId === 108 && row.Transaction.SalesChannelId === _vm.Labels.SalesChannelAutoload) { // PassAutoload\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.TicketnameAutoload;\r\n } else if (row.Transaction.TransactionTypeId === 9001) { // FareMediaSale\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.FareMediaSale;\r\n } else if (row.Transaction.TransactionTypeId === 9003) { // Refund\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.Refund;\r\n } else if (row.Transaction.TransactionTypeId === 9006) { // Adjustment\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.AccountAdjustment;\r\n } else if (row.Transaction.TransactionTypeId === 9007) { // Dormancy fee\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.InactivityAdjustment;\r\n } else if (row.Transaction.TransactionTypeId === 9009) { // Balance transfer\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.BalanceTransfer;\r\n } else if (row.Transaction.TransactionTypeId === 9010) { // Product transfer\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.ProductTransfer;\r\n } else if (row.Transaction.TransactionTypeId === 9012) { // Stored value purchase\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.StoredValue;\r\n }\r\n\r\n if (row.Transaction.TransactionTypeId === 66) { // Boarding\r\n if (row.Transaction.AppliedValuePassProductName !== null) {\r\n row.Transaction.Description = row.Transaction.AppliedValuePassProductName;\r\n } else if (row.Transaction.ProductType === 213 && row.Transaction.ProductTicketName !== null) {\r\n row.Transaction.Description = row.Transaction.ProductTicketName;\r\n }\r\n if (row.Transaction.Description && row.Transaction.ValidTo !== undefined) {\r\n row.Transaction.Description = row.Transaction.Description + '\\n' +\r\n _vm.Labels.PassValidUntil + ' ' + moment(row.Transaction.ValidTo).format('M/D/YY');\r\n }\r\n }\r\n if (row.Transaction.TransactionTypeId === 85) { // Use\r\n row.Transaction.TransactionTypeDescription = _vm.Labels.Use;\r\n if (row.Transaction.ProductTicketName) {\r\n row.Transaction.Description = row.Transaction.ProductTicketName;\r\n }\r\n }\r\n if (!row.Transaction.Description && row.Transaction.TicketName !== null && row.Transaction.TicketName !== undefined) {\r\n row.Transaction.Description = row.Transaction.TicketName;\r\n }\r\n\r\n if (row.Transaction.NumberOfPersons && row.Transaction.NumberOfPersons > 1) {\r\n row.Transaction.Description = row.Transaction.Description + \" (\" + row.Transaction.NumberOfPersons + \" \" + _vm.Labels.Passengers + \")\";\r\n }\r\n\r\n var locationLine = row.Transaction.LineName !== null ? row.Transaction.LineName\r\n : row.Transaction.LineNumber !== null ? row.Transaction.LineNumber\r\n : '';\r\n var locationStop = row.Transaction.StopName !== null ? _vm.Labels.Stop + ' ' + row.Transaction.StopName\r\n : row.Transaction.StopNumber !== null ? _vm.Labels.Stop + ' ' + row.Transaction.StopNumber : '';\r\n row.Transaction.Location = locationLine !== '' && locationStop !== '' ? locationLine + ', ' + locationStop : locationLine + locationStop;\r\n\r\n // Adjust timestamp for PST and PDT\r\n row.Transaction.Timestamp = TEXTFORMATTING.UtcToRegional(row.Transaction.Timestamp);\r\n });\r\n\r\n return transactions;\r\n };\r\n\r\n /**\r\n * Used the display the number of transactions currently displayed within the table. \r\n **/\r\n function UpdateNumberOfRecords(pageIndex, transactions, perPage, mobile) {\r\n var currentPage = pageIndex + 1;\r\n var numPages = Math.floor(transactions / perPage) + 1;\r\n if (pageIndex === 0) {\r\n return perPage;\r\n } else if (currentPage === numPages) {\r\n var lo = pageIndex * perPage + 1;\r\n if (mobile || lo === transactions) return transactions;\r\n else {\r\n return lo + \"-\" + transactions;\r\n }\r\n } else {\r\n if (mobile) {\r\n return currentPage * perPage;\r\n }\r\n\r\n var lower = pageIndex * perPage + 1;\r\n var upper = currentPage * perPage;\r\n return lower + \"-\" + upper;\r\n }\r\n }\r\n\r\n /**\r\n * Logic to download the CSV export of the card activity table.\r\n **/ \r\n var downloadCsvFile = function (fileName, csv) {\r\n if (BROWSER_COMPATIBILITY.IsIE()) {\r\n csvData = decodeURIComponent(csv);\r\n\r\n if (window.navigator.msSaveBlob) {\r\n var blob = new Blob([csvData], { type: \"application/csv;charset=utf-8;\" });\r\n navigator.msSaveBlob(blob, fileName);\r\n }\r\n } else {\r\n var aLink = document.createElement('a');\r\n aLink.download = fileName;\r\n aLink.href = 'data:application/csv;charset=utf-8,' + encodeURIComponent(csv);\r\n\r\n var event = new MouseEvent('click');\r\n aLink.dispatchEvent(event);\r\n }\r\n };\r\n\r\n /**\r\n * Right-align the Charge and Balance columns since they are dollar amounts \r\n **/\r\n var alignPdfColForTransactionCosts = function (cell, data) {\r\n var col = data.column.index;\r\n if (col >= 5) {\r\n cell.styles.halign = 'right';\r\n }\r\n };\r\n\r\n var renderPdfTextWithLabel = function (pdf, label, data, labelX, dataX, y) {\r\n pdf.setFontType('bold');\r\n pdf.setTextColor(43, 43, 43);\r\n pdf.text(labelX, y, label + ':');\r\n pdf.setFontType('normal');\r\n pdf.text(dataX, y, data);\r\n };\r\n\r\n})(jQuery, CustomerService, API, TEXTFORMATTING, BROWSER_COMPATIBILITY);","(function (λ, CartService, CustomerService, ProductsService, SettingsService) {\r\n\r\n // Don't setup the Vue if we don't have the view for it\r\n if (document.querySelector('#vueCardProducts') === null) {\r\n return;\r\n }\r\n\r\n /**\r\n * Manages the card products view to manage autoloads / autorenews on existing passes / card etc.\r\n **/\r\n var vm = new Vue({\r\n el: '#vueCardProducts',\r\n data: {\r\n card: null,\r\n fareProducts: [],\r\n autoLoads: {},\r\n fundingSources: [],\r\n autoLoadValues: [],\r\n autoLoadThresholds: [],\r\n shoppingCart: null,\r\n operators: null,\r\n isAutoLoadDone: false,\r\n isCartLoadDone: false,\r\n isOperatorLoadDone: false,\r\n isFundingLoadDone: false,\r\n isActive: false,\r\n isNegative: false\r\n },\r\n computed: {\r\n passes: function () {\r\n if (this.card !== null &&\r\n this.card.hasOwnProperty('_Products') && typeof this.card._Products !== 'undefined' &&\r\n this.card._Products.hasOwnProperty('Passes')) {\r\n this.card._Products.Passes.sort(function(a, b) {\r\n return b.IsActive - a.IsActive;\r\n });\r\n return this.card._Products.Passes;\r\n }\r\n else {\r\n return [];\r\n }\r\n },\r\n purse: function () {\r\n if (this.card !== null &&\r\n this.card.hasOwnProperty('_Products') && typeof this.card._Products !== 'undefined' &&\r\n this.card._Products.hasOwnProperty('Purse')) {\r\n return this.card._Products.Purse;\r\n }\r\n else {\r\n return null;\r\n }\r\n },\r\n topUpProduct: function () {\r\n if (this.fareProducts.length > 0 && this.fareProducts[0].hasOwnProperty('Type')) {\r\n for (var i = 0; i < this.fareProducts.length; i++) {\r\n if (this.fareProducts[i].Type === CartService.PRODUCT_TYPE_TOPUP) {\r\n return this.fareProducts[i];\r\n }\r\n }\r\n }\r\n return {};\r\n },\r\n isLoading: function () {\r\n return !(this.isAutoLoadDone && this.isCartLoadDone && this.isFundingLoadDone && this.isOperatorLoadDone);\r\n },\r\n hasOperators: function () {\r\n return this.operators !== null && Object.keys(this.operators).length > 0;\r\n }\r\n },\r\n methods: {\r\n /**\r\n * Set the Vue instance card if provided card has a value.\r\n * @param {Card} card Card to set the Vue instance card property to.\r\n */\r\n loadCard: function (card) {\r\n if (card !== null && typeof card !== 'undefined' && card !== false) {\r\n this.card = card;\r\n this.isActive = this.card.State === 1 || this.card.State === 3;\r\n this.isNegative = this.card.Balance + this.card.PreTaxBalance < 0;\r\n }\r\n },\r\n loadFareProducts: function () {\r\n getFareProducts().done(function (res) {\r\n if (res && res.Data) {\r\n this.fareProducts = res.Data.Result;\r\n }\r\n }.bind(this));\r\n },\r\n /**\r\n * Load funding sources if there aren't any currently. \r\n * Also manages the isFundingLoadDone property.\r\n */\r\n loadFundingSources: function () {\r\n if (this.fundingSources instanceof Array && this.fundingSources.length === 0) {\r\n this.isFundingLoadDone = false;\r\n getFundingSources().done(function (res) {\r\n this.fundingSources = res;\r\n this.isFundingLoadDone = true;\r\n }.bind(this));\r\n }\r\n },\r\n /**\r\n * Loads the shoppingCart into the shoppingCart property if not already loaded\r\n * and manages the isCartLoadDone property.\r\n */\r\n loadShoppingCart: function () {\r\n if (this.shoppingCart === null) {\r\n this.isCartLoadDone = false;\r\n CartService.getShoppingCart().done(function (res, sta, xhr) {\r\n if (res.Data !== null && res.Data !== 'undefined') {\r\n this.shoppingCart = res.Data;\r\n this.isCartLoadDone = true;\r\n }\r\n }.bind(this));\r\n }\r\n },\r\n /**\r\n * Loads operators property if not already loaded and manages the isOperatorLoadDone property.\r\n */\r\n loadOperators: function () {\r\n if (this.operators === null) {\r\n this.isOperatorLoadDone = false;\r\n SettingsService.getOperators().done(function (res, sta, xhr) {\r\n if (res.Data !== null && res.Data !== 'undefined') {\r\n var operatorArray = res.Data.Result;\r\n\r\n if (Array.isArray(operatorArray) && operatorArray.length > 0 &&\r\n operatorArray[0].hasOwnProperty('OperatorId') && operatorArray[0].hasOwnProperty('OperatorName')) {\r\n this.operators = {};\r\n\r\n for (var i = 0; i < operatorArray.length; i++) {\r\n var operator = operatorArray[i];\r\n this.operators[operator.OperatorId] = operator.OperatorName;\r\n }\r\n }\r\n this.isOperatorLoadDone = true;\r\n }\r\n }.bind(this));\r\n }\r\n },\r\n /**\r\n * FareProducts have an OperatorId but Products on a TransitAccount do not.. ( from the API )\r\n * This method compares the Product ExternalId to the list of FareProducts for a match and uses\r\n * the OperatorId from the matching FareProduct if a match exists. With the OperatorId an Operator Name\r\n * may be retrieved. Operator is synonamous with Agency for our purposes, but Operator in the API.\r\n * @param {ExternalId} externalId ExternalID of product to compare with.\r\n * @return {String} Name of operator if found or an empty string otherwise.\r\n */\r\n getOperatorName: function (externalId) {\r\n var fareProduct = this.fareProducts.find(function (product) {\r\n return product.ExternalIdentifier === externalId;\r\n });\r\n\r\n var operatorId = null;\r\n if (typeof fareProduct !== 'undefined' && fareProduct !== null && fareProduct.hasOwnProperty('OperatorId')) {\r\n operatorId = fareProduct.OperatorId;\r\n }\r\n\r\n return operatorId !== null &&\r\n this.operators !== null &&\r\n this.operators.hasOwnProperty(operatorId) ? this.operators[operatorId] : '';\r\n },\r\n /**\r\n * Sets the Vue instance card property to null. Card watcher takes care of the rest.\r\n */\r\n reset: function () {\r\n this.card = null;\r\n },\r\n /**\r\n * Update autoload indexed by ProductId.\r\n * Specifically this is used for autoload callbacks when an autoload has been updated for\r\n * a particular product.\r\n * @param {Number} productId ProductID used to retrieve a particular autoload.\r\n * @param {Object} autoload Autoload to replace current autoload with.\r\n */\r\n autoloadUpdate: function (productId, autoload) {\r\n this.autoLoads[productId] = autoload;\r\n },\r\n /**\r\n * Retrieves values from a CSV string and returns an Array of the values.\r\n * @param {String} csvString csvString to parse.\r\n * @return {Array} Array of values retrieved from csvString.\r\n */\r\n parseCSV: function (csvString) {\r\n return csvString.split(',').map(function (val, idx, arr) { return parseFloat(val); });\r\n }\r\n },\r\n watch: {\r\n // Manages setup / teardown tied to cards being added or removed.\r\n card: function (val) {\r\n if (val !== null && typeof val !== 'undefined') {\r\n getAutoLoads(this.card, function (autoLoads) {\r\n this.autoLoads = autoLoads;\r\n this.isAutoLoadDone = true;\r\n }.bind(this));\r\n }\r\n else {\r\n this.autoLoads = {};\r\n this.isAutoLoadDone = false;\r\n }\r\n }\r\n },\r\n mounted: function () {\r\n // Hook up to window.InitEvent Signals for retrieving the FareCap card & reload event etc. from root node data properties.\r\n var cardSignal = this.$el.dataset.cardSignal;\r\n var reloadSignal = this.$el.dataset.reloadSignal;\r\n\r\n if (cardSignal !== '' && typeof cardSignal !== 'undefined') {\r\n window.InitEvents[cardSignal].add(this.loadCard);\r\n }\r\n\r\n if (reloadSignal !== '' && typeof reloadSignal !== 'undefined') {\r\n window.InitEvents[reloadSignal].add(this.reset);\r\n }\r\n\r\n window.InitEvents.managedCardSelected.add(function (card) {\r\n if (card === false) {\r\n this.card = null;\r\n }\r\n }.bind(this));\r\n\r\n // These loads are done at mount, but not when card is updated, because all cards may reference this data. \r\n // It doesn't need to be reloaded.\r\n this.loadFareProducts();\r\n this.loadFundingSources();\r\n this.loadShoppingCart();\r\n this.loadOperators();\r\n\r\n var autoLoadValues = this.$el.dataset.autoloadValues;\r\n if (autoLoadValues !== '' && typeof autoLoadValues !== 'undefined') {\r\n this.autoLoadValues = this.parseCSV(autoLoadValues);\r\n }\r\n\r\n var autoLoadThresholds = this.$el.dataset.autoloadThresholds;\r\n if (autoLoadThresholds !== '' && typeof autoLoadThresholds !== 'undefined') {\r\n this.autoLoadThresholds = this.parseCSV(autoLoadThresholds);\r\n }\r\n }\r\n });\r\n\r\n function getFareProducts(cardId) {\r\n return ProductsService.getFareProducts({ TransitAccountId: cardId }).done(function (res, sta, xhr) {\r\n return res.Data;\r\n });\r\n }\r\n\r\n /**\r\n * Retrieves FundingResources and passes them through chainable .done functions.\r\n * @returns {Deferred} jQuery Deferred object for chaining promise actions.\r\n **/\r\n function getFundingSources() {\r\n return CustomerService.getPaymentMethods()\r\n .then(function (res, sta, xhr) {\r\n var result = res.Data.Result;\r\n\r\n // Make sure the Default funding source is the first in the array.\r\n if (Array.isArray(result)) {\r\n var defaultIndex = result.map(function (source) { return source.IsDefault; }).indexOf(true);\r\n\r\n if (defaultIndex > 0) { // -1 would be not found, and 0 is already at the front. So > 0.\r\n var defaultSource = result[defaultIndex];\r\n result.splice(defaultIndex, 1);\r\n result.unshift(defaultSource);\r\n }\r\n }\r\n return result;\r\n });\r\n }\r\n\r\n /**\r\n * Collects all autoloads for passes and purses using Contra then calls provided doneCallback with result.\r\n * @param {TransitAccount} card Card to retrieve autoloads for.\r\n * @param {function} doneCallback Callback to call once all autoloads are completed. Result provided as parameter.\r\n */\r\n function getAutoLoads(card, doneCallback) {\r\n if (typeof card === 'undefined' || card !== null && !card.hasOwnProperty('_Products')) {\r\n return;\r\n }\r\n\r\n var autoLoads = {};\r\n var autoLoaders = {};\r\n var passes = card._Products.hasOwnProperty('Passes') ? card._Products.Passes : [];\r\n var purse = card._Products.Purse;\r\n\r\n for (var i = 0; i < passes.length; i++)\r\n autoLoaders[passes[i].Id] = autoloaderCallbackFactory(passes[i].Id);\r\n\r\n if (purse !== null && typeof purse !== 'undefined' && purse !== '') {\r\n autoLoaders[purse.Id] = autoloaderCallbackFactory(purse.Id);\r\n }\r\n\r\n if (Object.keys(autoLoaders).length > 0) {\r\n λ.concurrent(autoLoaders,\r\n function (err, results) {\r\n for (var prop in results) {\r\n if (results.hasOwnProperty(prop)) {\r\n var newVals = {};\r\n newVals[prop] = results[prop].Data;\r\n Object.assign(autoLoads, newVals);\r\n }\r\n }\r\n doneCallback(autoLoads);\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * Factory necessary because creating functions directly in loop causes errors.\r\n * @param {any} pid Product ID\r\n * @return {function} Contra Callback Function.\r\n */\r\n function autoloaderCallbackFactory(pid) {\r\n return function (cb) {\r\n ProductsService.getAutoloadByProductId(pid)\r\n .done(function (res, sta, xhr) {\r\n cb(null, res);\r\n });\r\n };\r\n }\r\n})(contra, CartService, CustomerService, ProductsService, SettingsService);\r\n","(function ($, ProductsService, CustomerService) {\r\n \"use strict\";\r\n\r\n var _vm;\r\n var λ = contra;\r\n\r\n /**\r\n * Loads a specific transit card's assets (fare capping pots, current products, autoloads, and purchasable products)\r\n * @param {any} card\r\n */\r\n var loadCardAssets = function (card) {\r\n if (card !== false) {\r\n λ.concurrent({\r\n caps: function (cb) { getTransitCappingPots(card, cb); },\r\n products: function (cb) { getTransitProducts(card, cb); },\r\n media: function (cb) { getAvailableFareProducts(card, cb); }\r\n }, function (err, results) {\r\n // Check to see if any fare caps are achieved for flag notification for logged-in customers\r\n _vm.fareCapAchieved = false;\r\n if (results.caps && !_vm.isGuest) {\r\n card._Caps = results.caps.Result;\r\n\r\n if (card._Caps.length > 0) {\r\n for (var i = 0; i < card._Caps.length; i++) {\r\n if (card._Caps[i].MissingValue === 0) {\r\n _vm.fareCapAchieved = true;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n card._Products = {\r\n Purse: results.products.Purse && results.products.Purse.length > 0 ? results.products.Purse[0] : null,\r\n Passes: results.products.Passes,\r\n Purchasable: results.media !== null ? results.media.Result : []\r\n };\r\n\r\n // If the card has a purse product AND the customer is logged in, get the autoload based\r\n // on the product purse ID\r\n card._PurseAutoLoad = null;\r\n if (card._Products.Purse !== null && card._Products.Purse !== undefined && !_vm.isGuest) {\r\n ProductsService.getAutoloadsByTransitAccountId({\r\n TransitAccountId: card.Id,\r\n ProductId: card._Products.Purse.Id\r\n }).done(function (result) {\r\n if (result.Success && result.Data.length > 0) {\r\n this._PurseAutoLoad = result.Data[0];\r\n }\r\n }.bind(card)).always(function () {\r\n window.InitEvents.managedCardSelected.dispatch(card);\r\n });\r\n }\r\n else {\r\n window.InitEvents.managedCardSelected.dispatch(card);\r\n }\r\n\r\n if (_vm.FareCategories.length > 0) {\r\n var riderCategory = _vm.FareCategories.find(function (fareCategory) {\r\n return fareCategory.Id === card.FareCategory;\r\n }.bind(this));\r\n if (riderCategory) card.RiderCategory = riderCategory.Name;\r\n }\r\n\r\n window.setTimeout(function () {\r\n hideLoader();\r\n }, 2500);\r\n });\r\n }\r\n };\r\n\r\n /* API functions */\r\n\r\n /**\r\n * Gets the fare capping pots for a specific transit account if the customer is logged-in\r\n * @param {any} transitAccount - the selected transit account\r\n * @param {any} next\r\n */\r\n var getTransitCappingPots = function (transitAccount, next) {\r\n if (!_vm.isGuest) {\r\n CustomerService.getCappingPotsByTransitAccountId(transitAccount.Id).done(function (res, sta, xhr) { next(null, res.Data); });\r\n }\r\n else {\r\n next(null, null);\r\n }\r\n };\r\n\r\n /**\r\n * Gets the fare products of a specified transit account\r\n * @param {any} transitAccount - the selected transit account \r\n * @param {any} next\r\n */\r\n var getTransitProducts = function (transitAccount, next) {\r\n CustomerService.getTransitAccountProducts(transitAccount.Id).done(function (res, sta, xhr) { next(null, res.Data); });\r\n };\r\n\r\n /**\r\n * Gets the available fare products that a customer can purchase for a specific transit account\r\n * @param {any} transitAccount - the selected transit account\r\n * @param {any} next\r\n */\r\n var getAvailableFareProducts = function (transitAccount, next) {\r\n ProductsService.getValidFareProductsForTransitAccount(transitAccount.Id, transitAccount.PrintedNumber).done(function (res, sta, xhr) { next(null, res.Data); });\r\n };\r\n\r\n /**\r\n * Gets the transit accounts associated with the logged-in customer account.\r\n * @param {any} currentCard - if there is a current card selected, this will be the first card in the array.\r\n */\r\n var getTransitAccounts = function (currentCard) {\r\n currentCard = typeof currentCard !== 'undefined' && currentCard !== false ? currentCard : null;\r\n\r\n CustomerService.getTransitAccounts().done(function (res, sta, xhr) {\r\n //console.log('CustomerService.getTransitAccounts()', res);\r\n if (res && res.Success && res.Data && res.Data.Result) {\r\n var cardList = [];\r\n var customerCards = res.Data.Result;\r\n\r\n customerCards.forEach(function (card) {\r\n // Filter out CLOSED (state: 8) cards\r\n if (card.State !== 8) cardList.push(card);\r\n });\r\n\r\n // Only display card dropdown if there's more than one card\r\n if (cardList.length === 1) {\r\n _vm.onlyCard = true;\r\n } else {\r\n _vm.onlyCard = false;\r\n cardList.sort(function (a, b) {\r\n var first = a.Description ? a.Description : a.PrintedNumber;\r\n var second = b.Description ? b.Description : b.PrintedNumber;\r\n if (isNaN(first) && isNaN(second)) {\r\n return (first > second) - (second > first);\r\n }\r\n if (isNaN(first) && !isNaN(second)) {\r\n return -1;\r\n }\r\n if (!isNaN(first) && isNaN(second)) {\r\n return 1;\r\n }\r\n if (!isNaN(first) && !isNaN(second)) {\r\n return (first > second) - (second > first);\r\n }\r\n });\r\n }\r\n\r\n if (currentCard && cardList.length > 0) {\r\n _vm.selectedCardId = currentCard.Id;\r\n _vm.card = cardList.find(function (card) {\r\n return card.Id === currentCard.Id;\r\n });\r\n }\r\n else if (cardList.length > 0) {\r\n _vm.selectedCardId = cardList[0].Id;\r\n _vm.card = cardList[0];\r\n }\r\n\r\n // Send list of cards to forms (balance transfer/replace card) that allow customer to select a card from all linked cards\r\n window.InitEvents.customerTransitAccounts.dispatch(cardList);\r\n\r\n _vm.cards = cardList;\r\n if (!_vm.cards || _vm.cards.length === 0) hideLoader();\r\n completeLoad();\r\n }\r\n else {\r\n hideLoader();\r\n completeLoad();\r\n }\r\n });\r\n };\r\n\r\n /* View Helpers */\r\n var LoadCards = function (currentCard) {\r\n currentCard = currentCard !== 'undefined' ? currentCard : null;\r\n\r\n showLoader();\r\n getTransitAccounts(currentCard);\r\n };\r\n\r\n var LoadFareCategories = function () {\r\n var fareCategories = SettingsService.getFareCategories();\r\n fareCategories.done(function (res) {\r\n if (res.Success) {\r\n _vm.FareCategories = res.Data.Result;\r\n window.InitEvents.fareCategories.dispatch(_vm.FareCategories);\r\n }\r\n }.bind(this));\r\n };\r\n\r\n var LoadConfigurations = function () {\r\n SettingsService.getConfigurations().done(function (res, sta, xhr) {\r\n if (res) {\r\n _vm.Configurations = res;\r\n _vm.epurseLoadingLimit = res.MaxAllowedPurseValue;\r\n window.InitEvents.configurations.dispatch(_vm.Configurations);\r\n }\r\n }.bind(this));\r\n };\r\n\r\n var showLoader = function () {\r\n if (_vm) _vm.loading = true;\r\n };\r\n\r\n var hideLoader = function () {\r\n _vm.loading = false;\r\n };\r\n\r\n var completeLoad = function () {\r\n if (_vm.cards && typeof _vm.cards !== 'undefined' && _vm.cards.length) {\r\n Vue.nextTick(function () {\r\n var card = _vm.card || _vm.cards[0];\r\n loadCardAssets(card);\r\n });\r\n } else {\r\n Vue.nextTick(function () {\r\n window.InitEvents.managedCardSelected.dispatch(false);\r\n });\r\n }\r\n };\r\n\r\n /* Initialization */\r\n $(function () {\r\n var elements = $(\".card-dashboard\");\r\n if (!elements.length) return;\r\n var $successModal = $('#cardLinkedSuccessfullyModal').first();\r\n\r\n LoadFareCategories();\r\n LoadConfigurations();\r\n\r\n window.InitEvents.managedCardReload.add(function (card) {\r\n LoadCards(card);\r\n });\r\n\r\n window.InitEvents.managedCardUpdated.add(function (card) {\r\n LoadCards(card);\r\n });\r\n\r\n window.InitEvents.managedCardAdded.add(function (card) {\r\n if (!_vm.isGuest) { // If logged-in customer dashboard \r\n LoadCards(card);\r\n\r\n window.setTimeout(function () {\r\n var msg = defaultMessage.replace('{CARD_NUMBER}', card.PrintedNumber);\r\n $successModalMsg.html(msg);\r\n $successModal.modal('show');\r\n }, 250);\r\n $successModal.on('hidden.bs.modal', function () {\r\n $successModalMsg.html('');\r\n });\r\n }\r\n else { // If Reload Card page (logged-out customer)\r\n _vm.card = card;\r\n _vm.cards.push(card);\r\n if (_vm.cards.length > 1) {\r\n _vm.onlyCard = false;\r\n }\r\n else {\r\n _vm.onlyCard = true;\r\n }\r\n\r\n _vm.selectedCardId = card.Id;\r\n loadCardAssets(card);\r\n }\r\n });\r\n\r\n window.InitEvents.managedCardRemoved.add(function () {\r\n _vm.card = null; // Reset active card so details for first card will be used.\r\n LoadCards();\r\n });\r\n\r\n window.InitEvents.managedCardSelected.add(function (card) {\r\n _vm.card = card;\r\n _vm.loadingDetails = false;\r\n\r\n if (card !== false) {\r\n _vm.Caps = card._Caps;\r\n _vm.Products = {\r\n Purse: card._Products.Purse,\r\n Passes: card._Products.Passes,\r\n Purchasable: card._Products.Purchasable\r\n };\r\n _vm.PurseAutoLoad = card._PurseAutoLoad;\r\n _vm.SelectedCard = card.Id;\r\n }\r\n });\r\n\r\n window.InitEvents.managedCardSelecting.add(function () {\r\n _vm.loadingDetails = true;\r\n _vm.Caps = [];\r\n _vm.Products.Purse = {};\r\n _vm.Products.Passes = [];\r\n _vm.Products.Purchasable = [];\r\n _vm.PurseAutoLoad = null;\r\n });\r\n\r\n window.InitEvents.customerAccountLoad.add(function (customer) {\r\n if (customer && customer.Id) {\r\n _vm.CustomerAccount = customer;\r\n }\r\n });\r\n\r\n _vm = new Vue({\r\n el: elements[0],\r\n data: {\r\n card: {},\r\n cards: [],\r\n epurseLoadingLimit: 0,\r\n selectedCardId: null,\r\n onlyCard: false,\r\n loading: true,\r\n loadingDetails: true,\r\n Caps: [],\r\n Products: {\r\n Purse: {},\r\n Passes: [],\r\n Purchasable: []\r\n },\r\n PurseAutoLoad: null,\r\n FareCategories: null,\r\n Configurations: null,\r\n fareCapAchieved: false,\r\n isGuest: $(\".card-dashboard\").data(\"is-guest\") == \"True\" ? true : false,\r\n fundingSources: [],\r\n CustomerAccount: null\r\n },\r\n computed: {\r\n CardFareCategoryName: function () {\r\n if (this.FareCategories === null || this.FareCategories.length === 0 || !this.card) {\r\n return 'Undefined';\r\n }\r\n var fareCategory = null;\r\n var card = this.card;\r\n var selectedFareCategory = this.FareCategories.filter(function (fareCategory) {\r\n return fareCategory.Id === card.FareCategory;\r\n });\r\n if (selectedFareCategory !== undefined && selectedFareCategory.length) {\r\n fareCategory = selectedFareCategory[0];\r\n }\r\n if (fareCategory === null) return 'Null';\r\n return fareCategory.Name;\r\n },\r\n // Returns if card is active: used to determine whether customer can configure autoload or lock card\r\n CardIsActive: function () {\r\n return this.card.State === ProductsService.CARD_STATES.ACTIVE;\r\n },\r\n // Cards can only be unblocked if they are in a BLOCKED state and the blocking reason is LOST or STOLEN\r\n CardCanBeUnblocked: function () {\r\n return this.card.State === ProductsService.CARD_STATES.BLOCKED &&\r\n this.card.BlockingReason === ProductsService.BLOCKING_REASONS.LOST || this.card.BlockingReason === ProductsService.BLOCKING_REASONS.Stolen;\r\n },\r\n CardCanBeReplaced: function () {\r\n return this.card.State === ProductsService.CARD_STATES.BLOCKED ||\r\n this.card.State === ProductsService.CARD_STATES.ACTIVE;\r\n },\r\n // Returns the top-up product if it is purchasable for the selected card (null otherwise)\r\n TopUpProduct: function () {\r\n return this.Products.Purchasable.find(function (ele) {\r\n return ele.Type === CartService.PRODUCT_TYPE_TOPUP;\r\n });\r\n },\r\n // Returns list of the current card's pass products (empty array otherwise)\r\n PassProductsList: function () {\r\n if (this.Products !== null &&\r\n this.Products !== undefined &&\r\n this.Products.hasOwnProperty('Passes') &&\r\n this.Products.Passes !== null &&\r\n this.Products.Passes !== undefined &&\r\n this.Products.Passes.length) {\r\n return this.Products.Passes.sort(function (x, y) {\r\n return Number(x) - Number(y);\r\n }).reverse() || [];\r\n }\r\n return [];\r\n },\r\n // Used to display whether or not the current card has an active purse autoload\r\n ActivePurseAutoload: function () {\r\n if (!this.PurseAutoLoad) return;\r\n var isActive = true;\r\n var todayDate = new Date();\r\n var isoTodayDate = todayDate.toISOString().substring(0, 10);\r\n\r\n var autoload = this.PurseAutoLoad;\r\n if (autoload.SuspendedFrom !== null || autoload.SuspendedTo !== null) {\r\n if (autoload.SuspendedFrom.substring(0, 10) <= isoTodayDate) { isActive = false; }\r\n if (autoload.SuspendedTo.substring(0, 10) < isoTodayDate) { isActive = true; }\r\n } else {\r\n isActive = true;\r\n }\r\n return isActive;\r\n },\r\n HasCardNickname: function () {\r\n return this.CardNickname === null || this.CardNickname === undefined || this.CardNickname === '' || this.CardNickname === '[__EMPTY]' ? false : true;\r\n },\r\n CardNickname: function () {\r\n return this.card.Description !== null && this.card.Description !== undefined ? this.card.Description.trim() : null;\r\n },\r\n },\r\n methods: {\r\n /**\r\n * Clears previously selected card's data and updates loads to newly selected card's data\r\n **/\r\n CardSelected: function () {\r\n window.InitEvents.managedCardSelecting.dispatch(); \r\n\r\n if (this.selectedCardId) {\r\n var selectedCardId = this.selectedCardId;\r\n var selectedCard = this.cards.find(function (card) {\r\n return card.Id === selectedCardId;\r\n }.bind(this));\r\n\r\n loadCardAssets(selectedCard);\r\n this.card = selectedCard;\r\n }\r\n },\r\n IsSoftBlocked: function (card) {\r\n return card.State === 1 && card.BlockDate !== null && card.BlockDate < moment().toISOString();\r\n },\r\n\r\n LimitCardName: function (card, length) {\r\n if (this.isGuest) {\r\n return card.PrintedNumber;\r\n }\r\n else {\r\n return TEXTFORMATTING.LimitCardName(card, length, false);\r\n }\r\n },\r\n autoloadUpdate: function (autoload) {\r\n this.PurseAutoLoad = autoload;\r\n },\r\n /**\r\n * If the customer is logged-in, get their funding sources \r\n */\r\n loadFundingSources: function () {\r\n if (this.fundingSources instanceof Array && this.fundingSources.length === 0 && !this.isGuest) {\r\n this.isFundingLoadDone = false;\r\n getFundingSources().done(function (res) {\r\n this.fundingSources = res;\r\n this.isFundingLoadDone = true;\r\n }.bind(this));\r\n }\r\n else {\r\n this.isFundingLoadDone = true;\r\n }\r\n },\r\n },\r\n mounted: function () {\r\n this.loadFundingSources();\r\n\r\n if (!this.isGuest) {\r\n LoadCards();\r\n }\r\n else {\r\n this.loading = false;\r\n }\r\n }\r\n });\r\n });\r\n\r\n /**\r\n * Retrieves FundingResources and passes them through chainable .done functions.\r\n * @returns {Deferred} jQuery Deferred object for chaining promise actions.\r\n **/\r\n function getFundingSources() {\r\n return CustomerService.getPaymentMethods().then(function (res, sta, xhr) {\r\n var result = res.Data.Result;\r\n\r\n // Make sure the Default funding source is the first in the array.\r\n if (Array.isArray(result)) {\r\n var defaultIndex = result.map(function (source) { return source.IsDefault; }).indexOf(true);\r\n\r\n if (defaultIndex > 0) { // -1 would be not found, and 0 is already at the front. So > 0.\r\n var defaultSource = result[defaultIndex];\r\n result.splice(defaultIndex, 1);\r\n result.unshift(defaultSource);\r\n }\r\n }\r\n return result;\r\n });\r\n }\r\n})(jQuery, ProductsService, CustomerService);\r\n","(function ($, Vue) {\r\n var _vueInstances = [];\r\n var _vueData = {\r\n Qty: 0\r\n };\r\n var updateBadge = function () {\r\n CartService.getItemsInCart().done(function (res, sta, xhr) {\r\n if (res && res.Success) _vueData.Qty = res.Data;\r\n if (res.Data > 0) {\r\n $(\".cart-badge-quantity\").addClass(\"pip\");\r\n if (res.Data > 99) {\r\n _vueData.Qty = 99;\r\n $(\".cart-badge-quantity\").addClass(\"plus\");\r\n } else {\r\n $(\".cart-badge-quantity\").removeClass(\"plus\");\r\n }\r\n } else {\r\n $(\".cart-badge-quantity\").removeClass(\"pip\");\r\n }\r\n });\r\n };\r\n\r\n window.InitEvents.shoppingCartReload.add(function () {\r\n updateBadge();\r\n });\r\n\r\n $(function () {\r\n $(\"[data-navlink-cart] .cart-badge .cart-badge-quantity\").each(function (i, e) {\r\n var amt = $(this).html();\r\n _vueData.Qty = amt;\r\n\r\n _vueInstances.push(new Vue({\r\n el: e,\r\n data: _vueData,\r\n template: \"{{ SanitizedQty }}\",\r\n computed: {\r\n SanitizedQty: function () {\r\n return (this.Qty > 0) ? this.Qty : 0;\r\n }\r\n }\r\n }));\r\n });\r\n\r\n if (_vueInstances.length > 0) updateBadge();\r\n });\r\n})(jQuery, Vue);","(function ($, PublicService) {\r\n $(function () {\r\n var tableContainer = $(\"#contactless-history-table-container\");\r\n if (tableContainer.length === 0) return;\r\n\r\n var _vueData = {\r\n Labels: {},\r\n Logo: \"\"\r\n };\r\n\r\n // Vue Components\r\n Vue.component(\"history-header\", {\r\n template: \"#template-contactless-history-header\",\r\n props: {\r\n AccountIds: Array\r\n },\r\n data: function () {\r\n return {\r\n transitAccounts: [],\r\n selectedMonth: 0,\r\n selectedYear: 0,\r\n selectedActivity: 0,\r\n activeAccount: 0,\r\n isLoading: false\r\n };\r\n },\r\n watch: {\r\n AccountIds: function () {\r\n this.isLoading = true;\r\n\r\n if (this.AccountIds.length === 0) {\r\n return;\r\n }\r\n\r\n var req = PublicService.getTransitAccountsByIds({\r\n TransitAccountIds: this.AccountIds\r\n });\r\n\r\n var headerVM = this;\r\n req.done(function (result) {\r\n isLoading = false;\r\n headerVM.transitAccounts = result.Data;\r\n\r\n // Sets the first transit account \"tab\" to be active \r\n if (headerVM.transitAccounts.length > 0) {\r\n headerVM.activeAccount = headerVM.transitAccounts[0].Id;\r\n }\r\n });\r\n },\r\n selectedMonth: function () {\r\n this.emitTable();\r\n },\r\n selectedYear: function () {\r\n this.emitTable();\r\n },\r\n selectedActivity: function () {\r\n this.emitTable();\r\n },\r\n activeAccount: function () {\r\n this.emitTable();\r\n },\r\n },\r\n methods: {\r\n switchAccount: function (transitAccountId) {\r\n this.activeAccount = transitAccountId;\r\n\r\n // Reset filter for new transit account's table \r\n this.selectedMonth = 0;\r\n this.selectedYear = 0;\r\n this.selectedActivity = 0;\r\n },\r\n emitTable: function () {\r\n this.$emit('account-switched', {\r\n transitAccount: this.activeAccount,\r\n month: this.selectedMonth,\r\n year: this.selectedYear,\r\n activity: this.selectedActivity\r\n });\r\n }\r\n },\r\n filters: {\r\n // Utilized for formatting card number within tabs - \"Card ***xxxx\"\r\n formatCardNumber: function (cardNumber) {\r\n if (cardNumber.length < 4) {\r\n return \"\";\r\n }\r\n\r\n return \"Card ***\" + cardNumber.substring(cardNumber.length - 4);\r\n }\r\n },\r\n mounted: function () {\r\n this.emitTable();\r\n }\r\n });\r\n\r\n var setPaginationTitles = function () {\r\n $(\"#contactlessPager\").find('.jsgrid-pager-page a').each(function () {\r\n $this = $(this);\r\n $this.attr('title', \"Page \" + $this.html());\r\n $this.attr('aria-label', \"Page \" + $this.html());\r\n $this.html(\"\");\r\n });\r\n var navButtons = $(\"#contactlessPager\").find('.jsgrid-pager-nav-button a');\r\n\r\n navButtons.each(function () {\r\n var navButton = $(this);\r\n\r\n if (navButton.text() === '...back' || navButton.text() === '...forward') {\r\n navButton.attr('title', 'Load More Page Numbers');\r\n navButton.html(\"\");\r\n //need to set this because the pagination reloads when the button is clicked\r\n navButton.click(setPaginationTitles);\r\n navButton.text(\"...\");\r\n }\r\n else if (navButton.parent().is(':last-child')) {\r\n navButton.attr('aria-label', 'go to next page');\r\n }\r\n else {\r\n navButton.attr('aria-label', 'go to previous page');\r\n }\r\n });\r\n };\r\n\r\n var getColumnWidth = function (index) {\r\n if (index === 0) {\r\n return '15%';\r\n }\r\n if (index === 1) {\r\n return '10%';\r\n }\r\n else if (index === 2) {\r\n return '20%';\r\n }\r\n else if (index === 3) {\r\n return '25%';\r\n }\r\n else if (index === 4) {\r\n return '15%';\r\n }\r\n else {\r\n return '15%';\r\n }\r\n };\r\n\r\n // Vue component for the transactions table\r\n Vue.component(\"history-table\", {\r\n template: \"#template-contactless-history-table\",\r\n props: {\r\n transitAccount: Number,\r\n month: Number,\r\n year: Number,\r\n activity: Number\r\n },\r\n data: function () {\r\n return {\r\n columnModel: {\r\n request: {\r\n Columns:\r\n [\r\n { Name: '017_LABEL_DATE', ApiFieldName: 'Timestamp', IsSortable: true },\r\n { Name: '017_LABEL_TIME', IsSortable: false },\r\n { Name: '017_LABEL_RECEIPT_REFERENCE', IsSortable: false },\r\n { Name: '017_LABEL_LOCATION', IsSortable: false },\r\n { Name: '017_LABEL_ACTIVITY', ApiFieldName: 'TransactionType', IsSortable: true },\r\n { Name: '017_LABEL_PRICE', IsSortable: false }\r\n ]\r\n },\r\n response: {}\r\n },\r\n sortingField: {\r\n name: \"Timestamp\",\r\n descending: true,\r\n },\r\n skip: 0,\r\n take: 10,\r\n loading: false,\r\n loadingError: false\r\n };\r\n },\r\n computed: {\r\n // Calculated \"From\" date for From/To date range based on Month/Year filter \r\n from: function () {\r\n var monthSet = this.month !== null && this.month !== 0 && this.month !== '0';\r\n var yearSet = this.year !== null && this.year !== 0 && this.year !== '0';\r\n if (!monthSet && !yearSet) return null;\r\n var today = new Date();\r\n if (monthSet && !yearSet) return new Date(this.month + \"/01/\" + today.getFullYear()).toISOString();\r\n if (!monthSet && yearSet) return new Date(\"1\" + \"/01/\" + this.year).toISOString();\r\n else return new Date(this.month + \"/01/\" + this.year).toISOString();\r\n },\r\n // Calculated \"To\" date for From/To date range based on Month/Year filter\r\n to: function () {\r\n var monthSet = this.month !== null && this.month !== 0 && this.month !== '0';\r\n var yearSet = this.year !== null && this.year !== 0 && this.year !== '0';\r\n if (!monthSet && !yearSet) return null;\r\n\r\n var toDate = new Date(this.from);\r\n if (!monthSet) toDate.setMonth(toDate.getMonth() + 12);\r\n else toDate.setMonth(toDate.getMonth() + 1);\r\n\r\n return toDate.toISOString();\r\n }\r\n },\r\n watch: {\r\n // If user selects a different card tab, create new transaction table\r\n transitAccount: function (newAccountId, oldAccountId) {\r\n if (newAccountId !== 0) {\r\n this.createTable();\r\n }\r\n },\r\n // If month filter is modified, create new transaction table\r\n month: function () {\r\n this.createTable();\r\n },\r\n // If year filter is modified, create new transaction table\r\n year: function () {\r\n this.createTable();\r\n },\r\n activity: function () {\r\n this.createTable();\r\n }\r\n },\r\n methods: {\r\n createTable: function () {\r\n var vm = this;\r\n\r\n if (this.transitAccount === 0) return;\r\n var tableContainer = $('.l-contactless-history-table');\r\n _vueData.Labels = {\r\n ContactlessHistory: tableContainer.data(\"label-contactless-history\"),\r\n Date: tableContainer.data(\"label-date\"),\r\n Time: tableContainer.data(\"label-time\"),\r\n ReceiptReference: tableContainer.data(\"label-receipt-reference\"),\r\n Location: tableContainer.data(\"label-location\"),\r\n TransactionType: tableContainer.data(\"label-transaction-type\"),\r\n Price: tableContainer.data(\"label-price\")\r\n };\r\n\r\n vm.skip = 0;\r\n $('.record-count-container').hide();\r\n\r\n $('#history-table-placeholder').jsGrid({\r\n width: '100%',\r\n sorting: true,\r\n paging: true,\r\n autoload: true,\r\n pageIndex: 1,\r\n pageButtonCount: 5,\r\n pagerContainer: '#contactlessPager',\r\n pagerFormat: \"{prev} {pages} {next}\",\r\n pageNextText: \"\",\r\n pagePrevText: \"\",\r\n pageNavigatorNextText: \"...forward\",\r\n pageNavigatorPrevText: \"...back\",\r\n pageLoading: true,\r\n pageSize: vm.take,\r\n headerRowRenderer: function () {\r\n var $result = $(\"\");\r\n var grid = this;\r\n var columnRequest = window.JsGridHelper.getLocalizedColumnNames(vm.columnModel.request);\r\n\r\n columnRequest.done(function (data) {\r\n vm.columnModel.response = data;\r\n\r\n grid._eachField(function (field, index) {\r\n var column = vm.columnModel.response.Columns[index];\r\n var headerTemplate = field.headerTemplate.call();\r\n\r\n var $th = $('');\r\n\r\n if (column) {\r\n if (headerTemplate.indexOf('input') > -1) {\r\n $th.text(column.Name).append($(headerTemplate));\r\n } else {\r\n $th.text(column.Name);\r\n }\r\n }\r\n\r\n $th.appendTo($result);\r\n\r\n // Set up sorting for the table\r\n if (column && column.IsSortable && grid.sorting && field.sorting) {\r\n $th.addClass('sortable')\r\n .on(\"click\",\r\n function () {\r\n if (vm.sortingField.name === column.ApiFieldName) {\r\n vm.sortingField.descending = !vm.sortingField.descending;\r\n }\r\n else {\r\n vm.sortingField.descending = false;\r\n }\r\n vm.sortingField.name = column.ApiFieldName;\r\n\r\n vm.skip = 0;\r\n vm.reloadTable();\r\n grid.pageIndex = 1;\r\n\r\n // Fix sort Icons since manually sorting with table reload\r\n $('#history-table-placeholder').find('th.sortable').each(function () {\r\n $(this).removeClass('jsgrid-header-sort')\r\n .removeClass('jsgrid-header-sort-desc')\r\n .removeClass('jsgrid-header-sort-asc');\r\n });\r\n\r\n if (vm.sortingField.descending) {\r\n $(this).removeClass('jsgrid-header-sort-asc')\r\n .addClass('jsgrid-header-sort')\r\n .addClass('jsgrid-header-sort-desc');\r\n }\r\n else {\r\n $(this).removeClass('jsgrid-header-sort-desc')\r\n .addClass('jsgrid-header-sort')\r\n .addClass('jsgrid-header-sort-asc');\r\n }\r\n });\r\n $th.on('keyup', function (e) {\r\n if (e.which === 13) {\r\n $th.trigger('click');\r\n }\r\n });\r\n $th.attr('aria-label', column.Name);\r\n }\r\n });\r\n });\r\n\r\n return $result;\r\n\r\n },\r\n controller: {\r\n loadData: function (filter) {\r\n var d = $.Deferred();\r\n vm.startLoading();\r\n vm.hideResponseError();\r\n\r\n $('.no-results-found').hide();\r\n\r\n // Get transactions by TransitAccountId and handle \r\n // sorting, filtering, and paginating.\r\n var req = PublicService.getContactlessTransactionHistory({\r\n TransitAccountId: vm.transitAccount,\r\n TransactionType: vm.activity ? vm.activity : null,\r\n From: vm.from,\r\n To: vm.to,\r\n SortField: vm.sortingField.name,\r\n SortDescending: vm.sortingField.descending,\r\n Skip: parseInt(vm.skip),\r\n Take: parseInt(vm.take)\r\n });\r\n\r\n req.done(function (res) {\r\n // If the request fails for some reason, stop loading and display an error. \r\n if (!res.DataSet) {\r\n vm.showResponseError();\r\n vm.finishLoading();\r\n d.reject(\"error getting data\");\r\n return;\r\n }\r\n\r\n // Modify the transactions data to display nicely\r\n // i.e. date/price formatting\r\n var transactions = res.DataSet;\r\n transactions = Object.keys(transactions).map(function (row) {\r\n var date = new Date(transactions[row].Timestamp);\r\n\r\n return {\r\n Date: date.toLocaleDateString(),\r\n Time: date.toLocaleTimeString([], { hour: \"numeric\", minute: \"numeric\" }).replace(\" \", \"\").toLowerCase(),\r\n ReceiptReference: transactions[row].ReceiptReference ? transactions[row].ReceiptReference : '',\r\n LineInfo: transactions[row].LineName ? transactions[row].LineName : '',\r\n TransactionType: transactions[row].TransactionType,\r\n Price: Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(transactions[row].PurseCredit / 100),\r\n };\r\n });\r\n\r\n // Set up results count text at the bottom of the table\r\n if (res.TotalResults > 0) {\r\n var showingResults;\r\n if (vm.take > res.TotalResults) {\r\n showingResults = res.TotalResults;\r\n }\r\n else {\r\n var firstTransactionOnPage = vm.skip + 1;\r\n var lastTransactionOnPage = vm.skip + vm.take;\r\n if (lastTransactionOnPage > res.TotalResults)\r\n lastTransactionOnPage = res.TotalResults;\r\n\r\n showingResults = firstTransactionOnPage + \"-\" + lastTransactionOnPage;\r\n }\r\n\r\n $('.contactlessShowingResults').text(showingResults);\r\n $('.contactlessTotalResults').text(res.TotalResults);\r\n $('.record-count-container').show();\r\n }\r\n else {\r\n $('.record-count-container').hide();\r\n $('.no-results-found').show();\r\n }\r\n\r\n d.resolve({\r\n data: transactions,\r\n itemsCount: res.TotalResults\r\n });\r\n });\r\n\r\n return d.promise();\r\n }\r\n },\r\n fields: [\r\n {\r\n name: \"Date\",\r\n width: getColumnWidth(0)\r\n },\r\n {\r\n name: \"Time\",\r\n width: getColumnWidth(1)\r\n },\r\n {\r\n name: \"ReceiptReference\",\r\n width: getColumnWidth(2)\r\n },\r\n {\r\n name: \"LineInfo\",\r\n width: getColumnWidth(3)\r\n },\r\n {\r\n name: \"TransactionType\",\r\n width: getColumnWidth(4)\r\n },\r\n {\r\n name: \"Price\",\r\n width: getColumnWidth(5)\r\n }\r\n ],\r\n onPageChanged: function (args) {\r\n vm.skip = (args.pageIndex - 1) * vm.take;\r\n setPaginationTitles();\r\n },\r\n onDataLoaded: function (grid, data) {\r\n vm.finishLoading();\r\n\r\n // Connect the 'Download PDF' button\r\n $('#download-pdf').off(\"click\").on(\"click\",\r\n function () {\r\n var form = {\r\n TransitAccountId: vm.transitAccount,\r\n From: vm.from ? vm.from : '',\r\n To: vm.to ? vm.to : '',\r\n TransactionType: vm.activity ? vm.activity : null,\r\n SortField: vm.sortingField.name,\r\n SortDescending: vm.sortingField.descending,\r\n Skip: 0,\r\n Take: null\r\n };\r\n getPDF(form);\r\n });\r\n\r\n // Connect the 'Download CSV' button\r\n $('#download-csv').off(\"click\").on(\"click\",\r\n function () {\r\n var form = {\r\n TransitAccountId: vm.transitAccount,\r\n From: vm.from ? vm.from : '',\r\n To: vm.to ? vm.to : '',\r\n TransactionType: vm.activity ? vm.activity : null,\r\n SortField: vm.sortingField.name,\r\n SortDescending: vm.sortingField.descending,\r\n Skip: 0,\r\n Take: null\r\n };\r\n getCSV(form);\r\n });\r\n\r\n\r\n var imgLogo = new Image();\r\n imgLogo.src = $(\".l-contactless-history-table\").data('logo');\r\n _vueData.Logo = imgLogo;\r\n\r\n //set attributes on page anchors for accessiblity here\r\n setPaginationTitles();\r\n }\r\n });\r\n },\r\n reloadTable: function () {\r\n $('#history-table-placeholder').jsGrid(\"loadData\");\r\n },\r\n startLoading: function () {\r\n this.loading = true;\r\n $('.loader-container').show();\r\n $('.export-container').hide();\r\n },\r\n finishLoading: function () {\r\n this.loading = false;\r\n $('.loader-container').hide();\r\n $('.export-container').show();\r\n },\r\n hideResponseError: function () {\r\n $('.response-error').hide();\r\n },\r\n showResponseError: function () {\r\n $('.response-error').show();\r\n }\r\n },\r\n });\r\n\r\n // Main Vue instance for the contactless table\r\n var vm = new Vue({\r\n el: tableContainer[0],\r\n template: $('#template-contactless-history-container')[0],\r\n data: function () {\r\n return {\r\n transitAccounts: [],\r\n selectedTransitAccount: 0,\r\n selectedMonth: 0,\r\n selectedYear: 0,\r\n selectedActivity: 0\r\n };\r\n },\r\n methods: {\r\n changeTable: function (changeInfo) {\r\n this.selectedTransitAccount = changeInfo.transitAccount;\r\n this.selectedMonth = parseInt(changeInfo.month);\r\n this.selectedYear = parseInt(changeInfo.year);\r\n this.selectedActivity = parseInt(changeInfo.activity);\r\n }\r\n },\r\n mounted: function () {\r\n var accounts = localStorage.getItem(\"contactlessTransitAccountIds\");\r\n if (accounts) {\r\n this.transitAccounts = JSON.parse(accounts);\r\n if (this.transitAccounts.length > 0) {\r\n this.selectedTransitAccount = this.transitAccounts[0];\r\n }\r\n }\r\n }\r\n });\r\n\r\n var formatEmptyColumn = function (item) {\r\n if (!item) return '';\r\n return item;\r\n };\r\n\r\n var getCSV = function (form) {\r\n var request = PublicService.getContactlessTransactionHistory(form);\r\n request.done(function (res) {\r\n var dataSet = res.DataSet;\r\n var csvData = [];\r\n dataSet.forEach(function (item) {\r\n var date = new Date(item.Timestamp);\r\n\r\n var csvItem = {\r\n 'Date': TEXTFORMATTING.FormatCsvField(date.toLocaleDateString()),\r\n 'Time': TEXTFORMATTING.FormatCsvField(date.toLocaleTimeString([], { hour: \"numeric\", minute: \"numeric\" }).replace(\" \", \"\").toLowerCase()),\r\n 'ReceiptReference': TEXTFORMATTING.FormatCsvField(item.ReceiptReference),\r\n 'Location': TEXTFORMATTING.FormatCsvField(item.LineName),\r\n 'Activity': TEXTFORMATTING.FormatCsvField(item.TransactionType),\r\n 'Price': TEXTFORMATTING.FormatCsvField(Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(item.PurseCredit / 100))\r\n };\r\n csvData.push(csvItem);\r\n });\r\n\r\n var csv = json2csv({ data: csvData });\r\n downloadCsvFile('contactless-history.csv', csv);\r\n });\r\n };\r\n\r\n var downloadCsvFile = function (fileName, csv) {\r\n if (BROWSER_COMPATIBILITY.IsIE()) {\r\n var csvData = decodeURIComponent(csv);\r\n\r\n if (window.navigator.msSaveBlob) {\r\n var blob = new Blob([csvData], { type: \"application/csv;charset=utf-8;\" });\r\n navigator.msSaveBlob(blob, fileName);\r\n }\r\n }\r\n else {\r\n var aLink = document.createElement('a');\r\n aLink.download = fileName;\r\n aLink.href = 'data:application/csv;charset=utf-8,' + encodeURIComponent(csv);\r\n\r\n var event = new MouseEvent('click');\r\n aLink.dispatchEvent(event);\r\n }\r\n };\r\n\r\n var getPDF = function (form) {\r\n var request = PublicService.getContactlessTransactionHistory(form);\r\n request.done(function (res) {\r\n var dataSet = res.DataSet;\r\n\r\n var pdf = new jsPDF('l', 'pt', 'letter');\r\n var lang = _vueData.language;\r\n\r\n var defaultFontSize = 12;\r\n var topMargin = 75;\r\n var x = 50; //left margin\r\n\r\n var tableCols = [_vueData.Labels.Date, _vueData.Labels.Time, _vueData.Labels.ReceiptReference, _vueData.Labels.Location, _vueData.Labels.TransactionType, _vueData.Labels.Price];\r\n var tableRows = dataSet.map(function (row, index) {\r\n var date = new Date(row.Timestamp);\r\n\r\n return [\r\n date.toLocaleDateString(),\r\n date.toLocaleTimeString([], { hour: \"numeric\", minute: \"numeric\" }).replace(\" \", \"\").toLowerCase(),\r\n formatEmptyColumn(row.ReceiptReference),\r\n formatEmptyColumn(row.LineName),\r\n row.TransactionType,\r\n Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(row.PurseCredit / 100)\r\n ];\r\n });\r\n\r\n pdf.autoTable(tableCols, tableRows, {\r\n headerStyles: {\r\n fillColor: [49, 50, 100],\r\n columnWidth: 'auto'\r\n },\r\n styles: {\r\n font: lang === 'zh' ? 'msyahei' :\r\n lang === 'ko' ? 'malgun' :\r\n lang === 'vi' || lang === 'ru' ? 'arial' :\r\n 'helvetica'\r\n },\r\n margin: { top: 155, left: 50, right: 50 },\r\n addPageContent: function () {\r\n var y = topMargin; //y starting point, also top margin\r\n pdf.setFontSize(defaultFontSize);\r\n\r\n //title/logo\r\n pdf.setFontSize(36);\r\n pdf.setFontType('bold');\r\n pdf.setTextColor(0, 0, 0);\r\n pdf.text(x, y, _vueData.Labels.ContactlessHistory);\r\n pdf.setFontSize(12);\r\n pdf.setTextColor(0, 0, 0);\r\n if (_vueData.Logo.complete && _vueData.Logo.naturalHeight !== 0) {\r\n pdf.addImage(_vueData.Logo, 'PNG', 650, 32, 95, 60); // format, x, y, width, height\r\n }\r\n y += 20;\r\n\r\n pdf.setDrawColor(203, 203, 203);\r\n pdf.setLineWidth(1);\r\n pdf.line(x, y, pdf.internal.pageSize.width - x, y);\r\n y += 20;\r\n\r\n pdf.setFontSize(16);\r\n }\r\n });\r\n\r\n var fileName = 'contactless-history.pdf';\r\n pdf.save(fileName);\r\n });\r\n };\r\n });\r\n})(jQuery, PublicService);","(function ($, PublicService) {\r\n var modalsSelector = '.m-open-payments-modals';\r\n if ($(modalsSelector) === null || $(modalsSelector).length === 0) return;\r\n\r\n var opModalVM = null;\r\n $(modalsSelector).each(function () {\r\n var mobileModalSelector = '#mobileModal';\r\n var cardModalSelector = '#cardModal';\r\n var contactlessErrors = {\r\n dpanLengthError: $(modalsSelector).data('error-dpan-length'),\r\n dateError: $(modalsSelector).data('error-date')\r\n };\r\n\r\n var resetRecaptcha = function () {\r\n var recaptchaElement = $(\".g-recaptcha\");\r\n if (recaptchaElement) {\r\n for (var i = 0; i < recaptchaElement.length; i++) {\r\n grecaptcha.reset(i);\r\n }\r\n }\r\n };\r\n\r\n opModalVM = new Vue({\r\n el: modalsSelector,\r\n data: function () {\r\n return {\r\n cardValidationHappened: false,\r\n cardNumberValidated: false,\r\n expirationValidated: false,\r\n securityCodeValidated: false,\r\n dpan: \"\",\r\n dpanError: false,\r\n tripDate: \"\",\r\n tripDateError: false,\r\n route: {\r\n value: \"\",\r\n visited: false\r\n },\r\n mobileValidationHappened: false\r\n };\r\n },\r\n computed: {\r\n cardSubmitAllowed: function () {\r\n if (!this.cardValidationHappened) return false;\r\n return this.cardNumberValidated && this.expirationValidated && this.securityCodeValidated;\r\n },\r\n mobileSubmitAllowed: function () {\r\n if (this.dpanError || this.tripDateError) return false;\r\n\r\n if (this.dpan && this.tripDate) return true;\r\n\r\n return false;\r\n }\r\n },\r\n methods: {\r\n openCardModal: function () {\r\n $(cardModalSelector).modal(\"show\");\r\n },\r\n openMobileModal: function () {\r\n $(mobileModalSelector).modal(\"show\");\r\n },\r\n submitCardModal: function () {\r\n if (!this.cardSubmitAllowed) return;\r\n\r\n var $cardSubmitButton = $('#submit-card-btn', $(cardModalSelector));\r\n $cardSubmitButton.prop('disabled', true);\r\n $('.response-error', $(cardModalSelector)).hide();\r\n $('.transit-account-error', $(cardModalSelector)).hide();\r\n\r\n CollectJS.startPaymentRequest();\r\n },\r\n displayFieldValidationError: function (field, message) {\r\n this.hideFieldValidationError(field);\r\n var validationElement = \"span#\" + field + \"-error-container\";\r\n $(validationElement).html(message);\r\n $(\"[data-errorfor='\" + field + \"']\").show();\r\n },\r\n hideFieldValidationError: function (field) {\r\n $(\"[data-errorfor='\" + field + \"']\").hide();\r\n },\r\n handleCollectJsResponse: function (response) {\r\n if (!response) {\r\n // console.log(\"CollectJS error, erroring out...\", response);\r\n return;\r\n }\r\n\r\n var token = response.token;\r\n if (!token) {\r\n // Error\r\n // console.log(\"no token found, erroring out...\");\r\n return;\r\n }\r\n\r\n // This will need to be removed before deploying (hard-coded token for testing purposes)\r\n // console.log(\"We found token:\", token, \"but we're going to use 00000000-000000-000000-000000000000 in testing\");\r\n // token = \"00000000-000000-000000-000000000000\";\r\n\r\n // Grab the reCAPTCHA response to manually add it to the request\r\n // since we are using CollectJS\r\n var recaptchaResponse = '';\r\n for (var i = 0; i < $(\".g-recaptcha\").length; i++) {\r\n recaptchaResponse = window.grecaptcha.getResponse(i);\r\n if (recaptchaResponse !== '') break;\r\n }\r\n\r\n var request = PublicService.getTransitAccountsByBankingServiceToken({\r\n BankingServiceToken: token,\r\n \"g-recaptcha-response\": recaptchaResponse\r\n });\r\n request.done(function (result) {\r\n var $cardSubmitButton = $('#submit-card-btn', $(cardModalSelector));\r\n $cardSubmitButton.prop('disabled', false);\r\n resetRecaptcha();\r\n\r\n /** \r\n If there ARE transit accounts associated with the banking service token,\r\n add the transit account ids to local storage to access later when\r\n populating the transaction history table.\r\n */\r\n if (result.Success && result.Data !== null && result.Data.Result.length) {\r\n var transitAccountIds = [];\r\n result.Data.Result.forEach(function (transitAccount) {\r\n transitAccountIds.push(transitAccount.Id);\r\n });\r\n localStorage.setItem('contactlessTransitAccountIds', JSON.stringify(transitAccountIds));\r\n\r\n window.location = \"/contactless/history\";\r\n }\r\n else if (!result.Success && result.Messages.length) {\r\n $(\".response-error\", $(cardModalSelector)).html('' + result.Messages[0] + '');\r\n $(\".response-error\", $(cardModalSelector)).show();\r\n }\r\n else {\r\n $('.transit-account-error', $(cardModalSelector)).show();\r\n }\r\n });\r\n },\r\n validationCallback: function (field, valid, message) {\r\n this.cardValidationHappened = true;\r\n $(\"[data-errorfor='\" + field + \"']\").hide();\r\n var validationElement = \"span#\" + field + \"-error-container\";\r\n if (!valid) {\r\n $(validationElement).html(message);\r\n $(\"[data-errorfor='\" + field + \"']\").show();\r\n }\r\n\r\n switch (field) {\r\n case \"ccnumber\":\r\n if (valid) this.cardNumberValidated = true;\r\n else this.cardNumberValidated = false;\r\n break;\r\n case \"ccexp\":\r\n if (valid) this.expirationValidated = true;\r\n else this.expirationValidated = false;\r\n break;\r\n case \"cvv\":\r\n if (valid) this.securityCodeValidated = true;\r\n else this.securityCodeValidated = false;\r\n }\r\n },\r\n setupCollectJsFields: function () {\r\n $(\"#CollectJSInlineccnumber\").attr(\"height\", \"40px\");\r\n $(\"#CollectJSInlineccnumber\").css(\"height\", \"40px\");\r\n $(\"#CollectJSInlineccexp\").css(\"height\", \"40px\");\r\n $(\"#CollectJSInlinecvv\").css(\"height\", \"40px\");\r\n },\r\n getRoute: function () {\r\n var route = $('#routeDropdown');\r\n if (!route) return \"\";\r\n return route.value();\r\n },\r\n validateDpanValue: function () {\r\n if (this.dpan.length < 4) {\r\n this.displayFieldValidationError(\"dpan\", contactlessErrors.dpanLengthError);\r\n this.dpanError = true;\r\n }\r\n else {\r\n this.hideFieldValidationError(\"dpan\");\r\n this.dpanError = false;\r\n }\r\n },\r\n validateTripDateValue: function () {\r\n if (!this.tripDate) {\r\n this.displayFieldValidationError(\"tripDate\", contactlessErrors.dateError);\r\n this.tripDateError = true;\r\n }\r\n else {\r\n this.hideFieldValidationError(\"tripDate\");\r\n this.tripDateError = false;\r\n }\r\n },\r\n submitMobileModal: function () {\r\n if (!this.mobileSubmitAllowed) return;\r\n\r\n var $mobileSubmitButton = $('#submit-mobile-btn', $(mobileModalSelector));\r\n $mobileSubmitButton.prop('disabled', true);\r\n $('.response-error', $(mobileModalSelector)).hide();\r\n $('.transit-account-error', $(mobileModalSelector)).hide();\r\n\r\n // Grab the reCAPTCHA response to manually add it to the request\r\n // since we are using CollectJS\r\n var recaptchaResponse = '';\r\n for (var i = 0; i < $(\".g-recaptcha\").length; i++) {\r\n recaptchaResponse = window.grecaptcha.getResponse(i);\r\n if (recaptchaResponse !== '') break;\r\n }\r\n\r\n var body = {\r\n DPAN: this.dpan,\r\n TapDate: this.tripDate,\r\n LineCode: this.route.value,\r\n \"g-recaptcha-response\": recaptchaResponse\r\n };\r\n\r\n var response = PublicService.getTransitAccountsByDPAN(body);\r\n response.done(function (result) {\r\n $mobileSubmitButton.prop('disabled', false);\r\n resetRecaptcha();\r\n\r\n /**\r\n If there ARE transit accounts associated with the banking service token,\r\n add the transit account ids to local storage to access later when\r\n populating the transaction history table.\r\n */\r\n if (result.Success && result.Data !== null && result.Data.Result.length) {\r\n var transitAccountIds = [];\r\n result.Data.Result.forEach(function (transitAccount) {\r\n transitAccountIds.push(transitAccount.Id);\r\n });\r\n localStorage.setItem('contactlessTransitAccountIds', JSON.stringify(transitAccountIds));\r\n\r\n window.location = \"/contactless/history\";\r\n }\r\n else if (!result.Success && result.Messages.length) {\r\n $(\".response-error\", $(mobileModalSelector)).html('' + result.Messages[0] + '');\r\n $(\".response-error\", $(mobileModalSelector)).show();\r\n }\r\n else {\r\n $('.transit-account-error', $(mobileModalSelector)).show();\r\n } \r\n });\r\n }\r\n },\r\n mounted: function () {\r\n $(mobileModalSelector).on('hidden.bs.modal', function () {\r\n resetRecaptcha();\r\n $('.response-error', $(mobileModalSelector)).hide();\r\n $('.transit-account-error', $(mobileModalSelector)).hide();\r\n });\r\n\r\n $(cardModalSelector).on('hidden.bs.modal', function () {\r\n resetRecaptcha();\r\n $('.response-error', $(cardModalSelector)).hide();\r\n $('.transit-account-error', $(cardModalSelector)).hide();\r\n CollectJS.clearInputs();\r\n });\r\n\r\n CollectJS.configure({\r\n variant: \"inline\",\r\n callback: this.handleCollectJsResponse,\r\n fieldsAvailableCallback: this.setupCollectJsFields,\r\n validationCallback: this.validationCallback,\r\n fields: {\r\n ccnumber: {\r\n selector: \"#ccnumber\",\r\n title: \"Card Number\",\r\n placeholder: \"0000 0000 0000 0000\"\r\n },\r\n ccexp: {\r\n selector: \"#ccexp\",\r\n title: \"Card Expiration\",\r\n placeholder: \"00 / 00\"\r\n },\r\n cvv: {\r\n selector: \"#cvv\",\r\n title: \"Security Code\",\r\n placeholder: \"***\"\r\n }\r\n },\r\n customCss: {\r\n \"height\": \"40px\",\r\n \"font-weight\": \"400\",\r\n \"font-size\": \"18px\",\r\n 'border-style': 'solid',\r\n 'border-color': '#005DAA',\r\n 'border-width': '2px'\r\n }\r\n });\r\n\r\n SettingsService.getLines().done(function (res) {\r\n if (!res || !res.Success) return;\r\n\r\n // Sort the routes alphabetically by LineName \r\n res.Data.Result.sort(function (a, b) {\r\n return (a.LineName.toUpperCase() < b.LineName.toUpperCase()) ? -1 : (a.LineName.toUpperCase() > b.LineName.toUpperCase()) ? 1 : 0;\r\n });\r\n\r\n // Append the route names to the route dropdown\r\n var routeDropdown = $('#routeDropdown');\r\n res.Data.Result.forEach(function (route) {\r\n var newRouteOption = null;\r\n newRouteOption = $('');\r\n newRouteOption.attr('data-tokens', route.LineName);\r\n newRouteOption.attr('value', route.LineCode);\r\n newRouteOption.text(route.LineName);\r\n routeDropdown.append(newRouteOption);\r\n });\r\n });\r\n },\r\n });\r\n\r\n });\r\n})(jQuery, PublicService);","///* javascript methods for accordions */\r\n(function ($) {\r\n $(function () {\r\n if (document.querySelector(\".contentTabsBLE\") === null) {\r\n return;\r\n }\r\n\r\n var contentTabsContainer = $(\".contentTabsBLE\");\r\n var activeTabIndex = 0;\r\n\r\n var contentTabs = $('.tab-switcher', contentTabsContainer);\r\n if (contentTabs && contentTabs.length > 0) {\r\n $('.tab-switcher[data-tab-index=\"' + activeTabIndex + '\"]').addClass('active');\r\n $('.tab-content[data-tab-index=\"' + activeTabIndex + '\"]').show();\r\n\r\n var firstTab = $(contentTabs)[0];\r\n var lastTab = $(contentTabs)[contentTabs.length - 1];\r\n\r\n $(firstTab).attr('tabindex', 0);\r\n $(firstTab).attr('aria-selected', true);\r\n\r\n $(\".tab-switcher\").on('click keypress', function (e) {\r\n // e.which === 13 means \"Enter\" key was pressed\r\n if ((e.type === \"keypress\" && e.which === 13) || e.type === \"click\") {\r\n var tabClicked = $(this).data('tab-index');\r\n console.l\r\n if (tabClicked != activeTabIndex) {\r\n $('.tab-content', contentTabsContainer).each(function () {\r\n if ($(this).data('tab-index') == tabClicked) {\r\n $('.tab-content').hide();\r\n $(this).show();\r\n resetTabSwitcherStates();\r\n\r\n activeTabIndex = $(this).data('tab-index');\r\n $('.tab-switcher[data-tab-index=\"' + activeTabIndex + '\"]').addClass('active');\r\n $('.tab-switcher[data-tab-index=\"' + activeTabIndex + '\"]').attr('aria-selected', true);\r\n $('.tab-switcher[data-tab-index=\"' + activeTabIndex + '\"]').attr('tab-index', 0);\r\n return;\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n var resetTabSwitcherStates = function () {\r\n $('.tab-switcher').removeClass('active');\r\n $('.tab-switcher').attr('aria-selected', false);\r\n $('.tab-switcher').attr('tab-index', -1);\r\n }\r\n\r\n // ADA: Update focus on tabs when arrow keys are pressed\r\n $(\".tab-switcher\").on('keydown', function (e) {\r\n var target = e.currentTarget;\r\n var flag = false;\r\n\r\n switch (e.key) {\r\n case 'ArrowLeft':\r\n moveFocusToPreviousTab(target);\r\n flag = true;\r\n break;\r\n\r\n case 'ArrowRight':\r\n moveFocusToNextTab(target);\r\n flag = true;\r\n break;\r\n\r\n case 'Home':\r\n moveFocusToTab(firstTab);\r\n flag = true;\r\n break;\r\n\r\n case 'End':\r\n moveFocusToTab(lastTab);\r\n flag = true;\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n\r\n if (flag) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }\r\n });\r\n\r\n function moveFocusToTab(currentTab) {\r\n $(currentTab).focus();\r\n }\r\n\r\n function moveFocusToPreviousTab(currentTab) {\r\n var index;\r\n\r\n if (currentTab === firstTab) {\r\n moveFocusToTab(lastTab);\r\n } else {\r\n index = $(contentTabs).index($(currentTab));\r\n moveFocusToTab(contentTabs[index - 1]);\r\n }\r\n }\r\n\r\n function moveFocusToNextTab(currentTab) {\r\n var index;\r\n\r\n if (currentTab === lastTab) {\r\n moveFocusToTab(firstTab);\r\n } else {\r\n index = $(contentTabs).index($(currentTab));\r\n moveFocusToTab(contentTabs[index + 1]);\r\n }\r\n }\r\n }\r\n });\r\n})(jQuery);","(function () {\r\n var vueTemplateSelector = '#vueCardFareCapping';\r\n var vueComponentName = 'fare-capping';\r\n if (document.querySelector(vueTemplateSelector) === null) {\r\n return;\r\n }\r\n\r\n /**\r\n * Manages a view of the FareCapping based on a provided card.\r\n * Once mounted the Vue looks for Signal()'s provided from the root element data attributes\r\n * cardSignal and reloadSignal. On cardSignal a Card object is expted to be passed, for which \r\n * the Fare Capping data will be retrieved from. On reloadSignal the FareCapping will be .. reloaded.\r\n *\r\n * The capping pot arrays and isLoading are managed by the card watcher. Everything\r\n * runs based on the value of card. Resets itself when null etc.\r\n **/\r\n Vue.component(vueComponentName, {\r\n template: vueTemplateSelector,\r\n props: {\r\n initialCard: {\r\n type: Object,\r\n default: null\r\n },\r\n isGuest: {\r\n type: Boolean,\r\n default: false\r\n },\r\n },\r\n data: function () {\r\n return {\r\n card: this.initialCard,\r\n cappingPots: [],\r\n dayCappingPots: [],\r\n monthCappingPots: [],\r\n loading: true\r\n };\r\n },\r\n filters: {\r\n momentDay: function (date) {\r\n return moment(date).locale($(vueTemplateSelector).data(\"locale\")).format('MMMM D, YYYY');\r\n },\r\n momentMonth: function (date) {\r\n return moment(date).locale($(vueTemplateSelector).data(\"locale\")).format('MMMM');\r\n }\r\n },\r\n computed: {\r\n date: function () {\r\n var date = new Date();\r\n return date;\r\n }\r\n },\r\n methods: {\r\n /**\r\n * Method to set the Vue instance card if provided card has a value.\r\n * @param {Card} card Card to set the Vue instance card property to.\r\n */\r\n setCard: function (card) {\r\n if (card !== null && typeof card !== 'undefined' && card !== false) {\r\n this.card = card;\r\n }\r\n },\r\n /**\r\n * Get fare capping pots for selected card.\r\n */\r\n getFareCapping: function (card) {\r\n if (card !== null && typeof card !== 'undefined' && card.hasOwnProperty('Id')) {\r\n var _vue = this;\r\n\r\n if (this.card._Caps !== null && typeof this.card._Caps !== 'undefined') {\r\n var cappingPots = this.card._Caps;\r\n sortFareCappingList(cappingPots);\r\n addCappingProperties(cappingPots);\r\n\r\n _vue.cappingPots = cappingPots;\r\n _vue.dayCappingPots = cappingPots.filter(function (pot) { return pot.Type === 'day'; });\r\n _vue.monthCappingPots = cappingPots.filter(function (pot) { return pot.Type === 'month'; });\r\n }\r\n else {\r\n _vue.cappingPots = [];\r\n _vue.dayCappingPots = [];\r\n _vue.monthCappingPots = [];\r\n }\r\n\r\n _vue.loading = false;\r\n }\r\n else {\r\n this.cappingPots = [];\r\n this.dayCappingPots = [];\r\n this.monthCappingPots = [];\r\n this.loading = true;\r\n }\r\n },\r\n /**\r\n * Sets the Vue instance card property to null.\r\n */\r\n reset: function () {\r\n this.card = null;\r\n }\r\n },\r\n watch: {\r\n /**\r\n * When selected card changes, get fare capping for the new card.\r\n */\r\n card: function (val) {\r\n this.getFareCapping(val);\r\n },\r\n /**\r\n * Once initial card prop changes on the vue component, update card property.\r\n */\r\n initialCard: function (val) {\r\n this.card = val\r\n }\r\n },\r\n mounted: function () {\r\n if (this.card !== null && this.card !== undefined) {\r\n this.getFareCapping(this.card);\r\n }\r\n },\r\n updated: function () {\r\n // Update progress bars for farecapping\r\n $('.farecap .progressbar').each(function (i, e) {\r\n var max = parseInt($(e).attr('data-max'));\r\n var value = parseInt($(e).attr('data-value'));\r\n $(e).progressbar({\r\n max: max,\r\n value: value\r\n });\r\n });\r\n\r\n if ($('[data-bs-toggle=\"tooltip\"]').length) {\r\n $('[data-bs-toggle=\"tooltip\"]').tooltip();\r\n }\r\n }\r\n });\r\n\r\n /**\r\n * Sort capping list by % done and return.\r\n * @param {object} cappingPots Collection of cappingPots.\r\n */\r\n var sortFareCappingList = function (cappingPots) {\r\n cappingPots.sort(\r\n function (a, b) {\r\n var aDone = a.CurrentValue / a.Amount;\r\n var bDone = b.CurrentValue / b.Amount;\r\n if (aDone > bDone) {\r\n return -1;\r\n }\r\n else if (bDone > aDone)\r\n return 1;\r\n else\r\n return 0;\r\n }\r\n );\r\n };\r\n\r\n /**\r\n * Adds the Percent Complete property to each capping pot.\r\n * @param {object} cappingPots Collection of cappingPots.\r\n */\r\n var addCappingProperties = function (cappingPots) {\r\n var msInDay = 86400000;\r\n var dateFormatter = new Intl.DateTimeFormat('en-US', { month: 'long' });\r\n\r\n cappingPots.forEach(function (cappingPot) {\r\n // CappingPot Type\r\n try {\r\n var validDurationMs = new Date(cappingPot.ValidTo) - new Date(cappingPot.ValidFrom);\r\n\r\n if (validDurationMs <= msInDay) {\r\n cappingPot.Type = 'day';\r\n cappingPot.Month = '';\r\n }\r\n else if (validDurationMs > msInDay) {\r\n cappingPot.Type = 'month';\r\n cappingPot.Month = dateFormatter.format(new Date(cappingPot.ValidFrom));\r\n }\r\n } catch (e) {\r\n cappingPot.Type = \"n-a\";\r\n // console.error('Error setting capping pot Type:', e);\r\n }\r\n // CappingPot Percent Complete\r\n try {\r\n var pcntDone = cappingPot.CurrentValue / cappingPot.Amount;\r\n cappingPot.PercentComplete = pcntDone;\r\n } catch (e) {\r\n cappingPot.PercentComplete = 0;\r\n // console.error('Error setting capping pot PercentComplete:', e);\r\n }\r\n });\r\n };\r\n})();","/* javascript methods for googlemap component */\r\n(function ($) {\r\n var culture = window.__locale || \"en-us\";\r\n $(function () {\r\n $('.m-google-map').each(function (mapIndex, map) {\r\n var $map = $(map);\r\n var permissionDenied = $map.attr(\"data-geolocation-denied\") || \"\";\r\n if (navigator.geolocation && permissionDenied !== \"denied\") {\r\n // Try HTML5 geolocation.\r\n navigator.geolocation.getCurrentPosition(function (position) {\r\n var pos = {\r\n Latitude: position.coords.latitude,\r\n Longitude: position.coords.longitude\r\n };\r\n //make geolocation position available\r\n $map.attr(\"data-geolocationlat\", pos.Latitude);\r\n $map.attr(\"data-geolocationlng\", pos.Longitude);\r\n GoogleMapComponent($map, pos);\r\n }, function (error) {\r\n handleLocationError($map, true, error);\r\n GoogleMapComponent($map, null);\r\n });\r\n } else {\r\n handleLocationError($map, false);\r\n GoogleMapComponent($map, null);\r\n }\r\n });\r\n });\r\n\r\n function GoogleMapComponent(map, pos) {\r\n var $map = $(map);\r\n var searchButtonDisabled = true;\r\n var unfilteredLocations = JSON.parse($map.attr('data-unfiltered-locations'));\r\n var defaultZoom = $map.attr('data-default-zoom');\r\n var locationListContainer = $map.find('.location-list-container');\r\n var locationsPerPage = locationListContainer.attr('data-locations-per-page');\r\n var defaultRadius = $map.find('.map-search-distance').val();\r\n UpdateMap($map, unfilteredLocations, pos, pos !== null ? 5000 : 10, defaultZoom, locationsPerPage, false, null);\r\n var $searchButton = $map.find('.map-search-button');\r\n searchButtonDisabled = EnableDisableSearchButton($map.find('.map-search-address-zip'), $searchButton);\r\n\r\n $(document).on('resetGoogleMap', function () {\r\n UpdateMap($map, unfilteredLocations, pos, (pos !== null ? 5000 : defaultRadius), defaultZoom, locationsPerPage, false, null);\r\n $searchButton.removeClass('hasSearch');\r\n $map.find('.map-search-distance').val(defaultRadius);\r\n });\r\n\r\n $map.find('.map-search-address-zip').bind('change keyup input', function (e) {\r\n searchButtonDisabled = EnableDisableSearchButton($(this), $searchButton);\r\n if (!searchButtonDisabled && e.which && e.which === 13) {\r\n SearchClicked($map);\r\n $map.find('.map-search-button').addClass('d-none');\r\n $map.find('.map-search-reset-button').removeClass('d-none');\r\n }\r\n });\r\n\r\n $map.find('.map-search-distance').bind('change', function (e) {\r\n searchButtonDisabled = EnableDisableSearchButton($('.map-search-address-zip'), $searchButton);\r\n if (!searchButtonDisabled) SearchClicked($map, true);\r\n });\r\n\r\n $map.find('.map-search-button').on(\"click keypress\", (function (event) {\r\n if (event.type === \"click\" || (event.type === \"keypress\" && event.which === 13)) {\r\n if (searchButtonDisabled) return;\r\n SearchClicked($map);\r\n $map.find('.map-search-button').addClass('d-none');\r\n $map.find('.map-search-reset-button').removeClass('d-none');\r\n }\r\n }));\r\n\r\n $map.find('.custom-checkbox').click(function () {\r\n window.setTimeout(function () {\r\n SearchClicked($map);\r\n }, 250);\r\n });\r\n\r\n $map.find('.map-search-reset-button').on(\"click keypress\", (function (event) {\r\n if (event.type === \"click\" || (event.type === \"keypress\" && event.which === 13)) {\r\n $map.find('.map-search-address-zip').val('');\r\n SearchClicked($map);\r\n $map.find('.map-search-reset-button').addClass('d-none');\r\n $map.find('.map-search-button').removeClass('d-none');\r\n EnableDisableSearchButton($(this), $searchButton);\r\n }\r\n }));\r\n\r\n $map.find('.map-search-container').each(function (mapSearchIndex, mapSearch) {\r\n var $mapSearch = $(mapSearch);\r\n SetupNextPrevButtons($mapSearch);\r\n });\r\n }\r\n\r\n function EnableDisableSearchButton(addressZipInput, searchButton) {\r\n if (addressZipInput.val() === '') {\r\n searchButton.addClass('disabled');\r\n return true;\r\n } else {\r\n searchButton.removeClass('disabled');\r\n return false;\r\n }\r\n }\r\n\r\n function UpdateMap(mapElement, locations, epicenter, radius, zoom, locationsPerPage, isSearch, filterLocationOffers) {\r\n var postData = {\r\n Locations: locations,\r\n Radius: radius,\r\n Zoom: zoom,\r\n LocationsPerPage: locationsPerPage,\r\n Locale: culture,\r\n FilterLocationOffers: filterLocationOffers,\r\n IsSearch: isSearch\r\n };\r\n\r\n //for some reason passing a null value back to mvc doesnt work right (unknown value instead)\r\n //so excluding the property altogether so it's null on the server side\r\n if (epicenter !== null) {\r\n postData.Epicenter = epicenter;\r\n }\r\n $.ajax({\r\n type: 'POST',\r\n url: '/umbraco/Api/GoogleMapApi/GetLocationsList',\r\n data: postData,\r\n dataType: 'json',\r\n //beforeSend: function (xhr) { xhr.setRequestHeader('Accept-Language', culture); },\r\n success: function (result) {\r\n var locationListContainer = mapElement.find('.map-wrapper .location-list-container');\r\n locationListContainer.find('.results-view').first().html(result.Data);\r\n\r\n SetupLocationClick(mapElement, locationListContainer);\r\n SetupNextPrevButtons(locationListContainer);\r\n\r\n HideListLoader();\r\n BindLocationListHeights();\r\n BindLocationListSimplebar(locationListContainer);\r\n },\r\n error: function (msg) {\r\n console.error(\"Error loading locations list: \" + msg);\r\n }\r\n });\r\n $.ajax({\r\n type: 'POST',\r\n url: '/umbraco/Api/GoogleMapApi/GetLocationsMap',\r\n data: postData,\r\n dataType: 'json',\r\n //beforeSend: function (xhr) { xhr.setRequestHeader('Accept-Language', culture); }, //removes coordinate decimals\r\n success: function (result) {\r\n //this sets the html data, but doesnt actually set up the map\r\n var $insertMapContainer = mapElement.find('.map-container .insert-map-here').first();\r\n $insertMapContainer.html(result.Data);\r\n $insertMapContainer.addClass('initialized');\r\n //set up the maps\r\n var maps = mapElement.find('.maps .map_canvas');\r\n maps.each(function (index, Element) {\r\n InitGmap(Element, isSearch, postData.Epicenter);\r\n });\r\n },\r\n error: function (msg) {\r\n console.error(\"Error loading locations map: \" + msg);\r\n }\r\n });\r\n }\r\n\r\n function SearchClicked(mapElement, isDistanceQuery) {\r\n var $map = $(mapElement);\r\n var searchDistance = mapElement.find('.map-search-distance option:selected').val();\r\n var searchAddressZip = mapElement.find('.map-search-address-zip').val();\r\n var defaultZoom = mapElement.attr('data-default-zoom');\r\n var unfilteredLocations = JSON.parse(mapElement.attr('data-unfiltered-locations'));\r\n var locationListContainer = mapElement.find('.location-list-container');\r\n var locationsPerPage = locationListContainer.attr('data-locations-per-page');\r\n var isReset = (searchAddressZip.length > 0 && $map.find('.map-search-button').hasClass('hasSearch')) && !isDistanceQuery;\r\n\r\n // Check to see if any \"location offers\" filter are applied\r\n var filterLocationOffers = '';\r\n var selectedLocationOffers = [];\r\n var purchaseCardsCheckbox = mapElement.find('.map-search-locationoffer #purchaseCards')[0];\r\n var reloadCardsCheckbox = mapElement.find('.map-search-locationoffer #reloadCards')[0];\r\n if (purchaseCardsCheckbox.checked) selectedLocationOffers.push(purchaseCards.name);\r\n if (reloadCardsCheckbox.checked) selectedLocationOffers.push(reloadCards.name);\r\n filterLocationOffers = selectedLocationOffers.join(',');\r\n\r\n if (isReset) {\r\n $(document).trigger('resetGoogleMap');\r\n $map.find('.map-search-button').removeClass('hasSearch');\r\n }\r\n if (searchAddressZip === '') {\r\n UpdateMap(mapElement, unfilteredLocations, null, 10, defaultZoom, locationsPerPage, true, filterLocationOffers);\r\n }\r\n else {\r\n geocoder = new google.maps.Geocoder();\r\n geocoder.geocode({ 'address': searchAddressZip, 'language': \"en\" }, function (results, status) {\r\n if (status === google.maps.GeocoderStatus.OK) {\r\n $(mapElement).find('.search-form .form-field-error').css('display', 'none');\r\n\r\n var epicenter = {\r\n Latitude: results[0].geometry.location.lat(),\r\n Longitude: results[0].geometry.location.lng()\r\n };\r\n UpdateMap(mapElement, unfilteredLocations, epicenter, searchDistance, defaultZoom, locationsPerPage, true, filterLocationOffers);\r\n $map.find('.map-search-button').addClass('hasSearch');\r\n }\r\n else {\r\n $(mapElement).find('.search-form .form-field-error').css('display', 'block');\r\n }\r\n });\r\n }\r\n }\r\n\r\n function SetupLocationClick(mapElement, locationListContainer) {\r\n locationListContainer.find('.location-list-location').on(\"click keypress\", (function (event) {\r\n if (event.type === \"click\" || (event.type === \"keypress\" && event.which === 13)) {\r\n var location = $(this);\r\n var locationIndex = location.attr('data-location-index');\r\n var theMap = mapElement.find('.mapWrap').data('map');\r\n var mapMarkers = mapElement.find('.mapWrap').data('map-markers');\r\n\r\n $('.location-list-location').removeClass('active');\r\n location.addClass('active');\r\n\r\n if (theMap && mapMarkers) {\r\n var selectedMarker = mapMarkers[locationIndex];\r\n var topOffset = $('.m-google-map').get(0).getBoundingClientRect().top;\r\n //console.log(topOffset);\r\n google.maps.event.trigger(selectedMarker, 'click');\r\n if (window.innerWidth < 992) {\r\n topOffset -= $('header').outerHeight();\r\n }\r\n else {\r\n window.scrollBy({\r\n behavior: 'smooth',\r\n top: topOffset,\r\n left: 0\r\n });\r\n }\r\n theMap.panTo(selectedMarker.position);\r\n }\r\n }\r\n }));\r\n }\r\n\r\n function SetupNextPrevButtons(locationListContainer) {\r\n locationListContainer.find('.next, .prev').click(function (e) {\r\n e.preventDefault();\r\n var clickedButton = $(this);\r\n if (clickedButton.is('[disabled=disabled]')) {\r\n return;\r\n }\r\n var numPages = locationListContainer.find('.location-list-page').length;\r\n var currPage = locationListContainer.find('.location-list-page:visible');\r\n var currPageNum = parseInt(currPage.attr('data-page-num'), 10);\r\n currPage.hide();\r\n\r\n var pageNumToShow = clickedButton.hasClass('next') ? currPageNum + 1 : currPageNum - 1;\r\n var pageToShow = locationListContainer.find('.location-list-page[data-page-num=\"' + pageNumToShow + '\"]');\r\n pageToShow.show();\r\n\r\n locationListContainer.find('.next, .prev').removeAttr('disabled');\r\n var locationsCount = parseInt(locationListContainer.find('.location-list').attr('data-locations-count'), 10);\r\n var locationsPerPage = parseInt(locationListContainer.attr('data-locations-per-page'), 10);\r\n\r\n // Disable prev/next buttons based on what page we're on\r\n if (pageNumToShow === 1) {\r\n locationListContainer.find('.prev').attr(\"disabled\", 'disabled');\r\n locationListContainer.find('.results-count span').html(locationsPerPage);\r\n } else if (pageNumToShow === numPages) {\r\n var upper = locationsCount;\r\n var lower = clickedButton.hasClass('next') ? currPageNum * locationsPerPage + 1 : pageNumToShow * locationsPerPage - 1;\r\n locationListContainer.find('.next').attr(\"disabled\", 'disabled');\r\n locationListContainer.find('.results-count span').html(lower + \"-\" + upper);\r\n } else {\r\n var upper = pageNumToShow * locationsPerPage;\r\n var lower = clickedButton.hasClass('next') ? currPageNum * locationsPerPage + 1 : pageNumToShow * locationsPerPage - 1;\r\n locationListContainer.find('.results-count span').html(lower + \"-\" + upper);\r\n }\r\n });\r\n }\r\n\r\n function handleLocationError(map, browserHasGeolocation, error) {\r\n //identical error handling on googleMaps.js\r\n var $map = $(map);\r\n var alerted = $map.attr('data-error-alert') || '';\r\n if (error.code === 1) {\r\n //If permission is denied, don't show an error alert, just flag it so the request doesn't pop up again\r\n $map.attr('data-geolocation-denied', 'denied');\r\n }\r\n if (alerted !== \"yes\" && !browserHasGeolocation) {\r\n var errorContainer = $('.error-geolocation');\r\n var x = 'Error: Your browser doesn\\'t support geolocation.';\r\n errorContainer.html(function () { return \"
\" + x + \"
\"; })\r\n .show().focus();\r\n $map.attr('data-error-alert', 'yes');\r\n window.setTimeout(function () {\r\n errorContainer.hide();\r\n }, 5000);\r\n }\r\n }\r\n})(jQuery);\r\n\r\n/**\r\n * m-google-map mobile controller (UI-Only)\r\n */\r\n(function ($) {\r\n var MobileGoogleMapUIControllerFactory = {\r\n CreateController: function ($mGoogleMap) {\r\n if ($mGoogleMap === null || $mGoogleMap === undefined || $mGoogleMap.length === 0) {\r\n console.error('Cannot create controller in MobileGoogleMapUIControllerFactory.CreateController(). m-google-map element is null or undefined.');\r\n return null;\r\n }\r\n return this._CreateController($mGoogleMap.first());\r\n },\r\n _CreateController: function ($elem) {\r\n var viewModes = {\r\n LIST: 'LISTVIEW',\r\n MAP: 'MAPVIEW'\r\n };\r\n var viewports = {\r\n MOBILE: 'MOBILE',\r\n DESKTOP: 'DESKTOP'\r\n };\r\n var isMobileViewport = function () {\r\n return window.innerWidth <= 991;\r\n };\r\n var getViewport = function () {\r\n return isMobileViewport() ? viewports.MOBILE : viewports.DESKTOP;\r\n };\r\n return {\r\n $RootElem: $elem,\r\n $Button_Search: $elem.find('.js-mobile-search-btn').first(),\r\n $Button_SearchClose: $elem.find('.js-mobile-search-close').first(),\r\n $Button_ListView: $elem.find('.js-mobile-listview-btn').first(),\r\n $Button_MapView: $elem.find('.js-mobile-mapview-btn').first(),\r\n $FixedControlBar: $elem.find('.js-mobile-fixed-bar').first(),\r\n $View_List: $('*[data-list-view]'),\r\n $View_Map: $('*[data-map-view]'),\r\n $Bar_Search: $elem.find('[data-search-container]').first(),\r\n $Bar_Sort: $elem.find('[data-sort-bar]').first(),\r\n CurrentViewMode: null,\r\n CurrentViewport: getViewport(),\r\n SearchBarOpen: true,\r\n SortBarOpen: true,\r\n Init: function () {\r\n var controller = this;\r\n $('html').addClass('usesGoogleMap');\r\n controller.$FixedControlBar.addClass('initialized');\r\n controller.Bind();\r\n controller.SetViewMode(viewModes.LIST);\r\n },\r\n ButtonsArray: function () {\r\n return [\r\n this.$Button_ListView,\r\n this.$Button_MapView,\r\n this.$Button_Search\r\n ];\r\n },\r\n Bind: function () {\r\n var controller = this;\r\n controller.BindViewportChanges();\r\n controller.BindButtons();\r\n },\r\n BindViewportChanges: function () {\r\n var controller = this;\r\n var runOnChange = function () {\r\n if (controller.CurrentViewport == viewports.MOBILE) {\r\n controller.ResetButtonStates();\r\n } else {\r\n controller.ShowSearchBar();\r\n controller.ShowSortBar();\r\n }\r\n };\r\n runOnChange();\r\n $(window).on('resize orientationchange zoom load', function (event) {\r\n var changedViewport = getViewport();\r\n if (changedViewport != controller.CurrentViewport) {\r\n controller.CurrentViewport = changedViewport;\r\n runOnChange();\r\n }\r\n });\r\n },\r\n BindButtons: function () {\r\n var controller = this;\r\n controller.$Button_ListView.click(function (event) {\r\n event.preventDefault();\r\n controller.ResetButtonStates();\r\n controller.SetViewMode(viewModes.LIST);\r\n controller.ScrollToTop();\r\n });\r\n controller.$Button_MapView.click(function (event) {\r\n event.preventDefault();\r\n controller.ResetButtonStates();\r\n controller.SetViewMode(viewModes.MAP);\r\n controller.ScrollToTop();\r\n });\r\n controller.$Button_Search.click(function (event) {\r\n event.preventDefault();\r\n if (controller.SearchBarOpen) {\r\n controller.HideSearchBar();\r\n } else {\r\n controller.ShowSearchBar();\r\n }\r\n });\r\n\r\n controller.$Button_SearchClose.click(function (event) {\r\n event.preventDefault();\r\n if (controller.SearchBarOpen) {\r\n controller.HideSearchBar();\r\n }\r\n })\r\n },\r\n SetViewMode: function (viewMode) {\r\n var controller = this;\r\n controller.CurrentViewMode = viewMode;\r\n if (controller.CurrentViewMode == viewModes.LIST) {\r\n controller.$View_List.addClass('d-block');\r\n controller.$View_List.removeClass('d-none');\r\n controller.$View_Map.addClass('d-none');\r\n controller.$View_Map.removeClass('d-block');\r\n controller.$Button_MapView.closest('.btn-wrapper').addClass('d-block');\r\n controller.$Button_MapView.closest('.btn-wrapper').removeClass('d-none');\r\n controller.$Button_ListView.closest('.btn-wrapper').addClass('d-none');\r\n controller.$Button_ListView.closest('.btn-wrapper').removeClass('d-block');\r\n } else if (controller.CurrentViewMode == viewModes.MAP) {\r\n controller.$View_List.addClass('d-none');\r\n controller.$View_List.removeClass('d-block');\r\n controller.$View_Map.addClass('d-block');\r\n controller.$View_Map.removeClass('d-none');\r\n controller.$Button_MapView.closest('.btn-wrapper').addClass('d-none');\r\n controller.$Button_MapView.closest('.btn-wrapper').removeClass('d-block');\r\n controller.$Button_ListView.closest('.btn-wrapper').addClass('d-block');\r\n controller.$Button_ListView.closest('.btn-wrapper').removeClass('d-none');\r\n }\r\n controller.$RootElem.attr('data-view-mode', controller.CurrentViewMode.toLowerCase());\r\n },\r\n ScrollToTop: function () {\r\n window.scrollBy({\r\n top: 0 - window.scrollY,\r\n left: 0,\r\n behavior: 'smooth'\r\n });\r\n },\r\n ResetButtonStates: function () {\r\n this.ButtonsArray().forEach(function ($button) {\r\n $button.removeClass('active');\r\n });\r\n this.HideSearchBar();\r\n },\r\n ShowSortBar: function () {\r\n this.$Bar_Sort.addClass('d-block');\r\n this.$Bar_Sort.removeClass('d-none');\r\n this.SortBarOpen = true;\r\n },\r\n HideSortBar: function () {\r\n this.$Bar_Sort.addClass('d-none');\r\n this.$Bar_Sort.removeClass('d-block');\r\n this.SortBarOpen = false;\r\n },\r\n ShowSearchBar: function () {\r\n this.$Bar_Search.addClass('d-block');\r\n this.$Bar_Search.removeClass('d-none');\r\n this.SearchBarOpen = true;\r\n this.$Button_Search.addClass('active');\r\n },\r\n HideSearchBar: function () {\r\n this.$Bar_Search.addClass('d-none');\r\n this.$Bar_Search.removeClass('d-block');\r\n this.SearchBarOpen = false;\r\n this.$Button_Search.removeClass('active');\r\n }\r\n };\r\n }\r\n };\r\n $(document).ready(function () {\r\n var $mGoogleMaps = $('.m-google-map');\r\n if ($mGoogleMaps.length > 0) {\r\n $mGoogleMaps.each(function () {\r\n var controller = MobileGoogleMapUIControllerFactory.CreateController($(this));\r\n if (controller !== null && controller !== undefined) {\r\n controller.Init();\r\n }\r\n });\r\n\r\n $(\".breadcrumbs\").prependTo(\".googleMapBLE\");\r\n }\r\n });\r\n})(jQuery);\r\n\r\n\r\n\r\n\r\n/* javascript methods for rendering a google map */\r\nvar $infotext;\r\nvar $maps = [], $Elements = [];\r\nvar loaded = false;\r\nvar labels = {\r\n GetDirections: '',\r\n MoreInfo: '',\r\n LocationOffers = ''\r\n};\r\nvar geoPermission = false;\r\n\r\n/**\r\n * window.RunGoogleMapFunctions() \r\n */\r\nInitGMaps();\r\n\r\n/**\r\n * Hides the loader - Call this once the first result set has been appended to the DOM. \r\n */\r\nvar HideListLoader = function () {\r\n $('.loader-for-results-view').addClass('hideLoader');\r\n};\r\n\r\n/**\r\n * Sets the location list max height in the results view. \r\n */\r\nvar BindLocationListHeights = function () {\r\n var $mGoogleMap = $('.m-google-map');\r\n $mGoogleMap.each(function () {\r\n var $thisMap = $(this);\r\n var $searchContainer = $thisMap.find('.search-container').first();\r\n var $locationListContainer = $thisMap.find('.location-list-container').first();\r\n if ($locationListContainer.hasClass('isBound')) {\r\n return;\r\n }\r\n\r\n var makeBound = function () {\r\n $locationListContainer.addClass('isBound');\r\n };\r\n makeBound();\r\n });\r\n};\r\n\r\n/**\r\n * \r\n * @param {any} $locationListContainer\r\n */\r\nvar BindLocationListSimplebar = function ($locationListContainer) {\r\n if ($locationListContainer === null || $locationListContainer.length === 0) {\r\n console.error('Location list container is not defined');\r\n return;\r\n }\r\n var addSimplebar = function () {\r\n //$locationListContainer.removeAttr('data-simplebar');\r\n $(\".simplebar-track.simplebar-vertical\").remove();\r\n $(\".simplebar-track.simplebar-horizontal\").remove();\r\n window.setTimeout(function () {\r\n var simplebarObj = new SimpleBar($locationListContainer.get(0), { autoHide: true });\r\n }, 0);\r\n };\r\n\r\n var locationsCount = parseInt($locationListContainer.find('.location-list').attr('data-locations-count'), 10);\r\n if (locationsCount > 0) {\r\n addSimplebar();\r\n } else {\r\n $(\".simplebar-track.simplebar-vertical\").hide();\r\n }\r\n};\r\n\r\n/**\r\n * InitGMaps()\r\n */\r\nfunction InitGMaps() {\r\n for (var i = 0; i < $Elements.length; i++) {\r\n InitGmap($Elements[i]);\r\n }\r\n}\r\n\r\n/**\r\n * \r\n * @param {any} map\r\n * @param {any} places\r\n * @param {any} mel\r\n */\r\nfunction InitGeolocationMap(map, places, mel) {\r\n var bounds = new google.maps.LatLngBounds();\r\n var pos = [];\r\n if (navigator.geolocation) {\r\n var permissionDenied = mel.attr(\"data-geolocation-denied\") || \"\";\r\n if (typeof mel.data(\"geolocationlat\") !== \"undefined\" && places.length > 0) {\r\n // If geolocation coordinates have already been stored\r\n pos = {\r\n lat: mel.data(\"geolocationlat\"),\r\n lng: mel.data(\"geolocationlng\")\r\n };\r\n addGeolocationToMap(pos);\r\n } else if (permissionDenied !== \"denied\") {\r\n // Try HTML5 geolocation.\r\n navigator.geolocation.getCurrentPosition(function (position) {\r\n pos = {\r\n lat: position.coords.latitude,\r\n lng: position.coords.longitude\r\n };\r\n //make geolocation position available\r\n mel.attr(\"data-geolocationlat\", pos.lat);\r\n mel.attr(\"data-geolocationlng\", pos.lng);\r\n geoPermission = true;\r\n addGeolocationToMap(pos);\r\n }, function (error) {\r\n handleLocationError(mel, true, error);\r\n });\r\n }\r\n } else {\r\n handleLocationError(mel, false);\r\n }\r\n\r\n function addGeolocationToMap(pos) {\r\n places.push(pos);\r\n for (var j = 0; j < places.length; j++) {\r\n bounds.extend(places[j]);\r\n }\r\n map.setCenter(bounds.getCenter());\r\n map.fitBounds(bounds);\r\n\r\n var markerPinTag = document.createElement('div');\r\n markerPinTag.className = 'map-marker map-marker-pin';\r\n var marker = new google.maps.marker.AdvancedMarkerElement({\r\n map: map,\r\n position: pos,\r\n content: markerPinTag,\r\n collisionBehavior: google.maps.CollisionBehavior.REQUIRED_AND_HIDES_OPTIONAL,\r\n zIndex: 10\r\n });\r\n places.pop();\r\n }\r\n}\r\n\r\n/**\r\n * \r\n * @param {any} map\r\n * @param {any} searchAddr\r\n */\r\nfunction InitSearchLocationMap(map, searchAddr) {\r\n var pos = [];\r\n if (searchAddr === null || searchAddr === undefined) {\r\n return;\r\n }\r\n if (searchAddr.hasOwnProperty('Latitude')) {\r\n pos = {\r\n lat: searchAddr.Latitude,\r\n lng: searchAddr.Longitude\r\n };\r\n var markerSearchTag = document.createElement('div');\r\n markerSearchTag.className = 'map-marker map-marker-search';\r\n var searchMarker = new google.maps.marker.AdvancedMarkerElement({\r\n map: map,\r\n position: pos,\r\n content: markerSearchTag,\r\n collisionBehavior: google.maps.CollisionBehavior.REQUIRED_AND_HIDES_OPTIONAL,\r\n zIndex: 11\r\n });\r\n }\r\n return pos;\r\n}\r\n\r\n/**\r\n * Inits the Google Map from its element.\r\n * @param {any} Element\r\n * @param {any} isSearch\r\n * @param {any} searchAddr\r\n */\r\nfunction InitGmap(Element, isSearch, searchAddr) {\r\n labels.MoreInfo = $(Element).closest('.m-google-map').data('label-more-info');\r\n labels.GetDirections = $(Element).closest('.m-google-map').data('label-get-directions');\r\n labels.LocationOffers = $(Element).closest('.m-google-map').data('label-location-offers');\r\n var mel = $(Element).closest('.m-google-map');\r\n var infowindow;\r\n $infotext = $(Element).children('.infotext');\r\n\r\n var mapsApiLoader = new google.maps.plugins.loader.Loader({\r\n apiKey: mel.data('googlemaps-apikey'),\r\n language: mel.data('culture'),\r\n version: \"weekly\",\r\n libraries: [\"marker\"]\r\n });\r\n\r\n mapsApiLoader.load().then(async () => {\r\n /* custom make a style at https://mapstyle.withgoogle.com/ */\r\n var myOptions = {\r\n 'zoom': parseInt($infotext.children('.locations').first().children('.zoom').text()),\r\n 'mapId': mel.data('googlemaps-mapid'),\r\n 'mapTypeId': google.maps.MapTypeId.ROADMAP,\r\n mapTypeControl: false\r\n };\r\n\r\n var map;\r\n var geocoder;\r\n var marker;\r\n var addresses = [];\r\n var address = null;\r\n var contents = [];\r\n var places = [];\r\n var Markers = [];\r\n var pinPos = [];\r\n\r\n $infotext.children('.locations').each(function (index, ele) {\r\n var addr = {};\r\n var lat = $(this).children('.latitude').text();\r\n var lng = $(this).children('.longitude').text();\r\n if (lat !== \"0\" && lng !== \"0\") {\r\n addr.coordinates = new google.maps.LatLng(lat, lng);\r\n } else {\r\n addr.coordinates = null;\r\n console.error($(this).children('.location').text(), 'is missing coordinates.');\r\n }\r\n\r\n addr.address =\r\n $(this).children('.address').text() + \", \" + $(this).children('.city').text() + \", \" +\r\n $(this).children('.state').text() + \", \" + $(this).children('.zip').text() + \", \" +\r\n $(this).children('.country').text();\r\n\r\n addr.hasAddress = $(this).children('.address').text() !== \"\";\r\n addresses.push(addr);\r\n\r\n var content = {};\r\n content.content = SetInfowindowContent($(this), addr.coordinates);\r\n\r\n var locationName = $(this).children().filter('.location').text();\r\n content.headerContent = locationName;\r\n\r\n content.item = $(this);\r\n contents.push(content);\r\n });\r\n \r\n const { Map } = await google.maps.importLibrary(\"maps\");\r\n geocoder = new google.maps.Geocoder();\r\n myOptions.center = new google.maps.LatLng(0, 0);\r\n infowindow = new google.maps.InfoWindow();\r\n var mapElement = $(Element).children('.mapWrap');\r\n map = new Map(mapElement[0], myOptions);\r\n if (isSearch) {\r\n pinPos = InitSearchLocationMap(map, searchAddr);\r\n }\r\n else {\r\n InitGeolocationMap(map, places, mel);\r\n }\r\n\r\n //increase tabindex on the map controls so the overlay gets hit first\r\n listener = map.addListener('tilesloaded', function () {\r\n mel.find('a,div,button').not('.name,.next,.prev,.dropdown-toggle,.dropdown-menu,.bootstrap-select,.map-search-reset-button,.map-search-button,.location-list-location').attr('tabindex', -1); //999\r\n mel.find('.location-list-location,.map-search-button,.map-search-reset-button').attr('tabindex', 0);\r\n google.maps.event.removeListener(listener);\r\n MakeADAGoogleMap(mel);\r\n });\r\n\r\n //storing the map instance on the dom element so it can be accessed elsewhere\r\n mapElement.data('map', map);\r\n var geocoderType = \"standard\";\r\n\r\n //request count for googleapi requests. count is for each individual address\r\n var requestCount = 0;\r\n var maxRequestPerAddress = 3;\r\n\r\n $('.js-mobile-mapview-btn').click(function (event) {\r\n //console.log('heres the map', map, 'heres the markers', Markers);\r\n var mapBounds = new google.maps.LatLngBounds();\r\n for (var i = 0; i < Markers.length; i++) {\r\n var lat = Markers[i].Latitude;\r\n var lng = Markers[i].Longitude;\r\n //console.log('lat', lat);\r\n //console.log('lng', lng);\r\n mapBounds.extend(new google.maps.LatLng(lat, lng));\r\n }\r\n map.fitBounds(mapBounds);\r\n });\r\n\r\n var getCallback = function (index, type) {\r\n return function (results, status) {\r\n if (status === google.maps.GeocoderStatus.OK) {\r\n var latlng = new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng());\r\n\r\n //update the address coords based on the response\r\n addresses[index].coordinates = latlng;\r\n\r\n //Reverse lookup was used so lets update the stored details with the retrieved address from the coordinates so the infowindow will match the pin\r\n if (type === \"reverse\") {\r\n for (var j = 0; j < results.length; j++) {\r\n if (results[j].types.indexOf('street_address') > -1) {\r\n extractAddress(results[j].address_components, contents[index]);\r\n contents[index].content = SetInfowindowContent(contents[index].item, latlng);\r\n break;\r\n }\r\n }\r\n }\r\n addMarkerToMap(index, isSearch);\r\n requestCount = 0;\r\n }\r\n else if (status === google.maps.GeocoderStatus.OVER_QUERY_LIMIT) {\r\n requestCount++;\r\n var errorMessage = 'Request failed: Over Query Limit (Try #' + requestCount + ').';\r\n if (requestCount < maxRequestPerAddress) { errorMessage += ' Waiting 1s then retrying.'; }\r\n\r\n if (requestCount < maxRequestPerAddress) {\r\n window.setTimeout(function () {\r\n geocoder.geocode({ 'latLng': addresses[index].coordinates }, getCallback(index, type));\r\n }, 1000);\r\n }\r\n }\r\n };\r\n };\r\n\r\n var addMarkerToMap = function (locationIndex, isSearch) {\r\n var markerText = locationIndex + 1;\r\n var markerTag = document.createElement(\"div\");\r\n markerTag.className = 'map-marker';\r\n Markers[locationIndex] = new google.maps.marker.AdvancedMarkerElement({\r\n map: map,\r\n position: addresses[locationIndex].coordinates,\r\n content: markerTag\r\n });\r\n Markers[locationIndex].title = $infotext.children('.locations').children('.location:eq(' + locationIndex + ')').text();\r\n Markers[locationIndex].isDefault = $infotext.children('.locations').children('.isDefault:eq(' + locationIndex + ')').text();\r\n Markers[locationIndex].Latitude = addresses[locationIndex].coordinates.lat();\r\n Markers[locationIndex].Longitude = addresses[locationIndex].coordinates.lng();\r\n Markers[locationIndex]._content = contents[locationIndex].content;\r\n Markers[locationIndex]._headerContent = contents[locationIndex].headerContent;\r\n Markers[locationIndex].addListener('click', function (e) {\r\n infowindow.setHeaderContent(this._headerContent);\r\n infowindow.setContent(this._content);\r\n infowindow.open(map, this);\r\n });\r\n\r\n window.onresize = function () {\r\n infowindow.close();\r\n };\r\n\r\n places.push(Markers[locationIndex].position);\r\n var defaultLocation = getDefaultLocation(Markers);\r\n console.log('pinPos', pinPos);\r\n ////Setting bounds will overwrite zoom configuration\r\n if (isSearch || geoPermission && places.length === addresses.length) {\r\n var setBounds = addresses.length > 1;\r\n geocodeAddress(places, setBounds, map, mel, defaultLocation, isSearch, pinPos);\r\n }\r\n else {\r\n geocodeAddress(places, false, map, mel, defaultLocation, isSearch, pinPos);\r\n }\r\n };\r\n\r\n var getDefaultLocation = function (markers) {\r\n for (var i = 0; i < markers.length; i++) {\r\n if (markers[i].isDefault === \"True\") {\r\n return markers[i].position;\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n for (var i = 0; i < addresses.length; i++) {\r\n //already have address and coordinates, so we dont need to fetch them using api\r\n if (addresses[i].hasAddress && addresses[i].coordinates !== null) {\r\n addMarkerToMap(i, isSearch);\r\n }\r\n else if (addresses[i].coordinates !== null) {\r\n geocoderType = \"reverse\";\r\n geocoder.geocode({ 'latLng': addresses[i].coordinates }, getCallback(i, geocoderType));\r\n }\r\n else {\r\n geocoder.geocode({ 'address': addresses[i].address }, getCallback(i, geocoderType));\r\n }\r\n }\r\n mapElement.data('map-markers', Markers);\r\n });\r\n}\r\n\r\n/**\r\n * \r\n * @param {any} components\r\n * @param {any} contents\r\n */\r\nfunction extractAddress(components, contents) {\r\n var streetAddress;\r\n var $location = contents.item.children();\r\n\r\n for (var i = 0; i < components.length; i++) {\r\n for (var j = 0; j < components[i].types.length; j++) {\r\n switch (components[i].types[j]) {\r\n case \"street_number\": //Street Number\r\n streetAddress = components[i].long_name + \" \";\r\n break;\r\n case \"route\": //Street Name\r\n streetAddress += components[i].long_name;\r\n break;\r\n case \"locality\": //City\r\n $location.filter('.city').text(components[i].long_name);\r\n break;\r\n case \"administrative_area_level_1\": //State\r\n $location.filter('.state').text(components[i].long_name);\r\n break;\r\n case \"country\": //Country\r\n $location.filter('.country').text(components[i].short_name);\r\n break;\r\n case \"postal_code\": //Zip\r\n $location.filter('.zip').text(components[i].long_name);\r\n break;\r\n }\r\n }\r\n }\r\n if (streetAddress.length) {\r\n $location.filter('.address').text(streetAddress);\r\n }\r\n}\r\n\r\n/**\r\n * \r\n * @param {any} places\r\n * @param {any} setBounds\r\n * @param {any} map\r\n * @param {any} mel\r\n * @param {any} defaultLocation\r\n * @param {any} isSearch\r\n * @param {any} pinPos\r\n */\r\nfunction geocodeAddress(places, setBounds, map, mel, defaultLocation, isSearch, pinPos) {\r\n\r\n var bounds = new google.maps.LatLngBounds();\r\n\r\n for (var j = 0; j < places.length; j++) {\r\n bounds.extend(places[j]);\r\n }\r\n\r\n if (isSearch && pinPos && pinPos.hasOwnProperty('lat')) {\r\n bounds.extend(pinPos);\r\n map.setCenter(bounds.getCenter());\r\n }\r\n else if (defaultLocation) {\r\n map.setCenter(new google.maps.LatLng(defaultLocation.lat, defaultLocation.lng));\r\n }\r\n else {\r\n map.setCenter(bounds.getCenter());\r\n }\r\n\r\n //Only overwrite the zoom level if there are multiple markers that need to fit into the map window\r\n if (setBounds) map.fitBounds(bounds);\r\n\r\n window.addEventListener(\"resize\", function () {\r\n google.maps.event.trigger(map, \"resize\");\r\n\r\n if (geoPermission && !isSearch) {\r\n InitGeolocationMap(map, places, mel);\r\n }\r\n else if (defaultLocation) {\r\n map.setCenter(new google.maps.LatLng(defaultLocation.lat(), defaultLocation.lng()));\r\n }\r\n else {\r\n map.setCenter(bounds.getCenter());\r\n }\r\n if (setBounds) map.fitBounds(bounds);\r\n });\r\n}\r\n\r\n/**\r\n * Creates the info window content for map markers.\r\n * @param {any} item\r\n * @param {any} coordinates\r\n */\r\nfunction SetInfowindowContent(item, coordinates) {\r\n var items = item.children();\r\n var description = items.filter('.description').text();\r\n var address = items.filter('.address').text();\r\n var addressLine1 = items.filter('.address-line-1').text();\r\n var addressLine2 = items.filter('.address-line-2').text();\r\n var city = items.filter('.city').text();\r\n var state = items.filter('.state').text();\r\n var zip = items.filter('.zip').text();\r\n var country = items.filter('.country').text();\r\n var phone = items.filter('.phone').text();\r\n var storeHours = items.filter('.store-hours').text();\r\n var locationOffers = items.filter('.location-offers').text();\r\n\r\n var fontAwesomeIcon_pin = \"\";\r\n var fontAwesomeIcon_clock = \"\";\r\n var fontAwesomeIcon_phone = \"\";\r\n var fontAwesomeIcon_arrow = \"\";\r\n\r\n var wrapTextComponent = function (value, wrapperClass, fontAwesomeIcon) {\r\n var output = \"
\";\r\n output += \"
\";\r\n if (HasContent(fontAwesomeIcon)) {\r\n output += \"\" + fontAwesomeIcon + \"\";\r\n }\r\n if (HasContent(value)) {\r\n output += \"\" + value + \"\";\r\n }\r\n output += \"
\";\r\n output += \"
\";\r\n return output;\r\n };\r\n\r\n var contentString = \"\";\r\n contentString += \"
\";\r\n // Heading & Description\r\n contentString += \"
\";\r\n if (HasContent(description)) {\r\n contentString += wrapTextComponent(description, 'description-component', null);\r\n }\r\n contentString += \"
\";\r\n // Address, Hours Open, Phone\r\n contentString += \"
\";\r\n if (HasContent(addressLine1) && HasContent(addressLine2) && HasContent(city) && HasContent(state) && HasContent(zip)) {\r\n contentString += wrapTextComponent(\"{0}
{1}
{2} {3}, {4}\".format(addressLine1, addressLine2, city, state, zip), \"address-component\", fontAwesomeIcon_pin);\r\n } else if (HasContent(addressLine1) && HasContent(city) && HasContent(state) && HasContent(zip)) {\r\n contentString += wrapTextComponent(\"{0}
{1} {2}, {3}\".format(addressLine1, city, state, zip), \"address-component\", fontAwesomeIcon_pin);\r\n } else if (!HasContent(address) && HasContent(city) && HasContent(state) && HasContent(zip)) {\r\n contentString += wrapTextComponent(\"{0}, {1} {2}\".format(city, state, zip), \"address-component\", fontAwesomeIcon_pin);\r\n } else if ((HasContent(city) && !HasContent(state)) || (!HasContent(city) && HasContent(state)) && HasContent(zip)) {\r\n contentString += wrapTextComponent(\"{0} {1}\".format(HasContent(city) ? city : state, zip), \"address-component\", fontAwesomeIcon_pin);\r\n } else {\r\n contentString += wrapTextComponent(\"{0}{1} {2}\".format(HasContent(city) ? city + \", \" : \"\", state, zip), \"address-component\", fontAwesomeIcon_pin);\r\n }\r\n if (HasContent(storeHours)) {\r\n contentString += wrapTextComponent(\"Open: {0}\".format(storeHours), \"hours-component\", fontAwesomeIcon_clock);\r\n }\r\n if (HasContent(phone)) {\r\n contentString += wrapTextComponent(\"{1}\".format(phone.replace(/[^\\d]/g, ''), phone), \"phone-component\", fontAwesomeIcon_phone);\r\n }\r\n if (HasContent(locationOffers)) {\r\n contentString += wrapTextComponent(\"\" + labels.LocationOffers + \":
{0}\".format(locationOffers));\r\n }\r\n contentString += \"
\";\r\n // Google Directions\r\n contentString += \"
\";\r\n var searchParams = encodeURIComponent(\"{0},{1}+{2}\".format(name, address, zip)).replace(/[!'()*]/g, escape);\r\n var directionsLink = \"\" + labels.GetDirections + \"\";\r\n contentString += wrapTextComponent(directionsLink, \"directions-component\", fontAwesomeIcon_arrow);\r\n contentString += \"
\";\r\n contentString += \"
\";\r\n\r\n return \"
\" + contentString + \"
\";\r\n}\r\n\r\n/**\r\n * Determines if prop exists.\r\n * @param {any} prop\r\n */\r\nfunction HasContent(prop) {\r\n return prop && prop.length;\r\n}\r\n\r\n/**\r\n * Makes the google map ADA compliant.\r\n * @param {any} $map\r\n */\r\nfunction MakeADAGoogleMap($map) {\r\n var lang = window.__locale || \"en\";\r\n $map.find('iframe').attr(\"title\", \"Google Maps\");\r\n $map.find('html').attr(\"lang\", lang);\r\n}\r\n\r\n/**\r\n * \r\n * @param {any} map\r\n * @param {any} browserHasGeolocation\r\n * @param {any} error\r\n */\r\nfunction handleLocationError(map, browserHasGeolocation, error) {\r\n //identical error handling on googleMaps.js\r\n var $map = $(map);\r\n var alerted = $map.attr('data-error-alert') || '';\r\n if (error.code === 1) {\r\n //If permission is denied, don't show an error alert, just flag it so the request doesn't pop up again\r\n $map.attr('data-geolocation-denied', 'denied');\r\n }\r\n if (alerted !== \"yes\" && !browserHasGeolocation) {\r\n var errorContainer = $('.error-geolocation');\r\n var x = 'Error: Your browser doesn\\'t support geolocation.';\r\n errorContainer.html(function () { return \"
\" + x + \"
\"; })\r\n .show().focus();\r\n $map.attr('data-error-alert', 'yes');\r\n window.setTimeout(function () {\r\n errorContainer.hide();\r\n }, 5000);\r\n }\r\n}\r\n\r\n/**\r\n * Provide support for .format() [equivalent of C# string.Format method]\r\n */\r\nString.prototype.format = function () {\r\n var s = this,\r\n i = arguments.length;\r\n\r\n while (i--) {\r\n s = s.replace(new RegExp('\\\\{' + i + '\\\\}', 'gm'), arguments[i]);\r\n }\r\n return s;\r\n};","(function ($, λ) {\r\n \"use strict\";\r\n\r\n \r\n $(function () {\r\n $(\".guest-currentvalue-placeholder\").each(function (i, e) {\r\n\r\n });\r\n });\r\n})(jQuery, contra);","(function ($) {\r\n $(function () {\r\n var helpForms = $(\".m-form-help\");\r\n var recaptchaElement = $('.g-recaptcha');\r\n\r\n if (helpForms.length) {\r\n FetchServiceRequestTypesAndOperators(helpForms);\r\n InitEmailFieldsIfLoggedIn(helpForms);\r\n\r\n helpForms.each(function () {\r\n $(this).find('form').on('success.apiform', function () {\r\n if (recaptchaElement && recaptchaElement.is(':visible')) {\r\n for (var i = 0; i < recaptchaElement.length; i++) {\r\n grecaptcha.reset(i);\r\n }\r\n }\r\n });\r\n\r\n $(this).find('form').on('fail.apiform', function () {\r\n if (recaptchaElement && recaptchaElement.is(':visible')) {\r\n for (var i = 0; i < recaptchaElement.length; i++) {\r\n grecaptcha.reset(i);\r\n }\r\n }\r\n });\r\n });\r\n }\r\n });\r\n\r\n var InitEmailFieldsIfLoggedIn = function (helpForms) {\r\n var forms = [];\r\n var customerEmail = window.LoggedInUserEmail;\r\n var customerName = window.LoggedInUserName;\r\n console.log('customerName', customerName);\r\n helpForms.each(function () {\r\n var $form = $(this).find('form').first();\r\n if ($form.length) {\r\n forms.push($form);\r\n }\r\n });\r\n forms.forEach(function ($form) {\r\n var loggedIn = $form.data('logged-in');\r\n if (loggedIn == 'True' || loggedIn === true) {\r\n $form.find(\"input[name='Email']\").val(customerEmail);\r\n $form.find(\"input[name='Name']\").val(customerName);\r\n }\r\n });\r\n };\r\n\r\n var InitializeHelpFormRequestTypesDropDown = function (helpForms, serviceRequestTypes, operators) {\r\n helpForms.each(function (helpFormIndex, helpForm) {\r\n var serviceRequestTypeDropdown = $('select.service-request-type-dropdown', helpForm);\r\n serviceRequestTypes.forEach(function (serviceRequestType) {\r\n serviceRequestTypeDropdown.append($('