@visitscotland/component-library 4.12.0 → 4.12.1

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.
Files changed (31) hide show
  1. package/dist/client/manifest.json +103 -103
  2. package/dist/client/scripts/1bc384500a813618908d.js +1 -0
  3. package/dist/client/scripts/d03f15b77fa423b1987e.js +1 -0
  4. package/dist/client/scripts/{1fdc1483cdd2b8d992e2.js → ddf66730471a7e9e83ca.js} +1 -1
  5. package/dist/client/styles/{24057be9ca44741f3c32.css → d03f15b77fa423b1987e.css} +1 -1
  6. package/dist/components/components/caption/Caption.vue.d.ts +1 -0
  7. package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +1 -0
  8. package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +1 -0
  9. package/dist/components/components/hero-section/HeroSection.vue.d.ts +1 -0
  10. package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +1 -0
  11. package/dist/components/components/mega-nav/MegaNav.vue.d.ts +1 -0
  12. package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +1 -0
  13. package/dist/components/vs-component-library.css +1 -1
  14. package/dist/components/vs-component-library.js +164 -164
  15. package/dist/components/vs-component-library.mjs +8212 -8211
  16. package/dist/ssr/index.js +1 -1
  17. package/dist/ssr/manifest.json +1 -1
  18. package/dist/ssr/styles/{bd364c2aa8921fee5b64.css → db1a00f5f041d9dcc7e0.css} +1 -1
  19. package/package.json +231 -231
  20. package/CHANGELOG.md +0 -3008
  21. package/dist/client/scripts/24057be9ca44741f3c32.js +0 -1
  22. package/dist/client/scripts/4c5055864f96ecc32cc7.js +0 -1
  23. /package/dist/client/scripts/{62ab079f579db9aaffb9.js → 2a7e933e6683047aa130.js} +0 -0
  24. /package/dist/client/scripts/{187f48f7ed89388c22ee.js → 2d10ac82630143ff1075.js} +0 -0
  25. /package/dist/client/scripts/{56b5442d66b63d14bdb0.js → 875be100962922060621.js} +0 -0
  26. /package/dist/client/scripts/{5a876b0e082974ef731c.js → cda05cc6eb36db4a7728.js} +0 -0
  27. /package/dist/client/styles/{4c5055864f96ecc32cc7.css → 1bc384500a813618908d.css} +0 -0
  28. /package/dist/client/styles/{62ab079f579db9aaffb9.css → 2a7e933e6683047aa130.css} +0 -0
  29. /package/dist/client/styles/{187f48f7ed89388c22ee.css → 2d10ac82630143ff1075.css} +0 -0
  30. /package/dist/client/styles/{56b5442d66b63d14bdb0.css → 875be100962922060621.css} +0 -0
  31. /package/dist/client/styles/{5a876b0e082974ef731c.css → cda05cc6eb36db4a7728.css} +0 -0
@@ -0,0 +1 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsMapWithSidebar=e():t.VsMapWithSidebar=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[316],{46619:function(){},50106:function(t,e,s){"use strict";var a=s(89394),n=s(64467),i=s(11438),o=s(48836),r=s(79122),l=s(90080),c=s(57536),u=s(10810),d=s(79920),g=s(81610),p=s(4249);function h(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function f(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?h(Object(s),!0).forEach((function(e){(0,n.A)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var m=null;e.A={name:"VsMapWithSidebar",status:"prototype",release:"0.0.1",components:{VsContainer:i.T$,VsRow:i.AQ,VsCol:i.Il,VsMap:g.default,VsButton:o.default,VsMapWithSidebarPanel:p.default,VsButtonToggleGroup:l.default,VsWarning:r.default},provide:function(){return{filters:this.filters,filtersWithLocations:this.filtersWithLocations,placesData:this.placesData,mapId:this.mapId,regions:this.regionsData,clearSelectionText:this.clearSelectionText,applyFiltersText:this.applyFiltersText,subCatList:this.subCatList,filtersAppliedText:this.filtersAppliedText,clearFiltersText:this.clearFiltersText,focussedListItem:this.focussedListItem}},props:{categoryHeading:{type:String,default:""},filters:{type:Array,required:!0},placesData:{type:Array,required:!0},mapId:{type:String,required:!0},mainHeadingExists:{type:Boolean,default:!1},initialSelected:{type:String,default:""},toggleData:{type:Array,default:function(){return[]}},buttonsLabel:{type:String,default:""},clearSelectionText:{type:String,required:!0},applyFiltersText:{type:String,required:!0},detailsEndpoint:{type:String,default:""},regionBounds:{type:Object,default:function(){}},clearFiltersText:{type:String,required:!0},filtersAppliedText:{type:String,required:!0},placeId:{type:String,default:null},mapFilterMessage:{type:String,required:!0},mapNoResultsMessage:{type:String,required:!0},panelMessage:{type:String,default:null}},data:function(){return{panelVisible:!1,selectedCategory:"",filterCategories:this.filters,selectedItem:null,activePins:this.placesData,currentlyHovered:"",showRegions:!1,regions:[],subCatList:null,selectedToggle:"",currentEndpointData:[],mapStatus:"",panelStatus:"map-loading",mapReady:!1,showPanelMessage:null,currentPanelEndpointFilters:"",totalEndpointPins:0,focussedListItem:0,resetZoom:!1,currentStage:0,selectedSubCategory:null}},computed:f(f({mapDisplayClass:function(){return this.panelVisible?"d-none d-lg-block":""},panelDisplayClass:function(){return this.panelVisible?"":"d-none d-lg-block"},regionsData:function(){return this.placesData.filter((function(t){return"Polygon"===t.geometry.type||"MultiPolygon"===t.geometry.type}))}},(0,u.aH)(d.A,{subCatActiveFilters:function(t){return t.activeSubcatFilters}})),{},{infoMessage:function(){var t="";switch(this.mapStatus){case"no-results":t=this.mapNoResultsMessage;break;case"filter-results":t=this.mapFilterMessage}return t},existingCategories:function(){return this.placesData?(0,a.A)(new Set(this.placesData.map((function(t){return t.properties.category.id})))):[]},filtersWithLocations:function(){var t=this;return this.filters.filter((function(e){return!!t.existingCategories.includes(e.id)||!(!e.subCategory||!e.subCategory.length)}))},togglesWithLocations:function(){return-1===this.existingCategories.indexOf("vics")?this.toggleData.filter((function(t){return"icentres"!==t.value})):this.toggleData}}),watch:{selectedSubCategory:function(t){null===t&&(this.mapStatus="",this.resetZoom=!0)}},mounted:function(){var t=this;m=(0,d.A)(),this.selectedToggle=this.initialSelected,this.emitter&&this.emitter.on("clearSelectedSubcats",(function(){t.resetZoom=!0}))},methods:{openMenu:function(){this.setStage(0),this.openPanel()},closePanel:function(){this.panelVisible=!1},openPanel:function(){this.panelVisible=!0},showDetail:function(t){document.fullscreenElement&&document.exitFullscreen(),this.selectedItem=t,this.setStage(2),this.openPanel(),null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory)},setCategory:function(t){this.selectedCategory=t,null===this.selectedSubCategory&&this.filterPlaces(t)},setSubCategory:function(t){m.setSelectedSubcat(t),this.selectedSubCategory=t,null!==t?(this.getSubcatMarkerData(),this.selectedCategory=t):(m.setActiveSubcatFilters([]),this.showAllPlaces())},filterSubCategories:function(t){var e="";t.forEach((function(t){var s="&cat=".concat(t);e+=s})),this.currentPanelEndpointFilters=e,this.getSubcatMarkerData(e),this.getSubcatPanelData(e,0)},getSubcatMarkerData:function(t){var e=this,s=this.filters.filter((function(t){return t.id===e.selectedSubCategory}));if(s.length>0){var a=s[0].pinsEndpoint;void 0!==t&&(a+=t),this.activePins=[],void 0===t?(this.activePins=[],this.mapStatus="filter-results"):c.A.get(a).then((function(t){e.totalEndpointPins=t.data.features.length,0===e.totalEndpointPins?e.mapStatus="no-results":(t.data.features.forEach((function(t){var s=t;s.properties.apiData=!0,e.activePins.push(s)})),e.mapStatus="")}))}},getSubcatPanelData:function(t,e){var s=this,a=this.filters.filter((function(t){return t.id===s.selectedSubCategory}))[0].listProductsEndPoint;void 0!==t&&(a+=t),0!==e&&(a+="".concat(t,"&page=").concat(e)),this.panelStatus="loading-data",c.A.get(a).then((function(t){void 0!==t.data.data.products?(s.setStage(1),0===e?(s.subCatList=t.data.data.products,s.focussedListItem=0):(s.focussedListItem=24*e,s.subCatList=s.subCatList.concat(t.data.data.products))):s.mapStatus="no-results",s.panelStatus=null}))},setStage:function(t){var e=this;if(2===t&&""!==this.detailsEndpoint&&null!==this.selectedSubCategory){var s="".concat(this.detailsEndpoint).concat(this.selectedItem.properties.id);c.A.get(s).then((function(s){var a=[];a.push(s.data.data),e.currentEndpointData=a,e.currentStage=t}))}else this.currentStage=t,0===this.currentStage?(this.currentEndpointData=[],null===this.selectedSubCategory?(this.resetZoom=!0,this.showAllPlaces(),this.mapStatus=""):this.getSubcatMarkerData(),this.selectedToggle="places"):1===this.currentStage&&null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory);2!==t&&(m.setActivePlace({mapId:this.mapId,activeFeature:""}),this.selectedItem=null)},filterPlaces:function(t){if("regions"===t)this.showRegions=!0,this.activePins=[],this.selectedToggle="regions";else{this.showRegions=!1,this.selectedToggle="places";var e=this.placesData.filter((function(e){return void 0!==e.properties&&e.properties.category.id===t}));this.activePins=e}},loadMorePlaces:function(t){this.getSubcatPanelData(this.currentPanelEndpointFilters,t)},showAllPlaces:function(){this.activePins=this.placesData,this.showRegions=!1},onToggleChanged:function(t){"regions"===t?(this.setCategory("regions"),this.setStage(1)):"icentres"===t?(this.setCategory("vics"),this.setStage(1)):"places-regional"===t?(this.setCategory("twnv"),this.setStage(1)):(this.showAllPlaces(),this.setStage(0))},setMapReady:function(t){this.mapReady=t,this.panelStatus=t?null:"loading"},categoryHasData:function(t){return-1!==this.existingCategories.indexOf(t)}}}},81259:function(t,e,s){"use strict";s.d(e,{X:function(){return i}});var a=s(20641),n=s(90033);function i(t,e,s,i,o,r){var l=(0,a.g2)("VsMapWithSidebarPanel"),c=(0,a.g2)("VsButton"),u=(0,a.g2)("VsMap"),d=(0,a.g2)("VsButtonToggleGroup"),g=(0,a.g2)("VsWarning"),p=(0,a.g2)("VsCol"),h=(0,a.g2)("VsRow"),f=(0,a.g2)("VsContainer");return(0,a.uX)(),(0,a.Wv)(f,{"data-test":"vs-map-with-sidebar"},{default:(0,a.k6)((function(){return[(0,a.bF)(h,null,{default:(0,a.k6)((function(){return[(0,a.bF)(p,null,{default:(0,a.k6)((function(){return[(0,a.Lk)("div",{class:"vs-map-with-sidebar",ref:s.mapId},[(0,a.Lk)("div",{class:(0,n.normalizeClass)(["vs-map-with-sidebar__side-panel",r.panelDisplayClass]),"data-test":"vs-map-with-sidebar__side-panel"},[(0,a.bF)(l,{"category-heading":s.categoryHeading,"selected-category":o.selectedCategory,"selected-subcategory":o.selectedSubCategory,"current-stage":o.currentStage,"selected-item":o.selectedItem,"heading-level":s.mainHeadingExists?"3":"2","subcategory-locations":o.subCatList,"current-endpoint-data":o.currentEndpointData,"panel-status":o.panelStatus,"panel-message":0===o.currentStage?s.panelMessage:null,"total-pins":o.totalEndpointPins,"current-list-item-focus":o.focussedListItem,onSetCategory:r.setCategory,onSetSubcategory:r.setSubCategory,onSubcategoriesFiltered:r.filterSubCategories,onSetStage:r.setStage,onClosePanel:r.closePanel,onShowItemDetail:r.showDetail,onFilterPlaces:r.filterPlaces,onLoadMorePlaces:r.loadMorePlaces},{closePanelText:(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"close-side-panel-text")]})),"reset-side-panel-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"reset-side-panel-text")]})),"menu-btn-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"menu-btn-text")]})),"panel-loading-message":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"panel-loading-message")]})),"load-more-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"load-more-text")]})),_:3},8,["category-heading","selected-category","selected-subcategory","current-stage","selected-item","heading-level","subcategory-locations","current-endpoint-data","panel-status","panel-message","total-pins","current-list-item-focus","onSetCategory","onSetSubcategory","onSubcategoriesFiltered","onSetStage","onClosePanel","onShowItemDetail","onFilterPlaces","onLoadMorePlaces"])],2),(0,a.Lk)("div",{class:(0,n.normalizeClass)(["vs-map-with-sidebar__map",r.mapDisplayClass])},[(0,a.bF)(c,{class:"vs-map-with-sidebar__map-toggle",icon:"bars-mobile-menu",size:"sm",onClick:r.openMenu,"data-test":"vs-map-with-sidebar__map-toggle",variant:"secondary"},{default:(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"open-side-panel-text")]})),_:3},8,["onClick"]),(0,a.bF)(u,{"is-visible":!o.panelVisible,labels:{},filters:r.filtersWithLocations,places:o.activePins,"selected-item":o.selectedItem,"map-id":s.mapId,"show-polygons":o.showRegions,"show-info-message":""!==o.mapStatus,onShowDetail:r.showDetail,onSetCategory:r.setCategory,onMapReady:r.setMapReady,onZoomReset:e[0]||(e[0]=function(t){return o.resetZoom=!1}),"bounds-data":s.regionBounds,"reset-zoom":o.resetZoom,"show-marker-popups":!1},{"map-loading-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"map-loading-text")]})),"info-message":(0,a.k6)((function(){return[(0,a.eW)((0,n.toDisplayString)(r.infoMessage),1)]})),"zoom-too-close":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"zoom-too-close")]})),"zoom-too-far":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"zoom-too-far")]})),"no-js":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"no-js")]})),_:3},8,["is-visible","filters","places","selected-item","map-id","show-polygons","show-info-message","onShowDetail","onSetCategory","onMapReady","bounds-data","reset-zoom"]),r.togglesWithLocations.length>1?((0,a.uX)(),(0,a.Wv)(d,{key:0,"data-test":"vs-map-with-sidebar__map-toggle-group","initial-selected":o.selectedToggle,options:r.togglesWithLocations,"buttons-label":s.buttonsLabel,onToggleChanged:r.onToggleChanged},null,8,["initial-selected","options","buttons-label","onToggleChanged"])):(0,a.Q3)("",!0)],2)],512),(0,a.bF)(g,{class:"vs-map-with-sidebar__no-js"},{default:(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"no-js")]})),_:3})]})),_:3})]})),_:3})]})),_:3})}},18581:function(t,e,s){"use strict";var a=s(85072),n=s.n(a),i=s(97825),o=s.n(i),r=s(77659),l=s.n(r),c=s(55056),u=s.n(c),d=s(10540),g=s.n(d),p=s(41113),h=s.n(p),f=s(46619),m=s.n(f),b={};b.styleTagTransform=h(),b.setAttributes=u(),b.insert=l().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=g(),n()(m(),b),m()&&m().locals&&m().locals},8258:function(t,e,s){"use strict";s.r(e);var a=s(81259),n=s(84542);s(50145);const i=(0,s(66262).A)(n.A,[["render",a.X]]);e.default=i},84542:function(t,e,s){"use strict";s.d(e,{A:function(){return a.A}});var a=s(50106)},50145:function(t,e,s){"use strict";s(18581)}},function(t){return t.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,2543,7800,7536,9394,3777,6422,8745,8836,8638,2368,7521,3838,1438,9122,1574,2536,5025,7539,1101,2552,681,1213,3055,3198,3844,4079,4249,80],(function(){return t(t.s=8258)})),t.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3838],{25866:function(){},54886:function(e,s,n){"use strict";var a=n(2543);s.A={name:"VsHeading",status:"prototype",release:"0.1.0",props:{level:{type:[String,Number],default:"1",validator:function(e){return(0,a.isNumber)(e)?e>0&&e<7:e.match(/(1|2|3|4|5|6)/)}},headingStyle:{type:[String,Number],required:!0,validator:function(e){return e.match(/(display-l|display-m|display-s|display-xs|heading-xxl|heading-xl|heading-l|heading-m|heading-s|heading-xs|heading-xxs|heading-xxxs)/)}}},computed:{hasSubtitle:function(){return!!this.$slots["sub-heading"]},headingClasses:function(){return[this.headingStyle?"vs-heading--".concat(this.headingStyle):""]},subHeadingClass:function(){var e="";switch(this.headingStyle){case"display-l":case"display-m":case"display-s":case"heading-xxl":case"heading-xl":e="l";break;case"display-xs":case"heading-l":case"heading-m":e="m";break;case"heading-s":case"heading-xs":case"heading-xxs":e="s";break;default:e=""}return"vs-heading__sub-heading--".concat(e)},type:function(){return"h".concat(this.level)}}}},96326:function(e,s,n){"use strict";n.d(s,{X:function(){return i}});var a=n(20641),t=n(90033);function i(e,s,n,i,l,r){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(r.type),{class:(0,t.normalizeClass)(["vs-heading",r.headingClasses])},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default"),e.$slots["sub-heading"]?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,t.normalizeClass)(["vs-heading__sub-heading",r.subHeadingClass])},[(0,a.RG)(e.$slots,"sub-heading")],2)):(0,a.Q3)("",!0)]})),_:3},8,["class"])}},7792:function(e,s,n){"use strict";var a=n(85072),t=n.n(a),i=n(97825),l=n.n(i),r=n(77659),u=n.n(r),d=n(55056),c=n.n(d),h=n(10540),o=n.n(h),g=n(41113),f=n.n(g),p=n(25866),y=n.n(p),b={};b.styleTagTransform=f(),b.setAttributes=c(),b.insert=u().bind(null,"head"),b.domAPI=l(),b.insertStyleElement=o(),t()(y(),b),y()&&y().locals&&y().locals},13838:function(e,s,n){"use strict";n.r(s);var a=n(96326),t=n(46922);n(89076);const i=(0,n(66262).A)(t.A,[["render",a.X]]);s.default=i},46922:function(e,s,n){"use strict";n.d(s,{A:function(){return a.A}});var a=n(54886)},89076:function(e,s,n){"use strict";n(7792)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4982],{34982:function(r){r.exports=JSON.parse('{"vs-color-background-primary":"rgb(255, 255, 255)","vs-color-background-secondary":"rgb(242, 242, 248)","vs-color-background-bold":"rgb(32, 15, 46)","vs-color-interaction-cta-subtle":"rgba(0, 0, 0, 0)","vs-color-background-brand":"rgb(91, 36, 135)","vs-color-background-inverse":"rgb(255, 255, 255)","vs-color-background-highlight":"rgb(168, 48, 140)","vs-color-background-information":"rgb(229, 229, 240)","vs-color-background-success":"rgb(3, 170, 70)","vs-color-background-warning":"rgb(253, 236, 83)","vs-color-background-error":"rgb(148, 15, 44)","vs-color-background-accent-heather-80":"rgb(51, 34, 93)","vs-color-background-accent-heather-30":"rgb(163, 163, 204)","vs-color-background-accent-tolsta-40":"rgb(20, 161, 158)","vs-color-background-accent-gorse-05":"rgb(255, 250, 153)","vs-color-border-primary":"rgb(233, 233, 233)","vs-color-border-secondary":"rgb(163, 163, 204)","vs-color-border-inverse":"rgb(255, 255, 255)","vs-color-border-input":"rgb(83, 83, 150)","vs-color-border-highlight":"rgb(168, 48, 140)","vs-color-border-success":"rgb(3, 170, 70)","vs-color-border-warning":"rgb(253, 236, 83)","vs-color-border-error":"rgb(148, 15, 44)","vs-color-border-disabled":"rgb(144, 144, 144)","vs-color-icon-primary":"rgb(32, 15, 46)","vs-color-icon-secondary":"rgb(96, 96, 96)","vs-color-icon-inverse":"rgb(255, 255, 255)","vs-color-icon-cta-on-light":"rgb(31, 73, 214)","vs-color-icon-highlight":"rgb(168, 48, 140)","vs-color-icon-success":"rgb(3, 170, 70)","vs-color-icon-warning":"rgb(253, 236, 83)","vs-color-icon-error":"rgb(148, 15, 44)","vs-color-icon-disabled":"rgb(144, 144, 144)","vs-color-icon-accent-saltire-30":"rgb(133, 173, 255)","vs-color-icon-ski-easy":"rgb(3, 135, 55)","vs-color-icon-ski-intermediate":"rgb(23, 53, 156)","vs-color-icon-ski-difficult":"rgb(194, 20, 58)","vs-color-icon-ski-very-difficult":"rgb(51, 51, 51)","vs-color-icon-ski-itineraries":"rgb(255, 173, 102)","vs-color-icon-ski-other":"rgb(163, 163, 204)","vs-color-icon-accent-loch-ness":"rgb(18, 43, 128)","vs-color-icon-accent-grey-02":"rgb(117, 109, 148)","vs-color-icon-accent-saltire":"rgb(31, 73, 214)","vs-color-icon-accent-bramble":"rgb(168, 48, 140)","vs-color-icon-accent-heather":"rgb(35, 1, 74)","vs-color-icon-accent-whisky":"rgb(241, 135, 1)","vs-color-icon-accent-cranachan":"rgb(255, 71, 111)","vs-color-icon-accent-buachaille":"rgb(255, 212, 0)","vs-color-interaction-focus":"rgb(51, 105, 255)","vs-color-interaction-focus-on-bold":"rgb(255, 250, 153)","vs-color-interaction-cta-primary":"rgb(31, 73, 214)","vs-color-interaction-cta-secondary":"rgb(255, 255, 255)","vs-color-interaction-cta-hover":"rgb(23, 53, 156)","vs-color-interaction-cta-pressed":"rgb(17, 40, 118)","vs-color-interaction-cta-disabled":"rgb(233, 233, 233)","vs-color-interaction-cta-subtle-hover":"rgb(214, 229, 255)","vs-color-interaction-cta-subtle-pressed":"rgb(51, 105, 255)","vs-color-interaction-link-primary":"rgb(31, 73, 214)","vs-color-interaction-link-active":"rgb(17, 40, 118)","vs-color-interaction-link-visited":"rgb(168, 48, 140)","vs-color-interaction-link-disabled":"rgb(144, 144, 144)","vs-color-interaction-link-visited-on-bold":"rgb(214, 229, 255)","vs-color-text-primary":"rgb(32, 15, 46)","vs-color-text-secondary":"rgb(96, 96, 96)","vs-color-text-tertiary":"rgb(83, 83, 150)","vs-color-text-inverse":"rgb(255, 255, 255)","vs-color-text-cta-on-light":"rgb(31, 73, 214)","vs-color-text-highlight":"rgb(168, 48, 140)","vs-color-text-brand":"rgb(91, 36, 135)","vs-color-text-error":"rgb(148, 15, 44)","vs-color-text-success":"rgb(3, 170, 70)","vs-color-text-disabled":"rgb(144, 144, 144)","breakpoint_xl":"1200px","grid_container_width_xl":"1116px","breakpoint_md":"768px","max_container_width_xl":"1140px","grid_container_width_md":"696px","breakpoint_sm":"576px","breakpoint_lg":"992px","breakpoint_xs":"0","max_container_width_md":"720px","grid_container_width_sm":"516px","grid_container_width_lg":"936px","max_container_width_sm":"540px","max_container_width_lg":"960px","max_container_width_xxl":"1340px","grid_container_width_xxl":"1316px","breakpoint_xxl":"1400px","grid_columns":"12","grid_gutter_width":"24px","spacer-0":"0","spacer-0125":"0.125rem","spacer-025":"0.25rem","spacer-050":"0.5rem","spacer-075":"0.75rem","spacer-100":"1rem","spacer-125":"1.25rem","spacer-150":"1.5rem","spacer-175":"1.75rem","spacer-200":"2rem","spacer-250":"2.5rem","spacer-300":"3rem","spacer-400":"4rem","spacer-500":"5rem","spacer-600":"6rem","spacer-700":"7rem","vs-elevation-shadow-raised":"0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)","vs-elevation-shadow-overlay":"0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15)","vs-elevation-surface":"#ffffff","vs-elevation-surface-section":"#F2F2F8","vs-elevation-surface-raised":"#ffffff","vs-elevation-surface-overlay":"#ffffff","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.125rem","font-size-6":"1.25rem","font-size-7":"1.375rem","font-size-8":"1.5rem","font-size-9":"1.875rem","font-size-10":"2.5rem","font-size-body":"1rem","font-size-body-md":"1.125rem","font-size-lead":"1.125rem","font-size-lead-md":"1.25rem","font-size-teaser":"1rem","font_weight_bold":"700","font_weight_semi_bold":"600","font_weight_normal":"400","font_weight_light":"300","font-family-sans-serif":"\'Source Sans Pro\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, \'Helvetica Neue\', Arial, sans-serif, \'Apple Color Emoji\', \'Segoe UI Emoji\', \'Segoe UI Symbol\'","display-font-family":"\'evelethclean-regular\', sans-serif, $font-family-sans-serif","icon_size_xxs":"12px","icon_size_xs":"16px","icon_size_sm":"20px","icon_size_md":"24px","icon_size_lg":"30px","icon_size_xl":"40px","opacity_100":"1","opacity_50":"0.5","opacity_0":"0","duration_quickly":".08s","duration_base":".2s","duration_slowly":".5s","vs-box-shadow-focus":"0 0 0 2px $vs-color-interaction-focus","vs-box-shadow-focus-on-dark":"0 0 0 2px $vs-color-interaction-focus-on-bold","display-l":"2.875rem","display-m":"2.5625rem","display-s":"2rem","display-xs":"1.4375rem","heading-xxl":"2.5625rem","heading-xl":"2.25rem","heading-l":"2rem","heading-m":"1.8125rem","heading-s":"1.625rem","heading-xs":"1.4375rem","heading-xxs":"1.25rem","sub-heading-l":"1.4375rem","sub-heading-m":"1.25rem","sub-heading-s":"1.125rem","letter_spacing_xxl":"2px","letter_spacing_xl":"1.4px","letter_spacing_l":"1px","letter_spacing_m":"0.5px","letter_spacing_s":"-0.5px","letter_spacing_xs":"-1px","border_radius_default":"0.25rem","border_radius_xl":"0.5rem","border_radius_lg":"0.3rem","border_radius_sm":"0.2rem","border_radius_pill":"50rem","line_height_m":"1.6","line_height_xl":"2","line_height_s":"1.3","line-height-sub-heading":"1.3","line_height_xs":"1","line_height_lead":"1.55","line_height_standard":"1.2","line-height-body":"1.5","line-height-heading":"1.2","line_height_l":"1.8","no_javascript":"no-js","theme_dark":"rgb(42, 40, 41)","theme_grey":"rgb(239, 239, 239)","tracking-heading":"-0.01em","tracking-sub-heading":"0em","tracking-body":"0.01em"}')}}]);
1
+ "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4982],{34982:function(r){r.exports=JSON.parse('{"vs-color-background-primary":"rgb(255, 255, 255)","vs-color-background-secondary":"rgb(242, 242, 248)","vs-color-background-bold":"rgb(32, 15, 46)","vs-color-interaction-cta-subtle":"rgba(0, 0, 0, 0)","vs-color-background-brand":"rgb(91, 36, 135)","vs-color-background-inverse":"rgb(255, 255, 255)","vs-color-background-highlight":"rgb(168, 48, 140)","vs-color-background-information":"rgb(229, 229, 240)","vs-color-background-success":"rgb(3, 170, 70)","vs-color-background-warning":"rgb(253, 236, 83)","vs-color-background-error":"rgb(148, 15, 44)","vs-color-background-accent-heather-80":"rgb(51, 34, 93)","vs-color-background-accent-heather-30":"rgb(163, 163, 204)","vs-color-background-accent-tolsta-40":"rgb(20, 161, 158)","vs-color-background-accent-gorse-05":"rgb(255, 250, 153)","vs-color-border-primary":"rgb(233, 233, 233)","vs-color-border-secondary":"rgb(163, 163, 204)","vs-color-border-inverse":"rgb(255, 255, 255)","vs-color-border-input":"rgb(83, 83, 150)","vs-color-border-highlight":"rgb(168, 48, 140)","vs-color-border-success":"rgb(3, 170, 70)","vs-color-border-warning":"rgb(253, 236, 83)","vs-color-border-error":"rgb(148, 15, 44)","vs-color-border-disabled":"rgb(144, 144, 144)","vs-color-icon-primary":"rgb(32, 15, 46)","vs-color-icon-secondary":"rgb(96, 96, 96)","vs-color-icon-inverse":"rgb(255, 255, 255)","vs-color-icon-cta-on-light":"rgb(31, 73, 214)","vs-color-icon-highlight":"rgb(168, 48, 140)","vs-color-icon-success":"rgb(3, 170, 70)","vs-color-icon-warning":"rgb(253, 236, 83)","vs-color-icon-error":"rgb(148, 15, 44)","vs-color-icon-disabled":"rgb(144, 144, 144)","vs-color-icon-accent-saltire-30":"rgb(133, 173, 255)","vs-color-icon-ski-easy":"rgb(3, 135, 55)","vs-color-icon-ski-intermediate":"rgb(23, 53, 156)","vs-color-icon-ski-difficult":"rgb(194, 20, 58)","vs-color-icon-ski-very-difficult":"rgb(51, 51, 51)","vs-color-icon-ski-itineraries":"rgb(255, 173, 102)","vs-color-icon-ski-other":"rgb(163, 163, 204)","vs-color-icon-accent-loch-ness":"rgb(18, 43, 128)","vs-color-icon-accent-grey-02":"rgb(117, 109, 148)","vs-color-icon-accent-saltire":"rgb(31, 73, 214)","vs-color-icon-accent-bramble":"rgb(168, 48, 140)","vs-color-icon-accent-heather":"rgb(35, 1, 74)","vs-color-icon-accent-whisky":"rgb(241, 135, 1)","vs-color-icon-accent-cranachan":"rgb(255, 71, 111)","vs-color-icon-accent-buachaille":"rgb(255, 212, 0)","vs-color-interaction-focus":"rgb(51, 105, 255)","vs-color-interaction-focus-on-bold":"rgb(255, 250, 153)","vs-color-interaction-cta-primary":"rgb(31, 73, 214)","vs-color-interaction-cta-secondary":"rgb(255, 255, 255)","vs-color-interaction-cta-hover":"rgb(23, 53, 156)","vs-color-interaction-cta-pressed":"rgb(17, 40, 118)","vs-color-interaction-cta-disabled":"rgb(233, 233, 233)","vs-color-interaction-cta-subtle-hover":"rgb(214, 229, 255)","vs-color-interaction-cta-subtle-pressed":"rgb(51, 105, 255)","vs-color-interaction-link-primary":"rgb(31, 73, 214)","vs-color-interaction-link-active":"rgb(17, 40, 118)","vs-color-interaction-link-visited":"rgb(168, 48, 140)","vs-color-interaction-link-disabled":"rgb(144, 144, 144)","vs-color-interaction-link-visited-on-bold":"rgb(214, 229, 255)","vs-color-text-primary":"rgb(32, 15, 46)","vs-color-text-secondary":"rgb(96, 96, 96)","vs-color-text-tertiary":"rgb(83, 83, 150)","vs-color-text-inverse":"rgb(255, 255, 255)","vs-color-text-cta-on-light":"rgb(31, 73, 214)","vs-color-text-highlight":"rgb(168, 48, 140)","vs-color-text-brand":"rgb(91, 36, 135)","vs-color-text-error":"rgb(148, 15, 44)","vs-color-text-success":"rgb(3, 170, 70)","vs-color-text-disabled":"rgb(144, 144, 144)","breakpoint_xl":"1200px","grid_container_width_xl":"1116px","breakpoint_md":"768px","max_container_width_xl":"1140px","grid_container_width_md":"696px","breakpoint_sm":"576px","breakpoint_lg":"992px","breakpoint_xs":"0","max_container_width_md":"720px","grid_container_width_sm":"516px","grid_container_width_lg":"936px","max_container_width_sm":"540px","max_container_width_lg":"960px","max_container_width_xxl":"1340px","grid_container_width_xxl":"1316px","breakpoint_xxl":"1400px","grid_columns":"12","grid_gutter_width":"24px","spacer-0":"0","spacer-0125":"0.125rem","spacer-025":"0.25rem","spacer-050":"0.5rem","spacer-075":"0.75rem","spacer-100":"1rem","spacer-125":"1.25rem","spacer-150":"1.5rem","spacer-175":"1.75rem","spacer-200":"2rem","spacer-250":"2.5rem","spacer-300":"3rem","spacer-400":"4rem","spacer-500":"5rem","spacer-600":"6rem","spacer-700":"7rem","vs-elevation-shadow-raised":"0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)","vs-elevation-shadow-overlay":"0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15)","vs-elevation-surface":"#ffffff","vs-elevation-surface-section":"#F2F2F8","vs-elevation-surface-raised":"#ffffff","vs-elevation-surface-overlay":"#ffffff","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.125rem","font-size-6":"1.25rem","font-size-7":"1.375rem","font-size-8":"1.5rem","font-size-9":"1.875rem","font-size-10":"2.5rem","font-size-body":"1rem","font-size-body-md":"1.125rem","font-size-lead":"1.125rem","font-size-lead-md":"1.25rem","font-size-teaser":"1rem","font_weight_bold":"700","font_weight_semi_bold":"600","font_weight_normal":"400","font_weight_light":"300","font-family-sans-serif":"\'Source Sans Pro\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, \'Helvetica Neue\', Arial, sans-serif, \'Apple Color Emoji\', \'Segoe UI Emoji\', \'Segoe UI Symbol\'","display-font-family":"\'evelethclean-regular\', sans-serif, $font-family-sans-serif","icon_size_xxs":"12px","icon_size_xs":"16px","icon_size_sm":"20px","icon_size_md":"24px","icon_size_lg":"30px","icon_size_xl":"40px","opacity_100":"1","opacity_50":"0.5","opacity_0":"0","duration_quickly":".08s","duration_base":".2s","duration_slowly":".5s","vs-box-shadow-focus":"0 0 0 2px $vs-color-interaction-focus","vs-box-shadow-focus-on-dark":"0 0 0 2px $vs-color-interaction-focus-on-bold","display-l":"2.875rem","display-m":"2.5625rem","display-s":"2rem","display-xs":"1.4375rem","heading-xxl":"2.5625rem","heading-xl":"2.25rem","heading-l":"2rem","heading-m":"1.8125rem","heading-s":"1.625rem","heading-xs":"1.4375rem","heading-xxs":"1.25rem","heading-xxxs":"1.125rem","sub-heading-l":"1.4375rem","sub-heading-m":"1.25rem","sub-heading-s":"1.125rem","letter_spacing_xxl":"2px","letter_spacing_xl":"1.4px","letter_spacing_l":"1px","letter_spacing_m":"0.5px","letter_spacing_s":"-0.5px","letter_spacing_xs":"-1px","border_radius_default":"0.25rem","border_radius_xl":"0.5rem","border_radius_lg":"0.3rem","border_radius_sm":"0.2rem","border_radius_pill":"50rem","line_height_m":"1.6","line_height_xl":"2","line_height_s":"1.3","line-height-sub-heading":"1.3","line_height_xs":"1","line_height_lead":"1.55","line_height_standard":"1.2","line-height-body":"1.5","line-height-heading":"1.2","line_height_l":"1.8","no_javascript":"no-js","theme_dark":"rgb(42, 40, 41)","theme_grey":"rgb(239, 239, 239)","tracking-heading":"-0.01em","tracking-sub-heading":"0em","tracking-body":"0.01em"}')}}]);
@@ -1 +1 @@
1
- [class*=vs-heading--display-]{font-family:"evelethclean-regular",sans-serif,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";letter-spacing:.02em}[class*=vs-heading--display-] .vs-heading__sub-heading{font-family:var(--bs-font-sans-serif);font-weight:600}[class*=vs-heading--heading-]{letter-spacing:-0.01em}.vs-heading{line-height:1.2;font-weight:600}.vs-heading--display-l{font-size:2.875rem;margin:1rem 0 .75rem}.vs-heading--display-m{font-size:2.5625rem;margin:1rem 0 .75rem}.vs-heading--display-s{font-size:2rem;margin:1rem 0 .75rem}.vs-heading--display-xs{font-size:1.4375rem;margin:1rem 0 .75rem}.vs-heading--heading-xxl{font-size:2.5625rem;margin:1rem 0 .75rem}.vs-heading--heading-xl{font-size:2.25rem;margin:1rem 0 .75rem}.vs-heading--heading-l{font-size:2rem;margin:1rem 0 .75rem}.vs-heading--heading-m{font-size:1.8125rem;margin:.75rem 0 .5rem}.vs-heading--heading-s{font-size:1.625rem;margin:.75rem 0 .5rem}.vs-heading--heading-xs{font-size:1.4375rem;margin:.75rem 0 .5rem}.vs-heading--heading-xxs{font-size:1.25rem;margin:.75rem 0 .5rem}.vs-heading .vs-heading__sub-heading{display:block;font-weight:400;line-height:1.3;letter-spacing:0em}.vs-heading .vs-heading__sub-heading--l{font-size:1.4375rem;margin-top:.5rem}.vs-heading .vs-heading__sub-heading--m{font-size:1.25rem;margin-top:.25rem}.vs-heading .vs-heading__sub-heading--s{font-size:1.125rem;margin-top:.25rem}
1
+ [class*=vs-heading--display-]{font-family:"evelethclean-regular",sans-serif,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";letter-spacing:.02em}[class*=vs-heading--display-] .vs-heading__sub-heading{font-family:var(--bs-font-sans-serif);font-weight:600}[class*=vs-heading--heading-]{letter-spacing:-0.01em}.vs-heading{line-height:1.2;font-weight:600}.vs-heading--display-l{font-size:2.875rem;margin:1rem 0 .75rem}.vs-heading--display-m{font-size:2.5625rem;margin:1rem 0 .75rem}.vs-heading--display-s{font-size:2rem;margin:1rem 0 .75rem}.vs-heading--display-xs{font-size:1.4375rem;margin:1rem 0 .75rem}.vs-heading--heading-xxl{font-size:2.5625rem;margin:1rem 0 .75rem}.vs-heading--heading-xl{font-size:2.25rem;margin:1rem 0 .75rem}.vs-heading--heading-l{font-size:2rem;margin:1rem 0 .75rem}.vs-heading--heading-m{font-size:1.8125rem;margin:.75rem 0 .5rem}.vs-heading--heading-s{font-size:1.625rem;margin:.75rem 0 .5rem}.vs-heading--heading-xs{font-size:1.4375rem;margin:.75rem 0 .5rem}.vs-heading--heading-xxs{font-size:1.25rem;margin:.75rem 0 .5rem}.vs-heading--heading-xxxs{font-size:1.125rem;margin:.75rem 0 .5rem}.vs-heading .vs-heading__sub-heading{display:block;font-weight:400;line-height:1.3;letter-spacing:0em}.vs-heading .vs-heading__sub-heading--l{font-size:1.4375rem;margin-top:.5rem}.vs-heading .vs-heading__sub-heading--m{font-size:1.25rem;margin-top:.25rem}.vs-heading .vs-heading__sub-heading--s{font-size:1.125rem;margin-top:.25rem}
@@ -200,6 +200,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
200
200
  "heading-s": string;
201
201
  "heading-xs": string;
202
202
  "heading-xxs": string;
203
+ "heading-xxxs": string;
203
204
  "sub-heading-l": string;
204
205
  "sub-heading-m": string;
205
206
  "sub-heading-s": string;
@@ -2618,6 +2618,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2618
2618
  "heading-s": string;
2619
2619
  "heading-xs": string;
2620
2620
  "heading-xxs": string;
2621
+ "heading-xxxs": string;
2621
2622
  "sub-heading-l": string;
2622
2623
  "sub-heading-m": string;
2623
2624
  "sub-heading-s": string;
@@ -237,6 +237,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
237
237
  "heading-s": string;
238
238
  "heading-xs": string;
239
239
  "heading-xxs": string;
240
+ "heading-xxxs": string;
240
241
  "sub-heading-l": string;
241
242
  "sub-heading-m": string;
242
243
  "sub-heading-s": string;
@@ -427,6 +427,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
427
427
  "heading-s": string;
428
428
  "heading-xs": string;
429
429
  "heading-xxs": string;
430
+ "heading-xxxs": string;
430
431
  "sub-heading-l": string;
431
432
  "sub-heading-m": string;
432
433
  "sub-heading-s": string;
@@ -262,6 +262,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
262
262
  "heading-s": string;
263
263
  "heading-xs": string;
264
264
  "heading-xxs": string;
265
+ "heading-xxxs": string;
265
266
  "sub-heading-l": string;
266
267
  "sub-heading-m": string;
267
268
  "sub-heading-s": string;
@@ -229,6 +229,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
229
229
  "heading-s": string;
230
230
  "heading-xs": string;
231
231
  "heading-xxs": string;
232
+ "heading-xxxs": string;
232
233
  "sub-heading-l": string;
233
234
  "sub-heading-m": string;
234
235
  "sub-heading-s": string;
@@ -447,6 +447,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
447
447
  "heading-s": string;
448
448
  "heading-xs": string;
449
449
  "heading-xxs": string;
450
+ "heading-xxxs": string;
450
451
  "sub-heading-l": string;
451
452
  "sub-heading-m": string;
452
453
  "sub-heading-s": string;