"use strict";(self.webpackChunkUmbracoVuePrototype=self.webpackChunkUmbracoVuePrototype||[]).push([[1511],{7733:(t,i,e)=>{e.d(i,{Z:()=>a});var n=e(7537),o=e.n(n),s=e(3645),r=e.n(s)()(o());r.push([t.id,".footer-navigation ul{padding:0px}.footer-navigation ul li{list-style:none}.footer-navigation ul li a{text-decoration:none}.footer-navigation ul li a .h2-default{color:var(--footer-nav-colour);margin-top:0px;margin-bottom:0px}.footer-navigation ul li a:hover .h2-default{color:var(--footer-nav-hover-colour)}.footer-navigation.horizontal ul{display:flex;flex-direction:row;flex-wrap:wrap}.footer-navigation.horizontal ul li{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center}.footer-navigation.horizontal ul li .line{color:var(--footer-nav-colour);margin:0px 10px;line-height:0 !important;font-size:1.2em !important;font-weight:200 !important}.footer-navigation.horizontal.center ul{justify-content:center}","",{version:3,sources:["webpack://./Scripts/src/vue-components/_footer/navigation/style.scss"],names:[],mappings:"AACE,sBACE,WAAA,CACA,yBACE,eAAA,CACA,2BACE,oBAAA,CACA,uCACE,8BAAA,CACA,cAAA,CACA,iBAAA,CAIF,6CACE,oCAAA,CAMN,iCACE,YAAA,CACA,kBAAA,CACA,cAAA,CACA,oCACE,YAAA,CACA,kBAAA,CACA,gBAAA,CACA,kBAAA,CACA,0CACE,8BAAA,CACA,eAAA,CACA,wBAAA,CACA,0BAAA,CACA,0BAAA,CAKJ,wCACE,sBAAA",sourcesContent:[".footer-navigation {\r\n ul {\r\n padding: 0px;\r\n li {\r\n list-style: none;\r\n a {\r\n text-decoration: none;\r\n .h2-default {\r\n color: var(--footer-nav-colour);\r\n margin-top: 0px;\r\n margin-bottom: 0px;\r\n }\r\n }\r\n a:hover {\r\n .h2-default {\r\n color: var(--footer-nav-hover-colour);\r\n }\r\n }\r\n }\r\n }\r\n &.horizontal {\r\n ul {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n li {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n align-items: center;\r\n .line {\r\n color: var(--footer-nav-colour);\r\n margin: 0px 10px;\r\n line-height: 0!important;\r\n font-size: 1.2em!important;\r\n font-weight: 200!important;\r\n }\r\n }\r\n }\r\n &.center {\r\n ul {\r\n justify-content: center;\r\n }\r\n }\r\n }\r\n}\r\n"],sourceRoot:""}]);const a=r},5129:(t,i,e)=>{e.d(i,{v:()=>o});var n=e(4437);class o{constructor(t,i){this.size="",this.colour="",this.hoverColour="",this.weight="",this.type="",this.textShadow="",this.lineHeight="",this.letterSpacing="",t||(t={}),this.setupDefaults(i),this.size=(0,n.G)().size(t.size,this.size),this.colour=(0,n.G)().colour(t.colour,this.colour),this.hoverColour=(0,n.G)().colour(t.hoverColour,this.hoverColour),this.weight=(0,n.G)().fontWeight(t.weight,this.weight),this.type=(0,n.G)().string(t.type,this.type),this.textShadow=(0,n.G)().string(t.textShadow,this.textShadow),this.lineHeight=(0,n.G)().lineHeight(String(t.lineHeight),this.lineHeight),this.letterSpacing=(0,n.G)().size(t.letterSpacing,this.letterSpacing)}setupDefaults(t){void 0!==t&&Object.entries(t).forEach((([t,i])=>{void 0!==this[t]&&(this[t]=i)}))}getStyle(){const t={};return""!==this.size&&(t["font-size"]=this.size),""!==this.type&&(t["font-family"]=this.type),""!==this.weight&&(t["font-weight"]=this.weight),""!==this.colour&&(t.color=this.colour),""!==this.hoverColour?t["--hover-colour"]=this.hoverColour:t["--hover-colour"]="var(--a-hover-colour)",""!==this.textShadow&&(t["text-shadow"]=this.textShadow),""!==this.lineHeight&&(t["line-height"]=this.lineHeight),""!==this.letterSpacing&&(t["letter-spacing"]=this.letterSpacing),t}getStyleString(){let t="";return""!==this.size&&(t+="font-size: "+this.size+";"),""!==this.type&&(t+="font-family: "+this.type+";"),""!==this.weight&&(t+="font-weight: "+this.weight+";"),""!==this.colour&&(t+="color: "+this.colour+";"),""!==this.hoverColour?t+="--hover-colour: "+this.hoverColour+";":t+="--hover-colour: var(--a-hover-colour);",""!==this.textShadow&&(t+="text-shadow: "+this.textShadow+";"),""!==this.lineHeight&&(t+="line-height: "+this.lineHeight+";"),""!==this.letterSpacing&&(t+="letter-spacing: "+this.letterSpacing+";"),t}}},1511:(t,i,e)=>{e.r(i),e.d(i,{default:()=>b});var n=e(6252),o=e(3577);const s=["href"];var r=e(4437),a=e(8159),l=e(5129);const h=(0,n.aZ)({mixins:[a.Z],data:()=>({componentModel:{navText:{},linkList:[]},navModel:[],fontStyle:{},textDirection:"",textAlign:"",liSizeStyle:{}}),mounted(){const t=this.$el.parentElement.getAttribute("navigationmodel");null!==t&&(this.navModel=JSON.parse(t));for(let t=0;t0&&(this.navModel[t][1]=this.navModel[t][2][0][1]);null!=this.componentModel.linkList&&(this.navModel=this.navModel.concat(this.componentModel.linkList)),this.textDirection=(0,r.G)().string(this.componentModel.textDirection,"vertical"),this.textAlign=(0,r.G)().textAlign(this.componentModel.justify,"left");const i=new l.v(this.componentModel.navText,{lineHeight:"1.5"});i.colour="",this.fontStyle=i.getStyle(),this.fontStyle.textAlign=this.textAlign,this.fontStyle["--footer-nav-colour"]=(0,r.G)().colour(this.componentModel.navText.colour,"var(--a-colour)"),this.fontStyle["--footer-nav-hover-colour"]=(0,r.G)().colour(this.componentModel.navText.hoverColour,"var(--a-hover-colour)"),this.liSizeStyle={fontSize:(0,r.G)().size(this.componentModel.navText.size,"")}}});var m=e(3379),c=e.n(m),A=e(7795),d=e.n(A),u=e(569),y=e.n(u),p=e(3565),g=e.n(p),v=e(9216),f=e.n(v),C=e(4589),x=e.n(C),w=e(7733),S={};S.styleTagTransform=x(),S.setAttributes=g(),S.insert=y().bind(null,"head"),S.domAPI=d(),S.insertStyleElement=f();c()(w.Z,S);w.Z&&w.Z.locals&&w.Z.locals;const b=(0,e(3744).Z)(h,[["render",function(t,i,e,r,a,l){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["footer-navigation component-margins",[t.textDirection,t.textAlign,t.entryAnimationStyle]])},[(0,n._)("ul",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.navModel,((i,e)=>((0,n.wg)(),(0,n.iD)("li",{key:i[0],style:(0,o.j5)(t.fontStyle)},["horizontal"==t.textDirection&&0!==e?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"line h2-default",style:(0,o.j5)(t.fontStyle)},"|",4)):(0,n.kq)("v-if",!0),(0,n._)("a",{href:i[1]},[(0,n._)("div",{class:"h2-default",style:(0,o.j5)(t.fontStyle)},(0,o.zw)(i[0]),5)],8,s)],4)))),128))])],2)}]])},8159:(t,i,e)=>{e.d(i,{Z:()=>l});var n=e(655),o=e(6252),s=e(4437);class r{constructor(t){this.animationEnable=(0,s.G)().boolean(t.animationEnable,!1),this.animationAlwaysRunOnLoad=(0,s.G)().boolean(t.animationAlwaysRunOnLoad,!1),this.animationDelay=(0,s.G)().number(t.animationDelay,.2),this.animationDuration=(0,s.G)().number(t.animationDuration,.3),this.animationDirection=(0,s.G)().string(t.animationDirection,"bottom")}}var a=e(4572);const l=(0,o.aZ)({data:()=>({backgroundUrl:"",componentModel:{},componentWidth:0,isDesktopSize:!0,themeId:"",elementContainer:{},entryAnimations:{},entryAnimationStyle:{},loadState:{},observer:{},observerFirstRun:!0}),watch:{loadState(t,i){1==t&&this.entryAnimations.animationEnable&&this.setupEntryAnimationObserver(this.runEntryAnimations)}},beforeUnmount:function(){window.removeEventListener("resize",this.handleResize)},mounted(){const t=this.$el.parentElement.getAttribute("umbracomodel");this.componentModel="null"!==t&&null!=t?JSON.parse(t):{},this.componentModel.entryAnimations||(this.componentModel.entryAnimations={}),this.initiateEntryAnimations(),this.elementContainer=this.$el.closest(".component-margins");const i=window.innerWidth;this.initiateMargins(i),this.initiatePadding(i),this.initiateHeight(),this.initiateResizeListener(),(0,a.y)().addLoadedModule(),this.loadState=(0,a.y)().getLoadState()},onUnmounted(){if(this.entryAnimations.animationEnable)try{this.observer.unobserve(this.elementContainer)}catch(t){}},methods:{delay(t){return(0,n.mG)(this,void 0,void 0,(function*(){return new Promise((i=>setTimeout(i,t)))}))},handleResize(t){this.componentWidth=this.$el.clientWidth,this.resizeWindow()},resizeWindow(){const t=window.innerWidth;t>991!==this.isDesktopSize&&(this.initiateMargins(t),this.initiatePadding(t),this.calculateSize(t))},initiateResizeListener(){window.addEventListener("resize",this.handleResize),this.$el&&(this.componentWidth=this.$el.clientWidth);const t=window.innerWidth;this.calculateSize(t)},calculateSize(t){this.isDesktopSize=t>991},initiateMargins(t){t>991?this.setMargins(this.componentModel.moduleMargin):this.setMargins(this.componentModel.moduleMarginMobile)},initiatePadding(t){t>991?this.setPadding(this.componentModel.modulePadding):this.setPadding(this.componentModel.modulePaddingMobile)},setMargins(t){null!==this.elementContainer&&t&&(this.elementContainer.style.marginTop=t.top?(0,s.G)().size(t.top,"0px"):"0px",this.elementContainer.style.marginBottom=t.bottom?(0,s.G)().size(t.bottom,"0px"):"0px",this.elementContainer.style.marginLeft=t.left?(0,s.G)().size(t.left,"0px"):"0px",this.elementContainer.style.marginRight=t.right?(0,s.G)().size(t.right,"0px"):"0px")},setPadding(t){null!==this.elementContainer&&t&&(this.elementContainer.style.paddingTop=t.top?(0,s.G)().size(t.top,"0px"):"0px",this.elementContainer.style.paddingBottom=t.bottom?(0,s.G)().size(t.bottom,"0px"):"0px",this.elementContainer.style.paddingLeft=t.left?(0,s.G)().size(t.left,"0px"):"0px",this.elementContainer.style.paddingRight=t.right?(0,s.G)().size(t.right,"0px"):"0px")},initiateHeight(){if(null!==this.elementContainer){let t;t=this.componentModel.moduleHeight?(0,s.G)().size(this.componentModel.moduleHeight,"auto"):"auto",this.elementContainer.style.height=t,(t.includes("vh")||t.includes("vmax"))&&(this.elementContainer.style.maxHeight="2300px"),this.elementContainer.style.overflow="hidden"}},initiateEntryAnimations(){if(this.entryAnimations=new r(this.componentModel.entryAnimations),this.entryAnimations.animationEnable)switch(this.entryAnimationStyle.opacity="0!important",this.entryAnimations.animationDirection){case"bottom":this.entryAnimationStyle.bottom="-20vh";break;case"top":this.entryAnimationStyle.top="-20vh";break;case"left":this.entryAnimationStyle.left="-20vw";break;case"right":this.entryAnimationStyle.right="-20vw"}},setupEntryAnimationObserver(){return(0,n.mG)(this,void 0,void 0,(function*(){this.entryAnimations.animationAlwaysRunOnLoad&&(this.observerFirstRun=!1),this.observer=new IntersectionObserver((t=>{t[0].isIntersecting&&this.runEntryAnimations(),this.observerFirstRun=!1}),{threshold:[.3]}),this.observer.observe(this.elementContainer)}))},runEntryAnimations(){return(0,n.mG)(this,void 0,void 0,(function*(){switch(this.observerFirstRun?this.entryAnimationStyle.transition="none!important":this.entryAnimationStyle.transition="opacity "+this.entryAnimations.animationDuration+"s ease-in-out "+this.entryAnimations.animationDelay+"s,bottom "+this.entryAnimations.animationDuration+"s ease-in-out "+this.entryAnimations.animationDelay+"s,top "+this.entryAnimations.animationDuration+"s ease-in-out "+this.entryAnimations.animationDelay+"s,left "+this.entryAnimations.animationDuration+"s ease-in-out "+this.entryAnimations.animationDelay+"s,right "+this.entryAnimations.animationDuration+"s ease-in-out "+this.entryAnimations.animationDelay+"s",this.entryAnimationStyle.opacity="1",this.entryAnimations.animationDirection){case"bottom":this.entryAnimationStyle.bottom="0px";break;case"top":this.entryAnimationStyle.top="-0px";break;case"left":this.entryAnimationStyle.left="-0px";break;case"right":this.entryAnimationStyle.right="-0px"}this.observer.unobserve(this.elementContainer);try{let t=this.entryAnimations.animationDuration+this.entryAnimations.animationDelay;yield this.delay(1e3*t),this.entryAnimationStyle={}}catch(t){this.entryAnimationStyle={},console.log("Core mixin addition failed.")}}))}}})}}]); //# sourceMappingURL=source-maps-1.2/1511.4c66d04c4cd6b85b2ef6.map