@visitscotland/component-library 5.15.2 → 5.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.15.2",
3
+ "version": "5.15.3",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsFederatedSearch=t():e.VsFederatedSearch=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1746],{39535:function(e,t,a){"use strict";a.d(t,{A:function(){return r.A}});var r=a(77891)},42463:function(){},49439:function(e,t,a){"use strict";a.r(t);var r=a(39535);a(98729);const s=r.A;t.default=s},52469:function(e,t,a){"use strict";var r=a(85072),s=a.n(r),n=a(97825),o=a.n(n),l=a(77659),i=a.n(l),u=a(55056),d=a.n(u),c=a(10540),f=a.n(c),g=a(41113),p=a.n(g),v=a(42463),b=a.n(v),y={};y.styleTagTransform=p(),y.setAttributes=d(),y.insert=i().bind(null,"head"),y.domAPI=o(),y.insertStyleElement=f(),s()(b(),y),b()&&b().locals&&b().locals},77891:function(e,t,a){"use strict";var r=a(20641),s=a(50953),n=a(53751),o=a(90033),l=a(12903),i=a(45922),u=a.n(i),d=a(88620),c=a(1780),f=a(58995),g=a(35965),p={class:"vs-federated-search","data-test":"vs-federated-search"},v={class:"vs-federated-search__container"},b={key:0,class:"vs-federated-search__results"},y={key:2},m={class:"position-relative"},h={class:"position-absolute bottom-0 start-0 d-flex gap-2"},k={class:"position-absolute bottom-0 end-0 d-flex"},R={class:"truncate-3-lines"},L={class:"d-flex justify-content-end align-items-end mt-050"},_={key:0,class:"d-flex align-items-start flex-grow-1"},C={key:3,class:"vs-federated-search__warning"};t.A={__name:"FederatedSearch",props:{cludoApiKey:{type:String,default:(0,d.A)("CLUDO_API_KEY")},cludoCustomerId:{type:Number,default:Number((0,d.A)("CLUDO_CUSTOMER_ID"))},cludoEngineId:{type:Number,default:Number((0,d.A)("CLUDO_ENGINE_ID"))},eventsApi:{type:String,default:(0,d.A)("EVENTS_API_URL")},cludoCategories:{type:Array,default:void 0},subFilters:{type:Array,default:void 0},errorMessages:{type:Object,required:!0},fromText:{type:String,default:""},paginationLabels:{type:Object,required:!0},searchLabels:{type:Object,required:!0},sortLabels:{type:Object,required:!0},cardCategoryLabels:{type:Object,required:!0,default:function(){}}},setup:function(e){var t=u()(),a=(0,s.KR)({message:"",error:!1}),i=e;(0,r.Gt)("cludoCategories",i.cludoCategories);var d=(0,r.EW)((function(){return Math.ceil(t.totalResults/12)}));function D(){t.endDate&&t.startDate>t.endDate?(a.value.error=!0,a.value.message=i.errorMessages.incorrectDateOrder):"events"===t.selectedCategoryKey&&t.eventsApiError&&!t.isLoading?(a.value.error=!0,a.value.message=i.errorMessages.eventError):(t.searchTerm||t.selectedCategory)&&"events"!==t.selectedCategoryKey&&t.cludoError&&!t.isLoading?(a.value.error=!0,a.value.message=i.errorMessages.cludoError):0!==t.totalResults||t.isLoading?(a.value.error=!1,a.value.message=""):(a.value.error=!0,a.value.message=i.errorMessages.noResults)}function S(e){t.startDate=e,t.navigateToResultsPage(!0)}function E(e){t.endDate=e,t.navigateToResultsPage(!0)}function V(e){t.sortBy=e,t.navigateToResultsPage(!0)}function A(e){t.currentPage=e,"undefined"!=typeof window&&window.scrollTo({top:0,left:0,behavior:"smooth"}),t.navigateToResultsPage()}function I(e){if(e.url)return e.url;if(e.placeUrl)return e.placeUrl;var t=encodeURIComponent(e.title.replaceAll(" ","-").toLowerCase());return"".concat("https://www.datathistle.com/event/").concat(e.parentId,"-").concat(t)}return(0,r.sV)((function(){if(t.cludoCredentials={apiKey:i.cludoApiKey,customerId:i.cludoCustomerId,engineId:i.cludoEngineId},t.eventsApi=i.eventsApi,t.cludoCategories=i.cludoCategories,D(),"undefined"!=typeof window&&"undefined"!=typeof document){var e=new URLSearchParams(document.location.search),a=e.get("search-term"),r=parseInt(e.get("page"),10);r&&(t.currentPage=r),a&&(t.searchTerm=a,t.getSearchResults())}})),(0,r.$u)((function(){D()})),function(u,D){return(0,r.uX)(),(0,r.CE)("div",p,[(0,r.Lk)("div",v,[(0,r.bF)(f.default,{"cludo-api-key":i.cludoApiKey,"cludo-customer-id":i.cludoCustomerId,"cludo-engine-id":i.cludoEngineId,"sub-filters":i.subFilters,labels:i.searchLabels},null,8,["cludo-api-key","cludo-customer-id","cludo-engine-id","sub-filters","labels"]),(0,r.bF)(c.default,{class:"my-200"}),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,s.R1)(t).cludoCategories,(function(e,a){return(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",{key:a,class:"mb-200"},[(0,r.RG)(u.$slots,"federated-search__spotlight-".concat(e.Key))],512)),[[n.vShow,(0,s.R1)(t).selectedCategoryKey===e.Key]])})),128)),(0,s.R1)(t).results?((0,r.uX)(),(0,r.CE)("div",b,[(0,r.Lk)("div",null,[(0,r.bF)((0,s.R1)(l.VsHeading),{"heading-style":"heading-m",level:2,class:"my-0"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(i.searchLabels.searchResults),1)]})),_:1}),0!==(0,s.R1)(t).totalResults?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsDetail),{key:0},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(i.searchLabels.resultsFirst)+" "+(0,o.toDisplayString)((0,s.R1)(t).totalResults)+" "+(0,o.toDisplayString)(i.searchLabels.resultsSecond),1)]})),_:1})):(0,r.Q3)("",!0)]),"events"===(0,s.R1)(t).selectedCategoryKey?((0,r.uX)(),(0,r.Wv)(g.default,{key:0,"date-filter-visible":!0,"sort-options":i.sortLabels.sortOptions,"from-date-label":i.sortLabels.dateFrom,"to-date-label":i.sortLabels.dateTo,"sort-label":i.sortLabels.sort,onFromDateUpdated:S,onEndDateUpdated:E,onSortOrderUpdated:V},null,8,["sort-options","from-date-label","to-date-label","sort-label"])):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0),(0,s.R1)(t).isLoading?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsLoadingSpinner),{key:1})):(0,r.Q3)("",!0),(0,s.R1)(t).isLoading||!(0,s.R1)(t).results||(0,s.R1)(t).eventsApiError?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.CE)("div",y,[(0,r.bF)((0,s.R1)(l.VsCardGroup),{"cards-per-row":3},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,s.R1)(t).results,(function(t){return(0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsCard),{key:t.id},{"vs-card-header":(0,r.k6)((function(){return[(0,r.Lk)("div",m,[(0,r.bF)((0,s.R1)(l.VsImg),{src:t.imgSrc||"https://static.visitscotland.com/img/fallback-img.png",class:"w-100 aspect-ratio-3-2 rounded-1 object-fit-cover img-zoom-on-hover"},null,8,["src"]),(0,r.Lk)("div",h,[t.minPrice?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsBadge),{key:0,variant:"information",class:"rounded-top-end rounded-bottom-start"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(i.fromText)+" "+(0,o.toDisplayString)((e=t.minPrice,null===e?"":e.match(/\b\d+\.\d\b/)?"£".concat(e,"0"):"£".concat(e))),1)];var e})),_:2},1024)):(0,r.Q3)("",!0),t.startDate?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsBadge),{key:1,variant:"information",class:"rounded-top"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)((e=t.startDate,a=t.endDate,e===a?e:"".concat(e," - ").concat(a))),1)];var e,a})),_:2},1024)):(0,r.Q3)("",!0)]),(0,r.Lk)("div",k,[t.categoryCard&&e.cardCategoryLabels[t.categoryCard]?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsBadge),{key:0,variant:"highlight",class:"rounded-top-start rounded-bottom-start mx-0"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(e.cardCategoryLabels[t.categoryCard]),1)]})),_:2},1024)):(0,r.Q3)("",!0)])])]})),"vs-card-body":(0,r.k6)((function(){return[(0,r.bF)((0,s.R1)(l.VsHeading),{level:"3","heading-style":"heading-xs"},{default:(0,r.k6)((function(){return[(0,r.bF)((0,s.R1)(l.VsLink),{href:I(t),class:"stretched-link",variant:"secondary"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(t.title),1)]})),_:2},1032,["href"])]})),_:2},1024),(0,r.bF)((0,s.R1)(l.VsBody),null,{default:(0,r.k6)((function(){return[(0,r.Lk)("p",R,(0,o.toDisplayString)(t.description),1)]})),_:2},1024)]})),"vs-card-footer":(0,r.k6)((function(){return[(0,r.Lk)("div",L,[t.location?((0,r.uX)(),(0,r.CE)("div",_,[(0,r.bF)((0,s.R1)(l.VsIcon),{icon:"fa-solid fa-location-dot",variant:"highlight",class:"me-050",size:"sm"}),(0,r.bF)((0,s.R1)(l.VsDetail),{"no-margins":"",color:"tertiary"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(t.location),1)]})),_:2},1024)])):(0,r.Q3)("",!0),(0,r.Lk)("div",null,["data-thistle"===t.dataSrc?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsIcon),{key:0,icon:"vs-icon-control-external-link",variant:"highlight",size:"sm"})):(0,r.Q3)("",!0)])])]})),_:2},1024)})),128))]})),_:1}),(0,s.R1)(t).results&&d.value>1?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsPagination),{key:0,class:"vs-federated-search__pagination","number-of-pages":d.value,"next-button-label":i.paginationLabels.nextButtonLabel,"previous-button-label":i.paginationLabels.previousButtonLabel,"page-label":i.paginationLabels.pageLabel,"of-label":i.paginationLabels.ofLabel,modelValue:(0,s.R1)(t).currentPage,"onUpdate:modelValue":D[0]||(D[0]=function(e){return(0,s.R1)(t).currentPage=e}),onPageClick:A},null,8,["number-of-pages","next-button-label","previous-button-label","page-label","of-label","modelValue"])):(0,r.Q3)("",!0)])),a.value.error?((0,r.uX)(),(0,r.CE)("div",C,[a.value.error?((0,r.uX)(),(0,r.Wv)((0,s.R1)(l.VsWarning),{key:0},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(a.value.message),1)]})),_:1})):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0)]),(0,r.bF)((0,s.R1)(l.VsWarning),{"data-test":"vs-federated-search__error--no-js",class:"vs-federated-search__error--no-js"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.toDisplayString)(i.searchLabels.noJs),1)]})),_:1})])}}}},98729:function(e,t,a){"use strict";a(52469)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,7800,9394,2543,3453,281,7536,7511,9033,8795,6425,7171,3498,8449,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,5676,1574,9122,4282,1459,5921,2142,5025,7957,9116,7275,4448,9810,8896,3486,378,6494,1244,1688,6216,1454,2491,4900,4360,6305,9856,8861,630,4179,7933,2710,3706,3614,3484,1371,9054,7553,6086,3130,5945,8167,4921,1288,3990,3293,680,4828,459,2329,4409,6358,1696,80,2152,4145,922,4433,2822,8258,1086,1154,8533,4681,71,7033,7894,6665,6618,1389,1161,9621,4029,3350,9146,6838,4879,4953,1718,1120,47,9464,9177,9839,625,6004,5513,7097,7311,8399,5465,6641,9633,5809,3337,2810,7086,3603,555,8978,3033,6649,5807,4712,5048,2761,8693,5782,8407,4562,7906,1841,6175,3642,7692,8462,7231,7195,8573,1106,1379,4999,4232,6431,3609,2759,7848,6241,8817,8570,815,4061,9323,9923,3731,2837,3914,5577,3650,2612,6283,9783,7969,9280,4036,8332,2437,6123,7570,4670,9423,9886,1474,3734,1901,8969,5106,627,538,1493,4297,4856,7006,6689,8995,5965,1780],(function(){return e(e.s=49439)})),e.O()}])}));
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8399],{3023:function(){},18309:function(e,t,i){"use strict";var s=i(85072),n=i.n(s),o=i(97825),a=i.n(o),r=i(77659),d=i.n(r),l=i(55056),u=i.n(l),c=i(10540),v=i.n(c),g=i(41113),p=i.n(g),f=i(3023),h=i.n(f),y={};y.styleTagTransform=p(),y.setAttributes=u(),y.insert=d().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=v(),n()(h(),y),h()&&h().locals&&h().locals},21331:function(e,t,i){"use strict";i.d(t,{X:function(){return s.X}});var s=i(41155)},25753:function(e,t,i){"use strict";i(18309)},38399:function(e,t,i){"use strict";i.r(t);var s=i(21331),n=i(66565);i(25753);const o=(0,i(66262).A)(n.A,[["render",s.X]]);t.default=o},41155:function(e,t,i){"use strict";i.d(t,{X:function(){return g}});var s=i(20641),n=i(90033),o={class:"vs-hero-section__grid"},a={key:1,class:"vs-hero-section__video-wrapper"},r=["poster"],d=["src"],l={key:2,class:"vs-hero-section__divider"},u={class:"vs-hero-section__text"},c=["innerHTML"],v={class:"mb-0"};function g(e,t,i,g,p,f){var h=(0,s.g2)("VsHeroSectionImage"),y=(0,s.g2)("VsHeading"),m=(0,s.g2)("VsBody"),_=(0,s.g2)("VsHeroSectionVideoControl");return(0,s.uX)(),(0,s.CE)("div",{class:(0,n.normalizeClass)(["vs-hero-section",{"vs-hero-section--split":i.split}]),"data-test":"vs-hero-section"},[(0,s.Lk)("div",o,[i.imgSrc&&!i.videoSrc?((0,s.uX)(),(0,s.CE)("div",{key:0,class:(0,n.normalizeClass)(["vs-hero-section__image",f.imageClasses])},[(0,s.bF)(h,{"img-alt":i.imgAlt,src:i.imgSrc,"img-caption":i.imgCaption,"img-credit":i.imgCredit,split:i.split},null,8,["img-alt","src","img-caption","img-credit","split"])],2)):i.videoSrc?((0,s.uX)(),(0,s.CE)("div",a,[(0,s.Lk)("video",{loop:"",muted:"",autoplay:"",playsinline:"",preload:"auto",poster:i.imgSrc,class:"vs-hero-section__video",ref:"heroVideo","aria-hidden":"true",fetchpriority:"high"},[(0,s.Lk)("source",{src:i.videoSrc,type:"video/mp4"},null,8,d)],8,r),t[0]||(t[0]=(0,s.Lk)("div",{class:"vs-hero-section__video-overlay"},null,-1))])):((0,s.uX)(),(0,s.CE)("hr",l)),(0,s.Lk)("div",{class:(0,n.normalizeClass)(f.textContainerClasses)},[(0,s.Lk)("div",u,[(0,s.bF)(y,{class:"vs-hero-section__heading","data-test":"vs-hero-section__heading",level:"1","heading-style":"display-s",id:"main-heading"},{default:(0,s.k6)((function(){return[(0,s.Lk)("span",{innerHTML:i.heading},null,8,c)]})),_:1}),i.lede?((0,s.uX)(),(0,s.Wv)(m,{key:0,class:"vs-hero-section__lede","data-test":"vs-hero-section__lede",variant:"lead"},{default:(0,s.k6)((function(){return[(0,s.Lk)("p",v,(0,n.toDisplayString)(i.lede),1)]})),_:1})):(0,s.Q3)("",!0)]),i.videoSrc?((0,s.uX)(),(0,s.Wv)(_,{key:0,"video-btn-text":"Toggle video",onVideoToggled:f.onToggleVideo,"video-playing-status":i.videoPlayingStatus,"video-paused-status":i.videoPausedStatus},{default:(0,s.k6)((function(){return[(0,s.eW)((0,n.toDisplayString)(i.videoBtnText),1)]})),_:1},8,["onVideoToggled","video-playing-status","video-paused-status"])):(0,s.Q3)("",!0)],2)])],2)}},66565:function(e,t,i){"use strict";i.d(t,{A:function(){return s.A}});var s=i(86833)},86833:function(e,t,i){"use strict";var s=i(13838),n=i(44580),o=i(28533),a=i(78773);t.A={name:"VsHeroSection",status:"prototype",release:"0.0.1",components:{VsHeading:s.default,VsBody:n.default,VsHeroSectionImage:o.default,VsHeroSectionVideoControl:a.default},provide:function(){return{videoPlayingStatus:this.videoPlayingStatus,videoPausedStatus:this.videoPausedStatus}},props:{heading:{type:String,default:"",required:!0},lede:{type:String,default:"",required:!0},imgSrc:{type:String,default:""},imgAlt:{type:String,default:""},imgCaption:{type:String,default:""},imgCredit:{type:String,default:""},inset:{type:Boolean,default:!1},split:{type:Boolean,default:!1},videoSrc:{type:String,default:""},videoBtnText:{type:String,default:""},videoPlayingStatus:{type:String,default:""},videoPausedStatus:{type:String,default:""}},computed:{imageClasses:function(){return{"vs-hero-section__image--inset":this.inset}},textContainerClasses:function(){return[{"vs-hero-section__text-container--video":this.videoSrc},"vs-hero-section__text-container"]}},methods:{onToggleVideo:function(e){e?this.$refs.heroVideo.pause():this.$refs.heroVideo.play()}}}}}]);
@@ -1 +0,0 @@
1
- .vs-hero-section{background:#fff;--grid-columns: 12px 1fr 1fr 12px;--content_maxwidth: 100%;--container-col: 2 / span 2;--container-row: 1;--image-col: 1 / -1;--image-row: 2;--inset-image-col: 2 / span 2;--divider-col: 2 / span 2;--divider-row: 2}@media(min-width: 576px){.vs-hero-section{--content_maxwidth: 516px;--grid-columns: 1fr min-content min-content 1fr}}@media(min-width: 768px){.vs-hero-section{--content_maxwidth: 696px}}@media(min-width: 992px){.vs-hero-section{--content_maxwidth: 936px}}@media(min-width: 1200px){.vs-hero-section{--content_maxwidth: 1116px}}@media(min-width: 1400px){.vs-hero-section{--content_maxwidth: 1316px}}.vs-hero-section__grid{display:grid;grid-template-columns:var(--grid-columns);width:100%;position:relative}.vs-hero-section__image{grid-row:var(--image-row);grid-column:var(--image-col)}.vs-hero-section__image--inset{grid-column:var(--inset-image-col);padding:0}.vs-hero-section__text-container{position:relative;grid-row:var(--container-row);grid-column:var(--container-col);width:var(--content_maxwidth);padding:1.5rem 0 2.5rem 0}@media(min-width: 992px){.vs-hero-section__text-container{padding:3rem 0}}.vs-hero-section__text{width:100%}@media(min-width: 576px){.vs-hero-section__text{width:80%}}@media(min-width: 768px){.vs-hero-section__text{width:70%}}@media(min-width: 992px){.vs-hero-section__text{width:100%;display:grid;grid-template-columns:1.5fr 1fr;gap:6rem}}@media(min-width: 1200px){.vs-hero-section__text{grid-template-columns:1.5fr .75fr}}@media(min-width: 1400px){.vs-hero-section__text{gap:12rem}}.vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#5b2487}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}.vs-hero-section__video-wrapper{grid-row:1;grid-column:1/-1;position:relative;line-height:0}.vs-hero-section__video-wrapper .vs-hero-section__video{width:100%;height:560px;object-fit:cover}@media(min-width: 576px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:648px}}@media(min-width: 992px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:812px}}.vs-hero-section__video-wrapper .vs-hero-section__video-overlay{position:absolute;top:0;left:0;width:100%;height:100%;transition:opacity 1s;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%)}.vs-hero-section .vs-hero-section__text-container--video{color:#fff}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section-video-control{position:absolute;bottom:5rem;right:1.25rem}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;position:absolute;bottom:5rem;width:70%}@media(min-width: 768px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{width:50%}}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#fff;text-wrap:balance}@media(min-width: 992px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9;grid-row:var(--divider-row);grid-column:var(--divider-col)}.vs-hero-section--split{--split-image-row: 1;--split-image-col: 1 / -1;--split-container-row: 2;--split-container-col: 2 / -2}@media(min-width: 992px){.vs-hero-section--split{--split-container-row: 1;--split-container-col: 2 / span 2;--split-image-row: 1;--split-image-col: 3 / span 2}}.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col);position:relative;overflow:hidden;z-index:0;min-height:14rem;max-width:1000px}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col)}}.vs-hero-section--split .vs-hero-section__text-container{grid-row:var(--split-container-row);grid-column:var(--split-container-col);padding-top:0}.vs-hero-section--split .vs-hero-section__text{height:100%;width:100%;padding:0}@media(min-width: 576px){.vs-hero-section--split .vs-hero-section__text{width:75%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;place-content:center;width:42%}}@media(min-width: 1400px){.vs-hero-section--split .vs-hero-section__text{width:40%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}