PageSourceSearch

https://www.matrixprofessional.com.au/themes/matrix/async-chunks/s…ts-two-column-fb40a623828849c63631-chunk.js

js matrixprofessional.com.au collected 2026-10-06 15:11:08 UTC 5,110 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwf_core_setup=self.webpackChunkwf_core_setup||[]).push([[348],{5611:(e,t,a)=>{a.d(t,{A:()=>s});const s={methods:{downloadImage:function(e,t){var a=e.match(/\.([0-9a-z]+)(?:[\?#]|$)/i),s=a&&a[1];fetch(e,{headers:{"Content-type":"application/json"},method:"GET",credentials:"same-origin"}).then(function(e){return e.blob()}).then(function(e){var a=window.URL.createObjectURL(e),n=document.createElement("a");n.style.display="none",n.href=a,n.download=t+".".concat(s),document.body.appendChild(n),n.click(),window.URL.revokeObjectURL(a)}).catch(function(){return console.info("An error sorry")})},copyText:function(e){var t="".concat(e.replace(/&(nbsp|amp|quot|lt|gt);/g,""));navigator.clipboard.writeText(t.replaceAll(/(\<br\s*\/?\>\s*)+/g,"\n").replace(/(<([^>]+)>)/gi,""))}},computed:{isRedken:function(){return window.wsf&&window.wsf.pageDetails&&"RED"==window.wsf.pageDetails.brand}}}},9970:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o});var s=function(){var e=this,t=e._self._c;return e.isAvailableContents?t("div",{staticClass:"container social-assert__two-column"},[t("div",{staticClass:"row"},[e.postImage?t("div",{staticClass:"col-md-5 col-md-offset-1 vcenter"},[t("img",{staticClass:"img-responsive lazyload",attrs:{src:e.postImage,alt:e.postImageName}})]):e._e(),e._v(" "),t("div",{staticClass:"col-md-5 vcenter"},[e.isRedken?t("h2",{staticClass:"social-assert__two-column--heading",domProps:{innerHTML:e._s(e.postTitle)}}):e._t("social-assert-heading"),e._v(" "),e.postText?t("p",{staticClass:"social-assert__two-column--text",domProps:{innerHTML:e._s(e.postText)}}):e._e(),e._v(" "),t("div",{ref:"socialAssertsCta",staticClass:"social-assert__row-cta"},[""===e.assertDownloadUrl||e.hideDownloadCta?e._e():t("a",{directives:[{name:"tag",rawName:"v-tag",value:{event:"uaevent",ecommerce:"undefined",eventCategory:"social assets",eventAction:e.ctaButton,eventLabel:"Social Assets",event_name:"social_assets",cta_name:e.ctaButton},expression:"{event: 'uaevent',ecommerce: 'undefined',eventCategory: 'social assets',eventAction: ctaButton,eventLabel: 'Social Assets', event_name: 'social_assets', cta_name: ctaButton}"}],staticClass:"btn social-assert__btn-cta",class:{"btn--secondary":!e.isRedken},attrs:{href:e.assertDownloadUrl,target:"_blank",title:e.postTitle,download:""}},[e._v(e._s(e.ctaButton))]),e._v(" "),""!==e.assertDownloadUrl||e.hideDownloadCta?e._e():t("button",{directives:[{name:"tag",rawName:"v-tag",value:{event:"uaevent",ecommerce:"undefined",eventCategory:"social assets",eventAction:e.ctaButton,eventLabel:e.postTitle},expression:"{event: 'uaevent',ecommerce: 'undefined',eventCategory: 'social assets',eventAction: ctaButton,eventLabel: postTitle}"}],staticClass:"btn social-assert__btn-cta",class:{"btn--secondary":!e.isRedken},on:{click:function(t){return e.downloadImage(e.postImage,e.postImageName)}}},[e._v(e._s(e.ctaButton))]),e._v(" "),e.isSalon?e._e():t("button",{directives:[{name:"tag",rawName:"v-tag",value:{event:"uaevent",ecommerce:"undefined",eventCategory:"social assets",eventAction:e.ctaLink,eventLabel:"Social Assets"},expression:"{event: 'uaevent',ecommerce: 'undefined',eventCategory: 'social assets',eventAction: ctaLink,eventLabel: 'Social Assets'}"}],staticClass:"social-assert__anchor-cta",on:{click:function(t){return e.copyText(e.postText)}}},[e._v(e._s(e.ctaLink))]),e._v(" "),e.isSalon&&e.assertPrintUrl?t("a",{directives:[{name:"tag",rawName:"v-tag",value:{event:"uaevent",ecommerce:"undefined",eventCategory:"social assets",eventAction:e.assertPrintLabel,eventLabel:"Social Assets",event_name:"social_assets",cta_name:e.assertPrintLabel},expression:"{event: 'uaevent',ecommerce: 'undefined',eventCategory: 'social assets',eventAction: assertPrintLabel,eventLabel: 'Social Assets', event_name: 'social_assets', cta_name: assertPrintLabel }"}],staticClass:"social-assert__anchor-cta",attrs:{href:e.assertPrintUrl}},[e._v(e._s(e.assertPrintLabel))]):e._e()])],2)])]):e._e()};s._withStripped=!0;const n={name:"social-assets-two-column",mixins:[a(5611).A],props:{postTitle:{type:String,required:!0,default:"Post Title"},postText:{type:String},postImage:{type:String,required:!0},postImageName:{type:String,required:!0},ctaButton:{type:String,required:!0,default:"Download Image"},ctaLink:{type:String,required:!0,default:"Clip Copy"},assertPrintUrl:{type:String,required:!1},isSalon:{type:Boolean,required:!1},assertPrintLabel:{type:String,required:!1,default:"Print & Purchase"},hideDownloadCta:{type:Boolean,required:!1,default:!1},assertDownloadUrl:{type:String,required:!1,default:""}},computed:{isAvailableCta:function(){return!this.hideDownloadCta&&(""!==this.assertDownloadUrl||this.postImage)||!this.isSalon&&this.postText||this.isSalon&&this.assertPrintUrl},hasSocialAssertHeadingSlot:function(){var e=this.$slots["social-assert-heading"];return e&&e.some(function(e){return e.tag||e.text&&""!==e.text.trim()})},isAvailableContents:function(){return this.postImage||this.isRedken&&this.postTitle||this.postText||this.isAvailableCta||this.hasSocialAssertHeadingSlot}}},o=(0,a(4486).A)(n,s,[],!1,null,null,null).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.