PageSourceSearch

https://www.franklintempleton.ie/polyfills-css-shim.083297aabb81ef310552.js

js franklintempleton.ie collected 2026-10-05 18:10:21 UTC 8,775 bytes, 2 lines download raw bytes

vendor: 8,000 bytes, line 1
1(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["polyfills-css-shim"],{63647:()=>{var u=function(){return(u=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var s in e=arguments[r])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t}).apply(this,arguments)},g=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function I(t){return S(function(t){var e=new g;e.start=0,e.end=t.length;for(var r=e,n=0,s=t.length;n<s;n++)if(t[n]===N){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new g).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else t[n]===V&&(r.end=n+1,r=r.parent||e);return e}(t=function(t){return t.replace(c.comments,"").replace(c.port,"")}(t)),t)}function S(t,e){var r=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){r=(r=(r=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(){for(var e=arguments[1],r=6-e.length;r--;)e="0"+e;return"\\"+e})}(r=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(c.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=t.parsedSelector=t.selector=r.trim();t.atRule=0===s.indexOf(G),t.atRule?0===s.indexOf(U)?t.type=l.MEDIA_RULE:s.match(c.keyframesRule)&&(t.type=l.KEYFRAMES_RULE,t.keyframesName=t.selector.split(c.multipleSpaces).pop()):t.type=0===s.indexOf(O)?l.MIXIN_RULE:l.STYLE_RULE}var o=t.rules;if(o)for(var a=0,i=o.length,f=void 0;a<i&&(f=o[a]);a++)S(f,e);return t}var l={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},N="{",V="}",c={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},O="--",U="@media",G="@";function y(t,e,r){t.lastIndex=0;var n=e.substring(r).match(t);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var P=/\bvar\(/,D=/\B--[\w-]+\s*:/,F=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,B=/^[\t ]+\n/gm;function Y(t,e,r){var n=function(t,e){var r=y(P,t,e);if(!r)return null;var n=function(t,e){for(var r=0,n=e;n<t.length;n++){var s=t[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}(t,r.start),s=t.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}(t,r);if(!n)return e.push(t.substring(r,t.length)),t.length;var s=n.propName,o=null!=n.fallback?h(n.fallback):void 0;return e.push(t.substring(r,n.start),function(a){return function(t,e,r){return t[e]?t[e]:r?p(r,t):""}(a,s,o)}),n.end}function p(t,e){for(var r="",n=0;n<t.length;n++){var s=t[n];r+="string"==typeof s?s:s(e)}return r}function j(t,e){for(var r=!1,n=!1,s=e;s<t.length;s++){var o=t[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function h(t){var e=0;t=function(t){for(var e="",r=0;;){var n=y(D,t,r),s=n?n.start:t.length;if(e+=t.substring(r,s),!n)break;r=j(t,s)}return e}(t=t.replace(F,"")).replace(B,"");for(var r=[];e<t.length;)e=Y(t,r,e);return r}function E(t){var e={};t.forEach(function(a){a.declarations.forEach(function(i){e[i.prop]=i.value})});for(var r={},n=Object.entries(e),s=function(a){var i=!1;if(n.forEach(function(f){var M=f[0],T=p(f[1],r);T!==r[M]&&(r[M]=T,i=!0)}),!i)return"break"},o=0;o<10&&"break"!==s();o++);return r}function W(t,e){if(void 0===e&&(e=0),!t.rules)return[];var r=[];return t.rules.filter(function(n){return n.type===l.STYLE_RULE}).forEach(function(n){var s=function(t){for(var e,r=[];e=K.exec(t.trim());){var n=J(e[2]),s=n.value,o=n.important;r.push({prop:e[1].trim(),value:h(s),important:o})}return r}(n.cssText);s.length>0&&n.parsedSelector.split(",").forEach(function(o){o=o.trim(),r.push({selector:o,declarations:s,specificity:1,nu:e})}),e++}),r}var b="!important",K=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function J(t){var e=(t=t.replace(/\s+/gim," ").trim()).endsWith(b);return e&&(t=t.substr(0,t.length-b.length).trim()),{value:t,important:e}}function R(t){var e=[];return t.forEach(function(r){e.push.apply(e,r.selectors)}),e}function A(t){var e=I(t),r=h(t);return{original:t,template:r,selectors:W(e),usesCssVars:r.length>1}}function m(t,e){if(t.some(function(n){return n.styleEl===e}))return!1;var r=A(e.textContent);return r.styleEl=e,t.push(r),!0}function d(t){var e=E(R(t));t.forEach(function(r){r.usesCssVars&&(r.styleEl.textContent=p(r.template,e))})}function _(t,e,r){return function(t,e,r){return t.replace(new RegExp(e,"g"),r)}(t,"\\."+e,"."+r)}function x(t,e){return Array.from(t.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map(function(r){return m(e,r)}).some(Boolean)}function C(t,e,r){var n=r.href;return fetch(n).then(function(s){return s.text()}).then(function(s){if(function(t){return t.indexOf("var(")>-1||ut.test(t)}(s)&&r.parentNode){(function(t){return v.lastIndex=0,v.test(t)})(s)&&(s=function(t,e){var r=e.replace(/[^/]*$/,"");return t.replace(v,function(n,s){return n.replace(s,r+s)})}(s,n));var o=t.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,m(e,o),r.parentNode.insertBefore(o,r),r.remove()}}).catch(function(s){console.error(s)})}var t,ut=/[\s;{]--[-a-zA-Z0-9]+\s*:/m,v=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim,ft=function(){function t(e,r){this.win=e,this.doc=r,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return t.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise(function(r){e.win.requestAnimationFrame(function(){(function(t,e){"undefined"!=typeof MutationObserver&&new MutationObserver(function(){x(t,e)&&d(e)}).observe(document.head,{childList:!0})})(e.doc,e.globalScopes),function(t,e){return x(t,e),function(t,e){for(var r=[],n=t.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(C(t,e,n[s]));return Promise.all(r)}(t,e).then(function(){d(e)})}(e.doc,e.globalScopes).then(function(){return r()})})}))},t.prototype.addLink=function(e){var r=this;return C(this.doc,this.globalScopes,e).then(function(){r.updateGlobal()})},t.prototype.addGlobalStyle=function(e){m(this.globalScopes,e)&&this.updateGlobal()},t.prototype.createHostStyle=function(e,r,n,s){if(this.hostScopeMap.has(e))throw new Error("host style already created");var o=this.registerHostTemplate(n,r,s),a=this.doc.createElement("style");return a.setAttribute("data-no-shim",""),o.usesCssVars?s?(a["s-sc"]=r=o.scopeId+"-"+this.count,a.textContent="/*needs update*/",this.hostStyleMap.set(e,a),this.hostScopeMap.set(e,function(t,e){var r=t.template.map(function(s){return"string"==typeof s?_(s,t.scopeId,e):s}),n=t.selectors.map(function(s){return u(u({},s),{selector:_(s.selector,t.scopeId,e)})});return u(u({},t),{template:r,selectors:n,scopeId:e})}(o,r)),this.count++):(o.styleEl=a,o.usesCssVars||(a.textContent=p(o.template,{})),this.globalScopes.push(o),this.updateGlobal(),this.hostScopeMap.set(e,o)):a.textContent=n,a},t.prototype.removeHost=function(e){var r=this.hostStyleMap.get(e);r&&r.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},t.prototype.updateHost=function(e){var r=this.hostScopeMap.get(e);if(r&&r.usesCssVars&&r.isScoped){var n=this.hostStyleMap.get(e);if(n){var s=E(function(t,e,r){var n=[],s=function(t,e){for(var r=[];e;){var n=t.get(e);n&&r.push(n),e=e.parentElement}return r}(e,t);return r.forEach(function(o){return n.push(o)}
1),s.forEach(function(o){return n.push(o)}),function(t){return t.sort(function(e,r){return e.specificity===r.specificity?e.nu-r.nu:e.specificity-r.specificity}),t}(R(n).filter(function(o){return function(t,e){return":root"===e||"html"===e||t.matches(e)}(t,o.selector)}))}(e,this.hostScopeMap,this.globalScopes));n.textContent=p(r.template,s)}}},t.prototype.updateGlobal=function(){d(this.globalScopes)},t.prototype.registerHostTemplate=function(e,r,n){var s=this.scopesMap.get(r);return s||((s=A(e)).scopeId=r,s.isScoped=n,this.scopesMap.set(r,s)),s},t}();!(t="undefined"!=typeof window&&window)||t.__cssshim||t.CSS&&t.CSS.supports&&t.CSS.supports("color","var(--c)")||(t.__cssshim=new ft(t,t.document))}}]);
2//# sourceMappingURL=polyfills-css-shim.083297aabb81ef310552.js.map

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.