https://www.barenecessities.com/cdn/shop/t/348/assets/global.min.js?v=156734089446426357191790606011
1(()=>{var __webpack_modules__={'./src/theme-base/js/global/global.js'(){document.querySelectorAll('[id^="Details-"] summary').forEach(function(summary){summary.setAttribute('role','button'),summary.setAttribute('aria-expanded',summary.parentNode.hasAttribute('open')),summary.nextElementSibling.getAttribute('id')&&summary.setAttribute('aria-controls',summary.nextElementSibling.id),summary.addEventListener('click',function(event){event.currentTarget.setAttribute('aria-expanded',!event.currentTarget.closest('details').hasAttribute('open'))}),summary.closest('header-drawer')||summary.parentElement.addEventListener('keyup',onKeyUpEscape)});var navKeys,currentFocusedElement,mouseClick;try{document.querySelector(':focus-visible')}catch(e){navKeys=['ARROWUP','ARROWDOWN','ARROWLEFT','ARROWRIGHT','TAB','ENTER','SPACE','ESCAPE','HOME','END','PAGEUP','PAGEDOWN'],currentFocusedElement=null,mouseClick=null,window.addEventListener('keydown',function(event){navKeys.includes(event.code.toUpperCase())&&(mouseClick=!1)}),window.addEventListener('mousedown',function(){mouseClick=!0}),window.addEventListener('focus',function(){currentFocusedElement&¤tFocusedElement.classList.remove('focused'),mouseClick||(currentFocusedElement=document.activeElement).classList.add('focused')},!0)}function onKeyUpEscape(event){if('ESCAPE'===event.code.toUpperCase()){var openDetailsElement=event.target.closest('details[open]');if(openDetailsElement){var summaryElement=openDetailsElement.querySelector('summary');openDetailsElement.removeAttribute('open'),summaryElement.setAttribute('aria-expanded',!1),summaryElement.focus()}}}void 0===window.Shopify&&(window.Shopify={}),Shopify.bind=function(fn,scope){return function(){return fn.apply(scope,arguments)}},Shopify.setSelectorByValue=function(selector,value){for(var i=0,count=selector.options.length;i<count;i++){var option=selector.options[i];if(value==option.value||value==option.innerHTML)return selector.selectedIndex=i,i}},Shopify.addListener=function(target,eventName,callback){target.addEventListener?target.addEventListener(eventName,callback,!1):target.attachEvent('on'+eventName,callback)},Shopify.postLink=function(path,options){var method=(options=options||{}).method||'post',params=options.parameters||{},form=document.createElement('form');for(var key in form.setAttribute('method',method),form.setAttribute('action',path),params){var hiddenField=document.createElement('input');hiddenField.setAttribute('type','hidden'),hiddenField.setAttribute('name',key),hiddenField.setAttribute('value',params[key]),form.appendChild(hiddenField)}document.body.appendChild(form),form.submit(),document.body.removeChild(form)},Shopify.CountryProvinceSelector=function(country_domid,province_domid,options){this.countryEl=document.getElementById(country_domid),this.provinceEl=document.getElementById(province_domid),this.provinceContainer=document.getElementById(options.hideElement||province_domid),Shopify.addListener(this.countryEl,'change',Shopify.bind(this.countryHandler,this)),this.initCountry(),this.initProvince()},Shopify.CountryProvinceSelector.prototype={initCountry:function(){var value=this.countryEl.getAttribute('data-default');Shopify.setSelectorByValue(this.countryEl,value),this.countryHandler()},initProvince:function(){var value=this.provinceEl.getAttribute('data-default');value&&this.provinceEl.options.length>0&&Shopify.setSelectorByValue(this.provinceEl,value)},countryHandler:function(){var opt=this.countryEl.options[this.countryEl.selectedIndex],raw=opt.getAttribute('data-provinces'),provinces=JSON.parse(raw);if(this.clearOptions(this.provinceEl),this.provinceContainer)if(provinces&&0==provinces.length)this.provinceContainer.style.display='none';else{for(var i=0;i<provinces.length;i++)(opt=document.createElement('option')).value=provinces[i][0],opt.innerHTML=provinces[i][1],this.provinceEl.appendChild(opt);this.provinceContainer.style.display=''}},clearOptions:function(selector){for(;selector.firstChild;)selector.removeChild(selector.firstChild)},setOptions:function(selector,values){var i=0;for(values.length;i<values.length;i++){var opt=document.createElement('option');opt.value=values[i],opt.innerHTML=values[i],selector.appendChild(opt)}}}}};const __webpack_module_cache__={};function __webpack_require__(moduleId){const cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;
vendor: 992 bytes, line 1
1const module=__webpack_module_cache__[moduleId]={exports:{}};return __webpack_modules__[moduleId](module,module.exports,__webpack_require__),module.exports}__webpack_require__.n=module=>{const getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.d=(exports,definition)=>{if(Array.isArray(definition))for(var i=0;i<definition.length;){var key=definition[i++],binding=definition[i++];__webpack_require__.o(exports,key)?0===binding&&i++:0===binding?Object.defineProperty(exports,key,{enumerable:!0,value:definition[i++]}):Object.defineProperty(exports,key,{enumerable:!0,get:binding})}else for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__('./src/theme-base/js/global/global.js')})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.