PageSourceSearch

https://oldmutual.com/_next/static/chunks/812.c136695d0f99c68a.js

js oldmutual.com collected 2026-10-02 03:53:13 UTC 4,600 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[205,812],{10812:(t,e,r)=>{r.r(e),r.d(e,{omk_card_full_bleed:()=>i});var o=r(42573),n=r(70205);let i=class{constructor(t){(0,o.r)(this,t),this.showBorder=!1,this.contentType="image-fit",this.width="full",this.handleFitContentSlotChange=t=>{let e=t.target.assignedElements({flatten:!0}).find(t=>"IMG"===t.nodeName);e.addEventListener("load",()=>{this.setImageHeightToFitContent(e)},{once:!0}),this.setImageHeightToFitContent(e)}}async setImageHeightToFitContent(t){let e=await (0,n.a)(()=>{var t;return null==(t=this.el.shadowRoot)?void 0:t.querySelector("omk-custom-card.hydrated")});if(!t.naturalHeight)return;let r=e.clientWidth,o="IMG"===t.nodeName?t.naturalWidth/t.naturalHeight:t.offsetWidth/t.offsetHeight;t.style.height=`${r/o}px`}render(){let t=this.overrideExpectedHeightPx?{"--omk-card-full-bleed-expected-height":`${this.overrideExpectedHeightPx}px`,"--omk-card-full-bleed-three-quarter-expected-height":`${this.overrideExpectedHeightPx}px`}:{};return(0,o.h)(o.H,{key:"23778f558d60404639add62e5cb9cb76874952e8",style:t},(0,o.h)("omk-custom-card",{key:"e2ca0d2b33780234b9395f0415b53089072b1159","grow-height":"free"===this.contentType,"limit-width":!0,"show-border":this.showBorder,width:this.width},"image-fit"===this.contentType?(0,o.h)("omk-placeholder",{sizing:"fill",variant:"object-wide-landscape","free-aspect-ratio":!0},(0,o.h)("slot",{onSlotchange:this.handleFitContentSlotChange})):(0,o.h)("slot",null)))}get el(){return(0,o.a)(this)}};i.style=":host{display:inline-block;--_omk-card-full-bleed-expected-height:var(--omk-card-full-bleed-expected-height,171px);--_omk-card-full-bleed-three-quarter-expected-height:var(--omk-card-full-bleed-three-quarter-expected-height,133px);--omk-card-custom-mobile-padding:var(--omk-dimension-spacing-none);--omk-card-custom-padding:var(--omk-dimension-spacing-none)}:host([content-type=image-fit]) ::slotted(img){display:inline-block;width:100%;height:var(--_omk-card-full-bleed-expected-height)}:host([content-type=image-fit][width=three-quarter]) ::slotted(img){height:var(--_omk-card-full-bleed-three-quarter-expected-height)}:host([content-type=free]) omk-custom-card{height:100%}"},70205:(t,e,r)=>{r.d(e,{a:()=>n,b:()=>c,c:()=>i,d:()=>u,g:()=>s,p:()=>h,s:()=>d});let o=async(t,e)=>new Promise(r=>{setTimeout(()=>r(t()),e)}),n=async(t,e=2e3)=>Promise.race([new Promise((t,r)=>{setTimeout(r,e)}),new Promise(async e=>{let r;for(;[void 0,null].includes(r=t());)await o(()=>null,10);e(r)})]),i=["altKey","ctrlKey","metaKey","shiftKey"],a=["badInput","valueMissing","tooLong","tooShort","typeMismatch","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch"],l=(t,e)=>t?e?Object.keys(e).reduce((t,r)=>{var o;return t.replace(RegExp(`\\{${r}\\}`,"g"),String(null!=(o=null==e?void 0:e[r])?o:""))},t):t:null,s=(t,e,r,o,n)=>{var i;if(e.customError)return r;let s=((t,e)=>{var r;return e&&Array.isArray(t)?null!=(r=t.find(t=>Object.keys(e).every(r=>{var o;return(null==(o=null==t?void 0:t.componentFilter)?void 0:o[r])===(null==e?void 0:e[r])})))?r:t.find(t=>void 0===t.componentFilter):t})(t,n);for(let t of a)if(e[t])return null!=(i=l(null==s?void 0:s[t],o))?i:r;return r},d=t=>{var e;return[...null!=(e=null==t?void 0:t.querySelectorAll("[type=submit],button:not([type]),omk-button:not([type])"))?e:[],...(null==t?void 0:t.id)?document.querySelectorAll(`button[form=${t.id}], omk-button[form=${t.id}]`):[]]},h=(t,e)=>t.endsWith("px")?parseFloat(t):t.endsWith("rem")?parseFloat(t)*parseFloat(getComputedStyle(document.documentElement).fontSize):t.endsWith("em")?parseFloat(t)*parseFloat(getComputedStyle(e).fontSize):parseFloat(t),c=(t,e,r)=>Math.min(Math.max(t,e),r),u=t=>{switch(t){case"top":return["bottom","left","right"];case"bottom":return["top","left","right"];case"left":return["right","top","bottom"];case"right":return["left","bottom","top"];case"top-start":return["bottom-start","top-end","bottom-end","right-start","left-start"];case"top-end":return["bottom-end","left","top","bottom","top-start","bottom-start","right-start"];case"bottom-start":return["top-start","bottom-end","top-end","left-start","right-start"];
1case"bottom-end":return["top-end","bottom-start","top-start","right-end","left-end"];case"left-start":return["right-start","left-end","right-end","top-start","bottom-start"];case"left-end":return["right-end","left-start","right-start","top-end","bottom-end"];case"right-start":return["left-start","right-end","left-end","bottom-start","top-start"];case"right-end":return["left-end","right-start","left-start","bottom-end","top-end"]}}}}]);

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.