1!function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}({14:function(e,t,n){"use strict";var a=function(e,t,n){return new Promise((function(a,r){var o=new XMLHttpRequest;o.open(t,e,!0),o.setRequestHeader("Cache-Control","no-cache"),o.setRequestHeader("Content-Type","application/json;charset=UTF-8"),o.send(n||null),o.onreadystatechange=function(){4===o.readyState&&(200===o.status?a(o.responseText):r(o.status))}}))},r=function(e,t){var n=e&&"string"==typeof e&&e.length>0?e.split("&"):[];return(t&&Array.isArray(t)&&t.length>0?t:[]).forEach((function(e){for(var t=encodeURIComponent(e)+"=",a=n.length;a-- >0;)-1!==n[a].lastIndexOf(t,0)&&n.splice(a,1)})),n.join("&")};function o(){}o.prototype.initScriptLoaderData=function(){try{window.geScriptLoaderData=JSON.parse(document.querySelector("#globale-script-loader-data").innerHTML)}catch(e){window.geScriptLoaderData=null,console.warn(e)}},o.prototype.initClientSDK=function(){return window.geScriptLoaderData?new Promise((function(e,t){window.globaleObject="gle",window.gle=window.gle||function(){(window.gle.q=window.gle.q||[]).push(arguments)},window.gle.m=window.geScriptLoaderData.clientJsMerchantId,window.gle.v=window.geScriptLoaderData.apiVersion;var n=document.createElement("script");n.src=window.geScriptLoaderData.clientJsUrl+"?v="+window.geScriptLoaderData.apiVersion,n.async=!0,n.onerror=function(e){t(e,n)};var a=!1;n.onreadystatechange=function(){a||this.readyState&&"complete"!==this.readyState||(a=!0,e())},n.onload=n.onreadystatechange;var r=document.querySelectorAll("script")[0];r.parentElement.insertBefore(n,r)})):Promise.reject()},o.prototype.initContentPriceConversion=function(){function e(){Array.prototype.slice.call(document.querySelectorAll("[data-ge-convert-price]")).filter((function(e){return(!("isConverted"in e.dataset)||"true"!==e.dataset.isConverted)&&("productId"in e.dataset&&""!==e.dataset.productId||"originalPrice"in e.dataset&&""!==e.dataset.originalPrice&&!isNaN(e.dataset.originalPrice))})).forEach((function(e){var t=window.geScriptLoaderData.globaleConvertPriceUrl;t+="?countryCode="+encodeURIComponent(window.geScriptLoaderData.country),t+="¤cyCode="+encodeURIComponent(window.geScriptLoaderData.currency),e.dataset.productId?t+="&productId="+encodeURIComponent(e.dataset.productId):e.dataset.originalPrice&&(t+="&originalPrice="+encodeURIComponent(e.dataset.originalPrice),t+="&isDiscount="+encodeURIComponent(e.dataset.isDiscount)),a(t,"GET").then((function(t){t&&(t=JSON.parse(t)).success&&(e.innerHTML=t.convertedPrice,e.dataset.isConverted="true")})).catch((function(e){console.warn(e)}))}))}try{if(!window.geScriptLoaderData||!window.geScriptLoaderData.globaleOperatedCountry)return;window.addEventListener("runPriceConversion",e,!1),e()}catch(e){console.warn(e)}},o.prototype.removeGeRedirectParams=function(){try{var e=new URL(document.location),t=e.searchParams;if(t.get("glCountry")||t.get("glCurrency")){GlobalE.SetCookie("GlobalE_Welcome_Data",{showWelcome:!1},GlobalE.GE_DATA_COOKIE_EXP,!0),t.delete("glCountry"),t.delete("glCurrency"),window.history.replaceState({},document.title,e.toString());var n=document.querySelector("[data-action][data-querystring]");if(n){var a=n.getAttribute("data-querystring");a=r(a,["glCountry","glCurrency"]),n.setAttribute("data-querystring",a)}}}catch(e){console.warn(e)}},o.prototype.loadShippingSwitcherHandler=function(){try{var e=document.querySelectorAll(".globale-selector");Array.prototype.map.call(e,(function(e){GlobalE.AttachEvent("click",e,(function(){return GlobalE.ShippingSwitcher.Show()}))})),GlobalE.GetCookie("GlobalE_Geo_Popup")||(window.geScriptLoaderData.shippingSwitcher&&!1!==window.geScriptLoaderData.shippingSwitcher.showGeoCountryPopup&&window.geScriptLoaderData.geoLocationCountry&&window.geScriptLoaderData.geoLocationCountry.countryCode&&window.geScriptLoaderData.geoLocationCountry.isCountryExists&&window.geScriptLoaderData.geoLocationCountry.countryCode!==window.geScriptLoaderData.country&&(GlobalE.SetCookie("GlobalE_Welcome_Data",{showWelcome:!1},GlobalE.GE_DATA_COOKIE_EXP,!0),GlobalE.ShippingSwitcher.Show(window.geScriptLoaderData.geoLocationCountry.countryCode)),GlobalE.SetCookie("GlobalE_Geo_Popup",!0,GlobalE.GE_DATA_COOKIE_EXP))}catch(e){console.warn(e)}},o.prototype.onShippingSwitcherClosedHandler=function(e){try{if("save"===e.button&&(e.country!==window.geScriptLoaderData.country||e.currency!==window.geScriptLoaderData.currency||GlobalE.ShippingSwitcher.isLanguageDropDownShown&&GlobalE.ShippingSwitcher.selectedLanguage!==window.geScriptLoaderData.languageSwitcher.selectedLanguage)){var t=window.geScriptLoaderData.locationRedirectUrl;t+="?countryCode="+encodeURIComponent(e.country),t+="¤cyCode="+encodeURIComponent(e.currency),GlobalE.ShippingSwitcher.isLanguageDropDownShown&&(t+="&localeCode="+encodeURIComponent(GlobalE.ShippingSwitcher.selectedLanguage));var n=document.querySelector("[data-action][data-querystring]");
1n&&("action"in n.dataset&&""!==n.dataset.action&&(t+="&action="+encodeURIComponent(n.dataset.action)),"querystring"in n.dataset&&""!==n.dataset.querystring&&(t+="&querystring="+encodeURIComponent(n.dataset.querystring))),window.location.href=t}}catch(e){console.warn(e)}return!1},o.prototype.initKeepAlive=function(){var e=document.querySelector("#gle_iframe");try{window.globaleKeepAlive=setInterval((function(){a(e.dataset.keepaliveUrl,"GET").then((function(e){})).catch((function(e){console.warn(e)}))}),6e4)}catch(e){console.warn(e)}};function i(){(new o).init()}o.prototype.onCheckoutStepLoadedHandler=function(e){try{var t=document.querySelector(".pay-by-link-button-wrapper");if(t&&(t.dataset.geCheckout=JSON.stringify(e)),"undefined"!=typeof dataLayer){var n=e.details.CustomerCurrencyCode,r=e.details.OrderPrices.CustomerTransaction.CustomerTotalPrice,o=document.querySelector("#gle_iframe"),i={},c=null;o&&o.dataset.gtmProduct&&(i=JSON.parse(o.dataset.gtmProduct)),o&&o.dataset.gtmProductImageBaseUrl&&(c=o.dataset.gtmProductImageBaseUrl);var s=i.products&&i.products.length?i.products:e.details.ProductInformation.map((function(e){return function(e,t,n){var a={};if(a.item_name=e.ProductName,a.item_id=e.SKU,a.currency=t,a.price=e.ProductPrices.CustomerTransaction.CustomerDiscountedPrice,a.quantity=e.Quantity,e.ProductAttributes&&e.ProductAttributes.length){var r=e.ProductAttributes.find((function(e){return"SIZE"===e.AttributeCode||"case_diameters"===e.AttributeCode||"Size"===e.AttributeTypeCode}));r&&(a.item_variant=r.AttributeName)}return e.Categories&&e.Categories.length&&e.Categories.forEach((function(e,t){e.Name&&(t>1?a["item_category"+t]=e.Code:a.item_category=e.Code)})),n&&(a.item_image_url=n+e.SKU+"_01.png"),a}(e,n,c)})),l=e.details.ProductInformation.map((function(e){return function(e){var t={};if(t.name=e.ProductName,t.id=e.SKU,t.price=e.ProductPrices.CustomerTransaction.CustomerDiscountedPrice,t.quantity=e.Quantity,e.ProductAttributes&&e.ProductAttributes.length){var n=e.ProductAttributes.find((function(e){return"SIZE"===e.AttributeCode||"case_diameters"===e.AttributeCode}));n&&(t.size=n.AttributeName)}return e.Categories&&e.Categories.length&&(t.category=e.Categories[0].Code),t}(e)})),d={event:"checkout",currency:n,ecommerce:{checkout:{actionField:{step:6},products:l}}};if(e.StepId===e.Steps.LOADED){var u={event:"begin_checkout",ecommerce:{currency:n,value:r,items:s}};(b=JSON.parse($(".page.master").attr("data-dataLayerReady")||"{}")).phoneHash&&(u.phone_number=b.phoneHash),b.emailHash&&(u.user_mail=b.emailHash),"newCustomer"in b&&(u.new_customer=b.newCustomer),dataLayer.push(u)}if(e.StepId===e.Steps.CONFIRMATION){var p={},g="",y="",m=!1;o&&o.dataset.gtmCustomerDataUrl&&e.details&&(g=(p=function(e,t){var n="";return $.ajax({type:"POST",url:e,data:t,async:!1,success:function(e){n=e},error:function(e){console.error("Error fetching gtmCustomerData:",e)}}),n}(o.dataset.gtmCustomerDataUrl,e.details)).hashedPhone||"",y=p.hashedEmail||"",m=!!p.isNew);for(var h="",C="",w=0;w<e.details.Discounts.length;w++)""!=e.details.Discounts[w].CouponCode&&1==e.details.Discounts[w].DiscountTypeId&&(h=h.length?", "+e.details.Discounts[w].CouponCode:e.details.Discounts[w].CouponCode,C+=e.details.Discounts[w].DiscountPrices.CustomerTransaction.CustomerPrice);var S=new Date,f={event:"purchase",ecommerce:{currency:n,transaction_id:e.OrderId,value:r,tax:e.details.OrderPrices.CustomerTransaction.CustomerTotalVAT,shipping:e.details.OrderPrices.CustomerTransaction.CustomerShippingPrice,payment_type:e.details.PaymentMethods[0].PaymentMethodName,order_date:"".concat(S.getDate(),"-").concat(S.getMonth()+1,"-").concat(S.getFullYear()),shipping_country:e.details.CustomerDetails.ShippingAddress.ShippingCountryCode.toLowerCase(),billing_country:e.details.CustomerDetails.BillingAddress.BillingCountryCode.toLowerCase(),items:s},user_mail:y,phone_number:g,new_customer:m},E={event:"order-confirmation",currency:n,ecommerce:{checkout:{actionField:{id:e.OrderId,step:7,affiliation:"chopard",revenue:r,tax:e.details.OrderPrices.CustomerTransaction.CustomerTotalVAT,shipping:e.details.OrderPrices.CustomerTransaction.CustomerShippingPrice,discount:C,coupon:h},products:l}}},v={event:"add_shipping_info",ecommerce:{currency:n,value:r,shipping_tier:e.details.ShippingMethodType,items:s}},_={event:"add_payment_info",ecommerce:{currency:n,value:r,payment_type:e.details.PaymentMethods[0].PaymentMethodName,items:s}},b=$(".page.master").attr("data-dataLayerReady")?$.parseJSON($(".page.master").attr("data-dataLayerReady")):{},L=$(".page.master").attr("data-pagetype")?$(".page.master").attr("data-pagetype"):null,P={event:"dataLayer_ready",page_name:"order-confirmation",content_group:L||"",user_logged:b.user_logged,locale:b.locale?b.locale:"",locale_language:b.locale_language?b.locale_language:"",locale_country:b.locale_country?b.locale_country:"",user_mail:b.emailHash?b.emailHash:"",phone_number:b.phoneHash?b.phoneHash:"",new_customer:"newCustomer"in b?b.newCustomer:""};dataLayer.push(P),dataLayer.push(v),dataLayer.push(_),dataLayer.push(d),dataLayer.push(f),dataLayer.push(E)}}e.StepId===e.Steps.CONFIRMATION&&"globaleKeepAlive"in window&&window.globaleKeepAlive&&clearInterval(window.globaleKeepAlive);o=document.querySelector("#gle_iframe");a(o.dataset.analyticsUrl,"POST",JSON.stringify(e)).then((function(e){})).catch((function(e){console.warn(e)}))}catch(e){console.warn(e)}},o.prototype.onClientEvent=function(e,t){try{switch(e){case GEMerchantUtils.ClientEvents.INPUT_BLUR:case GEMerchantUtils.ClientEvents.STORE_SELECTION:case GEMerchantUtils.ClientEvents.SHIPPINGMETHOD_SELECTION:case GEMerchantUtils.ClientEvents.TAX_OPTION_SELECTED:case GEMerchantUtils.ClientEvents.PAYMENTMETHOD_CHANGED:case GEMerchantUtils.ClientEvents.BUTTON_CLICKED:case GEMerchantUtils.ClientEvents.COMBO_CHANGED:case GEMerchantUtils.ClientEvents.ADD_NEW_SHIPPING_ADDRESS:case GEMerchantUtils.ClientEvents.ON_PAGE_LOAD:case GEMerchantUtils.ClientEvents.ON_CLIENT_ERROR:case GEMerchantUtils.ClientEvents.ON_SERVER_ERROR:case GEMerchantUtils.ClientEvents.CHECKBOX_CHANGE:case GEMerchantUtils.ClientEvents.WINDOW_SHOWN:}
1}catch(e){console.warn(e)}},o.prototype.registrationPostMessageHandler=function(e){try{if(!GlobalE||!GlobalE.CheckoutManager||!GlobalE.CheckoutManager.IsGlobaleMessage(e.origin))return;var t="string"==typeof e.data?JSON.parse(e.data):e.data,n=document.querySelector("#gle_iframe");"Key"in t&&"CustomerRegistration"===t.Key&&a(n.dataset.registrationUrl,"POST",JSON.stringify(t.Data)).then((function(e){e&&(e=JSON.parse(e),GlobalE.CheckoutManager.UpdateGlobalE("CustomerRegistration",e))})).catch((function(e){console.warn(e)}))}catch(e){console.warn(e)}},o.prototype.onPayByLinkHandler=function(){try{var e=document.querySelector(".pay-by-link-button-wrapper"),t=document.querySelector("#gle_iframe"),n=e.dataset.geCheckout;a(e.dataset.createOrderUrl+"?cartToken="+t.dataset.cartToken,"POST",n).then((function(e){(e=JSON.parse(e)).success&&e.orderCreateResult&&e.orderCreateResult.gePayByLinkUrl?(document.querySelector(".pay-by-link-message").hidden=!1,document.querySelector(".pay-by-link-message").innerHTML=e.orderCreateResult.gePayByLinkUrl):(document.querySelector(".pay-by-link-message").hidden=!1,document.querySelector(".pay-by-link-message").innerHTML=e.errorMessage||e.orderCreateResult.errorMessage)})).catch((function(e){document.querySelector(".pay-by-link-message").innerHTML=e,console.warn(e)}))}catch(e){console.warn(e)}},o.prototype.initEvents=function(){if(window.geScriptLoaderData){GlobalE.SetMerchantParameters(JSON.parse(window.geScriptLoaderData.clientSettings)),GlobalE.ScriptsURL(window.geScriptLoaderData.clientJsDomain),GlobalE.SetCookieDomain(window.geScriptLoaderData.cookieDomain),this.removeGeRedirectParams();var e=document.querySelector("#gle_iframe");e&&(GlobalE.Checkout(e.dataset.cartToken,"gle_iframe"),this.initKeepAlive(),GlobalE.OnCheckoutStepLoaded(this.onCheckoutStepLoadedHandler),GlobalE.OnClientEvent(this.onClientEvent),window.addEventListener("message",this.registrationPostMessageHandler,!1),document.querySelector(".pay-by-link-button-wrapper")&&document.querySelector(".pay-by-link-button-wrapper").addEventListener("click",this.onPayByLinkHandler,!1))}},o.prototype.init=function(){this.initScriptLoaderData(),this.initContentPriceConversion(),this.initClientSDK().then(this.initEvents.bind(this)).catch((function(e){console.warn(e)}))},/complete|interactive|loaded/.test(document.readyState)?i():document.addEventListener("DOMContentLoaded",i)}});
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.