PageSourceSearch

https://www.californiaoliveranch.com/_nuxt/f27f393.js

js californiaoliveranch.com collected 2026-09-24 18:37:25 UTC 17,354 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[143,34,94,98,100],{1012:function(t,e,r){"use strict";r(922)},1013:function(t,e,r){"use strict";r(924)},1020:function(t,e,r){"use strict";r(932)},1061:function(t,e,r){t.exports={}},1104:function(t,e,r){"use strict";r.r(e);r(49);var n={props:{product:Object,currentVariant:Object},computed:{brand:function(){var t;return(null!=(t=this.product.vendor)?t.match(/lucini/i):void 0)?"lucini":"cor"},bundleImages:function(){var t;return(t=[]).push(this.currentVariant.image),t}}},c=(r(1012),r(0)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pdp-gallery",class:t.brand},[r("div",{staticClass:"brand-bkgd background-color"}),r("pdp-blocks-breadcrumbs",{attrs:{product:t.product}}),r("div",{staticClass:"carousel-container"},[r("div",{staticClass:"brand-gradient background-color"}),t.product.isBundle?r("div",[r("pdp-variant-carousel",{attrs:{images:t.bundleImages,product:t.product}})],1):r("div",t._l(t.product.variants,(function(e){return e.id==t.currentVariant.id?r("pdp-variant-carousel",{key:e.id,attrs:{product:t.product,variant:e}}):t._e()})),1),t.product.valueProps?r("pdp-value-props",{attrs:{"value-props":t.product.valueProps}}):t._e()],1)],1)}),[],!1,null,"fa9ae2ba",null);e.default=component.exports;installComponents(component,{PdpBlocksBreadcrumbs:r(867).default,PdpVariantCarousel:r(465).default,PdpValueProps:r(969).default})},1105:function(t,e,r){"use strict";r.r(e);var n={components:{PurchaseOptions:r(224).default},props:{product:Object,currentVariant:Object,loading:Boolean},data:function(){return{adding:!1,choices:{},scroller:null,purchaseType:"once"}},computed:{productDisclaimer:function(){var t;return null!=(t=this.$store.state.globals.productFields)?t.disclaimer:void 0},shippingMessage:function(){var t;return null!=(t=this.$store.state.globals.productFields)?t.shippingMessage:void 0},giftMessage:function(){var t;return null!=(t=this.$store.state.globals.productFields)?t.giftMessage:void 0},hideReviews:function(){var t;if(null!=(null!=(t=this.product)?t.hideReviews:void 0))return this.product.hideReviews}},methods:{updateCurrentVariant:function(t){return this.currentVariant=event},onScroll:function(){return this.$refs.contents.scrollTop=this.scroller.scrollTop-80},purchaseTypeChange:function(t){return this.purchaseType=t}},mounted:function(){return this.scroller=document.querySelector("html"),document.addEventListener("scroll",this.onScroll)},beforeDestroy:function(){return document.removeEventListener("scroll",this.onScroll)}},c=(r(1013),r(0)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pdp-marquee"},[r("div",{staticClass:"marquee-background"}),r("div",{staticClass:"purchase-container"},[r("div",{ref:"contents",staticClass:"contents"},[r("pdp-blocks-breadcrumbs",{attrs:{product:t.product}}),r("div",{staticClass:"vendor"},[t._v(t._s(t.product.vendor))]),r("h1",{staticClass:"title"},[t._v(t._s(t.product.title))]),r("div",{staticClass:"widget-container"},[r("product-badges",{attrs:{product:t.product}}),t.hideReviews?t._e():r("pdp-blocks-reviews-summary",{attrs:{product:t.product}})],1),r("div",{staticClass:"purchase-action-container"},[t.product.isBundle?t._e():r("pdp-variant-selector",{attrs:{origin:t.product.productOrigin,options:t.product.options,variants:t.product.variants,"current-variant":t.currentVariant,loading:t.loading,purchaseType:t.purchaseType},on:{"update:currentVariant":function(e){t.currentVariant=e},"update:current-variant":function(e){t.currentVariant=e},input:function(e){return t.$emit("update:currentVariant",e)}}}),t.shippingMessage?r("div",{staticClass:"shipping-message"},[r("span",{staticClass:"icon-alert-2"}),r("span",{staticClass:"text"},[t._v(t._s(t.shippingMessage))])]):t._e(),r("purchase-options",{attrs:{"current-variant":t.currentVariant,"pdp-loading":t.loading},on:{purchaseTypeChange:t.purchaseTypeChange}}),t.product.hideDisclaimer?t._e():r("div",{staticClass:"disclaimer",domProps:{innerHTML:t._s(t.productDisclaimer)}}),r("div",{staticClass:"gift-notice"},[r("wysiwyg",{attrs:{html:t.giftMessage}})],1)],1),r("wysiwyg",{staticClass:"description",attrs:{html:t.product.description}})],1)])])}),[],!1,null,"aecf7f16",null);e.default=component.exports;installComponents(component,{PdpBlocksBreadcrumbs:r(867).default,ProductBadges:r(777).default,PdpBlocksReviewsSummary:r(970).default,PdpVariantSelector:r(466).default,Wysiwyg:r(76).default})},1112:function(t,e,r){"use strict";r.r(e);
1var n,c=r(1),o=(r(5),r(7),r(6),r(9)),l=r(137),d=r.n(l),f=r(240),v=r.n(f),h=r(776),m=r(217),y=r(218),w={props:{product:Object},mixins:[y.a],components:{ProductCard:h.default},data:function(){return{recommendations:[],currentSlide:0,config:{slidesPerPage:3,showDots:!0,gutter:0,responsive:[{maxWidth:parseInt(m.tablet),slidesPerPage:2},{peekLeft:"var(--peek)",peekRight:"var(--peek)",maxWidth:parseInt(m.mobile),slidesPerPage:1}]}}},fetch:(n=Object(c.a)(regeneratorRuntime.mark((function t(){var e,r,n,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(o.execute)({variables:{id:this.productId},query:"query ($id: ID!) {\n\trecommendations: productRecommendations(productId: $id) {\n\t\t...productCard\n\t}\n}"+d.a});case 2:return l=t.sent,c=l.recommendations,n=c.map((function(t){return t.handle})),t.next=7,this.$craft.getEntries({query:v.a,variables:{handles:n}});case 7:return e=t.sent,r={},e.forEach((function(t){return r[t.slug]=t.hidden})),t.abrupt("return",this.recommendations=c.filter((function(t){return!0!==r[t.handle]})));case 11:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)}),computed:{productId:function(){var t;return this.product.isBundle?null!=(t=this.product.variants[0])?t.product.id:void 0:this.product.id}},methods:{updateCurrentSlide:function(t){var e=t.index;return this.currentSlide=e,this.announceSlideChange({index:e},this.recommendations.length)}}},C=w,k=(r(1020),r(0)),component=Object(k.a)(C,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return!t.$fetchState.pending&&t.recommendations.length?r("div",{staticClass:"recommendations block"},[r("h2",{staticClass:"style-h2"}
1,[t._v("You May Also Like")]),r("ssr-carousel",t._b({staticClass:"recommendations-carousel",on:{change:t.updateCurrentSlide}},"ssr-carousel",t.config,!1),t._l(t.recommendations,(function(e,n){return r("product-card",{key:e.id,class:{active:n==t.currentSlide},attrs:{index:n,product:e,aspect:420/530,sizes:"400px"}})})),1),r("div",{staticClass:"sr-only",attrs:{role:"status","aria-live":"polite","aria-atomic":"true"}},[t._v(t._s(t.slideAnnouncement))])],1):t._e()}),[],!1,null,"e130327e",null);e.default=component.exports;installComponents(component,{SsrCarousel:r(158).default})},1159:function(t,e,r){"use strict";r(1061)},1239:function(t,e,r){"use strict";r.r(e);r(13),r(10),r(6),r(16),r(17);var n=r(33),c=r(1),o=r(2),l=(r(5),r(38),r(223)),d=r(225),f=r.n(d),v=r(51),h=r(819);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w,C,k={name:"PDP",provide:{onPDP:!0},mixins:[l.a],head:function(){return y(y({},this.buildHead({title:this.product.title,description:this.product.description,image:this.primaryImage,canonical:"https://www.californiaoliveranch.com/"+this.product.uri})),{},{script:[Object(h.c)({name:this.product.title,image:this.primaryImage,description:this.product.description,sku:this.currentVariant.sku,url:this.currentVariant.url,price:this.currentVariant.price.amount,available:this.currentVariant.available})]})},data:function(){return{loading:!0}},asyncData:(C=Object(c.a)(regeneratorRuntime.mark((function t(e){var r,c,o,l,d,h,m,w;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.app,e.store,c=e.params,o=e.payload,t.t0=o,t.t0){t.next=6;break}return t.next=5,r.$craft.getEntries({query:f.a,variables:{section:"products",uri:"products/".concat(c.product)}});case 5:t.t0=t.sent;case 6:if(m=t.t0,w=Object(n.a)(m,1),h=w[0]){t.next=11;break}return t.abrupt("return",r.$notFound());case 11:return t.prev=11,t.t1=y,t.t2=y({},h),t.next=16,Object(v.a)(h);case 16:t.t3=t.sent,h=(0,t.t1)(t.t2,t.t3),t.next=25;break;case 20:return t.prev=20,t.t4=t.catch(11),d=t.t4,console.error(d),t.abrupt("return",r.$notFound());case 25:if(!c.variant||h.variants.find((function(t){return c.variant===r.$getShopifyId(t.id)}))){t.next=27;break}return t.abrupt("return",r.$notFound());case 27:return l=function(){var t,e,n;switch(!1){case!h.isBundle:return Object(v.d)(h);case!!c.variant:return"100-california-everyday"===h.handle||"everyday-blend"===h.handle?null!=h&&null!=(t=h.variants)?t[1]:void 0:(null!=h&&null!=(e=h.variants)?e.find((function(t){return t.available})):void 0)||(null!=h&&null!=(n=h.variants)?n[0]:void 0)||null;default:return h.variants.find((function(t){return c.variant===r.$getShopifyId(t.id)}))}}.call(this),t.abrupt("return",{product:h,currentVariant:l});case 29:case"end":return t.stop()}}),t,this,[[11,20]])}))),function(t){return C.apply(this,arguments)}),mounted:(w=Object(c.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.product.isBundle){t.next=3;break}return this.loading=!1,t.abrupt("return");case 3:return t.next=5,Object(v.a)(this.product);case 5:return e=t.sent,this.product=y(y({},this.product),e),t.abrupt("return",this.loading=!1);case 8:case"end":return t.stop()}}),t,this)}))),function(){return w.apply(this,arguments)}),computed:{bannerText:function(){var t;return null!=(t=this.$store.state.globals.productFields)?t.bannerText:void 0},page:function(){return this.product},primaryImage:function(){var t,e;return null!=(t=this.currentVariant)&&null!=(e=t.image)?e.src:void 0},bundleImpressionPayload:function(){if(this.product.isBundle)return{event:"Product Impression",sku:this.product.slug,variantId:this.currentVariant.id,variantTitle:this.currentVariant.title,variantImage:this.currentVariant.image,variantUrl:this.currentVariant.url,price:this.currentVariant.price.amount,compareAtPrice:this.currentVariant.compareAtPrice.amount,productId:this.product.id,productTitle:this.product.title,productVariantTitle:this.product.title,productType:this.product.productType,productVendor:this.product.vendor,productUrl:this.product.url}}},watch:{currentVariant:{immediate:!0,handler:function(){var t;return this.product.isBundle?null!=(t=this.$gtm)?t.push(this.bundleImpressionPayload):void 0:this.$gtmEcomm.viewProductDetails(this.currentVariant.id)}}}},O=k,P=(r(1159),r(0)),component=Object(P.a)(O,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product max-w-wide"},[r("pdp-gallery",{attrs:{product:t.product,"current-variant":t.currentVariant},on:{"update:currentVariant":function(e){t.currentVariant=e},"update:current-variant":function(e){t.currentVariant=e}}}),r("pdp-marquee",{attrs:{product:t.product,"current-variant":t.currentVariant,loading:t.loading},on:{"update:currentVariant":function(e){t.currentVariant=e},"update:current-variant":function(e){t.currentVariant=e}}}),r("div",{staticClass:"blocks"}
1,[r("pdp-blocks-details",{attrs:{product:t.product}}),r("div",{staticClass:"bg-white"},[r("pdp-blocks-recommendations",{attrs:{product:t.product}})],1),t.page.showNewsletterBlock?r("blocks-newsletter"):t._e()],1)],1)}),[],!1,null,"ebb48ef4",null);e.default=component.exports;installComponents(component,{PdpGallery:r(1104).default,PdpMarquee:r(1105).default,PdpBlocksDetails:r(1196).default,PdpBlocksRecommendations:r(1112).default,BlocksNewsletter:r(790).default})},771:function(t,e,r){t.exports={}},786:function(t,e,r){"use strict";r(771)},790:function(t,e,r){"use strict";r.r(e);var n={inject:{onPDP:{default:!1}},props:{block:Object},computed:{newsletter:function(){return this.$store.state.globals.newsletter},newsletterTitle:function(){return this.newsletter.title},newsletterDescription:function(){return this.newsletter.description}}},c=(r(786),r(0)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("section",{staticClass:"newsletter max-w-full block"},[t.onPDP?r("div",{staticClass:"background-color"}):t._e(),r("div",{staticClass:"max-w content"},[r("h2",{staticClass:"style-h2"},[t._v(t._s(t.newsletterTitle))]),r("wysiwyg",{attrs:{html:t.newsletterDescription}}),r("div",{staticClass:"max-w-small"},[r("klaviyo-form",{attrs:{listID:t.newsletter.listId,cta:"Subscribe"}})],1)],1)])}),[],!1,null,"83dd62d2",null);e.default=component.exports;installComponents(component,{Wysiwyg:r(76).default,KlaviyoForm:r(454).default})},819:function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return d}));var c=function(t){return n(function({type:t,title:title,image:image,publishedAt:e,updatedAt:r,author:n}={}){return t=t||"blog",{"@type":function(){switch(t){case"news":return"NewsArticle";case"article":return"Article";case"blog":return"BlogPosting";default:return`Unknown article type ${t}`}}(),headline:title,image:image,author:n,datePublished:null!=e&&"function"==typeof e.toISOString?e.toISOString():void 0,dateModified:null!=r&&"function"==typeof r.toISOString?r.toISOString():void 0}}(t))},o=function(t){return n(function({name:t,url:e,logo:r,publishedAt:n,updatedAt:c}={}){return{"@type":"Organization",name:t=t||"California Olive Ranch",url:e=e||"https://www.californiaoliveranch.com",logo:r}}(t))},l=function(t){return n(function({name:t,image:image,description:e,sku:r,brand:n,url:c,price:o,available:l}={}){var d;return n=n||"California Olive Ranch",{"@type":"Product",name:t,image:image,description:null!=(d=e)?d.replace(/<\/?[^>]+(>|$)/g,"").replace(/\s+/g," ").trim():void 0,sku:r,brand:{"@type":"Brand",name:n},offers:{"@type":"Offer",url:c,priceCurrency:"USD",price:o,availability:function(){if(null!=l)return l?"https://schema.org/InStock":"https://schema.org/OutOfStock"}()}}}(t))},d=function(t){return n(function({siteName:t,siteUrl:e,urlTemplate:r,urlTemplatePlaceholder:n}={}){return{"@type":"Website",name:t=t||"California Olive Ranch",url:e=e||"https://www.californiaoliveranch.com",potentialAction:{"@type":"SearchAction",name:t+" Search",target:{"@type":"EntryPoint",urlTemplate:e+(r=r||"/search?q={query}")},"query-input":`required name=${n=n||"query"}`}}}(t))};n=function(data){return{type:"application/ld+json",json:{"@context":"http://schema.org",...data},hid:"json-ld-"+data["@type"].toLowerCase()}}},837:function(t,e,r){t.exports={}},838:function(t,e,r){t.exports={}},867:function(t,e,r){"use strict";r.r(e);var n=r(459),c={props:{product:Object},computed:{vendorLink:function(){var t;if(null!=(t=this.product)?t.vendor:void 0)return"/collections/".concat(this.$slugify(this.product.vendor))},links:function(){return[{text:"Shop",href:"/collections/all"},{text:this.product.vendor,href:this.vendorLink}]}},render:function(t,e){return t(n.default,{props:{links:this.links}})}},o=r(0),component=Object(o.a)(c,undefined,undefined,!1,null,null,null);e.default=component.exports},922:function(t,e,r){t.exports={}},923:function(t,e,r){"use strict";r(837)},924:function(t,e,r){t.exports={}},925:function(t,e,r){"use strict";r(838)},932:function(t,e,r){t.exports={}},969:function(t,e,r){"use strict";r.r(e);var n={props:{valueProps:Array}},c=(r(923),r(0)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pdp-value-props"},[r("badges",{attrs:{badges:t.valueProps,stack:""}})],1)}),[],!1,null,"8a7c4adc",null);e.default=component.exports;installComponents(component,{Badges:r(765).default})},970:function(t,e,r){"use strict";r.r(e);var n={props:{product:Object},computed:{count:function(){var t;return null!=(t=this.product.reviewsCount)?t.value:void 0},avg:function(){var t;return null!=(t=this.product.reviewsAverage)?t.value:void 0},percentage:function(){return"".concat(this.avg/5*100,"%")},label:function(){return"Rated ".concat(this.avg," out of 5 by ").concat(this.count," reviewers.")}}},c=(r(925),r(0)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.count&&t.avg?r("div",{staticClass:"pdp-reviews"},[r("div",{staticClass:"stars"},[t._l(5,(function(i){return r("div",{key:i,staticClass:"background icon-star"})})),r("div",{staticClass:"bar",style:{width:t.percentage}},t._l(5,(function(i){return r("div",{key:i,staticClass:"foreground icon-star"})})),0)],2),r("span",{staticClass:"avg"},[t._v(t._s(t.avg))]),r("span",{staticClass:"sr-only"},[t._v("out of 5 stars")]),r("span",{staticClass:"count"},[t._v("("+t._s(t.count)+" Reviews)")])]):t._e()}),[],!1,null,"6efd9340",null);e.default=component.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.