Skip to Content

JavaScript File

URL: https://www.tantrafuengirola.com/wp-content/plugins/age-gate/dist/age-gate.js?ver=3.0.9
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Tue, 04 Oct 2022 17:30:37 GMT
Download Time: Less than a second
Cookies: None
Size: 79 KB
HTTP Headers:  9 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/*! For license information please see age-gate.js.LICENSE.txt */

2(()=>{var e={9669:(e,t,r)=>{e.exports=r(1609)}

3,5448:(e,t,r)=>{"use strict";var n=r(4867),o=r(6026),i=r(4372),a=r(5327),s=r(4097),c=r(4109),u=r(7985),l=r(7874),f=r(2648),h=r(644),p=r(205);e.exports=function(e){return new Promise((function(t,r){var d,g=e.data,m=e.headers,y=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}

4n.isFormData(g)&&n.isStandardBrowserEnv()&&delete m["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+S)}

5var E=s(e.baseURL,e.url);function A(){if(w){var n="getAllResponseHeaders"in w?c(w.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:n,config:e,request:w}

6;o((function(e){t(e),v()}

7),(function(e){r(e),v()}

8),i),w=null}

9}

10if(w.open(e.method.toUpperCase(),a(E,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=A:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(A)}

11,w.onabort=function(){w&&(r(new f("Request aborted",f.ECONNABORTED,e,w)),w=null)}

12,w.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,w,w)),w=null}

13,w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,w)),w=null}

14,n.isStandardBrowserEnv()){var P=(e.withCredentials||u(E))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;P&&(m[e.xsrfHeaderName]=P)}

15"setRequestHeader"in w&&n.forEach(m,(function(e,t){void 0===g&&"content-type"===t.toLowerCase()?delete m[t]:w.setRequestHeader(t,e)}

16)),n.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),y&&"json"!==y&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){w&&(r(!e||e&&e.type?new h:e),w.abort(),w=null)}

17,e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),g||(g=null);var T=p(E);T&&-1===["http","https","file"].indexOf(T)?r(new f("Unsupported protocol "+T+":",f.ERR_BAD_REQUEST,e)):w.send(g)}

18))}

19}

20,1609:(e,t,r)=>{"use strict";var n=r(4867),o=r(1849),i=r(321),a=r(7185);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))}

21,s}

22(r(5546));s.Axios=i,s.CanceledError=r(644),s.CancelToken=r(4972),s.isCancel=r(6502),s.VERSION=r(7288).version,s.toFormData=r(7675),s.AxiosError=r(2648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)}

23,s.spread=r(8713),s.isAxiosError=r(6268),e.exports=s,e.exports.default=s}

24,4972:(e,t,r)=>{"use strict";var n=r(644);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}

25));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}

26}

27)),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e}

28)).then(e);return n.cancel=function(){r.unsubscribe(t)}

29,n}

30,e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}

31))}

32o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason}

33,o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}

34,o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}

35}

36,o.source=function(){var e;return{token:new o((function(t){e=t}

37)),cancel:e}

38}

39,e.exports=o}

40,644:(e,t,r)=>{"use strict";var n=r(2648);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}

...

</html>