CNA: Breaking News, Singapore News, World and Asia


0},o.obfuscateString=function(e){if(!e||”string”!=typeof e)return e;for(var t=s(this.sharedContext.agentIdentifier),n=e,r=0;r=0;–t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(“throw”===r.type){var o=r.arg;E(n)}return o}}throw new Error(“illegal catch attempt”)},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},”next”===this.method&&(this.arg=void 0),d}},e}function f(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}var d=0;function l(e){var t;(t=s().mark((function t(){var n,r;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!d++){t.next=2;break}return t.abrupt(“return”);case 2:return t.prev=2,t.next=5,o.e(552).then(o.bind(o,5552));case 5:return n=t.sent,r=n.aggregator,t.next=9,r(e);case 9:t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),console.error(“Failed to successfully load all aggregators. Aborting…n”,t.t0),u.ee.abort();case 15:case”end”:return t.stop()}}),t,null,[[2,11]])})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){f(i,r,o,a,c,”next”,e)}function c(e){f(i,r,o,a,c,”throw”,e)}a(void 0)}))})()}var p=o(9034),h=o(7361),v=o(6959),m=o(6972),g=o(1793),y=o(5023);function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}var w,O,x,E=function(e){var t,n;function r(t){var n;return n=e.call(this,t)||this,(0,g.v)(t),(0,m.B)(t,”firstbyte”,(0,v.yf)()),a((function(){return n.measureWindowLoaded()})),c((function(){return n.measureDomContentLoaded()})),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var o=r.prototype;return o.measureWindowLoaded=function(){var e=(0,v.zO)();(0,m.B)(this.agentIdentifier,”onload”,e+(0,v.os)()),(0,h.p)(“timing”,[“load”,e],void 0,void 0,this.ee)},o.measureDomContentLoaded=function(){(0,m.B)(this.agentIdentifier,”domContent”,(0,v.zO)()+(0,v.os)())},r}(y.W);void 0!==document.hidden?(w=”hidden”,O=”visibilitychange”,x=”visibilityState”):void 0!==document.msHidden?(w=”msHidden”,O=”msvisibilitychange”):void 0!==document.webkitHidden&&(w=”webkitHidden”,O=”webkitvisibilitychange”,x=”webkitVisibilityState”);var j=o(1476),P=o(2085);function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}var L=function(t){var n,r;function o(n){var r,o;if((r=t.call(this,n)||this).pageHiddenTime=”hidden”===document.visibilityState?-1:1/0,r.performanceObserver,r.lcpPerformanceObserver,r.clsPerformanceObserver,r.fiRecorded=!1,!r.isEnabled())return function(e){if(void 0===e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return e}(r);if(“PerformanceObserver”in window&&”function”==typeof window.PerformanceObserver){r.performanceObserver=new PerformanceObserver((function(){var e;return(e=r).perfObserver.apply(e,arguments)}));try{r.performanceObserver.observe({entryTypes:[“paint”]})}catch(e){}r.lcpPerformanceObserver=new PerformanceObserver((function(){var e;return(e=r).lcpObserver.apply(e,arguments)}));try{r.lcpPerformanceObserver.observe({entryTypes:[“largest-contentful-paint”]})}catch(e){}r.clsPerformanceObserver=new PerformanceObserver((function(){var e;return(e=r).clsObserver.apply(e,arguments)}));try{r.clsPerformanceObserver.observe({type:”layout-shift”,buffered:!0})}catch(e){}}if(“addEventListener”in document){r.fiRecorded=!1;[“click”,”keydown”,”mousedown”,”pointerdown”,”touchstart”].forEach((function(t){document.addEventListener(t,(function(){var e;return(e=r).captureInteraction.apply(e,arguments)}),(0,e.m)(!1))}))}return o=function(){var e;return(e=r).captureVisibilityChange.apply(e,arguments)},”addEventListener”in document&&O&&document.addEventListener(O,(function(){x&&document[x]?o(document[x]):document[w]?o(“hidden”):o(“visible”)}),(0,e.m)(!1)),r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,_(n,r);var i=o.prototype;return i.isEnabled=function(){return!1!==(0,j.Mt)(this.agentIdentifier,”page_view_timing.enabled”)},i.perfObserver=function(e,t){var n=this;e.getEntries().forEach((function(e){“first-paint”===e.name?(0,h.p)(“timing”,[“fp”,Math.floor(e.startTime)],void 0,void 0,n.ee):”first-contentful-paint”===e.name&&(0,h.p)(“timing”,[“fcp”,Math.floor(e.startTime)],void 0,void 0,n.ee)}))},i.lcpObserver=function(e,t){var n=e.getEntries();if(n.length>0){var r=n[n.length-1];if(this.pageHiddenTime0&&this.recordSupportability(“Generic/Obfuscate/Detected”),t.length>0&&!(0,q.Ng)(t)&&this.recordSupportability(“Generic/Obfuscate/Invalid”)},r}(y.W),U=o(1220),X=o(4217),Z=o(8118),W=o.n(Z),V=o(357),Y=window,Q=”fetch-“,K=”fetch-body-“,J=[“arrayBuffer”,”blob”,”json”,”text”,”formData”],$=Y.Request,ee=Y.Response,te=”prototype”,ne=”nr@context”,re={};function oe(e){var t=function(e){return(e||u.ee).get(“fetch”)}(e);if(!($&&ee&&window.fetch))return t;if(re[t.debugId])return t;function n(e,n,r){var o=e[n];”function”==typeof o&&(e[n]=function(){var e,n=W()(arguments),i={};t.emit(r+”before-start”,[n],i),i[ne]&&i[ne].dt&&(e=i[ne].dt);var a=o.apply(this,n);return t.emit(r+”start”,[n,e],a),a.then((function(e){return t.emit(r+”end”,[null,e],a),e}),(function(e){throw t.emit(r+”end”,[e],a),e}))})}return re[t.debugId]=!0,(0,V.D)(J,(function(e,t){n($[te],t,K),n(ee[te],t,K)})),n(Y,”fetch”,Q),t.on(“fetch-end”,(function(e,n){var r=this;if(n){var o=n.headers.get(“content-length”);null!==o&&(r.rxSize=o),t.emit(“fetch-done”,[null,n],r)}else t.emit(“fetch-done”,[e],r)})),t}var ie=”nr@original”,ae=Object.prototype.hasOwnProperty,ce=!1;function ue(e,t){return e||(e=u.ee),n.inPlace=function(e,t,r,o,i){r||(r=””);var a,c,u,s=”-“===r.charAt(0);for(u=0;u3&&!t.resolved&&(t.resolved=!0,r.emit(“xhr-resolved”,[],e)),o.inPlace(e,d,”fn-“,O)}if(function(e,t){for(var n in e)t[n]=e[n]}(i,h),h.prototype=i.prototype,o.inPlace(h.prototype,[“open”,”send”],”-xhr-“,O),r.on(“send-xhr-start”,(function(e,t){v(e,t),function(e){l.push(e),a&&(g?g.then(w):s?s(w):(y=-y,b.data=y))}(t)})),r.on(“open-xhr-start”,v),a){var g=c&&c.resolve();if(!s&&!c){var y=1,b=document.createTextNode(y);new a(w).observe(b,{characterData:!0})}}else n.on(“fn-end”,(function(e){e[0]&&e[0].type===f||w()}));function w(){for(var e=0;e0&&(r.skipNext-=1)})),r.ee.on(“internal-error”,(function(e){(0,h.p)(“ierr”,[e,(0,v.zO)(),!0],void 0,void 0,r.ee)}));var i=window.onerror;window.onerror=function(){var e;return i&&i.apply(void 0,arguments),(e=n).onerrorHandler.apply(e,arguments),!1};try{window.addEventListener(“unhandledrejection”,(function(e){var t=new Error(“”+e.reason);(0,h.p)(“err”,[t,(0,v.zO)(),!1,{unhandledPromiseRejection:1}],void 0,void 0,n.ee)}))}catch(e){}try{throw new Error}catch(e){“stack”in e&&(Ae(n.ee),ke(n.ee),”addEventListener”in window&&Se(n.ee),o.xhrWrappable&&He(n.ee),r.handleErrors=!0)}return n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Ne(t,n),r.prototype.onerrorHandler=function(e,t,n,r,o){try{this.skipNext?this.skipNext-=1:qe(o||new De(e,t,n),!0,this.ee)}catch(e){try{(0,h.p)(“ierr”,[e,(0,v.zO)(),!0],void 0,void 0,this.ee)}catch(e){}}return”function”==typeof this.origOnerror&&this.origOnerror.apply(this,W()(arguments))},r}(y.W);function De(e,t,n){this.message=e||”Uncaught error with no additional information”,this.sourceURL=t,this.line=n}function qe(e,t,n){var r=t?null:(0,v.zO)();(0,h.p)(“err”,[e,r],void 0,void 0,n)}var Be=o(1424),Fe=o(5955),Ge={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},Ue={};function Xe(e){if(!e)throw new Error(“All loader-config objects require an agent identifier!”);if(!Ue[e])throw new Error(“LoaderConfig for “+e+” was never set”);return Ue[e]}var Ze=1;function We(e){var t=typeof e;return!e||”object”!==t&&”function”!==t?-1:e===window?0:(0,X.X)(e,”nr@id”,(function(){return Ze++}))}var Ve=o(5973);function Ye(e){if(“string”==typeof e&&e.length)return e.length;if(“object”==typeof e){if(“undefined”!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if(“undefined”!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!(“undefined”!=typeof FormData&&e instanceof FormData))try{return JSON.stringify(e).length}catch(e){return}}}var Qe=o(7001),Ke=o(4168),Je=function(){function e(e){this.agentIdentifier=e,this.generateTracePayload=this.generateTracePayload.bind(this),this.shouldGenerateTrace=this.shouldGenerateTrace.bind(this)}var t=e.prototype;return t.generateTracePayload=function(e){if(!this.shouldGenerateTrace(e))return null;var t=Xe(this.agentIdentifier);if(!t)return null;var n=(t.accountID||””).toString()||null,r=(t.agentID||””).toString()||null,o=(t.trustKey||””).toString()||null;if(!n||!r)return null;var i=(0,Ke.M)(),a=(0,Ke.Ht)(),c=Date.now(),u={spanId:i,traceId:a,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(u.traceContextParentHeader=this.generateTraceContextParentHeader(i,a),u.traceContextStateHeader=this.generateTraceContextStateHeader(i,c,n,r,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(u.newrelicHeader=this.generateTraceHeader(i,a,c,n,r,o)),u},t.generateTraceContextParentHeader=function(e,t){return”00-“+t+”-“+e+”-01″},t.generateTraceContextStateHeader=function(e,t,n,r,o){return o+”@nr=0-1-“+n+”-“+r+”-“+e+”—-“+t},t.generateTraceHeader=function(e,t,n,r,o,i){if(!(“btoa”in window&&”function”==typeof window.btoa))return null;var a={v:[0,1],d:{ty:”Browser”,ac:r,ap:o,id:e,tr:t,ti:n}};return i&&r!==i&&(a.d.tk=i),btoa(JSON.stringify(a))},t.shouldGenerateTrace=function(e){return this.isDtEnabled()&&this.isAllowedOrigin(e)},t.isAllowedOrigin=function(e){var t=!1,n={};if((0,j.Mt)(this.agentIdentifier,”distributed_tracing”)&&(n=(0,j.P_)(this.agentIdentifier).distributed_tracing),e.sameOrigin)t=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r34||Ve.I<10)||t.addEventListener("progress",(function(e){n.lastSize=e.loaded}),(0,e.m)(!1))}function a(e){this.params={method:e[0]},x(this,e[1]),this.metrics={}}function c(e,n){var r=Xe(t);"xpid"in r&&this.sameOrigin&&n.setRequestHeader("X-NewRelic-ID",r.xpid);var i=o.generateTracePayload(this.parsedOrigin);if(i){var a=!1;i.newrelicHeader&&(n.setRequestHeader("newrelic",i.newrelicHeader),a=!0),i.traceContextParentHeader&&(n.setRequestHeader("traceparent",i.traceContextParentHeader),i.traceContextStateHeader&&n.setRequestHeader("tracestate",i.traceContextStateHeader),a=!0),a&&(this.dt=i)}}function u(t,r){var o=this.metrics,i=t[0],a=this;if(o&&i){var c=Ye(i);c&&(o.txSize=c)}this.startTime=(0,v.zO)(),this.listener=function(e){try{"abort"!==e.type||a.loadCaptureCalled||(a.params.aborted=!0),("load"!==e.type||a.called===a.totalCbs&&(a.onloadCalled||"function"!=typeof r.onload))&&a.end(r)}catch(e){try{n.emit("internal-error",[e])}catch(e){}}};for(var u=0;u1?e[1]=i:e.push(i)}else e[0]&&e[0].headers&&c(e[0].headers,r)&&(this.dt=r);function c(e,t){var n=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),n=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),n=!0),n}}function b(e,t){this.params={},this.metrics={},this.startTime=(0,v.zO)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var n,r=this.opts||{},o=this.target;”string”==typeof o?n=o:”object”==typeof o&&o instanceof nt?n=o.url:window.URL&&”object”==typeof o&&o instanceof URL&&(n=o.href),x(this,n);var i=(“”+(o&&o instanceof nt&&o.method||r.method||”GET”)).toUpperCase();this.params.method=i,this.txSize=Ye(r.body)||0}function w(e,t){var n;this.endTime=(0,v.zO)(),this.params||(this.params={}),this.params.status=t?t.status:0,”string”==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var o={txSize:this.txSize,rxSize:n,duration:(0,v.zO)()-this.startTime};r(“xhr”,[this.params,o,this.startTime,this.endTime,”fetch”],this)}function O(e){var t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var o=0;o1)}),(0,e.m)(!0)),r}return r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,wt(n,r),o}(y.W),Tt=o(847),Ct=o(8539),St=o.n(Ct),It=o(441);var Rt=!1;new Promise((function(e,t){if(Rt)e(Rt);else{var n=(0,Be.gG)();try{(0,It.L)(p.Z,n.info),(0,j.Dg)(p.Z,n.init),function(e,t){if(!e)throw new Error(“All loader-config objects require an agent identifier!”);Ue[e]=new Fe.I(t,Ge),(0,Be.Qy)(e,Ue[e],”loader_config”)}(p.Z,n.loader_config),(0,U.s)(p.Z,{}),function(e){var t=(0,Be.fP)(),n=u.ee.get(e),r=n.get(“tracer”),o=”api-“,i=”api-ixn-“;function a(){}(0,V.D)([“setErrorHandler”,”finished”,”addToTrace”,”inlineHit”,”addRelease”],(function(e,n){t[n]=s(o,n,!0,”api”)})),t.addPageAction=s(o,”addPageAction”,!0),t.setCurrentRouteName=s(o,”routeName”,!0),t.setPageViewName=function(t,n){if(“string”==typeof t)return”/”!==t.charAt(0)&&(t=”/”+t),(0,U.O)(e).customTransaction=(n||”http://custom.transaction”)+t,s(o,”setPageViewName”,!0,”api”)()},t.setCustomAttribute=function(t,n){var r,i=(0,It.C)(e);return(0,It.L)(e,Object.assign({},i,{jsAttributes:Object.assign({},i.jsAttributes,(r={},r[t]=n,r))})),s(o,”setCustomAttribute”,!0,”api”)()},t.interaction=function(){return(new a).get()};var c=a.prototype={createTracer:function(e,t){var o={},i=this,a=”function”==typeof t;return(0,h.p)(“api-ixn-tracer”,[(0,v.zO)(),e,o],i,void 0,n),function(){if(r.emit((a?””:”no-“)+”fn-start”,[(0,v.zO)(),i,a],o),a)try{return t.apply(this,arguments)}catch(e){throw r.emit(“fn-err”,[arguments,this,”string”==typeof e?new Error(e):e],o),e}finally{r.emit(“fn-end”,[(0,v.zO)()],o)}}}};function s(e,t,r,o){return function(){return(0,h.p)(“record-supportability”,[“API/”+t+”/called”],void 0,void 0,n),(0,h.p)(e+t,[(0,v.zO)()].concat(St()(arguments)),r?null:this,o,n),r?void 0:this}}(0,V.D)(“actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get”.split(“,”),(function(e,t){c[t]=s(i,t)})),t.noticeError=function(e,t){“string”==typeof e&&(e=new Error(e)),(0,h.p)(“record-supportability”,[“API/noticeError/called”],void 0,void 0,n),(0,h.p)(“err”,[e,(0,v.zO)(),!1,t],void 0,void 0,n)}}(p.Z),e(Rt=!0)}catch(e){t(e)}}})).then((function(){var e,t,n,r=(0,Tt.K)(p.Z);r.page_view_event&&new E(p.Z),r.page_view_timing&&new L(p.Z),r.metrics&&new G(p.Z),r.jserrors&&new Me(p.Z),r.ajax&&new ot(p.Z),r.session_trace&&new gt(p.Z),r.page_action&&new bt(p.Z),r.spa&&new Lt(p.Z),e=”spa”,t?setTimeout((function(){return l(e)}),n||1e3):a((function(){return l(e)}))}))}(),i}()}));]]>CNA: Breaking News, Singapore News, World and Asia Skip to main content

Advertisement

Latest News

FTX gets official creditors' committee in its bankruptcy case Mortgage outlook for 2023: Will home loan rates keep rising? What can home owners expect?

Advertisement

World Cup

 

]]> { fixAllSectionModal(); fixAllSectionModal(); fixAllSectionModal2(); }, 1000); }); //–> ]]>

Singapore

Petite but packing a punch, she leads an elite police team that protects Singaporeans from violence

Advertisement

Asia

Self-interests at play as EU, ASEAN navigate China, seek rules-based world order: Observers

World

Home-grown supply operation outfits Ukraine's women soldiers

Commentary

Commentary: New workplace anti-discrimination law should ensure reasonable accommodations for people with disabilities

Advertisement

World Cup 2022

Portugal coach Santos leaves job after World Cup exit

CNA Insider

Before you renovate your home, watch out for contractors with these red flags

Advertisement

Business

Twitter must notify laid-off workers of pending lawsuit, judge rules

Latest News

FTX gets official creditors' committee in its bankruptcy case

Source