PageSourceSearch

https://www.tatler.com/verso/static/4046.808bc22088ee9d1ac02c.js

js tatler.com collected 2026-09-24 08:42:28 UTC 15,391 bytes, 1 lines download raw bytes

vendor: 5,378 bytes, line 1
1(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[4046],{84860(e,t){var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof globalThis&&globalThis,o=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==e&&e||{},o="URLSearchParams"in r,s="Symbol"in r&&"iterator"in Symbol,n="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in r,a="ArrayBuffer"in r;if(a)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&h.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return s&&(t[Symbol.iterator]=function(){return t}),t}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function y(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function p(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function b(e){var t=new FileReader,r=p(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:n&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&n&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n&&(this.blob=function(){var e=y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=y(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(n)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o,s,n=y(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=p(t),o=/charset=([A-Za-z0-9_-]+)/.exec(e.type),s=o?o[1]:"utf-8",t.readAsText(e,s),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=c(e),t=d(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[c(e)]},l.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},l.prototype.set=function(e,t){this.map[c(e)]=d(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),f(e)},l.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),f(e)},l.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),f(e)},s&&(l.prototype[Symbol.iterator]=l.prototype.entries);var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function g(e,t){if(!(this instanceof g))throw new TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var o,s,n=(t=t||{}).body;if(e instanceof g){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(o=t.method||this.method||"GET",s=o.toUpperCase(),v.indexOf(s)>-1?s:o),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in r)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function A(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),o=r.shift().replace(/\+/g," "),s=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(s))}}),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},w.call(g.prototype),w.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var T=[301,302,303,307,308];E.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function q(e,o){return new Promise(function(s,i){var h=new g(e,o);if(h.signal&&h.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function f(){u.abort()}if(u.onload=function(){var e,t,r={statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),o=r.shift().trim();if(o){var s=r.join(":").trim();try{t.append(o,s)}catch(e){}}}),t)};0===h.url.indexOf("file://")&&(u.status<200||u.status>599)?r.status=200:r.status=u.status,r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout(function(){s(new E(o,r))},0)},u.onerror=function(){setTimeout(function(){i(new TypeError("Network request failed"))},0)},u.ontimeout=function(){setTimeout(function(){i(new TypeError("Network request timed out"))},0)},u.onabort=function(){setTimeout(function(){i(new t.DOMException("Aborted","AbortError"))},0)},u.open(h.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(h.url),!0),"include"===h.credentials?u.withCredentials=!0:"omit"===h.credentials&&(u.withCredentials=!1),"responseType"in u&&(n?u.responseType="blob":a&&(u.responseType="arraybuffer")),o&&"object"==typeof o.headers&&!(o.headers instanceof l||r.Headers&&o.headers instanceof r.Headers)){var y=[];
1Object.getOwnPropertyNames(o.headers).forEach(function(e){y.push(c(e)),u.setRequestHeader(e,d(o.headers[e]))}),h.headers.forEach(function(e,t){-1===y.indexOf(t)&&u.setRequestHeader(t,e)})}else h.headers.forEach(function(e,t){u.setRequestHeader(t,e)});h.signal&&(h.signal.addEventListener("abort",f),u.onreadystatechange=function(){4===u.readyState&&h.signal.removeEventListener("abort",f)}),u.send(void 0===h._bodyInit?null:h._bodyInit)})}q.polyfill=!0,r.fetch||(r.fetch=q,r.Headers=l,r.Request=g,r.Response=E),t.Headers=l,t.Request=g,t.Response=E,t.fetch=q,Object.defineProperty(t,"__esModule",{value:!0})}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var s=r.fetch?r:o;(t=s.fetch).default=s.fetch,t.fetch=s.fetch,t.Headers=s.Headers,t.Request=s.Request,t.Response=s.Response,e.exports=t},4046(e,t,r){"use strict";var o;r.d(t,{l4:()=>l});var s=r(6705),n=r(65807),i=r(2248),a=r(30768),h=r(91043),u=r(84860);r(75362);const c=e=>{let t={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||(o||(o=r.t(u,2)))&&u.Headers&&e instanceof u.Headers?t=(0,n.Y)(e):Array.isArray(e)?e.forEach(([e,r])=>{e&&void 0!==r&&(t[e]=r)}):t=e),t},d=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),f=e=>async t=>{const{url:r,query:o,variables:n,operationName:i,fetch:a,fetchOptions:h,middleware:u}=t,c={...t.headers};let f,l="";"POST"===e?(f=p(o,n,i,h.jsonSerializer),"string"==typeof f&&(c["Content-Type"]="application/json")):l=(e=>{if(!Array.isArray(e.query)){const t=e,r=[`query=${encodeURIComponent(d(t.query))}`];return e.variables&&r.push(`variables=${encodeURIComponent(t.jsonSerializer.stringify(t.variables))}`),t.operationName&&r.push(`operationName=${encodeURIComponent(t.operationName)}`),r.join("&")}if(void 0!==e.variables&&!Array.isArray(e.variables))throw new Error("Cannot create query with given variable type, array expected");const t=e,r=e.query.reduce((e,r,o)=>(e.push({query:d(r),variables:t.variables?t.jsonSerializer.stringify(t.variables[o]):void 0}),e),[]);return`query=${encodeURIComponent(t.jsonSerializer.stringify(r))}`})({query:o,variables:n,operationName:i,jsonSerializer:h.jsonSerializer??s.k});const y={method:e,headers:c,body:f,...h};let b=r,m=y;if(u){const e=await Promise.resolve(u({...y,url:r,operationName:i,variables:n})),{url:t,...o}=e;b=t,m=o}return l&&(b=`${b}?${l}`),await a(b,m)};class l{constructor(e,t={}){this.url=e,this.requestConfig=t,this.rawRequest=async(...e)=>{const[t,r,o]=e,s=(0,i.qT)(t,r,o),{headers:n,fetch:h=u,method:d="POST",requestMiddleware:f,responseMiddleware:l,...p}=this.requestConfig,{url:b}=this;void 0!==s.signal&&(p.signal=s.signal);const{operationName:w}=(0,a.V)(s.query);return y({url:b,query:s.query,variables:s.variables,headers:{...c(m(n)),...c(s.requestHeaders)},operationName:w,fetch:h,method:d,fetchOptions:p,middleware:f}).then(e=>(l&&l(e),e)).catch(e=>{throw l&&l(e),e})}}async request(e,...t){const[r,o]=t,s=(0,i.u)(e,r,o),{headers:n,fetch:h=u,method:d="POST",requestMiddleware:f,responseMiddleware:l,...p}=this.requestConfig,{url:b}=this;void 0!==s.signal&&(p.signal=s.signal);const{query:w,operationName:v}=(0,a.V)(s.document);return y({url:b,query:w,variables:s.variables,headers:{...c(m(n)),...c(s.requestHeaders)},operationName:v,fetch:h,method:d,fetchOptions:p,middleware:f}).then(e=>(l&&l(e),e.data)).catch(e=>{throw l&&l(e),e})}batchRequests(e,t){const r=(0,i.e0)(e,t),{headers:o,...s}=this.requestConfig;void 0!==r.signal&&(s.signal=r.signal);const n=r.documents.map(({document:e})=>(0,a.V)(e).query),h=r.documents.map(({variables:e})=>e);return y({url:this.url,query:n,variables:h,headers:{...c(m(o)),...c(r.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??u,method:this.requestConfig.method||"POST",fetchOptions:s,middleware:this.requestConfig.requestMiddleware}).then(e=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e.data)).catch(e=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e})}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,t){const{headers:r}=this.requestConfig;return r?r[e]=t:this.requestConfig.headers={[e]:t},this}setEndpoint(e){return this.url=e,this}}const y=async e=>{const{query:t,variables:r,fetchOptions:o}=e,i=f((0,n.Z)(e.method??"post")),a=Array.isArray(e.query),u=await i(e),c=await b(u,o.jsonSerializer??s.k),d=Array.isArray(c)?!c.some(({data:e})=>!e):Boolean(c.data),l=Array.isArray(c)||!c.errors||Array.isArray(c.errors)&&!c.errors.length||"all"===o.errorPolicy||"ignore"===o.errorPolicy;if(u.ok&&l&&d){const{errors:e,...t}=(Array.isArray(c),c),r="ignore"===o.errorPolicy?t:c;return{...a?{data:r}:r,headers:u.headers,status:u.status}}{const e="string"==typeof c?{error:c}:c;throw new h.M({...e,status:u.status,headers:u.headers},{query:t,variables:r})}};const p=(e,t,r,o)=>{const n=o??s.k;if(!Array.isArray(e))return n.stringify({query:e,variables:t,operationName:r});if(void 0!==t&&!Array.isArray(t))throw new Error("Cannot create request body with given variable type, array expected");const i=e.reduce((e,r,o)=>(e.push({query:r,variables:t?t[o]:void 0}),e),[]);return n.stringify(i)},b=async(e,t)=>{let r;
1return e.headers.forEach((e,t)=>{"content-type"===t.toLowerCase()&&(r=e)}),r&&(r.toLowerCase().startsWith("application/json")||r.toLowerCase().startsWith("application/graphql+json")||r.toLowerCase().startsWith("application/graphql-response+json"))?t.parse(await e.text()):e.text()},m=e=>"function"==typeof e?e():e},91043(e,t,r){"use strict";r.d(t,{M:()=>o});class o extends Error{constructor(e,t){super(`${o.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,o.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${e.status})`}}}}]);

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.