!function(){var e,t=window.location.search.substring(1),o=(e=t)&&""!==e?JSON.parse('{"'+e.replace(/^(.*)\?/,"").split(/[&;]\s?/g).map((function(e){return e.replace(/=/,'":"')})).join('","')+'"}',(function(e,t){return""===e?t:decodeURIComponent(t)})):{},r={};document.cookie&&document.cookie.split(/\s*;\s*/).forEach((function(e){e=e.split(/\s*=\s*/),r[e[0]]=e.splice(1).join("=")})),o.StoreGuid&&(r._storeID=o.StoreGuid,document.cookie="_storeID="+o.StoreGuid+"; path=/;");var n="true"===r._showThemeAsDraft?"true":"false",s=window.location.href;s.endsWith("/")||(s+="/");var[,,a]=s.toLowerCase().includes("ustorethemes")?/(.*?\/ustorethemes\/.*?\/\d+)(\/[a-z]{2}-[a-z]+[?/]|$)/i.exec(s):/(.*?)(\/[a-z]{2}-[a-z]+[?/]|$)/i.exec(s);if(a=a.replace(/\//g,""),s&&a&&s.length>0){var c=r._language?r._language:a;window.onload=function(){fetch("/uStoreRestAPI/v1/store/resourceByUrl?url="+encodeURIComponent(s)+"&type=5&cultureCode="+c+"&isDraft=false").then((function(e){return e.text()})).then((function(e){const t=e.match(/UA-[0-9]*-[0-9]/),o=e.match(/<script(.*)<\/script>/s);if(t&&t.length>0)r=window,n=document,s="script",a="ga",r.GoogleAnalyticsObject=a,r[a]=r[a]||function(){(r[a].q=r[a].q||[]).push(arguments)},r[a].l=1*new Date,c=n.createElement(s),i=n.getElementsByTagName(s)[0],c.async=1,c.src="https://www.google-analytics.com/analytics.js",i.parentNode.insertBefore(c,i),window.ga("create",t[0],"auto"),window.ga("send","pageview",window.location.asPath);else if(o&&o.length>0){const e=(new DOMParser).parseFromString(o[0],"text/html").getElementsByTagName("script"),t=document.getElementsByTagName("script")[0];Array.from(e).forEach((e=>t.parentNode.insertBefore(e,t)))}var r,n,s,a,c,i}))},document.writeln('<script type="application/javascript" src="'+window.uStoreConfig.uStoreRemoteServerUrl+"/uStoreRestAPI/v1/store/resourceByUrl?url="+encodeURIComponent(s)+"&type=1&cultureCode="+c+'&isDraft=false"><\/script>'),document.writeln('<script type="application/javascript" src="'+window.uStoreConfig.uStoreRemoteServerUrl+"/uStoreRestAPI/v1/store/resourceByUrl?url="+encodeURIComponent(s)+"&type=6&cultureCode="+c+"&isDraft="+n+'"><\/script>')}}();