{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./cartridges/app_custom_northeastern/cartridge/client/default/js/product/wishlistHeart.js","webpack:///./cartridges/storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack:///./cartridges/app_custom_northeastern/cartridge/client/default/js/search.js","webpack:///./cartridges/app_custom_northeastern/cartridge/client/default/js/search/search.js","webpack:///./cartridges/storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/search/search.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","displayMessageAndChangeIcon","data","icon","previousFocus","status","$","spinner","stop","success","hasClass","removeClass","addClass","closest","attr","length","append","msg","focus","on","e","preventDefault","type","keyCode","remove","addToWishlistTile","document","activeElement","this","find","url","pid","optionId","optionVal","start","ajax","dataType","error","err","responseJSON","redirectUrl","window","location","href","include","keys","forEach","processInclude","ready","base","updateDom","$results","selector","$updates","empty","html","handleRefinements","each","activeDiv","className","replace","parseResults","response","specialHandlers","resize","sort","selectedLabel","text","trim","sortByText","updatedText","split","join","trigger","selectedUrl","method","filter","show","siblings","hide","closeRefinements","showMore","stopPropagation","showMoreUrl","viewMoreLabel","replaceWith","options","option","id","val","updateSortOptions","applyFilter","resultCountLabel","page","countLabel","selectedFilterField","selectedFilterId","selectedFilterSearchType","dateValue","Date","getFullYear","getDay","getMonth","searchurl","elementId","fieldValue","param","inputDate","getElementById","valueOf","qstng","substr","search","params","URLSearchParams","index","updateDateFilter","getContent","$element","$target","showContentTab"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GA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A,qGACA,SAAUC,GACNA,EAAEC,iBACFD,EAAE8D,kBAEF5E,EAAEC,UAAU2B,QACZ5B,EAAEsB,MAAM6C,QAAQ,gBAAiBrD,GACjCd,EAAE6B,KAAK,CACHL,IAAKxB,EAAEsB,MAAM1B,KAAK,QAClBA,KAAM,CACF2F,KAAMvF,EAAE,gBAAgBJ,KAAK,eAC7BwE,YAAapE,EAAEsB,MAAM1B,KAAK,SAE9ByE,OAAQ,MACRlE,QAAS,SAAUqD,IAhKvC,SAAsBA,GAClB,IAAIX,EAAW7C,EAAEwD,GACbC,EAAkB,CAClB,eAAgBP,GAIpB,CACI,eACA,cACA,qBACA,gBACA,aACA,eACFV,SAAQ,SAAUM,GAChBF,EAAUC,EAAUC,MAGxBzE,OAAOkE,KAAKkB,GAAiBjB,SAAQ,SAAUM,GAC3CW,EAAgBX,GAAUD,MA8IVU,CAAaC,GACbxD,EAAEC,UAAUC,QAEhB6B,MAAO,WACH/B,EAAEC,UAAUC,cAMhCgH,eAAgB,WAEZlH,EAAE,cAAca,GAAG,QAAS,mBAAmB,WACC,KAAxCb,EAAE,2BAA2BiD,QAC7B8D,EAAW/G,EAAEsB,MAAOtB,EAAE,+BAK9BA,EAAE,cAAca,GAAG,QAAS,6BAA6B,WACrDkG,EAAW/G,EAAEsB,MAAOtB,EAAE,4BACtBA,EAAE,sBAAsBkB","file":"default\\js\\search.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 83);\n","/**\r\n * @author: Cloud for Good\r\n * @description: Applies custom Advancement logic to the Wishlist Cartridge client-side logic.\r\n *\r\n * History\r\n * \r\n * 2022-09-30 Cloud for Good N/A Initial creation\r\n * 2024-08-30 Jassin Yacks CFG-489 Enhanced the Heart icon to ensure ADA compliance.\r\n*/\r\n\r\n'use strict';\r\n\r\n/**\r\n * appends params to a url\r\n * @param {string} data - data returned from the server's ajax call\r\n * @param {Object} icon - icon that was clicked to add a product to the wishlist\r\n */\r\nfunction displayMessageAndChangeIcon(data, icon, previousFocus) {\r\n $.spinner().stop();\r\n\r\n //declare variables\r\n var status;\r\n\r\n if (data.success) {\r\n status = 'alert-success';\r\n\r\n //if the heart is not filled in\r\n if (icon.hasClass('fa-heart-o')) {\r\n //set the class to 'fa-heart' to fill it in\r\n icon.removeClass('fa-heart-o').addClass('fa-heart');\r\n //update aria tag on heart icon button\r\n icon.closest('button').attr('aria-pressed', true);\r\n //update title and assistive text\r\n icon.attr('title', 'Added to favorites');\r\n\r\n }\r\n } else {\r\n status = 'alert-danger';\r\n }\r\n\r\n if ($('.add-to-wishlist-messages').length === 0) {\r\n $('body').append(\r\n `
\r\n

${data.msg}

\r\n \r\n
`\r\n );\r\n }\r\n\r\n $('.add-to-wishlist-messages .close').focus();\r\n\r\n $('.add-to-wishlist-messages .close').on('click keydown', function(e) {\r\n e.preventDefault();\r\n if (e.type === \"click\" || e.keyCode === 13) {\r\n $('.add-to-wishlist-messages').remove();\r\n if (previousFocus) {\r\n previousFocus.focus();\r\n }\r\n }\r\n })\r\n}\r\n\r\nmodule.exports = {\r\n addToWishlistTile: function () {\r\n $('body').on('click', 'button.wishlistTile, button.wishlistDetail', function (e) {\r\n e.preventDefault();\r\n var previousFocus = $(document.activeElement);\r\n var icon = $(this).find($('i'));\r\n var url = $(this).attr('href');\r\n var pid = $(this).closest('.product').data('pid');\r\n var optionId = $(this).closest('.product-detail').find('.product-option').attr('data-option-id');\r\n var optionVal = $(this).closest('.product-detail').find('.options-select option:selected').attr('data-value-id');\r\n optionId = optionId || null;\r\n optionVal = optionVal || null;\r\n if (!url || !pid) {\r\n return;\r\n }\r\n\r\n $.spinner().start();\r\n $.ajax({\r\n url: url,\r\n type: 'post',\r\n dataType: 'json',\r\n data: {\r\n pid: pid,\r\n optionId: optionId,\r\n optionVal: optionVal\r\n },\r\n success: function (data) {\r\n displayMessageAndChangeIcon(data, icon, previousFocus);\r\n },\r\n error: function (err) {\r\n if (err.responseJSON.redirectUrl) {\r\n window.location.href = err.responseJSON.redirectUrl;\r\n } else {\r\n displayMessageAndChangeIcon(err, icon, previousFocus);\r\n }\r\n }\r\n });\r\n });\r\n }\r\n};\r\n","'use strict';\r\n\r\nmodule.exports = function (include) {\r\n if (typeof include === 'function') {\r\n include();\r\n } else if (typeof include === 'object') {\r\n Object.keys(include).forEach(function (key) {\r\n if (typeof include[key] === 'function') {\r\n include[key]();\r\n }\r\n });\r\n }\r\n};\r\n","/**\r\n * @author: Cloud for Good\r\n * @description: Builds the search.js file including necessary components.\r\n *\r\n * History\r\n * \r\n * 2022-09-30 Cloud for Good N/A Initial creation\r\n*/\r\n\r\n'use strict';\r\n\r\nvar processInclude = require('base/util');\r\n\r\n$(document).ready(function () {\r\n processInclude(require('./search/search'));\r\n processInclude(require('./product/wishlistHeart'));\r\n});\r\n","/**\r\n * @author: Cloud for Good\r\n * @description: Applies custom Advancement logic to the SFRA js/search/search.js client-side logic.\r\n *\r\n * History\r\n * \r\n * 2022-09-30 Cloud for Good N/A Initial creation\r\n*/\r\n\r\n'use strict';\r\n\r\nvar base = require('base/search/search');\r\n\r\n/**\r\n * Update DOM elements with Ajax results\r\n *\r\n * @param {Object} $results - jQuery DOM element\r\n * @param {string} selector - DOM element to look up in the $results\r\n * @return {undefined}\r\n */\r\nfunction updateDom($results, selector) {\r\n var $updates = $results.find(selector);\r\n $(selector).empty().html($updates.html());\r\n}\r\n\r\n/**\r\n * Keep refinement panes expanded/collapsed after Ajax refresh\r\n *\r\n * @param {Object} $results - jQuery DOM element\r\n * @return {undefined}\r\n */\r\nfunction handleRefinements($results) {\r\n $('.refinement.active').each(function () {\r\n $(this).removeClass('active');\r\n var activeDiv = $results.find('.' + $(this)[0].className.replace(/ /g, '.'));\r\n activeDiv.addClass('active');\r\n activeDiv.find('button.title').attr('aria-expanded', 'true');\r\n });\r\n\r\n updateDom($results, '.refinements');\r\n}\r\n\r\n/**\r\n * Parse Ajax results and updated select DOM elements\r\n *\r\n * @param {string} response - Ajax response HTML code\r\n * @return {undefined}\r\n */\r\nfunction parseResults(response) {\r\n var $results = $(response);\r\n var specialHandlers = {\r\n '.refinements': handleRefinements\r\n };\r\n\r\n // Update DOM elements that do not require special handling\r\n [\r\n '.grid-header',\r\n '.header-bar',\r\n '.header.page-title',\r\n '.product-grid',\r\n '.show-more',\r\n '.filter-bar',\r\n '.result-count'\r\n ].forEach(function (selector) {\r\n if(selector != '.dateFilter'){\r\n updateDom($results, selector);\r\n }\r\n });\r\n\r\n Object.keys(specialHandlers).forEach(function (selector) {\r\n specialHandlers[selector]($results);\r\n });\r\n}\r\n\r\n/**\r\n * This function retrieves another page of content to display in the content search grid\r\n * @param {JQuery} $element - the jquery element that has the click event attached\r\n * @param {JQuery} $target - the jquery element that will receive the response\r\n * @return {undefined}\r\n */\r\nfunction getContent($element, $target) {\r\n var showMoreUrl = $element.data('url');\r\n $.spinner().start();\r\n $.ajax({\r\n url: showMoreUrl,\r\n method: 'GET',\r\n success: function (response) {\r\n $target.append(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n}\r\n\r\n/**\r\n * Update sort option URLs from Ajax response\r\n *\r\n * @param {string} response - Ajax response HTML code\r\n * @return {undefined}\r\n */\r\nfunction updateSortOptions(response) {\r\n var $tempDom = $('
').append($(response));\r\n var sortOptions = $tempDom.find('.grid-footer').data('sort-options').options;\r\n sortOptions.forEach(function (option) {\r\n $('option.' + option.id).val(option.url);\r\n });\r\n}\r\n\r\n/**\r\n * Find the date filter to replace w/ the users input date\r\n *\r\n * @param {string} elementId - input field the user updated\r\n * @param {string} searchurl - href property from updated field\r\n * @param {string} fieldValue - field to update\r\n * @param {string} param - prefmin or prefmax\r\n * @return {string} searchurl - updated url to pass into the ajax call\r\n */\r\nfunction updateDateFilter(elementId, searchurl, fieldValue, param) {\r\n\r\n //get the date input by the user\r\n var inputDate = new Date(document.getElementById(elementId).value).valueOf();\r\n\r\n //pull out the query string\r\n var qstng = searchurl.substr(searchurl.search(\"Search-ShowAjax\")+15);\r\n\r\n //get the paramaters of the query string\r\n const params = new URLSearchParams(qstng);\r\n\r\n //loop through the paramaters to find the field to update\r\n const keys = params.keys();\r\n for(const key of keys){\r\n const value = params.get(key);\r\n if(value == fieldValue){\r\n //get the index of the parameter key\r\n const index = key.substr(key.length-1);\r\n //replace the current min value with the input date value\r\n searchurl = searchurl.replace(params.get(param+index), inputDate);\r\n }\r\n }\r\n\r\n return searchurl;\r\n}\r\n\r\nmodule.exports = {\r\n\r\n //these functions come from the SFRA base\r\n resize: base.resize,\r\n\r\n //these functions are either modified from the base for logic or to account for the 'container' no longer being on the page for a selector\r\n sort: function () {\r\n // Handle sort order menu selection\r\n $('.search-results').on('change', '[name=sort-order]', function (e) {\r\n e.preventDefault();\r\n\r\n //update the select list options to show \"Sort by:\" on the one selected\r\n const selectedLabel = $('#sort-order option:selected').text().trim();\r\n const sortByText = $('#sort-order').attr('aria-label');\r\n $('#sort-order option:selected').text(sortByText + ' ' + selectedLabel);\r\n $(\"#sort-order :not(option:selected)\").each(function() {\r\n const updatedText = $(this).text().split(sortByText).join(\"\").trim();\r\n $(this).text(updatedText);\r\n });\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:sort', this.value);\r\n $.ajax({\r\n url: this.value,\r\n data: { selectedUrl: this.value },\r\n method: 'GET',\r\n success: function (response) {\r\n $('.product-grid').empty().html(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n },\r\n\r\n filter: function () {\r\n // Display refinements bar when Menu icon clicked\r\n $('.search-results').on('click', 'button.filter-results', function () {\r\n $('.refinement-bar, .modal-background').show();\r\n $('.refinement-bar').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar .close').focus();\r\n $('.navbar-toggler').hide();\r\n });\r\n },\r\n\r\n closeRefinements: function () {\r\n // Refinements close button\r\n $('.search-results').on('click', '.refinement-bar button.close, .modal-background', function () {\r\n $('.refinement-bar, .modal-background').hide();\r\n $('.refinement-bar').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', false);\r\n $('.btn.filter-results').focus();\r\n $('.navbar-toggler').show();\r\n });\r\n },\r\n\r\n showMore: function () {\r\n // Show more products\r\n $('.search-results').on('click', '.show-more button', function (e) {\r\n e.stopPropagation();\r\n var showMoreUrl = $(this).data('url');\r\n\r\n e.preventDefault();\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:showMore', e);\r\n $.ajax({\r\n url: showMoreUrl,\r\n data: {\r\n selectedUrl: showMoreUrl,\r\n viewMoreLabel: $('.grid-footer').data('more-label')\r\n },\r\n method: 'GET',\r\n success: function (response) {\r\n $('.grid-footer').replaceWith(response);\r\n updateSortOptions(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n },\r\n\r\n applyFilter: function () {\r\n // Handle refinement value selection and reset click\r\n $('.search-results').on(\r\n 'click',\r\n '.refinements li button, .refinement-bar button.reset, .filter-value button, .swatch-filter button',\r\n function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n //get custom properties to send to the productSearch model\r\n var resultCountLabel = $('.grid-header .result-count span') ? $('.grid-header .result-count span').data('label') : null;\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:filter', e);\r\n $.ajax({\r\n url: $(this).data('href'),\r\n data: {\r\n page: $('.grid-footer').data('page-number'),\r\n selectedUrl: $(this).data('href'),\r\n countLabel: resultCountLabel,\r\n viewMoreLabel: $('.grid-footer').data('more-label')\r\n },\r\n method: 'GET',\r\n success: function (response) {\r\n parseResults(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n\r\n //handle date filter changes\r\n $('.search-results').on(\r\n 'change', '.refinements .dateFilter .form-control',\r\n function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n var selectedFilterField = $(this).attr('data-field');\r\n var selectedFilterId = $(this).attr('id');\r\n var selectedFilterSearchType = $(this).attr('data-refinetype');\r\n\r\n //verify that a full date has been provided before executing the search\r\n var dateValue = $(this) != null ? new Date($(this).val()) : null;\r\n if(dateValue != null && dateValue.getFullYear() > 1900 && dateValue.getDay() >= 0 && dateValue.getDay() < 7 && dateValue.getMonth() >= 0 && dateValue.getMonth() < 12){\r\n var searchurl = updateDateFilter(selectedFilterId, $(this).data('href'), selectedFilterField, selectedFilterSearchType);\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:filter', e);\r\n\r\n $.ajax({\r\n url: searchurl,\r\n data: {\r\n page: $('.grid-footer').data('page-number'),\r\n selectedUrl: searchurl\r\n },\r\n method: 'GET',\r\n success: function (response) {\r\n parseResults(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n }\r\n\r\n });\r\n }\r\n};\r\n","'use strict';\r\n\r\n/**\r\n * Update DOM elements with Ajax results\r\n *\r\n * @param {Object} $results - jQuery DOM element\r\n * @param {string} selector - DOM element to look up in the $results\r\n * @return {undefined}\r\n */\r\nfunction updateDom($results, selector) {\r\n var $updates = $results.find(selector);\r\n $(selector).empty().html($updates.html());\r\n}\r\n\r\n/**\r\n * Keep refinement panes expanded/collapsed after Ajax refresh\r\n *\r\n * @param {Object} $results - jQuery DOM element\r\n * @return {undefined}\r\n */\r\nfunction handleRefinements($results) {\r\n $('.refinement.active').each(function () {\r\n $(this).removeClass('active');\r\n var activeDiv = $results.find('.' + $(this)[0].className.replace(/ /g, '.'));\r\n activeDiv.addClass('active');\r\n activeDiv.find('button.title').attr('aria-expanded', 'true');\r\n });\r\n\r\n updateDom($results, '.refinements');\r\n}\r\n\r\n/**\r\n * Parse Ajax results and updated select DOM elements\r\n *\r\n * @param {string} response - Ajax response HTML code\r\n * @return {undefined}\r\n */\r\nfunction parseResults(response) {\r\n var $results = $(response);\r\n var specialHandlers = {\r\n '.refinements': handleRefinements\r\n };\r\n\r\n // Update DOM elements that do not require special handling\r\n [\r\n '.grid-header',\r\n '.header-bar',\r\n '.header.page-title',\r\n '.product-grid',\r\n '.show-more',\r\n '.filter-bar'\r\n ].forEach(function (selector) {\r\n updateDom($results, selector);\r\n });\r\n\r\n Object.keys(specialHandlers).forEach(function (selector) {\r\n specialHandlers[selector]($results);\r\n });\r\n}\r\n\r\n/**\r\n * This function retrieves another page of content to display in the content search grid\r\n * @param {JQuery} $element - the jquery element that has the click event attached\r\n * @param {JQuery} $target - the jquery element that will receive the response\r\n * @return {undefined}\r\n */\r\nfunction getContent($element, $target) {\r\n var showMoreUrl = $element.data('url');\r\n $.spinner().start();\r\n $.ajax({\r\n url: showMoreUrl,\r\n method: 'GET',\r\n success: function (response) {\r\n $target.append(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n}\r\n\r\n/**\r\n * Update sort option URLs from Ajax response\r\n *\r\n * @param {string} response - Ajax response HTML code\r\n * @return {undefined}\r\n */\r\nfunction updateSortOptions(response) {\r\n var $tempDom = $('
').append($(response));\r\n var sortOptions = $tempDom.find('.grid-footer').data('sort-options').options;\r\n sortOptions.forEach(function (option) {\r\n $('option.' + option.id).val(option.url);\r\n });\r\n}\r\n\r\nmodule.exports = {\r\n filter: function () {\r\n // Display refinements bar when Menu icon clicked\r\n $('.container').on('click', 'button.filter-results', function () {\r\n $('.refinement-bar, .modal-background').show();\r\n $('.refinement-bar').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', true);\r\n $('.refinement-bar .close').focus();\r\n });\r\n },\r\n\r\n closeRefinements: function () {\r\n // Refinements close button\r\n $('.container').on('click', '.refinement-bar button.close, .modal-background', function () {\r\n $('.refinement-bar, .modal-background').hide();\r\n $('.refinement-bar').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', false);\r\n $('.btn.filter-results').focus();\r\n });\r\n },\r\n\r\n resize: function () {\r\n // Close refinement bar and hide modal background if user resizes browser\r\n $(window).resize(function () {\r\n $('.refinement-bar, .modal-background').hide();\r\n $('.refinement-bar').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', false);\r\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', false);\r\n });\r\n },\r\n\r\n sort: function () {\r\n // Handle sort order menu selection\r\n $('.container').on('change', '[name=sort-order]', function (e) {\r\n e.preventDefault();\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:sort', this.value);\r\n $.ajax({\r\n url: this.value,\r\n data: { selectedUrl: this.value },\r\n method: 'GET',\r\n success: function (response) {\r\n $('.product-grid').empty().html(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n },\r\n\r\n showMore: function () {\r\n // Show more products\r\n $('.container').on('click', '.show-more button', function (e) {\r\n e.stopPropagation();\r\n var showMoreUrl = $(this).data('url');\r\n e.preventDefault();\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:showMore', e);\r\n $.ajax({\r\n url: showMoreUrl,\r\n data: { selectedUrl: showMoreUrl },\r\n method: 'GET',\r\n success: function (response) {\r\n $('.grid-footer').replaceWith(response);\r\n updateSortOptions(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n },\r\n\r\n applyFilter: function () {\r\n // Handle refinement value selection and reset click\r\n $('.container').on(\r\n 'click',\r\n '.refinements li button, .refinement-bar button.reset, .filter-value button, .swatch-filter button',\r\n function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n $.spinner().start();\r\n $(this).trigger('search:filter', e);\r\n $.ajax({\r\n url: $(this).data('href'),\r\n data: {\r\n page: $('.grid-footer').data('page-number'),\r\n selectedUrl: $(this).data('href')\r\n },\r\n method: 'GET',\r\n success: function (response) {\r\n parseResults(response);\r\n $.spinner().stop();\r\n },\r\n error: function () {\r\n $.spinner().stop();\r\n }\r\n });\r\n });\r\n },\r\n\r\n showContentTab: function () {\r\n // Display content results from the search\r\n $('.container').on('click', '.content-search', function () {\r\n if ($('#content-search-results').html() === '') {\r\n getContent($(this), $('#content-search-results'));\r\n }\r\n });\r\n\r\n // Display the next page of content results from the search\r\n $('.container').on('click', '.show-more-content button', function () {\r\n getContent($(this), $('#content-search-results'));\r\n $('.show-more-content').remove();\r\n });\r\n }\r\n};\r\n"],"sourceRoot":""}