1var tagalysDisableLegacyScript=!0;const setTagalysConfiguration=function(){window.Tagalys.setConfiguration({api:{serverUrl:window.theme.tagalysServerUrl,apiKey:window.theme.tagalysApiKey},locale:"en-US",numberFormatter:function(number){return number=parseFloat(number),window.theme.store=="EU"?(number=number.toFixed(2),number=number.toString(),number.replace(".",",")):(number=number.toFixed(2),number)},currency:{displayFormatter:window.theme.currentCurrency==="PLN"?"{{value}} {{currencyLabel}}":"{{currencyLabel}}{{value}}",code:window.theme.currentCurrency,label:'<em class="currency-symbol">'+window.theme.currentCurrencySymbol+"</em>",fractionalDigits:2,forceFractionalDigits:!0},analyticsStorageConsentProvided:function(){return window.theme.enableTagalysEventsTracking?window.theme.consentGating&&window.lovisaConsent?window.lovisaConsent.hasStatistics():!0:!1},track:window.theme.enableTagalysEventsTracking&&(!window.theme.consentGating||!window.lovisaConsent||window.lovisaConsent.hasStatistics())})};function setPlatformConfigurationForTagalys(){Tagalys.setPlatformConfiguration({platform:"Shopify",countryCode:window.theme.tagalysCountryCode,baseCountryCode:window.theme.store==="EU"?"DE":window.theme.store,useStorefrontAPIForSecondaryMarkets:!0,waitForStorefrontAPI:!0,storefrontAPI:{accessToken:window.theme.storefrontAPIToken,myShopifyDomain:window.theme.permanent_domain},metafields:{products:[{namespace:"okendo",key:"StarRatingSnippet"},{namespace:"okendo",key:"summaryData"}]}})}function refreshTagalysTrackingConfig(){!window.Tagalys||!window.theme||!window.theme.tagalysServerUrl||setTagalysConfiguration()}function onTagalysReady(callback){function run(){setTagalysConfiguration(),setPlatformConfigurationForTagalys(),callback()}window.Tagalys?run():window.addEventListener("DOMContentLoaded",run),window.theme&&window.theme.consentGating&&window.addEventListener("lovisa:consent-updated",refreshTagalysTrackingConfig)} 2//# sourceMappingURL=/cdn/shop/t/811/assets/tagalys-set-configuration.js.map?v=165177284097908041951789977862
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.