1var PERSELIO_CLIENTS=[{client_id:"24e0592d-f290-49c0-890b-e2aa94ce52ef",origin:"sexshop_cz",url:"https://static.perselio.com/versions/v3/interactions-sxs.js"},{client_id:"24e0592d-f290-49c0-890b-e2aa94ce52ef",origin:"eros_sk",url:"https://static.perselio.com/versions/v3/interactions-sxssk.js"},{client_id:"ec008fe3-19d3-4cdc-85f5-3bdf457c3ca8",origin:"smarty_sk",url:"https://static.perselio.com/versions/v3/interactions-smrsk.js"}],targitoResolvePerselioUrl=function(t,i){for(var e=0;e<PERSELIO_CLIENTS.length;e++){var r=PERSELIO_CLIENTS[e];if(r.client_id===t&&(!r.origin||r.origin===i))return r.url}return null},targitoGetCurrentScriptFallback=function(){for(var t=null,i=document.getElementsByTagName("script"),e=0;e<i.length;++e){var r=i[e].getAttribute("src");r&&(-1!==r.indexOf("/tr.js")||-1!==r.indexOf("/t.js"))&&i[e].getAttribute("data-id")&&i[e].getAttribute("data-origin")&&(t=i[e])}return t},TargitoQueue={params:{},url:"",tracking_domain:"",other_domains:[],pageview_path:"/PageView",property_path:"/Property",event_path:"/Event",events_path:"/Events",order_path:"/Order",trigger_path:"/Trigger",identify_path:"/Identify",uuidv4_pattern:new RegExp("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[4][0-9a-fA-F]{3}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"),uuidv5_pattern:new RegExp("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[5][0-9a-fA-F]{3}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"),trgid:"",m:"",d:"",client_id:"",origin:"",r20:/%20/g,queue:[],isShopifySandbox:!1,shopifyBrowser:null,shopifyAnalytics:null,shopifyInit:null,currentPageUrl:"",currentReferrer:"",perselio:!1,detectShopifySandbox:function(){if("object"==typeof analytics&&analytics&&"function"==typeof analytics.subscribe&&"object"==typeof browser&&browser&&browser.cookie&&"function"==typeof browser.cookie.get&&"function"==typeof browser.cookie.set)try{if(window.self!==window.top)return!0}catch(t){return!0}return!1},initShopify:function(t){var i=this;if(t&&t.clientId&&t.origin)return this.isShopifySandbox=!0,this.client_id=t.clientId,this.origin=t.origin,this.tracking_domain="t."+(t.domain?t.domain:"targito.com"),console.log("Targito: config.analytics:",t.analytics),console.log("Targito: global analytics:","undefined"!=typeof analytics?analytics:"undefined"),console.log("Targito: config.browser:",t.browser),console.log("Targito: global browser:","undefined"!=typeof browser?browser:"undefined"),this.shopifyBrowser=t.browser||("undefined"!=typeof browser?browser:null),this.shopifyAnalytics=t.analytics||("undefined"!=typeof analytics?analytics:null),this.shopifyInit=t.init||("undefined"!=typeof init?init:null),console.log("Targito: shopifyAnalytics set to:",this.shopifyAnalytics),this.shopifyAnalytics&&console.log("Targito: shopifyAnalytics.subscribe:",typeof this.shopifyAnalytics.subscribe),this.shopifyInit&&this.shopifyInit.context&&this.shopifyInit.context.document&&(this.currentPageUrl=this.shopifyInit.context.document.location.href||""),console.log("Targito: Initializing for Shopify with domain:",this.tracking_domain),this.initShopifyCookiesAsync().then(function(){console.log("Targito: Cookies initialized, trgid:",i.trgid),i.emptyQueue(),i.shopifyAnalytics&&"function"==typeof i.shopifyAnalytics.subscribe?i.subscribeToShopifyEvents():console.warn("Targito: analytics object not available for event subscriptions")}).catch(function(t){console.error("Targito: Cookie initialization failed:",t),i.trgid||(i.trgid=i.randomUuid(),console.log("Targito: Generated new trgid:",i.trgid)),i.emptyQueue()}),this},initShopifyCookiesAsync:function(){var t=this;return new Promise(function(i,e){if(!t.shopifyBrowser||!t.shopifyBrowser.cookie)return t.trgid=t.randomUuid(),void i();var r=[];r.push(t.shopifyBrowser.cookie.get("trgid_"+t.origin).then(function(i){return i&&(t.trgid=i),i}).catch(function(){return t.shopifyBrowser.cookie.get("trgid").then(function(i){return i&&(t.trgid=i),i}).catch(function(){return null})})),r.push(t.readShopifyCookieWithExpirationCheck("trgm_"+t.origin,48).then(function(i){return i&&(t.m=i),i}).catch(function(){return t.readShopifyCookieWithExpirationCheck("trgm",48).then(function(i){return i&&(t.m=i),i}).catch(function(){return null})})),r.push(t.readShopifyCookieWithExpirationCheck("trgd_"+t.origin,48).then(function(i){return i&&(t.d=i),i}).catch(function(){return t.readShopifyCookieWithExpirationCheck("trgd",48).then(function(i){return i&&(t.d=i),i}).catch(function(){return null})})),Promise.all(r).then(function(e){if(!t.trgid&&t.currentPageUrl)try{var r=new
1URL(t.currentPageUrl).searchParams.get("trgid");r&&(t.trgid=r)}catch(t){}if(t.trgid||(t.trgid=t.randomUuid()),t.createCookieShopify("trgid_"+t.origin,t.trgid,3650),!0===t.uuidv5_pattern.test(t.trgid)){var o="https://"+t.tracking_domain+t.identify_path,n=JSON.stringify({id:t.trgid});t.trgid=null,t.sendPostFetch(o,n)}i()}).catch(function(t){e(t)})})},readShopifyCookieWithExpirationCheck:function(t,i){var e=this;return new Promise(function(r,o){e.shopifyBrowser&&e.shopifyBrowser.cookie?e.shopifyBrowser.cookie.get(t).then(function(o){if(o){var n=t+"_ts";e.shopifyBrowser.cookie.get(n).then(function(s){if(!s){var a=(new Date).getTime();return e.createCookieShopify(n,a.toString(),3650),void r(o)}(new Date).getTime()-parseInt(s)>60*i*60*1e3?(e.eraseCookieShopify(t),e.eraseCookieShopify(n),r(null)):r(o)}).catch(function(){r(o)})}else r(null)}).catch(function(){r(null)}):r(null)})},createCookieShopify:function(t,i,e){if(this.shopifyBrowser&&this.shopifyBrowser.cookie)try{this.shopifyBrowser.cookie.set(t,i)}catch(t){}},eraseCookieShopify:function(t){if(this.shopifyBrowser&&this.shopifyBrowser.cookie)try{this.shopifyBrowser.cookie.set(t,"")}catch(t){}},updatePageUrlFromEvent:function(t){try{var i=(t&&t.context||{}).document||{};i.location&&i.location.href&&(this.currentPageUrl=i.location.href),"string"==typeof i.referrer&&(this.currentReferrer=i.referrer)}catch(t){}},subscribeToShopifyEvents:function(){var t=this;this.shopifyAnalytics&&"function"==typeof this.shopifyAnalytics.subscribe?(console.log("Targito: Subscribing to Shopify events..."),this.shopifyAnalytics.subscribe("page_viewed",function(i){console.log("Targito: page_viewed event received"),t.updatePageUrlFromEvent(i),t.pageviewShopify(i)}),this.shopifyAnalytics.subscribe("product_viewed",function(i){console.log("Targito: product_viewed event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).productVariant||{},r=e.product||{};t.event("product_view",{id:e.sku||e.id||r.id||""})}),this.shopifyAnalytics.subscribe("collection_viewed",function(i){console.log("Targito: collection_viewed event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).collection||{};t.event("category_view",{id:e.id||""})}),this.shopifyAnalytics.subscribe("cart_viewed",function(i){console.log("Targito: cart_viewed event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).cart||{};t.handleShopifyCart(e)}),this.shopifyAnalytics.subscribe("checkout_started",function(i){console.log("Targito: checkout_started event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).checkout||{};t.handleShopifyCheckout(e,"started")}),this.shopifyAnalytics.subscribe("checkout_completed",function(i){console.log("Targito: checkout_completed event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).checkout||{};t.handleShopifyOrder(e)}),this.shopifyAnalytics.subscribe("payment_info_submitted",function(i){console.log("Targito: payment_info_submitted event received"),t.updatePageUrlFromEvent(i);var e=(i.data||{}).checkout||{};t.handleShopifyCheckout(e,"payment")}),this.shopifyAnalytics.subscribe("product_added_to_cart",function(i){console.log("Targito: product_added_to_cart event received"),t.updatePageUrlFromEvent(i)}),this.shopifyAnalytics.subscribe("product_removed_from_cart",function(i){console.log("Targito: product_removed_from_cart event received"),t.updatePageUrlFromEvent(i)}),console.log("Targito: Event subscriptions complete")):console.warn("Targito: analytics.subscribe not available")},pageviewShopify:function(t){var i=t.context||{},e=i.document||{},r=i.navigator||{},o=i.window||{},n=e.location?e.location.href:this.currentPageUrl,s={t:(new Date).getTimezoneOffset()/60,r:e.referrer||"",u:n||"",a:r.userAgent||"",l:r.language||"",w:o.innerWidth||0,h:o.innerHeight||0};this.url="https://"+this.tracking_domain+this.pageview_path,this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,pageUrl:n,requestInfo:s},this.sendRequest()},handleShopifyCart:function(t){var i=[];if(t&&"object"==typeof t)if(Array.isArray(t.lines))i=t.lines;else if(t.lines&&Array.isArray(t.lines.nodes))i=t.lines.nodes;
1else if(t.lines&&Array.isArray(t.lines.edges))for(var e=0;e<t.lines.edges.length;e++)t.lines.edges[e]&&t.lines.edges[e].node&&i.push(t.lines.edges[e].node);for(var r,o=[],n=0,s=0;s<i.length;s++){var a=i[s],c=a.merchandise||{},d=c.product||{},h=c.price||a.cost&&a.cost.totalAmount||{},u=parseFloat(h.amount||0),l=parseInt(a.quantity||1);o.push({item_id:c.sku||c.id||d.id||"",item_price:u,item_price_vat:u,item_quantity:l}),n+=u*l}r=n;var g="";if(this.currentPageUrl)try{g=new URL(this.currentPageUrl).origin+"/cart"}catch(t){}this.property("cart",{url:g,total:r,total_vat:n,products:o})},handleShopifyCheckout:function(t,i){var e=[];if(t&&"object"==typeof t)if(Array.isArray(t.lineItems))e=t.lineItems;else if(t.lineItems&&Array.isArray(t.lineItems.nodes))e=t.lineItems.nodes;else if(t.lineItems&&Array.isArray(t.lineItems.edges))for(var r=0;r<t.lineItems.edges.length;r++)t.lineItems.edges[r]&&t.lineItems.edges[r].node&&e.push(t.lineItems.edges[r].node);for(var o=[],n=t.totalPrice||{},s=t.subtotalPrice||{},a=0;a<e.length;a++){var c=e[a],d=c.variant||{},h=d.product||{},u=d.price||c.finalLinePrice||{},l=parseFloat(u.amount||0),g=parseInt(c.quantity||1);o.push({item_id:d.sku||d.id||h.id||"",item_price:l,item_price_vat:l,item_quantity:g})}var f={step:i};if(t.billingAddress){var p=t.billingAddress;f.billing_full_name=((p.firstName||"")+" "+(p.lastName||"")).trim(),f.billing_street=p.address1||"",f.billing_city=p.city||"",f.billing_postcode=p.zip||""}if(t.discountApplications&&Array.isArray(t.discountApplications)&&t.discountApplications.length>0){for(var m=[],y=0;y<t.discountApplications.length;y++){var v=t.discountApplications[y]||{},_=v.title||v.code||"";_&&m.push(_)}var w=m.join(",");w&&(f.discount_code=w)}this.property("cart",{url:t.webUrl||"",total:parseFloat(s.amount||0),total_vat:parseFloat(n.amount||0),products:o,attributes:f})},handleShopifyOrder:function(t){var i=[];if(t&&"object"==typeof t)if(Array.isArray(t.lineItems))i=t.lineItems;else if(t.lineItems&&Array.isArray(t.lineItems.nodes))i=t.lineItems.nodes;else if(t.lineItems&&Array.isArray(t.lineItems.edges))for(var e=0;e<t.lineItems.edges.length;e++)t.lineItems.edges[e]&&t.lineItems.edges[e].node&&i.push(t.lineItems.edges[e].node);for(var r=[],o=t.totalPrice||{},n=t.subtotalPrice||{},s=0;s<i.length;s++){var a=i[s],c=a.variant||{},d=c.product||{},h=c.price||a.finalLinePrice||{},u=parseFloat(h.amount||0),l=parseInt(a.quantity||1);r.push({item_id:c.sku||c.id||d.id||"",item_price:u,item_price_vat:u,item_quantity:l})}var g={};if(t.billingAddress){var f=t.billingAddress;g.billing_full_name=((f.firstName||"")+" "+(f.lastName||"")).trim(),g.billing_street=f.address1||"",g.billing_city=f.city||"",g.billing_postcode=f.zip||""}if(t.discountApplications&&Array.isArray(t.discountApplications)&&t.discountApplications.length>0){for(var p=[],m=0;m<t.discountApplications.length;m++){var y=t.discountApplications[m]||{},v=y.title||y.code||"";v&&p.push(v)}var _=p.join(",");_&&(g.discount_code=_)}g.url=t.webUrl||this.currentPageUrl||"",this.order({order_id:t.order&&t.order.id?t.order.id.toString():t.token||"",total:parseFloat(n.amount||0),total_vat:parseFloat(o.amount||0),products:r,attributes:g})},sendPostFetch:function(t,i){var e=this;console.log("Targito: Sending request to",t),fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:i,mode:"cors"}).then(function(i){return console.log("Targito: Response status",i.status,"for",t),i.ok&&-1!==t.indexOf(e.identify_path)?i.json():null}).then(function(t){t&&!0===e.uuidv4_pattern.test(t)&&(e.trgid=t,e.createCookieShopify("trgid_"+e.origin,t,3650),e.emptyQueue())}).catch(function(i){console.error("Targito: Request failed",t,i)})},init:function(){try{var t,i=document.currentScript;if(i&&i.getAttribute("data-id")&&i.getAttribute("data-origin")||(i=targitoGetCurrentScriptFallback()),i){this.client_id=i.getAttribute("data-id"),this.origin=i.getAttribute("data-origin"),this.onesignal=!!i.getAttribute("data-onesignal"),this.tracking_domain="t."+(i.getAttribute("data-domain")?i.getAttribute("data-domain"):"targito.com"),this.other_domains=i.getAttribute("data-domains")?i.getAttribute("data-domains").split(","):[];var e=i.getAttribute("data-perselio");this.perselio=e&&0===e.indexOf("https://")?e:targitoResolvePerselioUrl(this.client_id,this.origin)||!!i.hasAttribute("data-perselio")&&"https://static.perselio.com/versions/v3/interactions-sxs.js"}else{var r=window._targitoConfig;if("object"!=typeof r||!r||!r.id||!r.origin)return this;this.client_id=r.id,this.origin=r.origin,this.onesignal=!!r.onesignal,this.tracking_domain="t."+(r.domain||"targito.com"),this.other_domains=r.domains?r.domains.split(","):[];var o=r.perselio;this.perselio="string"==typeof o&&0===o.indexOf("https://")?o:targitoResolvePerselioUrl(this.client_id,this.origin)||!!o&&"https://static.perselio.com/versions/v3/interactions-sxs.js"}this.perselio&&this.injectPerselio();try{t=new URL(window.location.href).searchParams}catch(t){}if(t&&(this.recombee_recomm_id=t.get("recombee_recomm_id")||null),this.trgid=this.readCookie("trgid_"+this.origin),this.trgid=this.trgid?this.trgid:this.readCookie("trgid"),this.d=this.readCookieWithExpirationCheck("trgd_"+this.origin,48),this.d=this.d?this.d:this.readCookieWithExpirationCheck("trgd",48),this.m=this.readCookieWithExpirationCheck("trgm_"+this.origin,48),this.m=this.m?this.m:this.readCookieWithExpirationCheck("trgm",48),null===this.trgid){var n=new URL(window.location.href).searchParams.get("trgid");this.trgid=n||this.randomUuid(),this.createCookie("trgid_"+this.origin,this.trgid,3650)}else if(!0===this.uuidv5_pattern.test(this.trgid)){var s="//"+this.tracking_domain+this.identify_path,a=JSON.stringify({id:this.trgid});this.trgid=null,this.sendPost(s,a)}if(TargitoQueue.pageview(),TargitoQueue.emptyQueue(),this.trgid&&!0===this.onesignal){var c=this.trgid;window.OneSignalDeferred||void 0!==window.OneSignal&&window.OneSignal&&window.OneSignal.User?(window.OneSignalDeferred=window.OneSignalDeferred||[],window.OneSignalDeferred.push(function(t){try{var i=t.login(c);i&&"function"==typeof i.catch&&i.catch(function(){})}catch(t){}})):void 0!==window.OneSignal&&"function"==typeof window.OneSignal.push&&window.OneSignal.push(function(){window.OneSignal.getExternalUserId().then(function(t){t&&"string"==typeof t&&36===t.length||window.OneSignal.push(function(){window.OneSignal.setExternalUserId(c)})})})}if(this.other_domains.length>0)for(var d=document.getElementsByTagName("a"),h=0;h<d.length;h++){var u=d[h].href;-1===u.indexOf(window.location.hostname)&&-1===u.indexOf("#")&&!0===this.other_domains.some(function(t){return u.indexOf(t)>=0})&&(d[h].href+=-1!=d[h].href.indexOf("?")?"&trgid="+TargitoQueue.trgid:"?trgid="+TargitoQueue.trgid)}}catch(t){"undefined"!=typeof console&&console.warn&&console.warn("Targito: init() failed, using initShopify() for manual configuration")}return this},randomUuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=16*Math.random()|0;return("x"==t?i:3&i|8).toString(16)})},push:function(){for(var t=0;t<arguments.length;t+=3)if(void 0!==arguments[t]){var i={};switch(arguments[t]){case"property":var e="";void 0!==arguments[t+1]&&(e=arguments[t+1]),void 0!==arguments[t+2]&&(i=arguments[t+2]),TargitoQueue.property(e,i);break;case"event":var r="";void 0!==arguments[t+1]&&(r=arguments[t+1]),void 0!==arguments[t+2]&&(i=arguments[t+2]),TargitoQueue.event(r,i);break;case"events":var o="";void 0!==arguments[t+1]&&(o=arguments[t+1]),void 0!==arguments[t+2]&&(i=arguments[t+2]),TargitoQueue.events(o,i);break;case"trigger":var n="";void 0!==arguments[t+1]&&(n=arguments[t+1]),void 0!==arguments[t+2]&&(i=arguments[t+2]),TargitoQueue.trigger(n,i)}}},track:function(t){this.params=JSON.stringify(t),this.sendRequest()},pageview:function(){var t=this.getRequestInfo();this.url="//"+this.tracking_domain+this.pageview_path,this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,pageUrl:window.location.href,requestInfo:t},this.sendRequest()},property:function(t,i){var e=this.getRequestInfo();this.url="//"+this.tracking_domain+this.property_path,this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,name:t,attributes:i,requestInfo:e},this.sendRequest()},event:function(t,i){if("order"===t)this.order(i);else{var e=this.getRequestInfo();this.url="//"+this.tracking_domain+this.event_path,this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,name:t,attributes:i,requestInfo:e},this.sendRequest()}},events:function(t,i){var e=this.getRequestInfo();this.url="//"+this.tracking_domain+this.events_path,this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,name:t,attributes:i,requestInfo:e},this.sendRequest()},order:function(t){var i=this.getRequestInfo();this.url="//"+this.tracking_domain+this.order_path,void 0===t.attributes&&(t.attributes={}),void 0===t.is_cancelled&&(t.is_cancelled=0),this.params={accountId:this.client_id,contactId:this.trgid,mailingId:this.m,mailingDate:this.d,origin:this.origin,order_id:t.order_id,total:t.total,total_vat:t.total_vat,is_cancelled:t.is_cancelled,products:t.products,attributes:t.attributes,requestInfo:i},this.sendRequest()},trigger:function(t,i){if("identify"!==t){if("pair"===t){if(void 0===i.id||"undefined"===i.id||!i.id||this.trgid===i.id)return;this.isShopifySandbox?this.createCookieShopify("trgid_"+this.origin,i.id,3650):this.createCookie("trgid_"+this.origin,i.id,3650)}var e=this.getRequestInfo();this.url="//"+this.tracking_domain+this.trigger_path,this.params={accountId:this.client_id,contactId:this.trgid,origin:this.origin,name:t,attributes:i,requestInfo:e},this.sendRequest()}else void 0!==i.id&&"undefined"!==i.id&&i.id&&this.trgid!==i.id&&(this.trgid=i.id,this.isShopifySandbox?this.createCookieShopify("trgid_"+this.origin,i.id,3650):this.createCookie("trgid_"+this.origin,i.id,3650))},addToQueue:function(t,i){this.queue.push({url:t,params:i})},emptyQueue:function(){for(var t=this.queue.length,i=0;i<t;i++){if(this.url=this.queue[i].url,this.params=JSON.parse(this.queue[i].params),this.params.contactId=TargitoQueue.trgid,this.params.mailingDate=parseInt(TargitoQueue.d),this.params.mailingId=TargitoQueue.m,this.url===this.trigger_url){if(void 0===this.params.attributes||void 0===this.params.attributes.id||this.params.attributes.id==TargitoQueue.trgid)return;this.isShopifySandbox?this.createCookieShopify("trgid_"+this.origin,this.params.attributes.id,3650):this.createCookie("trgid_"+this.origin,this.params.attributes.id,3650)}this.sendRequest()}this.queue=[]},sendPost:function(t,i){var e=new XMLHttpRequest;e.open("POST",t,!0),e.setRequestHeader("Content-type","application/json"),e.onreadystatechange=function(){4===e.readyState&&200===e.status&&t=="//"+TargitoQueue.tracking_domain+TargitoQueue.identify_path&&(response=JSON.parse(e.responseText),!0===TargitoQueue.uuidv4_pattern.test(response)&&(TargitoQueue.trgid=response,TargitoQueue.createCookie("trgid_"+TargitoQueue.origin,response,3650),TargitoQueue.emptyQueue()))},e.send(i)},sendRequest:function(){if(this.recombee_recomm_id&&(void 0===this.params.attributes&&(this.params.attributes={}),this.params.attributes.recommId=this.recombee_recomm_id),this.isShopifySandbox&&!this.params.pageUrl&&this.currentPageUrl&&(this.params.pageUrl=this.currentPageUrl),null===this.trgid||""===this.trgid||"undefined"===this.trgid)this.addToQueue(this.url,this.getParamsStringified());else if(this.isShopifySandbox){var t=this.url;0===t.indexOf("//")&&(t="https:"+t),this.sendPostFetch(t,this.getParamsStringified())}else this.sendPost(this.url,this.getParamsStringified())}
1,createCookie:function(t,i,e){try{if("undefined"==typeof document||void 0===document.cookie)return;var r="";if(e){var o=new Date;o.setTime(o.getTime()+24*e*60*60*1e3),r="; expires="+o.toGMTString()}document.cookie=t+"="+i+r+"; "+(location.hostname.split(".").reverse()[1]?"domain=."+location.hostname.split(".").reverse()[1]+"."+location.hostname.split(".").reverse()[0]+"; ":"")+"path=/; SameSite=None; Secure"}catch(t){}},readCookie:function(t){try{if("undefined"==typeof document||void 0===document.cookie)return null;for(var i=t+"=",e=document.cookie.split(";"),r=0;r<e.length;r++){for(var o=e[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(i))return o.substring(i.length,o.length)}return null}catch(t){return null}},readCookieWithExpirationCheck:function(t,i){var e=this.readCookie(t);if(null===e)return null;var r=t+"_ts",o=this.readCookie(r);if(null===o){var n=(new Date).getTime();return this.createCookie(r,n.toString(),3650),e}return(new Date).getTime()-parseInt(o)>60*i*60*1e3?(this.eraseCookie(t),this.eraseCookie(r),null):e},eraseCookie:function(t){try{this.createCookie(t,"",-1)}catch(t){}},getLocationOrigin:function(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin},getParamsStringified:function(){return JSON.stringify(this.params)},getRequestInfo:function(){return this.isShopifySandbox?{t:(new Date).getTimezoneOffset()/60,r:this.currentReferrer||"",u:this.currentPageUrl||"",a:"undefined"!=typeof navigator?navigator.userAgent:"",l:"undefined"!=typeof navigator?navigator.language:"",w:"undefined"!=typeof screen?screen.width:0,h:"undefined"!=typeof screen?screen.height:0}:{t:(new Date).getTimezoneOffset()/60,r:document.referrer,u:window.location.href,a:navigator.userAgent,l:navigator.language,w:screen.width,h:screen.height}},injectPerselio:function(){if(!document.querySelector('script[src*="perselio.com"]')){var t=document.createElement("script");t.src="string"==typeof this.perselio?this.perselio:"https://static.perselio.com/versions/v3/interactions-sxs.js",t.async=!0,(document.head||document.documentElement).appendChild(t)}},stringToFloat:function(t){return"string"==typeof t&&(t=t.replace(/\s+/g,"")),parseFloat(t)}};if(TargitoQueue.detectShopifySandbox())"undefined"!=typeof window&&(window.Targito=TargitoQueue);else{TargitoQueue.init();var _oldTargito=window.Targito;window.Targito=TargitoQueue,window.Targito.push.apply(window.Targito,_oldTargito)}
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.