PageSourceSearch

https://www.audemarspiguet.com/etc.clientlibs/ap-com/ui/clientlibs…t_ReCaptchaV-585ac7.27a70fbd38e899daab38.js

js audemarspiguet.com collected 2026-10-02 03:04:25 UTC 11,844 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkap_com=self.webpackChunkap_com||[]).push([["default-src_main_frontend_pinia_useUserStore_js-node_modules_vue-recaptcha-v3_dist_ReCaptchaV-585ac7"],{23341:function(e,t,n){n.d(t,{k:function(){return s}});var r=n(10810),a=n(65683),i=n(36100),o=n(13509);function c(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){c(i,r,a,o,u,"next",e)}function u(e){c(i,r,a,o,u,"throw",e)}o(void 0)})}}var s=(0,r.nY)("userStore",()=>{var e=(0,a.ref)(o.A.isLoggedIn()),t=(0,a.ref)(null),n=(0,a.ref)(!1);function r(){return(r=u(function*(){if(t.value)return n.value=!0,t.value;if(e.value){var r=yield i.A.fetchList(),a=yield r.json();return t.value=a.map(e=>e.reference),n.value=!0,t.value}return[]})).apply(this,arguments)}function c(){return(c=u(function*(e,n){yield i.A.addWatch(e,n),t.value&&t.value.push(e)})).apply(this,arguments)}function s(){return(s=u(function*(e,n){if(yield i.A.removeWatch(e,n),t.value){var r=t.value.findIndex(t=>t===e);r>-1&&t.value.splice(r,1)}})).apply(this,arguments)}return{isLoggedIn:e,favoriteList:t,isFavoriteListLoaded:n,getFavoriteList:function(){return r.apply(this,arguments)},addToFavorites:function(e,t){return c.apply(this,arguments)},removeFromFavorites:function(e,t){return s.apply(this,arguments)},setFavoriteList:function(e){null!=e&&e.length&&(t.value=e.map(e=>e.reference),n.value=!0)}}},{persist:{storage:sessionStorage,paths:["favoriteList"]}})},36100:function(e,t,n){var r=n(29636),a=n(76297);function i(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function c(e){i(o,r,a,c,u,"next",e)}function u(e){i(o,r,a,c,u,"throw",e)}c(void 0)})}}var c="myfavourites",u="myfavourites-public",s="getfavouritewatchstatus",l="addfavouritewatch",f="removefavouritewatch";t.A={fetchList(){return o(function*(){return(0,a.w7)(c)})()},fetchListById(e){return o(function*(){return(0,a.au)(u,{customerId:e})})()},isFavourite(e,t){return o(function*(){var n,r=yield(0,a.zi)(s,{ref:e,recaptchaToken:t},{favourite:!1}),i=yield null==r||null===(n=r.json)||void 0===n?void 0:n.call(r);return(null==i?void 0:i.favourite)||!1})()},addWatch(e,t){return o(function*(){var n=(yield r.A.fetchLocation()).country_code;return(0,a.IN)(l,{ip_country_code:n,ref:e,recaptchaToken:t})})()},removeWatch(e,t){return o(function*(){var n=(yield r.A.fetchLocation()).country_code;return(0,a.IN)(f,{ip_country_code:n,ref:e,recaptchaToken:t})})()}}},36590:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ReCaptchaInstance=t.getInstance=t.load=void 0;var r=n(64461);Object.defineProperty(t,"load",{enumerable:!0,get:function(){return r.load}}),Object.defineProperty(t,"getInstance",{enumerable:!0,get:function(){return r.getInstance}});var a=n(60173);Object.defineProperty(t,"ReCaptchaInstance",{enumerable:!0,get:function(){return a.ReCaptchaInstance}})},60173:function(e,t){var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,c)}u((r=r.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(u){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}
1if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReCaptchaInstance=void 0;var a=function(){function e(e,t,n){this.siteKey=e,this.recaptchaID=t,this.recaptcha=n,this.styleContainer=null}return e.prototype.execute=function(e){return n(this,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:e})]:[3,2];case 1:return t=n.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:e})];case 3:t=n.sent(),n.label=4;case 4:return[2,t]}})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){null===this.styleContainer&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){null!==this.styleContainer&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();t.ReCaptchaInstance=a},64461:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.load=void 0;var a,i=n(60173);!function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"}(a||(a={}));var o=function(){function e(){}return e.load=function(t,n){if(void 0===n&&(n={}),"undefined"==typeof document)return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===a.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===a.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(t,n){e.successfulLoadingConsumers.push(function(e){return t(e)}),e.errorLoadingRunnable.push(function(e){return n(e)})});e.instanceSiteKey=t,e.setLoadingState(a.LOADING);var r=new e;return new Promise(function(o,c){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(a.LOADED);var c=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),u=new i.ReCaptchaInstance(t,c,grecaptcha);e.successfulLoadingConsumers.forEach(function(e){return e(u)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&u.hideBadge(),e.instance=u,o(u)}).catch(function(t){e.errorLoadingRunnable.forEach(function(e){return e(t)}),e.errorLoadingRunnable=[],c(t)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return null===e.loadingState?a.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,i,o){var c=this;void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i={}),void 0===o&&(o="");var u=document.createElement("script");u.setAttribute("recaptcha-v3-script",""),u.setAttribute("async",""),u.setAttribute("defer","");var s="https://www.google.com/recaptcha/api.js";n?s=r?"https://recaptcha.net/recaptcha/enterprise.js":"https://recaptcha.net/recaptcha/api.js":r&&(s="https://www.google.com/recaptcha/enterprise.js"),o&&(s=o),i.render&&(i.render=void 0);var l=this.buildQueryString(i);return u.src=s+"?render=explicit"+l,new Promise(function(t,n){u.addEventListener("load",c.waitForScriptToLoad(function(){t(u)},r),!1),u.onerror=function(t){e.setLoadingState(a.NOT_LOADED),n(t)},document.head.appendChild(u)})},e.prototype.buildQueryString=function(e){return Object.keys(e).length<1?"":"&"+Object.keys(e).filter(function(t){return!!e[t]}).map(function(t){return t+"="+e[t]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var r=this;return function(){void 0===window.grecaptcha?setTimeout(function(){r.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(e,t,n,a){var i=r({sitekey:t},n);return n.container?a?e.enterprise.render(n.container,i):e.render(n.container,i):a?e.enterprise.render(i):e.render(i)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();t.load=o.load,t.getInstance=o.getInstance},81780:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Prom
vendor: 1,123 bytes, line 1
1ise))(function(a,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,c)}u((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.useReCaptcha=t.VueReCaptcha=void 0;var i=n(36590),o=n(65683),c=Symbol("VueReCaptchaInjectKey"),u={loadedWaiters:[],error:null};function s(e){return function(){return new Promise(function(t,n){return null!==u.error?n(u.error):e.value?t(!0):void u.loadedWaiters.push({resolve:t,reject:n})})}}function l(e){var t=this;return function(n){return r(t,void 0,void 0,function(){var t;return a(this,function(r){switch(r.label){case 0:return[4,null===(t=e.value)||void 0===t?void 0:t.execute(n)];case 1:return[2,r.sent()]}})})}}t.VueReCaptcha={install:function(e,t){var n=o.ref(!1),f=o.ref(void 0);e.config.globalProperties.$recaptchaLoaded=s(n),function(e){return r(this,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return[4,i.load(e.siteKey,e.loaderOptions)];case 1:return[2,t.sent()]}})})}(t).then(function(t){n.value=!0,f.value=t,e.config.globalProperties.$recaptcha=l(f),e.config.globalProperties.$recaptchaInstance=f,u.loadedWaiters.forEach(function(e){return e.resolve(!0)})}).catch(function(e){u.error=e,u.loadedWaiters.forEach(function(t){return t.reject(e)})}),e.provide(c,{instance:f,isLoaded:n,executeRecaptcha:l(f),recaptchaLoaded:s(n)})}},t.useReCaptcha=function(){return o.inject(c)}}}]);

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.