@visitscotland/component-library 4.15.0 → 4.16.0

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 (28) hide show
  1. package/dist/client/manifest.json +12 -88
  2. package/dist/client/scripts/{631e11020ec46983d69f.js → 15c2d1d184277c047af6.js} +1 -1
  3. package/dist/client/scripts/{1dff873fc4ae2fd57b3a.js → 555732ce2d102a46aa59.js} +1 -1
  4. package/dist/client/scripts/928db03650de19b76864.js +1 -0
  5. package/dist/client/scripts/{af644b6a04d970585db0.js → cabf725209a64f20f833.js} +1 -1
  6. package/dist/client/styles/928db03650de19b76864.css +1 -0
  7. package/dist/components/components/global-menu/GlobalMenu.vue.d.ts +0 -1223
  8. package/dist/components/components/global-menu/index.d.ts +0 -4
  9. package/dist/components/vs-component-library.css +1 -1
  10. package/dist/components/vs-component-library.js +8 -8
  11. package/dist/components/vs-component-library.mjs +629 -755
  12. package/dist/ssr/index.js +1 -1
  13. package/dist/ssr/manifest.json +1 -1
  14. package/dist/ssr/styles/{c064df6d870a00b71918.css → 502348472ab488bc21f8.css} +1 -3
  15. package/package.json +1 -1
  16. package/dist/client/scripts/4992ecb311d9a13a34ec.js +0 -1
  17. package/dist/client/scripts/76d4a3208f24e16fa8dc.js +0 -1
  18. package/dist/client/scripts/7d558de1157009ef00f7.js +0 -1
  19. package/dist/client/scripts/9f5be1d689eea0ada38a.js +0 -1
  20. package/dist/client/scripts/e8c12fd53d33adbc7857.js +0 -1
  21. package/dist/client/styles/4992ecb311d9a13a34ec.css +0 -1
  22. package/dist/client/styles/76d4a3208f24e16fa8dc.css +0 -1
  23. package/dist/client/styles/7d558de1157009ef00f7.css +0 -1
  24. package/dist/components/components/global-menu/components/GlobalMenuDropdown.vue.d.ts +0 -1177
  25. package/dist/components/components/global-menu/components/GlobalMenuList.vue.d.ts +0 -64
  26. /package/dist/client/styles/{631e11020ec46983d69f.css → 15c2d1d184277c047af6.css} +0 -0
  27. /package/dist/client/styles/{1dff873fc4ae2fd57b3a.css → 555732ce2d102a46aa59.css} +0 -0
  28. /package/dist/client/styles/{af644b6a04d970585db0.css → cabf725209a64f20f833.css} +0 -0
@@ -20,7 +20,7 @@
20
20
  "index.js"
21
21
  ],
22
22
  "styles": [
23
- "styles/c064df6d870a00b71918.css"
23
+ "styles/502348472ab488bc21f8.css"
24
24
  ]
25
25
  }
26
26
  }
@@ -70,11 +70,9 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
70
70
  .vs-recaptcha__embed--error>div{outline:2px solid #940f2c;margin-top:.5rem}
71
71
  label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{font-size:1rem;color:#940f2c;display:block}.hint-text{font-size:1rem;color:#606060;margin-bottom:0}.vs-textarea{border:#535396 1px solid;margin-top:.5rem}.vs-textarea.form-control-md{height:50px}.vs-textarea:focus{border-color:#3369ff;box-shadow:0 0 0 2px #3369ff inset;outline:none}.vs-textarea--error{border-color:#940f2c;box-shadow:0 0 0 2px #940f2c inset}.vs-textarea:disabled{background-color:#fff;border-color:#909090;color:#909090}
72
72
  .vs-form__content{font-size:1.25rem}.vs-form label{font-weight:600;margin-bottom:0}.vs-form fieldset>div{margin-bottom:1.5rem}.vs-form__no-js{display:none}.no-js .vs-form>form{display:none}.no-js .vs-form__no-js{display:block}
73
- .vs-global-menu__dropdown .btn,.vs-global-menu__dropdown{position:initial;flex:auto;background:rgba(0,0,0,0);border:none}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle,.vs-global-menu__dropdown .btn-primary.dropdown-toggle{font-size:.75rem;align-items:center}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active{background:#fff;color:#200f2e}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active:after,.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active .vs-icon,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active:after,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active .vs-icon{color:#200f2e;transition:.2s color}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:focus,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:hover,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:hover{background:#33225d}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{min-width:auto;margin:0;background:#5b2487;max-height:0;overflow:hidden;opacity:0}@media(max-width: 991.98px){.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{width:100% !important}}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li:not(:last-of-type),.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li:not(:last-of-type){border-bottom:1px solid #fff}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item{font-size:.75rem;padding:.75rem;color:#fff;text-decoration:none;line-height:1}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item:hover,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item:hover{background:#33225d}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item:focus,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item:focus{background:#5b2487;box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu.show,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu.show{max-height:500px;opacity:1;border:none;padding:0}.vs-global-menu__dropdown .btn .no-js,.vs-global-menu__dropdown .no-js{display:none}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages{display:none}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages.vs-dropdown--fallback{display:block}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{position:relative !important}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li{border-bottom:0}
74
73
  .vs-global-menu__languages{position:static}.vs-global-menu__languages .dropdown-menu{width:100%;background:#5b2487;font-size:.75rem;margin:0;padding:0}.vs-global-menu__languages .dropdown-menu.show,.no-js .vs-global-menu__languages .dropdown-menu{border:none}@media(min-width: 992px){.vs-global-menu__languages .dropdown-menu{width:100%;min-width:130px}}.vs-global-menu__languages .btn-primary.dropdown-toggle{font-size:.75rem;background:#5b2487;border:none}@media(min-width: 992px){.vs-global-menu__languages .btn-primary.dropdown-toggle{padding:.75rem 1rem .75rem .75rem}}.vs-global-menu__languages .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active{background:#fff;color:#200f2e}.vs-global-menu__languages .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active:after,.vs-global-menu__languages .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active .vs-icon{color:#200f2e;transition:.2s color}.vs-global-menu__languages .btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset;background:#5b2487}.vs-global-menu__languages .btn-primary.dropdown-toggle:hover{background:#33225d}@media(min-width: 992px){.vs-global-menu__languages{position:relative}}.vs-global-menu__languages__icon,.vs-global-menu__languages__text{display:none}@media(min-width: 992px){.vs-global-menu__languages__icon,.vs-global-menu__languages__text{display:inline}}.vs-global-menu__languages__text{padding-left:.25rem}@media(min-width: 992px){.vs-global-menu__languages__selected{padding-left:.25rem}}.vs-global-menu__languages__label{display:none}.no-js .vs-global-menu__languages{display:block;width:100%}.no-js .vs-global-menu__languages .dropdown-menu{max-height:700px;opacity:1;position:initial;display:flex !important;width:100%;flex-wrap:wrap;transform:translate3d(0px, 0px, 0px) !important;text-align:center;max-height:none;border-top:1px solid #fff;padding:.75rem 0}@media(min-width: 768px){.no-js .vs-global-menu__languages .dropdown-menu{display:inline-flex;flex-wrap:wrap;text-align:left}}.no-js .vs-global-menu__languages__label{display:inline;color:#fff;padding:.75rem;line-height:1.3;font-size:1rem;margin:0 auto}@media(min-width: 768px){.no-js .vs-global-menu__languages__label{padding:1rem .75rem;margin:0}}@media(min-width: 992px){.no-js .vs-global-menu__languages__label{padding:1rem .75rem 1rem 0}}
75
74
  .vs-dropdown .dropdown-menu .vs-global-menu__languages__item:not(:last-of-type){border-bottom:1px solid #fff}.vs-dropdown .dropdown-menu .vs-global-menu__languages__item .dropdown-item{padding:.75rem;color:#fff;text-decoration:none;line-height:1}.vs-dropdown .dropdown-menu .vs-global-menu__languages__item .dropdown-item:hover{background:#33225d}.vs-dropdown .dropdown-menu .vs-global-menu__languages__item .dropdown-item:focus{background:#5b2487;box-shadow:0 0 0 2px #fffa99 inset}.no-js .vs-global-menu__languages__item{width:100%;border:none}@media(min-width: 768px){.no-js .vs-global-menu__languages__item{width:auto;padding:.75rem}}.no-js .vs-global-menu__languages__item .dropdown-item{color:#fff;text-decoration:underline;font-size:1rem}.no-js .vs-global-menu__languages__item .dropdown-item:hover{background:rgba(0,0,0,0);text-decoration:none}@media(min-width: 768px){.no-js .vs-global-menu__languages__item .dropdown-item{padding:.25rem .5rem}}@media(min-width: 992px){.no-js .vs-global-menu__languages__item .dropdown-item{padding:.25rem 1rem}}
76
- .vs-global-menu__list{position:initial;flex:auto}.vs-global-menu__list_item a{color:#fff;text-decoration:none;transition:.2s all;padding:.75rem 1.25rem;line-height:1;display:inline-block}.vs-global-menu__list_item a:focus{outline:0;box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__list_item a:hover{background:#d6e5ff}.vs-global-menu__list_item a:active{background:#fff;color:#200f2e;outline:none}.vs-global-menu__list_item--active a{background:#fff;color:#200f2e}.vs-global-menu__list_item--active a:hover{background:#fff}.vs-global-menu__list_item--active a:active{background:#fff;color:#200f2e}.no-js .vs-global-menu__list{width:100%;flex-wrap:wrap;display:flex !important}@media(min-width: 768px){.no-js .vs-global-menu__list{flex-wrap:nowrap}}.no-js .vs-global-menu__list_item{display:block;flex-basis:100%}@media(min-width: 768px){.no-js .vs-global-menu__list_item{flex-basis:auto;border:none;margin:0 .5rem}}.no-js .vs-global-menu__list_item:first-of-type{margin-left:0}.no-js .vs-global-menu__list_item:last-of-type{margin-right:0}.no-js .vs-global-menu__list_item a{max-height:none;height:auto;display:block;text-align:center;font-size:1rem;padding:.75rem 1.25rem;line-height:1.2}
77
- .vs-global-menu{background:#5b2487;color:#fff;position:relative;font-size:.75rem;display:flex;align-items:center}.vs-global-menu__wrapper{position:initial;display:flex;align-items:center}@media(max-width: 991.98px){.vs-global-menu__wrapper{margin:0}}@media(max-width: 991.98px){.row:not(.g-0)>.vs-global-menu__wrapper{padding:0}}.no-js .vs-global-menu{height:auto;margin-bottom:1rem}.no-js .vs-global-menu .dropdown-toggle{display:none}.no-js .vs-global-menu__wrapper{display:flex;flex-wrap:wrap}.no-js .vs-global-menu__wrapper .vs-global-menu__websites{display:none}
75
+ .vs-global-menu{background:#5b2487;color:#fff;position:relative;font-size:.75rem;display:flex;align-items:center;min-height:2.25rem}.vs-global-menu__wrapper{position:initial;display:flex;align-items:center;justify-content:end}@media(max-width: 991.98px){.vs-global-menu__wrapper{margin:0}}@media(max-width: 991.98px){.row:not(.g-0)>.vs-global-menu__wrapper{padding:0}}.no-js .vs-global-menu{height:auto;margin-bottom:1rem}.no-js .vs-global-menu .dropdown-toggle{display:none}.no-js .vs-global-menu__wrapper{display:flex;flex-wrap:wrap}.no-js .vs-global-menu__wrapper .vs-global-menu__websites{display:none}
78
76
  .vs-hero-section-image__img{width:100%;height:386px;object-fit:cover}@media(min-width: 576px){.vs-hero-section-image__img{height:514px}}@media(min-width: 992px){.vs-hero-section-image__img{height:648px}}.vs-hero-section-image--split .vs-hero-section-image__img{height:255px}@media(min-width: 576px){.vs-hero-section-image--split .vs-hero-section-image__img{height:408px}}@media(min-width: 992px){.vs-hero-section-image--split .vs-hero-section-image__img{height:540px;border-radius:0 0 0 64px}}.vs-hero-section-image--split .vs-caption{text-align:left}@media(min-width: 992px){.vs-hero-section-image--split .vs-caption{text-align:right}}.vs-hero-section-image--split .vs-caption.vs-caption--fullwidth{min-height:auto}
79
77
  .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{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: 768px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2rem;margin:1rem 0 .75rem}}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}@media(min-width: 1200px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2.5625rem;margin:1rem 0 .75rem;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__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}}
80
78
  .vs-icon-list__item{display:inline-table;text-align:center;width:90px;margin-bottom:1rem;padding:0 .25rem;font-size:.875rem;line-height:1.2}.vs-icon-list__item .vs-icon{margin-bottom:.75rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
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(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsGlobalMenu=e():t.VsGlobalMenu=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8026],{15086:function(){},28685:function(t,e,n){"use strict";var s=n(11438),i=n(37511),o=n(22749),r=n(27718);e.A={name:"VsGlobalMenu",status:"prototype",release:"0.1.0",components:{VsContainer:s.T$,VsRow:s.AQ,VsCol:s.Il,VsGlobalMenuDropdown:o.default,VsGlobalMenuList:r.default,LazyHydrationWrapper:i.A},props:{activeSite:{type:String,required:!0},dropdownLabel:{type:String,default:"Our Websites"}},data:function(){return{websites:[{siteName:"VisitScotland",siteUrl:"https://www.visitscotland.com/"},{siteName:"Business Events",siteUrl:"https://businessevents.visitscotland.com/"},{siteName:"Travel Trade",siteUrl:"https://traveltrade.visitscotland.org/"},{siteName:"Toolkit",siteUrl:"https://toolkit.visitscotland.org/"},{siteName:"Corporate",siteUrl:"https://www.visitscotland.org/"}]}}}},32542:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var s=n(20641),i={class:"vs-global-menu"};function o(t,e,n,o,r,l){var a=(0,s.g2)("VsGlobalMenuDropdown"),u=(0,s.g2)("VsGlobalMenuList"),c=(0,s.g2)("VsCol"),d=(0,s.g2)("VsRow"),f=(0,s.g2)("VsContainer"),p=(0,s.g2)("LazyHydrationWrapper");return(0,s.uX)(),(0,s.CE)("nav",i,[(0,s.bF)(p,{"on-interaction":["focus","click"]},{default:(0,s.k6)((function(){return[(0,s.bF)(f,{fluid:"lg",class:"px-025 px-sm-075"},{default:(0,s.k6)((function(){return[(0,s.bF)(d,null,{default:(0,s.k6)((function(){return[(0,s.bF)(c,{cols:"12",class:"vs-global-menu__wrapper"},{default:(0,s.k6)((function(){return[(0,s.bF)(a,{class:"d-lg-none","active-site":n.activeSite,"dropdown-label":n.dropdownLabel,websites:r.websites},null,8,["active-site","dropdown-label","websites"]),(0,s.bF)(u,{class:"d-none d-lg-flex","active-site":n.activeSite,websites:r.websites},null,8,["active-site","websites"]),(0,s.RG)(t.$slots,"second-menu-item"),(0,s.RG)(t.$slots,"third-menu-item")]})),_:3})]})),_:3})]})),_:3})]})),_:3})])}},25384:function(t,e,n){"use strict";var s=n(85072),i=n.n(s),o=n(97825),r=n.n(o),l=n(77659),a=n.n(l),u=n(55056),c=n.n(u),d=n(10540),f=n.n(d),p=n(41113),b=n.n(p),v=n(15086),m=n.n(v),w={};w.styleTagTransform=b(),w.setAttributes=c(),w.insert=a().bind(null,"head"),w.domAPI=r(),w.insertStyleElement=f(),i()(m(),w),m()&&m().locals&&m().locals},99323:function(t,e,n){"use strict";n.r(e);var s=n(94510),i=n(4833);n(88356);const o=(0,n(66262).A)(i.A,[["render",s.X]]);e.default=o},4833:function(t,e,n){"use strict";n.d(e,{A:function(){return s.A}});var s=n(28685)},94510:function(t,e,n){"use strict";n.d(e,{X:function(){return s.X}});var s=n(32542)},88356:function(t,e,n){"use strict";n(25384)}},function(t){return t.O(0,[641,6262,7510,3751,4352,2543,7511,8638,2368,7521,1438,4448,2710,3130,2749,7718],(function(){return t(t.s=99323)})),t.O()}])}));
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2749],{63540:function(){},98777:function(t,e,n){"use strict";var r=n(62710),s=n(83130);e.A={name:"VsGlobalMenuDropdown",status:"prototype",release:"0.1.0",components:{VsDropdown:r.default,VsDropdownItem:s.default},props:{activeSite:{type:String,required:!0},dropdownLabel:{type:String,default:"Our Websites"},websites:{type:Array,required:!0}}}},30226:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(20641),s=n(90033);function i(t,e,n,i,o,a){var u=(0,r.g2)("VsDropdownItem"),l=(0,r.g2)("VsDropdown");return(0,r.uX)(),(0,r.Wv)(l,{text:n.dropdownLabel,variant:"primary",class:"vs-global-menu__dropdown"},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.websites,(function(t){return(0,r.uX)(),(0,r.Wv)(u,{key:t.siteName,href:t.siteUrl,class:(0,s.normalizeClass)(t.siteUrl==n.activeSite?"d-none":""),target:t.siteUrl==n.activeSite?"_self":"_blank",role:"menuitem"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,s.toDisplayString)(t.siteName),1)]})),_:2},1032,["href","class","target"])})),128))]})),_:1},8,["text"])}},39958:function(t,e,n){"use strict";var r=n(85072),s=n.n(r),i=n(97825),o=n.n(i),a=n(77659),u=n.n(a),l=n(55056),c=n.n(l),d=n(10540),f=n.n(d),p=n(41113),m=n.n(p),v=n(63540),b=n.n(v),w={};w.styleTagTransform=m(),w.setAttributes=c(),w.insert=u().bind(null,"head"),w.domAPI=o(),w.insertStyleElement=f(),s()(b(),w),b()&&b().locals&&b().locals},22749:function(t,e,n){"use strict";n.r(e);var r=n(30226),s=n(73141);n(17250);const i=(0,n(66262).A)(s.A,[["render",r.X]]);e.default=i},73141:function(t,e,n){"use strict";n.d(e,{A:function(){return r.A}});var r=n(98777)},17250:function(t,e,n){"use strict";n(39958)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7718],{19278:function(){},70710:function(t,e,n){"use strict";var s=n(54448);e.A={name:"VsGlobalMenuList",status:"prototype",release:"0.1.0",components:{VsList:s.default},props:{activeSite:{type:String,required:!0},websites:{type:Array,required:!0}}}},99830:function(t,e,n){"use strict";n.d(e,{X:function(){return l}});var s=n(20641),i=n(90033),r=["target","href"];function l(t,e,n,l,a,u){var o=(0,s.g2)("VsList");return(0,s.uX)(),(0,s.Wv)(o,{unstyled:"",inline:"",class:"vs-global-menu__list"},{default:(0,s.k6)((function(){return[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(n.websites,(function(t){return(0,s.uX)(),(0,s.CE)("li",{key:t.siteName,class:(0,i.normalizeClass)(["vs-global-menu__list_item",[t.siteUrl==n.activeSite?"vs-global-menu__list_item--active d-none d-lg-block":""]])},[(0,s.Lk)("a",{target:t.siteUrl==n.activeSite?"_self":"_blank",href:t.siteUrl},(0,i.toDisplayString)(t.siteName),9,r)],2)})),128))]})),_:1})}},87468:function(t,e,n){"use strict";var s=n(85072),i=n.n(s),r=n(97825),l=n.n(r),a=n(77659),u=n.n(a),o=n(55056),c=n.n(o),f=n(10540),_=n.n(f),d=n(41113),v=n.n(d),m=n(19278),b=n.n(m),p={};p.styleTagTransform=v(),p.setAttributes=c(),p.insert=u().bind(null,"head"),p.domAPI=l(),p.insertStyleElement=_(),i()(b(),p),b()&&b().locals&&b().locals},27718:function(t,e,n){"use strict";n.r(e);var s=n(99830),i=n(93762);n(27016);const r=(0,n(66262).A)(i.A,[["render",s.X]]);e.default=r},93762:function(t,e,n){"use strict";n.d(e,{A:function(){return s.A}});var s=n(70710)},27016:function(t,e,n){"use strict";n(87468)}}]);
@@ -1 +0,0 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsGlobalMenuList=t():e.VsGlobalMenuList=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[798],{},function(e){return e.O(0,[641,6262,7510,4448,7718],(function(){return e(e.s=27718)})),e.O()}])}));
@@ -1 +0,0 @@
1
- "use strict";!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.VsGlobalMenuDropdown=o():e.VsGlobalMenuDropdown=o()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4845],{},function(e){return e.O(0,[641,6262,7510,3751,4352,2543,2710,3130,2749],(function(){return e(e.s=22749)})),e.O()}])}));
@@ -1 +0,0 @@
1
- .vs-global-menu{background:#5b2487;color:#fff;position:relative;font-size:.75rem;display:flex;align-items:center}.vs-global-menu__wrapper{position:initial;display:flex;align-items:center}@media(max-width: 991.98px){.vs-global-menu__wrapper{margin:0}}@media(max-width: 991.98px){.row:not(.g-0)>.vs-global-menu__wrapper{padding:0}}.no-js .vs-global-menu{height:auto;margin-bottom:1rem}.no-js .vs-global-menu .dropdown-toggle{display:none}.no-js .vs-global-menu__wrapper{display:flex;flex-wrap:wrap}.no-js .vs-global-menu__wrapper .vs-global-menu__websites{display:none}
@@ -1 +0,0 @@
1
- .vs-global-menu__dropdown .btn,.vs-global-menu__dropdown{position:initial;flex:auto;background:rgba(0,0,0,0);border:none}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle,.vs-global-menu__dropdown .btn-primary.dropdown-toggle{font-size:.75rem;align-items:center}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active{background:#fff;color:#200f2e}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active:after,.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active .vs-icon,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active:after,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:not(:disabled):not(.disabled):active .vs-icon{color:#200f2e;transition:.2s color}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:focus,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__dropdown .btn .btn-primary.dropdown-toggle:hover,.vs-global-menu__dropdown .btn-primary.dropdown-toggle:hover{background:#33225d}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{min-width:auto;margin:0;background:#5b2487;max-height:0;overflow:hidden;opacity:0}@media(max-width: 991.98px){.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{width:100% !important}}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li:not(:last-of-type),.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li:not(:last-of-type){border-bottom:1px solid #fff}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item{font-size:.75rem;padding:.75rem;color:#fff;text-decoration:none;line-height:1}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item:hover,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item:hover{background:#33225d}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu li .dropdown-item:focus,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li .dropdown-item:focus{background:#5b2487;box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__dropdown .btn~.vs-global-menu__languages .dropdown-menu.show,.vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu.show{max-height:500px;opacity:1;border:none;padding:0}.vs-global-menu__dropdown .btn .no-js,.vs-global-menu__dropdown .no-js{display:none}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages{display:none}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages.vs-dropdown--fallback{display:block}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu{position:relative !important}.no-js .vs-global-menu__dropdown~.vs-global-menu__languages .dropdown-menu li{border-bottom:0}
@@ -1 +0,0 @@
1
- .vs-global-menu__list{position:initial;flex:auto}.vs-global-menu__list_item a{color:#fff;text-decoration:none;transition:.2s all;padding:.75rem 1.25rem;line-height:1;display:inline-block}.vs-global-menu__list_item a:focus{outline:0;box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__list_item a:hover{background:#d6e5ff}.vs-global-menu__list_item a:active{background:#fff;color:#200f2e;outline:none}.vs-global-menu__list_item--active a{background:#fff;color:#200f2e}.vs-global-menu__list_item--active a:hover{background:#fff}.vs-global-menu__list_item--active a:active{background:#fff;color:#200f2e}.no-js .vs-global-menu__list{width:100%;flex-wrap:wrap;display:flex !important}@media(min-width: 768px){.no-js .vs-global-menu__list{flex-wrap:nowrap}}.no-js .vs-global-menu__list_item{display:block;flex-basis:100%}@media(min-width: 768px){.no-js .vs-global-menu__list_item{flex-basis:auto;border:none;margin:0 .5rem}}.no-js .vs-global-menu__list_item:first-of-type{margin-left:0}.no-js .vs-global-menu__list_item:last-of-type{margin-right:0}.no-js .vs-global-menu__list_item a{max-height:none;height:auto;display:block;text-align:center;font-size:1rem;padding:.75rem 1.25rem;line-height:1.2}