!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue"),require("../../../../common/v1/src")):"function"==typeof def&&def.amd?def("pcs-px-container-v1",["vue","../../../../common/v1/src"],t):((e=e||self).phw=e.phw||{},e.phw.PcsPxContainerV1=t(e.Vue,e.PcsCommon))}(this,function(h,l){"use strict";h=h&&h.hasOwnProperty("default")?h.default:h,l=l&&l.hasOwnProperty("default")?l.default:l;var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};var r=function(){return(r=Object.assign||function(e){for(var t,i=1,o=arguments.length;is?(i.isSlider=!0,i.sliderOptions.slidesToShow=s,r.alterSettingsObj(i.sliderOptions,s)):(i.isSlider=!1,i.maxDisplayCount=s)}var n=l.PhenomAppManager.getPageName();"stranger"!==r.pageState&&"job"===n&&(r.sliderOptions.slidesToShow=1,r.sliderOptions.responsive.forEach(function(e){e.settings.slidesToShow=1})),i.isCategoryImageEnabled=o.isCategoryImageEnabled,a++,r.widgetActiveTabList.push(i)}r.wdgtResponses.push(i)}),this.ignoreSlider&&this.widgetActiveTabList[0]&&this.widgetActiveTabList[0].type&&this.activateWidgetTab(this.widgetActiveTabList[0].type),this.$forceUpdate(),this.ignoreSlider&&1this.jobTilesHeight[t+1]?this.jobTilesHeight[t+1]=this.jobTilesHeight[t]:this.jobTilesHeight[t]=this.jobTilesHeight[t+1];this.publishEvent("ph:jobWidgetTileHeightList",this.jobTilesHeight)}},Ne.prototype.handleTrackEvent=function(){var i=this,o=0,s=[];if(Object.keys(this.wdgtCtx).forEach(function(e){var t=i.wdgtCtx[e];t&&t.widgetResponse&&(s.push(e),o++)}),o){var e={widgetsLoaded:s};this.trackWidgetClick(_e,e)}},Ne.prototype.sortWidgets=function(e,t){},Ne.prototype.handleJobWidgetTrackEvent=function(e,t,i,o){var s=[];e.forEach(function(e){s.push(e.jobSeqNo)});var n={jobSeqNos:s,widgetId:i,widgetName:o,eid:t};this.trackWidgetClick("px_aud_widget_loaded",n)},Ne.prototype.handleSecondaryBrandColor=function(){var e=getComputedStyle(document.documentElement);if(e){var t=e.getPropertyValue("--brand-color-secondary");-1!==["#FFFFFF","#FFF","#ffffff","#fff"].indexOf(t)&&(this.isSecondaryColorWhite=!0)}},e([s()],Ne.prototype,"widgetConfigMode",void 0),e([s()],Ne.prototype,"ignoreWidgetTitle",void 0),e([s()],Ne.prototype,"ignoreSlider",void 0),e([s()],Ne.prototype,"singleColumnEnabled",void 0),Ne=e([t({name:qe})],Ne))}}); //# sourceMappingURL=pcs-px-container-v1.js.map