@times-components/utils 6.30.0 → 6.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/get-entitlements.js +1 -4
- package/package.json +4 -4
- package/rnw.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.31.0](https://github.com/newsuk/times-components/compare/@times-components/utils@6.30.1...@times-components/utils@6.31.0) (2025-03-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **TMW-000:** Commenting entitlement feature flag ([#4110](https://github.com/newsuk/times-components/issues/4110)) ([2a0cf25](https://github.com/newsuk/times-components/commit/2a0cf25ba2bc59753478efed538f6ab963bb8702))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.30.1](https://github.com/newsuk/times-components/compare/@times-components/utils@6.30.0...@times-components/utils@6.30.1) (2025-03-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **TMW-000:** Commenting entitlement logic ([#4107](https://github.com/newsuk/times-components/issues/4107)) ([06d1764](https://github.com/newsuk/times-components/commit/06d17648fe0817a1952746b0de95b172967cdf31))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [6.30.0](https://github.com/newsuk/times-components/compare/@times-components/utils@6.29.0...@times-components/utils@6.30.0) (2025-03-21)
|
|
7
29
|
|
|
8
30
|
|
package/dist/get-entitlements.js
CHANGED
|
@@ -32,10 +32,7 @@ const slugMap = {
|
|
|
32
32
|
functionalOfflineAccessPuzzles: "fp-1125"
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
const hasEntitlement = decisions
|
|
36
|
-
const slugToLookup = slugMap[entitlement];
|
|
37
|
-
return !!decisions[slugToLookup];
|
|
38
|
-
};
|
|
35
|
+
const hasEntitlement = (decisions, slug) => !!decisions[slugMap[slug]];
|
|
39
36
|
|
|
40
37
|
var _default = hasEntitlement;
|
|
41
38
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/utils",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.31.0",
|
|
4
4
|
"description": "A set of helpers and/or workarounds to be shared across packages ",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"dev": "src/index",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@babel/core": "7.4.4",
|
|
36
36
|
"@times-components/eslint-config-thetimes": "0.8.18",
|
|
37
37
|
"@times-components/jest-configurator-web": "0.8.2",
|
|
38
|
-
"@times-components/jest-serializer": "3.13.
|
|
38
|
+
"@times-components/jest-serializer": "3.13.27",
|
|
39
39
|
"@times-components/webpack-configurator": "2.1.1",
|
|
40
40
|
"babel-jest": "24.8.0",
|
|
41
41
|
"babel-loader": "8.0.5",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@times-components/schema": "0.7.5",
|
|
51
|
-
"@times-components/ts-styleguide": "1.51.
|
|
51
|
+
"@times-components/ts-styleguide": "1.51.4",
|
|
52
52
|
"apollo-cache-inmemory": "1.5.1",
|
|
53
53
|
"apollo-client": "2.5.1",
|
|
54
54
|
"apollo-link": "1.2.4",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"react": ">=16.9",
|
|
68
68
|
"react-dom": ">=16.9"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "cad3009a4b7b4142e3f805ce5394d12597d45c13"
|
|
71
71
|
}
|
package/rnw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e){t.exports=require("styled-components")},function(t,e){t.exports=require("react")},function(t,e){t.exports=require("prop-types")},function(t,e){t.exports=t=>{let e=t.tiles;if(!e)return null;let n=e.reduce((t,e)=>(t.push(...e.slices),t),[]).reduce((t,e)=>(t.push(...e.sections),t),[]).map(t=>t.title);n=n.filter(t=>t);const r=n.filter(t=>"news"!==t);return r.length?r[0].toLowerCase():"unknown section"}},function(t,e){const n=t=>t.slices[0].sections[0].title?t.slices[0].sections[0].title.toLowerCase():"";t.exports=t=>{return(e=t)&&e.tiles&&e.tiles.length>0?t.tiles.reduce((t,e)=>{return(r=e).slices&&r.slices.length>0&&(t=>t.slices[0].sections&&t.slices[0].sections.length>0)(e)&&n(e)?n(e):t;var r},"default"):"default";var e}},function(t,e){t.exports=require("@times-components/ts-styleguide/rnw")},function(t,e,n){(function(t){var n="[object Arguments]",r="[object Map]",o="[object Object]",i="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,u=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[n]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d[r]=d["[object Number]"]=d[o]=d["[object RegExp]"]=d[i]=d["[object String]"]=d["[object WeakMap]"]=!1;var h="object"==typeof global&&global&&global.Object===Object&&global,y="object"==typeof self&&self&&self.Object===Object&&self,b=h||y||Function("return this")(),v=e&&!e.nodeType&&e,g=v&&"object"==typeof t&&t&&!t.nodeType&&t,m=g&&g.exports===v&&h.process,_=function(){try{return m&&m.binding("util")}catch(t){}}(),w=_&&_.isTypedArray;function j(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function A(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function O(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function x(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function k(t,e){return function(n){return t(e(n))}}function S(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var T,C=Array.prototype,P=Function.prototype,z=Object.prototype,E=b["__core-js_shared__"],I=(T=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"",q=P.toString,M=z.hasOwnProperty,R=z.toString,F=RegExp("^"+q.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=b.Symbol,L=b.Uint8Array,N=k(Object.getPrototypeOf,Object),D=z.propertyIsEnumerable,U=C.splice,W=Object.getOwnPropertySymbols,$=k(Object.keys,Object),B=jt(b,"DataView"),H=jt(b,"Map"),G=jt(b,"Promise"),Q=jt(b,"Set"),J=jt(b,"WeakMap"),Y=jt(Object,"create"),K=It(B),X=It(H),Z=It(G),tt=It(Q),et=It(J),nt=V?V.prototype:void 0,rt=nt?nt.valueOf:void 0,ot=nt?nt.toString:void 0;function it(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ct(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function at(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ut(t){var e=-1,n=t?t.length:0;for(this.__data__=new at;++e<n;)this.add(t[e])}function lt(t){this.__data__=new ct(t)}function st(t,e){var n=Ft(t)||Rt(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!M.call(t,i)||o&&("length"==i||kt(i,r))||n.push(i);return n}function ft(t,e){for(var n=t.length;n--;)if(Mt(t[n][0],e))return n;return-1}function pt(t,e){for(var n=0,r=(e=St(e,t)?[e]:gt(e)).length;null!=t&&n<r;)t=t[Et(e[n++])];return n&&n==r?t:void 0}function dt(t,e){return null!=t&&e in Object(t)}function ht(t,e,c,a,u){return t===e||(null==t||null==e||!Dt(t)&&!Ut(e)?t!=t&&e!=e:function(t,e,c,a,u,l){var s=Ft(t),f=Ft(e),p="[object Array]",d="[object Array]";s||(p=(p=xt(t))==n?o:p);f||(d=(d=xt(e))==n?o:d);var h=p==o&&!O(t),y=d==o&&!O(e),b=p==d;if(b&&!h)return l||(l=new lt),s||Bt(t)?mt(t,e,c,a,u,l):function(t,e,n,o,c,a,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new L(t),new L(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Mt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case r:var l=x;case i:var s=2&a;if(l||(l=S),t.size!=e.size&&!s)return!1;var f=u.get(t);if(f)return f==e;a|=1,u.set(t,e);var p=mt(l(t),l(e),o,c,a,u);return u.delete(t),p;case"[object Symbol]":if(rt)return rt.call(t)==rt.call(e)}return!1}(t,e,p,c,a,u,l);if(!(2&u)){var v=h&&M.call(t,"__wrapped__"),g=y&&M.call(e,"__wrapped__");if(v||g){var m=v?t.value():t,_=g?e.value():e;return l||(l=new lt),c(m,_,a,u,l)}}if(!b)return!1;return l||(l=new lt),function(t,e,n,r,o,i){var c=2&o,a=Ht(t),u=a.length,l=Ht(e).length;if(u!=l&&!c)return!1;var s=u;for(;s--;){var f=a[s];if(!(c?f in e:M.call(e,f)))return!1}var p=i.get(t);if(p&&i.get(e))return p==e;var d=!0;i.set(t,e),i.set(e,t);var h=c;for(;++s<u;){f=a[s];var y=t[f],b=e[f];if(r)var v=c?r(b,y,f,e,t,i):r(y,b,f,t,e,i);if(!(void 0===v?y===b||n(y,b,r,o,i):v)){d=!1;break}h||(h="constructor"==f)}if(d&&!h){var g=t.constructor,m=e.constructor;g==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m||(d=!1)}return i.delete(t),i.delete(e),d}(t,e,c,a,u,l)}(t,e,ht,c,a,u))}function yt(t){return!(!Dt(t)||(e=t,I&&I in e))&&(Lt(t)||O(t)?F:f).test(It(t));var e}function bt(t){return"function"==typeof t?t:null==t?Qt:"object"==typeof t?Ft(t)?function(t,e){if(St(t)&&Ct(e))return Pt(Et(t),e);return function(n){var r=function(t,e,n){var r=null==t?void 0:pt(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&function(t,e,n){e=St(e,t)?[e]:gt(e);var r,o=-1,i=e.length;for(;++o<i;){var c=Et(e[o]);if(!(r=null!=t&&n(t,c)))break;t=t[c]}if(r)return r;return!!(i=t?t.length:0)&&Nt(i)&&kt(c,i)&&(Ft(t)||Rt(t))}(t,e,dt)}(n,t):ht(e,r,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){var e=Ht(t),n=e.length;for(;n--;){var r=e[n],o=t[r];e[n]=[r,o,Ct(o)]}return e}(t);if(1==e.length&&e[0][2])return Pt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var o=n.length,i=o,c=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=n[o];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var u=(a=n[o])[0],l=t[u],s=a[1];if(c&&a[2]){if(void 0===l&&!(u in t))return!1}else{var f=new lt;if(r)var p=r(l,s,u,t,e,f);if(!(void 0===p?ht(s,l,r,3,f):p))return!1}}return!0}(n,t,e)}}(t):St(e=t)?(n=Et(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return pt(e,t)}}(e);var e,n}function vt(t){if(!Dt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Tt(t),n=[];for(var r in t)("constructor"!=r||!e&&M.call(t,r))&&n.push(r);return n}function gt(t){return Ft(t)?t:zt(t)}function mt(t,e,n,r,o,i){var c=2&o,a=t.length,u=e.length;if(a!=u&&!(c&&u>a))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var s=-1,f=!0,p=1&o?new ut:void 0;for(i.set(t,e),i.set(e,t);++s<a;){var d=t[s],h=e[s];if(r)var y=c?r(h,d,s,e,t,i):r(d,h,s,t,e,i);if(void 0!==y){if(y)continue;f=!1;break}if(p){if(!A(e,(function(t,e){if(!p.has(e)&&(d===t||n(d,t,r,o,i)))return p.add(e)}))){f=!1;break}}else if(d!==h&&!n(d,h,r,o,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function _t(t){return function(t,e,n){var r=e(t);return Ft(t)?r:j(r,n(t))}(t,Gt,Ot)}function wt(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function jt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return yt(n)?n:void 0}it.prototype.clear=function(){this.__data__=Y?Y(null):{}},it.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},it.prototype.get=function(t){var e=this.__data__;if(Y){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return M.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return Y?void 0!==e[t]:M.call(e,t)},it.prototype.set=function(t,e){return this.__data__[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this},ct.prototype.clear=function(){this.__data__=[]},ct.prototype.delete=function(t){var e=this.__data__,n=ft(e,t);return!(n<0)&&(n==e.length-1?e.pop():U.call(e,n,1),!0)},ct.prototype.get=function(t){var e=this.__data__,n=ft(e,t);return n<0?void 0:e[n][1]},ct.prototype.has=function(t){return ft(this.__data__,t)>-1},ct.prototype.set=function(t,e){var n=this.__data__,r=ft(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},at.prototype.clear=function(){this.__data__={hash:new it,map:new(H||ct),string:new it}},at.prototype.delete=function(t){return wt(this,t).delete(t)},at.prototype.get=function(t){return wt(this,t).get(t)},at.prototype.has=function(t){return wt(this,t).has(t)},at.prototype.set=function(t,e){return wt(this,t).set(t,e),this},ut.prototype.add=ut.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ut.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.clear=function(){this.__data__=new ct},lt.prototype.delete=function(t){return this.__data__.delete(t)},lt.prototype.get=function(t){return this.__data__.get(t)},lt.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ct){var r=n.__data__;if(!H||r.length<199)return r.push([t,e]),this;n=this.__data__=new at(r)}return n.set(t,e),this};var At=W?k(W,Object):Jt,Ot=W?function(t){for(var e=[];t;)j(e,At(t)),t=N(t);return e}:Jt,xt=function(t){return R.call(t)};function kt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||p.test(t))&&t>-1&&t%1==0&&t<e}function St(t,e){if(Ft(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Wt(t))||(a.test(t)||!c.test(t)||null!=e&&t in Object(e))}function Tt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Ct(t){return t==t&&!Dt(t)}function Pt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(B&&"[object DataView]"!=xt(new B(new ArrayBuffer(1)))||H&&xt(new H)!=r||G&&"[object Promise]"!=xt(G.resolve())||Q&&xt(new Q)!=i||J&&"[object WeakMap]"!=xt(new J))&&(xt=function(t){var e=R.call(t),n=e==o?t.constructor:void 0,c=n?It(n):void 0;if(c)switch(c){case K:return"[object DataView]";case X:return r;case Z:return"[object Promise]";case tt:return i;case et:return"[object WeakMap]"}return e});var zt=qt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Wt(t))return ot?ot.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return u.test(t)&&n.push(""),t.replace(l,(function(t,e,r,o){n.push(r?o.replace(s,"$1"):e||t)})),n}));function Et(t){if("string"==typeof t||Wt(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function It(t){if(null!=t){try{return q.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function qt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var c=t.apply(this,r);return n.cache=i.set(o,c),c};return n.cache=new(qt.Cache||at),n}function Mt(t,e){return t===e||t!=t&&e!=e}function Rt(t){return function(t){return Ut(t)&&Vt(t)}(t)&&M.call(t,"callee")&&(!D.call(t,"callee")||R.call(t)==n)}qt.Cache=at;var Ft=Array.isArray;function Vt(t){return null!=t&&Nt(t.length)&&!Lt(t)}function Lt(t){var e=Dt(t)?R.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function Nt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Dt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Ut(t){return!!t&&"object"==typeof t}function Wt(t){return"symbol"==typeof t||Ut(t)&&"[object Symbol]"==R.call(t)}var $t,Bt=w?($t=w,function(t){return $t(t)}):function(t){return Ut(t)&&Nt(t.length)&&!!d[R.call(t)]};function Ht(t){return Vt(t)?st(t):function(t){if(!Tt(t))return $(t);var e=[];for(var n in Object(t))M.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function Gt(t){return Vt(t)?st(t,!0):vt(t)}function Qt(t){return t}function Jt(){return[]}t.exports=function(t,e){return function(t,e){return null==t?{}:function(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var c=e[r],a=t[c];n(a,c)&&(i[c]=a)}return i}(t,_t(t),bt(e))}(t,function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}(bt(e)))}}).call(this,n(14)(t))},function(t,e){t.exports=require("unfetch")},function(t,e){t.exports=require("apollo-link")},function(t,e){t.exports=require("apollo-link-http")},function(t,e){t.exports=require("apollo-link-persisted-queries")},function(t,e){t.exports=require("@times-components/schema/rnw")},function(t,e){t.exports=require("apollo-cache-inmemory")},function(t,e){t.exports=require("apollo-client")},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";n.r(e);var r=n(5);var o=()=>{let t=1024,e=768;return"undefined"!=typeof window&&(t=window.innerWidth,e=window.innerHeight),{width:t,height:e}};const i=[320,440,660,800,1080,1280,1440,1670,1920,2308],c=o().width,a=t=>i.find(e=>t<=e)||i[i.length-1],u=t=>t?r.tabletWidth:c;function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const f=t=>t.charAt(0).toUpperCase()+t.slice(1),p=t=>{if(!t||!t.length)return 1;const e=l(t.split(":"),2),n=e[0],r=e[1],o=parseFloat(n)/parseFloat(r);return Number.isNaN(o)?1:o},d=(t,e)=>t.replace(/(<([^>]+)>)/gi,e),h=t=>{const e=t;return Object.keys(e).forEach(t=>{if("lineHeight"===t){const n=e[t];"number"==typeof n&&(e[t]="".concat(n,"px"))}}),e},y=(t,e)=>{if(e&&"#"===e.charAt(0)){t.preventDefault();const n=document.getElementById(e.substring(1));if(n){const t=n.getBoundingClientRect().top+window.pageYOffset-(()=>{const t=document.querySelector(".OrientationBar"),e=t?t.offsetHeight:0;return window.innerWidth<1024?110:window.innerWidth<1320?100+e:50+e})();window.scrollTo({top:t,behavior:"smooth"})}}},b=t=>t&&"#"===t.charAt(0)?null:t;var v=n(6),g=n.n(v);var m=t=>g()(t,t=>void 0===t||Number.isNaN(t));var _=t=>t?t.startsWith("//")?"https:".concat(t):t:null,w=n(3),j=n.n(w),A=n(1),O=n.n(A),x=(n(2),n(0)),k=n.n(x);var S=k.a.div.withConfig({displayName:"tc-view__TcView",componentId:"nuazoi-0"})(["border:0px solid black;box-sizing:border-box;display:flex;flex-direction:column;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;z-index:0;"]);function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var P=t=>{let e=t.aspectRatio,n=t.children;const r=T(e.split(":"),2),o=r[0],i=r[1]/o*100;return O.a.createElement(S,{style:{paddingBottom:"".concat(i,"%"),position:"relative"}},O.a.createElement(S,{style:{height:"100%",position:"absolute",width:"100%"}},n))},z=t=>{let e=t.crop169,n=t.crop32,r=t.crop1251,o=t.crop11,i=t.crop45,c=t.crop23;return e||n||r||o||i||c};function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const M={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null};function R(t){let e=t.leadAsset;if(!e)return M;const n="Video"===e.__typename,r=z(n?e.posterImage:e);if(!r)return M;return{aspectRatio:r.ratio,displayImage:r,isVideo:n,leadAsset:I(I({},e),{},{isVideo:n})}}var F=n(7),V=n.n(F),L=n(8),N=n(9),D=n(10),U=n(11),W=n(12),$=n(13);var B=()=>{let t=null,e=null,n=null,r=null,o="unknown";"undefined"!=typeof window&&window.nuk&&(t=window.nuk.graphqlapi.url,e=!!window.nuk.graphqlapi.usePersistedQueries,n=window.nuk.getCookieValue("acs_tnl"),r=window.nuk.getCookieValue("sacs_tnl"),o=window.nuk.graphqlapi.clientName||o);const i={fetch:V.a,headers:{},uri:t};i.headers["content-type"]="application/x-www-form-urlencoded",i.headers.Authorization="Cookie acs_tnl=".concat(n,";sacs_tnl=").concat(r);const c=L.ApolloLink.from([e&&Object(D.createPersistedQueryLink)({useGETForHashedQueries:!0}),Object(N.createHttpLink)(i)].filter(Boolean));return new $.ApolloClient({name:"@times-components/utils (".concat(o,")"),cache:new W.InMemoryCache({fragmentMatcher:U.fragmentMatcher}),link:c})};var H=(t,e)=>t||e;const G=t=>{const e=t.toString(16);return e.length%2?"0".concat(e):e};var Q=t=>t&&t.rgba?"#".concat(G(t.rgba.red)).concat(G(t.rgba.green)).concat(G(t.rgba.blue)).toUpperCase():null,J=t=>t&&t.rgba?"rgba(".concat(t.rgba.red,", ").concat(t.rgba.green,", ").concat(t.rgba.blue,", ").concat(t.rgba.alpha,")"):null;var Y=k.a.div.withConfig({displayName:"hover-icon__HoverIcon",componentId:"sc-1ge5rtz-0"})(["color:",";text-decoration-line:",";&:hover{color:",";text-decoration-line:",";}"],t=>t.colour,t=>t.underline&&"underline",t=>t.hoverColour||t.colour,t=>t.underline&&"none");class K extends A.Component{constructor(t){super(t),this.state={isClient:!1}}componentDidMount(){this.setState({isClient:!0})}render(){const t=this.state.isClient,e=this.props,n=e.client,r=e.server;return t?n&&n():r&&r()}}K.defaultProps={server:null,client:null};var X=K,Z=(t,e,n)=>{if(!t||!e||!n)return t;if(t.includes("?".concat(e))||t.includes("&".concat(e)))return t;const r=t.includes("?")?"&":"?";return"".concat(t).concat(r).concat(e,"=").concat(n)},tt=n(4),et=n.n(tt);const nt=["thetimes.co.uk/imageserver","thetimes.co.uk/tto/archive/frame","thetimes.co.uk/article","thetimes.co.uk/assets/optimizely/custom",/thetimes\.co\.uk\/([a-z0-9-]+\/)+[a-z0-9-]+-([bcdfghjklmnpqrstvwxz23567890]{9,11}$)/g],rt=[/home.(.*?)thetimes.co.uk/g,/login.(.*?)thetimes.co.uk/g];var ot=(t,e)=>t.includes("thetimes.com")&&[...nt,...rt].some(t=>e.match(t))?e.replace(".co.uk",".com"):e;var it=t=>{let e=t.data,n=t.initialNumToRender,r=t.RenderItem;if(Array.isArray(e)){const t=e.map((t,e)=>e<n?O.a.createElement("div",{role:"listitem"},r({data:t,key:e})):null);if(t.length)return O.a.createElement("div",{role:"list"},t)}return null};var ct=k.a.div.withConfig({displayName:"tc-text__TcText",componentId:"sc-15igzev-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]);var at=k.a.a.withConfig({displayName:"tc-text-link__TcTextLink",componentId:"sc-1voa8bp-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]);var ut=k.a.div.withConfig({displayName:"tc-scroll-view__TcScrollView",componentId:"sc-1sygsh3-0"})(["height:500px;overflow-y:scroll;white-space:nowrap;"]);var lt=(t,e)=>{let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>{t(...o)},e)}};var st=t=>!(!t||!["times2"].includes(t.toLowerCase()));var ft=t=>{const e=document.cookie.split(";").find(e=>e.includes(t));return e?e.split("=")[1]:null};var pt=t=>{const e=ft(t);if(e)try{return JSON.parse(atob(e))}catch(t){return}};var dt=()=>{const t=pt("nuk_zephr_decisions");return!(!t||!t["free-access-symphony"])&&t["free-access-symphony"].includes("ARTICLE_ACCESS")};const ht={platformAccessWeb:"fp-1101",platformAccessLiveApp:"fp-1102",platformAccessClassicApp:"fp-1103",platformAccessEpaperApp:"fp-1104",platformAccessPuzzlesApp:"fp-1105",platformAccessTimesPlus:"fp-1106",platformAccessTimesPlusOffers:"fp-1107",fullAccessTheTimes:"fp-1108",fullAccessPuzzles:"fp-1109",fullAccessTheTimesArchives:"fp-1110",meteredAccessTheTimes:"fp-1111",meteredAccessPuzzles:"fp-1112",functionalCommentingFull:"fp-1113",functionalCommentingView:"fp-1114",functionalCommentingAdd:"fp-1115",functionalCommentingReply:"fp-1116",functionalCommentingRecommend:"fp-1117",functionalCommentingShare:"fp-1118",functionalGiftingUnlimited:"fp-1119",functionalGiftingMetered:"fp-1120",functionalSharing:"fp-1121",functionalSaving:"fp-1122",functionalOfflineAccessArticles:"fp-1123",functionalOfflineAccessMultimedia:"fp-1124",functionalOfflineAccessPuzzles:"fp-1125"};var yt=t=>e=>!!t[ht[e]];n.d(e,"acceptedWidths",(function(){return i})),n.d(e,"normaliseWidthForAssetRequestCache",(function(){return a})),n.d(e,"screenWidth",(function(){return u})),n.d(e,"capitalise",(function(){return f})),n.d(e,"ratioTextToFloat",(function(){return p})),n.d(e,"stripTags",(function(){return d})),n.d(e,"checkStylesForUnits",(function(){return h})),n.d(e,"handleOnClickScrollTo",(function(){return y})),n.d(e,"handleHrefScrollTo",(function(){return b})),n.d(e,"clean",(function(){return m})),n.d(e,"addMissingProtocol",(function(){return _})),n.d(e,"getSectionNameForAnalytics",(function(){return j.a})),n.d(e,"AspectRatioContainer",(function(){return P})),n.d(e,"getLeadAsset",(function(){return R})),n.d(e,"makeClient",(function(){return B})),n.d(e,"getStandardTemplateCrop",(function(){return z})),n.d(e,"getDimensions",(function(){return o})),n.d(e,"getHeadline",(function(){return H})),n.d(e,"gqlRgbaToHex",(function(){return Q})),n.d(e,"gqlRgbaToStyle",(function(){return J})),n.d(e,"HoverIcon",(function(){return Y})),n.d(e,"ServerClientRender",(function(){return X})),n.d(e,"appendToImageURL",(function(){return Z})),n.d(e,"getSectionFromTiles",(function(){return et.a})),n.d(e,"getDomainSpecificUrl",(function(){return ot})),n.d(e,"TcView",(function(){return S})),n.d(e,"TcFlatList",(function(){return it})),n.d(e,"TcText",(function(){return ct})),n.d(e,"TcTextLink",(function(){return at})),n.d(e,"TcScrollView",(function(){return ut})),n.d(e,"debounce",(function(){return lt})),n.d(e,"CanShowPuzzleSidebar",(function(){return st})),n.d(e,"getCookieValue",(function(){return ft})),n.d(e,"getBase64CookieValue",(function(){return pt})),n.d(e,"checkForSymphonyExperiment",(function(){return dt})),n.d(e,"hasEntitlement",(function(){return yt}))}]);
|
|
1
|
+
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e){t.exports=require("styled-components")},function(t,e){t.exports=require("react")},function(t,e){t.exports=require("prop-types")},function(t,e){t.exports=t=>{let e=t.tiles;if(!e)return null;let n=e.reduce((t,e)=>(t.push(...e.slices),t),[]).reduce((t,e)=>(t.push(...e.sections),t),[]).map(t=>t.title);n=n.filter(t=>t);const r=n.filter(t=>"news"!==t);return r.length?r[0].toLowerCase():"unknown section"}},function(t,e){const n=t=>t.slices[0].sections[0].title?t.slices[0].sections[0].title.toLowerCase():"";t.exports=t=>{return(e=t)&&e.tiles&&e.tiles.length>0?t.tiles.reduce((t,e)=>{return(r=e).slices&&r.slices.length>0&&(t=>t.slices[0].sections&&t.slices[0].sections.length>0)(e)&&n(e)?n(e):t;var r},"default"):"default";var e}},function(t,e){t.exports=require("@times-components/ts-styleguide/rnw")},function(t,e,n){(function(t){var n="[object Arguments]",r="[object Map]",o="[object Object]",i="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,u=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[n]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d[r]=d["[object Number]"]=d[o]=d["[object RegExp]"]=d[i]=d["[object String]"]=d["[object WeakMap]"]=!1;var h="object"==typeof global&&global&&global.Object===Object&&global,y="object"==typeof self&&self&&self.Object===Object&&self,b=h||y||Function("return this")(),v=e&&!e.nodeType&&e,g=v&&"object"==typeof t&&t&&!t.nodeType&&t,m=g&&g.exports===v&&h.process,_=function(){try{return m&&m.binding("util")}catch(t){}}(),w=_&&_.isTypedArray;function j(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function A(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function O(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function x(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function k(t,e){return function(n){return t(e(n))}}function S(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var T,C=Array.prototype,P=Function.prototype,z=Object.prototype,E=b["__core-js_shared__"],I=(T=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"",q=P.toString,M=z.hasOwnProperty,R=z.toString,F=RegExp("^"+q.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=b.Symbol,L=b.Uint8Array,N=k(Object.getPrototypeOf,Object),D=z.propertyIsEnumerable,U=C.splice,W=Object.getOwnPropertySymbols,$=k(Object.keys,Object),B=jt(b,"DataView"),H=jt(b,"Map"),G=jt(b,"Promise"),Q=jt(b,"Set"),J=jt(b,"WeakMap"),Y=jt(Object,"create"),K=It(B),X=It(H),Z=It(G),tt=It(Q),et=It(J),nt=V?V.prototype:void 0,rt=nt?nt.valueOf:void 0,ot=nt?nt.toString:void 0;function it(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ct(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function at(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ut(t){var e=-1,n=t?t.length:0;for(this.__data__=new at;++e<n;)this.add(t[e])}function lt(t){this.__data__=new ct(t)}function st(t,e){var n=Ft(t)||Rt(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!M.call(t,i)||o&&("length"==i||kt(i,r))||n.push(i);return n}function ft(t,e){for(var n=t.length;n--;)if(Mt(t[n][0],e))return n;return-1}function pt(t,e){for(var n=0,r=(e=St(e,t)?[e]:gt(e)).length;null!=t&&n<r;)t=t[Et(e[n++])];return n&&n==r?t:void 0}function dt(t,e){return null!=t&&e in Object(t)}function ht(t,e,c,a,u){return t===e||(null==t||null==e||!Dt(t)&&!Ut(e)?t!=t&&e!=e:function(t,e,c,a,u,l){var s=Ft(t),f=Ft(e),p="[object Array]",d="[object Array]";s||(p=(p=xt(t))==n?o:p);f||(d=(d=xt(e))==n?o:d);var h=p==o&&!O(t),y=d==o&&!O(e),b=p==d;if(b&&!h)return l||(l=new lt),s||Bt(t)?mt(t,e,c,a,u,l):function(t,e,n,o,c,a,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new L(t),new L(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Mt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case r:var l=x;case i:var s=2&a;if(l||(l=S),t.size!=e.size&&!s)return!1;var f=u.get(t);if(f)return f==e;a|=1,u.set(t,e);var p=mt(l(t),l(e),o,c,a,u);return u.delete(t),p;case"[object Symbol]":if(rt)return rt.call(t)==rt.call(e)}return!1}(t,e,p,c,a,u,l);if(!(2&u)){var v=h&&M.call(t,"__wrapped__"),g=y&&M.call(e,"__wrapped__");if(v||g){var m=v?t.value():t,_=g?e.value():e;return l||(l=new lt),c(m,_,a,u,l)}}if(!b)return!1;return l||(l=new lt),function(t,e,n,r,o,i){var c=2&o,a=Ht(t),u=a.length,l=Ht(e).length;if(u!=l&&!c)return!1;var s=u;for(;s--;){var f=a[s];if(!(c?f in e:M.call(e,f)))return!1}var p=i.get(t);if(p&&i.get(e))return p==e;var d=!0;i.set(t,e),i.set(e,t);var h=c;for(;++s<u;){f=a[s];var y=t[f],b=e[f];if(r)var v=c?r(b,y,f,e,t,i):r(y,b,f,t,e,i);if(!(void 0===v?y===b||n(y,b,r,o,i):v)){d=!1;break}h||(h="constructor"==f)}if(d&&!h){var g=t.constructor,m=e.constructor;g==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m||(d=!1)}return i.delete(t),i.delete(e),d}(t,e,c,a,u,l)}(t,e,ht,c,a,u))}function yt(t){return!(!Dt(t)||(e=t,I&&I in e))&&(Lt(t)||O(t)?F:f).test(It(t));var e}function bt(t){return"function"==typeof t?t:null==t?Qt:"object"==typeof t?Ft(t)?function(t,e){if(St(t)&&Ct(e))return Pt(Et(t),e);return function(n){var r=function(t,e,n){var r=null==t?void 0:pt(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&function(t,e,n){e=St(e,t)?[e]:gt(e);var r,o=-1,i=e.length;for(;++o<i;){var c=Et(e[o]);if(!(r=null!=t&&n(t,c)))break;t=t[c]}if(r)return r;return!!(i=t?t.length:0)&&Nt(i)&&kt(c,i)&&(Ft(t)||Rt(t))}(t,e,dt)}(n,t):ht(e,r,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){var e=Ht(t),n=e.length;for(;n--;){var r=e[n],o=t[r];e[n]=[r,o,Ct(o)]}return e}(t);if(1==e.length&&e[0][2])return Pt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var o=n.length,i=o,c=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=n[o];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var u=(a=n[o])[0],l=t[u],s=a[1];if(c&&a[2]){if(void 0===l&&!(u in t))return!1}else{var f=new lt;if(r)var p=r(l,s,u,t,e,f);if(!(void 0===p?ht(s,l,r,3,f):p))return!1}}return!0}(n,t,e)}}(t):St(e=t)?(n=Et(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return pt(e,t)}}(e);var e,n}function vt(t){if(!Dt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Tt(t),n=[];for(var r in t)("constructor"!=r||!e&&M.call(t,r))&&n.push(r);return n}function gt(t){return Ft(t)?t:zt(t)}function mt(t,e,n,r,o,i){var c=2&o,a=t.length,u=e.length;if(a!=u&&!(c&&u>a))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var s=-1,f=!0,p=1&o?new ut:void 0;for(i.set(t,e),i.set(e,t);++s<a;){var d=t[s],h=e[s];if(r)var y=c?r(h,d,s,e,t,i):r(d,h,s,t,e,i);if(void 0!==y){if(y)continue;f=!1;break}if(p){if(!A(e,(function(t,e){if(!p.has(e)&&(d===t||n(d,t,r,o,i)))return p.add(e)}))){f=!1;break}}else if(d!==h&&!n(d,h,r,o,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function _t(t){return function(t,e,n){var r=e(t);return Ft(t)?r:j(r,n(t))}(t,Gt,Ot)}function wt(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function jt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return yt(n)?n:void 0}it.prototype.clear=function(){this.__data__=Y?Y(null):{}},it.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},it.prototype.get=function(t){var e=this.__data__;if(Y){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return M.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return Y?void 0!==e[t]:M.call(e,t)},it.prototype.set=function(t,e){return this.__data__[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this},ct.prototype.clear=function(){this.__data__=[]},ct.prototype.delete=function(t){var e=this.__data__,n=ft(e,t);return!(n<0)&&(n==e.length-1?e.pop():U.call(e,n,1),!0)},ct.prototype.get=function(t){var e=this.__data__,n=ft(e,t);return n<0?void 0:e[n][1]},ct.prototype.has=function(t){return ft(this.__data__,t)>-1},ct.prototype.set=function(t,e){var n=this.__data__,r=ft(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},at.prototype.clear=function(){this.__data__={hash:new it,map:new(H||ct),string:new it}},at.prototype.delete=function(t){return wt(this,t).delete(t)},at.prototype.get=function(t){return wt(this,t).get(t)},at.prototype.has=function(t){return wt(this,t).has(t)},at.prototype.set=function(t,e){return wt(this,t).set(t,e),this},ut.prototype.add=ut.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ut.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.clear=function(){this.__data__=new ct},lt.prototype.delete=function(t){return this.__data__.delete(t)},lt.prototype.get=function(t){return this.__data__.get(t)},lt.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ct){var r=n.__data__;if(!H||r.length<199)return r.push([t,e]),this;n=this.__data__=new at(r)}return n.set(t,e),this};var At=W?k(W,Object):Jt,Ot=W?function(t){for(var e=[];t;)j(e,At(t)),t=N(t);return e}:Jt,xt=function(t){return R.call(t)};function kt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||p.test(t))&&t>-1&&t%1==0&&t<e}function St(t,e){if(Ft(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Wt(t))||(a.test(t)||!c.test(t)||null!=e&&t in Object(e))}function Tt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Ct(t){return t==t&&!Dt(t)}function Pt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(B&&"[object DataView]"!=xt(new B(new ArrayBuffer(1)))||H&&xt(new H)!=r||G&&"[object Promise]"!=xt(G.resolve())||Q&&xt(new Q)!=i||J&&"[object WeakMap]"!=xt(new J))&&(xt=function(t){var e=R.call(t),n=e==o?t.constructor:void 0,c=n?It(n):void 0;if(c)switch(c){case K:return"[object DataView]";case X:return r;case Z:return"[object Promise]";case tt:return i;case et:return"[object WeakMap]"}return e});var zt=qt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Wt(t))return ot?ot.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return u.test(t)&&n.push(""),t.replace(l,(function(t,e,r,o){n.push(r?o.replace(s,"$1"):e||t)})),n}));function Et(t){if("string"==typeof t||Wt(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function It(t){if(null!=t){try{return q.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function qt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var c=t.apply(this,r);return n.cache=i.set(o,c),c};return n.cache=new(qt.Cache||at),n}function Mt(t,e){return t===e||t!=t&&e!=e}function Rt(t){return function(t){return Ut(t)&&Vt(t)}(t)&&M.call(t,"callee")&&(!D.call(t,"callee")||R.call(t)==n)}qt.Cache=at;var Ft=Array.isArray;function Vt(t){return null!=t&&Nt(t.length)&&!Lt(t)}function Lt(t){var e=Dt(t)?R.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function Nt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Dt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Ut(t){return!!t&&"object"==typeof t}function Wt(t){return"symbol"==typeof t||Ut(t)&&"[object Symbol]"==R.call(t)}var $t,Bt=w?($t=w,function(t){return $t(t)}):function(t){return Ut(t)&&Nt(t.length)&&!!d[R.call(t)]};function Ht(t){return Vt(t)?st(t):function(t){if(!Tt(t))return $(t);var e=[];for(var n in Object(t))M.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function Gt(t){return Vt(t)?st(t,!0):vt(t)}function Qt(t){return t}function Jt(){return[]}t.exports=function(t,e){return function(t,e){return null==t?{}:function(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var c=e[r],a=t[c];n(a,c)&&(i[c]=a)}return i}(t,_t(t),bt(e))}(t,function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}(bt(e)))}}).call(this,n(14)(t))},function(t,e){t.exports=require("unfetch")},function(t,e){t.exports=require("apollo-link")},function(t,e){t.exports=require("apollo-link-http")},function(t,e){t.exports=require("apollo-link-persisted-queries")},function(t,e){t.exports=require("@times-components/schema/rnw")},function(t,e){t.exports=require("apollo-cache-inmemory")},function(t,e){t.exports=require("apollo-client")},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";n.r(e);var r=n(5);var o=()=>{let t=1024,e=768;return"undefined"!=typeof window&&(t=window.innerWidth,e=window.innerHeight),{width:t,height:e}};const i=[320,440,660,800,1080,1280,1440,1670,1920,2308],c=o().width,a=t=>i.find(e=>t<=e)||i[i.length-1],u=t=>t?r.tabletWidth:c;function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const f=t=>t.charAt(0).toUpperCase()+t.slice(1),p=t=>{if(!t||!t.length)return 1;const e=l(t.split(":"),2),n=e[0],r=e[1],o=parseFloat(n)/parseFloat(r);return Number.isNaN(o)?1:o},d=(t,e)=>t.replace(/(<([^>]+)>)/gi,e),h=t=>{const e=t;return Object.keys(e).forEach(t=>{if("lineHeight"===t){const n=e[t];"number"==typeof n&&(e[t]="".concat(n,"px"))}}),e},y=(t,e)=>{if(e&&"#"===e.charAt(0)){t.preventDefault();const n=document.getElementById(e.substring(1));if(n){const t=n.getBoundingClientRect().top+window.pageYOffset-(()=>{const t=document.querySelector(".OrientationBar"),e=t?t.offsetHeight:0;return window.innerWidth<1024?110:window.innerWidth<1320?100+e:50+e})();window.scrollTo({top:t,behavior:"smooth"})}}},b=t=>t&&"#"===t.charAt(0)?null:t;var v=n(6),g=n.n(v);var m=t=>g()(t,t=>void 0===t||Number.isNaN(t));var _=t=>t?t.startsWith("//")?"https:".concat(t):t:null,w=n(3),j=n.n(w),A=n(1),O=n.n(A),x=(n(2),n(0)),k=n.n(x);var S=k.a.div.withConfig({displayName:"tc-view__TcView",componentId:"nuazoi-0"})(["border:0px solid black;box-sizing:border-box;display:flex;flex-direction:column;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;z-index:0;"]);function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var P=t=>{let e=t.aspectRatio,n=t.children;const r=T(e.split(":"),2),o=r[0],i=r[1]/o*100;return O.a.createElement(S,{style:{paddingBottom:"".concat(i,"%"),position:"relative"}},O.a.createElement(S,{style:{height:"100%",position:"absolute",width:"100%"}},n))},z=t=>{let e=t.crop169,n=t.crop32,r=t.crop1251,o=t.crop11,i=t.crop45,c=t.crop23;return e||n||r||o||i||c};function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const M={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null};function R(t){let e=t.leadAsset;if(!e)return M;const n="Video"===e.__typename,r=z(n?e.posterImage:e);if(!r)return M;return{aspectRatio:r.ratio,displayImage:r,isVideo:n,leadAsset:I(I({},e),{},{isVideo:n})}}var F=n(7),V=n.n(F),L=n(8),N=n(9),D=n(10),U=n(11),W=n(12),$=n(13);var B=()=>{let t=null,e=null,n=null,r=null,o="unknown";"undefined"!=typeof window&&window.nuk&&(t=window.nuk.graphqlapi.url,e=!!window.nuk.graphqlapi.usePersistedQueries,n=window.nuk.getCookieValue("acs_tnl"),r=window.nuk.getCookieValue("sacs_tnl"),o=window.nuk.graphqlapi.clientName||o);const i={fetch:V.a,headers:{},uri:t};i.headers["content-type"]="application/x-www-form-urlencoded",i.headers.Authorization="Cookie acs_tnl=".concat(n,";sacs_tnl=").concat(r);const c=L.ApolloLink.from([e&&Object(D.createPersistedQueryLink)({useGETForHashedQueries:!0}),Object(N.createHttpLink)(i)].filter(Boolean));return new $.ApolloClient({name:"@times-components/utils (".concat(o,")"),cache:new W.InMemoryCache({fragmentMatcher:U.fragmentMatcher}),link:c})};var H=(t,e)=>t||e;const G=t=>{const e=t.toString(16);return e.length%2?"0".concat(e):e};var Q=t=>t&&t.rgba?"#".concat(G(t.rgba.red)).concat(G(t.rgba.green)).concat(G(t.rgba.blue)).toUpperCase():null,J=t=>t&&t.rgba?"rgba(".concat(t.rgba.red,", ").concat(t.rgba.green,", ").concat(t.rgba.blue,", ").concat(t.rgba.alpha,")"):null;var Y=k.a.div.withConfig({displayName:"hover-icon__HoverIcon",componentId:"sc-1ge5rtz-0"})(["color:",";text-decoration-line:",";&:hover{color:",";text-decoration-line:",";}"],t=>t.colour,t=>t.underline&&"underline",t=>t.hoverColour||t.colour,t=>t.underline&&"none");class K extends A.Component{constructor(t){super(t),this.state={isClient:!1}}componentDidMount(){this.setState({isClient:!0})}render(){const t=this.state.isClient,e=this.props,n=e.client,r=e.server;return t?n&&n():r&&r()}}K.defaultProps={server:null,client:null};var X=K,Z=(t,e,n)=>{if(!t||!e||!n)return t;if(t.includes("?".concat(e))||t.includes("&".concat(e)))return t;const r=t.includes("?")?"&":"?";return"".concat(t).concat(r).concat(e,"=").concat(n)},tt=n(4),et=n.n(tt);const nt=["thetimes.co.uk/imageserver","thetimes.co.uk/tto/archive/frame","thetimes.co.uk/article","thetimes.co.uk/assets/optimizely/custom",/thetimes\.co\.uk\/([a-z0-9-]+\/)+[a-z0-9-]+-([bcdfghjklmnpqrstvwxz23567890]{9,11}$)/g],rt=[/home.(.*?)thetimes.co.uk/g,/login.(.*?)thetimes.co.uk/g];var ot=(t,e)=>t.includes("thetimes.com")&&[...nt,...rt].some(t=>e.match(t))?e.replace(".co.uk",".com"):e;var it=t=>{let e=t.data,n=t.initialNumToRender,r=t.RenderItem;if(Array.isArray(e)){const t=e.map((t,e)=>e<n?O.a.createElement("div",{role:"listitem"},r({data:t,key:e})):null);if(t.length)return O.a.createElement("div",{role:"list"},t)}return null};var ct=k.a.div.withConfig({displayName:"tc-text__TcText",componentId:"sc-15igzev-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]);var at=k.a.a.withConfig({displayName:"tc-text-link__TcTextLink",componentId:"sc-1voa8bp-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]);var ut=k.a.div.withConfig({displayName:"tc-scroll-view__TcScrollView",componentId:"sc-1sygsh3-0"})(["height:500px;overflow-y:scroll;white-space:nowrap;"]);var lt=(t,e)=>{let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>{t(...o)},e)}};var st=t=>!(!t||!["times2"].includes(t.toLowerCase()));var ft=t=>{const e=document.cookie.split(";").find(e=>e.includes(t));return e?e.split("=")[1]:null};var pt=t=>{const e=ft(t);if(e)try{return JSON.parse(atob(e))}catch(t){return}};var dt=()=>{const t=pt("nuk_zephr_decisions");return!(!t||!t["free-access-symphony"])&&t["free-access-symphony"].includes("ARTICLE_ACCESS")};const ht={platformAccessWeb:"fp-1101",platformAccessLiveApp:"fp-1102",platformAccessClassicApp:"fp-1103",platformAccessEpaperApp:"fp-1104",platformAccessPuzzlesApp:"fp-1105",platformAccessTimesPlus:"fp-1106",platformAccessTimesPlusOffers:"fp-1107",fullAccessTheTimes:"fp-1108",fullAccessPuzzles:"fp-1109",fullAccessTheTimesArchives:"fp-1110",meteredAccessTheTimes:"fp-1111",meteredAccessPuzzles:"fp-1112",functionalCommentingFull:"fp-1113",functionalCommentingView:"fp-1114",functionalCommentingAdd:"fp-1115",functionalCommentingReply:"fp-1116",functionalCommentingRecommend:"fp-1117",functionalCommentingShare:"fp-1118",functionalGiftingUnlimited:"fp-1119",functionalGiftingMetered:"fp-1120",functionalSharing:"fp-1121",functionalSaving:"fp-1122",functionalOfflineAccessArticles:"fp-1123",functionalOfflineAccessMultimedia:"fp-1124",functionalOfflineAccessPuzzles:"fp-1125"};var yt=(t,e)=>!!t[ht[e]];n.d(e,"acceptedWidths",(function(){return i})),n.d(e,"normaliseWidthForAssetRequestCache",(function(){return a})),n.d(e,"screenWidth",(function(){return u})),n.d(e,"capitalise",(function(){return f})),n.d(e,"ratioTextToFloat",(function(){return p})),n.d(e,"stripTags",(function(){return d})),n.d(e,"checkStylesForUnits",(function(){return h})),n.d(e,"handleOnClickScrollTo",(function(){return y})),n.d(e,"handleHrefScrollTo",(function(){return b})),n.d(e,"clean",(function(){return m})),n.d(e,"addMissingProtocol",(function(){return _})),n.d(e,"getSectionNameForAnalytics",(function(){return j.a})),n.d(e,"AspectRatioContainer",(function(){return P})),n.d(e,"getLeadAsset",(function(){return R})),n.d(e,"makeClient",(function(){return B})),n.d(e,"getStandardTemplateCrop",(function(){return z})),n.d(e,"getDimensions",(function(){return o})),n.d(e,"getHeadline",(function(){return H})),n.d(e,"gqlRgbaToHex",(function(){return Q})),n.d(e,"gqlRgbaToStyle",(function(){return J})),n.d(e,"HoverIcon",(function(){return Y})),n.d(e,"ServerClientRender",(function(){return X})),n.d(e,"appendToImageURL",(function(){return Z})),n.d(e,"getSectionFromTiles",(function(){return et.a})),n.d(e,"getDomainSpecificUrl",(function(){return ot})),n.d(e,"TcView",(function(){return S})),n.d(e,"TcFlatList",(function(){return it})),n.d(e,"TcText",(function(){return ct})),n.d(e,"TcTextLink",(function(){return at})),n.d(e,"TcScrollView",(function(){return ut})),n.d(e,"debounce",(function(){return lt})),n.d(e,"CanShowPuzzleSidebar",(function(){return st})),n.d(e,"getCookieValue",(function(){return ft})),n.d(e,"getBase64CookieValue",(function(){return pt})),n.d(e,"checkForSymphonyExperiment",(function(){return dt})),n.d(e,"hasEntitlement",(function(){return yt}))}]);
|