{"version":3,"sources":["webpack:///./js/PFF/controllers/modal.ts","webpack:///./js/lib/jquery.magnific-popup.js"],"names":["$","__webpack_require__","PFF","Swiper","controllers","modal","getParameterByName","name","url","window","location","href","replace","results","RegExp","exec","decodeURIComponent","cleanArray","actual","newArray","Array","i","length","push","checkForBeginningAndEnd","$selectedSlide","$nextArrow","$prevArrow","next","removeClass","addClass","prev","init","queryStringValues","selectedItemID","joinedValues","split","join","galleryimageIds","vignetteSegment","vignetteimageIds","roomSegment","roomimageIds","lifestyleSegment","lifestyleimageIds","product360Segment","product360videoIds","supplementarySegment","supplementaryimageIds","threesixtySegment","threesixtyIds","roomremSegment","roomremimageIds","vignetteremSegment","vignetteremimageIds","clippedSegment","clippedimageIds","marketingvideoIds","concatenatedString","concat","itemsLength","allImagesArray","galleryimagesArray","vignetteimagesArray","roomimagesArray","lifestyleimagesArray","product360videosArray","supplementaryimagesArray","threesixtysArray","roomremimagesArray","vignetteremimagesArray","clippedimagesArray","marketingvideosArray","properID","isSingleID","$body","fullImageUrl","$carousel","each","theID","encodedID","appendTo","mySwiper","slidesPerView","Math","min","direction","innerWidth","spaceBetween","initialSlide","parent","index","navigation","nextEl","prevEl","on","setTimeout","activeIndex","slides","find","trigger","eq","attr","s7viewers","BasicZoomViewer","containerId","params","asset","serverurl","contenturl","config","update","e","remove","removeAttr","prependTo","this","idOfElement","data","zoomViewerParent","preventDefault","empty","$youtubeID","hide","$this","get","play","SpinViewer","$theeSixtyID","spinViewerParent","passIDBuildList","closeButton","document","off","addThisHooks","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","factory","undefined","apply","exports","module","mfp","_prevStatus","_document","_prevContentType","_wrapClasses","_currPopupType","MagnificPopup","_isJQ","_window","_mfpOn","f","ev","_getEl","className","html","raw","el","createElement","innerHTML","appendChild","_mfpTrigger","triggerHandler","st","callbacks","charAt","toLowerCase","slice","isArray","_getCloseBtn","type","currTemplate","closeBtn","closeMarkup","tClose","_checkInstance","magnificPopup","instance","prototype","constructor","appVersion","navigator","isLowIE","isIE8","all","addEventListener","isAndroid","test","isIOS","supportsTransition","s","style","v","pop","supportsTransitions","probablyMobile","userAgent","popupsCache","open","isObj","items","toArray","item","parsed","isOpen","types","mainEl","key","extend","defaults","fixedContentPos","closeOnContentClick","closeOnBgClick","showCloseBtn","enableEscapeKey","bgOverlay","close","wrap","_checkIfClose","target","container","contentContainer","preloader","tLoading","modules","n","toUpperCase","call","closeBtnInside","template","values","close_replaceWith","append","alignTop","css","overflow","overflowY","overflowX","top","scrollTop","position","fixedBgPos","height","keyCode","updateSize","windowHeight","wH","windowStyles","_hasScrollBar","_getScrollbarSize","marginRight","isIE7","classesToadd","mainClass","_addClassToMFP","updateItemHTML","add","body","_lastFocusedEl","activeElement","content","_setFocus","_onFocusIn","removalDelay","_close","classesToRemove","REMOVING_CLASS","detach","_removeClassFromMFP","currItem","autoFocusLast","focus","prevHeight","winHeight","zoomLevel","documentElement","clientWidth","innerHeight","parseEl","markup","newContent","appendContent","preloaded","prepend","tagName","src","hasClass","addGroup","options","eHandler","mfpEl","_openClick","eName","delegate","midClick","which","ctrlKey","metaKey","altKey","shiftKey","disableOn","isFunction","width","stopPropagation","updateStatus","status","text","stopImmediatePropagation","closeOnContent","closeOnBg","contains","cName","scrollHeight","_parseMarkup","arr","value","EVENT_NS","replaceWith","is","scrollbarSize","scrollDiv","cssText","offsetWidth","removeChild","proto","registerModule","fn","jqEl","itemOpts","parseInt","arguments","_hiddenClass","_inlinePlaceholder","_lastInlineElement","_putInlineElementsBack","after","hiddenClass","tNotFound","initInline","CLOSE_EVENT","getInline","inlineSt","inline","parentNode","inlineElement","_ajaxCur","_removeAjaxCursor","_destroyAjaxRequest","req","abort","settings","cursor","tError","initAjax","ajax","getAjax","opts","success","textStatus","jqXHR","temp","xhr","finished","error","loadError","_imgInterval","titleSrc","verticalFit","initImage","imgSt","image","ns","resizeImage","img","decr","_onImageHasSize","hasSize","clearInterval","isCheckingImgSize","imgHidden","findImageSize","counter","mfpSetInterval","delay","setInterval","naturalWidth","getImage","guard","onLoadComplete","complete","loaded","onLoadError","alt","clone","title","_getTitle","img_replaceWith","loading","hasMozTransform","enabled","easing","duration","opener","element","initZoom","zoomSt","zoom","openTimeout","animatedImg","getElToAnimate","newImg","transition","cssObj","zIndex","left","-webkit-backface-visibility","t","showMainContent","_allowZoom","clearTimeout","_getItemToZoom","_getOffset","isLarge","offset","paddingTop","paddingBottom","obj","offsetHeight","MozTransform","_fixIframeBugs","isShowing","srcAction","patterns","youtube","id","vimeo","gmaps","initIframe","prevType","newType","getIframe","embedSrc","iframeSt","iframe","indexOf","substr","lastIndexOf","dataObj","_getLoopedId","numSlides","_replaceCurrTotal","curr","total","arrowMarkup","preload","navigateByImgClick","arrows","tPrev","tNext","tCounter","initGallery","gSt","gallery","l","arrowLeft","arrowRight","click","_preloadTimeout","preloadNearbyImages","goTo","newIndex","p","preloadBefore","preloadAfter","_preloadItem","replaceSrc","m","ratio","initRetina","devicePixelRatio","retina","isNaN","max-width"],"mappings":"uGAAA,IAAAA,EAAAC,EAAA,GACAA,EAAA,GACA,IAgBUC,EAhBVC,EAAAF,EAAA,IAgBA,SAAUC,IAAI,SAAAE,IAAY,SAAAC,GACzB,SAAAC,EAA4BC,EAAMC,GAC5BA,IAAKA,EAAMC,OAAOC,SAASC,MAChCJ,EAAOA,EAAKK,QAAQ,UAAW,QAC/B,IACCC,EADW,IAAIC,OAAO,OAASP,EAAO,qBACtBQ,KAAKP,GACtB,OAAKK,EACAA,EAAQ,GACNG,mBAAmBH,EAAQ,GAAGD,QAAQ,MAAO,MAD5B,GADH,KAMtB,SAAAK,EAAoBC,GAEnB,IADA,IAAIC,EAAW,IAAIC,MACVC,EAAI,EAAGA,EAAIH,EAAOI,OAAQD,IAC9BH,EAAOG,IACVF,EAASI,KAAKL,EAAOG,IAGvB,OAAOF,EAGR,SAAAK,IACC,IAAIC,EAAiBzB,EAA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,GAEA,UAAAA,EAAAhC,OACAgC,EAAA2K,IAAAvX,EAAA,2BAAA+F,GAAA,4BACA6G,EAAA8K,SAAA,IACM3R,GAAA,6BACN6G,EAAA8K,SAAA,EACA9K,EAAAkK,WAAA,EACA3M,EAAA,gBAAAyC,KACMtG,KAAA,MAAAsG,EAAAmF,MAINnF,EAAAgF,WAAA,OAWA5R,EAAAkL,cAAAqJ,eAFA,UAGArC,SACA2L,WAAA,SAAAjR,GACA,OAAAA,EAAAmF,IAAAnR,QAAA,kBAAAkd,GAAmD,YAAAA,KAEnDC,MAAA,GAEAzJ,OACA0J,WAAA,WACA,GAAAvd,OAAAwd,iBAAA,GAEA,IAAA5T,EAAAtB,EAAAsB,GAAA6T,OACAH,EAAA1T,EAAA0T,OAEAA,EAAAI,MAAAJ,UAEA,IACAvU,EAAA,+BAAAxC,EAAA4F,GACAA,EAAA2K,IAAA3I,KACAwP,YAAAxR,EAAA2K,IAAA,GAAAY,aAAA4F,EACA/K,MAAA,WAGAxJ,EAAA,+BAAAxC,EAAA4F,GACAA,EAAAmF,IAAA1H,EAAAwT,WAAAjR,EAAAmR,WAUA9S","file":"controllers/modal.js","sourcesContent":["import * as $ from 'jquery';\r\nimport \"../../lib/jquery.magnific-popup.js\";\r\nimport * as Swiper from 'swiper/dist/js/swiper.min';\r\n\r\ndeclare var s7viewers: any;\r\n//declare var addthis: any;\r\n\r\nconst enum URLs {\r\n\tIMAGE_BASE_URL = '//images.pfisterfaucets.com/is/image/',\r\n\tSCENE7_VIDEO_BASE_URL = '//s7d1.scene7.com/is/content/',\r\n\tSKINS_BASE_URL = '//s7d1.scene7.com/skins/',\r\n\tDOWNLOAD_IMAGE_URL = '/product/downloadimage?imageurl='\r\n}\r\n\r\nconst enum CONFIG {\r\n\tDEFAULT_SKIN = 'CONFIG.DEFAULT_SKIN'\r\n}\r\n\r\nnamespace PFF.controllers.modal {\r\n\tfunction getParameterByName(name, url?) {\r\n\t\tif (!url) url = window.location.href;\r\n\t\tname = name.replace(/[\\[\\]]/g, \"\\\\$&\");\r\n\t\tvar regex = new RegExp(\"[?&]\" + name + \"(=([^]*)|&|#|$)\"),\r\n\t\t\tresults = regex.exec(url);\r\n\t\tif (!results) return null;\r\n\t\tif (!results[2]) return '';\r\n\t\treturn decodeURIComponent(results[2].replace(/\\+/g, \" \"));\r\n\t}\r\n\r\n\t//strip out empty items in array\r\n\tfunction cleanArray(actual) {\r\n\t\tvar newArray = new Array();\r\n\t\tfor (var i = 0; i < actual.length; i++) {\r\n\t\t\tif (actual[i]) {\r\n\t\t\t\tnewArray.push(actual[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn newArray;\r\n\t}\r\n\r\n\tfunction checkForBeginningAndEnd() {\r\n\t\tlet $selectedSlide = $('.swiper-slide-selected');\r\n\t\tlet $nextArrow = $('.js-next-arrow');\r\n\t\tlet $prevArrow = $('.js-prev-arrow');\r\n\t\t(!$selectedSlide.next('.swiper-slide').length) ? $nextArrow.addClass('disabled') : $nextArrow.removeClass('disabled');\r\n\t\t(!$selectedSlide.prev('.swiper-slide').length) ? $prevArrow.addClass('disabled') : $prevArrow.removeClass('disabled');\r\n\t}\r\n\r\n\tfunction passIDBuildList() {\r\n\t\t// here were grabbing query string param values that get passed through so we can work with the data\r\n\t\t// console.log(document.location.href);\r\n\r\n\t\tvar queryStringValues = getParameterByName('ids');\r\n\t\tvar selectedItemID = getParameterByName('selectedItem');\r\n\t\t// console.log(selectedItemID);\r\n\r\n\t\t/*console.log(queryStringValues);\r\n\t\tconsole.log(selectedItemID);*/\r\n\r\n\t\t//performing a split on the ids coming through\r\n\t\tvar splitValues = queryStringValues.split(',');\r\n\t\tvar joinedValues = splitValues.join(',');\r\n\r\n\t\t//perform our string splits to get different segments of incoming data\r\n\r\n\t\tvar imageIds = joinedValues.split('vignetteids:')[0] != null ? joinedValues.split('vignetteids:')[0] : \"\";\r\n\t\tvar galleryimageIds = joinedValues.split('vignetteids:')[0] != null ? joinedValues.split('vignetteids:')[0] : '';\r\n\t\tvar vignetteSegment = joinedValues.split('vignetteids:')[1] != null ? joinedValues.split('vignetteids:')[1] : '';\r\n\t\tvar vignetteimageIds = vignetteSegment.split('roomids:')[0] != null ? vignetteSegment.split('roomids:')[0] : '';\r\n\t\tvar roomSegment = joinedValues.split('roomids:')[1] != null ? joinedValues.split('roomids:')[1] : '';\r\n\t\tvar roomimageIds = roomSegment.split('lifestyleids:')[0] != null ? roomSegment.split('lifestyleids:')[0] : '';\t\t\r\n\t\tvar lifestyleSegment = joinedValues.split('lifestyleids:')[1] != null ? joinedValues.split('lifestyleids:')[1] : '';\r\n\t\tvar lifestyleimageIds = lifestyleSegment.split('product360ids:')[0] != null ? lifestyleSegment.split('product360ids:')[0] : '';\t\t\r\n\t\tvar product360Segment = joinedValues.split('product360ids:')[1] != null ? joinedValues.split('product360ids:')[1] : '';\r\n\t\tvar product360videoIds = product360Segment.split('supplementaryids:')[0] != null ? product360Segment.split('supplementaryids:')[0] : '';\t\t\r\n\t\tvar supplementarySegment = joinedValues.split('supplementaryids:')[1] != null ? joinedValues.split('supplementaryids:')[1] : '';\r\n\t\tvar supplementaryimageIds = supplementarySegment.split('threesixtyids:')[0] != null ? supplementarySegment.split('threesixtyids:')[0] : '';\t\t\r\n\t\tvar threesixtySegment = joinedValues.split('threesixtyids:')[1] != null ? joinedValues.split('threesixtyids:')[1] : '';\r\n\t\tvar threesixtyIds = threesixtySegment.split('roomremids:')[0] != null ? threesixtySegment.split('roomremids:')[0] : '';\t\r\n\t\tvar roomremSegment = joinedValues.split('roomremids:')[1] != null ? joinedValues.split('roomremids:')[1] : '';\r\n\t\tvar roomremimageIds = roomremSegment.split('vignetteremids:')[0] != null ? roomremSegment.split('vignetteremids:')[0] : '';\t\t\r\n\t\tvar vignetteremSegment = joinedValues.split('vignetteremids:')[1] != null ? joinedValues.split('vignetteremids:')[1] : '';\r\n\t\tvar vignetteremimageIds = vignetteremSegment.split('clippedids:')[0] != null ? vignetteremSegment.split('clippedids:')[0] : '';\t\t\r\n\t\tvar clippedSegment = joinedValues.split('clippedids:')[1] != null ? joinedValues.split('clippedids:')[1] : '';\r\n\t\tvar clippedimageIds = clippedSegment.split('marketingids:')[0] != null ? clippedSegment.split('marketingids:')[0] : '';\r\n\t\tvar marketingvideoIds = clippedSegment.split('marketingids:')[1] != null ? clippedSegment.split('marketingids:')[1] : '';\r\n\t\t\r\n\r\n\r\n\t\t//concatenate and check for length of combined types\r\n\t\tvar concatenatedString = galleryimageIds.concat(vignetteimageIds, roomimageIds, lifestyleimageIds, product360videoIds, supplementaryimageIds, threesixtyIds, roomremimageIds, vignetteremimageIds, clippedimageIds, marketingvideoIds);\r\n\t\tvar itemsLength = cleanArray(concatenatedString.split(',')).length;\r\n\r\n\t\t//create objects from specific segments\r\n\t\tvar allImagesArray = cleanArray(concatenatedString.split(','));\r\n\t\tvar galleryimagesArray = cleanArray(galleryimageIds.split(','));\r\n\t\tvar vignetteimagesArray = cleanArray(vignetteimageIds.split(','));\r\n\t\tvar roomimagesArray = cleanArray(roomimageIds.split(','));\r\n\t\tvar lifestyleimagesArray = cleanArray(lifestyleimageIds.split(','));\r\n\t\tvar product360videosArray = cleanArray(product360videoIds.split(','));\r\n\t\tvar supplementaryimagesArray = cleanArray(supplementaryimageIds.split(','));\r\n\t\tvar threesixtysArray = cleanArray(threesixtyIds.split(','));\r\n\t\tvar roomremimagesArray = cleanArray(roomremimageIds.split(','));\r\n\t\tvar vignetteremimagesArray = cleanArray(vignetteremimageIds.split(','));\r\n\t\tvar clippedimagesArray = cleanArray(clippedimageIds.split(','));\r\n\t\tvar marketingvideosArray = cleanArray(marketingvideoIds.split(','));\r\n\t\t\r\n\t\t//need to seperate out mutliple id from single id so split does not fail if only 1 id.\r\n\t\tvar properID = selectedItemID != null ? selectedItemID : allImagesArray[0];\r\n\t\tvar isSingleID = itemsLength < 2 || getParameterByName('singleImage');\r\n\t\tlet $body = $('body');\r\n\r\n\t\t// full image url\r\n\t\tif(galleryimagesArray.length) {\r\n\t\t\tvar fullImageUrl = URLs.IMAGE_BASE_URL + properID + '?$pfZoomableImageLarge$';\r\n\t\t}\r\n\r\n\t\t// console.log(fullImageUrl);\r\n\t\t//setup other vars\r\n\t\tvar $carousel = $('.js-product-carousel');\r\n\r\n\t\t//check for a query param indicating that there is only 1 id coming through and add class so we can style differently\r\n\t\tif (isSingleID || itemsLength < 2) {\r\n\t\t\t$('body').addClass('single-element');\r\n\t\t}\r\n\t\tif(galleryimagesArray.length == 2)\r\n\t\t{\r\n if(galleryimagesArray[0] == galleryimagesArray[1])\r\n\t\t $('body').addClass('same-slide');\r\n\t\t}\r\n\r\n\t\t//if there is more than one id coming through then loop through the ids and add the image to carousel, if not we dont do this.\r\n\t\tif (!isSingleID) {\r\n\t\t\tif(galleryimagesArray.length){\r\n\t\t\t\t$.each(galleryimagesArray, function (i) {\r\n\t\t\t\tvar theID = galleryimagesArray[i];\r\n\t\t\t\tvar encodedID = theID.replace('-', '%2D').replace(' ', '%20');\r\n\t\t\t\t$(`