PageSourceSearch

https://faithcov.church/wp-content/cache/min/1/wp-content/themes/m…ort-units-buggyfill.hacks.js?ver=1780680886

js faithcov.church collected 2026-10-09 22:40:31 UTC 1,832 bytes, 14 lines download raw bytes

1/*!
2 * viewport-units-buggyfill.hacks v0.6.2
3 * @web: https://github.com/rodneyrehm/viewport-units-buggyfill/
4 * @author: Zoltan Hawryluk - http://www.useragentman.com/
5 */
6(function(){(function(root,factory){'use strict';if(typeof define==='function'&&define.amd){define([],factory)}else if(typeof exports==='object'){module.exports=factory()}else{root.viewportUnitsBuggyfillHacks=factory()}}(this,function(){'use strict';var calcExpression=/calc\(/g;var quoteExpression=/["']/g;var userAgent=window.navigator.userAgent;var isBuggyIE=/MSIE [0-9]\./i.test(userAgent);if(!isBuggyIE){isBuggyIE=!!navigator.userAgent.match(/MSIE 10\.|Trident.*rv[ :]*1[01]\.| Edge\/1\d\./)}
7function checkHacks(declarations,rule,name,value){var needsHack=name==='content'&&value.indexOf('viewport-units-buggyfill')>-1;if(!needsHack){return}
8var fakeRules=value.replace(quoteExpression,'');fakeRules.split(';').forEach(function(fakeRuleElement){var fakeRule=fakeRuleElement.split(':');if(fakeRule.length!==2){return}
9var name=fakeRule[0].trim();if(name==='viewport-units-buggyfill'){return}
10var value=fakeRule[1].trim();declarations.push([rule,name,value]);if(calcExpression.test(value)){var webkitValue=value.replace(calcExpression,'-webkit-calc(');declarations.push([rule,name,webkitValue])}})}
11return{required:function(options){return options.isMobileSafari||isBuggyIE},initialize:function(){},initializeEvents:function(options,refresh,_refresh){if(options.force){return}
12if(isBuggyIE&&!options._listeningToResize){window.addEventListener('resize',_refresh,!0);options._listeningToResize=!0}},findDeclarations:function(declarations,rule,name,value){if(name===null){return}
13checkHacks(declarations,rule,name,value)},overwriteDeclaration:function(rule,name,_value){if(isBuggyIE&&name==='filter'){_value=_value.replace(/px/g,'')}
14return _value},}}))})()

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.