1"use strict";(self["webpackChunk_blackpepper_page"]=self["webpackChunk_blackpepper_page"]||[]).push([[98],{4042:function(t,e,i){i.d(e,{A:function(){return l}});var s=function(){var t=this,e=t._self._c;return e("header",{staticClass:"ps-builder-header",style:{textAlign:t.row.data.textalign||"left"}},[e(t.row.data.headingtag||"h2",{tag:"component",class:["ps-builder-heading",t.headingStyleClass],style:t.textStyle(t.row.data.titletextcolour),domProps:{innerHTML:t._s(t.textFormat(t.row.data.title))}}),t.row.data.description?e("p",{staticClass:"ps-builder-subtitle",style:t.textStyle(t.row.data.descriptiontextcolour),domProps:{innerHTML:t._s(t.textFormat(t.row.data.description))}}):t._e(),t.row.data.headeraddbutton&&t.row.data.headerbuttontxt&&t.row.data.headerbuttonurl?e("a",{class:t.buttonClass,attrs:{href:t.row.data.headerbuttonurl,target:!!t.row.data.headerurlmode&&"_blank",rel:!!t.row.data.headerurlmode&&"noopener noreferrer"},domProps:{innerHTML:t._s(t.textFormat(t.row.data.headerbuttontxt))}}):t._e()],1)},a=[],o={props:{row:{type:Object}},computed:{headingStyleClass(){const t={h1:"s-heading-1",h2:"s-heading-2",h3:"s-heading-3",h4:"s-heading-4",h5:"s-heading-5",h6:"s-heading-6"};return t[this.row.data.headingsize]||this.row.data.headingsize},buttonClass(){const t=this.row.data.textalign?`u-self-align-${this.row.data.textalign}`:"";return["ps-builder-button","s-button",`s-button--${this.row.data.headerbuttonclass}`,t]}},methods:{textStyle(t){return`color: ${t}`},textFormat(t){return t.replace(/\n/g,"<br>")}}},d=o,r=i(4521),n=(0,r.A)(d,s,a,!1,null,null,null),l=n.exports},1096:function(t,e,i){i.d(e,{A:function(){return l}});var s=function(){var t=this,e=t._self._c;return e("div",{class:"ps-builder-item ps-builder-item--"+t.type},[e("div",{staticClass:"ps-builder-item__inner"},[t._t("default",function(){return[t._v("This is the content")]})],2)])},a=[],o={props:{type:{type:String}}},d=o,r=i(4521),n=(0,r.A)(d,s,a,!1,null,null,null),l=n.exports},4427:function(t,e,i){i.d(e,{A:function(){return l}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ps-builder-item__media ps-builder-media",class:t.mediaClasses},[t.hasVideo?e("div",{class:["ps-builder-video",{paused:!t.isVideoPlaying&&!t.hasVideoAutoplay}]},[e("video",{ref:"video",attrs:{src:`${t.currentVideoSrc}#t=0.001`,loop:t.hasVideoLoop,playsinline:"",width:t.currentVideoWidth,height:t.currentVideoHeight,preload:t.isVideoPreloaded?"metadata":"none"},domProps:{muted:t.isVideoMuted},on:{ended:function(e){return t.endVideo()}}}),t.hasVideoAutoplay?t._e():e("button",{staticClass:"ps-builder-button ps-builder-button--play",attrs:{type:"button"},on:{click:function(e){return t.togglePlayingVideo()}}},[t.isVideoPlaying?e("i",{staticClass:"icon-pause"}):e("i",{staticClass:"icon-play"})]),t.hasVideoAutoplay?t._e():e("button",{staticClass:"ps-builder-button ps-builder-button--mute",attrs:{type:"button"},on:{click:function(e){return t.toggleMutingVideo()}}},[t.isVideoMuted?e("i",{staticClass:"icon-volume-slash"}):e("i",{staticClass:"icon-volume"})])]):t.hasImage?e("div",{staticClass:"ps-builder-image",style:`--aspect-width: ${t.currentImageWidth}; --aspect-height: ${t.currentImageHeight};`},[e("picture",[e("source",{attrs:{srcset:t.isFirstRow?t.srcset:void 0,"data-srcset":t.isFirstRow?void 0:t.srcset,media:"(min-width: 751px)"}}),void 0!==t.item.data.imagemobile&&null!==t.item.data.imagemobile&&0!==Object.keys(t.item.data.imagemobile).length?e("source",{attrs:{srcset:t.isFirstRow?t.srcsetMobile:void 0,"data-srcset":t.isFirstRow?void 0:t.srcsetMobile,media:"(max-width: 750px)"}}):t._e(),e("img",{staticClass:"lazyload",attrs:{src:t.isFirstRow?t.item.data.image.srcpath:t.placeholderSvg,"data-src":t.isFirstRow?void 0:t.item.data.image.srcpath,"data-srcset":t.isFirstRow?void 0:t.srcset,srcset:t.isFirstRow?t.srcset:void 0,width:t.currentImageWidth,height:t.currentImageHeight,"data-sizes":"auto",alt:t.item.data.alttext||"Banner Image",fetchpriority:t.isFirstRow?"high":void 0}})])]):e("div",{staticClass:"ps-builder-no-image"}),null!==t.item.data.imagehotlinks?t._l(t.item.data.imagehotlinks,function(i,s){return e("a",{key:t.item.contentrowitemid+"-hotlink-"+s,staticClass:"ps-builder-hotlink ps-builder-hotlink--desktop",style:t.hotlinkStyle(i.width,i.height,i.top,i.left),attrs:{href:i.link,target:!!i.newtab&&"_blank",rel:!!i.newtab&&"noopener noreferrer"}})}):t._e(),null!==t.item.data.imagemobilehotlinks?t._l(t.item.data.imagemobilehotlinks,function(i,s){return e("a",{key:t.item.contentrowitemid+"-mobilehotlink-"+s,staticClass:"ps-builder-hotlink ps-builder-hotlink--mobile",style:t.hotlinkStyle(i.width,i.height,i.top,i.left),attrs:{href:i.link,target:!!i.newtab&&"_blank",rel:!!i.newtab&&"noopener noreferrer"}})}):t._e()],2)},a=[],o={inject:{index:{default:0}},props:{item:{type:Object,default:()=>({})},row:{type:Object,default:()=>({})},dimensions:{type:Array,default:()=>[375,750,1500,3900]}},data(){return{isVideoMuted:!0,isVideoPlaying:!1,isVideoPreloaded:!1,isMobile:!1}},computed:{placeholderSvg(){const{width:t,height:e}=this.item.data.image;return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${e}'%3E%3C/svg%3E`},srcset(){let t="";if(this.dimensions&&this.dimensions.length)for(let e=0;e<this.dimensions.length;e+=1)e<this.dimensions.length-1?t+=`${this.item.data.image.srcpath}?optimize=high&width=${this.dimensions[e]} ${this.dimensions[e]}w, `:t+=`${this.item.data.image.srcpath}?optimize=high&width=${this.dimensions[e]} ${this.dimensions[e]}w`;return t},srcsetMobile(){let t="";if(this.dimensions&&this.dimensions.length)for(let e=0;e<this.dimensions.length;e+=1)e<this.dimensions.length-1?t+=`${this.item.data.imagemobile.srcpath}?optimize=high&width=${this.dimensions[e]} ${this.dimensions[e]}w, `:t+=`${this.item.data.imagemobile.srcpath}?optimize=high&width=${this.dimensions[e]} ${this.dimensions[e]}w`;return t},hasImage(){if("image"!==this.item.data.media)return!1;const t=this.item.data?.image&&Object.keys(this.item.data.image).length>0,e=["mobile","tablet"].some(t=>this.row.data?.mediums?.includes(t)),i=e&&this.item?.data?.imagemobile&&Object.keys(this.item.data.imagemobile).length>0;return t||i},hasVideo(){return"video"===this.item.data.media&&(void 0!==this.item.data.video?.srcpath||void 0!==this.item.data.videomobile?.srcpath)},hasMobileVideo(){return void 0!==this.item.data?.videomobile?.srcpath},currentVideoSrc(){return this.isMobile&&this.hasMobileVideo?this.item.data.videomobile?.srcpath:this.item.data.video?.srcpath??""},currentVideoWidth(){return this.isMobile&&this.hasMobileVideo?this.item.data.videomobile?.width:this.item.data.video?.width??null},currentVideoHeight(){return this.isMobile&&this.hasMobileVideo?this.item.data.videomobile?.height:this.item.data.video?.height??null},hasVideoLoop(){return this.isMobile&&this.hasMobileVideo&&"undefined"!==typeof this.item.data.videoloopmobile?this.item.data.videoloopmobile:"undefined"===typeof this.item.data.videoloop||this.item.data.videoloop},hasVideoAutoplay(){return this.isMobile&&this.hasMobileVideo&&"undefined"!==typeof this.item?.data?.videoautoplaymobile?this.item.data.videoautoplaymobile:"undefined"===typeof this.item?.data?.videoautoplay||this.item.data.videoautoplay},mediaClasses(){return{"ps-builder-media--video":this.hasVideo,"ps-builder-media--image":this.hasImage,"ps-builder-media--none":!this.hasVideo&&!this.hasImage,"ps-builder-media--vertical":this.isVerticalImage}},isVerticalImage(){const t=this.currentImageWidth,e=this.currentImageHeight;return null!==t&&void 0!==t&&null!==e&&void 0!==e&&Number(e)>Number(t)},currentImageWidth(){return this.isMobile&&this.item.data.imagemobile&&Object.keys(this.item.data.imagemobile).length>0?this.item.data.imagemobile.width:this.item.data.image?.width??null},currentImageHeight(){return this.isMobile&&this.item.data.imagemobile&&Object.keys(this.item.data.imagemobile).length>0?this.item.data.imagemobile.height:this.item.data.image?.height??null},isFirstRow(){return 0===this.index}},mounted(){this.$nextTick(()=>
1{if(this.mediaQuery=window.matchMedia("(max-width: 750px)"),this.mediaQuery.addListener(this.handleMobileCheck),this.handleMobileCheck(this.mediaQuery),this.hasVideo){const t={root:null,rootMargin:"0px",threshold:0},e=new IntersectionObserver(this.videoCallback,t);e.observe(this.$refs.video)}})},methods:{hotlinkStyle(t,e,i,s){return`width: ${t}%; height: ${e}%; top: ${i}%; left: ${s}%`},handleMobileCheck(t){this.isMobile=t.matches},videoCallback(t){t.forEach(t=>{t.isIntersecting?(this.isVideoPreloaded=!0,this.hasVideoAutoplay&&(this.isVideoPlaying=!0,t.target.play())):(this.isVideoPlaying=!1,t.target.pause())})},togglePlayingVideo(){const t=this.$refs.video;this.isVideoPlaying?(this.isVideoPlaying=!1,t.pause()):(this.isVideoPlaying=!0,this.isVideoMuted=!1,t.play())},toggleMutingVideo(){this.isVideoMuted=!this.isVideoMuted},endVideo(){this.hasVideoLoop||(this.isVideoPlaying=!1)}}},d=o,r=i(4521),n=(0,r.A)(d,s,a,!1,null,null,null),l=n.exports},9098:function(t,e,i){i.r(e),i.d(e,{default:function(){return m}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ps-builder-inner"},[e("div",{staticClass:"ps-builder-content"},[t.row.data.headerenabled?e("ps-page-builder-header",{attrs:{row:t.row}}):t._e(),t._l(t.accordion,function(i){return e("ps-page-builder-item",{key:i.data.contentrowitemid,attrs:{type:i.data.type,"data-row-item-id":i.contentrowitemid}},[e("ps-collapsible",{staticClass:"ps-builder-accordion",attrs:{el:"div"},scopedSlots:t._u([{key:"title",fn:function(s){return e("p",{class:["ps-builder-accordion__heading",{"is-active":s.isActive}]},[e("button",{staticClass:"ps-builder-accordion__toggle",attrs:{type:"button","aria-expanded":s.isActive},on:{click:s.toggle}},[e("span",{staticClass:"ps-builder-accordion__icon"}),e("span",{staticClass:"ps-builder-accordion__label"},[t._v(t._s(i.data.title))])])])}}],null,!0)},[e("div",{staticClass:"ps-builder-accordion__panel",domProps:{innerHTML:t._s(i.data.subtitle)}}
1)])],1)})],2),t.row.data.imageenabled?e("ps-page-builder-media",{attrs:{item:t.media,row:t.row,dimensions:[600,800,1200,1600,3200]}}):t._e()],1)},a=[],o=i(4042),d=i(1096),r=i(4427),n={components:{PsPageBuilderHeader:o.A,PsPageBuilderItem:d.A,PsPageBuilderMedia:r.A},props:{row:{type:Object,required:!0}},computed:{accordion(){return this.row.items.filter(t=>"banner"===t.data.type)},media(){return this.row.items.find(t=>"images"===t.data.type)}}},l=n,h=i(4521),u=(0,h.A)(l,s,a,!1,null,null,null),m=u.exports}}]);
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.