PageSourceSearch

https://www.pagani.co.nz/generic/packages/pagebuilder/pagebuilder.512.ebf6bc2fce88fdeb.js

js pagani.co.nz collected 2026-09-26 17:56:52 UTC 3,111 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunk_blackpepper_page"]=self["webpackChunk_blackpepper_page"]||[]).push([[512],{1096:function(e,t,i){i.d(t,{A:function(){return h}});var a=function(){var e=this,t=e._self._c;return t("div",{class:"ps-builder-item ps-builder-item--"+e.type},[t("div",{staticClass:"ps-builder-item__inner"},[e._t("default",function(){return[e._v("This is the content")]})],2)])},s=[],r={props:{type:{type:String}}},n=r,o=i(4521),d=(0,o.A)(n,a,s,!1,null,null,null),h=d.exports},4512:function(e,t,i){i.r(t),i.d(t,{default:function(){return m}});var a=function(){var e=this,t=e._self._c;return t("div",{ref:"fixedcontainer",staticClass:"ps-builder-inner",style:{"--content-margin-top":e.row.data.custommarginsizetop?e.row.data.custommarginsizetop+"px":""}},[t("ps-page-builder-item",{directives:[{name:"track-impression",rawName:"v-track-impression.immediate",value:void 0!==e.item.tracking&&{name:"pagebuilderImpression",gadata:e.item.tracking},expression:"item.tracking !== undefined && {name: 'pagebuilderImpression', gadata: item.tracking}",modifiers:{immediate:!0}}],key:e.item.contentrowid,style:e.fixedStyle,attrs:{type:e.item.data.type}},[t("ps-page-builder-media",{style:e.mediaStyle,attrs:{item:e.item,row:e.row,dimensions:[375,750,1500,3e3]}}),t("ps-page-builder-content",{attrs:{item:e.item,row:e.row}})],1)],1)},s=[],r=i(1096),n=i(4427),o=i(9950),d={components:{PsPageBuilderItem:r.A,PsPageBuilderMedia:n.A,PsPageBuilderContent:o.A},props:{row:{type:Object,required:!0}},computed:{item(){return this.row.items[0]},imageAspectRatio(){const e=this.item.data.imagemobile&&Object.keys(this.item.data.imagemobile).length>0;if(this.isMobile&&e){const e=this.item.data.imagemobile;return`${e.width} / ${e.height}`}const t=this.item.data.image;return`${t.width} / ${t.height}`},videoAspectRatio(){const e=this.item.data.videomobile&&Object.keys(this.item.data.videomobile).length>0;if(this.isMobile&&e){const e=this.item.data.videomobile;return`${e.width} / ${e.height}`}const t=this.item.data.video;return`${t.width} / ${t.height}`},aspectRatio(){return"video"===this.item.data.media?this.videoAspectRatio:this.imageAspectRatio},fixedStyle(){return{aspectRatio:this.aspectRatio,height:`${this.fallbackHeight}`,clipPath:"inset(0)"}},mediaStyle(){return{top:`${this.heightToTop}px`}}},data(){return{mediaQuery:null,isMobile:!1,containerWidth:null,fallbackHeight:"100%",heightToTop:0}},mounted(){this.mediaQuery=window.matchMedia("(max-width: 750px)"),this.mediaQuery.addListener(this.handleMobileCheck),this.handleMobileCheck(this.mediaQuery),this.calcBrowserWidth()},methods:{handleMobileCheck(e){this.isMobile=e.matches},calcBrowserWidth(){const e=new ResizeObserver(e=>{this.containerWidth=e[0].contentRect.width;const t=document.querySelector(".site-header");this.heightToTop=t?Math.floor(t.getBoundingClientRect().height):0,this.calculateFallbackHeight()});e.observe(this.$refs.fixedcontainer)},calculateFallbackHeight(){const e=this.aspectRatio.split("/").map(Number),t=e[0]/e[1];this.fallbackHeight=this.containerWidth/t+"px"}}},h=d,l=i(4521),c=(0,l.A)(h,a,s,!1,null,null,null),m=c.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.