This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
231-1113c8df4aae7a9a87dc.js.map
1 lines (1 loc) · 8.24 KB
/
231-1113c8df4aae7a9a87dc.js.map
1
{"version":3,"sources":["webpack://ocf-website/./node_modules/objectFitPolyfill/dist/objectFitPolyfill.min.js"],"names":["window","t","navigator","userAgent","match","e","parseInt","n","document","documentElement","style","o","i","l","a","d","split","length","clientWidth","clientHeight","indexOf","dataset","objectFit","getAttribute","objectPosition","parentNode","getComputedStyle","getPropertyValue","position","overflow","display","height","className","top","right","bottom","left","width","marginTop","marginLeft","Event","querySelectorAll","nodeName","toLowerCase","complete","addEventListener","this","readyState","objectFitPolyfill"],"mappings":"8FAAC,WACC,aAEA,GAAI,oBAAsBA,OAAQ,CAChC,IAAIC,EAAID,OAAOE,UAAUC,UAAUC,MAAM,mBACrCC,EAAIJ,EAAIK,SAASL,EAAE,GAAI,IAAM,KAC7BM,IAAMF,GAAK,IAAMA,GAAKA,GAAK,GAE/B,GAAM,cAAeG,SAASC,gBAAgBC,OAAS,GAAOH,EAAG,CAC/D,IAAII,EAAI,SAAWV,EAAGI,EAAGO,GACvB,IAAIL,EAAGI,EAAGE,EAAGC,EAAGC,EAChB,IAAKH,EAAIA,EAAEI,MAAM,MAAMC,OAAS,IAAML,EAAE,GAAKA,EAAE,IAAK,MAAQX,EAAGM,EAAIK,EAAE,GAAID,EAAIC,EAAE,GAAIC,EAAI,OAAQC,EAAI,QAASC,EAAIV,EAAEa,gBAAiB,CACjI,GAAI,MAAQjB,EAAG,OACfM,EAAIK,EAAE,GAAID,EAAIC,EAAE,GAAIC,EAAI,MAAOC,EAAI,SAAUC,EAAIV,EAAEc,aAGrD,GAAIZ,IAAMM,GAAKF,IAAME,EAAG,CACtB,GAAIN,IAAMO,GAAKH,IAAMG,EAAG,MAAO,WAAaP,GAAK,QAAUA,GAAKF,EAAEK,MAAMG,GAAK,WAAaR,EAAEK,MAAM,UAAY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AAIX,EAAEI,GAAGqC,SAASC,cAEtB,GAAI,QAAU/B,EAAG,CACf,GAAIL,EAAG,SACPN,EAAEI,GAAGuC,SAAW/B,EAAEZ,EAAEI,IAAMJ,EAAEI,GAAGwC,iBAAiB,QAAQ,WACtDhC,EAAEiC,aAEC,UAAYlC,EAAI,EAAIX,EAAEI,GAAG0C,WAAalC,EAAEZ,EAAEI,IAAMJ,EAAEI,GAAGwC,iBAAiB,kBAAkB,WAC7FhC,EAAEiC,SACCjC,EAAEZ,EAAEI,IAIb,OAAO,GAGT,YAAcG,SAASuC,WAAavC,SAASqC,iBAAiB,mBAAoBjC,GAAKA,IAAKZ,OAAO6C,iBAAiB,SAAUjC,GAAIZ,OAAOgD,kBAAoBpC,OACxJZ,OAAOgD,kBAAoB,WAChC,OAAO,IAhFZ","file":"231-1113c8df4aae7a9a87dc.js","sourcesContent":["!function () {\n \"use strict\";\n\n if (\"undefined\" != typeof window) {\n var t = window.navigator.userAgent.match(/Edge\\/(\\d{2})\\./),\n e = t ? parseInt(t[1], 10) : null,\n n = !!e && 16 <= e && e <= 18;\n\n if (!(\"objectFit\" in document.documentElement.style != !1) || n) {\n var o = function o(t, e, i) {\n var n, o, l, a, d;\n if ((i = i.split(\" \")).length < 2 && (i[1] = i[0]), \"x\" === t) n = i[0], o = i[1], l = \"left\", a = \"right\", d = e.clientWidth;else {\n if (\"y\" !== t) return;\n n = i[1], o = i[0], l = \"top\", a = \"bottom\", d = e.clientHeight;\n }\n\n if (n !== l && o !== l) {\n if (n !== a && o !== a) return \"center\" === n || \"50%\" === n ? (e.style[l] = \"50%\", void (e.style[\"margin-\" + l] = d / -2 + \"px\")) : void (0 <= n.indexOf(\"%\") ? (n = parseInt(n, 10)) < 50 ? (e.style[l] = n + \"%\", e.style[\"margin-\" + l] = d * (n / -100) + \"px\") : (n = 100 - n, e.style[a] = n + \"%\", e.style[\"margin-\" + a] = d * (n / -100) + \"px\") : e.style[l] = n);\n e.style[a] = \"0\";\n } else e.style[l] = \"0\";\n },\n l = function l(t) {\n var e = t.dataset ? t.dataset.objectFit : t.getAttribute(\"data-object-fit\"),\n i = t.dataset ? t.dataset.objectPosition : t.getAttribute(\"data-object-position\");\n e = e || \"cover\", i = i || \"50% 50%\";\n var n = t.parentNode;\n return function (t) {\n var e = window.getComputedStyle(t, null),\n i = e.getPropertyValue(\"position\"),\n n = e.getPropertyValue(\"overflow\"),\n o = e.getPropertyValue(\"display\");\n i && \"static\" !== i || (t.style.position = \"relative\"), \"hidden\" !== n && (t.style.overflow = \"hidden\"), o && \"inline\" !== o || (t.style.display = \"block\"), 0 === t.clientHeight && (t.style.height = \"100%\"), -1 === t.className.indexOf(\"object-fit-polyfill\") && (t.className = t.className + \" object-fit-polyfill\");\n }(n), function (t) {\n var e = window.getComputedStyle(t, null),\n i = {\n \"max-width\": \"none\",\n \"max-height\": \"none\",\n \"min-width\": \"0px\",\n \"min-height\": \"0px\",\n top: \"auto\",\n right: \"auto\",\n bottom: \"auto\",\n left: \"auto\",\n \"margin-top\": \"0px\",\n \"margin-right\": \"0px\",\n \"margin-bottom\": \"0px\",\n \"margin-left\": \"0px\"\n };\n\n for (var n in i) {\n e.getPropertyValue(n) !== i[n] && (t.style[n] = i[n]);\n }\n }(t), t.style.position = \"absolute\", t.style.width = \"auto\", t.style.height = \"auto\", \"scale-down\" === e && (e = t.clientWidth < n.clientWidth && t.clientHeight < n.clientHeight ? \"none\" : \"contain\"), \"none\" === e ? (o(\"x\", t, i), void o(\"y\", t, i)) : \"fill\" === e ? (t.style.width = \"100%\", t.style.height = \"100%\", o(\"x\", t, i), void o(\"y\", t, i)) : (t.style.height = \"100%\", void (\"cover\" === e && t.clientWidth > n.clientWidth || \"contain\" === e && t.clientWidth < n.clientWidth ? (t.style.top = \"0\", t.style.marginTop = \"0\", o(\"x\", t, i)) : (t.style.width = \"100%\", t.style.height = \"auto\", t.style.left = \"0\", t.style.marginLeft = \"0\", o(\"y\", t, i))));\n },\n i = function i(t) {\n if (void 0 === t || t instanceof Event) t = document.querySelectorAll(\"[data-object-fit]\");else if (t && t.nodeName) t = [t];else {\n if (\"object\" != typeof t || !t.length || !t[0].nodeName) return !1;\n t = t;\n }\n\n for (var e = 0; e < t.length; e++) {\n if (t[e].nodeName) {\n var i = t[e].nodeName.toLowerCase();\n\n if (\"img\" === i) {\n if (n) continue;\n t[e].complete ? l(t[e]) : t[e].addEventListener(\"load\", function () {\n l(this);\n });\n } else \"video\" === i ? 0 < t[e].readyState ? l(t[e]) : t[e].addEventListener(\"loadedmetadata\", function () {\n l(this);\n }) : l(t[e]);\n }\n }\n\n return !0;\n };\n\n \"loading\" === document.readyState ? document.addEventListener(\"DOMContentLoaded\", i) : i(), window.addEventListener(\"resize\", i), window.objectFitPolyfill = i;\n } else window.objectFitPolyfill = function () {\n return !1;\n };\n }\n}();"],"sourceRoot":""}